I am new in JBoss and trying to run the "Hello World" example in the Dokument. The mbean is deployed in the server. I use the J2EE 1.3 SDK command to run the client, and always get an error.
C:\Liang\Probe_JBoss\dist\JClient>java -Djms.properties=C:\j2sdkee1.3\config\jms _client.properties -classpath /liang/Probe_JBoss/dist/JClient/ Main testTopic
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/Session
My classpath is:
C:\>set classpath
classpath=C:\JBuilder4\jdk1.3\lib\tools.jar;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;
C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\WINNT\java\classes;C:\j2sdkee1.3\lib\j2ee.j
ar;C:\j2sdkee1.3\lib\locale;C:\JBoss\JBoss-2.2.1\lib\ext\ejb2.0.jar;C:\JBoss\JBo
ss-2.2.1\client\jbossmq-client.jar;C:\JBoss\JBoss-2.2.1\lib\ext\jms.jar;C:\JBoss
\JBoss-2.2.1\client\jnp-client.jar;C:\JBoss\JBoss-2.2.1\client\jta-spec1_0_1.jar
;C:\JBoss\JBoss-2.2.1\client\jboss-client.jar;C:\JBoss\JBoss-2.2.1\client\jaas.j
ar;C:\JBoss\JBoss-2.2.1\client\jbosssx-client.jar;C:\JBoss\JBoss-2.2.1\lib\ext\j
boss.jar
Can anyone help?
Thanks in advance!
Yongzheng
