aspose file tools*
The moose likes JBoss/WildFly and the fly likes deploying three web application with ctxPath=/ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "deploying three web application with ctxPath=/ " Watch "deploying three web application with ctxPath=/ " New topic
Author

deploying three web application with ctxPath=/

Abhi Kedare
Greenhorn

Joined: Dec 10, 2010
Posts: 9
Hi !
i want to deploy three web application ab, pq , ac with ctxPath=/ in myeclipse ide using one jboss application server(version 5.*)
please reply if you have solution
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

You can't deploy multiple applications to the same common context. Why do you want to do that?

[My Blog] [JavaRanch Journal]
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
You cannot deploy three different web applications to the same JVM process with "/" as the context root. You will not be able to access them. Context roots provide the mechanism to handle situations where multiple web apps run in same JVM.
Abhi Kedare
Greenhorn

Joined: Dec 10, 2010
Posts: 9
earlier those three project were combined in one project,
so many html form are submitted through java script without context
now they are divided according to their prospect
what i have done now is , I have created three servers in /jboss-5.0.1.GA/server/
sab, spq , sac
and i start them using following script
sh run.sh -b 192.168.2.40 -c sab -Djboss.service.binding.set="ports-01"(will add 100 to all allocated default ports)
sh run.sh -b 192.168.2.40 -c spq -Djboss.service.binding.set="ports-02"(will add 200)
sh run.sh -b 192.168.2.40 -c sac -Djboss.service.binding.set="ports-03"(will add 300)
now they are running fine
but configuring it in myeclipse 7.1 is very difficult
please tell me solution
thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying three web application with ctxPath=/