camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Walker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7640) camel-core jar contains the ZipFileDataFormat class but not META-INF/services/org/apache/camel/dataformat/zipfile
Date Fri, 25 Jul 2014 16:44:38 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-7640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Walker updated CAMEL-7640:
---------------------------------

    Attachment: activemq.log

Log file.  Search for "zipfile" all in lowercase.  This has multiple start/stop including
what should be one failed startup followed by one successful startup (with camel-zipfile JAR).

> camel-core jar contains the ZipFileDataFormat class but not META-INF/services/org/apache/camel/dataformat/zipfile
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7640
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7640
>             Project: Camel
>          Issue Type: Bug
>          Components: build system, camel-core
>    Affects Versions: 2.13.1
>         Environment: Running on Linux.
> I actually found the problem using camel embedded in activemq, but downloaded Camel standalone
to make sure the issue is there as well.
>            Reporter: Dennis Walker
>            Priority: Minor
>         Attachments: activemq.log, activemq.xml
>
>
> The camel-core JAR file contains several classes from the org/apache/camel/dataformat/zipfile
package that are also contained in the camel-zipfile JAR.
> My assumption (possibly invalid) is that this JAR should function with those classes
standalone (i.e. without the camel-zipfile JAR).  Otherwise the classes should be removed
from camel-core I would think?
> The problem is when I attempted to use camel-core standalone (this is how it is delivered
in activemq, sorry) camel stopped during startup and shut itself down.  The following debug
message appeared:
> 2014-07-25 12:27:30,188 | DEBUG | Cannot find class: zipfile | org.apache.camel.util.ObjectHelper
| main
> When I add the camel-zipfile JAR file to activemq's lib directory, the message goes away
and camel starts up successfully (actually I added v2.13.2 but I assume would be the same
with v2.13.1 which is what my activemq comes bundled with).
> I am making this a Minor Priority as that seems correct to me.  It did take me some time
to find the answer and others may not find it, which is why I don't think it's Trivial.  I
could see the case for that however if desired.
> I am using Camel embedded in ApacheMQ version 5.10.0.  I am using Sun Java version 1.6.0_45.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message