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

Problem running and removing tomcat web application.

Discussion in 'Plesk for Windows - 8.x and Older' started by webhostireland2, Sep 21, 2005.

  1. webhostireland2

    webhostireland2 Guest

    0
     
    Hi,

    Problem running and removing tomcat web application.

    Client has uploaded .war tomcat web application using tomcat GUI icon and when you try to start it says "unable to start up tomcat web application : possible reason - tomcat service is not currently running on this server".

    Tomcat service is running in services and I can access port :8080 ok.

    When I try to remove tomcat web application it says "unable to remove webapplication object: unable to query tomcat manager: connect failed.

    Any ideas ?

    Thanks.
    Dave
     
  2. Mr.Incredible

    Mr.Incredible Guest

    0
     
    Hi !

    Try to check port 9080 as well.
     
  3. webhostireland2

    webhostireland2 Guest

    0
     
    Hi,

    Thanks. Found out with the help of SW-Soft tech support that the problem was because the domain name that tomcat was installed to was not pointing to the server.

    I had to point it to server and restart plesk and everything worked fine.

    Hope this helps someone else.

    Thanks,
    Dave
     
  4. Traged1

    Traged1 Guest

    0
     
    Could you explain how you pointed it to the correct domain?
     
  5. webhostireland2

    webhostireland2 Guest

    0
     
    Hi,

    Make sure the domain name resolves to your plesk server and not another hosting providers server.

    Try pinging domain name in a dos box, e.g. ping domain.com to make sure the IP is your plesk server.

    If the domain name currently points to the plesk server and it doesnt work it might be another issue.

    Thanks,
    Dave
     
  6. Traged1

    Traged1 Guest

    0
     
    Yes the domains are resolving.

    Could you please confirm which ports we need to have open for Tomcat? I have 9080 and 8080.

    When using PLESK and accessing a domain's "Tomcat" button plesk just hangs and sits there for atleast 10 minutes. This is the same for all domains and not just one inparticular. Has anyone got any idea's as to what is happening and how to resolve the issue?
     
  7. webhostireland2

    webhostireland2 Guest

    0
     
    Traged1,

    As far as I know its port 8080, this is the port I can connect to the tomcat service on.

    Try access main server ip on port 8080 to see if you get the apache tomcat server.

    http://serverip:8080/

    I am not sure what could cause this but maybe someone else will have an idea. swsoft should give better error messages.

    Thanks,
    Dave
     
  8. Traged1

    Traged1 Guest

    0
     
    Yes, thank you I have the defualt Tomcat page at http://<IP>:8080 And now that I have opened port 8080 the PLESK Tomcat button appears to work great. That must have been the issue.
     
  9. webhostireland2

    webhostireland2 Guest

    0
     
    Traged1,

    Excellent ! great when things work out the way they should :)

    Cheers,
    Dave
     
  10. logan@jatol

    logan@jatol Guest

    0
     
    I am having the exact same issue. I can view http://server-ip:8080/ as the Apache Tomcat just like normal. The added all the ports I could think of to the firewall and even turned off the firewall and I still will just hang.

    Any ideas?
     
  11. webhostireland2

    webhostireland2 Guest

    0
     
    Hi,

    Can you access port 8080 from the server itself using remote desktop ?

    Thanks,
    Dave
     
  12. logan@jatol

    logan@jatol Guest

    0
     
    Yes port 8080 loads fine from my office and from inside the server via RDC.
     
  13. maxsoft71

    maxsoft71 Guest

    0
     
    hostname resolve

    HI , you told that domani name has to point on tomcat server. My question is tomcat wich domain name resolve? www.something.com or something.com? In the second case do have I to create the dns zone?
    after I upload any war file this is the error I get from tomcat:
    Unable to start up Java web application: Unable to query Tomcat Manager: Resolving host timed out: eudosia.com

    Can Anyone help me?

    Thanks.
     
  14. webhostireland2

    webhostireland2 Guest

    0
     
    Hi,

    www.eudosia.com resolves to 80.94.113.240

    Make sure eudosia.com resolves to your server IP also.

    You need to add in A record for eudosia.com into your DNS.

    Thanks,
    Dave
     
  15. maxsoft71

    maxsoft71 Guest

    0
     
    thanks, I wiil fix It and try to reinstall java app.
     
Loading...