carol - ClassNotFoundException: org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

carol - ClassNotFoundException: org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory

Steve Bayliss
Message
Hi
 
Running Orbeon alongside another webapp (Fedora) that includes carol-2.0.5.jar gives the following exception on attempting to access Orbeon:
 
javax.servlet.ServletException:
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
 org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:133)
 javax.servlet.GenericServlet.init(GenericServlet.java:212)
...
Caused by:
java.lang.ClassNotFoundException:
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
...
 
Renaming Orbeon so that it is before Fedora (and presumably then starts first?) seems to get around this, as does copying carol-2.0.5.jar to Orbeon's WEB-INF/lib
 
Any insight into why this is happening?  Is the solution above ok or should I be looking at doing something else?
 
Steve


--
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
Reply | Threaded
Open this post in threaded view
|

Re: carol - ClassNotFoundException: org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory

Alessandro Vernet
Administrator
Steve,

On Feb 19, 2009, at 1:40 AM, Steve Bayliss wrote:

> Running Orbeon alongside another webapp (Fedora) that includes  
> carol-2.0.5.jar gives the following exception on attempting to  
> access Orbeon:
>
> javax.servlet.ServletException:
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
>  
> org
> .orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:
> 133)
>  javax.servlet.GenericServlet.init(GenericServlet.java:212)
> ...
> Caused by:
> java.lang.ClassNotFoundException:
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
> org
> .apache
> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1386)
> org
> .apache
> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1232)
> ...
I haven't heard about interoperability issues with Carol before, but  
since the exception is in Carol's code, you might also want to ask the  
question on their mailing list or forum.

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/
Twitter - http://twitter.com/avernet



--
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
Reply | Threaded
Open this post in threaded view
|

RE: Re: carol - ClassNotFoundException: org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory

Steve Bayliss
Hi Alex

Yes, looks like it's not an Orbeon Forms issue - but maybe a JOTM deployment
issue (certain libraries need to be in $CATALINA_HOME/common/lib -
http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html )

Steve

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: 20 February 2009 03:20
To: [hidden email]
Subject: [ops-users] Re: carol - ClassNotFoundException:
org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory


Steve,

On Feb 19, 2009, at 1:40 AM, Steve Bayliss wrote:

> Running Orbeon alongside another webapp (Fedora) that includes
> carol-2.0.5.jar gives the following exception on attempting to  
> access Orbeon:
>
> javax.servlet.ServletException:
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
>  
> org
> .orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:
> 133)
>  javax.servlet.GenericServlet.init(GenericServlet.java:212)
> ...
> Caused by:
> java.lang.ClassNotFoundException:
> org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory
> org
> .apache
> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1386)
> org
> .apache
> .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1232)
> ...
I haven't heard about interoperability issues with Carol before, but  
since the exception is in Carol's code, you might also want to ask the  
question on their mailing list or forum.

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/
Twitter - http://twitter.com/avernet




--
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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: carol - ClassNotFoundException: org.objectweb.carol.jndi.spi.MultiOrbInitialContextFactory

Alessandro Vernet
Administrator
Steve,

On Feb 20, 2009, at 1:13 AM, Steve Bayliss wrote:

> Yes, looks like it's not an Orbeon Forms issue - but maybe a JOTM  
> deployment
> issue (certain libraries need to be in $CATALINA_HOME/common/lib -
> http://static.raibledesigns.com/downloads/howto-tomcat-jotm.html )


Excellent. Good this know.

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/
Twitter - http://twitter.com/avernet



--
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