[JBoss JIRA] Created: (JBESB-2674) NullPointerException with incorrect jBPM console credentials
by Julian Coleman (JIRA)
NullPointerException with incorrect jBPM console credentials
-------------------------------------------------------------
Key: JBESB-2674
URL: https://jira.jboss.org/jira/browse/JBESB-2674
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Examples
Affects Versions: 4.4 CP3
Environment: SOA-P 4.3.0 CP02 IR2
Reporter: Julian Coleman
Priority: Minor
When the username/password credentials are not correct, attempting an `ant deployProcess` for
a jBPM-related quickstart fails with the (non-intuitive) error:
.../build.xml:45: couldn't deploy process archives : null
Running `ant -d deployProcess` shows the root cause to be:
java.lang.NullPointerException
at org.jbpm.ant.DeployProcessToServerTask.tryFormBasedAuthentication(DeployProcessToServerTask.java:276)
Line 275 returns (Header) location, but this will be Null if the login failed, so calling location.getValue() on line 276
causes the exception. (Pointed out by kconner.)
Displaying the HTTP error would probably be more useful when an error has occurred.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (JBESB-2662) Add commons-httpclient.jar to soap.esb when deploying to AS5
by Daniel Bevenius (JIRA)
Add commons-httpclient.jar to soap.esb when deploying to AS5
------------------------------------------------------------
Key: JBESB-2662
URL: https://jira.jboss.org/jira/browse/JBESB-2662
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Configuration
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Fix For: 4.6
When deploying to AS4.x commons-httpclient.jar is available in <serverhome>/lib. But this is not the case with AS5. Since SOAPClient is located in soap.esb we should include commons-httpclient.jar in this .esb archive to avoid classloading issues.
I had actually placed this jar in the quickstart which worked fine but not if you redeploy them as soap.esb will still have a reference to the jar since it loaded SOAPClient. So this work should remove commons-httpclient.jar from:
webservice_bpel/
publish_as_webservice
webservice_consumer1
publish_as_webservice_inonly
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months