Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Tomcat problem with JDBC driver and connection pooling
Tomcat problem with JDBC driver and connection pooling [message #176977] Mon, 14 August 2006 17:08 Go to next message
Eclipse User
Originally posted by: tom.nospam.org

I like to use container provided database connection pooling. It seems
this requires to put the JDBC drivers jar file in
<%CATALINA_HOME%>/common/lib directory instead of WEB-INF/lib.

When I do this I get an exception 'Error in dependencyCheck' as follows:

------------------------------------------------------------

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.validateApplicat ion(ExtensionValidator.java:152)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3998)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.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(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 75)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
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 is new since I am using Eclipse 3.2. The same code works fine with
Eclipse 3.1 and the MyEclipse IDE Plugin. MyEclipse uses its own
deployment mechanism while Exadel Studio (which I run with Eclipse 3.2)
is based on the WTP.

Any idea what could be the problem? Many thanks for your help.

Tom
Re: Tomcat problem with JDBC driver and connection pooling [message #177025 is a reply to message #176977] Tue, 15 August 2006 12:43 Go to previous message
Darryl Miles is currently offline Darryl Miles
Messages: 123
Registered: July 2009
Senior Member
Tom Bednarz wrote:
> I like to use container provided database connection pooling. It seems
> this requires to put the JDBC drivers jar file in
> <%CATALINA_HOME%>/common/lib directory instead of WEB-INF/lib.

What do you have in the META-INF directory of your web-app ? Check the
files in there, especially the "MANIFEST.MF" are syntactically correct.

Maybe even delete/rename the "MANIFEST.MF" while debugging, I don't run
with one and I don't think one is generated.


Darryl
Previous Topic:Publishing Static Content
Next Topic:Deployment on Remote Server
Goto Forum:
  


Current Time: Thu Oct 23 17:26:53 GMT 2014

Powered by FUDForum. Page generated in 0.02546 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software