5 Replies Latest reply on May 21, 2002 12:06 PM by doritc

    Problem with JBoss 3.0 RC2 - org.jboss.logger.Logger not fou

    prasadkk

      Hi all,

      I've installed JBoss 3.0 RC2 and deployed a ejb jar file. Its getting deployed perfectly. But when I called the create method of the bean from a java application client, its giving the following exception

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Logger
      at org.jboss.invocation.MarshalledValueInputStream.(MarshalledValueInputStream.java:25)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jboss.invocation.MarshalledValueOutputStream.class$(MarshalledValueOutputStream.java:23)
      at org.jboss.invocation.MarshalledValueOutputStream.(MarshalledValueOutputStream.java:25)
      at org.jboss.invocation.MarshalledValue.(MarshalledValue.java:47)
      at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:317)
      at java.io.ObjectOutputStream.outputObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject(Unknown Source)
      at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy0.create(Unknown Source)
      at CustomerClient.main(CustomerClient.java:34)


      But when I searched for this file in the library I found that the Logger.java file has been moved from jboss.jar to castor.jar. The package structure is also changed from org.jboss.logger.Logger to org.exolab.castor.util.Logger

      I removed all the other versions of JBoss from my system.
      Any suggestions please.

      Thanks in advance

      Prasad K K