bug in camel-jboss6 when loading classes from a war WEB-INF/classes

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug in camel-jboss6 when loading classes from a war WEB-INF/classes

Benjamin
Hi,

JBossPackageScanClassResolver works fine for exploded ear, but when one deploys an ear as an archive, classes that are inside the WEB-INF/classes of a war inside that ear are not addressed correctly by the resolver. Existing code has a ".jar" pattern that works for classes inside a jar, but nothing for classes directly in the WEB-INF/classes of a war.
I proposed a fix in my clone of the component. See :

https://code.google.com/a/apache-extras.org/r/benjaminbonnet51-camel-jboss6/source/browse/components/camel-jboss6/src/main/java/org/apacheextras/camel/jboss/JBossPackageScanClassResolver.java

Regards

PS : my environment consists of a jBoss6.2EAP
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: bug in camel-jboss6 when loading classes from a war WEB-INF/classes

cemmersb
Hi Benjamin,

thanks for the report. I’ll take care about the bugfix and will release it as soon as I found some time to spare.

Additionally I’ve raised an official JIRA to track the changes.


Kind regards,

Christoph

On 20 Aug 2014, at 14:04, Benjamin [via camel-extra] <[hidden email]> wrote:

Hi,

JBossPackageScanClassResolver works fine for exploded ear, but when one deploys an ear as an archive, classes that are inside the WEB-INF/classes of a war inside that ear are not addressed correctly by the resolver. Existing code has a ".jar" pattern that works for classes inside a jar, but nothing for classes directly in the WEB-INF/classes of a war.
I proposed a fix in my clone of the component. See :

https://code.google.com/a/apache-extras.org/r/benjaminbonnet51-camel-jboss6/source/browse/components/camel-jboss6/src/main/java/org/apacheextras/camel/jboss/JBossPackageScanClassResolver.java

Regards

PS : my environment consists of a jBoss6.2EAP


If you reply to this email, your message will be added to the discussion below:
http://camel-extra.1091541.n5.nabble.com/bug-in-camel-jboss6-when-loading-classes-from-a-war-WEB-INF-classes-tp349.html
To start a new topic under camel-extra, email [hidden email]
To unsubscribe from camel-extra, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: bug in camel-jboss6 when loading classes from a war WEB-INF/classes

Benjamin
Thank you Christoph
Loading...