From: David J. <dav...@di...> - 2002-07-07 12:49:58
|
The tm is in a separate module in 3.1. Do you have it? If this is a client, is jboss-transaction-client.jar on the classpath? david jencks On 2002.07.07 09:58:20 -0400 Pablo Pita Leira wrote: > > Again, another problem with the CD collection example from CVS. > > I removed the <configuration-name> element in jboss.xml. The ejbs in > cd.jar deployed successfully. > > When runing the upload client, it failed in JBoss 3.1.alpha. The upload > is fine with JBoss-3.0.0. > > [java] Exception in thread "main" java.lang.NoClassDefFoundError: > Lorg/jboss/tm/TransactionPropagationContextFactory; > [java] at java.lang.Class.getDeclaredFields0(Native Method) > [java] at java.lang.Class.privateGetDeclaredFields(Class.java:1480) > [java] at java.lang.Class.getField0(Class.java:1713) > [java] at java.lang.Class.getDeclaredField(Class.java:1176) > [java] at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1404) > [java] at java.io.ObjectStreamClass.access$400(ObjectStreamClass.java:45) > [java] at java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:331) > [java] at java.security.AccessController.doPrivileged(Native > Method) > [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:329) > [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:249) > [java] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:444) > [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511) > [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425) > [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616) > [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) > [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322) > [java] at java.util.HashMap.readObject(HashMap.java:974) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at java.lang.reflect.Method.invoke(Method.java:324) > [java] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:809) > [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1733) > [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636) > [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) > [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830) > [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756) > [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636) > [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) > [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322) > [java] at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:109) > [java] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1676) > [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1634) > [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) > [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830) > [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756) > [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636) > [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) > [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322) > [java] at java.rmi.MarshalledObject.get(MarshalledObject.java:135) > [java] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) > [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:455) > [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:435) > [java] at javax.naming.InitialContext.lookup(InitialContext.java:347) > [java] at org.jboss.docs.cmp.cd.Upload.uploadFile(Upload.java:63) > [java] at org.jboss.docs.cmp.cd.Upload.main(Upload.java:37) > [java] Java Result: 1 > > RH 7.3, JDK 1.4.0. > > To me, it seems like a bug on the jboss source. Any clue on this one ? > -- > Pablo Pita Leira > IT Consultant, Physicist, MSc > http://www.pitagoral.com > Tel. +49 69 60504293 > Mobile: +49 173 7941704 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > We have stuff for geeks like you. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user > > |