Hey,
how do you start Catalina ? Do you use the -nonaming option ?
I launch it with (W2K):
catalina run -nonaming from the Tomcat bin directory.
HTH,
Simon
> -----Messaggio originale-----
> Da: Shah, Mayank [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledì 25 aprile 2001 14:35
> A: '[EMAIL PROTECTED]'
> Oggetto: [JBoss-user] Invalid protocol jndi exception thrown
> by tomcat 4
> Beta 3
>
>
> I am using Jboss as my ejb server and tomcat 4 Beta 3. Both
> are running on
> the
> same machine, but different processes (2 jvms). I have
> tested the ejb on
> it's
> own from the command line and works fine for the error I am
> getting in a
> servlet and jsp. Here is what i have:
> EJB1 returns primaryKeyEJB2
> on EJB2 I execute a method which returns a string.
>
> EJB1 works fine, but when I execute a method on EJB2 I get
> the following
> exception. In my jar file I have all the required classes, I
> tried copying
> the
> jndi in various lib folders, but no go. I even tried a copy
> of jndi that i
> downloaded from sun, but still no go. Can someone look into
> this and help
> suggest some possible sollutions. Thanks,
>
>
>
> ------------------------------------
> java.lang.reflect.UndeclaredThrowableException
> java.lang.reflect.UndeclaredThrowableException:
> java.net.MalformedURLException:
> java.lang.NullPointerException: invalid url: jndi:/WEB-
> INF/lib/myservlet_with_ejb_client_classes.jar!/
> (java.
> net.MalformedURLException: unknown protocol: jndi)
> at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
> RemoteCall.java:245)
> at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
> 220)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
> at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Un
> known Source)
> at
> org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.
> java:182)
> at $Proxy4.getArtist(Unknown Source)
> at
> com.mydomain.servlets.av.AlbumDetailView.processRequest(AlbumD
> etailView.j
> ava:150)
> at
> com.mydomain.servlets.util.RequestManagerServlet.processReques
> t(RequestMa
> nagerServlet.java:458)
> at
> com.mydomain.servlets.util.RequestManagerServlet.doGet(Request
> ManagerServ
> let.java:186)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:246)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:191)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:255)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:225)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:566)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
> ..java:246)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2175)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:164)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:566)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 446)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:162)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> ..java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
>
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
> r.java:827)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
> va:904)
> at java.lang.Thread.run(Thread.java:484)
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user