First of all, don't put the j2ee.jar in your CLASSPATH. This is from
the J2EE reference implementation and will cause conflicts with jBoss.
Second, setting the CLASSPATH manually to include the tomcat jars did
not work for me. It has to be done from run.bat/run.sh. Also, you show
that when you print out your CLASSPATH for jBoss, it shows
d:\jakarta-tomcat\lib, but not the individual jars within that
directory. Keep in mind that specifying a directory in your CLASSPATH
does NOT cause all the jars in that directory to be included, only the
class files. You have to specify each jar by name.
Third, in the Tomcat page in www.jboss.org, there is an extra step you
have to do for Tomcat 3.2. It involves modifying the server.xml file in
the Tomcat conf directory. I use 3.1 so I don't know what the exact
change is.
And fourth, I don't know how good my advice will be because my
environment is so different from yours. You are running Windows NT, JDK
1.2.2, and Tomcat 3.2. I am running Linux, JDK 1.3, and Tomcat 3.1.
If possible, I advise upgrading to JDK 1.3. There is a full release
version of JDK 1.3 available for Windows from Sun, and it is way cooler.
-Charles
"K.Naveen Kumar" wrote:
> Hi Charles,
>
> I tired out the following steps.
>
> I have checked the tomcat installation path and tomcat evvironment
> variable
>
> they are as follows
> 1. I have installed tomcat in my d drive under the directory
> jakarta-tomcat
> I have set the environment variable for tomcat, TOMCAT_HOME to
> d:\jakarta-tomcat
> 2. I am running tomcat 3.2 beta 2.
>
> My classpath variable reads as this
> .;d:\jdk1.2.2\bin;d:\jdk1.2.2\lib;d
>
>\jdk1.2.2\jre\lib\rt.jar;d:\jdk1.2.2\jre\lib\tools.jar;d:\j2sdkee1.2\lib;d:\j2sdkee1.2\lib\j2ee.jar
>
> as my jdk is also installed d drive under jdk1.2.2 but I have upgraded
> this to jdk 1.3 So my JVM reads 1.3
>
> Now comming to second point
> I am running the batch file i.e. run.bat from command prompt of Win NT
> 4.0 SP6.
>
> As far as I under stand the problem is comming from the class path
> read by the Tomcat involker
> since it's Initializing TOMCAT and starting it also this is indicated
> by the lines
>
> [Tomcat] Initializing
> [Tomcat] Initialized
> ................
>
> [Tomcat] Starting
> [Tomcat] Started
>
> ........
>
> the problem it's stating is that it is not in a position find the
> presence of tomcat
> which is indicated by the following lines in the console window
> followed by the error
>
> [Tomcat] Testing if Tomcat is present....
> [Tomcat] failed
> [Tomcat] Tomcat wasn't found. Be sure to have your CLASSPATH correctly
> set
>
> I am printing out the CLASSPATH value that I got from the console
>
> .;d:\jdk1.2.2\bin;d:\jdk1.2.2\lib;d:\jdk1.2.2\jre\lib\rt.jar;d:\j
> k1.2.2\jre\lib\tools.jar;d:\j2sdkee1.2\lib;
> d:\j2sdkee1.2\lib\j2ee.jar;d:\jboss\bin\run.jar;d:\jakarta-tomcat\lib
>
> I am also sending the CLASSPATH variable value while running the
> tomcat individually from dos console
>
> CLASSPATH:
>
>d:\jakarta-tomcat\classes;d:\jakarta-tomcat\lib\servlet.jar;d:\jakarta-tomcat\lib\ant.jar;d:\jakarta-tomcat\lib\webserver.jar;
>
>
>d:\jakarta-tomcat\lib\jasper.jar;d:\jakarta-tomcat\lib\jaxp.jar;d:\jakarta-tomcat\lib\parser.jar;
>
>
>.;d:\jdk1.2.2\bin;d:\jdk1.2.2\lib;d:\jdk1.2.2\jre\lib\rt.jar;d:\jdk1.2.2\jre\lib\tools.jar;d:\j2sdkee1.2\lib;d:\j2sdkee1.2\lib\j2ee.jar;
>
> d:\jdk1.2.2\lib\tools.jar
>
> which depicts that tomcat is configured perfectly.
>
> I couldn't figure out why incase of jboss the class path is giving a
> problem.
>
> I will be very thank full if you can throw some light on this area.
>
> Thanks,
> Naveen Aka. Coke
>
>
> Charles Crain wrote:
>
>> Usually, this problem can be solved with 2 steps:
>>
>> 1. As you said you have done, make double sure your TOMCAT_HOME
>> variable is set correctly.
>> 2. Be sure you run jBoss using run.sh (or run.bat for Windows). DO
>> not
>> use java -jar run.jar.
>>
>> The run.sh and run.bat files should print out some information
>> saying
>> something like "Adding TOMCAT classes to CLASSPATH" when you first
>> run
>> it. If you are not seeing this message, the run.bat script is not
>> seeing your TOMCAT_HOME variable.
>>
>> -Charles
>>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]