aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes A lot of problems with a simple JMS example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "A lot of problems with a simple JMS example" Watch "A lot of problems with a simple JMS example" New topic
Author

A lot of problems with a simple JMS example

Yonatan Cill
Greenhorn

Joined: Feb 15, 2003
Posts: 2
Hello!
I�m a working with JMS Tutorial of Jms.(J2EE 1.3.1). I follow all the steps of the tutorial, and when i write
"java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3"
The console shows me the following error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Files\s1studio\ee\j2s
dkee1/3/1\config\jms_client/properties"
I don�t know hot to fix this error. The classpath, and all the variables are correctily defined. I use XP o.s., jdkse 1.4 and j2see 1.3.1, and i repeat, i follow the steps of the tutorial. Could anyone help me?
Many Thanks.
Note: Sorry for my poor English.
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
What have you set your JAVA_HOME, J2EE_HOME and CLASSPATH variables to? Perhaps Java is having problems with spaces (e.g. Program Files)?
Simon
Yonatan Cill
Greenhorn

Joined: Feb 15, 2003
Posts: 2
Thank you, it�s been helpfull. J2ee variables had problems with spaces. I have installed again j2ee in another directory and works.
Grettings from Spain.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A lot of problems with a simple JMS example