aspose file tools*
The moose likes JBoss/WildFly and the fly likes Deploying .war files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploying .war files" Watch "Deploying .war files" New topic
Author

Deploying .war files

Sloan Bowman
Ranch Hand

Joined: Jan 21, 2003
Posts: 107
I come from a Tomcat Background and I'm just now getting into J2EE Application servers for the scalability. When I created my non-J2EE web applications and place my packages inside of the /WEB-INF/lib directory JBoss does not seem so see them when I try to run the application. For example I'm trying to run AXIS applications or struts applications and it does not seem to see the path /WEB-INF/lib. Am I supossed to put these packages into a jar file and just place them into the /server/default/deploy directory or /server/default/lib etc. What am I missing here. Thanks for your help.
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
I normally put my war/ear files in /server/default/deploy with no problems. Are you putting it in this folder?
[ July 30, 2003: Message edited by: Andres Gonzalez ]

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Sloan Bowman
Ranch Hand

Joined: Jan 21, 2003
Posts: 107
thats correct I deploy all applications into the /server/default/deploy directory. Is there a special class path I need to setup or anything?
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
no. check your web.xml and also check any ouput on the console when you deploy the war file.
Dushyant Agarwal
Ranch Hand

Joined: Oct 14, 2007
Posts: 75
Hi,
I am facing a similar problem .
I am using JBoss 4.2.1GA where I am trying to deploy war files that
I had generated using Jidea6.0.2.

when i copy the JSF application war file generated by JIdea to /server/default/deploy -
to deploy the war file-
the server console gives an exception
suggesting a Deployment exception .

the same war file worked fine with Tomcat 5.5.7.

On the other hand a servlet's war file gets deployed perfectly.

waht special do I have to do to get JSF application working on JBoss??
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

Dushyant,

Let's continue your discussion in the other new thread that you (rightly) created.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying .war files