This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Can we  deploy two struts2 applications in same app server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can we  deploy two struts2 applications in same app server?" Watch "Can we  deploy two struts2 applications in same app server?" New topic
Author

Can we deploy two struts2 applications in same app server?

Priyanka Amaram
Greenhorn

Joined: Feb 21, 2013
Posts: 1
Is there any bug in struts2, which does not allow you to deploy two struts2 applications in same app server?
I have an application in struts2 that is configured in eclipse and it is running fine.

SEVERE: Exception starting filter struts2
Unable to load configuration. - [unknown location]
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:449)

Now i want to deploy that application with different name, So I have created new web application and deployed to server.

Now I see that exception on eclipse console..
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

Priyanka Amaram wrote:Is there any bug in struts2, which does not allow you to deploy two struts2 applications in same app server?


No. Can you give us some more information about your configuration? It sounds like you are deploying directly from Eclipse?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we deploy two struts2 applications in same app server?