You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Bill <bh...@collaborativefusion.com> on 2003/03/24 22:13:34 UTC
T2.3 -- Cannot find Default layout
I'm getting the following error:
Horrible Exception: java.lang.ClassNotFoundException:
Requested Page not found: Default
Turbine looked in the following modules.packages path:
[org.apache.turbine.modules, com.collabfusion.mrccores.modules]
Here are the relevant entries in tr.props:
module.packages=org.apache.turbine.modules,
com.collabfusion.mrccores.modules
tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
services.VelocityService.default.layout = VelocityOnlyLayout
Did I miss an entry to edit?
Also, the template files have been updated according to the wiki
instructions.
-b
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: T2.3 -- Cannot find Default layout
Posted by Bill <bh...@collaborativefusion.com>.
On Thu, 2003-03-27 at 14:15, George Clernon wrote:
> Do you have the assemblybroker service on?
Yes
> Can you send on your TR.p? From looking at the source for T2.3 there
> would seem to be a DefaultPage.java. Prehaps there is a setting in
> TR.p for DefaultPage.java rather than Default.java
There was no such setting in 2.2 (that i knew of) and I didnt add one.
DefaultPage is not new to 2.3 either so I dont think this is the
problem. The only 'default' page setting I see is part of the
VelocityService configuration:
services.VelocityService.default.page = VelocityPage
Interestingly enough I did have to change a different setting in the
same block:
services.VelocityService.default.layout = VelocityOnlyLayout
In addition to this change, I had to make the following:
tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
The fact that this is a 'page' setting leads me to believe that the
error is making reference to one those changes above.
I've attached a copy of tr.props.
-b
Re: T2.3 -- Cannot find Default layout
Posted by George Clernon <ge...@analog.com>.
Looks like it cannot find the fallback screen class. Could be totally
wrong as I'm not using T2.3 but try placing a class that extends
VelocityScreen in modules.screens so that there is a fallback class.
-George.
Bill wrote:
> I'm reposting this due to lack of replies. My original assumption was
> that I was making a configuration mistake. To confirm this, I started
> fresh on a new box, and I followed all of the various instruction sets.
>
> I received the exact same error.
>
> Is anyone even using the TorqueSecurityService? I'm getting the
> impression the answer is no.
>
> -b
>
> On Mon, 2003-03-24 at 16:13, Bill wrote:
>
>>I'm getting the following error:
>>
>>Horrible Exception: java.lang.ClassNotFoundException:
>>
>> Requested Page not found: Default
>> Turbine looked in the following modules.packages path:
>> [org.apache.turbine.modules, com.collabfusion.mrccores.modules]
>>
>>Here are the relevant entries in tr.props:
>>
>>module.packages=org.apache.turbine.modules,
>>com.collabfusion.mrccores.modules
>>
>>tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
>>
>>services.VelocityService.default.layout = VelocityOnlyLayout
>>
>>Did I miss an entry to edit?
>>
>>Also, the template files have been updated according to the wiki
>>instructions.
>>
>>-b
>>
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> 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
Re: T2.3 -- Cannot find Default layout
Posted by Bill <bh...@collaborativefusion.com>.
I'm reposting this due to lack of replies. My original assumption was
that I was making a configuration mistake. To confirm this, I started
fresh on a new box, and I followed all of the various instruction sets.
I received the exact same error.
Is anyone even using the TorqueSecurityService? I'm getting the
impression the answer is no.
-b
On Mon, 2003-03-24 at 16:13, Bill wrote:
> I'm getting the following error:
>
> Horrible Exception: java.lang.ClassNotFoundException:
>
> Requested Page not found: Default
> Turbine looked in the following modules.packages path:
> [org.apache.turbine.modules, com.collabfusion.mrccores.modules]
>
> Here are the relevant entries in tr.props:
>
> module.packages=org.apache.turbine.modules,
> com.collabfusion.mrccores.modules
>
> tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
>
> services.VelocityService.default.layout = VelocityOnlyLayout
>
> Did I miss an entry to edit?
>
> Also, the template files have been updated according to the wiki
> instructions.
>
> -b
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org