Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

URGENT -> Having problem with JMS Exceptions.

843830Feb 20 2008 — edited Feb 20 2008
Hi,

Previously I worked with older versions of JBOSS AS, and I did not have any problem in running my JMS applications. I installed the new JBOSS AS 4.2.2.GA, and followed the installation step by step as explained in the documentations. I created same queues and connection factory, but I still get either of these errors:

1)Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/Destination

2)Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/JMSException

I noticed that it might be because of the JMS libraries which are not properly set in the CLASSPATH, but I checked, and it's fine and the same as before without any change.

The only thing which I think might be problematic is I am linking my "J2EE_HOME" to a j2ee.jar file in Sun Application Server folder. It was the same before working without any problem, but do you think it might be because of that ?

Any suggestion or idea?

Regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2008
Added on Feb 20 2008
2 comments
1,251 views