NoIntialContextException

Hi,
I am posting this message in this forum coz i have seen related problems in thsi forum.So i presume there will be someone who can be able to help me..
I have a java class(which is a stored procedure) which calls a xx.jar which contains code that does a lookup on a LDAP directory(Netscape Console) and gets the details from the LDAP server after which it send xml docs to the receipient address..
I have all these java classes and xx.jat reesolved fine and loaded in database.
When i try to invoke this java class via the oracle trigger-stored procedure concept i get the error of
com.directory.DirectoryException: [Root exception is java.lang.ClassCastException]javax.naming.javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory
Whereas when i run the same java class from a test application it works fine...
Do i need to change some settings in jndi in Orcale 8i??Any comments would be appreciated..
Thanks

The problem was that, since ldap.jar was not in my own system
classpath I assumed that it would not be in the Oracle JVM.
So I had loaded both ldap.jar and jndi.jar into Oracle.
When I dropped them, the problem disappered and it now works.
Rgds
Chris
-=-=-=

Similar Messages

Maybe you are looking for

  • Using the Mac as a wireless Bridge for the Xbox 360

    Want to use your Mac essentially as a wireless adapter for an Xbox 360 or any console? plug in the ethernet cable between the two devices and follow the setup process! Wireless Bridge setup process 1. Open system Preferences. 2. Clisk sharing, then t

  • Mass Update Payment Methods on BP record

    is there an easy way to activate all payment methods on all BP records without having to re-import using DTW?

  • Myvz50

    I just received a phone message from 800-000-0000 that said i was selected to receive a 50.00 credit on my bill and to go to myvz50.com and sign in to my account?  Is this phishing scam or is it real? Does anyone know? Thanks for the help

  • Illegal use of LONG datatype error message when i create materialized view

    Hello to all I want create read only materialized view replication environment two of our tables have LONG datatype when i create materialized view against on them I recieve this error message CREATE MATERIALIZED VIEW MDB.TOAD_PLAN_TABLE TABLESPACE a

  • My computer is blinking ?

    Hello, My computer is blinking ? It does works properly but its blinking once a while as 1/4 sec. at approx. every minute, not regularly. Any idea ? Thanks Louis