• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Run jsp scripts

vaarsn

New Pleskian
I read the official articles on how to implement Tomcat on Plesk servers. Right now I can access to one of my domains via port 8080 and I can see Tomcat7 default page. I added *.jsp script to httpdocs folder connected to my domain, but I can't serve it. I tried http://domain.tld:8080/index.html with simple java code included, but only html servers and I see source code of my Java app. I tried to run http://domain.tld:8080/index.html and http://domain.tld/index.jsp but I'm getting ERROR 404.

What I'm doing wrong?

Thanks.
 
Yes.

My results are following:
CT-116-bash-4.2# netstat -plant|grep 9080
tcp6 0 0 :::9080 :::* LISTEN 21002/java

CT-116-bash-4.2# service tomcat status
Redirecting to /bin/systemctl status tomcat.service
● tomcat.service - Apache Tomcat Web Application Container
Loaded: loaded (/usr/lib/systemd/system/tomcat.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2017-04-18 03:23:11 CDT; 10h ago
Main PID: 21002 (java)
CGroup: /system.slice/tomcat.service
└─21002 /usr/lib/jvm/java/bin/java -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat ...

Apr 18 06:49:38 plesk.iamodules.com server[21002]: Apr 18, 2017 11:49:38 AM org.apache.catalina.realm.LockOutRealm authenticate
Apr 18 06:49:38 plesk.iamodules.com server[21002]: WARNING: An attempt was made to authenticate the locked user "manager"
Apr 18 06:49:39 plesk.iamodules.com server[21002]: Apr 18, 2017 11:49:39 AM org.apache.catalina.realm.LockOutRealm authenticate
Apr 18 06:49:39 plesk.iamodules.com server[21002]: WARNING: An attempt was made to authenticate the locked user "manager"
 
Back
Top