You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Alexander Banthien <al...@questech.de> on 2002/09/25 09:45:29 UTC

Actions and URL rewriting

hello,

I never saw this behaviour before and am quite puzzeled why it happens:

Horrible Exception: java.lang.ClassNotFoundException:

        Requested Action not found:
RecommendAction;jsessionid=ri0c5pqia1
        Turbine looked in the following modules.packages path:
        [de.questech.modules, org.apache.turbine.modules]

some turbine/tomcat3.2.4 is not able to tell what is action and what is
sessionid in a give URL. What is this? has anybody ever seen it? fixed ?

TIA, Alex


_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
Thanks Scott,

will try. In fact, I did take the same route of adding dummy PathInfo before,
because Tomcat couldn't decide wether to run a jsp or to run the servlet. By adding
some junk to the URL this could be solved :-)

I'll keep you updated.

Alex

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> > this is the full url,
> >
> > to my understanding it is correct:
> >
> > http://x.x.x/ms/template/patienten%2Cempfehlen_ok.jsp/action/RecommendAction;j
> > sessionid=mbat5rrcn1
>
> Okay, the semicolon is legit.
>
> Can you try adding some dummy query data or path info - it kind of looks
> like there is a bug in the code that strips out the action, but if you do
> this it will confirm whether or not it is the case.
>
> Cheers,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
Hi Scott,

once again. Before you get into coding I must let you know, that my Tomcat
installation seems to be in deep trouble to track sessions with URLencoding. I am
quite lost at the moment. The config and version of that server is almost identical
to other tomcats I am using. Only this one cannot recognize the session from the
URL and keeps reassigning me new jsessionid's in the URL.

That is bad for our search engine and bad for the cookieless browsers.

regards, Alex

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> > tried it out and it worked! Thank you so much, this was an emergency :-) (We
> > are actually launching!).
> Great.
> >
> > I am now adding /m/s to any link I generate, even those with Actions and then
> > the action gets extracted properly.
> Looks like a bug then.  I'll see if I can see what is wrong.
>
> Cheers,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: Alexander Banthien <al...@questech.de>
> 
> tried it out and it worked! Thank you so much, this was an emergency :-) (We
> are actually launching!).
Great.
> 
> I am now adding /m/s to any link I generate, even those with Actions and then
> the action gets extracted properly.
Looks like a bug then.  I'll see if I can see what is wrong.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
Hi Scott,

thanks for the help. I am sorry to say that I am in deep trouble at the moment with
my Tomcats and cannot provide the info you need. But I won't forget it.

Strange thing from last night: when accessing my app (i.e. tubrine 2.2b3 on Tomcat
3.2.4 and IBM 1.3) through Apache my sessions got lost for cookieless browsers.
When hitting Tomcat directly through its built in web accessor, sessions got nicely
tracked through the appended ";jsessionid=XXXX". That one got resolved by replacing
mod_jk.so.

But at the moment my machines die a sudden death and that is of course not so
beautiful.

Thanks, till later,

Alex

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> > I am now adding /m/s to any link I generate, even those with Actions and then
> > the action gets extracted properly.
> Alexander,
>
> Can you please include $data.Parameters on you page (or whatever the JSP
> equivalent is) and provide the output.  Do this both for the link that has
> the /m/s and without.  If I turn cookies off jsessionid is not appended to
> the last part of my url so I am wondering if it is somehow related to jsp.
>
> Thanks,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: Alexander Banthien <al...@questech.de>
>
> I am now adding /m/s to any link I generate, even those with Actions and then
> the action gets extracted properly.
Alexander,

Can you please include $data.Parameters on you page (or whatever the JSP
equivalent is) and provide the output.  Do this both for the link that has
the /m/s and without.  If I turn cookies off jsessionid is not appended to
the last part of my url so I am wondering if it is somehow related to jsp.

Thanks,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
Hi once more,

tried it out and it worked! Thank you so much, this was an emergency :-) (We are
actually launching!).

I am now adding /m/s to any link I generate, even those with Actions and then the
action gets extracted properly.

Cheers,

Alex

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> > this is the full url,
> >
> > to my understanding it is correct:
> >
> > http://x.x.x/ms/template/patienten%2Cempfehlen_ok.jsp/action/RecommendAction;j
> > sessionid=mbat5rrcn1
>
> Okay, the semicolon is legit.
>
> Can you try adding some dummy query data or path info - it kind of looks
> like there is a bug in the code that strips out the action, but if you do
> this it will confirm whether or not it is the case.
>
> Cheers,
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: Alexander Banthien <al...@questech.de>
> 
> this is the full url,
> 
> to my understanding it is correct:
> 
> http://x.x.x/ms/template/patienten%2Cempfehlen_ok.jsp/action/RecommendAction;j
> sessionid=mbat5rrcn1

Okay, the semicolon is legit.

Can you try adding some dummy query data or path info - it kind of looks
like there is a bug in the code that strips out the action, but if you do
this it will confirm whether or not it is the case.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
this is the full url,

to my understanding it is correct:

http://x.x.x/ms/template/patienten%2Cempfehlen_ok.jsp/action/RecommendAction;jsessionid=mbat5rrcn1

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> >       Requested Action not found:
> > RecommendAction;jsessionid=ri0c5pqia1
>                  ^
> What's with the semicolon?
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Intake: check phone syntax

Posted by David Worms <da...@simpledesign.com>.
Does anyone has a regexp in its intake.xml, checking a phone number that I
could use in my intake? eg:

<rule name="mask" value="[check phone syntax]">

Thanks in advance

David Worms


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Alexander Banthien <al...@questech.de>.
hi Scott,

what about it? it was generated by TemplateLink. Only on this one server it is not
recognized as standard URL-encoded session ID. What is supposed to be there?

Scott Eade wrote:

> > From: Alexander Banthien <al...@questech.de>
> >
> >       Requested Action not found:
> > RecommendAction;jsessionid=ri0c5pqia1
>                  ^
> What's with the semicolon?
>
> Scott
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--

Mit freundlichen Grüßen
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Actions and URL rewriting

Posted by Scott Eade <se...@backstagetech.com.au>.
> From: Alexander Banthien <al...@questech.de>
> 
>       Requested Action not found:
> RecommendAction;jsessionid=ri0c5pqia1
                 ^
What's with the semicolon?

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>