File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy struts app on JBOSS 4.0.1

 
Ashima Sood
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one guide me on how to deploy a struts application on JBOSS 4.0.1?
Please list the steps. I want to run the struts-example.war (struts 1.1)using JBOSS app serv.

Thanks
Ashima
 
Ergin Er
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to do anything special. If you just copy and paste your .war file into JBoss server instance that you're running, JBoss will automatically extract and deploy it for you.
 
Ashima Sood
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could u please let me know in what folder under the JBoss-4.0.1 installation folder i need to copy the .war?
What do you intend to say by "JBoss server instance that you're running" ?
Pls clarify.
Thanks
 
Ergin Er
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I'm not mistaken JBoss contains a server folder. In that folder there are several preconfigured servers (you see them as folders). There is an "all" server for example. Inside the configured server folder there should be a map called "deploy" you could paste it there.
So this should be the path:
<JBoss>/servers/<preconfigured server/deploy

you can run the preconfigured server from the command prompt:
run -all

I don't have JBoss installed right now, so I can't give you more detailed info. But I hope you get the idea on how it works.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic