You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Randolph Kahle <ra...@variantia.net> on 2004/10/18 21:32:15 UTC
A page is failing to load because it lacks a component it does not use
I am confused.
I have a "Home" page that does not use the component
"SessionHitCounter", however, I get the following message:
<<<<<
Component net.HomePage$Enhance_0@9ea4a4[Home] does not contain a
component $SessionHitCounter.
component:
net.HomePage$Enhance_0@9ea4a4[Home]
>>>>>
There is a component name SessionHitCounter with the file
SessionHitCounter.jwc located at /WEB-INF, but the HomePage.html does
not reference it.
I have rebooted my server, the IDE, etc. I cannot figure where the
reference is.
Any tips would be appreicated.
Randy
Question
Posted by Diego de Oliveira <di...@medialabs.com.br>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I want to know how to unsubscribe..
tanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBdSa+d4p1RzqqYg8RArbAAKC77FsQQ8q2V/U/YVwTQcGC8cjFzgCfXMFQ
spJt1Q6HnEspPmmnhffNGuA=
=CyTh
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: A page is failing to load because it lacks a component it does not use
Posted by Randolph Kahle <ra...@variantia.net>.
Dominik,
Thank you! That would explain the behavior.
Sounds similar to what must be done to maintain state in a clustered
environment.
Regards,
Randy
On Oct 19, 2004, at 2:56 AM, Dominik Kreutz wrote:
>> * Even though I shutdown/restarted Tomcat5, the browser cookie
>> was
>> causing my application to use an older version of the HomePage and
>> that
>> was causing the problem.
>>
>> After I deleted the cookie, the application started working as
>> expected.
>>
>> Can anyone explain why I was experiencing this behavior?
>
> Tomcat has a feature to persist sessions (by serializing them and
> writing
> them to the filesystem). If I remember right it is called "Persistent
> Session Manager" in Tomcat4 and you can configure this behaviour in
> server.xml.
>
> Best regards,
>
> Dominik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
Re: A page is failing to load because it lacks a component it does not use
Posted by Dominik Kreutz <dk...@startext.de>.
> * Even though I shutdown/restarted Tomcat5, the browser cookie was
> causing my application to use an older version of the HomePage and that
> was causing the problem.
>
> After I deleted the cookie, the application started working as expected.
>
> Can anyone explain why I was experiencing this behavior?
Tomcat has a feature to persist sessions (by serializing them and writing
them to the filesystem). If I remember right it is called "Persistent
Session Manager" in Tomcat4 and you can configure this behaviour in
server.xml.
Best regards,
Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: A page is failing to load because it lacks a component it does not use
Posted by Randolph Kahle <ra...@variantia.net>.
I figured out how to get out of the problem, but I'm still not sure why
it is happening.
Here is the sequence of steps:
* Created HomePage that uses SessionHitCounter
* Removed use of SessionHitCounter
* Even though I shutdown/restarted Tomcat5, the browser cookie was
causing my application to use an older version of the HomePage and that
was causing the problem.
After I deleted the cookie, the application started working as expected.
Can anyone explain why I was experiencing this behavior?
Regards,
Randy
On Oct 18, 2004, at 12:32 PM, Randolph Kahle wrote:
> I am confused.
>
> I have a "Home" page that does not use the component
> "SessionHitCounter", however, I get the following message:
>
> <<<<<
>
> Component net.HomePage$Enhance_0@9ea4a4[Home] does not contain a
> component $SessionHitCounter.
>
> component:
> net.HomePage$Enhance_0@9ea4a4[Home]
>
> >>>>>
>
> There is a component name SessionHitCounter with the file
> SessionHitCounter.jwc located at /WEB-INF, but the HomePage.html does
> not reference it.
>
> I have rebooted my server, the IDE, etc. I cannot figure where the
> reference is.
>
> Any tips would be appreicated.
>
> Randy
Re: Question
Posted by Markus Wiederkehr <ma...@gmail.com>.
http://jakarta.apache.org/site/mail2.html#Tapestry
On Tue, 19 Oct 2004 12:38:06 -0200, Diego de Oliveira
<di...@medialabs.com.br> wrote:
> Hello
>
> I want to know how to unsubscribe..
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Question
Posted by Diego de Oliveira <di...@medialabs.com.br>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello
I want to know how to unsubscribe..
tanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBdSa+d4p1RzqqYg8RArbAAKC77FsQQ8q2V/U/YVwTQcGC8cjFzgCfXMFQ
spJt1Q6HnEspPmmnhffNGuA=
=CyTh
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org