|
-
Jan 28th, 2002, 11:48 AM
#1
Thread Starter
Hyperactive Member
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!!!
-
Jan 28th, 2002, 03:31 PM
#2
Addicted Member
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
-
Jan 28th, 2002, 10:08 PM
#3
Addicted Member
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
-
Jan 29th, 2002, 04:12 AM
#4
Thread Starter
Hyperactive Member
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!
-
Jan 29th, 2002, 04:24 AM
#5
Thread Starter
Hyperactive Member
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!
-
Jan 31st, 2002, 03:45 AM
#6
Lively Member
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?
-
Jan 31st, 2002, 03:52 AM
#7
Thread Starter
Hyperactive Member
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 !
-
Jan 31st, 2002, 04:22 AM
#8
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|