RE: [JBoss-user] problem with unwanted sharing object between web applications

2003-12-20 Thread Juha Lindfors


You can't isolate packages inside an EAR file, there's one classloader per
top-level deployment package.

You need to deploy two WAR files and specify different loader repositories
in jboss-web.xml

-- Juha


On Wed, 17 Dec 2003 [EMAIL PROTECTED] wrote:

 So, does anybody knows how to do it, or there is only way, use one ear for each
 one war?
 I thing it should be stupid, but, I do not see the way and not found something
 in doc.

 Jiri

 Cituji z emailu od [EMAIL PROTECTED]:

  Thanks,
  mailist arieve not works now, unfotunately.
  So I was look at JbossBook (version for 3.2.1) and I found some example:
  jboss-app
   loader-repositoryserver/test1:loader=test.ear/loader-repository
  /jboss-app
  for META-INF/jboss-app.xml
 
  but I need separate repository for each wars in ear, something as
  jboss-app
   loader-repositoryserver1/test:loader=test1.war/loader-repository
   loader-repositoryserver2/test:loader=test2.war/loader-repository
  /jboss-app
 
  but I cannot do it by this way, becouse dtd is loader-repository?
 
  How I can do it?
 
  Cituji z emailu od Yasuda, Hiroyuki [EMAIL PROTECTED]:
 
   Jiri,
  
   It is one of popular question regarding to UnifiedClassLoader.
   You need to change loader-repository tag .ear by .ear.
   Please check jboss_3_2.dtd
  
   Regards,
   Hiro.
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of=20
[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 7:46 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] problem with unwanted sharing object=20
between web applications
   =20
   =20
Hallo,
i have a few web aplikations (wars) which contains the same=20
files and classes in
same packages, with only diference in web.xml config file.=20
And I have problem with unwanted sharing object between this=20
applications.
For example, I have
   =20
some.ear
 -first.war=20
  -WEB-INF/classes/testpackage.Config
  -WEB-INF/web.xml with some servlet property named=20
database_schema with value
first, which is red and returned by Config class
 -second.war =20
=20
   =20
  -WEB-INF/classes/testpackage.Config
  -WEB-INF/web.xml with some servlet property named=20
database_schema with value
second
 =20
 But both objects, Config from first.war and second.war,=20
returns the same value
- second
=20
 Why? where is some configuration property which causes it?
=20
 I have JBoss 3.2.2 with Tomcat, I tried to use 3.2.3 version=20
with the same effect.
=20
 Thanks for help,
 Jiri
   =20
   =20
   =20
   =20
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign=20
up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell=20
to sys admin.
Click now! =
   http://ads.osdn.com/?ad_id=3D1278alloc_id=3D3371op=3Dclick
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
   =20
  
  
   ---
   This SF.net email is sponsored by: IBM Linux Tutorials.
   Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
   Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
   Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
 
 
 
 
 
  ---
  This SF.net email is sponsored by: IBM Linux Tutorials.
  Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
  Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 





 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user






---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from

[JBoss-user] problem with unwanted sharing object between web applications

2003-12-17 Thread konf
Hallo,
i have a few web aplikations (wars) which contains the same files and classes in
same packages, with only diference in web.xml config file. 
And I have problem with unwanted sharing object between this applications.
For example, I have

some.ear
 -first.war 
  -WEB-INF/classes/testpackage.Config
  -WEB-INF/web.xml with some servlet property named database_schema with value
first, which is red and returned by Config class
 -second.war   

  -WEB-INF/classes/testpackage.Config
  -WEB-INF/web.xml with some servlet property named database_schema with value
second
  
 But both objects, Config from first.war and second.war, returns the same value
- second
 
 Why? where is some configuration property which causes it?
 
 I have JBoss 3.2.2 with Tomcat, I tried to use 3.2.3 version with the same effect.
 
 Thanks for help,
 Jiri




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] problem with unwanted sharing object between web applications

2003-12-17 Thread Yasuda, Hiroyuki
Jiri,

It is one of popular question regarding to UnifiedClassLoader.
You need to change loader-repository tag .ear by .ear.
Please check jboss_3_2.dtd

Regards,
Hiro.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Behalf Of 
 [EMAIL PROTECTED]
 Sent: Wednesday, December 17, 2003 7:46 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] problem with unwanted sharing object 
 between web applications
 
 
 Hallo,
 i have a few web aplikations (wars) which contains the same 
 files and classes in
 same packages, with only diference in web.xml config file. 
 And I have problem with unwanted sharing object between this 
 applications.
 For example, I have
 
 some.ear
  -first.war 
   -WEB-INF/classes/testpackage.Config
   -WEB-INF/web.xml with some servlet property named 
 database_schema with value
 first, which is red and returned by Config class
  -second.war  
  
 
   -WEB-INF/classes/testpackage.Config
   -WEB-INF/web.xml with some servlet property named 
 database_schema with value
 second
   
  But both objects, Config from first.war and second.war, 
 returns the same value
 - second
  
  Why? where is some configuration property which causes it?
  
  I have JBoss 3.2.2 with Tomcat, I tried to use 3.2.3 version 
 with the same effect.
  
  Thanks for help,
  Jiri
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign 
 up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell 
 to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] problem with unwanted sharing object between web applications

2003-12-17 Thread konf
Thanks,
mailist arieve not works now, unfotunately.
So I was look at JbossBook (version for 3.2.1) and I found some example:
jboss-app
 loader-repositoryserver/test1:loader=test.ear/loader-repository
/jboss-app
for META-INF/jboss-app.xml

but I need separate repository for each wars in ear, something as 
jboss-app
 loader-repositoryserver1/test:loader=test1.war/loader-repository
 loader-repositoryserver2/test:loader=test2.war/loader-repository
/jboss-app

but I cannot do it by this way, becouse dtd is loader-repository?

How I can do it?

Cituji z emailu od Yasuda, Hiroyuki [EMAIL PROTECTED]:

 Jiri,
 
 It is one of popular question regarding to UnifiedClassLoader.
 You need to change loader-repository tag .ear by .ear.
 Please check jboss_3_2.dtd
 
 Regards,
 Hiro.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of=20
  [EMAIL PROTECTED]
  Sent: Wednesday, December 17, 2003 7:46 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] problem with unwanted sharing object=20
  between web applications
 =20
 =20
  Hallo,
  i have a few web aplikations (wars) which contains the same=20
  files and classes in
  same packages, with only diference in web.xml config file.=20
  And I have problem with unwanted sharing object between this=20
  applications.
  For example, I have
 =20
  some.ear
   -first.war=20
-WEB-INF/classes/testpackage.Config
-WEB-INF/web.xml with some servlet property named=20
  database_schema with value
  first, which is red and returned by Config class
   -second.war =20
  =20
 =20
-WEB-INF/classes/testpackage.Config
-WEB-INF/web.xml with some servlet property named=20
  database_schema with value
  second
   =20
   But both objects, Config from first.war and second.war,=20
  returns the same value
  - second
  =20
   Why? where is some configuration property which causes it?
  =20
   I have JBoss 3.2.2 with Tomcat, I tried to use 3.2.3 version=20
  with the same effect.
  =20
   Thanks for help,
   Jiri
 =20
 =20
 =20
 =20
  ---
  This SF.net email is sponsored by: IBM Linux Tutorials.
  Become an expert in LINUX or just sharpen your skills.  Sign=20
  up for IBM's
  Free Linux Tutorials.  Learn everything from the bash shell=20
  to sys admin.
  Click now! =
 http://ads.osdn.com/?ad_id=3D1278alloc_id=3D3371op=3Dclick
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 =20
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] problem with unwanted sharing object between web applications

2003-12-17 Thread konf
So, does anybody knows how to do it, or there is only way, use one ear for each
one war? 
I thing it should be stupid, but, I do not see the way and not found something
in doc.

Jiri

Cituji z emailu od [EMAIL PROTECTED]:

 Thanks,
 mailist arieve not works now, unfotunately.
 So I was look at JbossBook (version for 3.2.1) and I found some example:
 jboss-app
  loader-repositoryserver/test1:loader=test.ear/loader-repository
 /jboss-app
 for META-INF/jboss-app.xml
 
 but I need separate repository for each wars in ear, something as 
 jboss-app
  loader-repositoryserver1/test:loader=test1.war/loader-repository
  loader-repositoryserver2/test:loader=test2.war/loader-repository
 /jboss-app
 
 but I cannot do it by this way, becouse dtd is loader-repository?
 
 How I can do it?
 
 Cituji z emailu od Yasuda, Hiroyuki [EMAIL PROTECTED]:
 
  Jiri,
  
  It is one of popular question regarding to UnifiedClassLoader.
  You need to change loader-repository tag .ear by .ear.
  Please check jboss_3_2.dtd
  
  Regards,
  Hiro.
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of=20
   [EMAIL PROTECTED]
   Sent: Wednesday, December 17, 2003 7:46 PM
   To: [EMAIL PROTECTED]
   Subject: [JBoss-user] problem with unwanted sharing object=20
   between web applications
  =20
  =20
   Hallo,
   i have a few web aplikations (wars) which contains the same=20
   files and classes in
   same packages, with only diference in web.xml config file.=20
   And I have problem with unwanted sharing object between this=20
   applications.
   For example, I have
  =20
   some.ear
-first.war=20
 -WEB-INF/classes/testpackage.Config
 -WEB-INF/web.xml with some servlet property named=20
   database_schema with value
   first, which is red and returned by Config class
-second.war =20
   =20
  =20
 -WEB-INF/classes/testpackage.Config
 -WEB-INF/web.xml with some servlet property named=20
   database_schema with value
   second
=20
But both objects, Config from first.war and second.war,=20
   returns the same value
   - second
   =20
Why? where is some configuration property which causes it?
   =20
I have JBoss 3.2.2 with Tomcat, I tried to use 3.2.3 version=20
   with the same effect.
   =20
Thanks for help,
Jiri
  =20
  =20
  =20
  =20
   ---
   This SF.net email is sponsored by: IBM Linux Tutorials.
   Become an expert in LINUX or just sharpen your skills.  Sign=20
   up for IBM's
   Free Linux Tutorials.  Learn everything from the bash shell=20
   to sys admin.
   Click now! =
  http://ads.osdn.com/?ad_id=3D1278alloc_id=3D3371op=3Dclick
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  =20
  
  
  ---
  This SF.net email is sponsored by: IBM Linux Tutorials.
  Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
  Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
 
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user