6 Replies Latest reply on Jul 9, 2013 2:18 PM by Tihomir Surdilovic

    Unable to generate PDF document from the Web Designer 2.0.

    Victor Sarmiento Newbie

      We have just installed jBPM 5.2 from the full installer (jbpm-5.2.0.Final-installer-full.zip) on Windows.  We haven't been able to generate the PDF document from the Web Designer 2.0.  If we use the option  "Share Process PDF" from the top toolbar, we get the following error message: "Failed to create the process PDF".

       

      If we use the PDF button at the bottom of the Web Designer,  we get the following error messages.  (I have included the error shown on the web page, as well as the error shown in the server.log file)

       

      ERROR MESSAGE IN DESIGNER

      =========================

      HTTP Status 500 -

       

      type Exception report

       

      message

       

      description The server encountered an internal error () that prevented it from fulfilling this request.

       

      exception

       

      1. javax.servlet.ServletException: Servlet execution threw an exception

                      com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)

       

      root cause

       

      1. java.lang.NoClassDefFoundError: org/apache/commons/logging/Log

                      com.intalio.web.server.TransformerServlet.doPost(TransformerServlet.java:154)

                      javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

                      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

                      com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)

       

      root cause

       

      1. java.lang.ClassNotFoundException: org.apache.commons.logging.Log from [Module "deployment.designer.war:main" from Service Module Loader]

                      org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                      org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

                      org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

                      org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

                      org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

                      com.intalio.web.server.TransformerServlet.doPost(TransformerServlet.java:154)

                      javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

                      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

                      com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)

       

      note The full stack trace of the root cause is available in the JBoss Web/7.0.1.Final logs.

      JBoss Web/7.0.1.Final

       

       

      DETAILS FROM SERVER.LOG

      ========================

       

      14:19:56,493 SEVERE [com.intalio.web.server.TransformerServlet] (http-localhost-127.0.0.1-8080-7) Server returned HTTP response code: 505 for URL: http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Test Process/source/

      14:19:56,493 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/designer].[TransformerServlet]] (http-localhost-127.0.0.1-8080-7) Servlet.service() for servlet TransformerServlet threw exception: java.lang.ClassNotFoundException: org.apache.commons.logging.Log from [Module "deployment.designer.war:main" from Service Module Loader]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

                      at com.intalio.web.server.TransformerServlet.doPost(TransformerServlet.java:154) [classes:]

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75) [classes:]

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                      at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]