• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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