This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes JBoss and multiple applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss and multiple applications" Watch "JBoss and multiple applications" New topic
Author

JBoss and multiple applications

Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Hello All,

I need to deploy multiple J2EE applications onto JBoss. I'm not sure which one is the best option.

Deploying all applications under one folder "jboss4.0\server\default\deploy"
or
Creating separate folder for each application "jboss4.0\server\APP1\deploy", "jboss4.0\server\APP2\deploy", "jboss4.0\server\APP3\deploy" etc.

Really appreciate any suggestions.

Thanks much.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

It depends, but if you make any new folders not directly inside your deploy directory will require you to change the jboss-service.xml and the DeploymentScanner MBean to include those directories.

if you want you developers to deploy but don't want them to have access to the JBoss directories you can create a URL, WebDav, Network share folder and point the DeploymentScanner to those locations. Check out the comments in the jboss-service.xml right above the DeploymentScanner settings. It most likely will be the last MBean declared in your jboss-service.xml

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss and multiple applications
 
Similar Threads
Configuring Sun One Web Server 6.1 and 7.0
Best packaging and deployment strategy for web applications
deploy Jboss must to create an application directory?
write jboss service to perform a task at startup.
Jboss deployer.jar not found ?