• 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

moved from jboss-4.0.3 to jboss-5.1.0 where do I put my war files

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In JBoss-4.03 it was easy to deploy a war file

All you did was drop it into C:\jboss\server\default\deploy\jboss-web.deployer

looked at jboss-5.1.0

C:\jboss-5.1.0\server\default\deployers\jbossweb.deployer dropped my war file in there falls over
 
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
WAR files always went into the "deploy" directory (C:\jboss\server\default\deploy\ or C:\jboss-5.1.0\server\default\deploy on your PC). I'm not sure why you placed anything in jboss-web.deployer.
 
Mark Tobin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks again Peter lol I put it in jboss-web.deployer because it was called jboss-web.deployer and I thought that was where you put the war files.
I only started using Jboss this week. And are JBoss guy is on holiday we always before deployer ears but this time I need to deploy a war file.

I am a spring tomcat guy.

Thanks again, that may solve a number of other problems.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mark Tobin wrote:Thanks again Peter lol I put it in jboss-web.deployer because it was called jboss-web.deployer and I thought that was where you put the war files.



The jboss-web.deployer folder containers the deployers which are responsible for deploying .war files. So like Peter said, you shouldn't be changing or adding anything in there (unless you want to configure the deployer).
 
Mark Tobin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I put my war file in C:\jboss-5.1.0\server\default\deploy as suggested started Jboss and got a exception

org.jboss.deployers.spi.DeploymentException: Error creating managed object for v
fszip:/C:/jboss-5.1.0/server/default/deploy/provisioning.war/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

Full Exception



Caused by



I was able to deply this war file to JBoss-4.0.3 I am only upgrading since JBoss-4.0.3 does not seem to handle annotations @Resource and I was told 5.1.0 will.
 
Mark Tobin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry posted the exception twice the caused by is

 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post the contents of your web.xml? At this point, I am mainly interested in its xsd/dtd declaration.
 
Mark Tobin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my web.xml

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic