Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Java stored procedure and LDAP?

Java stored procedure and LDAP?

From: Andriy Korud <akorud_at_polynet.lviv.ua>
Date: Tue, 28 Dec 1999 20:53:08 +0200
Message-ID: <946407189.606913@Nova.PolyNet.Lviv.UA>


Hi, I have such question:
I create JSP which perform LDAP search using:

    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");

    env.put(Context.PROVIDER_URL, "ldap://tytan:389/o=LP");     try {

        DirContext ctx = new InitialDirContext(env);
        Attributes attrs = ctx.getAttributes("cn=pm");
        ctx.close();

    }
    ...{Some other operations}

It's imported into Oracle 8i database using loadjava successfully. It execute successfully - I got value from LDAP and {Some others ops} are executed but it never returns - at the end of procedure Oracle begin to eat 100% of CPU and that's all.

Environment:
Oracle 8i for Linux standart edition, Linux 2.2.13, 256RAM, other Java Stored Procedures are executed Ok.

Any ideas?

Thanks in advance,
Andriy Korud, Lviv, Ukraine.

P.S. Please send copy of reply by email to akorud_at_polynet.lviv.ua Received on Tue Dec 28 1999 - 12:53:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US