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

Tomcat issues

Discussion in 'Plesk for Linux - 8.x and Older' started by coglethorpe, Jul 22, 2005.

  1. coglethorpe

    coglethorpe Guest

    0
     
    I have the Tomcat service running on my server.

    When I try to enable Tomcat for a domain, I get this message:

    "Unable to turn Tomcat Service on: Unable to install Tomcat vhost: tomcatmng: Document /var/tomcat2/conf/server.xml not contain service PSA tag"

    Any ideas?
     
  2. bartje3

    bartje3 Guest

    0
     
    I thought plesk 7.5.x comes with Tomcat 4 :eek:

    This is what you will need:

    In order for your server to support JSP and Java Servlet you need to install the following RPMs
    from the 'opt/java' and 'Third_Party' directories in your Plesk archive

    mod_webapp-4.1.29-41psa.fc2.i586.rpm
    psa-tomcat-configurator-7.5.3-fc2.build75050506.13.noarch.rpm
    j2sdk-1_4_2-linux-i586.rpm
    regexp-1.3-1jpp.noarch.rpm
    tomcat4-4.1.24-full.2jpp.noarch.rpm
    tomcat4-admin-webapps-4.1.24-full.2jpp.noarch.rpm
    tomcat4-webapps-4.1.24-full.2jpp.noarch.rpm
    xerces-j-1.2.1-2.noarch.rpm

    Then it will work... ;)

    Regards,
    Bart
     
  3. Traged1

    Traged1 Guest

    0
     
    Did you recently overwite your /etc/tomcat4/servers.xml file? If so I hope you have a backup to restore?
     
  4. coglethorpe

    coglethorpe Guest

    0
     
    If I'm going to do all that, I may as well remove everything, downgrade my plesk key and install Tomcat and Java myself.

    There was an installation done, but it is messed up and I can't get my hosting provider to fix it properly.
     
  5. coglethorpe

    coglethorpe Guest

    0
     
    It has a servers.xml file that I have never touched.

    I tried swapping it out with a file called server.xml.rpmsave, but then I got this error:

    LifecycleException: Memory database file /var/tomcat4/psa-users/mydomainname.com.xml cannot be read

    Oh, that and when Tomcat stops it says:

    SEVERE: Caught exception trying to unlock accept.

    That's separate from the PSA issue, but it is another example of how messed up the install is.

    I installed Java and Tomcat on my PC and had it all running quickly. I'm at a week with this setup, and still no luck.
     
Loading...