As usual I found the problem creating a quickstart. It was a file name problem.
I'm used to woking in linux but for this project I work in windows. It seems jetty/glassfish classloaders are not case-sensitive but the jboss one is. That's why one of my markup files was not found on jboss. (Logpanel.html instead of LogPanel.html). Using linux I would have seen this problem long before :-s Thanks for the replys though. On Tue, Apr 21, 2009 at 1:33 PM, Francis De Brabandere <[email protected]> wrote: > I know that is supported but he should not be looking for these files > as the markup is available in ParentClass.html > > for example you have a page with a form with some components in it > > in you page you add the form and to the form you add components > now he tries to find ParentClass$FormClass.html but that markup is > contained in the ParentClass.html > > this only happens on jboss using an ear file, deploying the plain war > works, and deploying the ear on glassfish works > > I'll create an example app to make this more clear. > > Thanks for the replys > > On Tue, Apr 21, 2009 at 12:48 PM, nino martinez wael > <[email protected]> wrote: >> ParentClass$InnerClass.html are supported.. I think, I've done that >> with forms atleast.. Could you provide a sample? >> >> 2009/4/21 Francis De Brabandere <[email protected]>: >>> Nino, >>> >>> I think your problem is not related. >>> >>> The html files are found, pages without inner classes are correctly >>> rendered. It's just that he does not seem to be finding markup that is >>> contained in the parent markup. He looks for >>> ParentClass$InnerClass.html. >>> >>> and we are not using eclipse for that build, standard maven ear and >>> war/jar packaging >>> >>> I might create a sample project and submit a jira issue later this week >>> >>> Francis >>> >>> On Fri, Apr 17, 2009 at 11:50 PM, nino martinez wael >>> <[email protected]> wrote: >>>> Nope not general.. However if you use a eclipse plugin to >>>> publish/deploy with It might be the case anyhow.. >>>> >>>> 2009/4/17 nino martinez wael <[email protected]>: >>>>> Ahh I think it was Martijn.. and just a general maven thing perhaps.. >>>>> >>>>> 2009/4/17 nino martinez wael <[email protected]>: >>>>>> Hi Francis, >>>>>> >>>>>> I think I know the problem.. Remember what igor wrote a few days ago >>>>>> about the new maven eclipse:eclipse plugin not allowing html resources >>>>>> along in main java or test only in resources.. Anyway that seems the >>>>>> issue I've run into now on my ubuntu box. I get the exact same thing >>>>>> as you do when I run it in a embedded jetty..: >>>>>> >>>>>> WicketMessage: Markup of type 'html' for component >>>>>> 'org.wicketstuff.HomePage' not found. Enable debug messages for >>>>>> org.apache.wicket.util.resource to get a list of all filenames tried.: >>>>>> [Page class = org.wicketstuff.HomePage, id = 0, version = 0] >>>>>> >>>>>> Root cause: >>>>>> >>>>>> org.apache.wicket.markup.MarkupNotFoundException: Markup of type >>>>>> 'html' for component 'org.wicketstuff.HomePage' not found. Enable >>>>>> debug messages for org.apache.wicket.util.resource to get a list of >>>>>> all filenames tried.: [Page class = org.wicketstuff.HomePage, id = 0, >>>>>> version = 0] >>>>>> at >>>>>> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226) >>>>>> at >>>>>> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351) >>>>>> at org.apache.wicket.Page.onRender(Page.java:1515) >>>>>> at org.apache.wicket.Component.render(Component.java:2421) >>>>>> at org.apache.wicket.Page.renderPage(Page.java:926) >>>>>> at >>>>>> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262) >>>>>> at >>>>>> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) >>>>>> at >>>>>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200) >>>>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271) >>>>>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370) >>>>>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:501) >>>>>> at >>>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455) >>>>>> at >>>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288) >>>>>> at >>>>>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) >>>>>> at >>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) >>>>>> at >>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >>>>>> at >>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) >>>>>> at >>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) >>>>>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) >>>>>> at >>>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) >>>>>> at org.mortbay.jetty.Server.handle(Server.java:295) >>>>>> at >>>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) >>>>>> at >>>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827) >>>>>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) >>>>>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) >>>>>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) >>>>>> at >>>>>> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) >>>>>> at >>>>>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) >>>>>> >>>>>> 2009/4/16 Francis De Brabandere <[email protected]>: >>>>>>> Hi, >>>>>>> >>>>>>> Are there any known problems on deploying wicket web applications on >>>>>>> JBoss? >>>>>>> >>>>>>> I'm deploying an ear containing a war, this works correctly on >>>>>>> glassfish but on jboss wicket gives me this exception: >>>>>>> Markup of type 'html' for component >>>>>>> 'xxx.updater.web.page.HomePage$MainLogPanel' not found >>>>>>> [stacktrace at the bottom of this mail] >>>>>>> >>>>>>> I have this kind of exection on all pages using (anonymous) inner >>>>>>> classes (non-static) >>>>>>> >>>>>>> Deploying only the war does not give me this problem (jboss 4.x and 5.x) >>>>>>> Any idea? >>>>>>> >>>>>>> >>>>>>> org.apache.wicket.markup.MarkupNotFoundException: Markup of type >>>>>>> 'html' for component 'xxx.updater.web.page.HomePage$MainLogPanel' not >>>>>>> found. Enable debug messages for org.apache.wicket.util.resource to >>>>>>> get a list of all filenames tried.: [MarkupContainer [Component id = >>>>>>> log]] >>>>>>> at >>>>>>> org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:226) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:632) >>>>>>> at >>>>>>> org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:114) >>>>>>> at org.apache.wicket.Component.renderComponent(Component.java:2596) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521) >>>>>>> at org.apache.wicket.Component.render(Component.java:2421) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1399) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510) >>>>>>> at org.apache.wicket.Component.renderComponent(Component.java:2596) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521) >>>>>>> at org.apache.wicket.Component.render(Component.java:2421) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) >>>>>>> at >>>>>>> org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1586) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1510) >>>>>>> at org.apache.wicket.Component.renderComponent(Component.java:2596) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1521) >>>>>>> at org.apache.wicket.Component.render(Component.java:2421) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:229) >>>>>>> at >>>>>>> org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1426) >>>>>>> at >>>>>>> org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1537) >>>>>>> at org.apache.wicket.Page.onRender(Page.java:1522) >>>>>>> at org.apache.wicket.Component.render(Component.java:2421) >>>>>>> at org.apache.wicket.Page.renderPage(Page.java:926) >>>>>>> at >>>>>>> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262) >>>>>>> at >>>>>>> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) >>>>>>> at >>>>>>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1200) >>>>>>> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271) >>>>>>> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370) >>>>>>> at org.apache.wicket.RequestCycle.request(RequestCycle.java:501) >>>>>>> at >>>>>>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455) >>>>>>> at >>>>>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288) >>>>>>> >>>>>>> -- >>>>>>> http://www.somatik.be >>>>>>> Microsoft gives you windows, Linux gives you the whole house. >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> 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] >>>> >>>> >>> >>> >>> >>> -- >>> http://www.somatik.be >>> Microsoft gives you windows, Linux gives you the whole house. >>> >>> --------------------------------------------------------------------- >>> 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] >> >> > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. > -- http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
