I need to be able to run Tomcat applications from Document Root to access them as www.domainname.com/index.jsp?

Resolution

Firstly, you should deploy an application with Plesk then edit the 'path' value for the appropriate application in tomcat4/conf/server.xml:

path="/application_name"

replace with:

path=""

Additionally, you should create domainname.tld/conf/vhost.conf and add:

<Ifmodule mod_webapp.c>
WebAppConnection domain_tld_Connection1 warp Server_IP_address:9008
WebAppDeploy "yourapps.war" domain_tld_Connection1 "/"
</IfModule>

next, you should rebuild the apache configuration files with:

# /usr/local/psa/admin/sbin/websrvmng -a -v

and restart tomcat.

Now you can access your application with domain.tld path in browser.
  • 75 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Create MS Access DSNLess connection string

Many people have requested this so here it is: "DRIVER={Microsoft Access Driver...

Do you support ASP?

 Yes, we support ASP.

Do you support Cold Fusion?

We do not support or Cold Fusion on our shared hosting servers, however you are more than welcome...

Do you support Servlets/JSP on Windows Server?

Yes, we support Servlet/JSP on our Windows Server.

Enable Parent Paths in Plesk - Windows Server

Many scripts use a function called parent paths. If you are running one of these scripts and...