Thanks, but I know what deploying as the root context does to the url.

It seems odd to me that if I deploy the app as root.war, then I can't get
the web app to start.  If I simply rename the war file it starts fine, and
in the context you would expect, depending on the name of the jar.

What kind of 'weird' mapping in the web.xml could cause that?   Also, the
same application worked fine on Tapestry 4.0 deploying as ROOT.war.

I have used a virtual host setting in tomcat to make the app default context
for a url.  Just hope this helps someone else from getting tripped up in the
future.



Jessek wrote:
> 
> Probably something is mapped weird in your web.xml file or you have a
> context name hard coded somewhere.   Deploying it as root.war means it
> becomes the root context and has no context name.
> 
> ie normally it'd be :
> 
> http://appname:port/contextname
> 
> but now it's just
> 
> http://appname:port/
> 
> On 7/31/07, craigham <[EMAIL PROTECTED]> wrote:
>>
>> Hi Jesse,
>>
>> I have narrowed this down a little.  I only get this error if I attempt
>> to
>> deploy the war as ROOT.war.  If I name it myApp.war, it deploys fine.
>>
>> Do you know what could be prohibiting me from deploying as ROOT.war ?
>>
>> thanks,
>> craig
>>
>>
>> Jessek wrote:
>> >
>> > That sounds about right to me.  There really isn't an engine service
>> named
>> > "action" anymore.  It existed in previous 4.X versions but was marked
>> for
>> > death a long time ago.
>> >
>> > Sounds like your server has some old tapestry jars somewhere.
>> >
>> > On 7/12/07, craigham <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I just updated my tapestry, and am trying to deploy my application.
>> >>
>> >> It deploys fine on one of my ubuntu based servers, but when I
>> attempted
>> >> to
>> >> deploy it onto production I get the following errors:
>> >>
>> >> ERROR spintop.tapestry.Exception  - Uncaught error, discovered at
>> >> tapestry
>> >> level
>> >> org.apache.hivemind.ApplicationRuntimeException: There was an error
>> >> borrowing the page with key PageKey[_pageName='Home'
>> >> , _locale=en_US
>> >> ] from the page pool. [classpath:/org/apache/tapestry/form/Form.jwc,
>> line
>> >> 127, column 68]
>> >>
>> >> ...
>> >>
>> >> Caused by: org.apache.hivemind.ApplicationRuntimeException: Error at
>> >> classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68:
>> Error
>> >> adding property actionService to class org.apache.tapestry.form.Form:
>> No
>> >> engine service named 'action' is available.
>> >> [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68]
>> >>
>> >> ...
>> >>
>> >> Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine
>> >> service named 'action' is available.
>> >> [classpath:/org/apache/tapestry/form/Form.jwc, line 127, column 68]
>> >>
>> >> ...
>> >>
>> >> Caused by: org.apache.hivemind.ApplicationRuntimeException: No engine
>> >> service named 'action' is available.
>> >>
>> >> Any ideas what could cause the app to work on one server but not the
>> >> other?
>> >>
>> >> thanks,
>> >> craig
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/4.1.2---problem-starting-tapestry-app-tf4071997.html#a11572445
>> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > Jesse Kuhnert
>> > Tapestry/Dojo team member/developer
>> >
>> > Open source based consulting work centered around
>> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/4.1.2---problem-starting-tapestry-app-tf4071997.html#a11927962
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
> 
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/4.1.2---problem-starting-tapestry-app-tf4071997.html#a12257490
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to