-
1. Re: .war will not deploy when I drop it into the deploy folder
wolfgangknauf Feb 15, 2010 8:08 AM (in response to iamcootis)Hi,
JBoss will autodeploy any file you drop in the deploy folder.
Maybe, there are deployment errors. Check console output and "server.log".
You probably didn't change any config (I think there are options to switch off deployment directory scanning)?
If this does not help, then please provide more details about your WAR file.
Best regards
Wolfgang
-
2. Re: .war will not deploy when I drop it into the deploy folder
peterj Feb 15, 2010 10:13 AM (in response to iamcootis)Exactly where are you placing the WAR file? And which server config are you running (are you using the -c option)? Have you changed any settings? Finally, I assume that your WAR contains a WEB-INF/web.xml file. -
3. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 15, 2010 11:16 AM (in response to peterj)Yes, my file does contain a web/inf file. I'm placing the file in the correct directory as I've worked with this AS before. Also, I'm already tailing the log and it doesn't do anything when I drop in the .war. It used to at least let me know when there were errors. I didn't change anything with the config. I'm running 5.0. -
4. Re: .war will not deploy when I drop it into the deploy folder
peterj Feb 15, 2010 11:28 AM (in response to iamcootis)JBoss AS 5.1.0 autodeploys WARs, just like earlier versions did. If nothing shows up in the log, you are either placing the file in the wrong location, or the configuration has been changed to turn off, or deploy, hot deployment.
"my file does contain a web/inf file."
That is not what I asked. I asked specifically about web.xml.
"I'm placing the file in the correct directory"Unfortunately, statements like this do not help because they give no information. If you were in the cubicle next to me, I could come and see exactly what you did, in which case I would ask you to show me exactly where you placed the file, and I would look at your run statement to start the app server, and I would check on the exact version for JBoss AS (you are not by any chance running JBoss EAP 5???). However, I cannot come to your cubicle so I need you to provide me with specific answers. And somewhere along the line we will stumble across what went wrong, because like I said earlier, this should have worked (e.g., the WAR should have deployed).
-
5. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 15, 2010 11:48 AM (in response to peterj)Yes, it does have a web.xml file.
And it is being placed in this directory: jboss-5.1.0.GA\server\all\deploy
-
6. Re: .war will not deploy when I drop it into the deploy folder
peterj Feb 15, 2010 11:52 AM (in response to iamcootis)How are you starting the app server? -
7. Re: .war will not deploy when I drop it into the deploy folder
rbrtfreund Feb 15, 2010 11:53 AM (in response to iamcootis)An obvious one. but are you using config ALL or are you using DEFAULT. If it's not showing in the logs it could be your running on an alternate config.
just a thought.
-
8. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 15, 2010 12:07 PM (in response to peterj)starting the server with run.bat -
9. Re: .war will not deploy when I drop it into the deploy folder
peterj Feb 15, 2010 12:20 PM (in response to iamcootis)Then the WAR should go into jboss-5.1.0.GA/server/default/deploy -
10. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 15, 2010 12:28 PM (in response to peterj)Thank you -
11. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 16, 2010 12:09 AM (in response to peterj)Finally got the opportunity to do this today and the .war still did not deploy. I am tailing the log at server\default\log\server.log and nothing happened when I dropped in the file. -
12. Re: .war will not deploy when I drop it into the deploy folder
iamcootis Feb 16, 2010 12:58 AM (in response to iamcootis)Sorry, nevermind, I figured it out. -
13. Re: .war will not deploy when I drop it into the deploy folder
peterj Feb 16, 2010 11:28 AM (in response to iamcootis)I am dying to know - how did you fix it?