camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harald <sunny...@rainyday.de>
Subject Re: Caused by: java.lang.InternalError / Caused by: java.util.zip.ZipException: error in opening zip file
Date Fri, 13 Mar 2015 19:31:27 GMT
Hi Gonzalo,
not having a solution for you I’d like to throw in my 2 cents.

1. Is the installation located on a shared drive like NFS? If yes, check if you see connection
problems at about the time the exception was thrown.

2. Did you check the integrity of the archives?

3. Did you check the integrity of the HDD? Because you are using Debian Lenny I assume the
box this is running on is an older on. And I think you should consider upgrading to Debian
Wheezy if possible.

Just my first thoughts about an interesting problem.

regards,
harald
 

On 13 Mar 2015, at 19:58, Gonzalo Vásquez Sáez <gvasquez@waypoint.cl> wrote:

> Days ago I posted a similar problem to this list, but having done what was suggested
(moved to 2.13.x version instead of 2.14.y version as we are using Java 6), same situation
arises.
> 
> Using Camel Core 2.13.3 with Java 1.6.0_20 in Debian GNU/Linux 5.0.6 (lenny)
> 
> Any hints would be appreciated
> 
> This is the stacktrace:
> 
> 58204427 [Camel (camel-1) thread #0 - timer://ws] ERROR org.apache.camel.processor.DefaultErrorHandler
- Failed delivery for (MessageId: ID-Monitor-57308-1425914499007-0-26948 on ExchangeId: ID-Monitor-57308-1425914499007-0-26949).
Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExecutionException: Exception
occurred during execution on the exchange: Exchange[Message: [Body is null]]
> 
> Message History
> ---------------------------------------------------------------------------------------------------------------------------------------
> RouteId              ProcessorId          Processor                                 
                                      Elapsed (ms)
> [route1            ] [route1            ] [timer://ws?period=180000                 
                                    ] [         4]
> [route1            ] [process1          ] [cl.waypoint.monitor.skypatrol.SkyPatrolRouteBuilder$1@4c2b349d
               ] [         1]
> [route1            ] [recipientList1    ] [recipientList[simple{Simple: http://wsp.skypatrol.com/fleet_history/waypointch]
[         4]
> 
> Exchange
> ---------------------------------------------------------------------------------------------------------------------------------------
> Exchange[
> 	Id                  ID-Monitor-57308-1425914499007-0-26949
> 	ExchangePattern     InOnly
> 	Headers             {breadcrumbId=ID-Monitor-57308-1425914499007-0-26948, CamelRedelivered=false,
CamelRedeliveryCounter=0, lastReport=20150311155143}
> 	BodyType            null
> 	Body                [Body is null]
> ]
> 
> Stacktrace
> ---------------------------------------------------------------------------------------------------------------------------------------
> org.apache.camel.CamelExecutionException: Exception occurred during execution on the
exchange: Exchange[Message: [Body is null]]
> 	at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1379)
> 	at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:283)
> 	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:573)
> 	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:506)
> 	at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:215)
> 	at org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:167)
> 	at org.apache.camel.processor.RecipientList.process(RecipientList.java:120)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:166)
> 	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:74)
> 	at java.util.TimerThread.mainLoop(Timer.java:512)
> 	at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.InternalError
> 	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:755)
> 	at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:435)
> 	at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2289)
> 	at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1364)
> 	at java.util.ResourceBundle.findBundle(ResourceBundle.java:1328)
> 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1224)
> 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
> 	at java.util.logging.Level.getLocalizedName(Level.java:223)
> 	at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:64)
> 	at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
> 	at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
> 	at java.util.logging.Logger.log(Logger.java:458)
> 	at java.util.logging.Logger.doLog(Logger.java:480)
> 	at java.util.logging.Logger.logp(Logger.java:596)
> 	at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:98)
> 	at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:193)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:439)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
> 	at org.apache.camel.component.http.HttpProducer.executeMethod(HttpProducer.java:244)
> 	at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:144)
> 	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
> 	... 19 more
> Caused by: java.util.zip.ZipException: error in opening zip file
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> 	at java.util.jar.JarFile.<init>(JarFile.java:135)
> 	at java.util.jar.JarFile.<init>(JarFile.java:72)
> 	at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:646)
> 	at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:540)
> 	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:607)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:599)
> 	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:753)
> 	... 50 more
> 358204429 [Camel (camel-1) thread #0 - timer://ws] WARN org.apache.camel.component.timer.TimerConsumer
- Error processing exchange. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.CamelExecutionException
- Exception occurred during execution on the exchange: Exchange[Message: [Body is null]]]
> org.apache.camel.CamelExecutionException: Exception occurred during execution on the
exchange: Exchange[Message: [Body is null]]
> 	at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1379)
> 	at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:283)
> 	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:573)
> 	at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:506)
> 	at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:215)
> 	at org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:167)
> 	at org.apache.camel.processor.RecipientList.process(RecipientList.java:120)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
> 	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
> 	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
> 	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:166)
> 	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:74)
> 	at java.util.TimerThread.mainLoop(Timer.java:512)
> 	at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.InternalError
> 	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:755)
> 	at sun.misc.URLClassPath.getResource(URLClassPath.java:169)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:435)
> 	at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2289)
> 	at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1364)
> 	at java.util.ResourceBundle.findBundle(ResourceBundle.java:1328)
> 	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1224)
> 	at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
> 	at java.util.logging.Level.getLocalizedName(Level.java:223)
> 	at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:64)
> 	at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
> 	at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
> 	at java.util.logging.Logger.log(Logger.java:458)
> 	at java.util.logging.Logger.doLog(Logger.java:480)
> 	at java.util.logging.Logger.logp(Logger.java:596)
> 	at org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:98)
> 	at org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:193)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:439)
> 	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
> 	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
> 	at org.apache.camel.component.http.HttpProducer.executeMethod(HttpProducer.java:244)
> 	at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:144)
> 	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
> 	... 19 more
> Caused by: java.util.zip.ZipException: error in opening zip file
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> 	at java.util.jar.JarFile.<init>(JarFile.java:135)
> 	at java.util.jar.JarFile.<init>(JarFile.java:72)
> 	at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:646)
> 	at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:540)
> 	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:607)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:599)
> 	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:753)
> 	... 50 more
> 
> 
> Atentamente / Regards,
> 
> Gonzalo Vásquez Sáez
> gvasquez@waypoint.cl <mailto:gvasquez@waypoint.cl>
> +56 (2) 29634180
> Director I+D / R&D Director
> Waypoint Telecomunicaciones S.A.
> 
> Alfredo Barros Errázuriz 1953 Of. 1004
> 7500550
> Providencia, Santiago, Chile
> Mapcode: R3.BR
> 
> 
> 
> 
> 
> 
> 
> 
> 


Mime
View raw message