You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Jeremyau <ja...@gmail.com> on 2012/07/05 02:01:39 UTC

Tomee Runner (Deploy on ROOT)

Hi!

So, I'm currently working with a basic application which I want to deploy on
Tomee Runner. 

To do that, I use tomee-embedded-1.1.0-SNAPSHOT-uber.jar which works pretty
well!

The thing is I want to deploy my application as ROOT. What I mean is I want
to see my application at 'localhost:8080'. And not
'localhost:8080/applicationName'. I tried to rename my war ROOT.war but it
does not work. (localhost:8080/ROOT)

Any idea?

Thanks,
Jeremy

--
View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Runner-Deploy-on-ROOT-tp4656034.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Tomee Runner (Deploy on ROOT)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Repackage it to run your war ;)
 Le 6 juil. 2012 01:42, "Jeremyau" <ja...@gmail.com> a écrit :

> Sweet! It works well now. Again and again, thanks for you quick response
> and
> great work!
>
> I've committed my work here:  https://github.com/Stackato-Apps/Numberguess
> https://github.com/Stackato-Apps/Numberguess . If you want to run it:
>
> mvn clean package
> java -jar lib/tomee-embedded-1.1.0-SNAPSHOT-uber.jar --path target/*.war
> --context /
>
> I have uploaded the tomee-runner in the lib directory for now. But I'll add
> a dependency in the future.
>
> Jeremy
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Tomee-Runner-Deploy-as-root-tp4656034p4656071.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: Tomee Runner (Deploy on ROOT)

Posted by Jeremyau <ja...@gmail.com>.
Sweet! It works well now. Again and again, thanks for you quick response and
great work!

I've committed my work here:  https://github.com/Stackato-Apps/Numberguess
https://github.com/Stackato-Apps/Numberguess . If you want to run it:

mvn clean package
java -jar lib/tomee-embedded-1.1.0-SNAPSHOT-uber.jar --path target/*.war
--context /

I have uploaded the tomee-runner in the lib directory for now. But I'll add
a dependency in the future.

Jeremy

--
View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Runner-Deploy-as-root-tp4656034p4656071.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Tomee Runner (Deploy on ROOT)

Posted by Romain Manni-Bucau <rm...@gmail.com>.
updated: https://issues.apache.org/jira/browse/TOMEE-268

- Romain


2012/7/5 Jeremyau <ja...@gmail.com>

> Hi!
>
> So, I'm currently working with a basic application which I want to deploy
> on
> Tomee Runner.
>
> To do that, I use tomee-embedded-1.1.0-SNAPSHOT-uber.jar which works pretty
> well!
>
> The thing is I want to deploy my application as ROOT. What I mean is I want
> to see my application at 'localhost:8080'. And not
> 'localhost:8080/applicationName'. I tried to rename my war ROOT.war but it
> does not work. (localhost:8080/ROOT)
>
> Any idea?
>
> Thanks,
> Jeremy
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Tomee-Runner-Deploy-on-ROOT-tp4656034.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>