Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 3 of 32 FirstFirst 1 2 3 4 5 13 ... LastLast
Results 31 to 45 of 466
  1. #31
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Forgot to post that I have this up and running on one server now and it is testing out great. We have a couple of heavy JSP users that are loving it. They like it a lot more than the previous 4.x versions running on RH7.3.


    Thanks again DG.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

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

    Default Re: newb questions

    Originally posted by casek
    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 go to 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
    Actually you should ba accessing the admin from http://hostname:8080
    Example:
    http://server.planetgac.net:8080

    But it should work with all domains, not sure if its the servlet add or something else. Try restarting tomcat and then trying localhost:8080

    As for all domains having access, they can see the Tomcat page but cannot gain access to manager or admin if you do not assign them a user/pass in tomcat-users.xml

    You can add additional users for manager if you have a trusted Tomcat user and want to provide them with their own JVM, basically an easy way for them to upload apps and WAR files but I would make sure they know what they are doing. Just add them as a manager in the tomcat-users.xml

    As for Web-INF, no sym link needed but make sure the file structure and placement is correct.

    File is it working should be called as follows:
    http://localhost/servlet/IsItWorking
    Example:
    http://www.planetgac.net/servlet/IsItWorking
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

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

    Default

    DgBaker, just an example of how unpredicatable Tomcat is. I installed this on 4 identical RH 3 servers with the JDBC connectors. Works perfect for JDBC database connection on 3 without any mods to server.xml and the fourth needed some serious coding in server.xml to run the JDBC. Unbelievable! So I updated my connectors to mysql-connector-java-3.0.11-stable and did a few tweaks to the server.xml and the JDBC is running. Of course this was the server with the most JSP accounts and database apps, so the customers got a free day of hosting...my luck!
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

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

    Default

    Yep! Been there, did two Tomcat installs today for a Corp. with Vignette, 1 worked, 1 failed, took two hours to fix, no changes just re-associated apps together a few times and it started working.
    Regards,
    David
    Forum Moderator

  5. #35
    Member
    Join Date
    Mar 2004
    Posts
    40

    Default error in pre-install

    Hi,

    I got this error runing pre-install.sh

    Error occurred during initialization of VM
    Unable to load native library: /usr/java/j2sdk1.4.0/jre/lib/i386/libjava.so: symbol __libc_waitpid, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

    I dont know what to do next, some help will be apreciated

    btw, im using:
    tc4-install.tar.gz on RHE3, tc5 its seems not avaliable at the moment in your site.


    Thank you.

    Ricardo M.

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

    Default

    The install script will/should fix and upgrade that for you.
    Regards,
    David
    Forum Moderator

  7. #37
    Member
    Join Date
    Mar 2004
    Posts
    40

    Default fiexed

    I fixed that, renaming the old javasdk to java.save and creating a link (ln -s) to the new java instalation, it works perfectly.

    Now i got another problem, everything is working, i install the servlets in one domain, but when i try to reach IsItWorking with the brownser, iit try to download, instead of runing it the server.

    What could it be now?

    Thaks!

    Ricardo M.

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

    Default

    How are you calling it in the browser?

    Should be as follows;

    http://domain.com/servlet/IsItWorking
    Regards,
    David
    Forum Moderator

  9. #39
    Member
    Join Date
    Mar 2004
    Posts
    40

    Default see it yourself

    Please, see it:

    http://gulinuxsul.org/servlet/IsItWorking

    HTTP Status 404 - /servlet/IsItWorking

    type Status report

    message /servlet/IsItWorking

    description The requested resource (/servlet/IsItWorking) is not available.
    Apache Tomcat/4.1.30

    Ricardo M.

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

    Default

    What does it say in the bottom of the Catalina.out log file?

    Also ensure ownerships are correct.
    Regards,
    David
    Forum Moderator

  11. #41
    Member
    Join Date
    Mar 2004
    Posts
    40

    Default Re: see it yourself

    Originally posted by ricardom
    Please, see it:

    http://gulinuxsul.org/servlet/IsItWorking

    HTTP Status 404 - /servlet/IsItWorking

    type Status report

    message /servlet/IsItWorking

    description The requested resource (/servlet/IsItWorking) is not available.
    Apache Tomcat/4.1.30
    I try put here:
    http://www.gulinuxsul.org/WEB-INF/IsItWorking.class

    The brownser tyr to download the file, instead of treat it right.

    Ricardo M.

  12. #42
    Member
    Join Date
    Mar 2004
    Posts
    42

    Default

    hey,

    dgbaker, can you please fix the download link for the 5.0.19 file, it's dead

    Thanks Already

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

    Default

    It should be fix this weekend, we took the link down because of an issue with the one of the included files.
    Regards,
    David
    Forum Moderator

  14. #44
    Member
    Join Date
    Mar 2004
    Posts
    42

    Default

    Ok.. perfect.. thanks mate

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

    Default

    Tomcat 5 installer is now back online. See top of this thread for some enhancements added.
    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