Can I run-app as a ROOT app?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Can I run-app as a ROOT app?

Dean Del Ponte-2
I would like to run my app in dev mode as the root app on port 80.

For example, instead of being resolved to localhost:8080/myApp, it should be resolved to localhost.

Is this possible using the run-app command?

Thanks!

Dean Del Ponte
Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

cazacugmihai
Sure. Set 

app.context=/

in your "application.properties".

 

On Wed, Feb 1, 2012 at 4:32 PM, Dean Del Ponte <[hidden email]> wrote:
I would like to run my app in dev mode as the root app on port 80.

For example, instead of being resolved to localhost:8080/myApp, it should be resolved to localhost.

Is this possible using the run-app command?

Thanks!

Dean Del Ponte



--
Mihai Cazacu
Software Engineer
E-mail: [hidden email]
Mobile: +40 745 254 657
Skype: cazacugmihai
Twitter: cazacugmihai


Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

cazacugmihai
To run on port 80, start your application with 

-Dserver.port=80

JVM parameter. 

On Wed, Feb 1, 2012 at 4:35 PM, Mihai Cazacu <[hidden email]> wrote:
Sure. Set 

app.context=/

in your "application.properties".

 

On Wed, Feb 1, 2012 at 4:32 PM, Dean Del Ponte <[hidden email]> wrote:
I would like to run my app in dev mode as the root app on port 80.

For example, instead of being resolved to localhost:8080/myApp, it should be resolved to localhost.

Is this possible using the run-app command?

Thanks!

Dean Del Ponte



--
Mihai Cazacu
Software Engineer
E-mail: [hidden email]
Mobile: <a href="tel:%2B40%20745%20254%20657" value="+40745254657" target="_blank">+40 745 254 657
Skype: cazacugmihai
Twitter: cazacugmihai





--
Mihai Cazacu
Software Engineer
E-mail: [hidden email]
Mobile: +40 745 254 657
Skype: cazacugmihai
Twitter: cazacugmihai


Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

olivertynes
In reply to this post by Dean Del Ponte-2
Config.groovy:

development {
                grails {
                        serverURL = "http://localhost:8080"


:)

-Oliver
On Wed, Feb 1, 2012 at 3:32 PM, Dean Del Ponte <[hidden email]> wrote:

> I would like to run my app in dev mode as the root app on port 80.
>
> For example, instead of being resolved to localhost:8080/myApp, it should be
> resolved to localhost.
>
> Is this possible using the run-app command?
>
> Thanks!
>
> Dean Del Ponte



--
*****
Oliver Tynes
Developer
Uni CIPR -- www.cipr.uni.no
55588266
*****

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

olivertynes
Eh, and:

app.context = "/"

Not sure how it disappeared from my copy/paste.

-Oliver

>
> -Oliver
> On Wed, Feb 1, 2012 at 3:32 PM, Dean Del Ponte <[hidden email]> wrote:
>> I would like to run my app in dev mode as the root app on port 80.
>>
>> For example, instead of being resolved to localhost:8080/myApp, it should be
>> resolved to localhost.
>>
>> Is this possible using the run-app command?
>>
>> Thanks!
>>
>> Dean Del Ponte
>
>
>
> --
> *****
> Oliver Tynes
> Developer
> Uni CIPR -- www.cipr.uni.no
> 55588266
> *****



--
*****
Oliver Tynes
Developer
Uni CIPR -- www.cipr.uni.no
55588266
*****

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

rlovtangen
In reply to this post by cazacugmihai
Depending on your operating system, you might not be allowed to start a process on ports below 1024 without root access. 

Ronny


On Feb 1, 2012, at 3:37 PM, Mihai Cazacu wrote:

To run on port 80, start your application with 

-Dserver.port=80

JVM parameter. 

On Wed, Feb 1, 2012 at 4:35 PM, Mihai Cazacu <[hidden email]> wrote:
Sure. Set 

app.context=/

in your "application.properties".

 

On Wed, Feb 1, 2012 at 4:32 PM, Dean Del Ponte <[hidden email]> wrote:
I would like to run my app in dev mode as the root app on port 80.

For example, instead of being resolved to localhost:8080/myApp, it should be resolved to localhost.

Is this possible using the run-app command?

Thanks!

Dean Del Ponte



--
Mihai Cazacu
Software Engineer
E-mail: [hidden email]
Mobile: <a href="tel:%2B40%20745%20254%20657" value="+40745254657" target="_blank">+40 745 254 657
Skype: cazacugmihai
Twitter: cazacugmihai





--
Mihai Cazacu
Software Engineer
E-mail: [hidden email]
Mobile: +40 745 254 657
Skype: cazacugmihai
Twitter: cazacugmihai



Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

John Thompson
In reply to this post by cazacugmihai
No, using the application.properties is not the best way.  This setting is also referenced building WARs, and will cause some funkiness and headaches when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"

JT
jts-blog.com
Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

Dean Del Ponte-2
Thanks!  Works great!

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

Dean Del Ponte-2
In reply to this post by John Thompson
Correction.  This works great on Windows.  On OSX I it won't start up.  I get the following errors.  Any ideas?

2012-02-08 16:38:40,179 [main] WARN  util.GrailsUtil  - [DEPRECATED] Method ApplicationHolder.setApplication(application) is deprecated and will be removed in a future version of Grails.
2012-02-08 16:38:42,868 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:42,895 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
2012-02-08 16:38:43,781 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:43,795 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
| Running Grails application
2012-02-08 16:38:44,806 [main] INFO  http11.Http11Protocol  - Initializing ProtocolHandler ["http-bio-8080"]
2012-02-08 16:38:44,889 [main] INFO  core.StandardService  - Starting service Tomcat
2012-02-08 16:38:44,889 [main] INFO  core.StandardEngine  - Starting Servlet Engine: Apache Tomcat/7.0.16
2012-02-08 16:38:45,063 [main] INFO  startup.ContextConfig  - No global web.xml found
2012-02-08 16:38:46,039 [main] WARN  startup.ContextConfig  - Unable to load class [org.springframework.ejb.support.AbstractEnterpriseBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
Message: org.springframework.ejb.support.AbstractEnterpriseBean
   Line | Method
->>  46 | findClass in org.grails.plugins.tomcat.ParentDelegatingClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   306 | loadClass in java.lang.ClassLoader
|   247 | loadClass in     ''
|   114 | doStart   in org.grails.plugins.tomcat.InlineExplodedTomcatServer
|   102 | start . . in org.grails.plugins.tomcat.TomcatServer
|   175 | doCall    in _GrailsRun_groovy$_run_closure5_closure12
|   152 | doCall .  in _GrailsRun_groovy$_run_closure5
|   120 | runInline in _GrailsRun_groovy
|    66 | doCall .  in _GrailsRun_groovy$_run_closure1
|    33 | doCall    in RunApp$_run_closure1
^   120 | main . .  in com.intellij.rt.execution.application.AppMain

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

John Thompson
I do all my dev on OSX & never had a problem with this.  I don't think I use the WebXml plugin... Maybe that's not happy?


On Wed, Feb 8, 2012 at 6:05 PM, Dean Del Ponte-2 [via Grails] <[hidden email]> wrote:
Correction.  This works great on Windows.  On OSX I it won't start up.  I get the following errors.  Any ideas?

2012-02-08 16:38:40,179 [main] WARN  util.GrailsUtil  - [DEPRECATED] Method ApplicationHolder.setApplication(application) is deprecated and will be removed in a future version of Grails.
2012-02-08 16:38:42,868 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:42,895 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
2012-02-08 16:38:43,781 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:43,795 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
| Running Grails application
2012-02-08 16:38:44,806 [main] INFO  http11.Http11Protocol  - Initializing ProtocolHandler ["http-bio-8080"]
2012-02-08 16:38:44,889 [main] INFO  core.StandardService  - Starting service Tomcat
2012-02-08 16:38:44,889 [main] INFO  core.StandardEngine  - Starting Servlet Engine: Apache Tomcat/7.0.16
2012-02-08 16:38:45,063 [main] INFO  startup.ContextConfig  - No global web.xml found
2012-02-08 16:38:46,039 [main] WARN  startup.ContextConfig  - Unable to load class [org.springframework.ejb.support.AbstractEnterpriseBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
Message: org.springframework.ejb.support.AbstractEnterpriseBean
   Line | Method
->>  46 | findClass in org.grails.plugins.tomcat.ParentDelegatingClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   306 | loadClass in java.lang.ClassLoader
|   247 | loadClass in     ''
|   114 | doStart   in org.grails.plugins.tomcat.InlineExplodedTomcatServer
|   102 | start . . in org.grails.plugins.tomcat.TomcatServer
|   175 | doCall    in _GrailsRun_groovy$_run_closure5_closure12
|   152 | doCall .  in _GrailsRun_groovy$_run_closure5
|   120 | runInline in _GrailsRun_groovy
|    66 | doCall .  in _GrailsRun_groovy$_run_closure1
|    33 | doCall    in RunApp$_run_closure1
^   120 | main . .  in com.intellij.rt.execution.application.AppMain

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4371257.html
To unsubscribe from Can I run-app as a ROOT app?, click here.
NAML

JT
jts-blog.com
Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

Matthias Hryniszak
Guys, don't you think that the result of this discussion should find its way to the official Grails docs? I honestly don't think that Dean is the first one wanting to try this out and judging by the number of responses in this thread it may very well kind of difficult to set up on different platforms...

What's your opinion about it?

Matthias.

2012/2/9 John Thompson <[hidden email]>
I do all my dev on OSX & never had a problem with this.  I don't think I use the WebXml plugin... Maybe that's not happy?


On Wed, Feb 8, 2012 at 6:05 PM, Dean Del Ponte-2 [via Grails] <[hidden email]> wrote:
Correction.  This works great on Windows.  On OSX I it won't start up.  I get the following errors.  Any ideas?

2012-02-08 16:38:40,179 [main] WARN  util.GrailsUtil  - [DEPRECATED] Method ApplicationHolder.setApplication(application) is deprecated and will be removed in a future version of Grails.
2012-02-08 16:38:42,868 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:42,895 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
2012-02-08 16:38:43,781 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:43,795 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
| Running Grails application
2012-02-08 16:38:44,806 [main] INFO  http11.Http11Protocol  - Initializing ProtocolHandler ["http-bio-8080"]
2012-02-08 16:38:44,889 [main] INFO  core.StandardService  - Starting service Tomcat
2012-02-08 16:38:44,889 [main] INFO  core.StandardEngine  - Starting Servlet Engine: Apache Tomcat/7.0.16
2012-02-08 16:38:45,063 [main] INFO  startup.ContextConfig  - No global web.xml found
2012-02-08 16:38:46,039 [main] WARN  startup.ContextConfig  - Unable to load class [org.springframework.ejb.support.AbstractEnterpriseBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
Message: org.springframework.ejb.support.AbstractEnterpriseBean
   Line | Method
->>  46 | findClass in org.grails.plugins.tomcat.ParentDelegatingClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   306 | loadClass in java.lang.ClassLoader
|   247 | loadClass in     ''
|   114 | doStart   in org.grails.plugins.tomcat.InlineExplodedTomcatServer
|   102 | start . . in org.grails.plugins.tomcat.TomcatServer
|   175 | doCall    in _GrailsRun_groovy$_run_closure5_closure12
|   152 | doCall .  in _GrailsRun_groovy$_run_closure5
|   120 | runInline in _GrailsRun_groovy
|    66 | doCall .  in _GrailsRun_groovy$_run_closure1
|    33 | doCall    in RunApp$_run_closure1
^   120 | main . .  in com.intellij.rt.execution.application.AppMain

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4371257.html
To unsubscribe from Can I run-app as a ROOT app?, click here.
NAML



View this message in context: Re: Can I run-app as a ROOT app?

Sent from the Grails - user mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

Dean Del Ponte-2
I'm a bit worried by all of the errors generated at startup, but it appears to function normally once it is started.

On Wed, Feb 8, 2012 at 5:28 PM, Matthias Hryniszak <[hidden email]> wrote:
Guys, don't you think that the result of this discussion should find its way to the official Grails docs? I honestly don't think that Dean is the first one wanting to try this out and judging by the number of responses in this thread it may very well kind of difficult to set up on different platforms...

What's your opinion about it?

Matthias.


2012/2/9 John Thompson <[hidden email]>
I do all my dev on OSX & never had a problem with this.  I don't think I use the WebXml plugin... Maybe that's not happy?


On Wed, Feb 8, 2012 at 6:05 PM, Dean Del Ponte-2 [via Grails] <[hidden email]> wrote:
Correction.  This works great on Windows.  On OSX I it won't start up.  I get the following errors.  Any ideas?

2012-02-08 16:38:40,179 [main] WARN  util.GrailsUtil  - [DEPRECATED] Method ApplicationHolder.setApplication(application) is deprecated and will be removed in a future version of Grails.
2012-02-08 16:38:42,868 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:42,895 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
2012-02-08 16:38:43,781 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:43,795 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
| Running Grails application
2012-02-08 16:38:44,806 [main] INFO  http11.Http11Protocol  - Initializing ProtocolHandler ["http-bio-8080"]
2012-02-08 16:38:44,889 [main] INFO  core.StandardService  - Starting service Tomcat
2012-02-08 16:38:44,889 [main] INFO  core.StandardEngine  - Starting Servlet Engine: Apache Tomcat/7.0.16
2012-02-08 16:38:45,063 [main] INFO  startup.ContextConfig  - No global web.xml found
2012-02-08 16:38:46,039 [main] WARN  startup.ContextConfig  - Unable to load class [org.springframework.ejb.support.AbstractEnterpriseBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
Message: org.springframework.ejb.support.AbstractEnterpriseBean
   Line | Method
->>  46 | findClass in org.grails.plugins.tomcat.ParentDelegatingClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   306 | loadClass in java.lang.ClassLoader
|   247 | loadClass in     ''
|   114 | doStart   in org.grails.plugins.tomcat.InlineExplodedTomcatServer
|   102 | start . . in org.grails.plugins.tomcat.TomcatServer
|   175 | doCall    in _GrailsRun_groovy$_run_closure5_closure12
|   152 | doCall .  in _GrailsRun_groovy$_run_closure5
|   120 | runInline in _GrailsRun_groovy
|    66 | doCall .  in _GrailsRun_groovy$_run_closure1
|    33 | doCall    in RunApp$_run_closure1
^   120 | main . .  in com.intellij.rt.execution.application.AppMain

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4371257.html
To unsubscribe from Can I run-app as a ROOT app?, click here.
NAML



View this message in context: Re: Can I run-app as a ROOT app?

Sent from the Grails - user mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Can I run-app as a ROOT app?

Dean Del Ponte-2
FYI - the errors disappeared after upgrading to grails-2.0.1

On Fri, Feb 10, 2012 at 3:01 PM, Dean Del Ponte <[hidden email]> wrote:
I'm a bit worried by all of the errors generated at startup, but it appears to function normally once it is started.


On Wed, Feb 8, 2012 at 5:28 PM, Matthias Hryniszak <[hidden email]> wrote:
Guys, don't you think that the result of this discussion should find its way to the official Grails docs? I honestly don't think that Dean is the first one wanting to try this out and judging by the number of responses in this thread it may very well kind of difficult to set up on different platforms...

What's your opinion about it?

Matthias.


2012/2/9 John Thompson <[hidden email]>
I do all my dev on OSX & never had a problem with this.  I don't think I use the WebXml plugin... Maybe that's not happy?


On Wed, Feb 8, 2012 at 6:05 PM, Dean Del Ponte-2 [via Grails] <[hidden email]> wrote:
Correction.  This works great on Windows.  On OSX I it won't start up.  I get the following errors.  Any ideas?

2012-02-08 16:38:40,179 [main] WARN  util.GrailsUtil  - [DEPRECATED] Method ApplicationHolder.setApplication(application) is deprecated and will be removed in a future version of Grails.
2012-02-08 16:38:42,868 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:42,895 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
2012-02-08 16:38:43,781 [main] INFO  webxml.WebxmlGrailsPlugin  - Loading default config file: class DefaultWebXmlConfig
2012-02-08 16:38:43,795 [main] WARN  webxml.WebxmlGrailsPlugin  - Did not find application config file: WebXmlConfig
| Running Grails application
2012-02-08 16:38:44,806 [main] INFO  http11.Http11Protocol  - Initializing ProtocolHandler ["http-bio-8080"]
2012-02-08 16:38:44,889 [main] INFO  core.StandardService  - Starting service Tomcat
2012-02-08 16:38:44,889 [main] INFO  core.StandardEngine  - Starting Servlet Engine: Apache Tomcat/7.0.16
2012-02-08 16:38:45,063 [main] INFO  startup.ContextConfig  - No global web.xml found
2012-02-08 16:38:46,039 [main] WARN  startup.ContextConfig  - Unable to load class [org.springframework.ejb.support.AbstractEnterpriseBean] to check against the @HandlesTypes annotation of one or more ServletContentInitializers. 
Message: org.springframework.ejb.support.AbstractEnterpriseBean
   Line | Method
->>  46 | findClass in org.grails.plugins.tomcat.ParentDelegatingClassLoader
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   306 | loadClass in java.lang.ClassLoader
|   247 | loadClass in     ''
|   114 | doStart   in org.grails.plugins.tomcat.InlineExplodedTomcatServer
|   102 | start . . in org.grails.plugins.tomcat.TomcatServer
|   175 | doCall    in _GrailsRun_groovy$_run_closure5_closure12
|   152 | doCall .  in _GrailsRun_groovy$_run_closure5
|   120 | runInline in _GrailsRun_groovy
|    66 | doCall .  in _GrailsRun_groovy$_run_closure1
|    33 | doCall    in RunApp$_run_closure1
^   120 | main . .  in com.intellij.rt.execution.application.AppMain

On Thu, Feb 2, 2012 at 9:00 AM, John Thompson <[hidden email]> wrote:
No, using the application.properties is not the best way.  This setting is
also referenced building WARs, and will cause some funkiness and headaches
when set to /

To set the app context, in config.groovy add:

 grails.app.context = "/"



-----
JT
jts-blog.com
--
View this message in context: http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4351669.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email






If you reply to this email, your message will be added to the discussion below:
http://grails.1312388.n4.nabble.com/Can-I-run-app-as-a-ROOT-app-tp4348042p4371257.html
To unsubscribe from Can I run-app as a ROOT app?, click here.
NAML



View this message in context: Re: Can I run-app as a ROOT app?

Sent from the Grails - user mailing list archive at Nabble.com.