Error in dependencyCheck

2006-12-19 Thread Assaf Flatto

Hello


I've installed tomcat 5.5.17 - this is the 8th server i install in a row 
and the first one that displays this error when i start tomcat.


I googled it a bit and it refers to TOC of the war file , whoever the 
same war file has been used on 2 other servers and with no issues .


Any one got any ideas what might be generating the problem ?

i added the stack output  of the catalina.out log file   



2006-12-19 18:26:14,239 [main] INFO  
org.apache.catalina.core.StandardService  - Starting service Catalina
2006-12-19 18:26:14,246 [main] INFO  
org.apache.catalina.core.StandardEngine  - Starting Servlet Engine: 
Apache Tomcat/5.5.17
2006-12-19 18:26:14,258 [main] INFO  
org.apache.catalina.core.StandardHost  - XML validation disabled
2006-12-19 18:26:14,475 [main] ERROR 
org.apache.catalina.core.StandardContext  - Error in dependencyCheck

java.util.zip.ZipException: missing entry name
   at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:227)
   at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
   at java.util.jar.JarInputStream.(JarInputStream.java:58)
   at java.util.jar.JarInputStream.(JarInputStream.java:43)
   at 
org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:372)
   at 
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:183)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4035)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   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:709)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   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:324)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2006-12-19 18:26:14,505 [main] ERROR 
org.apache.catalina.core.StandardContext  - Error getConfigured
2006-12-19 18:26:14,506 [main] ERROR 
org.apache.catalina.core.StandardContext  - Context [] startup failed 
due to previous errors



Thanks

Assaf

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



RE: Error in dependencyCheck

2006-12-19 Thread Caldarale, Charles R
> From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
> Subject: Error in dependencyCheck
> 
> I googled it a bit and it refers to TOC of the war file , whoever the 
> same war file has been used on 2 other servers and with no issues .

The error you're getting indicates that the name length is zero for some
entry in the .war file.  The exception is being thrown by the JRE zip
file handler, not Tomcat itself.  If you simply expand and then
repackage the .war with WinZip or equivalent, that should throw away the
dummy entry.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



[SPAM ?]Error in dependencyCheck when using Connection pooling

2006-08-14 Thread Tom Bednarz

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.(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.


Tom


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



Re: [SPAM ?]Error in dependencyCheck when using Connection pooling

2006-08-14 Thread Mark Eggers
>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.(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]



application failed to start : Error in dependencyCheck java.util.zip.ZipException: invalid entry CRC

2008-08-08 Thread [EMAIL PROTECTED]
attempting to run application on Tomcat 5.5 server (Fails to load at context 
path) I see this in the catalina.log

Google search suggests a zip file error with the .war - but I have only used an 
exploded tree and removed previous .war file.

Any suggestions?



--
James Stanbridge
Kellstan

IM: (messenger) [EMAIL PROTECTED]
Skype: james.stanbridge.mob


Re: application failed to start : Error in dependencyCheck java.util.zip.ZipException: invalid entry CRC

2008-08-08 Thread Christopher Schultz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James,

[EMAIL PROTECTED] wrote:
| attempting to run application on Tomcat 5.5 server (Fails to load at
| context path) I see this in the catalina.log
|
| Google search suggests a zip file error with the .war - but I have
| only used an exploded tree and removed previous .war file.

It probably means that one of your JAR files is bad (JAR files are just
ZIP files). Try running a "test" on each of your JAR files to see if it
is a valid ZIP file. My guess is that you have a corrupted library.

I also seem to recall that there was a version of Java that had a ZIP
file reading bug. Are you using a relatively up-to-date JVM?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkicT/cACgkQ9CaO5/Lv0PDvEACfX2zeTgbidmFsWHIPcpdukiYW
OHEAn0Z15hhosC4eEYu2MMk61bjNfwCZ
=reQe
-END PGP SIGNATURE-

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



[SPAM ?]Re: [SPAM ?][SPAM ?]Re: [SPAM ?]Error in dependencyCheck when using Connection pooling

2006-08-15 Thread Tom Bednarz
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.(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]