jeudi 8 août 2019

Jboss deploys war successfully but gives 404 error when tried in browser

I am trying to deploy a spring mvc based project to JBOSS EAP 6.4 when I deploy it on server it gets deployed correctly without any error but when I try to open it on browser I get 404 error. This was initially springboot application which was converted to faceted project web module 3.0. This project is built with the help of gradle As this project is developed by someone else I am not able to find the cause. Please help me with this.

Attaching the server logs

16:27:42,474 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.6.Final-redhat-1
16:27:42,904 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1
16:27:43,028 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) starting
16:27:45,230 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found my-project.war in deployment directory. To trigger deployment create a file called my-project.war.dodeploy

16:27:45,278 INFO  [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.13.GA-redhat-1
16:27:45,293 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
16:27:45,293 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.13.GA-redhat-1
16:27:45,434 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.3.4.Final-redhat-1
16:27:45,481 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
16:27:45,559 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem
16:27:45,606 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
16:27:45,622 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013371: Activating Security Subsystem
16:27:45,638 INFO  [org.jboss.as.security] (MSC service thread 1-8) JBAS013370: Current PicketBox version=4.1.1.Final-redhat-1
16:27:45,653 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
16:27:45,803 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main, 1.2]
16:27:45,975 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service
16:27:45,975 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
16:27:46,006 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.31.Final-redhat-1)
16:27:46,428 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8084
16:27:46,429 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8084
16:27:46,668 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-eap-6.4\standalone\deployments
16:27:46,683 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.4.Final-redhat-1
16:27:46,699 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "my-project.war" (runtime-name: "my-project.war")
16:27:46,746 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1:9999
16:27:46,761 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on 127.0.0.1:4447
16:27:47,199 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS015867: Deployment "deployment.my-project.war" is using a private module ("org.jboss.as.jmx:main") which may be changed or removed in future versions without notice.
16:27:47,199 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS015867: Deployment "deployment.my-project.war" is using a private module ("org.jboss.as.jmx:main") which may be changed or removed in future versions without notice.
16:27:47,199 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS015867: Deployment "deployment.my-project.war" is using a private module ("org.jboss.ironjacamar.jdbcadapters:main") which may be changed or removed in future versions without notice.
16:27:47,199 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS015867: Deployment "deployment.my-project.war" is using a private module ("org.jboss.ironjacamar.jdbcadapters:main") which may be changed or removed in future versions without notice.
16:27:47,387 INFO  [org.jboss.web] (ServerService Thread Pool -- 51) JBAS018210: Register web context: /my-project
16:27:47,615 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Deployed "my-project.war" (runtime-name : "my-project.war")
16:27:47,630 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
16:27:47,630 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
16:27:47,630 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started in 5816ms - Started 215 of 253 services (60 services are lazy, passive or on-demand)

Please help me with this




Aucun commentaire:

Enregistrer un commentaire