[jbosstools-issues] [JBoss JIRA] (JBIDE-17700) Cannot deploy jsf war with eclipse luna and jboss 7.1.x

Fred Bricon (JIRA) issues at jboss.org
Mon Jul 7 08:50:27 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982624#comment-12982624 ] 

Fred Bricon commented on JBIDE-17700:
-------------------------------------

Aparently a bug in the platform? https://bugs.eclipse.org/bugs/show_bug.cgi?id=396554#c6 :

>From Neil Hauge : {quote}
After some additional research, it would appear that we are running into an inherent limitation in the ContextFinder in Equinox (and perhaps more accurately stated as a limitation of the Java VM/TCCL and OSGi).  The classloader that initially loads the Velocity class is being cached (since Velocity uses Class.forName(...) to load the class), and subsequently reused outside of the scope of the m2e bundle that loaded it.  As a result, when Dali or any other Velocity user comes along and tries to initialize Velocity, it will fail, as the ContextFinder will use the initially cached classloader to load the class, resulting in the failure of Velocity to initialize.

See the following links for more information:
http://blog.bjhargrave.com/2007/07/contextfinder-in-eclipse-is-broken.html
https://bugs.eclipse.org/bugs/show_bug.cgi?id=127963
https://bugs.eclipse.org/bugs/show_bug.cgi?id=127963#c22 (this comment is key)
{quote}

> Cannot deploy jsf war with eclipse luna and jboss 7.1.x
> -------------------------------------------------------
>
>                 Key: JBIDE-17700
>                 URL: https://issues.jboss.org/browse/JBIDE-17700
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: forge, maven, server
>         Environment: Win 7, Eclilpse Luna, JBoss Tools (via market place)
>            Reporter: Oliver Pfau
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.2.0.Beta3
>
>         Attachments: pom.xml
>
>
> When I publish my war to jboss 7.1 the following error occurs:
> An internal error occurred during: "Publishing to JBoss AS 7.1...".
> Could not initialize class de.schlichtherle.io.ArchiveControllers



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list