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

Acces to port 8080 using domain name

Discussion in 'Plesk for Windows - 8.x and Older' started by jefke2212, Aug 20, 2006.

  1. jefke2212

    jefke2212 Guest

    0
     
    Hello,

    I have plesk running on a Windows 2003 server. Tomcat is on port 8080. When I want to access tomcat I must use http://<domain name>/<tomcatappname> This is ok for me.
    But when I want to access tomcat with port 8080 this doesn't work for http://<domain_name>:8080 BUT it does work when I use the server ip address: http://<server_ip>:8080

    Anybody has an idea of what I need to do make the port 8080 available with the domein names?

    Thnx
    Jefff
     
  2. adrianodalpra

    adrianodalpra Guest

    0
     
  3. jefke2212

    jefke2212 Guest

    0
     
    Mmm, the problem is I really need the port 8080 :)
    Maybe there is a directory where the request on http://<domain_nam>:8080 goes to other than the default tomcat root page?
    I'm going to look further. If I find I solution I'll certainly post it here. Or if somebody else knows a solutions? ;-)

    Greetings
    Jefff
     
  4. Traged1

    Traged1 Guest

    0
     
    I have the same problem, also more troubling is the fact that once I try to enable Tomcat for a domain, PLESK just hangs and waits about 15 minutes before it reloads, and most times it just timesout. Anyone know why this would be happening?
     
  5. adrianodalpra

    adrianodalpra Guest

    0
     
    I solved the problem.
    Now my IIS is running Tomcat applications using port 80 http. Jakarta_Redirector.dll ISAPI is working fine.

    Try the following:

    1) Connect to psa database server (mySQL or MSSQL) and make backup of psa database (just in case, we never know when something becomes wrong).

    2) Run the statements below on psa database:
    - delete from domainservices where type='tomcat'
    - delete from webapps

    3) Make backups of the folders:
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\conf\PSA
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-users
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-wars
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-webapps
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\work\psa

    4) Remove the folders:
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\conf\PSA
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-users
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-wars
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-webapps
    - C:\Program Files\SWsoft\Plesk\Additional\Tomcat\work\psa

    5) Uninstall Tomcat. When uninstall ask if you want to remove everything answer YES.

    6) Reinstall Tomcat

    7) Restart IIS. (iisreset)

    8) Log on to Plesk Control Panel and enable Tomcat on websites that you wish JSP running. This will recreate all folders removed on step 5.

    9) Reupload the war files using Plesk Control Panel from backup of folder C:\Program Files\SWsoft\Plesk\Additional\Tomcat\psa-wars. (you did this backup on step 4).

    After this all Tomcat applications changes its status to running and wesites will be able to access the applications on port 80.
    Sample: http://www.mydomain.com/application/application.jsp

    I could not be sure if this will work for you but worked fine for me.

    Hope it helps. Good luck.

    Adriano Dal Prá
    Advant Tecnologia
     
  6. jefke2212

    jefke2212 Guest

    0
     
    Nice done :)

    But my problem is not that users need to access the tomcat application using port 8080.
    I have one user that links his domain name to: http://<my_domain_name>:8080 because his domain name provider doesn't let him change the A-record. I recently moved to a new server and now he don't need to add the port anymore. BUT he says that it is my fault and he don't want to do changes at his side. He paid for his hosting for a year so I can't kick him off and he is a real pain in the ***. :)
    So, I need to be able to access tomcat on port 8080 using my domain. For me, the weird thing is that http://<ip_server>:8080 works fine but with a domein name it doesn't!

    Any suggestions please :)

    Greetings
    Jefff
     
Loading...