1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Tomcat Apache Configuration

Discussion in 'Plesk for Linux - 8.x and Older' started by blaisec, May 3, 2005.

  1. blaisec

    blaisec Guest

    0
     
    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
     
  2. bartje3

    bartje3 Guest

    0
     
    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
     
  3. blaisec

    blaisec Guest

    0
     
    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
     
Loading...