PAULWEB18 / processbase

Automatically exported from code.google.com/p/processbase
0 stars 0 forks source link

[installation fail]ProcessBase v2.1RC installation on JBoss 5.1 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Download the last Bonita5.4 with the bundled JBoss 5.1GA from 
http://forge.ow2.org/project/download.php?group_id=56&file_id=16242
    a. Remove bonita.ear and bonita.war
    b. Install Bonita 5.3.2 by the instruction from Bonita Forume http://www.bonitasoft.org/forum/viewtopic.php?id=4126
    c. Verify your Bonita installation is correct by login the system.  
Download the last Liferay 6.0.5 CE war file from sourceforge and 
independencice(liferay-portal-dependencies-6.0.5.zip) files for 
depoly to JBoss 5.1 with EJB container. Then verify Liferay is installed 
correctly. You could find the instruction from 
http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/inst
alling-liferay-for-an-enterprise-2

Check Bonita User Experience and Liferay work well.If everything is fine then 
remote bonita.ear and bonita.war version 5.3.2 from the system.

Deploy and configure ProcessBase v2.1 RC.
1. Copy processbase-realm-2.1.jar to {$JBoss_Home}\lib
2. Copy login.conf and processbase2.properties at 
{$JBoss_Home}\server\default\conf
     Before copy, change processbase2.properties
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <entry key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</entry>
    <entry key="java.naming.provider.bonitaurl">jnp://localhost:1099</entry>
    <entry key="BONITA_DOMAIN">default</entry>
    <entry key="DL_GROUP">DOCUMENTS</entry>
    <entry key="java.naming.factory.state"></entry>
    <entry key="APP_SERVER">JBOSS5</entry>
    <entry key="java.naming.factory.url.pkgs"></entry>
    <entry key="TASKLIST_PAGE_URL">/web/guest/bpm-tasks</entry>
    <entry key="java.security.auth.login.config">appclientlogin.conf</entry>
    </properties>

3. How to configure JBoss Security??
4. Copy VAADIN folder from VAADIN_PROCESSBASE.tar.gz to 
{$JBoss_Home}\server\default\deploy\ROOT.war\html\ and replace all.
5. Deploy bonita-5.3.ear
6. Run and start Jboss
7. Create new Liferay Community "DOCUMENTS" for attachments. 
8. Deploy processbase-bpm-portlets-2.1.war by Liferay Control Panel
9. Add PROCESSBASE Admin and User portlets

Error Message:

04:35:34,037 INFO  [STDOUT] 04:35:34,037 ERROR [PortletServlet:96] javax.portlet
.PortletException: org.ow2.bonita.util.BonitaRuntimeException: javax.naming.NoIn
itialContextException: Cannot instantiate class: com.sun.enterprise.naming.Seria
lInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun
.enterprise.naming.SerialInitContextFactory]
javax.portlet.PortletException: org.ow2.bonita.util.BonitaRuntimeException: java
x.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise
.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundExcep
tion: com.sun.enterprise.naming.SerialInitContextFactory]
        at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.handleServi
ceException(AbstractApplicationPortlet.java:1349)
        at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.handleReque
st(AbstractApplicationPortlet.java:487)
        at com.vaadin.terminal.gwt.server.AbstractApplicationPortlet.doDispatch(
AbstractApplicationPortlet.java:716)
..
..
..
On Browser show "UserPortlet is temporarily unavailable."

Is there anyone can help for this?
Joshua

Original issue reported on code.google.com by tw.jos...@gmail.com on 2 Feb 2011 at 8:41

GoogleCodeExporter commented 8 years ago
Hi Joshua,

i solved this problem editing the processbase2.properties under 
{$JBoss_Home}\bin

Original comment by cavallie...@gmail.com on 8 Feb 2011 at 11:18

GoogleCodeExporter commented 8 years ago
Hi Carlo,

Thanks very much for your friendly help! The system was working after your 
instruction.

Joshua

Original comment by tw.jos...@gmail.com on 9 Feb 2011 at 6:57

GoogleCodeExporter commented 8 years ago
hi, the second step where can I find login.conf???

Thanks

Original comment by dabi...@gmail.com on 10 Feb 2011 at 8:51

GoogleCodeExporter commented 8 years ago
Hi,

Please find the attached.

Joshua

Original comment by tw.jos...@gmail.com on 10 Feb 2011 at 1:34

Attachments:

GoogleCodeExporter commented 8 years ago
thanksss, and the file appclientlogin.conf? 

<entry key="java.security.auth.login.config">appclientlogin.conf</entry>

Original comment by dabi...@gmail.com on 10 Feb 2011 at 4:25