• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Newbie question - how to deploy application to JBoss

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Eclipse, can I just use the file -> export to generate WAR file for deployment? Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic