Forums Register Login

tomcat error, HttpConnectionHandler class not found

+Pie Number of slices to send: Send
hello there , I downloded tomcat and set all classpath,autoexec.bat file,java_home,tomacat_home everything that satya explained in previous post but when i type startup.bat
or tomcat start at command prompt one window just flashes and
disappeares and when i type tomcat run at command prompt it
gives me error : org.apache.tomcat......HttpConnectionHandler class not found exception , please can anybody help me with this.
thank you.
+Pie Number of slices to send: Send

how abt c:\jdk1.2.2\lib\tools.jar ?
can i assume you added this to your classpath.
regds.
- satya
+Pie Number of slices to send: Send
yes I have added tools.jar to classpath , and in tomcat.bat file it is set anyway.
please can you tell me what is wrong with this HttpConnectionHandler class not found exception.
thank you
+Pie Number of slices to send: Send

hmm...right now I am at work and can't think of any.
one other thing i can suggest "is your jsdk2.1 set up correct?"
check this out and do you mind posting your autoexec.bat file,
if its okay with you. just can't recollect what else....
regds.
- satya
+Pie Number of slices to send: Send
hello there,
jsdk ?? do i need jsdk, I have heard that you need jdk1.2 only for
tomcat to develop servlets and jsp.. can you tell me more about this?
thanks
+Pie Number of slices to send: Send
I also used jar tvf webserver.jar to see content of webserver.jar file
and it has HttpConnectionHandler.class in it , but still when i type
"tomcat run" command it shows HttpConnectionHandler class not found exception , this is very strange. when i type tomcat start or startup.bat one window just flashes. how can i get started with tomcat , do i must install jsdk2.1 ??
thanks
+Pie Number of slices to send: Send
ARG! not again. JSDK is not compatible with Tomcat. I wasted
days on this one. If the JSDK JAR file is on your classpath you get weird class not found errors. You should remove all traces of the older JSDK files - which (as far as I can tell) Sun is not keeping up. Tomcat is the official "Reference Implementation" now.
You must run the startup.bat from a command line in a MSDOS prompt window instead of clicking on the bat file.
I suggest removing the @echo off from the bat files so you can actually see the error messages.
You must set the memory used for the environment higher than the default value because Tomcat sets a LOT of environment variables. This is likely to be the cause of the vanishing window. From the properties dialog of the MSDOS prompt window, pick the memory tab. Set "Initial Environment" to 4096.
Bill
+Pie Number of slices to send: Send
hello , I am still facing same problem, I have not installed jsdk on my system,I set dos memory environment higher to 4096 for bat files, I start startup.bat and tomcat.bat from command line but still one window flashes for second and disappeares , and again when i try "tomcat run" command same
HttpConnectionHandler class not found exception comes.
can anybody guide me now??
thanks for your tips.
+Pie Number of slices to send: Send

ray:
my gut feeling is that your classpath is not
correct (100 % sure something is missing in
your classpath). Tomcat sets up only what it
needs. It will not setup the jdk stuff.
sorry i couldn't reply earlier! i need more
info on what you are trying to do.
And are you typing startup.bat
or is it startup.
Use either startup from the
C:\jakarta-tomcat\bin dir or use
tomcat start. While I am not
sure of the latter one, I use the former one.
Not startup.bat and not tomcat run.
I will re-post if I find some.
Hope this helps.
regds.
- satya

+Pie Number of slices to send: Send

ray:
Update.......i found two threads which discuss this problem.
there are likely some solutions there...check this out!

From java.sun website
and this from jGurus' website.
HTH.
Regds.
- satya
+Pie Number of slices to send: Send
hello there,
satya thank you very much for your help and kind tips.
at last I got started at http://localhost/ ,
I just changed the JVM version from 1.2 to 1.2.2 ,I copied JVM
from Oracle jdeveloper and paste it in jdk1.2 and then from
command prompt "tomcat run" got me started , still tomcat start
command not working , more letter.
thank you
+Pie Number of slices to send: Send

in the abv links such probs were discussed and they
said it should be a prob in the jdk. as i said
i generattly use startup script which is nothing
but a batch file which probably does tomcat run or
tomcat start. one of those, i forgot which one.
anyways...i learned one more lesson.
best wishes.
regds.
- satya
+Pie Number of slices to send: Send
now if anybody encounters HttpConnectionHandler class not found error in tomcat then he or she should change their jdk version, this error comes when your jdk is not able to execute
"class.forName("..")" command for loading HttpConnectionHandler class ,it means improper class loader, thanks for other postings help,
this is the way that we can help each other to trouble shoot problems , so nobody gets frusteted and can go on.
thanks.
What are your superhero powers? Go ahead and try them on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1163 times.
Similar Threads
tomcat installation problem
tomcat not running??
tomcat setup
what happens after startup ?
Tomcat start-up error and setting CLASSPATH permanently
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:50:35.