-
1. Re: Duplicate websession prevents deployment
lvdberg Nov 6, 2010 3:48 PM (in response to paulwaldo)Hi,
Look into the created directory and see if things are
copied
. I've found that sometimes the build just copies content twice in the deploy-directory and therefor in the final directory/WAR.If that is the case, you probably have a build path problem.
Leo
-
2. Re: Duplicate websession prevents deployment
paulwaldo Nov 6, 2010 5:19 PM (in response to paulwaldo)
Leo van den Berg wrote on Nov 06, 2010 15:48:
Look into the created directory and see if things arecopied
. I've found that sometimes the build just copies content twice in the deploy-directory and therefor in the final directory/WAR.Thanks for the reply, Leo. From what I can see there are no duplicates:
MacBook-Pro:seamtest paul$ find ~/projects/seamtest ~/Java/jboss-5.1.0.GA -name jboss-seam.jar
/Users/paul/projects/seamtest/exploded-archives/seamtest.ear/jboss-seam.jar
/Users/paul/projects/seamtest/lib/jboss-seam.jar
/Users/paul/Java/jboss-5.1.0.GA/server/default/deploy/seamtest.ear/jboss-seam.jarMaybe I'm missing something?
-
3. Re: Duplicate websession prevents deployment
lvdberg Nov 6, 2010 7:48 PM (in response to paulwaldo)Hi,
Another trick is cleaning up the JBoss directories. You can delete the directories TMP, WORK and DATA without a problem and after that do a full new deploy. See if that helps.
Leo
-
4. Re: Duplicate websession prevents deployment
paulwaldo Nov 6, 2010 9:28 PM (in response to paulwaldo)
Leo van den Berg wrote on Nov 06, 2010 19:48:
Hi,
Another trick is cleaning up the JBoss directories. You can delete the directories TMP, WORK and DATA without a problem and after that do a full new deploy. See if that helps.
LeoHi Leo,
I had already tried the tmp and work dirs. Didn't know about data. I tried removing all three, but no dice. Your suggestion did spur me to get drastic; I blew away the entire jboss dir and reinstalled. That seemed to do the trick. Yay!
I'd love to know what I did, because I managed to mess up a windows box in the same way...
Thanks for all your help!!