Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to put my application?

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 310
2
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 310
2
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic