Re: Problem after upgrade to Tapestry 4.1.2

2007-06-29 Thread Jesse Kuhnert

I don't know Maybe it's not a tomcat version issue at all but more of a
library version issue.  Somehow that server machine has an old version of
tapestry somewhere.

On your server go to wherever the root path of tomcat is (I never install
any java related software with apt/yum) and do:

find . -name *tapestry* -print

That should tell you more.  Just be sure every single occurrence of a
matching file is accounted for.  I think it's been stuck in the shared lib
or something else weird somehow.

On 6/29/07, spot_ [EMAIL PROTECTED] wrote:



Hello Jesse

thanks for help. But no, I have not overriden the Shell component. I
searched all project files for the terms 'dojoPath' and 'Shell' with no
result (except of Border.html where it belongs to).
But what about this: The WebApp works fine on my development machine! It's
WinXP/Tomcat 5.5.17... maybe Tapestry 4.1.2 needs Tomcat 5.5 to work?
(Server machine: Ubuntu 6.10 server/Tomcat 5.0.30)

Cheers
Christoph


Jessek wrote:

 The exception message saying its missing classpath resource '/dojo/'.
 sounds suspicious.  This was the old parameter given and shouldn't be
 something Tapestry would reference by default in the current release.

 I think Marcus was on to something there.You may want to check very
 carefully what jar versions you are using and what parameters and such
you
 are giving to your Shell component. (have you overriden the Shell
 component
 and forgotten maybe?)

 --
 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/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11355278
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


Re: Problem after upgrade to Tapestry 4.1.2

2007-06-29 Thread gant
may be you should clear the tomcat caches which are in tomcat temp 
directory.


- Original Message - 
From: spot_ [EMAIL PROTECTED]

To: users@tapestry.apache.org
Sent: Friday, June 29, 2007 1:32 PM
Subject: Re: Problem after upgrade to Tapestry 4.1.2




Hello Jesse

thanks for help. But no, I have not overriden the Shell component. I
searched all project files for the terms 'dojoPath' and 'Shell' with no
result (except of Border.html where it belongs to).
But what about this: The WebApp works fine on my development machine! It's
WinXP/Tomcat 5.5.17... maybe Tapestry 4.1.2 needs Tomcat 5.5 to work?
(Server machine: Ubuntu 6.10 server/Tomcat 5.0.30)

Cheers
Christoph


Jessek wrote:


The exception message saying its missing classpath resource '/dojo/'.
sounds suspicious.  This was the old parameter given and shouldn't be
something Tapestry would reference by default in the current release.

I think Marcus was on to something there.You may want to check very
carefully what jar versions you are using and what parameters and such 
you

are giving to your Shell component. (have you overriden the Shell
component
and forgotten maybe?)

--
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/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11355278

Sent from the Tapestry - User mailing list archive at Nabble.com.


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





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



Re: Problem after upgrade to Tapestry 4.1.2

2007-06-29 Thread spot_

Hi Jesse, gant

thank you very much! After deleting the whole
/var/cache/tomcat5/Catalina/localhost/MyApp dir recursively on the server
machine everything works fine.

Cheers
Christoph


Jessek wrote:
 
 I don't know Maybe it's not a tomcat version issue at all but more of
 a
 library version issue.  Somehow that server machine has an old version of
 tapestry somewhere.
 
 On your server go to wherever the root path of tomcat is (I never install
 any java related software with apt/yum) and do:
 
 find . -name *tapestry* -print
 
 That should tell you more.  Just be sure every single occurrence of a
 matching file is accounted for.  I think it's been stuck in the shared lib
 or something else weird somehow.
 
 -- 
 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/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11355676
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread Marcus Schulte

do you have the @Shell parameter dojoPath set explicitly somewhere,
possibly in an override for the standard Exception -page?

2007/6/28, spot_ [EMAIL PROTECTED]:



Hi all

I have a problem after upgrading to Tapestry 4.1.2. Here is the stack
trace:


org.apache.hivemind.ApplicationRuntimeException: There was an error
borrowing the page with key PageKey[_pageName='Exception'
, _locale=de_DE
] from the page pool. [classpath:/org/apache/tapestry/html/Shell.jwc, line
179, column 61]
   org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:181)
   $IPageSource_113714f51a6.getPage($IPageSource_113714f51a6.java)
   org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:239)
   org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:226)

org.apache.tapestry.error.ExceptionPresenterImpl.presentException(
ExceptionPresenterImpl.java:42)


$ExceptionPresenter_113714f51b3.presentException($ExceptionPresenter_113714f51b3.java)


$ExceptionPresenter_113714f51b2.presentException($ExceptionPresenter_113714f51b2.java)

org.apache.tapestry.engine.AbstractEngine.activateExceptionPage(
AbstractEngine.java:117)

org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:267)

org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
InvokeEngineTerminator.java:54)


$WebRequestServicer_113714f5201.service($WebRequestServicer_113714f5201.java)


$WebRequestServicer_113714f5200.service($WebRequestServicer_113714f5200.java)


$WebRequestServicer_113714f51fd.service($WebRequestServicer_113714f51fd.java)


$WebRequestServicer_113714f51fc.service($WebRequestServicer_113714f51fc.java)

org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
(WebRequestServicerPipelineBridge.java:61)


$ServletRequestServicer_113714f51ef.service($ServletRequestServicer_113714f51ef.java)


$ServletRequestServicer_113714f51ee.service($ServletRequestServicer_113714f51ee.java)

org.apache.tapestry.request.DecodedRequestInjector.service(
DecodedRequestInjector.java:55)


$ServletRequestServicerFilter_113714f51eb.service($ServletRequestServicerFilter_113714f51eb.java)


$ServletRequestServicerFilter_113714f51ea.service($ServletRequestServicerFilter_113714f51ea.java)


$ServletRequestServicer_113714f51f0.service($ServletRequestServicer_113714f51f0.java)

org.apache.tapestry.multipart.MultipartDecoderFilter.service(
MultipartDecoderFilter.java:52)


$ServletRequestServicerFilter_113714f51e9.service($ServletRequestServicerFilter_113714f51e9.java)


$ServletRequestServicerFilter_113714f51e8.service($ServletRequestServicerFilter_113714f51e8.java)


$ServletRequestServicer_113714f51f0.service($ServletRequestServicer_113714f51f0.java)

org.apache.tapestry.services.impl.SetupRequestEncoding.service(
SetupRequestEncoding.java:53)


$ServletRequestServicerFilter_113714f51ed.service($ServletRequestServicerFilter_113714f51ed.java)


$ServletRequestServicerFilter_113714f51ec.service($ServletRequestServicerFilter_113714f51ec.java)


$ServletRequestServicer_113714f51f0.service($ServletRequestServicer_113714f51f0.java)


$ServletRequestServicer_113714f51e3.service($ServletRequestServicer_113714f51e3.java)


$ServletRequestServicer_113714f51e2.service($ServletRequestServicer_113714f51e2.java)

org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java
:126)
   org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java
:103)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.hivemind.ApplicationRuntimeException: Missing classpath
resource
'/dojo/'. [classpath:/org/apache/tapestry/html/Shell.jwc, line 179, column
61]

org.apache.tapestry.asset.ClasspathAssetFactory.createAbsoluteAsset(
ClasspathAssetFactory.java:83)


$AssetFactory_113714f52c4.createAbsoluteAsset($AssetFactory_113714f52c4.java)

org.apache.tapestry.asset.AssetSourceImpl.findAsset(AssetSourceImpl.java
:97)
   $AssetSource_113714f524b.findAsset($AssetSource_113714f524b.java)
   org.apache.tapestry.pageload.PageLoader.addAssets(PageLoader.java:704)

org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java
:399)

org.apache.tapestry.pageload.PageLoader.createImplicitComponent(
PageLoader.java:504)


$IPageLoader_113714f5247.createImplicitComponent($IPageLoader_113714f5247.java)


$IPageLoader_113714f5248.createImplicitComponent($IPageLoader_113714f5248.java)


org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent
(ComponentTemplateLoaderLogic.java:203)

org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(
ComponentTemplateLoaderLogic.java:158)

org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(
ComponentTemplateLoaderLogic.java:98)


org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate
(ComponentTemplateLoaderLogic.java:75)

org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate

Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_

Hi Marcus

no, I didn't set it explicitly anywhere in the code. This is the first time,
I recognize this parameter. I also tried to fix the problem using this
parameter and set it to dojoPath=classpath:/dojo-0.4.3/ as I saw it in the
tapestry 4.2.1 jar file, but with the same results.

Any further help?

Thanks
Christoph


Marcus Schulte wrote:
 
 do you have the @Shell parameter dojoPath set explicitly somewhere,
 possibly in an override for the standard Exception -page?
 
-- 
View this message in context: 
http://www.nabble.com/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11349578
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread Jesse Kuhnert

The exception message saying its missing classpath resource '/dojo/'.
sounds suspicious.  This was the old parameter given and shouldn't be
something Tapestry would reference by default in the current release.

I think Marcus was on to something there.You may want to check very
carefully what jar versions you are using and what parameters and such you
are giving to your Shell component. (have you overriden the Shell component
and forgotten maybe?)

On 6/28/07, spot_ [EMAIL PROTECTED] wrote:



Hi Marcus

no, I didn't set it explicitly anywhere in the code. This is the first
time,
I recognize this parameter. I also tried to fix the problem using this
parameter and set it to dojoPath=classpath:/dojo-0.4.3/ as I saw it in
the
tapestry 4.2.1 jar file, but with the same results.

Any further help?

Thanks
Christoph


Marcus Schulte wrote:

 do you have the @Shell parameter dojoPath set explicitly somewhere,
 possibly in an override for the standard Exception -page?

--
View this message in context:
http://www.nabble.com/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11349578
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


Re: Problem after upgrade to Tapestry 4.1.2

2007-06-28 Thread spot_

Hello Jesse

thanks for help. But no, I have not overriden the Shell component. I
searched all project files for the terms 'dojoPath' and 'Shell' with no
result (except of Border.html where it belongs to).
But what about this: The WebApp works fine on my development machine! It's
WinXP/Tomcat 5.5.17... maybe Tapestry 4.1.2 needs Tomcat 5.5 to work?
(Server machine: Ubuntu 6.10 server/Tomcat 5.0.30)

Cheers
Christoph


Jessek wrote:
 
 The exception message saying its missing classpath resource '/dojo/'.
 sounds suspicious.  This was the old parameter given and shouldn't be
 something Tapestry would reference by default in the current release.
 
 I think Marcus was on to something there.You may want to check very
 carefully what jar versions you are using and what parameters and such you
 are giving to your Shell component. (have you overriden the Shell
 component
 and forgotten maybe?)
 
 -- 
 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/Problem-after-upgrade-to-Tapestry-4.1.2-tf3993336.html#a11355278
Sent from the Tapestry - User mailing list archive at Nabble.com.


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