You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nat Gross <na...@verizon.net> on 2004/12/19 20:07:58 UTC
filterStart error on Tomcat but not on Sun 8
Hi;
I asked a while ago about this, but somehow I wasn't answered, but I
still would like to use Tomcat! So, I'll try again.
Scenario: A simple [test] webapp, less than 10 servlets, one filter.
WinXP, 768m ram, my developer machine, deploying using the "MyEclipse"
3.82 webtool plugin on Eclipse 3.0.1. (After this works, I want to get
Tomcat running on Linux and Solaris 10 machines on the same lan, then
onto customer sites. anyhow...)
The point here is that this app is running, no problems on Sun 8.01, but
I would like to get it on Tomcat since it uses only Servlets/jsp's.
Here is a snippet of the server log:
INFO: Installing web application at context path /Math1 from URL
file:Q:\Programs\Java\jakarta-tomcat\Tomcat 5.0.30\webapps\Math1
19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
And here is the top of the web.xml including the entire filter section.
<?xml version="1.0" encoding="UTF-8" ?>
- <#> <web-app version="*2.4*" xmlns="*http://java.sun.com/xml/ns/j2ee*"
xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*"
xsi:schemaLocation="*http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd*">
- <#> <filter>
<filter-name>LogtrackFilter</filter-name>
<> <filter-class>ez.servlets.filters.LogtrackFilter</filter-class>
</filter>
- <#> <filter-mapping>
<filter-name>LogtrackFilter</filter-name>
<> <url-pattern>/*</url-pattern>
</filter-mapping>
----------------------------------------------------------
Thank you all;
-nat
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: filterStart error on Tomcat but not on Sun 8
Posted by Nat Gross <na...@verizon.net>.
QM wrote:
>As no one else has jumped on this yet, I'll take a stab at it:
>
>
Thank you.
>1/ any reason you're running 5.0.30? Unless I've missed a list post (a
>possibility) that's still in beta.
>
>
Because I had the same error under 5.0.19 and figured I get the latest.
>2/ could you crank up the log verbosity to see what else is going on as
>the filter's being loaded? What if the filter's init() method is
>throwing an exception/error/etc?
>
>
How do I crank up the verbosity level.
>3/ identical environments, other than the OS difference? i.e. same
>classpath and JAR versions all around, same JDK version, same Tomcat,
>same webapp version, etc?
>
>
No. Not an os difference at all. Oh, I see people might have assumed Sun
8 as Solaris 8. Sheesh.
I should have specified the Sun Application Server version 8 (8.01).
Both, the Sun Appserver (which uses embedded Tomcat!) and Tomcat are
running on WinXP SP1. ALL the settings are the same, launched from the
same IDE.
>-QM
>
>
>
Thanks again.
-nat
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: filterStart error on Tomcat but not on Sun 8
Posted by QM <qm...@brandxdev.net>.
:Here is a snippet of the server log:
:INFO: Installing web application at context path /Math1 from URL
:file:Q:\Programs\Java\jakarta-tomcat\Tomcat 5.0.30\webapps\Math1
:19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
:SEVERE: Error filterStart
:19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
:SEVERE: Context startup failed due to previous errors
As no one else has jumped on this yet, I'll take a stab at it:
1/ any reason you're running 5.0.30? Unless I've missed a list post (a
possibility) that's still in beta.
2/ could you crank up the log verbosity to see what else is going on as
the filter's being loaded? What if the filter's init() method is
throwing an exception/error/etc?
3/ identical environments, other than the OS difference? i.e. same
classpath and JAR versions all around, same JDK version, same Tomcat,
same webapp version, etc?
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: filterStart error on Tomcat but not on Sun 8
Posted by Nat Gross <na...@verizon.net>.
Shheesh. I see my post contained garbage chars. (I simply copied -
pasted from IE.
Anyhow, how do I go about diagnosing this problem?
19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart <<<<<<<<<<<<<<<<
19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<filter>
<filter-name>LogtrackFilter</filter-name>
<filter-class>ez.servlets.filters.LogtrackFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>LogtrackFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Thanks again, -nat.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org