Your suggestion is timely.  I develop on a Windows NT platform, but we will eventually deploy on a Sun Solaris platform.  In preparation for that, I took my simplest test program and uploaded it to Solaris.  On NT, this test program needed only
 
ejb.jar
jnp-client.jar
 
By trial and error <gr>, running this exact same program on Solaris required
 
ejb.jar
jnp-client.jar
jboss-client.jar
jta-spec1_0_1.jar
jbosssx-client.jar
 
How is it possible that running the exact same program requires such a drastically different set of jars on the two platforms?  For both, I specify an explicit -classpath.
----- Original Message -----
To: JBOSS
Sent: Friday, May 04, 2001 7:10 PM
Subject: Re: [JBoss-user] Interest Example, NoClassDefFoundError

Hi,
    My response was based on the simple fact that the class you are looking for is in that jar :) Make sure that your client has all the jars under JBOSS_HOME/client to avoid trial and error! Of course, if you want to really make sure that you're client loads *only* required jars just be aware of where the used libraries reside.
 
Vinay

----- Original Message -----
From: Guy Rouillier
Sent: Saturday, May 05, 2001 12:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Interest Example, NoClassDefFoundError

Hmm, this is interesting.  Someone else responding to this same question said to include jboss-client.jar.  And when I ran the interest client, I didn't include either one, but instead include client/ejb.jar and client/jnp-client.jar!!
 
Do the docs say anywhere what we should be including?  I'm surprised that 3 different solutions would all work.
----- Original Message -----
To: JBOSS
Sent: Friday, May 04, 2001 4:16 PM
Subject: Re: [JBoss-user] Interest Example, NoClassDefFoundError

Please include jbosssx-client.jar in your classpath.
 
Vinay

----- Original Message -----
From: Boon Yeo
Sent: Friday, May 04, 2001 6:06 PM
Subject: [JBoss-user] Interest Example, NoClassDefFoundError

Hello folks,

Anybody knows why I am getting this error below?

[root@unicorn interest]# java -classpath $CLASSPATH:\
> /usr/java/jboss-2.2.1/lib/ext/ejb.jar:\
> /usr/java/jboss-2.2.1/client/jboss-client.jar \
> InterestClient
Got context
Got reference
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/security/SecurityAssociation
        at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericProxy
.java:184)
        at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:231)
        at $Proxy0.create(Unknown Source)
        at InterestClient.main(InterestClient.java:50)

Regards,
-Boon



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



Get your FREE download of MSN Explorer at http://explorer.msn.com




Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to