0 Replies Latest reply on Nov 5, 2018 10:33 AM by securetransfers

    Port tapestry configuration from Websphere to Jboss

    securetransfers

      I am trying to migrate an app from Websphere to Jboss. Now my application deploys. But the URL of the app shows a 404 not found error. When I monitor the log I see something related to Tapestry when trying to access the URL

       

      2018-10-29 14:35:36,090 DEBUG [org.apache.tapestry5.ioc.Registry] (http-10.221.250.223:11500-3) [  1] --> Instantiating service RequestGlobals implementation via org.apache.tapestry5.internal.services.RequestGlobalsImpl() (at RequestGlobalsImpl.java:30) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:308)

      2018-10-29 14:35:36,091 DEBUG [org.apache.tapestry5.ioc.Registry] (http-10.221.250.223:11500-3) [  2] --> Invoking constructor org.apache.tapestry5.internal.services.RequestGlobalsImpl() (at RequestGlobalsImpl.java:30) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:308) (for service 'RequestGlobals')

      2018-10-29 14:35:36,091 DEBUG [org.apache.tapestry5.services.TapestryModule.RequestGlobals] (http-10.221.250.223:11500-3) Invoking constructor org.apache.tapestry5.internal.services.RequestGlobalsImpl() (at RequestGlobalsImpl.java:30) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:308) (for service 'RequestGlobals')

       

       

      Which makes me think that the problem has to do with Tapestry.

       

      Here is the configuration of Tapestry from web.xml :

       

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

      <web-app>

           <display-name>wlp-ecrin-ggr-admin Tapestry 5 Application</display-name>

           <context-param>

                <!-- The only significant configuration for Tapestry 5, this informs Tapestry

                     of where to look for pages, components and mixins. -->

                <param-name>tapestry.app-package</param-name>

                <param-value>net.atos.wlp.ecrin.ggr.admin.tapestry</param-value>

           </context-param>

           <context-param>

                <param-name>tapestry.production-mode</param-name>

                <param-value>true</param-value>

           </context-param>

           <context-param>

                <param-name>com.ibm.ws.webcontainer.invokeFiltersCompatibility</param-name>

                <param-value>true</param-value>

           </context-param>

           <filter>

                <filter-name>CompanyFilterName</filter-name>

                <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>

           </filter>

           <filter-mapping>

                <filter-name>CompanyFilterName</filter-name>

                <url-pattern>/*</url-pattern>

           </filter-mapping>

      </web-app>

       

      I think this line is problematic since it seems to be using a proprietary component of IBM :  <param-name>com.ibm.ws.webcontainer.invokeFiltersCompatibility</param-name>

       

       

      Your help would be very appreciated. Thanks for reading.