« Return to Thread: [JIRA] Created: (MAGNOLIA-2716) Invalid JDOM/JAXEN distribution included

[JIRA] Commented: (MAGNOLIA-2716) Invalid JDOM/JAXEN distribution included

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View in Thread



    [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22422#action_22422 ]

Grégory Joseph commented on MAGNOLIA-2716:
------------------------------------------

Note that the {{jdom-1.0.jar}} we bundle (from central maven repo) is identical to the {{jdom.jar}} found in the jdom distrib.
But there's indeed something fishy with Jaxen: from the JDom 1.0 distrib:
{noformat}
$ cat ./lib/jaxen.readme
The Jaxen libraries included here are based on Jaxen 1.0-FCS.  Jaxen 1.0-FCS
was written against JDOM Beta 9, and for Jaxen to support JDOM Beta 10+, we
had to make the following change to org.jaxen.jdom.DocumentNavigator.  The
jaxen-jdom.jar provided here includes this change, and it's the only
difference between the JARs here and the Jaxen 1.0-FCS JARs.
{noformat}




> Invalid JDOM/JAXEN distribution included
> ----------------------------------------
>
>                 Key: MAGNOLIA-2716
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2716
>             Project: Magnolia
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.0.1
>         Environment: ubuntu 9.04, JBoss 5.0.1, MySQL 5.0
>            Reporter: Egor Kolesnikov
>            Assignee: Grégory Joseph
>
> After changing DERBY repository to MYSQL one, the following error appears while deploying to JBoss 5.0.1:
> java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element;
>        at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java:252)
>        at org.jaxen.expr.iter.IterableParentAxis.iterator(IterableParentAxis.java:82)
>        at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:139)
>        at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:188)
> However, after replacing WEB-INF/lib/jaxen-1.0-FCS.jar and WEB-INF/lib/jdom-1.0.jar with jdom.jar, jaxen-core.jar and jaxen-jdom.jar from JDOM1.0 distribution obtained from jdom.org, everything started working properly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscribe@...>
----------------------------------------------------------------

 « Return to Thread: [JIRA] Created: (MAGNOLIA-2716) Invalid JDOM/JAXEN distribution included