jQuery in Action, 2nd edition*
The moose likes JBoss/WildFly and the fly likes JBoss class path issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss class path issue" Watch "JBoss class path issue" New topic
Author

JBoss class path issue

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hello,

I have noticed that even though I include libraries (jar,zip etc) inside the EAR file (under WIB-INF\lib folder) JBoss application server is unable to find the classes inside those libraries. It will work if the copy the libraries into server\default\lib folder which is not a good practice. Any ideas why it happens ?

Thanks
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9321
    
109

Originally posted by Dilip kumar:


I have noticed that even though I include libraries (jar,zip etc) inside the EAR file (under WIB-INF\lib folder) JBoss application server is unable to find the classes inside those libraries.


Which version of JBoss do you use? Any jar file under WEB-INF/lib of an WAR (inside an EAR) will be available only to the WAR and not to the other components in the EAR. If you want that jar to be available to the entire EAR then you will have to place it in the lib folder of the EAR.
[ May 13, 2008: Message edited by: Jaikiran Pai ]

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss class path issue
 
Similar Threads
Problems with running JSF in Eclipse 3.1
NameNotFoundExcption
JBoss Error parsinf Struts-config.xml file...
JBoss 4.2 and MyFaces
Issue with jboss\lib\endorsed jar loading