Hi Yusen,
I am having problem in integrating your OFBiz4.0-JBPM3.1.2 component in my ofbiz. I have taken the JBPM component from the url specified by and followed the steps as were stated. I am getting an error in console because of the JBPM component is not able to load and it gives me 404 error. Exception i am getting in console is : 2009-06-04 19:34:19,016 (main) [ UtilXml.java:241:INFO ] XML Read 0.015s: file:/D:/Dev/ofbiz-trunk%204.0/ofbiz-trunk/framework/common/webcommon/WEB-INF/common-controller.xml 2009-06-04 19:34:19,437 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [localDispatcherName] and value [jbpm] 2009-06-04 19:34:19,437 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [entityDelegatorName] and value [default] 2009-06-04 19:34:19,437 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [serviceReaderUrls] and value [/WEB-INF/services.xml] 2009-06-04 19:34:19,437 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [cookies] and value [true] 2009-06-04 19:34:19,437 (main) [ ContextFilter.java:323:INFO ] [ContextFilter.init] Getting Entity Engine Delegator with delegator name default 2009-06-04 19:34:19,437 (main) [ ServiceDispatcher.java:169:INFO ] Registered dispatcher: jbpm 2009-06-04 19:34:19,437 (main) [ GenericDispatcher.java:129:INFO ] [LocalDispatcher] : Created Dispatcher for: jbpm 2009-06-04 19:34:19,437 (main) [ StandardContext.java:3713:ERROR] Exception starting filter LogFilter java.lang.ClassNotFoundException: org.jbpm.webapp.filter.LogFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:223) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) 2009-06-04 19:34:19,437 (main) [ StandardContext.java:3713:ERROR] Exception starting filter JbpmContextFilter java.lang.ClassNotFoundException: org.jbpm.web.JbpmContextFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.startup.Embedded.start(Embedded.java:825) at org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:223) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) 2009-06-04 19:34:19,437 (main) [ StandardContext.java:4357:ERROR] Error filterStart 2009-06-04 19:34:19,437 (main) [ StandardContext.java:4378:ERROR] Context [/jbpm] startup failed due to previous errors 2009-06-04 19:34:19,437 (main) [ ServiceDispatcher.java:178:INFO ] De-Registering dispatcher: jbpm 2009-06-04 19:34:19,920 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [localDispatcherName] and value [workeffort] 2009-06-04 19:34:19,920 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [scriptLocationPath] and value [/WEB-INF/bsh] 2009-06-04 19:34:19,920 (main) [ ContextFilter.java:358:INFO ] Adding web.xml context-param to application attribute with name [entityDelegatorName] and value [default] 2 I have included the jar file containing org.jbpm.web.JbpmContextFilter bt still it shows me this error. Kindly help me where i have gone wrong so that i can run the JBPM application. I will be very thankful to you. Shi Yusen wrote: > > Dear list, > > I'm glad to announce a new component OFBiz4.0-JBPM3.1.2 has been > completed. > > The component is in LGPL. > > You can get the the source from: > SVN: > http://www.langhua.cn/langhua/ofbiz-components/OFBiz-jBPM/ > username: anon > password: anon > > ViewVC: > http://www.langhua.cn/viewvc/svn/ofbiz-components/OFBiz-jBPM/ > > > How to deploy and run: > 1. In Eclipse, download source code of OFBiz-jBPM from Langhua SVN > as OFBiz-jBPM project > > 2. In Eclipse, download source code of OFBiz-HtmlReport from Langhua > SVN as OFBiz-HtmlReport project > > 3. In Eclipse, download source code of OFBiz-jBPM3.1.2-Processes from > Langhua SVN as OFBiz-jBPM3.1.2-Processes project > > 4. Edit the build.xml in project OFBiz-jBPM and OFBiz-HtmlReport, > change the ofbiz.home to your ofbiz home. > > 5. Run ofbiz.copy in project OFBiz-jBPM and OFBiz-HtmlReport, the > components will be deployed to ${ofbiz.home}/specialpurpose/jbpm/ > and ${ofbiz.home}/specialpurpose/htmlreport/. > > 6. Edit ${ofbiz.home}/specialpurpose/build.xml, add > "htmlreport/build.xml, jbpm/build.xml" to "application-builds". > > 7. Edit ${ofbiz.home}/specialpurpose/component-load.xml, add > <load-component > component-location="${ofbiz.home}/specialpurpose/htmlreport"/> > <load-component > component-location="${ofbiz.home}/specialpurpose/jbpm"/> > > 8. Edit ${ofbiz.home}/framework/base/config/ofbiz-containers.xml, change > "use-naming" from "false" to "true". > > 9. Edit ${ofbiz.home}/runtime/catalina/conf/context.xml to config jbpm > datasource > > 10. Edit ${ofbiz.home}/specialpurpose/jbpm/src/hibernate.cfg.xml to > config hibernate > > 11. Add the database driver lib to ${ofbiz.home}/framework/base/lib > > 12. Edit {ofbiz.home}/framework/base/config/debug.properties, add > # jBPM configuration > log4j.logger.org.jbpm=ERROR > log4j.logger.org.hibernate=ERROR > > 13. Run OFBiz build. > > 14. Run OFBiz install. > > 15. Run OFBiz and visit jBPM component: > https://localhost:8443/jbpm/ > > 16. In jBPM component, click "Create jBPM DB tables" and run the db > scripts. > > 17. Build "compile-sample" in project OFBiz-jBPM3.1.2-Processes, this > will output sample.process file in build/ > > 18. In jBPM component, click "Upload process definition" and upload > "sample.process". > > 19. In jBPM component, click "New workflow" and start a new process. > > 20. In jBPM component, click "My tasks" and do something in the > process. > > Enjoy it. > > Shi Yusen/Beijing Langhua Ltd. > > > > http://www.nabble.com/OFBiz4.0-JBPM3.1.2-component-has-been-completed-tp20214187p20214187.html Thanks & Regards Pardeep Ruhil L&T Infotech Ltd Mumbai Larsen & Toubro Infotech Ltd. www.Lntinfotech.com ______________________________________________________________________ |
Free forum by Nabble | Edit this page |