Re: [JBoss-user] classpath order in jboss-service.xml

2003-01-22 Thread Scott M Stark
jars are added in the order of the classpath declarations.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message - 
From: Muruga Chinnananchi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 3:04 PM
Subject: [JBoss-user] classpath order in jboss-service.xml


 Hi,
 
 i have the following configuration in my
 jboss-service.xml. for loading MyClass.class.
 
 classpath codebase=file:/C:/classes /
 classpath codebase=file:/C:/lib/
 archives=myapp.jar/
 
 MyClass.class is present in myapp.jar as well as
 c:/class/ directory. when i instantiate the MyClass
 which MyClass version will get loaded? My question,
 How do i specify the classpath order in jboss? I want
 to load the c:/classes version of MyClass instead of
 lib/myapp.jar version.
 
 How do i do it in JBoss 3.2?
 
 Thanks for your help.
 
 thanks,
 
 -muruga
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 
 ---
 This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
 are you planning your Web Server Security? Click here to get a FREE
 Thawte SSL guide and find the answers to all your  SSL security issues.
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] classpath order in jboss-service.xml

2003-01-20 Thread Muruga Chinnananchi
Hi,

i have the following configuration in my
jboss-service.xml. for loading MyClass.class.

classpath codebase=file:/C:/classes /
classpath codebase=file:/C:/lib/
archives=myapp.jar/

MyClass.class is present in myapp.jar as well as
c:/class/ directory. when i instantiate the MyClass
which MyClass version will get loaded? My question,
How do i specify the classpath order in jboss? I want
to load the c:/classes version of MyClass instead of
lib/myapp.jar version.

How do i do it in JBoss 3.2?

Thanks for your help.

thanks,

-muruga

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] classpath order in jboss-service.xml

2003-01-20 Thread Marco Tedone
Based on the 2.3 Servlet Specification, the web application class loader
must load classes first from the WEB-INF/classes directory, then from
library JARs located in the WEB-INF/lib directory

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Muruga
Chinnananchi
Sent: Monday, January 20, 2003 11:05 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] classpath order in jboss-service.xml


Hi,

i have the following configuration in my
jboss-service.xml. for loading MyClass.class.

classpath codebase=file:/C:/classes /
classpath codebase=file:/C:/lib/
archives=myapp.jar/

MyClass.class is present in myapp.jar as well as
c:/class/ directory. when i instantiate the MyClass
which MyClass version will get loaded? My question,
How do i specify the classpath order in jboss? I want
to load the c:/classes version of MyClass instead of lib/myapp.jar version.

How do i do it in JBoss 3.2?

Thanks for your help.

thanks,

-muruga

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte are you
planning your Web Server Security? Click here to get a FREE Thawte SSL guide
and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Classpath Order

2001-06-22 Thread mlindsey



I want a class in my ejb-jar file to override/replace a class in
lib/ext/some.jar. Every time I access my bean it's picking up the class in
some.jar *not* the one in my ejb-jar. How do I control the load order?

Mark Lindsey



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Classpath Order

2001-06-22 Thread Scott M Stark

You can't and that is by design. If the class is in the server's classpath
that's the one that has to be used. You have to have control of the
server classpath to change the class.

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 22, 2001 1:01 PM
Subject: [JBoss-user] Classpath Order


 
 
 I want a class in my ejb-jar file to override/replace a class in
 lib/ext/some.jar. Every time I access my bean it's picking up the class in
 some.jar *not* the one in my ejb-jar. How do I control the load order?
 
 Mark Lindsey
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user
 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user