Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying three web application with ctxPath=/

 
Abhi Kedare
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't deploy multiple applications to the same common context. Why do you want to do that?
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic