This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes NoClassFound: org/jboss/naming/Util using jboss-3.0.4 and tomcat-4.1.12 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "NoClassFound: org/jboss/naming/Util using jboss-3.0.4 and tomcat-4.1.12" Watch "NoClassFound: org/jboss/naming/Util using jboss-3.0.4 and tomcat-4.1.12" New topic
Author

NoClassFound: org/jboss/naming/Util using jboss-3.0.4 and tomcat-4.1.12

Sanmath Shetty
Greenhorn

Joined: Jan 26, 2003
Posts: 4
Hi Folks,
I am using jboss-3.0.4 with tomcat-4.1.12. I have an ear file which has an MDB in it. I pass the suppporting files.. but when I try to start the server.. I get :
23:56:28,997 INFO [RMIAdaptorService] Starting
23:56:29,028 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@9b1b9
79f{ url=file:/C:/JBoss/jboss-3.0.4/server/default/deploy/jmx-rmi-adaptor.sar/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/JBoss/jboss-3.0.4/server/default/deploy/jmx-rmi
-adaptor.sar/; - nested throwable: (java.lang.NoClassDefFoundError: org/jboss/naming/Util)
Can Anybody tell me as to what to problem?
Thanx in advance
Sunny
Sanmath Shetty
Greenhorn

Joined: Jan 26, 2003
Posts: 4
Hi Folks,
For ppl who have faced the same problem or are trying to answer the same... i have got the solution.
Soln: Just make sure that your CLASSPATH is properly specified. I had messed up with the classpath actually. Apart from the classpath provided in the run.bat, only specify your set of necessary jar(the system jars need not be specified.. and also there are some client jar files which shud only be provided when you server asks for it.. in the form of Class Not Found)
Take care.
Sunny
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassFound: org/jboss/naming/Util using jboss-3.0.4 and tomcat-4.1.12
 
Similar Threads
JBoss running ?
EJBAdaptorBean not found
xpetstore deployment in JBoss 3.2.3
not getting jmx console
JBOSS Help Needed