[jboss-user] [JBoss Messaging] - Re: Remote JMS server

mskonda do-not-reply at jboss.com
Mon Sep 18 06:05:22 EDT 2006


Ovidiu, I have followed the steps mentioned. Unfortunately it doesn't work!

1. When you copy just the jboss-messaging.jar (and remoting) and attempt to deploy the mdb, you get an NoClassFoundException about JoinPointInfo class. This class is present in jboss-messaging-client.jar. In order to rectify the NCFE exception, I have to add teh clinet jar too to lib.

2. now, after adding the client jar, when you deploy MDB, you still get an exception(see below).
10:59:26,979 WARN  [JMSContainerInvoker] JMS provider failure detected: 
  | java.lang.NoSuchFieldError: dcl
  |         at org.jboss.aop.deployment.JBossClassPool.isUnloadedClassLoader(JBossClassPool.java:46)
  |         at org.jboss.aop.AspectManager.clearUnregisteredClassLoaders(AspectManager.java:620)
  |         at org.jboss.aop.AspectManager.getRegisteredCLs(AspectManager.java:600)
  |         at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:679)
  |         at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:668)
  |         at org.jboss.aop.annotation.PortableAnnotationElement.getClassFile(PortableAnnotationElement.java:253)
  |         at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPresent(PortableAnnotationElement.java:235)
  |         at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:346)
  |         at org.jboss.aop.pointcut.Util.matchesClassExpr(Util.java:113)
  |         at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:153)
  |         at org.jboss.aop.pointcut.ast.ASTClass.jjtAccept(ASTClass.java:43)
  |         at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:73)
  |         at org.jboss.aop.pointcut.ast.ASTStart.jjtAccept(ASTStart.java:42)
  |         at org.jboss.aop.introduction.InterfaceIntroduction.matches(InterfaceIntroduction.java:233)
  |         at org.jboss.aop.AspectManager.applyInterfaceIntroductions(AspectManager.java:1685)
  |         at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:285)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
  |         at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:587)
  |         at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:575)
  |         at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
  |         at sun.misc.Unsafe.ensureClassInitialized(Native Method)
  |         at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
  |         at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
  |         at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
  |         at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
  |         at java.lang.reflect.Field.getLong(Field.java:527)
  |         at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1559)
  |         at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
  |         at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:373)
  |         at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
  |         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
  |         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
  |         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  |         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  |         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  |         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  |         at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  |         at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
  |         at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
  |         at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
  |         at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:428)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
  |         at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:428)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy49.start(Unknown Source)
  |         at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:428)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy25.start(Unknown Source)
  |         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
  |         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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy26.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  |         at sun.reflect.GeneratedMethodAccessor51.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:141)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |         at $Proxy10.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
  | 10:59:26,993 INFO  [EJBDeployer] Deployed: file:/sandbox/konmad-sbox/dev/platform/jboss-with-tx-and-msg/jboss-4.0.3SP1/server/default/deploy/simple-mdb.jar
  | 

I think, the steps outlined may not guarantee the remote jms server funtionality.

Thanks
Madhu

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972242#3972242

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972242



More information about the jboss-user mailing list