[
http://jira.jboss.com/jira/browse/JBESB-1069?page=worklog#action_12377989 ]
Bruno Unna logged work on JBESB-1069:
-------------------------------------
Time Spent: 2 hours
Remaining Estimate: 0 minutes
Time Spent: 2 hours
When starting up JBoss AS an exception used to apper in the log:
17:54:36,291 ERROR [[/jbpm-console]] Servlet /jbpm-console threw load() exception
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
...
Even though the apache-commons upload utility library is clearly contained in the lib
directory of the jbpm-console war file.
It seems that the java.lang.NoClassDefFoundError thrown when starting up the AS is the
cause of the process uploading problem.
The upload servlet definition, in file
${JBOSSESB_HOME}/lib/jbpm.esb/jbpm-console.war/WEB-INF/web.xml , contains this lines:
<!-- This is the GDP's deployer servlet -->
<servlet>
<servlet-name>GDP Deployer Servlet</servlet-name>
<servlet-class>org.jbpm.web.ProcessUploadServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
The value '1' in element "load-on-startup" means this servlet must be
loaded ASAP by the container. And I believe for some reason this happens before the
classloader has access to the apache-commons upload utility class.
I commented out the load-on-startup element, thus allowing the container to load the class
whenever it deemed convenient, after which the problem went away (as well as the startup
error). I haven't found as of now any secondary effects of my action, so I dare to
believe it is an acceptable solution to the error.
GDP deployer servlet not working
--------------------------------
Key: JBESB-1069
URL:
http://jira.jboss.com/jira/browse/JBESB-1069
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Process flow
Affects Versions: 4.2
Reporter: Bruno Unna
Assigned To: Mark Little
Fix For: 4.2.1
Time Spent: 2 hours
Remaining Estimate: 0 minutes
The jBPM Designer is unable to test the connection to jBPM in order to deploy a process
definition. It is unable, as well, to perform the deployment.
The "Test Connection..." button delivers a very uninformative error, but the
JBoss AS console shows this line:
12:04:49,344 INFO [[GDP Deployer Servlet]] Servlet GDP Deployer Servlet is currently
unavailable
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira