Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes where to put my application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "where to put my application?" Watch "where to put my application?" New topic
Author

where to put my application?

Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
I've always used tomcat to develop and now I have to work with jboss. I would like to know where do I place the folder containing my application under jboss. For example, with tomcat I place the folder with the application under webapps folder. Is there a similar folder in jboss???
Darryl A. J. Staflund
Ranch Hand

Joined: Oct 06, 2002
Posts: 303
Hi there,
Deploy your applications in the following :
<jboss_root>/server/<server_instance>/deploy
For example, if JBoss was installed in C:\jboss-3.2.1 and you wanted your application to run under the 'default' server, then deploy your application to the following directory:
c:\jboss-3.2.1\server\default\deploy
Your applications can take the form of WAR files, EAR files, SAR files, or directories (as long as the appropriate configuration files are included in the right places in the directories and have the '.war', '.ear', or '.sar' extension.)
For instance, if you take a look at the contents of the 'default\deploy' directory for JBoss 3.2.1, you will see:
1. uuid-key-generator.sar
==========================
This is a service used to generate primary keys for your EJBs.
2. jmx-console.war
===================
This is a directory containing the JMX console applications.
Hope this is helpful.
Darryl
Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
Thank you really, really.. but i still have problems. I've just taken the folder that contais my application and placed it under <jboss_root>/server/<server_instance>/deploy I know that there might be some kind of file I have to create to configure my application. Could you please tel me where can I find this help?
thanks in advance!
Darryl A. J. Staflund
Ranch Hand

Joined: Oct 06, 2002
Posts: 303
Hi there,
Best bet would be to go to jboss.org and download the free quick introduction guide or purchase the administration guide ($10).
Darryl
Sloan Bowman
Ranch Hand

Joined: Jan 21, 2003
Posts: 107
I am relatively new to JBoss but can help you on this one. When you deploy an application in the deploy directory you should be able to access it by typing http://hostname:8080/deployedApp. You can specify virtual host information in the jboss-web.xml file in your WEB-INF directory if you wish. Hope this helps.
*This assums you are running the JBoss+tomcat bundle
 
Don't get me started about those stupid light bulbs.
 
subject: where to put my application?
 
Similar Threads
Deployment in JBoss
JBoss 4.2.3 Resource Folder Configuration
Where to cofigure AOP in Jboss 4.05
JBoss Context
Application folder outside JBoss