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-name>updater-ear</display-name>
  <description>...</description>
  <module>
    <web>
      <web-uri>updater-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-name>client-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-name>wicket.client-web</filter-name>
                
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
                <init-param>
                        <param-name>applicationClassName</param-name>
                        
<param-value>com.xxx.web.UpdaterApplication</param-value>
                </init-param>
        </filter>

 <filter-mapping>
  <filter-name>wicket.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
<[email protected]> 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 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: [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]

Reply via email to