Hi all
My JMS client application running on JBoss 4.2.3 fails to create a JMS Session on startup
due to a NullpointerException. Threads mentioned below already discuss the issue, but
even when trying to change the scoping/loader the issue remains.
I've got a standalone WAR file that connects to the JBM 1.4.4 server from the
ServletContextListener.contextInitialized() callback method.
I've tried adding a jboss-web.xml but without success.
13:37:18,980 INFO [StartupListener] ~~ Creating JMS Session ...
| 13:37:18,989 FATAL [StartupListener]
| java.lang.NullPointerException
| at
org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:87)
| at
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at
org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at
org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
| at
org.jboss.jms.client.delegate.ClientConnectionDelegate.createSessionDelegate(ClientConnectionDelegate.java)
| at
org.jboss.jms.client.JBossConnection.createSessionInternal(JBossConnection.java:269)
| at
org.jboss.jms.client.JBossConnection.createSession(JBossConnection.java:91)
<jboss-web>
| <loader-repository>
| com.mycompanyl:archive=ServiceBroker.war
| </loader-repository>
| </jboss-web>
Reference:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=110051&a...
https://jira.jboss.org/jira/browse/JBMESSAGING-980
http://www.jboss.org/community/wiki/ClassLoadingconfiguration
I'm stuck on this and I hope somebody can point me to a solution for this.
Thank you in advance.
Greetz
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257631#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...