From user-return-219279-archive-asf-public=cust-asf.ponee.io@struts.apache.org Sat Feb 23 19:52:38 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6BBD0180675 for ; Sat, 23 Feb 2019 20:52:37 +0100 (CET) Received: (qmail 18480 invoked by uid 500); 23 Feb 2019 19:52:36 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 18469 invoked by uid 99); 23 Feb 2019 19:52:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Feb 2019 19:52:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id EE29EC22D2 for ; Sat, 23 Feb 2019 19:52:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.501 X-Spam-Level: X-Spam-Status: No, score=0.501 tagged_above=-999 required=6.31 tests=[JMQ_SPF_NEUTRAL=0.5, KAM_SHORT=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id SgMWbyPitVJP for ; Sat, 23 Feb 2019 19:52:32 +0000 (UTC) Received: from dubby.jlhimpel.net (dubby.jlhimpel.net [47.50.223.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8ACE96107D for ; Sat, 23 Feb 2019 19:52:32 +0000 (UTC) Received: from dubby.jlhimpel.net (dubby.jlhimpel.net [192.168.1.188]) by dubby.jlhimpel.net (Postfix) with ESMTPA id 41EAA20F92 for ; Sat, 23 Feb 2019 13:52:26 -0600 (CST) Message-ID: Subject: Jboss 7.2 gives 404 after deployment From: "John W. Himpel" Reply-To: john@jlhimpel.net To: user@struts.apache.org Date: Sat, 23 Feb 2019 13:52:26 -0600 Organization: Himpel Family Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Greetings, I have a very small Struts web app that I developed under Red Hat Developer Studio. I am using Struts 2.5.20, Jboss 7.2.0. Right-click in on the project name in Red Hat Developer Studio, select properties->Web Project Settings and the Context root: shows a "learning". After deployment, in Firefox I enter the following url: " http://localhost:8080/learning/UserAction.action" and I get a 404 response. I have tried every variation of url strings that I can think of and everything returns a 404 response. JBoss 7.2.0 standalone server.log 2019-02-22 17:07:02,490 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0001: Content added at location /home/jwhimpel/EAP- 7.2.0/standalone/data/content/b4/f3236590274c68445ad55b03656b282e0425f1 /content 2019-02-22 17:07:02,492 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 128) WFLYUT0022: Unregistered web context: '/learning-0.0.1-SNAPSHOT' from server 'default-server' 2019-02-22 17:07:02,550 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment learning-0.0.1- SNAPSHOT.war (runtime-name: learning-0.0.1-SNAPSHOT.war) in 58ms 2019-02-22 17:07:02,551 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "learning- 0.0.1-SNAPSHOT.war" (runtime-name: "learning-0.0.1-SNAPSHOT.war") 2019-02-22 17:07:05,345 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0004: Deploying JDBC-compliant driver class org.hsqldb.jdbc.JDBCDriver (version 2.4) 2019-02-22 17:07:05,345 WARN [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0013: Deployment learning-0.0.1-SNAPSHOT.war contains CDI annotations but no bean archive was found (no beans.xml or class with bean defining annotations was present). 2019-02-22 17:07:05,365 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = learning-0.0.1- SNAPSHOT.war_org.hsqldb.jdbc.JDBCDriver_2_4 2019-02-22 17:07:05,389 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 156) WFLYUT0021: Registered web context: '/learning-0.0.1-SNAPSHOT' for server 'default-server' 2019-02-22 17:07:05,410 INFO [org.jboss.as.server] (DeploymentScanner- threads - 1) WFLYSRV0016: Replaced deployment "learning-0.0.1- SNAPSHOT.war" with deployment "learning-0.0.1-SNAPSHOT.war" 2019-02-22 17:07:05,419 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0002: Content removed from location /home/jwhimpel/EAP- 7.2.0/standalone/data/content/8d/df8d999263bba04385d5ec7d9be0c010c651e9 /content struts.xml regex:[a-zA-Z]* listUser /register.jsp /register.jsp listUser web.xml learning struts2 org.apache.struts2.dispatcher.filter.StrutsPrep areAndExecuteFilter struts2 /* index.jsp pom.xml 4.0.0 net.jlhimpel learning 0.0.1-SNAPSHOT war learning UTF- 8 maven-compiler-plugin 3.6.1 UTF-8 1.8 1.8 org.mortbay.jetty jetty-maven-plugin 8.1.16.v20140903 CTRL+C 8999 xwork.loggerFactory com.opensymphony.xwork2.util.logging .log4j2.Log4j2LoggerFactory 10 ${basedir}/src/main/webapp/< /webAppSourceDirectory> ${basedir}/src/main/webapp/WEB- INF/web.xml learning javax.servlet javax.servlet-api 4.0.1 provided org.apache.struts struts2-core 2.5.20 org.apache.struts struts2-convention-plugin 2.5.20 com.google.code struts2-fullhibernatecore- plugin 2.2 org.hibernate hibernate-core 5.4.1.Final org.hibernate hibernate-annotations 3.5.6-Final org.hibernate.common hibernate-commons-annotations 5.1.0.Final org.hibernate.validator hibernate-validator 6.1.0.Alpha3 org.apache.commons commons-collections4 4.3 commons-logging commons-logging 1.2 org.hibernate ejb3-persistence 1.0.2.GA org.hsqldb hsqldb 2.4.1 org.javassist javassist 3.24.1-GA javax.transaction jta 1.1 org.junit.jupiter junit-jupiter-api 5.4.0 test org.slf4j slf4j-log4j12 1.8.0-beta4 provided war file structure 0 Fri Feb 22 17:06:50 CST 2019 META-INF/ 134 Fri Feb 22 17:06:48 CST 2019 META-INF/MANIFEST.MF 0 Fri Feb 22 15:55:28 CST 2019 WEB-INF/ 0 Fri Feb 22 17:06:48 CST 2019 WEB-INF/lib/ 0 Fri Feb 22 15:55:28 CST 2019 WEB-INF/classes/ 0 Fri Feb 22 15:55:28 CST 2019 WEB-INF/classes/net/ 0 Fri Feb 22 15:55:28 CST 2019 WEB-INF/classes/net/jlhimpel/ 0 Fri Feb 22 15:55:28 CST 2019 WEB- INF/classes/net/jlhimpel/learning/ 0 Fri Feb 22 15:55:28 CST 2019 WEB- INF/classes/net/jlhimpel/learning/dao/ 0 Fri Feb 22 15:55:28 CST 2019 WEB- INF/classes/net/jlhimpel/learning/domain/ 0 Fri Feb 22 15:55:28 CST 2019 WEB- INF/classes/net/jlhimpel/learning/web/ 819 Fri Feb 22 16:01:26 CST 2019 WEB-INF/web.xml 443432 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/antlr-2.7.6.jar 559366 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/commons-collections- 3.1.jar 57779 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/commons-fileupload- 1.2.1.jar 87776 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/commons-io-1.3.2.jar 245274 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/commons-lang-2.3.jar 52915 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/commons-logging-1.1.jar 313898 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/dom4j-1.6.1.jar 50583 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/ejb3-persistence.jar 870292 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/freemarker-2.3.13.jar 706710 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/hsqldb.jar 597476 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/javassist-3.9.0.GA.jar 15071 Sat Feb 16 13:40:32 CST 2019 WEB-INF/lib/jta-1.1.jar 121070 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/junit-3.8.1.jar 391834 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/log4j-1.2.15.jar 168081 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/ognl-2.6.11.jar 23445 Sat Feb 16 13:40:32 CST 2019 WEB-INF/lib/slf4j-api-1.5.8.jar 9679 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/slf4j-log4j12-1.5.8.jar 2287261 Fri Feb 22 13:27:54 CST 2019 WEB-INF/lib/xwork-2.1.2.jar 1638078 Thu Feb 07 15:48:30 CST 2019 WEB-INF/lib/struts2-core- 2.5.20.jar 1524587 Fri Jan 25 13:34:08 CST 2019 WEB-INF/lib/freemarker-2.3.28.jar 236399 Fri Jan 25 13:34:08 CST 2019 WEB-INF/lib/ognl-3.1.21.jar 264060 Fri Jan 25 13:34:10 CST 2019 WEB-INF/lib/log4j-api-2.11.1.jar 72446 Fri Jan 25 13:34:10 CST 2019 WEB-INF/lib/commons-fileupload- 1.4.jar 214788 Fri Jan 25 13:34:10 CST 2019 WEB-INF/lib/commons-io-2.6.jar 501879 Fri Jan 25 13:34:10 CST 2019 WEB-INF/lib/commons-lang3-3.8.1.jar 87094 Thu Feb 07 15:48:30 CST 2019 WEB-INF/lib/struts2-convention- plugin-2.5.20.jar 53259 Sat Feb 02 15:53:06 CST 2019 WEB-INF/lib/asm-5.2.jar 47197 Sat Feb 02 15:53:06 CST 2019 WEB-INF/lib/asm-commons-5.2.jar 29582 Sat Feb 02 15:53:06 CST 2019 WEB-INF/lib/asm-tree-5.2.jar 56843 Fri Feb 22 14:06:06 CST 2019 WEB-INF/lib/struts2- fullhibernatecore-plugin-2.2.jar 7091486 Fri Feb 22 10:01:04 CST 2019 WEB-INF/lib/hibernate-core- 5.4.1.Final.jar 66469 Wed Jan 30 18:51:28 CST 2019 WEB-INF/lib/jboss-logging- 3.3.2.Final.jar 164556 Sat Feb 16 13:28:52 CST 2019 WEB-INF/lib/javax.persistence-api- 2.2.jar 777669 Fri Feb 22 10:01:04 CST 2019 WEB-INF/lib/javassist-3.24.0-GA.jar 3240307 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/byte-buddy-1.9.5.jar 445288 Fri Feb 22 10:00:56 CST 2019 WEB-INF/lib/antlr-2.7.7.jar 26290 Fri Feb 22 10:01:02 CST 2019 WEB-INF/lib/jboss-transaction- api_1.2_spec-1.1.1.Final.jar 187548 Fri Feb 22 10:01:02 CST 2019 WEB-INF/lib/jandex-2.0.5.Final.jar 65100 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/classmate-1.3.4.jar 56674 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/javax.activation-api- 1.2.0.jar 323600 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/dom4j-2.1.1.jar 128076 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/jaxb-api-2.3.1.jar 1093432 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/jaxb-runtime-2.3.1.jar 70288 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/txw2-2.3.1.jar 25523 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/istack-commons-runtime- 3.0.7.jar 36073 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/stax-ex-1.8.jar 311876 Fri Feb 22 10:01:06 CST 2019 WEB-INF/lib/FastInfoset-1.2.15.jar 365546 Sat Feb 16 13:40:28 CST 2019 WEB-INF/lib/hibernate-annotations- 3.5.6-Final.jar 71283 Sat Feb 16 13:40:26 CST 2019 WEB-INF/lib/hibernate-commons- annotations-3.2.0.Final.jar 100884 Sat Feb 16 13:40:32 CST 2019 WEB-INF/lib/hibernate-jpa-2.0-api- 1.0.0.Final.jar 76204 Fri Feb 22 10:01:02 CST 2019 WEB-INF/lib/hibernate-commons- annotations-5.1.0.Final.jar 1243828 Fri Feb 22 14:36:30 CST 2019 WEB-INF/lib/hibernate-validator- 6.1.0.Alpha3.jar 93107 Fri Feb 22 14:36:30 CST 2019 WEB-INF/lib/validation-api- 2.0.1.Final.jar 753996 Fri Feb 22 16:59:46 CST 2019 WEB-INF/lib/commons-collections4- 4.3.jar 61829 Thu Jan 24 17:50:38 CST 2019 WEB-INF/lib/commons-logging-1.2.jar 50583 Fri Feb 22 16:59:48 CST 2019 WEB-INF/lib/ejb3-persistence- 1.0.2.GA.jar 1552127 Fri Feb 22 16:59:50 CST 2019 WEB-INF/lib/hsqldb-2.4.1.jar 777727 Sun Feb 03 15:13:08 CST 2019 WEB-INF/lib/javassist-3.24.1-GA.jar 12440 Fri Feb 22 17:06:20 CST 2019 WEB-INF/lib/slf4j-log4j12-1.8.0- beta4.jar 489884 Fri Feb 22 17:06:18 CST 2019 WEB-INF/lib/log4j-1.2.17.jar 530 Fri Feb 22 17:06:34 CST 2019 WEB-INF/classes/log4j2.xml 940 Fri Feb 22 17:06:34 CST 2019 WEB-INF/classes/struts.xml 881 Fri Feb 22 17:06:34 CST 2019 WEB-INF/classes/hibernate.cfg.xml 2314 Fri Feb 22 17:06:32 CST 2019 WEB- INF/classes/net/jlhimpel/learning/dao/UserDAOImpl.class 429 Fri Feb 22 17:06:32 CST 2019 WEB- INF/classes/net/jlhimpel/learning/dao/UserDAO.class 2032 Fri Feb 22 17:06:32 CST 2019 WEB- INF/classes/net/jlhimpel/learning/domain/User.class 2933 Fri Feb 22 17:06:32 CST 2019 WEB- INF/classes/net/jlhimpel/learning/web/UserAction.class 322 Fri Feb 22 13:38:38 CST 2019 index.jsp 2003 Fri Feb 22 13:38:38 CST 2019 register.jsp 0 Fri Feb 22 17:06:52 CST 2019 META-INF/maven/ 0 Fri Feb 22 17:06:52 CST 2019 META-INF/maven/net.jlhimpel/ 0 Fri Feb 22 17:06:52 CST 2019 META- INF/maven/net.jlhimpel/learning/ 4723 Fri Feb 22 17:06:10 CST 2019 META- INF/maven/net.jlhimpel/learning/pom.xml 114 Fri Feb 22 17:06:48 CST 2019 META- INF/maven/net.jlhimpel/learning/pom.properties Any suggestions or debugging tips would be greatly appreciated. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org