Title: RE: [JBoss-user] How can i see JNDI tree?
the InitialContext class has functionality to iteratate over the objects bound
 
Joost.
-----Original Message-----
From: pyliu8621 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How can i see JNDI tree?

I had put all the jar files of $JBOSS/client into classpath, then it is OK.
 
perhaps some jar file that seem to be not important is indeed necessary.
 
 
I use jboss2.2.2
 
In linux, I cannot get http://localhost:1099, the error is that target page cannot be found.
 
but In windows, I can truly get http://localhost:1099, the result is a page filled with
 
disordered characters.
 
thanks for you all.
 
 
pylio.
 
 
=====================================
Original Message 

Here is a script that runs on unix to connect the client to a JBoss(2.2.2) container.  Xerces is used by the test client and is not required.

JBOSS=/opt/jboss
JBOSS_CLIENT=$JBOSS/client

java \
 -classpath \
$CLASSPATH:$JBOSS_CLIENT/jboss-client.jar:$JBOSS_CLIENT/jbosssx-client.jar:$JBOSS_CLIENT/jnp-client.jar:/opt/xerces/xerces.jar \

 -Djava.naming.provider.url=sundev3.pdsi-software.com:1099 \
 -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory \
 -Djava.naming.factory.url.pkgs=org.jboss.naming \
 $*

-----Original Message-----
From: ALex Loubyansky [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 5:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] How can i see JNDI tree?


        I think, as that was mentioned, it would be sufficiently to add to
classpath jndi.jar and jnp-client.jar from JBOSS_HOME/client.

jalex
----------------------------
This is my best life


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of pyliu8621
Sent: Friday, September 14, 2001 1:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How can i see JNDI tree?


also to Alex:

I had done, but it doesn't work...
when I see http://localhost:1099 this page can not be found

Does it hint that  jndi provider does not work?

thanks



> the error is :
>
> " Cannot instantiate class: org.jnp.interfaces.NamingContextFactory"
>

You need to set the class path to jnp-client.jar in jboss/client directory

--
Victor Hadianto
Nuix Pty. Ltd.      (02) 9283 9010

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-userÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÉ‹,þë®f¢-)à-+-$,³û¬z¿åŠËlþÊ.­ÇŸ¢¸þw­†Ûi³ÿÿ-+-³û(º·~Šà{ùÞ·
ùb²Û?-+-Šwèþ6è²Ïî


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

Reply via email to