1 2 Previous Next 15 Replies Latest reply on Aug 27, 2011 9:52 AM by Rishab Srivastava

    problem with jbpm-3.2.Beta2

    fulig jimmy Newbie

      I have downloaded the jbpm-3.2.Beta2 and when I try to start the sample process in web-console, i receive an error message: "Can't overwrite cause". I use JDK 6.
      What can be wrong?
      Thanks.

        • 1. Re: problem with jbpm-3.2.Beta2
          Ronald van Kuijk Master

          - appserver?
          - stacktrace?
          - ...

          • 2. Re: problem with jbpm-3.2.Beta2
            fulig jimmy Newbie

             

            - Stack Trace
            
            java.lang.IllegalStateException: Can't overwrite cause
             at java.lang.Throwable.initCause(Throwable.java:320)
             at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:59)
             at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
             at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
             at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522)
             at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978)
             at org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113)
             at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31)
             at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58)
             at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112)
             at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
             at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
             at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
             at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
             at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
             at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
             at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
             at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:619)


            • 3. Re: problem with jbpm-3.2.Beta2
              Ronald van Kuijk Master

              since a jdk14 compat class is used, I would not be surprised that can not be run on jdk6... (jbpm has not been tested on jdk6)

              • 4. Re: problem with jbpm-3.2.Beta2
                fulig jimmy Newbie

                So, i have tried with jdk 5.
                U:\>java -version
                java version "1.5.0_08"
                Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
                Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
                The error message is the following:

                Stream error while reading XML: Connection timed out: connect
                +- Stack Trace
                
                javax.faces.FacesException: Stream error while reading XML: Connection timed out: connect
                 at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:522)
                 at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:978)
                 at org.jbpm.webapp.tag.jbpm.ui.XmlPrinter.encodeBegin(XmlPrinter.java:113)
                 at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:31)
                 at org.jbpm.webapp.tag.jbpm.ui.ComponentBase.doEncode(ComponentBase.java:58)
                 at org.jbpm.webapp.tag.jbpm.ui.Tab.encodeChildren(Tab.java:112)
                 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
                 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
                 at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
                 at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
                 at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
                 at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
                 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
                 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
                 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                 at java.lang.Thread.run(Unknown Source)



                • 5. Re: problem with jbpm-3.2.Beta2
                  Ronald van Kuijk Master

                  could it be the server is trying to retrieve an xsd from an external location and it is not allowed to do that?

                  • 6. Re: problem with jbpm-3.2.Beta2
                    fulig jimmy Newbie

                    I have tried in jBPM 3.2.GA, and i have received the same exception. The process goes to process instances, but when i try to view the process instace task, i get the error message. In Beta1 works everything fine, the problems cames first with Beta2.
                    How could I check, that you said?:


                    could it be the server is trying to retrieve an xsd from an external location and it is not allowed to do that?

                    It's freaky, that I get an error message, when i use an original jbpm pack, what i didn't modified and many of my friends use the same pack without errors.
                    Thank You!
                    Regards.

                    • 9. Re: problem with jbpm-3.2.Beta2
                      fulig jimmy Newbie

                      What kind of sniffer do you think? Can you offer me one?
                      Thank You!

                      • 10. Re: problem with jbpm-3.2.Beta2
                        fulig jimmy Newbie

                        I tried it under Linux (openSuse10.2) and the exception was the same.

                        • 11. Re: problem with jbpm-3.2.Beta2
                          Ronald van Kuijk Master

                          ethereal is a good 'sniffer'

                          • 12. Re: problem with jbpm-3.2.Beta2
                            fulig jimmy Newbie

                            I think, i found the problem. In the websale example the first task's source is form.create.xhtml. In this file the second line is

                            http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
                            and when your computer has no internet connection, this is unreachable.

                            Can anybody check this?
                            Any idea to solve this problem?
                            Thanks!

                            • 13. Re: problem with jbpm-3.2.Beta2
                              Alexandre Del Puppo Newbie

                              Actually, if your internet connection is active, maybe you need to configure the right proxy settings to startup your Application Server.

                              In this page, there's a list of options showing how to setup the proxy settings for some Server Applications like JBoss, Tomcat, Orion and WebLogic: http://confluence.atlassian.com/display/DOC/Configure+Web+Proxy+Support+for+Confluence

                              Particularly, to run the sample application under JBoss application server bundled with jBPM-suite 3.2, I did the following:

                              -Edited the file "jbpm-jpdl-3.2.GA\server\bin\run.bat"
                              -Searched for JAVA_OPTS. Changed the line
                              "set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

                              to

                              "set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=192.168.10.254 -Dhttp.proxyPort=3128 -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

                              Where 192.168.10.254 is my proxy server and 3128 is the port for connection.

                              Hope this works for you as worked for me!!

                              Best regards,

                              Alexandre

                              • 14. Re: problem with jbpm-3.2.Beta2
                                Margot Media Newbie

                                java.lang.IllegalStateException: Can't overwrite cause

                                It is an error due to a bug with wstx library, I've changed it for an older version than wstx-lgpl-3.2.6.jar (it solves the problem) and it worked fine!

                                1 2 Previous Next