• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Need the procedure for creating and deploying EAR,WAR files in JBoss3.2.5 Server

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have installed JBoss3.2.5 Application Server.Just now I've started to use this Application server to deploy JSP,Servlet and EJB applications.
In that help they are using "ant" tool to deploy and run the applications from the command prompt.But i couldnt able to run that tool.Also i dont know how to create and deploy WAR and EAR fines using this Application server.Could you please help me out.
Muthu...
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the JBoss forum.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Muthu,
First of all, Ant is a really cool building tool. To install it, you'll need to go download it from apache's site. I think you need to add the bin directory to your path, and maybe set an environment variable to make it work.

You will know it works when you type "ant" at the commnd prompt, and it says "build.xml does not exist" or something like that.

Once and is installed, I'd recommend reading up a little on ant from that same site in the user manual. It's not too bad. Anyway, your build.xml should have targets in it that make your war and ear. That's the "create" part of your question.

For deploying with jboss, it's not that bad. After the ear/war is created, you can put that file into the deploy directory. If you didn't change anything about jboss, it will be here:
${wherever.jboss.is}/server/default/deploy.

Everything is hot-deployed, so if you're running jboss at the time, it will go ballistic with messages as it deploys. If you put a new version of the ear/war in there, it will undeploy the old one and deploy the new one. When it is done, it will tell you, and you should be able to start running the code.

The web server listens on port 8080 by default, so http://localhost:8080/ will be your starting point.


Welcome to jboss! Best of luck!!!

--Jeff
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Muthu!

I am using a tool called lomboz that does the deploying, starting and stopping the server, etc, for you.

It is easy to useand you should be able to find a download site and some instruction to install.

Having said that, if I could hot-deploy my WARs and EARs, I would switch to Ant. I have yet to learn the basics of Ant, though.

Regards,
tienshan
 
reply
    Bookmark Topic Watch Topic
  • New Topic