I am using JBoss as my app server. My application using almost 100 jars (libraraies).So How can I specify class path for all the libraries jar's because its not possible to define individually in JBoss_CLASSPATH .Can I define xml for the classpath but I don't know how JBoss detect or read the code of that xml file.
Anybody have little idea..pleas HELP
ronpar123
0
Newbie Poster
Recommended Answers
Jump to PostPackage your enterprise application as an ear file, with the jars in the required directory structure, and it's all taken care of.
Do NOT put everything in the app server's lib directory.
Jump to PostHow are you going to use those classes if you don't have them?
And to have them they have to be in the ear.
Jump to PostI feared as much. That is NOT the way to go about it.
NEVER do that, classes specified there are ONLY for use by JBoss itself, NOT intended for use by applications running inside JBoss.
Those should have their own jars inside their ear files.
Jump to PostIt is not.
I want *my* application to read some files from the classpath which are, for a reason, NOT in the EAR file.
That's why I don't want to access the JBOSS classpath but have a new entry in my applications classpath.*sigh*
YOUR question may not have been …
All 16 Replies
jwenting
1,889
duckman
Team Colleague
ronpar123
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
ronpar123
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
mbaierl
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
mbaierl
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
mbaierl
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
mbaierl
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
mbaierl
0
Newbie Poster
oneansweruser
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.