aspose file tools*
The moose likes Struts and the fly likes Deploy struts app on JBOSS 4.0.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Deploy struts app on JBOSS 4.0.1" Watch "Deploy struts app on JBOSS 4.0.1" New topic
Author

Deploy struts app on JBOSS 4.0.1

Ashima Sood
Greenhorn

Joined: Oct 06, 2004
Posts: 3
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

Joined: Sep 06, 2005
Posts: 60
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

Joined: Oct 06, 2004
Posts: 3
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

Joined: Sep 06, 2005
Posts: 60
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.
 
wood burning stoves
 
subject: Deploy struts app on JBOSS 4.0.1
 
Similar Threads
Castor ClassLoading Question
MySql, JBoss error: NPE @ org.jboss.mx.loading.loadmgr3 .beginloadtask
error while invoking jndi list in jmx - console
Unable to load a .properties file
Error while migrating from SUN One to JBOSS