Results 1 to 8 of 8

Thread: win200, IIS, jakarta_tomcat

  1. #1

    Thread Starter
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404

    Exclamation win200, IIS, jakarta_tomcat

    I'm trying to get tomcat running on my pooter, but not being very succesful.

    I've set the class path's and env var's, and run the startup.bat!

    When I run the startup.bat file i get this message
    Starting Tomcat in new window
    The system cannot find the file c:\jdk1.3.1\bin\java
    A dialog box also pops up saying something similar to second line of that quote.

    The file 'c:\jdk1.3.1\bin\java' does exsit!!

    Any Ideas!!

    There's nothing in the documentation about this so I'm pulling my hair out at the moment as according to the docs i need to do this bit before i can configure IIS!!!

  2. #2
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    I'm kind of guessing here, since I don't run Tomcat, but
    Do you have an environment variable called JAVA_HOME?

    Is it set to C:\jdk1.3.1\ ?

    If so, do you indeed have a directory C:\jdk1.3.1 ?

    At a DOS prompt if you type:
    dir %JAVA_HOME%\bin\java.exe ,
    Do you get the java executable listed?

    Code:
    
    01/30/2001  10:23a              20,559 java.exe
                   1 File(s)         20,559 bytes
                   0 Dir(s)   5,090,601,984 bytes free
    
    cudabean

  3. #3
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    Hey Progressive,

    How's it going with IIS + Tomcat? I'm curious because that might be just the combination that would be useful for me in helping weaning a friend of mine off of ASP and into JSP.

    In this environment can you run both simultaneously?

    cudabean

  4. #4

    Thread Starter
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    Yes thats right an environmental variable set to JAVA_HOME, and yes I do have the JDK c:\jdk1.3.1\.

    This is why it is so anoying the java.exe file is in c:\jdk1.3.1\bin\java.exe
    The batch file that starts up tomcat says c:\jdk1.3.1\bin\java.exe
    Isn't a file

    You can download a dll with tomcat that integrates it into IIS (if you can get the thing to startup). Then you start tomcat with a few command line param's and it creates files needed for IIS and some registery entries. I've not got that far yet!

    As tomcat won't start

    oh oh wait a minute......whoa yippee *jumps around in a frenzy*...
    It's workin now guess what it was using.
    set JAVA_HOME=c:\jdk1.3.1
    I've just tried.
    set JAVA_HOME=C:\jdk1.3.1
    success!

    Now i need to integrate it with IIS (should be fun)...I'll let you know how I go on cudabean!

  5. #5

    Thread Starter
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    Wow once I've got over that hurdle i had IIS running JSP in 5 mins following the tomcat installation instructions!

    It works a treat!

  6. #6
    Lively Member gigsvoo's Avatar
    Join Date
    Oct 2000
    Location
    Malaysia
    Posts
    109

    Talking

    Progressive,

    I think the earlier problem u had is something related to the PATH right?

    Path = bla...bla...;C:\jdk1.3.1\bin;

    do you have this? does this solve ur problem?

  7. #7

    Thread Starter
    Hyperactive Member progressive's Avatar
    Join Date
    Sep 2001
    Location
    Manchester, UK
    Posts
    404
    oh oh wait a minute......whoa yippee *jumps around in a frenzy*...
    It's workin now guess what it was using.
    set JAVA_HOME=c:\jdk1.3.1
    I've just tried.
    set JAVA_HOME=C:\jdk1.3.1
    success!
    Yes that's right, i had a c and what it needed to be was a C !


  8. #8
    Lively Member gigsvoo's Avatar
    Join Date
    Oct 2000
    Location
    Malaysia
    Posts
    109
    Congras! Bravo!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width