944,158 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 15006
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Feb 14th, 2007
0

specify libraries class path in JBoss

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ronpar123 is offline Offline
10 posts
since Feb 2007
Feb 14th, 2007
0

Re: specify libraries class path in JBoss

Package 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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Feb 15th, 2007
0

Re: specify libraries class path in JBoss

Hey..I got your point. But I don't want to deploy my (libraries) jars with my ear.
I just want to use classess from the jars.

Anyways thanks for your reply.
Last edited by ronpar123; Feb 15th, 2007 at 1:03 am. Reason: none
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ronpar123 is offline Offline
10 posts
since Feb 2007
Feb 15th, 2007
0

Re: specify libraries class path in JBoss

How are you going to use those classes if you don't have them?
And to have them they have to be in the ear.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Feb 20th, 2007
0

Re: specify libraries class path in JBoss

Click to Expand / Collapse  Quote originally posted by jwenting ...
How are you going to use those classes if you don't have them?
And to have them they have to be in the ear.
I can specify classpath for all the jars in run.bat. So it is not necessary to be a part of ear..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ronpar123 is offline Offline
10 posts
since Feb 2007
Feb 20th, 2007
0

Re: specify libraries class path in JBoss

I 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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Nov 17th, 2008
0

Re: specify libraries class path in JBoss

How can I modify the classpath for an individual application? There are reasons for not including all files in the EAR file itself, so how can it be done?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mbaierl is offline Offline
6 posts
since Nov 2008
Nov 18th, 2008
0

Re: specify libraries class path in JBoss

Click to Expand / Collapse  Quote originally posted by mbaierl ...
How can I modify the classpath for an individual application? There are reasons for not including all files in the EAR file itself, so how can it be done?
being rational minded enough to create a new thread with your question instead of re-opening one that hasn't been open in over a year would be a nice start.
Reputation Points: 938
Solved Threads: 357
Posting Maven
stultuske is offline Offline
2,528 posts
since Jan 2007
Nov 18th, 2008
0

Re: specify libraries class path in JBoss

Thanks for the warm welcome!
Above thread covers my issue perfectly, so why should I open a new thread?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mbaierl is offline Offline
6 posts
since Nov 2008
Nov 18th, 2008
0

Re: specify libraries class path in JBoss

Click to Expand / Collapse  Quote originally posted by mbaierl ...
Thanks for the warm welcome!
Above thread covers my issue perfectly, so why should I open a new thread?
if it covers your issue perfectly, there's no need to reopen it, since either the answer is in there, or either no-one answered (maybe for a reason)

if it does not cover your issue perfectly, it's always better to start a new thread.

so, my advice, if it covers it perfectly, read the answers already given.
Reputation Points: 938
Solved Threads: 357
Posting Maven
stultuske is offline Offline
2,528 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: pass by reference or pass by value
Next Thread in Java Forum Timeline: NEED HELP. Data storage problem.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC