Hello,
I'm investigating a potential library/class
loading conflict (when Orbeon is deployed in SAP's WAS) and noticed Orbeon
is using JDOM beta9 - that's pretty old (it was released in April 2003). Is
there any particular reason it's not using 1.1 final?
Thanks,
JL
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Jean-Luc,
Our code does not use JDOM (we use dom4j instead, and we are thinking about using XOM in the future). So JDOM must be used by one of the libraries, but I am not sure which one. Try removing it altogether, or upgrading it, and if there are any issues please let us know. -Erik On Mar 10, 2008, at 1:13 PM, Jean Luc wrote: > Hello, > > I'm investigating a potential library/class loading conflict (when > Orbeon is deployed in SAP's WAS) and noticed Orbeon is using JDOM > beta9 - that's pretty old (it was released in April 2003). Is there > any particular reason it's not using 1.1 final? > > Thanks, > JL -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
I scanned my local copy of your CVS repository, JDOM is used by the saxon
subproject. I replaced the beta9 jar with the latest (1.1) that we use and the conflict dissapeared. Weirdly, though, under SAP it seems that Orbeon's libraries take precedence over the EAR's when called from the EJB app or another WAR (when all are under the same EAR)! That is, if in my EJB application code I load class Foo and there is such a class in Orbeon's libraries, that copy is loaded instead of the one packaged with my application. Just when I finished with JDOM I stumbled over the next one: commons-fileupload (we use commons-fileupload-1.2, Orbeon packages commons-fileupload-1.0). I can't fathom what were they thinking... ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Monday, March 10, 2008 5:27 PM Subject: [ops-users] Re: jdom & orbeon > Jean-Luc, > > Our code does not use JDOM (we use dom4j instead, and we are thinking > about using XOM in the future). > > So JDOM must be used by one of the libraries, but I am not sure which > one. > > Try removing it altogether, or upgrading it, and if there are any > issues please let us know. > > -Erik > > On Mar 10, 2008, at 1:13 PM, Jean Luc wrote: > >> Hello, >> >> I'm investigating a potential library/class loading conflict (when >> Orbeon is deployed in SAP's WAS) and noticed Orbeon is using JDOM >> beta9 - that's pretty old (it was released in April 2003). Is there >> any particular reason it's not using 1.1 final? >> >> Thanks, >> JL > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
On Tue, Mar 11, 2008 at 2:53 PM, Jean Luc <[hidden email]> wrote:
> I scanned my local copy of your CVS repository, JDOM is used by the saxon > subproject. I replaced the beta9 jar with the latest (1.1) that we use and > the conflict dissapeared. Would it work if you entirely remove the jdom jar from orbeon.war? > Weirdly, though, under SAP it seems that Orbeon's libraries take precedence > over the EAR's when called from the EJB app or another WAR (when all are > under the same EAR)! That is, if in my EJB application code I load class Foo > and there is such a class in Orbeon's libraries, that copy is loaded instead > of the one packaged with my application. Just when I finished with JDOM I > stumbled over the next one: commons-fileupload (we use > commons-fileupload-1.2, Orbeon packages commons-fileupload-1.0). Interesting. Not that this helps you in this case, but WebLogic does it the other way around, with one class loader for all your EJBs and one per web app, which is child of the EJB class loader. See the figure 4-1 on: http://edocs.bea.com/wls/docs81/programming/classloading.html Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Jean Luc-2
> I scanned my local copy of your CVS repository, JDOM is used by the
> saxon subproject. "Used" is relative here: AFAIK Saxon will *support* JDOM, in that it is then able to support interfacing with JDOM trees in memory. But by default, Saxon should not depend on JDOM any more than it should depend on dom4j or XOM. My guess is that if you just remove the JDOM JAR, Saxon will continue working fine. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
> Would it work if you entirely remove the jdom jar from orbeon.war?
I'll try today or tomorrow (I'm using a QA server so these changes go in when a build is deployed). > Interesting. Not that this helps you in this case, but WebLogic does > it the other way around, with one class loader for all your EJBs and > one per web app, which is child of the EJB class loader. See the > figure 4-1 on: Yep, that's how a server should behave, hence my surprise. ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Tuesday, March 11, 2008 6:16 PM Subject: [ops-users] Re: Re: Re: jdom & orbeon > On Tue, Mar 11, 2008 at 2:53 PM, Jean Luc <[hidden email]> wrote: >> I scanned my local copy of your CVS repository, JDOM is used by the saxon >> subproject. I replaced the beta9 jar with the latest (1.1) that we use >> and >> the conflict dissapeared. > > Would it work if you entirely remove the jdom jar from orbeon.war? > >> Weirdly, though, under SAP it seems that Orbeon's libraries take >> precedence >> over the EAR's when called from the EJB app or another WAR (when all are >> under the same EAR)! That is, if in my EJB application code I load class >> Foo >> and there is such a class in Orbeon's libraries, that copy is loaded >> instead >> of the one packaged with my application. Just when I finished with JDOM >> I >> stumbled over the next one: commons-fileupload (we use >> commons-fileupload-1.2, Orbeon packages commons-fileupload-1.0). > > Interesting. Not that this helps you in this case, but WebLogic does > it the other way around, with one class loader for all your EJBs and > one per web app, which is child of the EJB class loader. See the > figure 4-1 on: > > http://edocs.bea.com/wls/docs81/programming/classloading.html > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > Orbeon's Blog: http://www.orbeon.com/blog/ > Personal Blog: http://avernet.blogspot.com/ > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Alessandro Vernet
----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> > Would it work if you entirely remove the jdom jar from orbeon.war? yes. it does. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |