RE: T5: "No root element has been defined."

2008-06-17 Thread Brendan McNichols
I fixed the problem.  For the record, to help someone else making the
same upgrade, I needed to update the package name for the TapestryFilter
in the web.xml

-Original Message-
From: Brendan McNichols [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2008 6:45 PM
To: users@tapestry.apache.org
Subject: T5: "No root element has been defined."

Hi All,

 

I just upgraded from 5.0.11 to 5.0.13.  After fixing compile errors
(changing package names from com.apache.tapestry to com.apache.tapstry5)
and running my app, I get an exception with the message "No root element
has been defined.".  Is there something that changed between 11 and 13
to cause this to happen?

 

Thanks!

Brendan

 

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
Ok.  Thanks, Imants.  Several people have offered a similar answer,  
and I appreciate it, but I have tried this.  I have tried *.tml in / 
src/main/resources/.../pages I have tried *.html in the same.  I have  
tried *.tml in /src/main/webapp, and *.html in /src/main/webapp/WEB- 
INF/ (per the old way).


I'm going to check out a fresh copy of trunk re-build, and retry.  The  
crazy thing is that I'm finding this problem with a basic project  
created with quickstart (modified slightly to move Start.html into  
Start.tml in the right place).  I have one page, and that's all.  It's  
not working even at that level.  The tutorial project isn't working  
either, per the trunk copy.




Christian.

On 6-Oct-07, at 3:32 PM, Imants Firsts wrote:


After the change from .html to .tml in the SVN, my page
templates in WEB-INF were not found any more. Moving
them to the corresponding package under main/resources
like component templates solved the problem.

Imants

Quoting Christian Gruber <[EMAIL PROTECTED]>:

I did.  It's not a version thing.  I built

5.0.6-SNAPSHOT from trunk

(as of yesterday), and the pom file pulls in that

version.  (In fact,

m2eclipse plugin in eclipse shows the t5-core project

as the dep).  I

have tried each combination of old and new template

location, and

filename.  I understand the nature of the exception,

just not what I

am specifically not doing.

I should file a JIRA to clarify the exception for

cases where there is

no template, and have the locations searched listed

in the log.  The

problem might be that no root node is defined, but

the cause is no

template, and that can probably be trapped where that

is discovered.


Christian.

On 6-Oct-07, at 6:48 AM, Nick Westgate wrote:


The exception means your Java class was found, but

not the template.


Carefully check your project details against

Marcus's notes below.

Check your pom.xml for the tapestry version etc.

Cheers,
Nick.


Christian Gruber wrote:

Actually, I'm getting it from the tutorial as

well.  That is, I'm

getting
[ERROR] Tapestry 5 Tutorial #1 /:
java.lang.IllegalStateException: No root element

has been defined.

 at

org.apache.tapestry.dom.Document.toMarkup(Document.java:89)

 at
org
.apache
.tapestry


.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:


51) at
org
.apache
.tapestry
.internal
.services
.PageResponseRendererImpl


.renderPageResponse(PageResponseRendererImpl.java:75)
  at

$
PageResponseRenderer_11571e00308


.renderPageResponse($PageResponseRenderer_11571e00308.java)
   ...

 from the trunk/ version of the tutorial project.
Christian.
On 5-Oct-07, at 3:43 PM, Marcus wrote:

Hi Bob,

T505 - templates   .htmlin

src/main/webapp/WEB-INF/   or

src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/

  or

src/main/resources//pages/





http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469


Marcus



-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]




-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]







-

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-06 Thread Imants Firsts
After the change from .html to .tml in the SVN, my page
templates in WEB-INF were not found any more. Moving
them to the corresponding package under main/resources
like component templates solved the problem.

Imants

Quoting Christian Gruber <[EMAIL PROTECTED]>:
> I did.  It's not a version thing.  I built
5.0.6-SNAPSHOT from trunk  
> (as of yesterday), and the pom file pulls in that
version.  (In fact,  
> m2eclipse plugin in eclipse shows the t5-core project
as the dep).  I  
> have tried each combination of old and new template
location, and  
> filename.  I understand the nature of the exception,
just not what I  
> am specifically not doing.
> 
> I should file a JIRA to clarify the exception for
cases where there is  
> no template, and have the locations searched listed
in the log.  The  
> problem might be that no root node is defined, but
the cause is no  
> template, and that can probably be trapped where that
is discovered.
> 
> Christian.
> 
> On 6-Oct-07, at 6:48 AM, Nick Westgate wrote:
> 
> > The exception means your Java class was found, but
not the template.
> >
> > Carefully check your project details against
Marcus's notes below.
> > Check your pom.xml for the tapestry version etc.
> >
> > Cheers,
> > Nick.
> >
> >
> > Christian Gruber wrote:
> >> Actually, I'm getting it from the tutorial as
well.  That is, I'm  
> >> getting
> >> [ERROR] Tapestry 5 Tutorial #1 /:
> >> java.lang.IllegalStateException: No root element
has been defined.
> >>   at
org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> >>   at  
> >> org 
> >> .apache 
> >> .tapestry 
> >>
.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:

> >> 51) at  
> >> org 
> >> .apache 
> >> .tapestry 
> >> .internal 
> >> .services 
> >> .PageResponseRendererImpl 
> >>
.renderPageResponse(PageResponseRendererImpl.java:75) 
   at  
> >> $ 
> >> PageResponseRenderer_11571e00308 
> >>
.renderPageResponse($PageResponseRenderer_11571e00308.java)
...
> >>   from the trunk/ version of the tutorial project.
> >> Christian.
> >> On 5-Oct-07, at 3:43 PM, Marcus wrote:
> >>> Hi Bob,
> >>>
> >>> T505 - templates   .htmlin  
src/main/webapp/WEB-INF/   or
> >>> src/main/resources//pages/
> >>> T506 - templates   .tmlin   src/main/webapp/
   or
> >>> src/main/resources//pages/
> >>>
> >>>
>
http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469
> >>>
> >>> Marcus
> >>
-
> >> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> >> For additional commands, e-mail:
[EMAIL PROTECTED]
> >
> >
-
> > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > For additional commands, e-mail:
[EMAIL PROTECTED]
> >
> 
> 
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-06 Thread Christian Gruber
I did.  It's not a version thing.  I built 5.0.6-SNAPSHOT from trunk  
(as of yesterday), and the pom file pulls in that version.  (In fact,  
m2eclipse plugin in eclipse shows the t5-core project as the dep).  I  
have tried each combination of old and new template location, and  
filename.  I understand the nature of the exception, just not what I  
am specifically not doing.


I should file a JIRA to clarify the exception for cases where there is  
no template, and have the locations searched listed in the log.  The  
problem might be that no root node is defined, but the cause is no  
template, and that can probably be trapped where that is discovered.


Christian.

On 6-Oct-07, at 6:48 AM, Nick Westgate wrote:


The exception means your Java class was found, but not the template.

Carefully check your project details against Marcus's notes below.
Check your pom.xml for the tapestry version etc.

Cheers,
Nick.


Christian Gruber wrote:
Actually, I'm getting it from the tutorial as well.  That is, I'm  
getting

[ERROR] Tapestry 5 Tutorial #1 /:
java.lang.IllegalStateException: No root element has been defined.
  at org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
  at  
org 
.apache 
.tapestry 
.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java: 
51) at  
org 
.apache 
.tapestry 
.internal 
.services 
.PageResponseRendererImpl 
.renderPageResponse(PageResponseRendererImpl.java:75) at  
$ 
PageResponseRenderer_11571e00308 
.renderPageResponse($PageResponseRenderer_11571e00308.java) ...

  from the trunk/ version of the tutorial project.
Christian.
On 5-Oct-07, at 3:43 PM, Marcus wrote:

Hi Bob,

T505 - templates   .htmlin   src/main/webapp/WEB-INF/   or
src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/or
src/main/resources//pages/

http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469

Marcus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-06 Thread Nick Westgate

The exception means your Java class was found, but not the template.

Carefully check your project details against Marcus's notes below.
Check your pom.xml for the tapestry version etc.

Cheers,
Nick.


Christian Gruber wrote:

Actually, I'm getting it from the tutorial as well.  That is, I'm getting

[ERROR] Tapestry 5 Tutorial #1 /:
java.lang.IllegalStateException: No root element has been defined.
at org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
at 
org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:51) 

at 
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:75) 

at 
$PageResponseRenderer_11571e00308.renderPageResponse($PageResponseRenderer_11571e00308.java) 


...



from the trunk/ version of the tutorial project.

Christian.

On 5-Oct-07, at 3:43 PM, Marcus wrote:


Hi Bob,

T505 - templates   .htmlin   src/main/webapp/WEB-INF/   or
src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/or
src/main/resources//pages/

http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469 



Marcus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-05 Thread Christian Gruber
Actually, I'm getting it from the tutorial as well.  That is, I'm  
getting


[ERROR] Tapestry 5 Tutorial #1 /:
java.lang.IllegalStateException: No root element has been defined.
at org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
	at  
org 
.apache 
.tapestry 
.internal.services.MarkupWriterImpl.toMarkup(MarkupWriterImpl.java:51)
	at  
org 
.apache 
.tapestry 
.internal 
.services 
.PageResponseRendererImpl 
.renderPageResponse(PageResponseRendererImpl.java:75)
	at  
$ 
PageResponseRenderer_11571e00308 
.renderPageResponse($PageResponseRenderer_11571e00308.java)

...


from the trunk/ version of the tutorial project.

Christian.

On 5-Oct-07, at 3:43 PM, Marcus wrote:


Hi Bob,

T505 - templates   .htmlin   src/main/webapp/WEB-INF/   or
src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/or
src/main/resources//pages/

http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469

Marcus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-05 Thread Christian Gruber
I'm still gettin g the no root element thing, and that's on a  
quickstart project (with my patch to put Start.tml in the right  
place), with a build from trunk.


Problem is I can't get Start.tml to work in any of the new or old  
locations, in resources or src/main/webapp.  No matter what, I get no  
root element.


Christian

On 5-Oct-07, at 3:43 PM, Marcus wrote:


Hi Bob,

T505 - templates   .htmlin   src/main/webapp/WEB-INF/   or
src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/or
src/main/resources//pages/

http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469

Marcus



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-05 Thread Marcus
Hi Bob,

T505 - templates   .htmlin   src/main/webapp/WEB-INF/   or
src/main/resources//pages/
T506 - templates   .tmlin   src/main/webapp/or
src/main/resources//pages/

http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-tf4515211.html#a12878469

Marcus


Re: t5: no root element has been defined

2007-10-05 Thread Howard Lewis Ship
Sorry that you got caught in the lurch.

Starting with 5.0.6, we have a much better system ... the main web
site represents the most recent formal release, and the nightly build
site contains the latest documentation.

So you SHOULD be able to got to http://tapestry.apache.org/tapestry5
to get the Tapestry 5.0.5 docs, or got to
http://tapestry.formos.com/nightly/tapestry5/ to get the Tapestry
5.0.6-SNAPSHOT documentation.

However, this process started midway through 5.0.6-SNAPSHOT, so the
documentation on the web site reflects the snapshot, not the latest
formal release.

Sorry to give you such headaches!

On 10/5/07, Robin Helgelin <[EMAIL PROTECTED]> wrote:
> On 10/5/07, Heck, Bob <[EMAIL PROTECTED]> wrote:
> > Ok, renamed, rebuilt, redeployed. Made sure old .tml were not there and
> > pages were .html.
> >
> > Same error with html files - No root element has been defined.
>
> In 5.0.5, page html files should be located in WEB-INF, they didn't
> move to webroot until renamed into tml.
>
> --
> regards,
> Robin
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-05 Thread Robin Helgelin
On 10/5/07, Heck, Bob <[EMAIL PROTECTED]> wrote:
> Ok, renamed, rebuilt, redeployed. Made sure old .tml were not there and
> pages were .html.
>
> Same error with html files - No root element has been defined.

In 5.0.5, page html files should be located in WEB-INF, they didn't
move to webroot until renamed into tml.

-- 
regards,
Robin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: t5: no root element has been defined

2007-10-05 Thread Heck, Bob
Ok, renamed, rebuilt, redeployed. Made sure old .tml were not there and
pages were .html.

Same error with html files - No root element has been defined.

I really wish that that's all it was.  But something else is going on.

Any help appreciated.

Thanks,
Bob 

-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 05, 2007 04:10
To: Tapestry users
Subject: Re: t5: no root element has been defined

5.0.5 uses *.html
5.0.6 uses *.tml

Cheers,
Nick.


Heck, Bob wrote:
> Am I really this dense?   I just can't get this to work.
> 
> Simple hello world Start.tml
> Start.java in package described in web.xml
> 
> Using Tapestry 5.0.5
> 
> Try my local:8080/Start and get this
> 
> java.lang.IllegalStateException
> No root element has been defined.
> As a matter of fact, any Tapestry page, same error.
> 
> web.xml settings
>   
>   tapestry.app-package
>   me.test.web.tapestry
>   
> 
>   
>   app
>   
> org.apache.tapestry.TapestryFilter
>   
> 
>   
>   app
>   /*
>   
> ==
> Start.tml in webapp (web root)
>  "http://www.w3.org/TR/html4/loose.dtd";>
> 
> 
>  Insert title here   
> Hello world.  Start.
> 
> 
> ===
> Start.java
> package me.test.web.tapestry.pages;
> public class Start {
>   public Start ()
>   {
>   
>   }
> }
> ==
> 
> What can that error mean? 
> java.lang.IllegalStateException
> No root element has been defined.?
> 
> Thanks
> Bob Heck
> 
> 
> 
> 
> 
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: no root element has been defined

2007-10-05 Thread Nick Westgate

5.0.5 uses *.html
5.0.6 uses *.tml

Cheers,
Nick.


Heck, Bob wrote:

Am I really this dense?   I just can't get this to work.

Simple hello world Start.tml
Start.java in package described in web.xml

Using Tapestry 5.0.5

Try my local:8080/Start and get this

java.lang.IllegalStateException 
No root element has been defined.

As a matter of fact, any Tapestry page, same error.

web.xml settings

tapestry.app-package
me.test.web.tapestry



app

org.apache.tapestry.TapestryFilter



app
/*

==
Start.tml in webapp (web root)
http://www.w3.org/TR/html4/loose.dtd";>



Insert title here


Hello world.  Start.


===
Start.java
package me.test.web.tapestry.pages;
public class Start {
public Start ()
{

}
}
==

What can that error mean? 
java.lang.IllegalStateException 
No root element has been defined.?


Thanks 
Bob Heck










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



re: t5: no root element has been defined

2007-10-05 Thread Kristian Marinkovic
5.0.5 templates have a .html suffix
5.0.6 needs templates with .tml suffix






"Heck, Bob" <[EMAIL PROTECTED]> 
05.10.2007 11:03
Bitte antworten an
"Tapestry users" 


An

Kopie

Thema
t5: no root element has been defined






Am I really this dense?   I just can't get this to work.

Simple hello world Start.tml
Start.java in package described in web.xml

Using Tapestry 5.0.5

Try my local:8080/Start and get this

java.lang.IllegalStateException 
No root element has been defined.
As a matter of fact, any Tapestry page, same error.

web.xml settings
 
 tapestry.app-package
 me.test.web.tapestry
 

 
 app
 
org.apache.tapestry.TapestryFilter
 

 
 app
 /*
 
==
Start.tml in webapp (web root)
http://www.w3.org/TR/html4/loose.dtd";>



Insert title here


Hello world.  Start.


===
Start.java
package me.test.web.tapestry.pages;
public class Start {
 public Start ()
 {
 
 }
}
==

What can that error mean? 
java.lang.IllegalStateException 
No root element has been defined.?

Thanks 
Bob Heck









Re: T5: No root element has been defined

2007-04-25 Thread Howard Lewis Ship

That's the expected, documented behavior (though it is a change from
Tapestry 4).  Templates go in the WEB-INF folder.

On 4/25/07, Tim Sawyer <[EMAIL PROTECTED]> wrote:


Sorted - works now.  With Start.html inside WEB-INF it works, with it
outside
it didn't.

Thanks,

Tim.

On Wednesday 25 April 2007 21:47, Tim Sawyer wrote:
> Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML
> files.
>
> Apologies,
>
> Tim.
>
> On Wednesday 25 April 2007 21:43, Tim Sawyer wrote:
> > Not progress, but a clarification.
> >
> > I get the "no root element has been defined" error whenever I navigate
to
> > a URL that contains a page that exists as an HTML template.  For
example,
> > I have Start.html and CopyOfStart1.html files in the root of my WAR
file.
> >
> > If I go to:
> > http://localhost:8080/warfilename/Start
> > http://localhost:8080/warfilename/
> > or
> > http://localhost:8080/warfilename/CopyOfStart1
> >
> > I get the no root element error.  If I go anywhere else, for example
> >
> > http://localhost:8080/warfilename/Blah
> >
> > I get a 404.
> >
> > Any thoughts anyone?
> >
> > ta,
> >
> > Tim.
> >
> > On Saturday 21 April 2007 15:08, DigitLiao wrote:
> > > I test it. Your html template has no problem.
> > > But where did you put this template?
> > > When I delete test.html, It shows the same error as yours.
> > > The template should be put in the same package as Java file or in
> > > WEB-INF/ that match java package from tapestry app root package.
> > >
> > > 
> > >
> > > On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:
> > > > Hi All,
> > > >
> > > > Can someone give me a clue what this means?  I might still be
having
> > > > supplier
> > > > jar trouble, if that's a pointer.
> > > >
> > > > I get this exception when trying to display my first page in my
first
> > > > T5 application:
> > > >
> > > > An unexpected application exception has occurred.
> > > >
> > > > * java.lang.IllegalStateException
> > > >   No root element has been defined.
> > > >
> > > >   Stack trace
> > > > org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> > > > org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
> > > > MarkupWriterImpl.java:51)
> > > >
> > > >
org.apache.tapestry.internal.services.PageResponseRendererImpl.render
> > > >Pa ge Response (PageResponseRendererImpl.java:49)
> > > >
org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage
> > > >( RootPathDispatcher.java:66)
> > > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:89)
> > > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:49)
> > > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch(
> > > > RootPathDispatcher.java:76)
> > > > org.apache.tapestry.services.TapestryModule$12.service
(TapestryModule
> > > >.j av a
> > > >
> > > > :1201)
> > > >
> > > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > LocalizationFilter.java:43)
> > > > org.apache.tapestry.services.TapestryModule$3.service
> > > > (TapestryModule.java
> > > >
> > > > :736)
> > > >
> > > > org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > > > StaticFilesFilter.java:63)
> > > >
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > > CheckForUpdatesFilter.java:91)
> > > >
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > > CheckForUpdatesFilter.java:82)
> > > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > ConcurrentBarrier.java:77)
> > > >
org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
> > > > CheckForUpdatesFilter.java:104)
> > > > org.apache.tapestry.services.TapestryModule$11.service
(TapestryModule
> > > >.j av a
> > > >
> > > > :1179)
> > > >
> > > > org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
:115)
> > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > > > ApplicationFilterChain.java:235)
> > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > ApplicationFilterChain.java:206)
> > > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > StandardWrapperValve.java:228)
> > > > org.apache.catalina.core.StandardContextValve.invoke (
> > > > StandardContextValve.java:175)
> > > > org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.j
> > > >av a
> > > >
> > > > :128)
> > > >
> > > > org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.j
> > > >av a
> > > >
> > > > :104)
> > > >
> > > > org.apache.catalina.core.StandardEngineValve.invoke (
> > > > StandardEngineValve.java:109)
> > > > org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.jav
> > > >a
> > > >
> > > > :216)
> > > >
> > > > org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java
> > > >:8 44 )
> > > >
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> > > >

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorted - works now.  With Start.html inside WEB-INF it works, with it outside 
it didn't.

Thanks,

Tim.

On Wednesday 25 April 2007 21:47, Tim Sawyer wrote:
> Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML
> files.
>
> Apologies,
>
> Tim.
>
> On Wednesday 25 April 2007 21:43, Tim Sawyer wrote:
> > Not progress, but a clarification.
> >
> > I get the "no root element has been defined" error whenever I navigate to
> > a URL that contains a page that exists as an HTML template.  For example,
> > I have Start.html and CopyOfStart1.html files in the root of my WAR file.
> >
> > If I go to:
> > http://localhost:8080/warfilename/Start
> > http://localhost:8080/warfilename/
> > or
> > http://localhost:8080/warfilename/CopyOfStart1
> >
> > I get the no root element error.  If I go anywhere else, for example
> >
> > http://localhost:8080/warfilename/Blah
> >
> > I get a 404.
> >
> > Any thoughts anyone?
> >
> > ta,
> >
> > Tim.
> >
> > On Saturday 21 April 2007 15:08, DigitLiao wrote:
> > > I test it. Your html template has no problem.
> > > But where did you put this template?
> > > When I delete test.html, It shows the same error as yours.
> > > The template should be put in the same package as Java file or in
> > > WEB-INF/ that match java package from tapestry app root package.
> > >
> > > 
> > >
> > > On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:
> > > > Hi All,
> > > >
> > > > Can someone give me a clue what this means?  I might still be having
> > > > supplier
> > > > jar trouble, if that's a pointer.
> > > >
> > > > I get this exception when trying to display my first page in my first
> > > > T5 application:
> > > >
> > > > An unexpected application exception has occurred.
> > > >
> > > > * java.lang.IllegalStateException
> > > >   No root element has been defined.
> > > >
> > > >   Stack trace
> > > > org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> > > > org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
> > > > MarkupWriterImpl.java:51)
> > > >
> > > > org.apache.tapestry.internal.services.PageResponseRendererImpl.render
> > > >Pa ge Response (PageResponseRendererImpl.java:49)
> > > > org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage
> > > >( RootPathDispatcher.java:66)
> > > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:89)
> > > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > > PageLinkHandlerImpl.java:49)
> > > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch (
> > > > RootPathDispatcher.java:76)
> > > > org.apache.tapestry.services.TapestryModule$12.service(TapestryModule
> > > >.j av a
> > > >
> > > > :1201)
> > > >
> > > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > LocalizationFilter.java:43)
> > > > org.apache.tapestry.services.TapestryModule$3.service
> > > > (TapestryModule.java
> > > >
> > > > :736)
> > > >
> > > > org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > > > StaticFilesFilter.java:63)
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > > CheckForUpdatesFilter.java:91)
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > > CheckForUpdatesFilter.java:82)
> > > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > ConcurrentBarrier.java:77)
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
> > > > CheckForUpdatesFilter.java:104)
> > > > org.apache.tapestry.services.TapestryModule$11.service(TapestryModule
> > > >.j av a
> > > >
> > > > :1179)
> > > >
> > > > org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:115)
> > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > > > ApplicationFilterChain.java:235)
> > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > ApplicationFilterChain.java:206)
> > > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > StandardWrapperValve.java:228)
> > > > org.apache.catalina.core.StandardContextValve.invoke (
> > > > StandardContextValve.java:175)
> > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> > > >av a
> > > >
> > > > :128)
> > > >
> > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> > > >av a
> > > >
> > > > :104)
> > > >
> > > > org.apache.catalina.core.StandardEngineValve.invoke (
> > > > StandardEngineValve.java:109)
> > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> > > >a
> > > >
> > > > :216)
> > > >
> > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> > > >:8 44 )
> > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> > > >ss ( Http11Protocol.java:634)
> > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
> > > >5) java.lang.Thread.run(Thread.java:595)
> > > >
> > > > What's

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Sorry, my bad - the Start.java and CopyOfStart1.java exist, not the HTML 
files.

Apologies,

Tim.

On Wednesday 25 April 2007 21:43, Tim Sawyer wrote:
> Not progress, but a clarification.
>
> I get the "no root element has been defined" error whenever I navigate to a
> URL that contains a page that exists as an HTML template.  For example, I
> have Start.html and CopyOfStart1.html files in the root of my WAR file.
>
> If I go to:
> http://localhost:8080/warfilename/Start
> http://localhost:8080/warfilename/
> or
> http://localhost:8080/warfilename/CopyOfStart1
>
> I get the no root element error.  If I go anywhere else, for example
>
> http://localhost:8080/warfilename/Blah
>
> I get a 404.
>
> Any thoughts anyone?
>
> ta,
>
> Tim.
>
> On Saturday 21 April 2007 15:08, DigitLiao wrote:
> > I test it. Your html template has no problem.
> > But where did you put this template?
> > When I delete test.html, It shows the same error as yours.
> > The template should be put in the same package as Java file or in
> > WEB-INF/ that match java package from tapestry app root package.
> >
> > 
> >
> > On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:
> > > Hi All,
> > >
> > > Can someone give me a clue what this means?  I might still be having
> > > supplier
> > > jar trouble, if that's a pointer.
> > >
> > > I get this exception when trying to display my first page in my first
> > > T5 application:
> > >
> > > An unexpected application exception has occurred.
> > >
> > > * java.lang.IllegalStateException
> > >   No root element has been defined.
> > >
> > >   Stack trace
> > > org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> > > org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
> > > MarkupWriterImpl.java:51)
> > >
> > > org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPa
> > >ge Response (PageResponseRendererImpl.java:49)
> > > org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage(
> > > RootPathDispatcher.java:66)
> > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > PageLinkHandlerImpl.java:89)
> > > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > > PageLinkHandlerImpl.java:49)
> > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch (
> > > RootPathDispatcher.java:76)
> > > org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.j
> > >av a
> > >
> > > :1201)
> > >
> > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > LocalizationFilter.java:43)
> > > org.apache.tapestry.services.TapestryModule$3.service
> > > (TapestryModule.java
> > >
> > > :736)
> > >
> > > org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > > StaticFilesFilter.java:63)
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:91)
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:82)
> > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > ConcurrentBarrier.java:77)
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
> > > CheckForUpdatesFilter.java:104)
> > > org.apache.tapestry.services.TapestryModule$11.service(TapestryModule.j
> > >av a
> > >
> > > :1179)
> > >
> > > org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:115)
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > > ApplicationFilterChain.java:235)
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:206)
> > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > > StandardWrapperValve.java:228)
> > > org.apache.catalina.core.StandardContextValve.invoke (
> > > StandardContextValve.java:175)
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> > >a
> > >
> > > :128)
> > >
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> > >a
> > >
> > > :104)
> > >
> > > org.apache.catalina.core.StandardEngineValve.invoke (
> > > StandardEngineValve.java:109)
> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> > >
> > > :216)
> > >
> > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8
> > >44 )
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
> > > ( Http11Protocol.java:634)
> > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> > > java.lang.Thread.run(Thread.java:595)
> > >
> > > What's the file it's trying to parse?  My HTML is simple (not even any
> > > Tap
> > >
> > > markup), and web.xml looks ok
> > >
> > > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> > > 
> > >   Title
> > > 
> > > 
> > >   The time is not here.
> > > 
> > > 
> > >
> > > 
> > >  > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > > "http://java.sun.com/dtd/web-app_2_3.dtd";>
> > > 
> > > Tit

Re: T5: No root element has been defined

2007-04-25 Thread Tim Sawyer
Not progress, but a clarification.

I get the "no root element has been defined" error whenever I navigate to a 
URL that contains a page that exists as an HTML template.  For example, I 
have Start.html and CopyOfStart1.html files in the root of my WAR file.

If I go to:
http://localhost:8080/warfilename/Start
http://localhost:8080/warfilename/
or
http://localhost:8080/warfilename/CopyOfStart1

I get the no root element error.  If I go anywhere else, for example

http://localhost:8080/warfilename/Blah

I get a 404.

Any thoughts anyone?

ta,

Tim.

On Saturday 21 April 2007 15:08, DigitLiao wrote:
> I test it. Your html template has no problem.
> But where did you put this template?
> When I delete test.html, It shows the same error as yours.
> The template should be put in the same package as Java file or in WEB-INF/
> that match java package from tapestry app root package.
>
> 
>
> On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:
> > Hi All,
> >
> > Can someone give me a clue what this means?  I might still be having
> > supplier
> > jar trouble, if that's a pointer.
> >
> > I get this exception when trying to display my first page in my first T5
> > application:
> >
> > An unexpected application exception has occurred.
> >
> > * java.lang.IllegalStateException
> >   No root element has been defined.
> >
> >   Stack trace
> > org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> > org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
> > MarkupWriterImpl.java:51)
> >
> > org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPage
> >Response (PageResponseRendererImpl.java:49)
> > org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage(
> > RootPathDispatcher.java:66)
> > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > PageLinkHandlerImpl.java:89)
> > org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> > PageLinkHandlerImpl.java:49)
> > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch (
> > RootPathDispatcher.java:76)
> > org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.jav
> >a
> >
> > :1201)
> >
> > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > LocalizationFilter.java:43)
> > org.apache.tapestry.services.TapestryModule$3.service
> > (TapestryModule.java
> >
> > :736)
> >
> > org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > StaticFilesFilter.java:63)
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:91)
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:82)
> > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > ConcurrentBarrier.java:77)
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
> > CheckForUpdatesFilter.java:104)
> > org.apache.tapestry.services.TapestryModule$11.service(TapestryModule.jav
> >a
> >
> > :1179)
> >
> > org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:115)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > ApplicationFilterChain.java:235)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:206)
> > org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:228)
> > org.apache.catalina.core.StandardContextValve.invoke (
> > StandardContextValve.java:175)
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> >
> > :128)
> >
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> >
> > :104)
> >
> > org.apache.catalina.core.StandardEngineValve.invoke (
> > StandardEngineValve.java:109)
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> >
> > :216)
> >
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844
> >) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
> > ( Http11Protocol.java:634)
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> > java.lang.Thread.run(Thread.java:595)
> >
> > What's the file it's trying to parse?  My HTML is simple (not even any
> > Tap
> >
> > markup), and web.xml looks ok
> >
> > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> > 
> >   Title
> > 
> > 
> >   The time is not here.
> > 
> > 
> >
> > 
> >  > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > "http://java.sun.com/dtd/web-app_2_3.dtd";>
> > 
> > Title
> > 
> > tapestry.app-package
> > uk.co.title
> > 
> > 
> > app
> > org.apache.tapestry.TapestryFilter
> > 
> > 
> > app
> > /*
> > 
> > 
> >
> > Any pointers appreciated!
> >
> > Tim.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED

Re: T5: No root element has been defined

2007-04-21 Thread Howard Lewis Ship

There's an existing bug: https://issues.apache.org/jira/browse/TAPESTRY-1345

On 4/21/07, DigitLiao <[EMAIL PROTECTED]> wrote:


I test it. Your html template has no problem.
But where did you put this template?
When I delete test.html, It shows the same error as yours.
The template should be put in the same package as Java file or in WEB-INF/
that match java package from tapestry app root package.



On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:
>
> Hi All,
>
> Can someone give me a clue what this means?  I might still be having
> supplier
> jar trouble, if that's a pointer.
>
> I get this exception when trying to display my first page in my first T5
> application:
>
> An unexpected application exception has occurred.
>
> * java.lang.IllegalStateException
>   No root element has been defined.
>
>   Stack trace
> org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
> org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
> MarkupWriterImpl.java:51)
>
>
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> (PageResponseRendererImpl.java:49)
> org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage(
> RootPathDispatcher.java:66)
> org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> PageLinkHandlerImpl.java:89)
> org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
> PageLinkHandlerImpl.java:49)
> org.apache.tapestry.internal.services.RootPathDispatcher.dispatch (
> RootPathDispatcher.java:76)
> org.apache.tapestry.services.TapestryModule$12.service(
TapestryModule.java
> :1201)
> org.apache.tapestry.internal.services.LocalizationFilter.service(
> LocalizationFilter.java:43)
> org.apache.tapestry.services.TapestryModule$3.service (
TapestryModule.java
> :736)
> org.apache.tapestry.internal.services.StaticFilesFilter.service(
> StaticFilesFilter.java:63)
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:91)
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:82)
> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> ConcurrentBarrier.java:77)
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
> CheckForUpdatesFilter.java:104)
> org.apache.tapestry.services.TapestryModule$11.service(
TapestryModule.java
> :1179)
> org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:115)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:228)
> org.apache.catalina.core.StandardContextValve.invoke (
> StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :104)
> org.apache.catalina.core.StandardEngineValve.invoke (
> StandardEngineValve.java:109)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :216)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:634)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> java.lang.Thread.run(Thread.java:595)
>
> What's the file it's trying to parse?  My HTML is simple (not even any
Tap
>
> markup), and web.xml looks ok
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> 
>   Title
> 
> 
>   The time is not here.
> 
> 
>
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> Title
> 
> tapestry.app-package
> uk.co.title
> 
> 
> app
> org.apache.tapestry.TapestryFilter
> 
> 
> app
> /*
> 
> 
>
> Any pointers appreciated!
>
> Tim.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com


Re: T5: No root element has been defined

2007-04-21 Thread DigitLiao

I test it. Your html template has no problem.
But where did you put this template?
When I delete test.html, It shows the same error as yours.
The template should be put in the same package as Java file or in WEB-INF/
that match java package from tapestry app root package.



On 4/21/07, Tim Sawyer <[EMAIL PROTECTED] > wrote:


Hi All,

Can someone give me a clue what this means?  I might still be having
supplier
jar trouble, if that's a pointer.

I get this exception when trying to display my first page in my first T5
application:

An unexpected application exception has occurred.

* java.lang.IllegalStateException
  No root element has been defined.

  Stack trace
org.apache.tapestry.dom.Document.toMarkup(Document.java:89)
org.apache.tapestry.internal.services.MarkupWriterImpl.toMarkup(
MarkupWriterImpl.java:51)

org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
(PageResponseRendererImpl.java:49)
org.apache.tapestry.internal.services.RootPathDispatcher$1.renderPage(
RootPathDispatcher.java:66)
org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
PageLinkHandlerImpl.java:89)
org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(
PageLinkHandlerImpl.java:49)
org.apache.tapestry.internal.services.RootPathDispatcher.dispatch (
RootPathDispatcher.java:76)
org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java
:1201)
org.apache.tapestry.internal.services.LocalizationFilter.service(
LocalizationFilter.java:43)
org.apache.tapestry.services.TapestryModule$3.service (TapestryModule.java
:736)
org.apache.tapestry.internal.services.StaticFilesFilter.service(
StaticFilesFilter.java:63)
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:91)
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:82)
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
ConcurrentBarrier.java:77)
org.apache.tapestry.internal.services.CheckForUpdatesFilter.service (
CheckForUpdatesFilter.java:104)
org.apache.tapestry.services.TapestryModule$11.service(TapestryModule.java
:1179)
org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:115)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:228)
org.apache.catalina.core.StandardContextValve.invoke (
StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:104)
org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:216)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
Http11Protocol.java:634)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
java.lang.Thread.run(Thread.java:595)

What's the file it's trying to parse?  My HTML is simple (not even any Tap

markup), and web.xml looks ok

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

  Title


  The time is not here.




http://java.sun.com/dtd/web-app_2_3.dtd";>

Title

tapestry.app-package
uk.co.title


app
org.apache.tapestry.TapestryFilter


app
/*



Any pointers appreciated!

Tim.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]