-
1. Re: how to do jbpm run on tomcat?
markroy May 25, 2006 5:10 PM (in response to noboyanyone)After much trial and error, I got it to work (on Windows XP, btw). Two things: I couldn't get Hibernate to work with Tomcat JNDI (not sure why, I've gotten JNDI working with another app) and, I had to put all of the jars in WEB-INF/lib. I was getting some bizarre errors when I initially put the jars that weren't included in jbpm.war in CATALINA_HOME\shared\lib. Once I moved them to WEB-INF\lib, the problems went away.
Start by deploying jbpm.war from the download, then add the remaining files shown. Not sure this is the minimal subset, but it seems to work.
\APACHE-TOMCAT-5.5.17\webapps\jbpm
| admin.jsp
| deploy.html
| footer.jsp
| header1.jsp
| header2.jsp
| home.jsp
| index.jsp
| inspect_instance.jsp
| inspect_instance_transitions.jsp
| layout.jsp
| login.jsp
| monitor.jsp
| process_definitions.jsp
| process_instances.jsp
| search_instances.jsp
| task.jsp
|
+---css
| jbpm.css
|
+---images
| hdr_green_side.gif
| logo_green.gif
| logo_red.gif
| logo_yellow.gif
| side_nav_green_btm.gif
| spacer.gif
| swoosh_green.gif
|
+---META-INF
| context.xml
| MANIFEST.MF
|
\---WEB-INF
| faces-config.xml
| jbpm.tld
| web.xml
|
+---classes
| hibernate.cfg.xml
| log4j.properties
| messages.properties
| messages_fr.properties
|
\---lib
antlr-2.7.5H3.jar
asm-attrs.jar
asm.jar
bsh-1.3.0.jar
cglib-2.1_2jboss.jar
commons-beanutils-1.6.1.jar
commons-collections-2.1.jar
commons-collections.jar
commons-digester-1.5.jar
commons-fileupload-1.0.jar
commons-logging.jar
converter.jar
dom4j-1.6.1.jar
ehcache-1.1.jar
hibernate-annotations.jar
hibernate-entitymanager.jar
hibernate3.jar
jaxen-1.1-beta-4.jar
jbpm-3.1.jar
jbpm-identity-3.1.jar
jbpm-identity-src-3.1.jar
jbpm-src-3.1.jar
jbpm-webapp-3.1.jar
jbpm.sar.cfg.jar
jdbc2_0-stdext.jar
jstl-1.1.0.jar
jta.jar
log4j.jar
myfaces-api.jar
myfaces-impl.jar
mysql-connector-java-3.1.12-bin.jar
standard-1.1.2.jar
tomahawk.jar -
2. Re: how to do jbpm run on tomcat?
markroy May 25, 2006 5:12 PM (in response to noboyanyone)Just noticed -- META-INF\context.xml not required -- it's left over from my attempts to get JNDI configured. Also, the mysql-...jar would be replaced by whatever db driver you need.
Again, not necessarily the optimal deployment, but working for me, which is good enough for now. -
3. Re: how to do jbpm run on tomcat?
noboyanyone May 26, 2006 5:52 AM (in response to noboyanyone)i flow your step,but it not work.
when i click the" create new web sale order",it throw the exception :
javax.faces.FacesException: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
i don't know the jsf -
4. Re: how to do jbpm run on tomcat?
markroy May 26, 2006 11:02 AM (in response to noboyanyone)I'm using JDK 1.5.0_06 and Tomcat 5.5.17, if that helps. Also, I have found that improperly configured Hibernate will result in some seemingly unrelated errors.
Check hibernate.cfg.xml. Also, adjust log4j.properties as necessary. Look through the log for any errors or warnings reported prior to the exception you see in the webapp. -
5. Re: how to do jbpm run on tomcat?
leemeg420 May 29, 2006 1:34 AM (in response to noboyanyone)How about running jbpm on openxava.
My environment list:
jbpm-3.0.1;
eclipse 3.1.2;
jdk 1.5.0_01;
mysql-5.0.18-win32;
apache-ant-1.6.5;
openxava-2.0-jetspeed2
Thax -
6. Re: how to do jbpm run on tomcat?
kukeltje May 29, 2006 2:40 AM (in response to noboyanyone)please no thread-hijacking and double postings. Keep postings in thread related to the subject the have
-
7. Re: how to do jbpm run on tomcat?
ash Jun 22, 2006 8:49 AM (in response to noboyanyone)"noboyanyone" wrote:
i flow your step,but it not work.
when i click the" create new web sale order",it throw the exception :
javax.faces.FacesException: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
i don't know the jsf
You tomcat can't find *.class from websale.process. Easy way - copy all file from \build\websale\classes\ to \common\classes\ -
8. Re: how to do jbpm run on tomcat?
ash Jun 22, 2006 8:49 AM (in response to noboyanyone)"noboyanyone" wrote:
i flow your step,but it not work.
when i click the" create new web sale order",it throw the exception :
javax.faces.FacesException: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
i don't know the jsf
You tomcat can't find *.class from websale.process. Easy way - copy all file from /\build\websale\classes\ to /\common\classes\ -
9. Re: how to do jbpm run on tomcat?
ash Jun 22, 2006 8:50 AM (in response to noboyanyone)"noboyanyone" wrote:
i flow your step,but it not work.
when i click the" create new web sale order",it throw the exception :
javax.faces.FacesException: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver;
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
i don't know the jsf
You tomcat can't find *.class from websale.process. Easy way - copy all file from [JBPM]\build\websale\classes\ to [tomcat]\common\classes\ -
10. Re: how to do jbpm run on tomcat?
ash Jun 22, 2006 8:52 AM (in response to noboyanyone)sorry for multiple post
-
11. Re: how to do jbpm run on tomcat?
kukeltje Jun 22, 2006 10:23 AM (in response to noboyanyone)Besides the duplicate posts (can happen) I do not get why you propose this solution and how you get the impresssion this is related