Hello,

Some clients jar (found in JBOSS/client) are missing from your client
classpath.

modify your ant file to include them

Cheers,


            Sacha
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Eric Anderson
Envoyé : vendredi, 24 mai 2002 11:49
À : [EMAIL PROTECTED]
Objet : [JBoss-user] Interest example question


Hi,

I am currently evaluating JBoss to determine if it will fit the needs of our
development shop. I am attempting to get the Interest example from the
online-book up an running, but am running into issues.

I have compiled and deployed the interest bean, but am having problems
getting the test client to interact with it properly. It seems to connect to
the bean, but it seems to die when it tries to create the Interest object.
The following is the backtrace of the output when I run the client. If
anybody could point me in the right direction on how to fix this problem I
would greatly appreciate it.

[eman@apps 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/jbo
ss-j2ee.jar:/usr/local/jboss-3.0.0RC1_tomcat-4.0.3/client/jaas.jar:/usr/loca
l/jbos
s-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-c
lient.jar:/usr/local/tomcat/lib/servlet.jar
[echo] Using Source directory=/home/eman/examples
[echo] Using Build directory=/home/eman/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/l
ogging/Logger
[java] at org.jboss.invocation.MarshalledValueInputStream.<clinit>(Marsha
lledValueInputStream.java:25)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:115)
[java] at org.jboss.invocation.MarshalledValueOutputStream.class$(Marshal
ledValueOutputStream.java:23)
[java] at org.jboss.invocation.MarshalledValueOutputStream.<clinit>(Marsh
alledValueOutputStream.java:25)
[java] at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.jav
a:47)
[java] at org.jboss.invocation.MarshalledInvocation.writeExternal(Marshal
ledInvocation.java:317)
[java] at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java
:1167)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:
361)
[java] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:263)
[java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
[java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknow
n Source)
[java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JR
MPInvokerProxy.java:128)
[java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerIntercept
or.java:108)
[java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterc
eptor.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
:39)
[java] Java Result: 1

BUILD SUCCESSFUL

Total time: 2 seconds

Thanks,

Eric


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to