Olivier

Thanks for responding.

If you can help then that would be much appreciated and I hope I can return
the favor.

This is the message I sent to the resin help
---------------------------
I am trying to get Resin working with Jonas EJB. I have the EJB client
working seperate of Resin and even with Orion/Jonas.

Do you know anyone that has Resin/Jonas working? Have you got any tests?

I have completed the following steps

1. Set up Jonas
2. Set up Resin
3. Added additional classes to Resin WEB-INF including the one below that it
cannot find.
4. Created ejbconnect.jsp (below)
5. executed jsp and got the following error consistently



The error I get is

500 Servlet Exception
java.lang.NoClassDefFoundError: org/objectweb/jonas/jtm/Current
at org.objectweb.jonas.rmifilters.RemoteStub.invoke(RemoteStub.java:74)
at
com.remoteapps.database.JOnASIDAllocationEJBClassIDAllocationEJBHome_Stub.cr
eate(JOnASIDAllocationEJBClassIDAllocationEJBHome_Stub.java:36)
at _jsp._ejbconnect__jsp._jspService(/ejbconnect.jsp:1)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:91)
at com.caucho.jsp.Page.service(Page.java:269)
at com.caucho.jsp.QServlet.service(QServlet.java:161)
at com.caucho.server.http.AbstractRequest.service(AbstractRequest.java:401)
at com.caucho.server.http.AbstractRequest.service(AbstractRequest.java:344)
at com.caucho.server.http.PageCache$Entry.service(PageCache.java:221)
at com.caucho.server.http.PageCache.service(PageCache.java:105)
at com.caucho.server.http.VirtualHost.service(VirtualHost.java:379)
at com.caucho.server.http.Request.dispatch(Request.java:202)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:189)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:135)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)

----------------ejbconnect.jsp-----------------
<%@page import="javax.ejb.*,javax.naming.*,javax.rmi.PortableRemoteObject"%>
<%
java.util.Properties p = new java.util.Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.rmi.registry.RegistryCon
textFactory");
p.put(Context.PROVIDER_URL, "rmi://vim.immstudios.com:1099");
p.put(Context.SECURITY_PRINCIPAL, "admin");
p.put(Context.SECURITY_CREDENTIALS, "123");
Context context = new InitialContext(p);
Object homeObject = context.lookup("ejb/IDAllocation");
com.remoteapps.database.IDAllocationEJBHome home =
(com.remoteapps.database.IDAllocationEJBHome)PortableRemoteObject.narrow(hom
eObject, com.remoteapps.database.IDAllocationEJBHome.class);
com.remoteapps.database.IDAllocationEJB idalloc =
(com.remoteapps.database.IDAllocationEJB)PortableRemoteObject.narrow(home.cr
eate(), com.remoteapps.database.IDAllocationEJB.class);
%>
<%= idalloc.generateId()%>
<br>
................................................




Cheers

Dan Winfield

----- Original Message -----
From: "Olivier Richaud" <[EMAIL PROTECTED]>
To: "Dan Winfield" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 12:50 PM
Subject: Re: Jonas and Resin


> I'm using both resin and Jonas, and it works fine. i had no problem. Could
> you tell me more and I'll help you?
>
> Olivier Richaud
> CSTB
> office: +33 4 93 95 67 24
> mobile: +33 6 87 52 53 17
> www: http://cic.cstb.fr
> ----- Message d'origine -----
> De : Dan Winfield <[EMAIL PROTECTED]>
> À : <[EMAIL PROTECTED]>
> Envoyé : mardi 15 août 2000 12:05
> Objet : Jonas and Resin
>
>
> > Has anyone got Resin to connect to JONAS. I have been unable to do this.
> >
> > Surely someone must be using this combination.
> >
> > I have JONAS functioning with other EJB Clients but Resin doesn't want
to
> > join in.
> >
> > Is there a doc on using a Servlet/JSP Engine with Jonas that I can refer
> to?
> >
> > Thanks in Advance.
> >
> > Dan Winfield
> >
> > ----
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body of the message "unsubscribe jonas-users".
> > For general help, send email to [EMAIL PROTECTED] and
> > include in the body of the message "help".
> >
>

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to