« Return to Thread: Problem with context ROOT on jboss 6

Re: Problem with context ROOT on jboss 6

by S. Ali Tokmen :: Rate this Message:

| View in Thread

Aaaahhhh... Just by chance, is your application getting deployed in an expanded fashion? Read http://cargo.codehaus.org/Static+deployment+of+expanded+WAR for details.

S. Ali Tokmen
http://ali.tokmen.com/

GSM (ch): +41 79 207 29 22 [Swisscom]
GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]

My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com

On 2011/09/13 20:03, Guto Maia wrote:
Yep... it does :D

Guto Maia
@gutomaia



2011/9/13 S. Ali Tokmen <nospam@...>
Hi Guto

So... Does it work if you use any other name than ROOT?


Thank you

S. Ali Tokmen
http://ali.tokmen.com/

GSM (ch): +41 79 207 29 22 [Swisscom]
GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]

My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com

On 2011/09/13 19:50, Guto Maia wrote:
Hi,

@Tokmen I've just renamed my aplication name and other stuff to be more general. So anyone could follow up and on future google search, people might be sended to this post.

@Hammar, no it is not an acess rights problem.

I'm running mavem with mvn package cargo:run and the above problem only appears if the context ROOT is set.

As far as I debbuged, what is happening under the hood is:
in :

the context ROOT.war is a directory.

And my application creates a ROOT.war FILE. One tries to overwrite the other with ends with the exception.

Since the file ROOT.war existis on /target/cargo/configurations/jboss6x/deploy
the directory ROOT.war from /target/cargo/installs/jboss-as-distribution-6.0.0.Final/jboss-6.0.0.Final/
Coulnt overwrite to file.

Any other clue?

I will try to create a demo app, It might be an bug issue!



Guto Maia
@gutomaia

 « Return to Thread: Problem with context ROOT on jboss 6