1 Reply Latest reply on Aug 2, 2002 7:52 AM by jwkaltz

    Where is org.jboss.logging.Logger. Intro interest client.

    phi15

      When starting the intro-interest-client I get the following error Message:

      interest-client:
      [java] Got context
      [java] Got reference
      [java] Exception in thread "main" 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:26)
      [java] at org.jboss.invocation.MarshalledValueOutputStream.(MarshalledValueOutputStream.java:28)
      [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:76)
      [java] at $Proxy0.create(Unknown Source)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.java:39)
      [java] Java Result: 1

      Where is that class org.jboss.logging.Logger?

      Thanks,
      phi

        • 1. Re: Where is org.jboss.logging.Logger. Intro interest client
          jwkaltz

          Are you referring to JBoss 2.4 ? In that case, you need to make sure jboss-client.jar is in your classpath, before your log4.properties is probably referring to a class org.jboss.logging.Logger, and that's where this class is.

          Note that, if you didn't have jboss-client.jar in your classpath you're probably not putting the other required jars in your classpath either. You need to have most jars in the JBoss/client subdirectory in your classpath when running a client application.