• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Tomcat Apache Configuration

B

blaisec

Guest
Hello,

We recently installed plesk 7.5, and tomcat has been activated for one of our domains. I created a .war file (mydomain.war) and deployed it via plesk. I cannot access the index.jsp file, getting an error message - File not found.

Here is what I am trying to do:
- Deploy .war file so that I can access it from root domain. e.g. http://www.mydomain.com/index.jsp (default port 80)

Can I access jsp scripts via http without deploying them as war file on a plesk+tomcat server? How?

Is there a detailed manual on plesk/tomcat configuration?

Cheers

System: RHEL 3.0, Plesk 7.5
 
Hi,

No that is not possible, or you'll have to install tomcat completely outside of plesk.

If you look for the page you deployed, simple click on the link in your Plesk CP / Domain / Tomcat (where you uploaded the war file), this will redirect you to the right link.
You can also use http://www.domain.com/warname/home.jsp

..where /warname is the name of the dir the war created
..home.jsp or whatever is the index page of the appl.

Use your index.html in your httpdocs dir to redirect to the link above, that's simple too:

<head>
<meta http-equiv="refresh" content="0;url=http://www.domain.com/warname/home.jsp">
</head>

Regards,
Bart
 
Originally posted by bartje3
Hi,

No that is not possible, or you'll have to install tomcat completely outside of plesk.

Hi, thanks for the quick response. When you say that is not possible, do you mean it is not possible to run Tomcat on port 80 with Apache on a plesk server, or that you cannot deploy a war file on the web root folder like http://www.mydomain.com/shoppingCart.jsp? Can you explain in reference to these issues? Is there a plesk manual for Tomcat/Apache/port configuration?

Cheers
 
Back
Top