You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by David Wynter <da...@roamware.co.uk> on 2003/07/16 12:40:34 UTC
Incorrect URI being constructed in T2.3
Hi,
I now have all my Classes for templates pages, screen etc. being found and
loaded. Similar for all .vm files in the template.login etc. But I get a
blank page being served up despite there being content in layout, screen and
navigation velocity templates.
The only thing I note that is unusual is that for the URL of
http://localhost:8080/rwsite/servlet/rwsite
I get this in the log:
...
[DEBUG] BaseURI - -init(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -clone()
[DEBUG] ServerData - -Copy
Constructor(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -setServerName(localhost)
[DEBUG] ServerData - -setServerPort(8080)
[DEBUG] ServerData - -setServerScheme(http)
[DEBUG] ServerData - -setScriptName(/servlet/rwsite)
[DEBUG] ServerData - -setContextPath(/rwsite)
...
Note that the BaseURI is different from that POSTed. Is this something to be
worried about? If it is, is it a configuration issue?
Thanks
David
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Incorrect URI being constructed in T2.3
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"David Wynter" <da...@roamware.co.uk> writes:
>[DEBUG] BaseURI - -init(http://localhost:8080/servlet/rwsite/rwsite)
[...]
>Note that the BaseURI is different from that POSTed. Is this something to be
>worried about? If it is, is it a configuration issue?
It's a cosmetic (printout) bug. I fixed it. Thanks. As you have
already noticed, it does not fix your problem.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
--- Quote of the week: "It is pointless to tell people anything when
you know that they won't process the message." --- Jonathan Revusky
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: Incorrect URI being constructed in T2.3
Posted by David Wynter <da...@roamware.co.uk>.
My fault, I have a class that overrides VelocityOnlyLayout, borrowed from a
secure app. So it does not cope with a non-logged-in user. It uses the
logged in users role to construct a path for layouts, screens etc. no roel
identified then incorrect path for layout templates etc.
The incorrect URI below is a red herring, does not seem to have any effect
except fooling the unwary.
Rgds,
David
-----Original Message-----
From: David Wynter [mailto:david@roamware.co.uk]
Sent: 16 July 2003 11:41
To: Turbine-User
Subject: Incorrect URI being constructed in T2.3
Hi,
I now have all my Classes for templates pages, screen etc. being found and
loaded. Similar for all .vm files in the template.login etc. But I get a
blank page being served up despite there being content in layout, screen and
navigation velocity templates.
The only thing I note that is unusual is that for the URL of
http://localhost:8080/rwsite/servlet/rwsite
I get this in the log:
...
[DEBUG] BaseURI - -init(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -clone()
[DEBUG] ServerData - -Copy
Constructor(http://localhost:8080/servlet/rwsite/rwsite)
[DEBUG] ServerData - -setServerName(localhost)
[DEBUG] ServerData - -setServerPort(8080)
[DEBUG] ServerData - -setServerScheme(http)
[DEBUG] ServerData - -setScriptName(/servlet/rwsite)
[DEBUG] ServerData - -setContextPath(/rwsite)
...
Note that the BaseURI is different from that POSTed. Is this something to be
worried about? If it is, is it a configuration issue?
Thanks
David
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org