aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes multiple war files in single ear with different context roots Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "multiple war files in single ear with different context roots" Watch "multiple war files in single ear with different context roots" New topic
Author

multiple war files in single ear with different context roots

Ren Sha
Greenhorn

Joined: Mar 08, 2012
Posts: 9
I have one ear file and two war files application.xml file is configured like


when i'm deploying it in local weblogic server it's working fine, but when i deployed it in the server, first.war is working fine but second.war is not. when i tried to access some pages from second.war file like

"http://host:port/second/somepage.html"

, i'm getting Error 404-Object Not Found Exception.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Did you check weblogic log files ? There may have been some errors during deployment.


[My Blog]
All roads lead to JavaRanch
Ren Sha
Greenhorn

Joined: Mar 08, 2012
Posts: 9
Christophe Verré wrote:Did you check weblogic log files ? There may have been some errors during deployment.


yep, i havent seen any error in weblogic log file,

<Nov 8, 2012 2:46:13 PM EST> <Info> <Deployer> <BEA-149059> <Module /first of application trial is transitioning from STATE_ADMIN to STATE_ACTIVE on server .>
<Nov 8, 2012 2:46:13 PM EST> <Info> <Deployer> <BEA-149060> <Module /first of application trial successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server.>
<Nov 8, 2012 2:46:13 PM EST> <Info> <Deployer> <BEA-149059> <Module /second of application trial is transitioning from STATE_ADMIN to STATE_ACTIVE on server .>
<Nov 8, 2012 2:46:13 PM EST> <Info> <Deployer> <BEA-149060> <Module /second of application trial successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server .>
 
 
subject: multiple war files in single ear with different context roots