Error in ex
sysuser1 Jul 12, 2003 8:12 PMI get error below.I am using
jboss-4.0.0DR1_tomcat-4.1.24
Can some body help
C:\ejbworkbook\Titan-JBoss-3.2-12d\workbook\ex04_1>ant run.client_41a
Buildfile: build.xml
prepare:
compile:
ejbjar:
run.client_41a:
[java] java.lang.NoClassDefFoundError: org/jboss/system/ServiceMBeanSupport
[java] at java.lang.ClassLoader.defineClass0(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:123)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
[java] at java.lang.ClassLoader.defineClass0(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:123)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:217)
[java] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147
)
[java] at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.jav
a:631)
[java] at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:
257)
[java] at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputSt
ream.java:200)
[java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.
java:1513)
[java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.jav
a:1435)
[java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1626)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[java] at java.util.HashMap.readObject(HashMap.java:986)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.
java:824)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1746)
[java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[java] at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.
java:113)
[java] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.
java:1686)
[java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1644)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
.java:1845)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1769)
[java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1646)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1274)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
24)
[java] at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
[java] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePai
r.java:30)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:52
2)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:47
9)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
[java] at com.titan.clients.Client_1.main(Client_1.java:19)
[java] Exception in thread "main"
[java] Java Result: 1