Application deployed on JBoss EAP 6.4 but ERROR 404 when accessing the URL












0















I am trying to migrate an app (in an ear file) that was originally working on Websphere 8 to JBoss EAP 6.4. The app now deploys fine as I get the "deployed" status in the "deployments" folder of Jboss. I know I have the right URL because I get an answer from Tapestry on the log of the server. But I don't see the app, I only see a 404 not found page.



Here is the structure of the ear file for you to see :



application.ear
.
.
...lib
...META-INF
...firstwar.war
.
.
...META-INF
...static
...WEB-INF
...secondwar.war
.
.
...META-INF
...WEB-INF
...core.jar


Here are my 2 web.xml files



<?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.companyname.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>Ecrin</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Ecrin</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>




<?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">
<listener>
<listener-class>net.company name.xa.eff.server.EasyFlowServerListener</listener-class>
</listener>
<servlet>
<!-- Identification -->
<servlet-name>startAdmin</servlet-name>
<servlet-class>net.companyname.wlp.ecrin.ggr.admin.StartAdmin</servlet-class>
<!-- Load this servlet when the application starts (call the init() method of the servlet) -->
<load-on-startup>5</load-on-startup>
</servlet>
</web-app>


Any help would be very much appreciated, thank you for your time



PS :



I've also thought that the problem comes from Tapestry and tried this solution but it didn't seem to work https://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss6Dot1?action=recall&rev=1










share|improve this question





























    0















    I am trying to migrate an app (in an ear file) that was originally working on Websphere 8 to JBoss EAP 6.4. The app now deploys fine as I get the "deployed" status in the "deployments" folder of Jboss. I know I have the right URL because I get an answer from Tapestry on the log of the server. But I don't see the app, I only see a 404 not found page.



    Here is the structure of the ear file for you to see :



    application.ear
    .
    .
    ...lib
    ...META-INF
    ...firstwar.war
    .
    .
    ...META-INF
    ...static
    ...WEB-INF
    ...secondwar.war
    .
    .
    ...META-INF
    ...WEB-INF
    ...core.jar


    Here are my 2 web.xml files



    <?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.companyname.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>Ecrin</filter-name>
    <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Ecrin</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    </web-app>




    <?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">
    <listener>
    <listener-class>net.company name.xa.eff.server.EasyFlowServerListener</listener-class>
    </listener>
    <servlet>
    <!-- Identification -->
    <servlet-name>startAdmin</servlet-name>
    <servlet-class>net.companyname.wlp.ecrin.ggr.admin.StartAdmin</servlet-class>
    <!-- Load this servlet when the application starts (call the init() method of the servlet) -->
    <load-on-startup>5</load-on-startup>
    </servlet>
    </web-app>


    Any help would be very much appreciated, thank you for your time



    PS :



    I've also thought that the problem comes from Tapestry and tried this solution but it didn't seem to work https://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss6Dot1?action=recall&rev=1










    share|improve this question



























      0












      0








      0








      I am trying to migrate an app (in an ear file) that was originally working on Websphere 8 to JBoss EAP 6.4. The app now deploys fine as I get the "deployed" status in the "deployments" folder of Jboss. I know I have the right URL because I get an answer from Tapestry on the log of the server. But I don't see the app, I only see a 404 not found page.



      Here is the structure of the ear file for you to see :



      application.ear
      .
      .
      ...lib
      ...META-INF
      ...firstwar.war
      .
      .
      ...META-INF
      ...static
      ...WEB-INF
      ...secondwar.war
      .
      .
      ...META-INF
      ...WEB-INF
      ...core.jar


      Here are my 2 web.xml files



      <?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.companyname.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>Ecrin</filter-name>
      <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
      </filter>
      <filter-mapping>
      <filter-name>Ecrin</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      </web-app>




      <?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">
      <listener>
      <listener-class>net.company name.xa.eff.server.EasyFlowServerListener</listener-class>
      </listener>
      <servlet>
      <!-- Identification -->
      <servlet-name>startAdmin</servlet-name>
      <servlet-class>net.companyname.wlp.ecrin.ggr.admin.StartAdmin</servlet-class>
      <!-- Load this servlet when the application starts (call the init() method of the servlet) -->
      <load-on-startup>5</load-on-startup>
      </servlet>
      </web-app>


      Any help would be very much appreciated, thank you for your time



      PS :



      I've also thought that the problem comes from Tapestry and tried this solution but it didn't seem to work https://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss6Dot1?action=recall&rev=1










      share|improve this question
















      I am trying to migrate an app (in an ear file) that was originally working on Websphere 8 to JBoss EAP 6.4. The app now deploys fine as I get the "deployed" status in the "deployments" folder of Jboss. I know I have the right URL because I get an answer from Tapestry on the log of the server. But I don't see the app, I only see a 404 not found page.



      Here is the structure of the ear file for you to see :



      application.ear
      .
      .
      ...lib
      ...META-INF
      ...firstwar.war
      .
      .
      ...META-INF
      ...static
      ...WEB-INF
      ...secondwar.war
      .
      .
      ...META-INF
      ...WEB-INF
      ...core.jar


      Here are my 2 web.xml files



      <?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.companyname.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>Ecrin</filter-name>
      <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
      </filter>
      <filter-mapping>
      <filter-name>Ecrin</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      </web-app>




      <?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">
      <listener>
      <listener-class>net.company name.xa.eff.server.EasyFlowServerListener</listener-class>
      </listener>
      <servlet>
      <!-- Identification -->
      <servlet-name>startAdmin</servlet-name>
      <servlet-class>net.companyname.wlp.ecrin.ggr.admin.StartAdmin</servlet-class>
      <!-- Load this servlet when the application starts (call the init() method of the servlet) -->
      <load-on-startup>5</load-on-startup>
      </servlet>
      </web-app>


      Any help would be very much appreciated, thank you for your time



      PS :



      I've also thought that the problem comes from Tapestry and tried this solution but it didn't seem to work https://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss6Dot1?action=recall&rev=1







      java java-ee web-applications jboss jboss-eap-6






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 29 '18 at 16:49







      Badboy

















      asked Nov 22 '18 at 10:19









      BadboyBadboy

      43




      43
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53428691%2fapplication-deployed-on-jboss-eap-6-4-but-error-404-when-accessing-the-url%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53428691%2fapplication-deployed-on-jboss-eap-6-4-but-error-404-when-accessing-the-url%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          404 Error Contact Form 7 ajax form submitting

          How to know if a Active Directory user can login interactively

          TypeError: fit_transform() missing 1 required positional argument: 'X'