aspose file tools
The moose likes JBoss and the fly likes EAR packaging problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "EAR packaging problem" Watch "EAR packaging problem" New topic
Author

EAR packaging problem

Nitin Gaur
Greenhorn

Joined: Sep 06, 2003
Posts: 27
Hi,
I ve moved out all JARs from WEB-INF\lib and places it in lib directory in EAR root.
In WAR/META-INF/MENIFEST.MF, I ve put class-path entries.
This is how it is supposed to be in standard way, right?
Ok, It works fine in WebLogic but it could not be deployed in Jboss (Jetty)
saying class not found.
It seems it is classloader problem and may be due to the fact that Jboss unpacks the WAR in temp directory while WebLogic doesn't.
Any thoughts and suggestions?
TIA
-Nitin


If you don't like something, change it. If you can't change it, change your attitude. Don't complain.
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 364
What version of JBoss are you on? I recall a bug like this in a past version of JBoss. You might try a newer version to see if it solves your problem.


[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
Nitin Gaur
Greenhorn

Joined: Sep 06, 2003
Posts: 27
I am using JBoss-3.0.6, should I try with JBoss-3.0.8 ?
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 364
I honestly don't know which versions do and don't have the bug. The bug report I saw was a 3.2.1/3.2.2 issue. Definitely true on the most recent
3.0 release. The worst that can happen is that you lose 15 minutes of your time for no benefit.
 
I agree. Here's the link: http://jrebel.com/download
 
subject: EAR packaging problem
 
Similar Threads
Struts doesn't workd in weblogic7.0,how can i do with the struts and ejb project
how to move the jar from the war web-inf directory?
JBoss class loading and reading .properties files
deploying to tomcat from ant
Error while referring tld files from jee app deployed on jboss 5