-
1. Re: logger error using db2
pluellen Apr 24, 2002 3:19 PM (in response to pluellen)My guess is this is not a problem with my DB2 configuration. I get the same problem with mySQL -- the cd.jar deploys correctly and a "cdbean" table is created in the mySQL test database.
When I try to add records via the upload client, I get the following:
main:
[java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
[java] at org.jboss.invocation.MarshalledValueInputStream.(MarshalledValueInputStream.java:25)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:120)
[java] at org.jboss.invocation.MarshalledValueOutputStream.class$(MarshalledValueOutputStream.java:23)
[java] at org.jboss.invocation.MarshalledValueOutputStream.(MarshalledValueOutputStream.java:25)
[java] at org.jboss.invocation.MarshalledValue.(MarshalledValue.java:47)
[java] at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:317)
[java] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1172)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
[java] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
[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:96)
[java] at $Proxy0.create(Unknown Source)
[java] at org.jboss.docs.cmp.cd.Upload.uploadFile(Upload.java:72)
[java] at org.jboss.docs.cmp.cd.Upload.main(Upload.java:38)
[java] Exception in thread "main"
[java] Java Result: 1
Any suggestions? -
2. Re: logger error using db2
pluellen Apr 24, 2002 4:17 PM (in response to pluellen)I figured it out:
I needed to add
%JBOSS_DIST%\client\jboss-common-client.jar
and
%JBOSS_DIST%\client\log4j.jar
to my ant build script -
3. Re: logger error using db2
stitzl Apr 26, 2002 5:33 AM (in response to pluellen)Hey, great,
I had the same problem, but this fixed it for me.
Lots of jars needed nowadays in the classpath...
Thanks a lot! :)