You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alan Kiernan <we...@monaghan-outdoors.com> on 2000/09/06 20:03:55 UTC
Installation problem with Tomcat..
Hopefully this is a simple one...
I've installed tomcat as the u_guide suggests for a standalone, I'm pretty sure that my path , classpath, JAVA_HOME and TOMCAT_HOME are set correctly but one of the class org/apache/tomcat/service/http/HyypConnectionHandler
cant be found.. it does exist..(TOMCAT_HOME\src\org/apache/tomcat/service/http/HyypConnectionHandler
)
This then leads to the subsequest invalid handler msg..
Does anyone know if I am missing anything here ?
My Settings :
SET PATH=%PATH%;C:\JDK1.2\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\BIN
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2\lib\classes.zip;c:\tomcat\src;c:\tomcat
SET TOMCAT_HOME=C:\tomcat
SET JAVA_HOME=C:\jdk1.2
Error :
java.lang.ClassNotFoundException : org/apache/tomcat/service/http/HyypConnectionHandler
...
FATAL:java.Lang.Exception :InvalidConnect
Re: Installation problem with Tomcat..
Posted by Pierre Neihouser <pi...@lionet.ie>.
Hi Alan,
Maybe you should add the lib directory to your classpath AND all the
jars from there, like this:
SET CLASSPATH=%CLASSPATH%;C:\jdk1.2\lib\classes.zip;c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar
(etc, etc...)
I'm not too sure because I use Linux, but maybe the startup.bash does
not really take care of these... Worth a try?
Hope this help,
Pierre
Alan Kiernan wrote:
(...)
> My Settings :
> SET PATH=%PATH%;C:\JDK1.2\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\BIN
> SET
> CLASSPATH=%CLASSPATH%;C:\jdk1.2\lib\classes.zip;c:\tomcat\src;c:\tomcat
>
> SET TOMCAT_HOME=C:\tomcat
> SET JAVA_HOME=C:\jdk1.2
>
Re: Installation problem with Tomcat..
Posted by Duncan Reade <du...@spinne.ip.lu>.
Alan,
> Error :
> java.lang.ClassNotFoundException :
> org/apache/tomcat/service/http/HyypConnectionHandler
----
I assume this is a typo. But if not... check that you have the following
specified in the $TOMCAT_HOME/conf/server.xml
<Connector
className="org.apache.tomcat.service.SimpleTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="8080"/>
</Connector>
If this isn't the problem then try extracting the
$TOMCAT_HOME/bin/webserver.jar file into the $TOMCAT_HOME/classes
directory.
This worked for me.
Regards
Duncan
> Alan Kiernan wrote:
>
> Hopefully this is a simple one...
> I've installed tomcat as the u_guide suggests for a standalone, I'm
> pretty sure that my path , classpath, JAVA_HOME and TOMCAT_HOME are
> set correctly but one of the class
> org/apache/tomcat/service/http/HyypConnectionHandler
> cant be found.. it does
> exist..(TOMCAT_HOME\src\org/apache/tomcat/service/http/HyypConnectionHandler
>
> )
>
> This then leads to the subsequest invalid handler msg..
>
> Does anyone know if I am missing anything here ?
>
> My Settings :
> SET PATH=%PATH%;C:\JDK1.2\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\BIN
> SET
> CLASSPATH=%CLASSPATH%;C:\jdk1.2\lib\classes.zip;c:\tomcat\src;c:\tomcat
> SET TOMCAT_HOME=C:\tomcat
> SET JAVA_HOME=C:\jdk1.2
>
>
> Error :
> java.lang.ClassNotFoundException :
> org/apache/tomcat/service/http/HyypConnectionHandler
>
> ...
>
> FATAL:java.Lang.Exception :InvalidConnect
>
--
***********************************
Duncan Reade
INFOPARTNERS S.A.
Tel +352/ 40116-3303
Fax +352/ 40116-2331
email dreade@ip.lu
URL http://www.infopartners.lu/
***********************************