Hi!
There are two ways to solve such java.lang.NoClassDefFoundError
problems:
1. Simply copy _every_ jar file from jboss-3.0.0/client to your client
computer and include _each_ of these jar files in your CLASSPATH for
executing your client.
2. (on Un*x): You can cd to the jboss-3.0.0/client dir and issue the
following command (if you know what you are doing):
find -name "*.jar" -exec echo -e "\n\n"{} \; -exec jar tf {} \; >
alljar.txt
Afterwards search the alljar.txt file for the missing class and add the
name of the jar file that contains the class to your CLASSPTAH before
you execute the client.
HTH,
Tobias
"L. Yeung" wrote:
>
> Hi! I've downloaded the precompiled version 3.0 of
> jboss and tried to deploy my simple jar file which
> contains a session bean (facade for the entity bean)
> and an entity bean. On my client side, it threw this
> exception. Is this a JBoss3.0 BUG???
>
> [java] java.lang.NoClassDefFoundError:
> org/jboss/logging/Logger
> [java] at
>
>org.jboss.invocation.MarshalledValueInputStream.<clinit>(MarshalledValueInputStream.java:25)
> [java] at java.lang.Class.forName0(Native
> Method)
> [java] at
> java.lang.Class.forName(Class.java:130)
> [java] at
>
>org.jboss.invocation.MarshalledValueOutputStream.class$(MarshalledValueOutputStream.java:26)
> [java] at
>
>org.jboss.invocation.MarshalledValueOutputStream.<clinit>(MarshalledValueOutputStream.java:28)
> [java] at
> org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:47)
> [java] at
>
>org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:317)
> [java] at
> java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1262)
> [java] at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1243)
> [java] at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
> [java] at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
> [java] at
> sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
> [java] at
> sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
> [java] at
> org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
> Source)
> [java] at
>
>org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
> [java] at
> org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
> [java] at
> org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
> [java] at
> org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
> [java] at
> org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
> [java] at
> org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
> [java] at $Proxy0.create(Unknown Source)
> [java] at
> com.ir.app.augustus.test.CustomerTestClient.testCustomer(CustomerTestClient.java:51)
> [java] at
> com.ir.app.augustus.test.CustomerTestClient.main(CustomerTestClient.java:93)
>
> Regards,
> L. Yeung
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user