Well I found this message on Google too. Fact is, that nobody really knows what the problem is. And it seems to appear with many different containers, not only Tomcat. Fact is, that I use this same JDBC driver (it is a Sybase / iAnywhere driver) without any problems on an other machine with exactly the same Tomcat Version. The only difference is that there I use Eclipse 3.1 while the machine causing the problems has 3.2. It looks like there are some problems with the new WTP project in Eclipse.

Lots of new versions of J2EE plugins base now on WTP. I currently experience only problems with this. Deployment does not work correctly, some of the XML Files (web.xml etc) are corrupted with funny tags and file terminators etc.

On the eclipse.webtools newgroup nobody seems to answer the questions. So better stay with the 'old' environment which (at least for me) works fine.

Tom

Mark Eggers wrote:
>From looking for this error message with Google, it
appears that there is a problem with the manifest
information in your jar file.

Use the following two search items in Google:

java.io.IOException "invalid header field"
error in dependencycheck

What JDBC driver (DB and version), Tomcat version, and
JDK version are you using?

HTH

/mde/
just my two cents . . . .


--- Tom Bednarz <[EMAIL PROTECTED]> wrote:

I get a very strange error when starting my web-app:

---------------
14.08.2006 18:38:25
org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in dependencyCheck
java.io.IOException: invalid header field
    at
java.util.jar.Attributes.read(Attributes.java:393)
    at
java.util.jar.Manifest.read(Manifest.java:167)
    at
java.util.jar.Manifest.<init>(Manifest.java:52)
at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3998)
    at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    at

org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
    at

org.apache.catalina.startup.Catalina.start(Catalina.java:536)
    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at
java.lang.reflect.Method.invoke(Method.java:585)
    at

org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
    at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
14.08.2006 18:38:25
org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
14.08.2006 18:38:25
org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/mytrixpert] startup failed
due to previous errors
14.08.2006 18:38:25
org.apache.catalina.core.StandardContext stop
-----------------------------

This happens since I copied my JDBC driver to
<%CATALINA_HOME%>/common/lib.

If the JDBC driver is deployed with my web-app in
WEB-INF\lib I get an error that the JDBC driver cannot be loaded. It seems that the driver needs to be in the common/lib directory of the container to make connection pooling work.

Unfortunately I get now the above error. Any help
with this would be greatly apreciated, since I am stuck with this
problem.


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to