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

Re: Problem with context ROOT on jboss 6

by Guto Maia :: Rate this Message:

| View in Thread

Ali,

Sorry for the delayed response. I had to take a plane. Thanks for the quick response, I was pretty sure it was a bug. I might got some ideas on how to solve it. Tomorow I will join the developers list see if I can help close this issue.

But first I have to check if it is already working on the snapshot. Did you try the minimal application that i've sended? I think that might be a good idea to attach it on the jira!

A development question, how to add an integration test? In this case, to avoid regression.

Thanks a lot

Guto Maia
@gutomaia



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

Thank you for your detailed work and analysis.

I have indeed opened a new issue, CARGO-1037, to track progress. I believe it is actually a bug with the current Cargo version (1.1.2).

I have checked in a new revision, can you please try CARGO 1.1.3-SNAPSHOT? Instructions for using it are on: http://cargo.codehaus.org/Maven2+Plugin+Installation#Maven2PluginInstallation-snapshots

Can you please check?


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:49, Guto Maia wrote:
Hi,

No my application is being deployed as a SINGLE ROOT.war file. The problem is that JBoss default ROOT.war is a directory (on JBoss 6x).


However, in a act dispair, i've tried the example. The only visible diference is the <location> attribute. However, if I use it, I've got an: java.lang.NoSuchMethodException: org.codehaus.cargo.container.jboss.deployable.JBossWAR.setLocation(java.lang.String). Cause, of course, there is no setLocation on class:

Just to show ilustrate the problem, I've created a very simple example. That is attached.
The only thing you need to do is type:
mvn clean package cargo:run (yes... it takes long to download jboss 6)

thanks

Guto Maia
@gutomaia

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