thanks for the quick reply Ole,

yes it does look like it using JNP ( what ever that is )
as if I change the port number in the jnp.properties
it changes the post in the logfile.

my jndi.properties looks fine though.
how do I force it to use JNDI ???



tia again
mark.

Re: [jBoss-User] NamingException


Hi,

Looks like you are using the wrong JNDI provider.
For jBoss you should use JNP.

In dist/conf/default you should have a file jndi.properties
with properties for selecting the JNDI provider. This
should at least have these two lines:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming

Hope this helps.


Best Regards,

Ole Husgaard.


Mark Ralph wrote:
> 
> I have downloaded both jboss_tomcat (2.0FINAL and tomcat-3.2-b7) and
> jboss_jetty(2.1PRE and 3.0.0_rc6)
> and installed both on my NT4 box.
> 
> When i run either I get a javax.naming.NamingException: Error accessing
> repository: Cannot connect to ORB.
> 
> Any ideas ??
> 
> tia
> mark
> 
> ------ log file except attached -------------
> 
<snip>


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to