specify libraries class path in JBoss

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2007
Posts: 10
Reputation: ronpar123 is an unknown quantity at this point 
Solved Threads: 0
ronpar123 ronpar123 is offline Offline
Newbie Poster

specify libraries class path in JBoss

 
0
  #1
Feb 14th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: specify libraries class path in JBoss

 
0
  #2
Feb 14th, 2007
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 10
Reputation: ronpar123 is an unknown quantity at this point 
Solved Threads: 0
ronpar123 ronpar123 is offline Offline
Newbie Poster

Re: specify libraries class path in JBoss

 
0
  #3
Feb 15th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: specify libraries class path in JBoss

 
0
  #4
Feb 15th, 2007
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 10
Reputation: ronpar123 is an unknown quantity at this point 
Solved Threads: 0
ronpar123 ronpar123 is offline Offline
Newbie Poster

Re: specify libraries class path in JBoss

 
0
  #5
Feb 20th, 2007
Originally Posted by jwenting View Post
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..
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: specify libraries class path in JBoss

 
0
  #6
Feb 20th, 2007
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 6
Reputation: mbaierl is an unknown quantity at this point 
Solved Threads: 0
mbaierl mbaierl is offline Offline
Newbie Poster

Re: specify libraries class path in JBoss

 
0
  #7
Nov 17th, 2008
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?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: specify libraries class path in JBoss

 
0
  #8
Nov 18th, 2008
Originally Posted by mbaierl View Post
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 6
Reputation: mbaierl is an unknown quantity at this point 
Solved Threads: 0
mbaierl mbaierl is offline Offline
Newbie Poster

Re: specify libraries class path in JBoss

 
0
  #9
Nov 18th, 2008
Thanks for the warm welcome!
Above thread covers my issue perfectly, so why should I open a new thread?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: specify libraries class path in JBoss

 
0
  #10
Nov 18th, 2008
Originally Posted by mbaierl View Post
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC