Wednesday, April 5, 2017

Debugging the loading of files in may be a Linux permissions issue

I'm getting a bit confused deploying PowerAqua. Maybe it is that I am new to tomcat configuration.

Symptom: 200 when it hits index.html, but it 404s when it hits jsp/init.jsp or any other child (css, images...database) from the root.

(1) steps followed:

copy powerqualinked to /var/lib/tomcat7/webapps/poweraqua/ :

Go to localhost:8080/poweraqua/

index.html in /poweraqua/ is:

<meta HTTP-EQUIV="REFRESH" content="0; url=jsp/init.jsp">

jsp/init.jsp 404s

How do I set the path?

Solution?: Perhaps I need a web.xml in WEB-INF that points

Reference: to run poweraqua locally.pdf


OH...chmod 755 /poweraqua/css allows the styling to load :)

No comments:

Post a Comment