Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Newbie question - how to deploy application to JBoss

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a newbie in programming.

I create a Enterprise Application Project in Eclipse and has selected JBoss v5.0 as the target runtime. I has also setup JBoss 5.1.0. But when I click the "run" icon, after a while, a windows saying that "Server JBoss v5.0 ... was unable to start within 50 seconds ...". But if I start JBoss first, then click "run" and selected JBoss, the message "... Server port In Use 8080-Http" appears.

What is the correct procedures in deploying Eclipse application to JBoss? Thanks a lot.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "correct procedure in deploying" is to manually copy the WAR or EAR file to the server/xxx/deploy directory.

In Eclipse, you will want to make certain that the EAR or WAR project is associated with the server. To do this, in the Server View, right-click on the server and select Add and Remove. In the Add and Remove dialog box, select your project in the Available list and click Add to move it to the Configured list and then click Finish. Then you might also have to right-click on the server and select Publish. You can do the above steps with the server running or stopped. If the server is running, so is your app.
 
Simon Yue
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Eclipse, can I just use the file -> export to generate WAR file for deployment? Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!