Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 32 FirstFirst 1 2 3 4 12 ... LastLast
Results 16 to 30 of 466
  1. #16
    Member
    Join Date
    Aug 2003
    Posts
    142

    Default

    Would like to offer JSP page hosting to customers - could you advise any links to gain some knowledge that will hold us in good stead for offering this to customers - would like to know a little bit about this and the basics needed to maintain the service before offering to our customers.

    Any help appreciated.
    Mike

  2. #17
    Member Planet_Master's Avatar
    Join Date
    Apr 2002
    Location
    New Yorker
    Posts
    260

    Default

    From Apache site:
    http://jakarta.apache.org/tomcat/tom...doc/index.html

    coreservlets.com:
    http://www.coreservlets.com/Apache-T...l/#Change-Port

    OReilly:
    http://www.onjava.com/pub/a/onjava/2...mcat_tips.html

    Doug Sparling
    http://www.dougsparling.com/comp/howto/linux_java.html


    You are better off knowing everything you need to know in configuring for the safest, securest and most efficient Tomcat.
    I hope the above links helps all who install.
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

  3. #18
    Member Planet_Master's Avatar
    Join Date
    Apr 2002
    Location
    New Yorker
    Posts
    260

    Default

    The only problem I am having is in chkserv.d doesnt want to show tomcat status, here whats in my file:

    #SERVICE = PORT, SEND, RESPONSE, RESTART COMMAND
    service[Tomcat_JSP (5.0.19)]=8082,GET / HTTP/1.0,HTTP/1..,/usr/sbin/stoptomcat;/usr/sbin/starttomcat

    Any help would be appreciated...

    I ran /etc/init.d/chkservd restart
    and rebooted but no go...
    Last edited by Planet_Master; 04-12-2004 at 12:33 AM.
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

  4. #19
    Member Planet_Master's Avatar
    Join Date
    Apr 2002
    Location
    New Yorker
    Posts
    260

    Default

    Nevermind, got it working. Had an error in the original file, just a space but that does make all the difference.
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

  5. #20
    Member
    Join Date
    Apr 2004
    Posts
    72

    Default IsItWorking

    Hi,

    I have got TomCat working on port 8080 and can run the examples from there. I also am able to add servlets to an account from WHM - however when trying to run a test .jsp from the account I get a 500 error! This I cannot seem to get rid of - anyone got any ideas?

    Also I am wondering where the IsItWorking class and hello.jsp files are as they are not in /usr/local/jakarta/conf/ as detailed in the cpinstall.sh file for transfer to my skel directory.

    Thanks for any reply.
    trout

  6. #21
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Did I forget to add them to the conf directory? I'll fix this up today.

    As for the other...

    Verify that you have the Load and Add Module settings for mod_jk in httpd.conf along with the other mentioned variables. (Depending on if you're doing tc5 or tc4 these may differ).

    Ensure to restart apache after making conf changes.
    Regards,
    David
    Forum Moderator

  7. #22
    Member
    Join Date
    Apr 2004
    Posts
    72

    Default pesky K

    Hello - thank you - I went through my httpd.conf file with a toothcomb to find I was including JK.conf and not Jk.conf - I had # out that line since I couldn't get apache to restart and had forgotten about it... doh!

    This is some truely great work that you are up to.. thanx again. Please find some £ moola heading your way via your bandwidth fund.


  8. #23
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default Re: IsItWorking

    Originally posted by trout21
    Hi,

    I am wondering where the IsItWorking class and hello.jsp files are as they are not in /usr/local/jakarta/conf/ as detailed in the cpinstall.sh file for transfer to my skel directory.

    Thanks for any reply.
    trout
    Sorry about that, the TC5 installer has been updated to include those. Thanks for letting me know.
    Regards,
    David
    Forum Moderator

  9. #24
    Member
    Join Date
    Jun 2003
    Posts
    42

    Default

    Any room for a freebsd install?

  10. #25
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Originally posted by RogelioH
    Any room for a freebsd install?
    Unfortunatly I do not have any freeBSD servers. Sorry.
    Regards,
    David
    Forum Moderator

  11. #26
    Member
    Join Date
    Apr 2004
    Posts
    72

    Default Oh dear

    My main worry is that to use the manager or admin from :8080 I have to stop & restart tomcat each and every time.... this can't be right can it?

    Thank you for any reply.
    trout

  12. #27
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    No, they should be available to you all of the time. You can though change the port in server.xml if you want.
    Regards,
    David
    Forum Moderator

  13. #28
    Member
    Join Date
    Apr 2003
    Posts
    7

    Default newb questions

    newb questions
    ok, this is actually my first attempt with tomcat, I have it up and running and verified it is working.

    I have some questions though, any help with these is greatly appreciated

    1) On the domain i installed servlets onto through cpanel, i notice that i can no long access the tomcat welcome page on port 8080, is this normal ?

    2) How do i turn off port 8080 on domains i dont want to have tomcat. If i goto anydomain.com:8080 on my box, they all point to the tomcat welcome page, is this possible to turn this off for domains i dont want to have access to ?

    3) Do multiple users need access to the admin and or manager portion of the tomcat welcome page ? If so, do i just add another role and another <user username ... tag

    4) I have a feeling i need to link WEB-INF to a folder in public-html, or do i ? If so, would a sym link be the way, or do i need to make changes in .conf

    5) when i attempt to access IsItworking... i get nothing, yet i notice you say you made changes. I do a updatedb, locate IsIt and find nothing

  14. #29
    Member
    Join Date
    Dec 2003
    Posts
    28

    Default

    This will work on RHE 3.0 and Fedora right?

  15. #30
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    It was designed for RH9, RHE and Fedora.
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. Tomcat or Resin Installer Problems
    By ramorse in forum cPanel Developers
    Replies: 0
    Last Post: 07-08-2005, 12:29 PM
  2. Tomcat Installer gets Stuck????
    By scapeweb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-16-2005, 05:37 AM
  3. ** New Tomcat 4.0.3 Installer **
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 91
    Last Post: 06-30-2004, 07:08 PM
  4. New Tomcat 4.1.30 installer
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-09-2004, 06:04 PM
  5. ** New Tomcat 4.0.3 Installer **
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-05-2003, 03:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube