Hi, I doubled check today, and found out that the classes are there in jsp-examples/WEB-INF and servlet-examples/WEB-INF. But somehow for some reasons, it is not loaded up to the CLASSPATH. Tomcat doesn't recognizes the files under the WEB-INF/classes/compressionFileters.
I don't really know the problem, is that something wrong in the "sh" script that does the CLASSPATH setup ? Or it is just different way of EXPORT-ing the CLASSPATH in HP-UX ? Kurt -----Original Message----- From: Kurniawan Kurt Sent: Monday, 16 May 2005 8:50 AM To: 'weetat'; tomcat-user@jakarta.apache.org Subject: RE: Re: Problem in Tomcat installation in HP-UX Hi, thanks for your response. What is the jar name for this ? Isn't all the jar should be included in the download? I'm using the tar.gz download. I tried this (the same installation) under Windows and it works fine. Kurt. -----Original Message----- From: weetat [mailto:[EMAIL PROTECTED] Sent: Friday, 13 May 2005 7:35 PM To: tomcat-user@jakarta.apache.org Subject: Re: Problem in Tomcat installation in HP-UX Hi , Check if e CompressionFilter class is in /WEB-INF/classes . Or it is in the jar file which located in /WEB-INF/lib Thanks. - weetat Kurt Kurniawan wrote: > Hi, > > > I've installed Tomcat 5.0.28 in HP_UX. > tomcat startups and run and i can access the main page but when i > > click on the example servets and jsp pages i get errors! > > > > I get the following errors when running startup.sh in hp-ux > > in catalina.out log: > > SEVERE: Exception starting filter Compression Filter > > java.lang.ClassNotFoundException: compressionFilters.CompressionFilter > > .... > > SEVERE: Error registering null > > javax.management.MBeanRegistrationException: nested exception is > > java.lang.NullPointerException > > .... > > SEVERE: Error reseting context > > StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jsp-examples] > > jav > > ax.management.MBeanRegistrationException: nested exception is > > java.lang.NullPointerException > > javax.management.MBeanRegistrationException: nested exception is > > > ... > > I went to the localhost...log. > > > These are what I've got: > > > 2005-05-13 17:53:57 StandardContext[/jsp-examples]SessionListener: > contextInitialized() > 2005-05-13 17:53:57 StandardContext[/jsp-examples]Exception starting filter > Compression Filter > java.lang.ClassNotFoundException: compressionFilters.CompressionFilter > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa > der.java:1340) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa > der.java:1189) > at > org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio > nFilterConfig.java:211) > at > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica > tionFilterConfig.java:308) > > > > > > > Is there any reason why ? Both jsp-examples and servlet-examples cannot run. > Everything else seems to work fine. > > > What is java.lang.ClassNotFoundException: > compressionFilters.CompressionFilter ? > Why it couldn't find it in the classpath ? > > > My config is: > Using CATALINA_BASE: /opt/webmethods/jakarta-tomcat-5.0.28 > Using CATALINA_HOME: /opt/webmethods/jakarta-tomcat-5.0.28 > Using CATALINA_TMPDIR: /opt/webmethods/jakarta-tomcat-5.0.28/temp > Using JAVA_HOME: /opt/java1.3 > > > My classpath is as follows: > <wm>echo $CLASSPATH > /opt/java1.3/lib/tools.jar:/opt/webmethods/glue/lib/glue-all.jar:/opt/webmethods/glue/lib/glue-examples.jar: > /opt/webmethods/jakarta-tomcat-5.0.28/common/lib/servlet-api.jar: > > > Thanks > > Kurt Kurniawan > > Australia > > > > > > CAUTION: This email and files included in its transmission > > are solely intended for the use of the addressee(s) and may > > contain information that is confidential and privileged. > > If you receive this email in error, please advise us > > immediately and delete it without copying the contents > > contained within. Woolworths Limited (including its group > > of companies) do not accept liability for the views > > expressed within or the consequences of any computer > > viruses that may be transmitted with this email. The > > contents are also subject to copyright. No part of it > > should be reproduced, adapted or transmitted without the > > written consent of the copyright owner. CAUTION: This email and files included in its transmission are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us immediately and delete it without copying the contents contained within. Woolworths Limited (including its group of companies) do not accept liability for the views expressed within or the consequences of any computer viruses that may be transmitted with this email. The contents are also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]