This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes EAR packaging problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
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: 367
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.
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: 367
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://aspose.com/file-tools
 
subject: EAR packaging problem
 
Similar Threads
Struts doesn't workd in weblogic7.0,how can i do with the struts and ejb project
deploying to tomcat from ant
JBoss class loading and reading .properties files
Error while referring tld files from jee app deployed on jboss 5
how to move the jar from the war web-inf directory?