hkhcoder / vprofile-project

172 stars 1.08k forks source link

Tomcat server #41

Open Shaheer4636 opened 3 days ago

Shaheer4636 commented 3 days ago

I have added all vprofile-2.war to /var/lib/tomcat9/webapps/ROOT.war. But still the webapp is no accessible on the browser. Its giving 404 error.

I have checked application.properties. they are correct and fine

hurvai commented 3 days ago

Facing the same issue as well. Revised multiple times, no luck yet :/ image

@hkhcoder can you please have a look?

Shaheer4636 commented 3 days ago

@hkhcoder please review the issue. I have been trying since yesterday but all progress.

Shaheer4636 commented 3 days ago

There are the logs of tomcat9, the java version is openjdk 11.0.23 2024-04-16

Jul 03 18:34:06 ip-172-31-87-137 tomcat9[7478]: Server startup in [18178] milliseconds Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thr> Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [].> Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1427) Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1052) Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.checkThreadContextClassLoader(AbandonedConnectionCleanupThread.ja> Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:90) Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Jul 03 18:34:07 ip-172-31-87-137 tomcat9[7478]: at java.base/java.lang.Thread.run(Thread.java:829)