I'm not sure what you mean by "see JNDI tree".
I'm not 100% sure this is available in 2.2.2, why not upgrade?
If you want to, yourself, as a human, look at a listing of what is bound,
use the jmx http viewer on port 8082, select the JNDIView mbean, and press
the list button.
If you want your program to use jndi, it needs to connect on port 1099
(unless you have configured jndi to use another port). This is usually
accomplished most easily by including an appropriate jndi.properties file
in your jar. Port 1099 is not for http.
david jencks
On 2001.09.19 07:00:36 -0400 pyliu8621 wrote:
> 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
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <TITLE>RE: [JBoss-user] How can i see JNDI tree?</TITLE>
>
> <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
> <BODY>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>I had put
> all the jar files of $JBOSS/client into classpath, then it is
> OK.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>perhaps
> some jar file that seem to be not important
> is indeed necessary.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>I use
> jboss2.2.2</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>In linux,
> I cannot get <A href="http://localhost:1099">http://localhost:1099</A>,
> the
> error is that target page cannot be found.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>but In
> windows, I can truly get <A
> href="http://localhost:1099">http://localhost:1099</A>, the result is a
> page
> filled with </FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2>disordered characters.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>thanks
> for you all.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2>pylio.</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2></FONT></SPAN> </DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff
> size=2>=====================================</FONT></SPAN></DIV>
> <DIV><SPAN class=580074810-19092001><FONT face=宋体
> color=#0000ff size=2>Original
> Message</FONT> </SPAN></DIV>
> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
> <P><FONT size=2>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.</FONT></P>
> <P><FONT size=2>JBOSS=/opt/jboss</FONT> <BR><FONT
> size=2>JBOSS_CLIENT=$JBOSS/client</FONT> </P>
> <P><FONT size=2>java \</FONT> <BR><FONT size=2> -classpath
> \</FONT>
> <BR><FONT
>
>size=2>$CLASSPATH:$JBOSS_CLIENT/jboss-client.jar:$JBOSS_CLIENT/jbosssx-client.jar:$JBOSS_CLIENT/jnp-client.jar:/opt/xerces/xerces.jar
>
> \</FONT></P>
> <P><FONT
> size=2> -Djava.naming.provider.url=sundev3.pdsi-software.com:1099
> \</FONT> <BR><FONT
> size=2> -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
>
> \</FONT> <BR><FONT
> size=2> -Djava.naming.factory.url.pkgs=org.jboss.naming \</FONT>
> <BR><FONT size=2> $*</FONT> </P>
> <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT
> size=2>From: ALex
> Loubyansky [<A
> href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>
> <BR><FONT
> size=2>Sent: Friday, September 14, 2001 5:49 AM</FONT> <BR><FONT
> size=2>To:
> [EMAIL PROTECTED]</FONT> <BR><FONT size=2>Subject: RE:
> [JBoss-user] How can i see JNDI tree?</FONT> </P><BR>
> <P> <FONT size=2>I think, as
> that
> was mentioned, it would be sufficiently to add to</FONT> <BR><FONT
> size=2>classpath jndi.jar and jnp-client.jar from
> JBOSS_HOME/client.</FONT>
> </P>
> <P><FONT size=2>jalex</FONT> <BR><FONT
> size=2>----------------------------</FONT> <BR><FONT size=2>This is my
> best
> life</FONT> </P><BR>
> <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT
> size=2>From:
> [EMAIL PROTECTED]</FONT> <BR><FONT size=2>[<A
>
>href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]On
>
> Behalf Of pyliu8621</FONT> <BR><FONT size=2>Sent: Friday, September 14,
> 2001
> 1:02 PM</FONT> <BR><FONT size=2>To:
> [EMAIL PROTECTED]</FONT>
> <BR><FONT size=2>Subject: Re: [JBoss-user] How can i see JNDI
> tree?</FONT>
> </P><BR>
> <P><FONT size=2>also to Alex:</FONT> </P>
> <P><FONT size=2>I had done, but it doesn't work...</FONT> <BR><FONT
> size=2>when I see <A target=_blank
> href="http://localhost:1099">http://localhost:1099</A> this page can
> not be
> found</FONT> </P>
> <P><FONT size=2>Does it hint that jndi provider does not
> work?</FONT>
> </P>
> <P><FONT size=2>thanks</FONT> </P><BR><BR>
> <P><FONT size=2>> the error is :</FONT> <BR><FONT size=2>></FONT>
>
> <BR><FONT size=2>> " Cannot instantiate class:
> org.jnp.interfaces.NamingContextFactory"</FONT> <BR><FONT
> size=2>></FONT>
> </P>
> <P><FONT size=2>You need to set the class path to jnp-client.jar in
> jboss/client directory</FONT> </P>
> <P><FONT size=2>--</FONT> <BR><FONT size=2>Victor Hadianto</FONT>
> <BR><FONT
> size=2>Nuix Pty. Ltd. (02) 9283
> 9010</FONT> </P>
> <P><FONT size=2>_______________________________________________</FONT>
> <BR><FONT size=2>JBoss-user mailing list</FONT> <BR><FONT
> size=2>[EMAIL PROTECTED]</FONT> <BR><FONT size=2><A
> target=_blank
>
>href="https://lists.sourceforge.net/lists/listinfo/jboss-user">https://lists.sourceforge.net/lists/listinfo/jboss-user</A>ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ</FONT>
>
> <BR><FONT
>
>size=2>ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÉ‹,þë®f¢-)à-+-$,³û¬z¿åŠËlþÊ.­ÇŸ¢¸þw­†Ûi³ÿÿ-+-³û(º·~Šà{ùÞ·</FONT>
>
> <BR><FONT size=2>ùb²Û?-+-Šwèþ6è²Ïî</FONT> </P><BR>
> <P><FONT size=2>_______________________________________________</FONT>
> <BR><FONT size=2>JBoss-user mailing list</FONT> <BR><FONT
> size=2>[EMAIL PROTECTED]</FONT> <BR><FONT size=2><A
> target=_blank
>
>href="https://lists.sourceforge.net/lists/listinfo/jboss-user">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT>
>
> </P></BLOCKQUOTE></BODY></HTML>
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user