[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-990) Null pointer on connection.createSession in non-clustered setup
Jonathan Duty (JIRA)
jira-events at lists.jboss.org
Fri Jun 15 09:08:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-990?page=comments#action_12365515 ]
Jonathan Duty commented on JBMESSAGING-990:
-------------------------------------------
The main reason we have to deployed as scoped is because we are using Seam, which requires a scoped deployment. So can JBoss Messaging not work in a scopped environment?
Thanks,
~Jonathan
> Null pointer on connection.createSession in non-clustered setup
> ---------------------------------------------------------------
>
> Key: JBMESSAGING-990
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-990
> Project: JBoss Messaging
> Issue Type: Bug
> Affects Versions: 1.3.0.GA
> Environment: JBoss 4.2GA
> JBoss Messaging 3.0 GA - Non clustered Install
> Ear with loader-repository
> Reporter: Jonathan Duty
> Assigned To: Tim Fox
>
> When I deploy an ear with a loader-repository, and within an ejb I try and to create a session from the standard connection manager, I see the following:
> java.lang.NullPointerException
> 22:41:43,158 ERROR [STDERR] at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:86)
> 22:41:43,158 ERROR [STDERR] at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
> 22:41:43,159 ERROR [STDERR] at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionDelegate$createSessionDelegate_6052335267724906805.invokeNext(ClientConnectionDelegate$createSessionDelegate_6052335267724906805.java)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionDelegate.createSessionDelegate(ClientConnectionDelegate.java)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.JBossConnection.createSessionInternal(JBossConnection.java:269)
> 22:41:43,159 ERROR [STDERR] at org.jboss.jms.client.JBossConnection.createSession(JBossConnection.java:91)
> 22:41:43,159 ERROR [STDERR] at test.com.zattoo.epg.notify.NotifyTest.testSaveProgramEvent(Unknown Source)
> 22:41:43,159 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 22:41:43,159 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 22:41:43,160 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 22:41:43,160 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
> 22:41:43,160 ERROR [STDERR] at junit.framework.TestCase.runTest(TestCase.java:154)
> 22:41:43,160 ERROR [STDERR] at junit.framework.TestCase.runBare(TestCase.java:127)
> 22:41:43,161 ERROR [STDERR] at junit.framework.TestResult$1.protect(TestResult.java:106)
> 22:41:43,162 ERROR [STDERR] at junit.framework.TestResult.runProtected(TestResult.java:124)
> 22:41:43,162 ERROR [STDERR] at junit.framework.TestResult.run(TestResult.java:109)
> 22:41:43,162 ERROR [STDERR] at junit.framework.TestCase.run(TestCase.java:118)
> 22:41:43,162 ERROR [STDERR] at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 22:41:43,162 ERROR [STDERR] at junit.framework.TestSuite.run(TestSuite.java:203)
> 22:41:43,162 ERROR [STDERR] at org.junitee.runner.TestRunner$1.run(TestRunner.java:72)
> 22:41:43,163 ERROR [STDERR] at org.junitee.runner.TestRunner.run(TestRunner.java:95)
> 22:41:43,163 ERROR [STDERR] at org.junitee.servlet.JUnitEEServlet.runTests(JUnitEEServlet.java:232)
> 22:41:43,163 ERROR [STDERR] at org.junitee.servlet.JUnitEEServlet.doGet(JUnitEEServlet.java:203)
> 22:41:43,163 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> 22:41:43,163 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 22:41:43,163 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 22:41:43,164 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 22:41:43,164 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> 22:41:43,164 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 22:41:43,164 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 22:41:43,164 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> 22:41:43,164 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 22:41:43,165 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> 22:41:43,165 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> 22:41:43,165 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 22:41:43,165 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> 22:41:43,165 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
> 22:41:43,165 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 22:41:43,165 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
> 22:41:43,165 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 22:41:43,165 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
> 22:41:43,166 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 22:41:43,166 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613)
> This does not occur if I use a JBoss 4.2 in "All" mode with JBoss messaging 3.0 cluster install.
--
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
More information about the jboss-jira
mailing list