Wednesday, April 5, 2017

Debugging the loading of files in PowerAqua...it 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:
Download: https://sourceforge.net/projects/poweraqua/files/code/webapps-tomcat/poweraqualinked.zip

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

Go to localhost:8080/poweraqua/

index.html in /poweraqua/ is:

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

jsp/init.jsp 404s

How do I set the path?

https://tomcat.apache.org/tomcat-7.0-doc/config/context.html
https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html
https://www.mulesoft.com/tcat/tomcat-classpath

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

Reference: https://sourceforge.net/projects/poweraqua/files/documentation/how to run poweraqua locally.pdf

--------------

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

No comments:

Post a Comment