#31
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Tomcat does not start


    I have installed sun jdk 1.3, apache tomcat 1.3, apache jserve 1.1 and apache server on my windows me

    My problem is that everytime i set java home, tomcat home and then set the path of the jdk/bin directory in Ms dos i get an error when i try to start tomcat from
    c:\tomcat\bin directory.

    The error I get is after all jars are loaded and at the end it says: "bad command or file name" and the last file stated is "tools.jar"

    How can i solve this problem..??
    tomcat doesn't start....



    I would appreciate your help

  2. #32
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Tomcat does not start


    I am getting the following error when start tomcat from MS-DOS:

    C:\tomcat\bin>tomcat start
    Including all jars in c:\tomcat\lib in your CLASSPATH.

    Using CLASSPATH: c:\tomcat\classes;c:\tomcat\lib\JAXP.JAR;c:\tomcat\lib\SERVLET.
    JAR;c:\tomcat\lib\ANT.JAR;c:\tomcat\lib\PARSER.JAR;c:\tomcat\lib\WEBSER~1.JAR;c:
    \tomcat\lib\JASPER.JAR;"C:\Program Files\JavaSoft\JRE\1.3\lib\ext\QTJava.zip";c:
    \jdk\lib\tools.jar

    Starting Tomcat in new window
    Bad command or file name
  4. #33
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: What about IIS??


    I didn't see any replies to your question,
    so here's one now, in case you're still interested ...

    Take a look at JRun from Macromedia (formerly Allaire).
    The development kit is free to download.
    It works with IIS, PWS, and even Apache.

    On the down side, the runtime version is somewhat expensive,
    as I recall, but it may be easier to configure than Tomcat and Apache.

    See the book "Javaserver Pages fast and easy web development"
    for details on setting up and using JRun.


  6. #34
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: httpd.conf problem-Article isnt working for me


    Make sure that your jsp files are in the webapps
    directory, unless you modified the server.xml file to
    look elsewhere.

    If you put your jsp files in a directory under htdocs,
    like regular html files, then Tomcat may not even see them there.

  8. #35
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: JDBC Driver


    123
  10. #36
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: changing servlet directory


    Yea, I changed the prefix and the servlet directory no longer works, but the directory I changed it to is not calling the servlet.

    Tomcat is frustrating me.

    -Ryan
  12. #37
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: changing servlet directory


    Actually once you change the prefix in server.xml you have to change the line in mod_jk.conf-auto

    JkMount /apps/servlet/* ajp12

    to the new directory name! Then it works fine.

    -Ryan
  14. #38
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: mm.mysql.jar file


    you can do it with winzip for example
  16. #39
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    500 error on JSP examples


    Thanks for the article. I've gotten apache and tomcat communicating but JSP pages are giving me 500 errors when i try to view them. Using both port 8080 and 80. Any ideas?

    Thanks.
  18. #40
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Thanx comment


    I am really very happy to get to your site while I am trying to configure my Tomcat and JDK environment through your help I've done it in a breeze, again thanx for your carefull instruction that save me lots of hours in the process of learning JSP.
    I'll continue reading through your page and make my self a fan of it
    :)
    Omar
    God bless America
    Beta Computing, Inc.
  20. #41
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Very helpful post!


    Thanks.
  22. #42
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    run JSP in IIS


    i am trying very hard to know about running JSP in IIS.
    CAN YOU JUST GIVE ME A STEP BY STEP INFORMATION ABOUT.
    THANK YOU
    CHAMPA
  24. #43
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: What about IIS??


    Yes it is possible to run them side by side on the same box. However, IIS is controlling port 80 and you will need to have your jsp environment and apache monitoring port 8080 or some other unclaimed port for your communications between the web visitor and the server.

    That is how I got them to work side by side.

  26. #44
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    cannot find servlet.jar file


    When I attempt to launch tomcat from the tomcat\bin\ dir at the MS-DOS prompt I get the following error -

    Unable to locate servlet.jar check the value of TOMCAT_HOME

    I know the JAR file sits in the lib directory but I'm not sure what I need to do to get tomcat to find the file.

    Any Ideas ??

    Thanks

    Mark

  28. #45
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    thanks


    I exactly got the same problem as you and, so many thanks for your help.

IMN logo majestic logo threadwatch logo seochat tools logo