----- Original Message -----
Sent: Wednesday, October 25, 2000 3:56
PM
Subject: Re: EJB classpath problem
Hi Laurent
Where is your rapids-util.jar file located.
I would suggest that you put this in
your_orion_dir/lib.
I had the same kind of situation with
cloudscape (database) and orion. I have a couple of
objects that need to be stored in cloudscape but
cloudscape couldn't find it. But i had the classes in one of my ejb-jars. So
when i put the classes in orion/lib everything
worked fine. I think that orions class loader doesn't
make the classes in ejb-jar available
to the rest of the system.
Greetings Wim Veninga.
Laurent Cornelis wrote:
Hello,
I deploy a J2EE application (called
rapids) with Orion, here is my directory
structure after deployment :
orion/applications/rapids -> Contains
EJBs jar
orion/applications/rapids/rapids-web -> Contains the Web
app
orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar
-> A jar
file my web
application and my EJB need
Somewhere in my web applications, a call
to WebFacade (One of my EJBs) is
done. In this call WebFacade must use a class from rapids-util.jar
(class
ubiquity.rapids.ejb.util.HomeFactory) but here is the exception I
catch :
<snip>
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled
back:
java.lang.NoClassDefFoundError:
ubiquity/rapids/ejb/util/HomeFactory
at
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:311)
at
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at
com.orionserver.http.OrionHttpJspPage.service(JAX)
at
com.evermind.server.http.HttpApplication.w5(JAX)
at
com.evermind.server.http.JSPServlet.service(JAX)
at
com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at
ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at
com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
Nested exception is:
java.lang.NoClassDefFoundError:
ubiquity/rapids/ejb/util/HomeFactory
at
ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBean.java:153)
at
WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:281)
at
/pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at
com.orionserver.http.OrionHttpJspPage.service(JAX)
at
com.evermind.server.http.HttpApplication.w5(JAX)
at
com.evermind.server.http.JSPServlet.service(JAX)
at
com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at
ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at
com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
</snip>
How can I tell to the EJBs where is
rapids-util.jar ? Please help !!!
Thanks
Laurent