[JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se
by bob_walker99
Hi Clebert,
I've managed to set up a similar environment locally, and I'm seeing similar, if not identical, behaviour here. (to clarify: I'm on a Windows XP client here, so the OS is different from my server that I'm having trouble with, but I believe all the other components: JVM version, jboss versions, my code versions, are the same).
I get this in my server log coinciding with the exception received by my client listener:
| 2008-12-23 13:11:41,142 ERROR [org.jboss.remoting.transport.socket.ServerThread] (WorkerThread#5[192.168.11.9:4788]) WorkerThread#5[192.168.11.9:4788] exception occurred during first invocation
| java.io.EOFException
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:691)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)
|
Additionally, I see this immediately after in my stdout log:
| INFO | jvm 1 | 2008/12/23 13:11:41 | 13:11:41,220 WARN [ServerInvoker] Asked to terminate invoker lease for client session id 5c4ob9-6pgfut-fp2kgtux-1-fp2kgwqn-6, but lease for this id could not be found.: {5c4ob9-2tedlu-fp2kipht-1-fp2kisdj-6=org.jboss.remoting.Lease@1854254}
|
All the JMS communication in my local environment is local, no other machines are involved.
Let me know if I can provide any more info.
Regards,
Bob
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198283#4198283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198283
17 years, 4 months
[JBoss Messaging] - Messaging Exception in cluster node startup
by rana24
Hi,
During the start up of cluster node , I m facing following exception on Jboss 4.2.3 JBM 1.4.0 SP3.
I have no clue while it says Queues are already bound with peer id. Restart doesnt help in these scenario.
Any clue
2008-12-23 17:56:02,658 TRACE [org.jboss.messaging.core.impl.postoffice.MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@d731c4 Adding binding in memory Binding:16006572 condition: queue.testDistributedQueue queue: Queue[17961068/5/16-testDistributedQueue] allNodes: false
2008-12-23 17:56:02,658 TRACE [org.jboss.remoting.ConnectionValidator] ConnectionValidator got successful ping using SocketClientInvoker[1d86b03, bisocket://Synpune1017:4457]
2008-12-23 17:56:02,658 ERROR [org.jboss.messaging.util.ExceptionUtil] Queue[null, name=testDistributedQueue] startService
java.lang.IllegalStateException: Channel id map for node 5 already contains binding for queue 16
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBindingInMemory(MessagingPostOffice.java:2375)
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalAddBinding(MessagingPostOffice.java:1863)
at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:444)
at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:110)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy51.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
2008-12-23 17:56:02,658 TRACE [org.jboss.remoting.transport.socket.SocketServerInvoker] SocketServerInvoker[0.0.0.0:4457] creating new worker thread
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198277#4198277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198277
17 years, 4 months
[EJB 3.0] - Re: Binding / JNDI / EJB
by pbaker01
Hi jaikiran,
Let me know if I can post any additional information.
Using the "incorrect" descriptor files below I get the following display from JMX for jboss.j2ee.
When I select the first entry (message-driven-bean MDB), I get a display
with start/stopDelivery methods exposed.
This image shows a portion of the form that is rendered when I select the first link. It contains the very elusive start/stopDelivery methods.
http://picbite.com/image/13091fbtep/
My goal is to use the "correct" descriptors and still be able to access the start/stopDelivery methods on the MDB.
Note that this descriptor files below also generate console errors.
JMX for jboss.j2ee
jboss.j2ee
| binding=message-driven-bean,jndiName=local/SSMListener@1691815956,plugin=invoker,service=EJB
| jndiName=SsimEjbBean,plugin=pool,service=EJB
| jndiName=SsimEjbBean,service=EJB
| jndiName=local/AirlineEjbBean@104272522,plugin=pool,service=EJB
| jndiName=local/AirlineEjbBean@104272522,service=EJB
| jndiName=local/SSMListener@1691815956,plugin=pool,service=EJB
| jndiName=local/SSMListener@1691815956,service=EJB
| jndiName=local/SubscriberEjbBean@527666732,plugin=pool,service=EJB
| jndiName=local/SubscriberEjbBean@527666732,service=EJB
| module="WAB_EJB.jar",service=EjbModule
| service=EARClassLoaderDeployer
| service=EARDeployer
We VERY much apprecaite you looking into this!!
Using:
ejb-jar.xml
| <?xml version="1.0"?>
| <!--
| <ejb-jar
| xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
| version="3.0">
| -->
| <!DOCTYPE ejb-jar PUBLIC
| "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
| "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
| <ejb-jar>
| <enterprise-beans>
| <message-driven>
| <ejb-name>SSMListener</ejb-name>
| <ejb-class>com.sita.wab.mdb.ssim.SSMListener</ejb-class>
| <transaction-type>Container</transaction-type>
| </message-driven>
|
| <session>
| <ejb-name>SubscriberEjbBean</ejb-name>
| <remote>
| com.sita.wab.ejb.subscriber.SubscriberEjbRemote
| </remote>
| <ejb-class>
| com.sita.wab.ejb.subscriber.SubscriberEjbBean
| </ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
|
| <session>
| <ejb-name>AirlineEjbBean</ejb-name>
| <remote>com.sita.wab.ejb.airline.AirlineEjbRemote</remote>
| <ejb-class>
| com.sita.wab.ejb.airline.AirlineEjbBean
| </ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
|
| <session>
| <ejb-name>SsimEjbBean</ejb-name>
| <remote>com.sita.wab.ejb.ssim.SsimEjbRemote</remote>
| <ejb-class>com.sita.wab.ejb.ssim.SsimEjbBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
|
|
| </enterprise-beans>
|
| <assembly-descriptor>
| <container-transaction>
| <method>
| <ejb-name>SSMListener</ejb-name>
| <method-name>onMessage</method-name>
| </method>
| <trans-attribute>Required</trans-attribute>
| </container-transaction>
| </assembly-descriptor>
| </ejb-jar>
and jboss.xml
<!--
| <jboss xmlns="http://www.jboss.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://www.jboss.org/j2ee/schema
| http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
| version="5.0">
| -->
| <jboss>
| <security-domain></security-domain>
| <enterprise-beans>
| <message-driven>
| <ejb-name>SSMListener</ejb-name>
| <configuration-name>Standard Message Driven Bean</configuration-name>
| <destination-jndi-name>queue/SSMQueue</destination-jndi-name>
| </message-driven>
| <session>
| <ejb-name>SubscriberEjb</ejb-name>
| <configuration-name>Standard Stateless SessionBean</configuration-name>
| <jndi-name>SubscriberEjb</jndi-name>
| </session>
|
| <session>
| <ejb-name>AirlineEjb</ejb-name>
| <configuration-name>Standard Stateless SessionBean</configuration-name>
| <jndi-name>AirlineEjb</jndi-name>
| </session>
|
| <session>
| <ejb-name>SsimEjbBean</ejb-name>
| <configuration-name>Standard Stateless SessionBean</configuration-name>
| <jndi-name>SsimEjbBean</jndi-name>
| </session>
|
| </enterprise-beans>
| </jboss>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198275#4198275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198275
17 years, 4 months