[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-21 Thread chwang
Hi,

I have figured out. 
both application can't have the same .

Thank you!

chwang


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896144#3896144

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896144


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-20 Thread chwang
lafr,

Thank you. they are 2 different web applicaions. I changed the jboss-web.xml 
according to your suggestion.  one of them is like the following. But I got 2 
warns: ignore the set up. And the error is still there.

chwang

---



domain.biz:loader=pds.war

java2ParentDelegation=false



/
pds

  



 
--
17:08:53,145 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ignoring config=LoaderRepositoryConfig(repositoryName: 
domain.biz:loader=pds.war, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false)
17:08:55,498 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ignoring config=LoaderRepositoryConfig(repositoryName: 
domain.biz:loader=reportwriter.war, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false) 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895918#3895918

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895918


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-20 Thread chwang
lafr,

Thank you. they are 2 different web applicaions. I changed the jboss-web.xml 
according to your suggestion.  one of them is like the following. But I got 2 
warns: ignore the set up. And the error is still there.

chwang

---



domain.biz:loader=pds.war

java2ParentDelegation=false



  
/
pdsstudio

  



 
--
17:08:53,145 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ignoring config=LoaderRepositoryConfig(repositoryName: 
domain.biz:loader=pds.war, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false)
17:08:55,498 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ignoring config=LoaderRepositoryConfig(repositoryName: 
domain.biz:loader=reportwriter.war, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false) 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895915#3895915

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895915


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-20 Thread lafr
What do you mean by saying "but the content is the same" ?
Are is this identical war files ? Why do you put them together in one ear ?
To support two nearly identical wep-apps at the same time in one jboss instance 
you'll have to use a separate classloader for each.
This can be done by using this as you jboss-web.xml:
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>
  | 
  | 
  | 
  | domain.biz:[EMAIL PROTECTED]@.war
  | 
java2ParentDelegation=false
  | 
  | 
  | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895885#3895885

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895885


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-19 Thread chwang
Ant, 
Thank you for your reply.
I did,

But I still got the error after I started Jboss
-- 
17:50:00,976 INFO [WebappClassLoader] Illegal access: this web application 
instance has been stopped already. Could not load test.myapplcaion.runfilter. 
The eventual following stack trace is caused by an error thrown for debugging 
purposes as well as to attempt to terminate the thread which caused the illegal 
access, and has no functional impact. 

--- 

the interesting is after I changed UseJBossWebLoader attribuate from false 
(default) to true  in Jboss-service.xml  in  
server\default\deploy\jbossweb-tomcat55.sar\META-INF,  then started  Jboss 
again. this error is gone, looks perfect.  But only one war is loaded. What is 
worng? 

 
  true
 

 Thank you!

Chwang


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895709#3895709

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895709


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-19 Thread ant
You can package as many war files into an ear file as you want. Put for each 
war file a separate section

  |   
  | frontend_1.war
  | /root_1
  |   
  | 
  | 
into your META-INF/application.xml file.
I tested this succussfully.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895591#3895591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895591


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 2 wars can put into a ear file and deploy.

2005-09-15 Thread chwang
I wonder if 2 web applicaions confilct  on one port 8080.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894932#3894932

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894932


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user