Just commit a fix for this to 5.3 and 5.4.
On Wed, Nov 2, 2011 at 7:19 AM, Thiago H. de Paula Figueiredo
wrote:
> On Wed, 02 Nov 2011 02:52:08 -0200, Chris Collins wrote:
>
>> http://localhost:8080/tapestry-bootstrap/servicestatus
>
> Try running the app as the root one please, just in case.
>
>
nvalid path looks like page's activation context).
>
> I see PageCatalog and ServiceStatus as well..
>
> [INFO] TapestryModule.ComponentClassResolver Available pages (106):
> (blank):
> com.starpoint.instihire.pages.Ind
t has a root Index page is that any invalid
path, which would normally generate a 404 error, is instead routed to the Index
page (because the invalid path looks like page's activation context).
I see PageCatalog and ServiceStatus as well..
[INFO] TapestryModule.ComponentClassResolver Avail
Thanks - that looks like an IPv6 loopback address.
http://en.wikipedia.org/wiki/Localhost
In that case, I'm not sure if T5 should be adding more whitelist addresses...?
Steve.
On 2 November 2011 14:19, Chris Collins wrote:
> 0:0:0:0:0:0:0:1%0
-
RemoteHost=0:0:0:0:0:0:0:1%0
C
On Nov 1, 2011, at 10:19 PM, Steve Eynon wrote:
> Cool!
>
> But I'm also interested in your remote host ('cos I use an embedded
> Jetty to!). Could you try adding this to one of your pages (not
> checked for syntax):
>
> @Inject
> private Request request;
>
> voi
Cool!
But I'm also interested in your remote host ('cos I use an embedded
Jetty to!). Could you try adding this to one of your pages (not
checked for syntax):
@Inject
private Request request;
void setupRender() {
System.err.println("RemoteHost="+request.getRemoteHost());
}
Cheers,
Steve.
Well I take that request and up the ante. Rather than doing what you asked
(cause I didn't know how todo it :-}). I changed my request from
http://localhost/. to http://127.0.0.1/ and it worked
On Nov 1, 2011, at 10:01 PM, Steve Eynon wrote:
> Having said that
>
> http://svn.apa
Having said that
http://svn.apache.org/viewvc?view=revision&revision=1183162
and
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/security/LocalhostOnly.java?view=markup&pathrev=1183162
gives
public class LocalhostOnly imple
tOnly page annotation
> https://issues.apache.org/jira/browse/TAP5-1696
>
> Desc:
> PageCatalog and ServiceStatus should be protected with this page.
>
> As the above only recently got shipped with T5.3.
>
>
(Oh and I didn't mean to leave my last response hanging - only I'm not
in a position to look at T5.3 code right now, so unfortunately I can't
give much more than a few pointers...)
Steve.
On 2 November 2011 12:52, Chris Collins wrote:
> Just to add to this (which I am sure points to the fact I a
cestatus should be rendered.
As you can hit the other pages I believe the problem is something to
do with this:
Tapestry should include a @WhitelistOnly page annotation
https://issues.apache.org/jira/browse/TAP5-1696
Desc:
PageCatalog and ServiceStatus should be protected with this page.
As the above
Just to add to this (which I am sure points to the fact I am doing something
really stupid) I want to give a bit of a background and a validation (or an
attempt at a validation).
My process embeds jetty and adds the tapestry filter through web.xml (but I am
not using a standard tomcat or jetty
PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
PropertyDisplayBlocks: org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks
PropertyEditBlocks: org.apache.tapestry5.corelib.pages.PropertyEditBlocks
ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
package-info: org.ap
When you start up T5 it lists all the available page class files with
their corresponding URLs, e.g:
ComponentClassResolver - Available pages:
ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus
PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog
Do you see the pages listed?
I dont think that is the case. I had already verified that exception reporting
was working.
I programmatically set tapestry.production-mode=false in one of my AppModule's
(I didnt do it via the web.xml):
configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
.
I have a page I
The pages are "invisible" when not in development mode, so the most
likely case is that you are not actually running in development mode.
On Tue, Nov 1, 2011 at 12:29 PM, Chris Collins
wrote:
> I am a novice at T5 so apologize for what is surely a stupid question.
>
> I am trying out 5.3-rc-1.
>
I am a novice at T5 so apologize for what is surely a stupid question.
I am trying out 5.3-rc-1.
I am trying to get either the pagecatalog or servicestatus pages such:
http://localhost:/
I can render any of my pages but neither of these pages seem to be found. I am
running in developer mode.
Which jar file(s) is it in? I do not use Maven. Thanks.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html
> Sent from the Tapestry - User mailing li
It is beta 9. Which jar file(s) is it in? I do not use Maven. Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html
Sent from the Tapestry - User mailing list archive at Nabble.com
On Fri, 07 Oct 2011 11:07:07 -0300, TG wrote:
I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and
/servicestatus to look at the memory usage etc. But when I hit the URL,
it said not found.
You need to have a very recent snapshot (I don't know if any alpha or beta
ve
alog and
> /servicestatus to look at the memory usage etc. But when I hit the URL, it
> said not found.
>
> How do I configure to get these two functionalities?
>
> Thanks.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceSta
I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and
/servicestatus to look at the memory usage etc. But when I hit the URL, it
said not found.
How do I configure to get these two functionalities?
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com
22 matches
Mail list logo