[jboss-user] [JBoss Messaging] - Re: Marshalling Exception

chip_schoch do-not-reply at jboss.com
Fri Apr 6 15:15:22 EDT 2007


Upgrading to 1.2.0.sp1 seems to have taken care of the problem.  If my service sar is deployed when I start JBossAS then it runs fine, however if I redeploy it I get the following:

2007-04-06 15:11:53,937 ERROR [STDERR] Exception in thread "Thread-38" 
  | 2007-04-06 15:11:53,937 ERROR [STDERR] java.lang.LinkageError: loader constraints violated when linking org/jboss/aop/ClassAdvisor class
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at sun.misc.Unsafe.ensureClassInitialized(Native Method)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.lang.reflect.Field.getLong(Field.java:527)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1586)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.security.AccessController.doPrivileged(Native Method)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  | 2007-04-06 15:11:53,937 ERROR [STDERR] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | 2007-04-06 15:11:53,984 ERROR [STDERR] 	at com.eLynx.Messaging.MessageReceiver.run(MessageReceiver.java:546)

The code is trying to lookup QueueConnectionFactory in JNDI.  I am not sure what to do about this.

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

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



More information about the jboss-user mailing list