1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Conf Plesk only for Tomcat Java

Discussion in 'Plesk for Linux - 8.x and Older' started by jitendra, Jan 23, 2008.

  1. jitendra

    jitendra Guest

    0
     
    Hi!
    I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it.

    1.Apache on port 80
    2.Tomcat on port 8080/9080
    3.Mysql on port 3306

    Now problem is this, i need to run only java project on this server from port 80 .this time user type my site name then default page call index.html or .php file from root directory of Apache. so how it can be possible to run java project from this server default port 80 after deploye .war(java project) file to this server. Because user who wants to access my site does not know its port number for Tomcat as here is 9080 and also deploy file name. Pls look below for detail about problem

    Suppose my sit name is www.example.com and hosted on Linux dedicate server with Plesk install on it with Apache, Tomcat and Mysql.

    Now for running my java project on it, i need to enter www.example.com:9080/java_projrect_name/ in browser. So how can i run this project only from URL www.example.com and it will call default file .jsp from java_project_name directory. I do not want to enter port number and java_project_name in url and my client who wants to access this project did not know about port number as well as project name . He knows only about URL as www.example.com and when he browses it then it should call default page from java_project directory. So to implement this what should we need to do? Pls help.

    Thanks
     
  2. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    mod_jk do this for you, look in the swsoft kb ....
     
  3. jitendra

    jitendra Guest

    0
     
    Hi!
    Thanks for your reply. But i don't understand by swsoft kb ? pls explain in detail.
    Thanks again.
     
  4. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
  5. jitendra

    jitendra Guest

    0
     
    Hi!
    Thanks again for your reply . i have made changes according to swsoft kb but still, when i type url like www.example.com in browser then it open index.php file from apache htdocs. so how it will call .jsp pages from tomcat. Should i need to change in apache conf file for this or i need to change in tomcat conf files. I also placed hello.jsp file in htdocs and try to call it from url www.example.com/hello.jsp then it gave me error as

    Bad request!
    Your browser (or proxy) sent a request that this server could not understand.
    If you think this is a server error, please contact the master.
    Error 400.
    pls advice.
     
Loading...