JBOSS 3.0 RC_Tomcat4.0.3 home.create( ) - problem running e
ivata Apr 25, 2002 12:36 PMI tried to run the interest example and ran into problems executing the client.
By adding system output, I found the error occurs on the
Interest interest = home.create();
line. The program output is below.
When I make a similar program using a JSP page, I get the an exception at the same point, though this time it is a class java.rmi.ServerException, "Container exception. Notify the container developers :-)".
Is this a configuration issue? Please help someone :-0
myhost:/usr/local/jboss/examples/build # ant intro-interest-client
Buildfile: build.xml
validate-servlet:
validate-jboss:
fail_if_not_valid:
init:
[echo] Using JBoss directory=/usr/local/jboss-3.0.0RC1_tomcat-4.0.3
[echo] Using base classpath=/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jboss-j2ee.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jaas.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jbosssx-client.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jboss-client.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jnp-client.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/examples/COULD_NOT_FIND_SERVLET_JAR
[echo] Using Source directory=/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/examples
[echo] Using Build directory=/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/examples/build-examples
intro-interest-client:
compile:
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.forName1(Native Method)
[java] at java.lang.Class.forName(Class.java:142)
[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:1229)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:383)
[java] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:281)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:119)
[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.interest.InterestClient.main(InterestClient.java:40)
[java] Java Result: 1