>
> Of course, I had it set to
>
> 1. other machine's hostname
> 2. IP address
> 3. the above with the port number.
>
> Then I tried the same thing on the same machine where JBoss is running and
> used localhost there, to no avail.
OK, you're probably thinking that I'm an idiot, or that I think you are, but
I had to ask :)
Maybe the next thing is to instrument the code with a bit of debugging. For
one thing, maybe just before the getInitialContext() call print out
System.getProperty("java.naming.factory.initial") and
System.getProperty("java.naming.provider.url")
to make sure that your jndi.properties is indeed getting picked up and
not just masking your earlier problem in some other way.
I think something must be wrong in there if this doesn't work on the same
box.
S-
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]