Hi, Jemery, thx for your sincere support.
I've figured out the cause, which is because I copied all the jars to the
lib folder (including source and javadoc jars).
Never crossed my mind that those additional jars can be problems. Probably
the HTML pages in javadoc jars conflict with the app's, if I may guess.
Thx a lot for your enlightment anyway. BTW, is jetty powerful enough for
production?
Do I have to reRun the app (restart Jetty) to make a change effective
everytime I update a class?

Thx n Regards,
Gw

On Tue, Oct 6, 2009 at 10:52 PM, Jeremy Thomerson <[email protected]
> wrote:

> Hundreds if not thousands of Wicket applications are deployed on Tomcat.
> The error describes a problem in your HTML - not sure why it would only
> appear in Tomcat unless the file was mangled during deployment.  Please
> post
> the contents of the HTML file that supposedly has a mismatched tag.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Tue, Oct 6, 2009 at 10:48 AM, Gw <[email protected]> wrote:
>
> > Hi,
> >
> > I'm a newbie in Wicket.
> > I use Databinder toolkit (wicket+hibernate) to help me develop DB
> > application rapidly.
> > With the built-in Jetty, the development is quite smooth, however, when
> > trying to run my app on Tomcat 5.5 (Java 5), I faced the following error.
> I
> > wonder if wicket is really compatible with Tomcat, since there's no
> problem
> > when running from eclipse (Jetty).
> >
> > ....
> > <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
> > &nbsp;<A
> HREF="../../../../../../org/apache/wicket/markup/html/pages/BrowserInfoPage.html"
> > title="class in org.apache.wicket.markup.html.pages"><B>PREV
> > CLASS</B></A>&nbsp;
> > &nbsp;<A
> >
> HREF="../../../../../../org/apache/wicket/markup/html/pages/InternalErrorPage.html"
> > title="class in org.apache.wicket.markup.html.pages"><B>NEXT
> > CLASS</B></A></FONT></TD>
> > <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
> >   <A
> >
> HREF="../../../../../../index.html?org/apache/wicket/markup/html/pages/ExceptionErrorPage.html"
> > target="_top"><B>FRAMES</B></A>  &nbsp;
> > &nbsp;<A HREF="ExceptionErrorPage.html" target="_top"><B>NO
> FRAMES</B></A>
> > &nbsp;
> > &nbsp;<SCRIPT type="text/javascript">
> >   <!--
> >   if(window==top) {
> >     document.writeln('<A
> > HREF="../../../../../../allclasses-noframe.html"><B>All
> Classes</B></A>');
> >   }
> >   //-->
> > </SCRIPT>
> > <NOSCRIPT>
> >   <A HREF="../../../../../../allclasses-noframe.html"><B>All
> > Classes</B></A>
> > </NOSCRIPT>
> >
> >
> > </FONT></TD>
> > </TR>
> > <TR>
> > <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
> >   SUMMARY:&nbsp;<A
> >
> HREF="#nested_classes_inherited_from_class_org.apache.wicket.Page">NESTED</A>&nbsp;|&nbsp;<A
> >
> HREF="#fields_inherited_from_class_org.apache.wicket.Page">FIELD</A>&nbsp;|&nbsp;<A
> > HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A
> > HREF="#method_summary">METHOD</A></FONT></TD>
> > <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
> > DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A
> > HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A
> > HREF="#method_detail">METHOD</A></FONT></TD>
> > </TR>
> > </TABLE>
> > <A NAME="skip-navbar_bottom"></A>
> > <!-- ======== END OF BOTTOM NAVBAR ======= -->
> >
> > <HR>
> > Copyright &#169; 2004-2008 <a href="http://apache.org";>Apache Software
> > Foundation</a>. All Rights Reserved.
> > </BODY>
> > </HTML>
> > , index = 4, current = [Raw markup]]
> >     at
> > org.apache.wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:393)
> >     at org.apache.wicket.markup.MarkupParser.parse(MarkupParser.java:270)
> >     at
> >
> org.apache.wicket.markup.loader.SimpleMarkupLoader.loadMarkup(SimpleMarkupLoader.java:52)
> >     at
> >
> org.apache.wicket.markup.loader.InheritedMarkupMarkupLoader.loadMarkup(InheritedMarkupMarkupLoader.java:62)
> >     at
> >
> org.apache.wicket.markup.loader.DefaultMarkupLoader.loadMarkup(DefaultMarkupLoader.java:55)
> >     at
> > org.apache.wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:458)
> >     at
> >
> org.apache.wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:553)
> >     at
> org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:319)
> >     at
> >
> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:215)
> >     at
> >
> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:343)
> >     at org.apache.wicket.Page.onRender(Page.java:1463)
> >     at org.apache.wicket.Component.render(Component.java:2317)
> >     at org.apache.wicket.Page.renderPage(Page.java:904)
> >     at
> >
> org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:63)
> >     at
> >
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
> >     at org.apache.wicket.RequestCycle.respond(RequestCycle.java:1190)
> >     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1257)
> >     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
> >     at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> >     at
> > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
> >     at
> >
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> >     at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> >     at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >     at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> >     at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> >     at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> >     at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> >     at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> >     at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
> >     at
> >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> >     at
> >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> >     at
> >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> >     at
> >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
> >     at java.lang.Thread.run(Thread.java:595)
> > Caused by: java.text.ParseException: Tag '<DT>' (line 101, column 1) has
> a
> > mismatched close tag at '</DL>' (line 102, column 1)
> >     at
> >
> org.apache.wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:144)
> >     at
> >
> org.apache.wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:60)
> >     at
> >
> org.apache.wicket.markup.parser.filter.WicketLinkTagHandler.nextTag(WicketLinkTagHandler.java:94)
> >     at
> >
> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
> >     at
> >
> org.apache.wicket.markup.parser.filter.WicketNamespaceHandler.nextTag(WicketNamespaceHandler.java:72)
> >     at
> >
> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
> >     at
> >
> org.apache.wicket.markup.parser.filter.WicketMessageTagHandler.nextTag(WicketMessageTagHandler.java:81)
> >     at
> >
> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
> >     at
> >
> org.apache.wicket.markup.parser.filter.HtmlHeaderSectionHandler.nextTag(HtmlHeaderSectionHandler.java:77)
> >     at
> >
> org.apache.wicket.markup.parser.filter.HeadForceTagIdHandler.nextTag(HeadForceTagIdHandler.java:77)
> >     at
> >
> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
> >     at
> >
> org.apache.wicket.markup.parser.filter.OpenCloseTagExpander.nextTag(OpenCloseTagExpander.java:51)
> >     at
> >
> org.apache.wicket.markup.parser.AbstractMarkupFilter.nextComponentTag(AbstractMarkupFilter.java:82)
> >     at
> >
> org.apache.wicket.markup.parser.filter.EnclosureHandler.nextTag(EnclosureHandler.java:76)
> >     at
> >
> org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler.nextTag(RelativePathPrefixHandler.java:116)
> >     at
> > org.apache.wicket.markup.MarkupParser.getNextTag(MarkupParser.java:302)
> >     at
> > org.apache.wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:322)
> >     ... 34 more
> >
> >
> > I cut the preceeding HTML (before the stack trace) since it's really
> long,
> > which to my surprise, when I saved it as an html file, it's apparently a
> > javadoc page for class ExceptionErrorPage (attached). What's wrong
> actually?
> >
> >
> > Lots of thanks for your help,
> > Gw
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>

Reply via email to