Re: [JBoss-user] NoInitialContext

2002-11-18 Thread SainTiss
lude > the text in the body of the message, rather than as an attachment to it. > > - Original Message - > From: "SainTiss" <[EMAIL PROTECTED]> > To: "JBoss Mailing" <[EMAIL PROTECTED]> > Sent: Sunday, November 17, 2002 11:30 AM > Subj

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread SainTiss
Right... That explains it... Thanks to all who responded... I can see that it's explained at http://www.jboss.org/online-manual/HTML/ch01s15.html indeed, but it's a bit tricky, since on the jboss site, it is referred to as deprecated docs, so you don't really know which parts are relevant for j

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread Rodrigo Chandía
El Domingo 17 de Noviembre del 2002 02:50 PM, SainTiss escribió: > On Sun, 2002-11-17 at 19:33, G.L. Grobe wrote: > Well yes, but now I can't see how it would be possible to run them in > the same VM... See below... > I mean, you always have to issue the java command twice, no? If you are using

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread Stefan Arentz
On Monday, Nov 18, 2002, at 14:12 Europe/Amsterdam, Brian Johnson wrote: A "client" would be in the same VM if it was a servlet or something similar running within the app server. Back to the original question, if you need to talk to JBoss from a different *process* or even a different *machi

Re: [JBoss-user] NoInitialContext / Classpath

2002-11-18 Thread Brian Johnson
http://www.jboss.org/online-manual/HTML/ch01s15.html On Sun, 2002-11-17 at 14:10, SainTiss wrote: > So this means you do need a jndi.properties file in the classpath when > running the client? > > After even more research, I found out that the jndi.properties file in > the server/default/conf dir

Re: [JBoss-user] NoInitialContext

2002-11-18 Thread Brian Johnson
A "client" would be in the same VM if it was a servlet or something similar running within the app server. On Sun, 2002-11-17 at 13:50, SainTiss wrote: > On Sun, 2002-11-17 at 19:33, G.L. Grobe wrote: > > >I'm using the same "java" command to launch jboss as I use to launch the > > >client, so I'

Re: [JBoss-user] NoInitialContext

2002-11-17 Thread Guy Rouillier
to it. - Original Message - From: "SainTiss" <[EMAIL PROTECTED]> To: "JBoss Mailing" <[EMAIL PROTECTED]> Sent: Sunday, November 17, 2002 11:30 AM Subject: [JBoss-user] NoInitialContext --- This sf.net email

Re: [JBoss-user] NoInitialContext / Classpath

2002-11-17 Thread SainTiss
So this means you do need a jndi.properties file in the classpath when running the client? After even more research, I found out that the jndi.properties file in the server/default/conf directory isn't right... It seems you need a line like this as well: java.naming.provider.url=localhost As for

Re: [JBoss-user] NoInitialContext

2002-11-17 Thread SainTiss
On Sun, 2002-11-17 at 19:33, G.L. Grobe wrote: > >I'm using the same "java" command to launch jboss as I use to launch the > >client, so I'm pretty sure this is the case... So why am I still getting > >this exception? > > So in other words ... it sounds like you're launching two instances of the >

Re: [JBoss-user] NoInitialContext

2002-11-17 Thread G.L. Grobe
>I'm using the same "java" command to launch jboss as I use to launch the >client, so I'm pretty sure this is the case... So why am I still getting >this exception? So in other words ... it sounds like you're launching two instances of the JVM and of course that would be done using the same comman

[JBoss-user] NoInitialContext

2002-11-17 Thread SainTiss
Hi, I'm writing a very simple client atm, but something's wrong... I get this exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.nami