Re: jboss + ear + wicket

2009-04-22 Thread Francis De Brabandere
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
franci...@gmail.com 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
 nino.martinez.w...@gmail.com 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 franci...@gmail.com:
 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
 nino.martinez.w...@gmail.com 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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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)

Re: jboss + ear + wicket

2009-04-22 Thread nino martinez wael
Hehe, that usually happens for me too, when im 100% sure that theres
an error I then go ahead to create the quickstart and 90% of the time
I see what the error are in the creation of the quickstart :)

2009/4/22 Francis De Brabandere franci...@gmail.com:
 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
 franci...@gmail.com 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
 nino.martinez.w...@gmail.com 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 franci...@gmail.com:
 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
 nino.martinez.w...@gmail.com 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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 
 

Re: jboss + ear + wicket

2009-04-21 Thread Francis De Brabandere
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
nino.martinez.w...@gmail.com 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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 
 

Re: jboss + ear + wicket

2009-04-21 Thread nino martinez wael
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 franci...@gmail.com:
 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
 nino.martinez.w...@gmail.com 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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 
 

Re: jboss + ear + wicket

2009-04-21 Thread Francis De Brabandere
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
nino.martinez.w...@gmail.com 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 franci...@gmail.com:
 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
 nino.martinez.w...@gmail.com 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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 

Re: jboss + ear + wicket

2009-04-17 Thread Francis De Brabandere
application.xml

?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC
-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
http://java.sun.com/dtd/application_1_3.dtd;
application
  display-nameupdater-ear/display-name
  description.../description
  module
web
  web-uriupdater-client-web-1.0.0-SNAPSHOT.war/web-uri
  context-root/updater-client-web/context-root
/web
  /module
/application

web.xml

?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 version=2.4

display-nameclient-web/display-name

 !--
  There are three means to configure Wickets configuration mode
and they are
  tested in the order given.
  1) A system property: -Dwicket.configuration
  2) servlet specific init-param
  3) context specific context-param
  The value might be either development (reloading when templates 
change)
  or deployment. If no configuration is found, development is
the default.
--

filter
filter-namewicket.client-web/filter-name

filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
param-nameapplicationClassName/param-name

param-valuecom.xxx.web.UpdaterApplication/param-value
/init-param
/filter

 filter-mapping
  filter-namewicket.client-web/filter-name
url-pattern/*/url-pattern
 /filter-mapping


/web-app

the war contains the wicket libs (WEB-INF/lib)
the ear contains other libs we use (lib)

On Fri, Apr 17, 2009 at 4:47 AM, Grigoriy Tkachuk
grigoriy.tkac...@makingpages.ru wrote:
 16.04.2009 23:58, Francis De Brabandere пишет:

 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 

Re: jboss + ear + wicket

2009-04-17 Thread nino martinez wael
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 franci...@gmail.com:
 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)
     

Re: jboss + ear + wicket

2009-04-17 Thread nino martinez wael
Ahh I think it was Martijn.. and just a general maven thing perhaps..

2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 

Re: jboss + ear + wicket

2009-04-17 Thread nino martinez wael
anyhow applying Krasnays fix or was it Bill solved it :

  build
   plugins
 plugin
   artifactIdmaven-eclipse-plugin/artifactId
   version2.5.1/version
 /plugin
   /plugins
 /build

2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 
 

Re: jboss + ear + wicket

2009-04-17 Thread nino martinez wael
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 nino.martinez.w...@gmail.com:
 Ahh I think it was Martijn.. and just a general maven thing perhaps..

 2009/4/17 nino martinez wael nino.martinez.w...@gmail.com:
 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 franci...@gmail.com:
 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 
 

Re: jboss + ear + wicket

2009-04-16 Thread Grigoriy Tkachuk

16.04.2009 23:58, Francis De Brabandere пишет:

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)

   
Hi! can you show your xml descriptors in ear, and web.xml? I deploy 
wicket in ear on JBoss 4.2.3 without problems. I think you have problems 
in descriptor file.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org