Hello!

        You probably must have the jnpserver.jar in your classpath for client. It
resides in %JBOSS_HOME%/lib/ext/

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


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of pyliu8621
Sent: Friday, September 14, 2001 10:24 AM
To: [EMAIL PROTECTED]
Subject: re:[JBoss-user] How can i see JNDI tree?


Now


I have added these lines:

                System.setProperty("java.naming.factory.initial",
                        "org.jnp.interfaces.NamingContextFactory");
                System.setProperty("java.naming.provider.url",
                        "localhost:1099");

the error is :

" Cannot instantiate class: org.jnp.interfaces.NamingContextFactory"

why?

thanks for any hints!

pylio


---------------------------
thanks for Scott's help

Now I have seen "estore/ReportForm" in jndi tree.
I can confirm it.

-------------

+- estore
  |   +- PLU
  |   +- Payment
  |   +- RTNReport
  |   +- DlvDtl
  |   +- Cheval
  |   +- RtnHead
  |   +- ReportForm    *********************************************
  |   +- CashStock
  |   +- Adj
  |   +- Mrk
  |   +- DlvHead
  |   +- PosulReport
  |   +- Store
  |

but why I can't get it in my another apllication (A)  by
ic.lookup("estore/ReportForm")?

ic:
InitialContext ic = new InitialContext();

perhaps ic is wrong?  **********


now jboss and my application A is in same one PC.

thanks.$²®––$²®¶º~z†Ûi?åŠËl²‹«qçè?§zßåŠËlþX¬¶)ߣ
øÛ¢Ë.ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ??þë®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