java.lang.ClassCastException

javax.naming.directory.InitialDirContext

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Oracle Community by 37446, 1 year ago
    javax.naming.directory.InitialDirContext
  • Stack trace

    • java.lang.ClassCastException: javax.naming.directory.InitialDirContext at oracle.ldap.das.util.LDAPConnection.switch2UserBind(LDAPConnection.java:539) at oracle.ldap.das.mypage.MyData.setupMyData(MyData.java:525) at oracle.ldap.das.util.LDAPConnection.confirmLDAPSession(LDAPConnection.java:2228) at oracle.ldap.das.util.PartnerOIDRepository.storePartnerParameters(PartnerOIDRepository.java:245) at java.lang.reflect.Method.invoke(Native Method) at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source) at oracle.ldap.das.util.DemoPageFlowEngine.handleRequest(DemoPageFlowEngine.java:50) at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:244) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151) at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.