Hi,
I have got the same problem on beta 3 while it was working fine on Beta 1.
I am using -nonaming option.
I am 99.99% sure (setup done in parallel, install from scratch, ...) it is
linked to Beta 3.  Beta 1 is working OK.

Vincent.

> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Bordet,
> Simone
> Envoyé : mercredi 25 avril 2001 15:28
> À : '[EMAIL PROTECTED]'
> Objet : R: [JBoss-user] Invalid protocol jndi exception thrown by tomcat
> 4 Beta 3
>
>
> Hey,
>
> > No, I don't use that option, I will try it out latter today.
> > What does that
> > option do? (disable naming, can you elabrate)
>
> Catalina comes with its own naming implementation, that is by default
> active.
> So if you have code under web-inf/lib or web-inf/classes that does new
> InitialContext(), even if a jndi.properties is in the web application
> classpath (pointing to a different naming service than the Catalina one),
> Catalina get confused and barfs unknown protocol: jndi
>
> Since JBoss has its own naming service, you should probably start Catalina
> with the -nonaming option.
>
> I didn't try Catalina with JBoss, but with another application I
> wrote (that
> has its own naming service), the -nonaming option did the job.
> Probably will
> do also for JBoss, but I'm not 100% sure of this.
>
> Let us know.
>
> HTH,
>
> Simon
>
> >
> > Thanks,
> >
> > Mayank
> >
> > -----Original Message-----
> > From: Bordet, Simone [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 25, 2001 8:51 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: R: [JBoss-user] Invalid protocol jndi exception thrown by
> > tomcat 4 Beta 3
> >
> >
> > 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
> > >


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to