2 Replies Latest reply on Aug 23, 2002 4:56 AM by Udontcare

    Encounterd a problem while running Jboss shipped Examples

    Handy Newbie

      Hi Friends,
      Yesterday i started my Jboos journey. I succesfully installed the Jboos server. I deployed the Interest Bean shipped with Jboss, but while running the InterestBean Client i encoutnered following Exception

      C:\examples\build>ant intro-interest-client
      Buildfile: build.xml
      validate-servlet:
      validate-jboss:
      fail_if_not_valid:
      init:
      [echo] Using JBoss directory=C:\jboss-3.0.0_tomcat-4.0.3
      [echo] Using base classpath=C:\jboss-3.0.0_tomcat-4.0.3client\jboss-j2ee.jar;C:\jboss-3.0.0_tomcat-4.0.3\client\jaas.jar;C:\jboss-3.0.0_tomcat-4.0.3\clien
      t\jbosssx-client.jar;C:\jboss-3.0.0_tomcat-4.0.3\client\jboss-client.jar;C:\jboss-3.0.0_tomcat-4.0.3\client\jnp-client.jar;C:\examples\COULD_NOT_FIND_SERVLET_JAR
      [echo] Using Source directory=C:\examples
      [echo] Using Build directory=C:\examples/build-examples

      intro-interest-client:

      compile:

      interest-client:
      [java] Got context
      [java] Got reference
      [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
      [java] at
      org.jboss.invocation.MarshalledValueInputStream.(Mars
      halledValueInputStream.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$(Marsh
      alledValueOutputStream.java:26)
      [java] at org.jboss.invocation.MarshalledValueOutputStream.(Mar
      shalledValueOutputStream.java:28)
      [java] at org.jboss.invocation.MarshalledValue.(MarshalledValue.j
      ava:47)
      [java] at org.jboss.invocation.MarshalledInvocation.writeExternal(Marsh
      alledInvocation.java:317)
      [java] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStre
      am.java:1262)
      [java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputSt
      ream.java:1243)
      [java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.ja
      va:1052)
      [java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
      a: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(Unkn
      own Source)
      [java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
      JRMPInvokerProxy.java:128)
      [java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterce
      ptor.java:108)
      [java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
      rceptor.java:73)
      [java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
      r.java:76)
      [java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.ja
      va:185)
      [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:7
      6)
      [java] at $Proxy0.create(Unknown Source)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.ja
      va:39)
      [java] Exception in thread "main"
      [java] Java Result: 1

      BUILD SUCCESSFUL

      Total time: 11 seconds

      Can anybody suggest what might be the problem
      Thanks in advance

      handy