This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes Unable to find this class..during messaging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Unable to find this class..during messaging" Watch "Unable to find this class..during messaging" New topic
Author

Unable to find this class..during messaging

Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
java.lang.NoClassDefFoundError: org/jboss/metadata/spi/signature/Signature

where is this jar?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Which version of JBoss? For JBoss-5.0Beta4, i found this in jboss-container-metadata-spi.jar. And when and where do you see this exception?


[My Blog] [JavaRanch Journal]
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
I am sending/receiving messages to JBoss4.2.2 from JBoss4.0.5.
Plain vanilla POJO implementing MessageListener.
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Are you sure you found it in the JBoss-5.0Beta4?

I was not able to find this in jboss-container-metadata-spi.jar.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Yes, its in that jar. Since you are not using JBoss-5 you can ignore what i mentioned in my earlier post


I am sending/receiving messages to JBoss4.2.2 from JBoss4.0.5.
Plain vanilla POJO implementing MessageListener.


Can you post the entire exception stacktrace? Where do you see this exception (on which server)?
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Here it is,

A Standalone client calling a Topic on jboss4.2.2.


javax.jms.InvalidDestinationException: No such destination: JBossTopic[PTopic] has it been deployed?
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1838)
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:252)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)Error creating listener: javax.jms.InvalidDestinationException: No such destination: JBossTopic[Aditi] has it been deployed?

at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:123)
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.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:100)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invoke(Client.java:536)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:245)
at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCreationAspect.java:148)
at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect30.invoke(StateCreationAspect30.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect.java:73)
at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect29.invoke(ConsumerAspect29.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.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.ClientSessionDelegate$createConsumerDelegate_8721389917985689973.invokeNext(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.createConsumerDelegate(ClientSessionDelegate.java)
at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:237)
at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:215)
at org.jboss.jms.client.JBossSession.createSubscriber(JBossSession.java:431)
at Listener.initializeListener(Listener.java:76)
at Listener.<init>(Listener.java:37)
at Listener.main(Listener.java:101)
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Continued...

I am passing the jndi as "topic/PTopic" and the url is "localhost:1199"

I can see that it is connecting to jboss4.2.2, but unable to see the topic where as I can see it in the jmx-console and I also played with stop/start triggers. pretty wierd! <ack!>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to find this class..during messaging