java.lang.ClassCastException: java.lang.String

Oracle Community | 3004 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Servlets and Workspaces

    Oracle Community | 2 decades ago | 3004
    java.lang.ClassCastException: appl.X.EServlet > at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java > at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja va:349) > at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav a:338) > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16 4) > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:742) > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:686) > at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:247) > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
  2. 0

    Re:Internal Error

    Oracle Community | 2 decades ago | 3004
    java.lang.ClassCastException: examples.servlets.ErrorServlet > at > weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:382) > > at > weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java, > Compiled Code) > at > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:338) > > at > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164) > > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99) > > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742) > > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686) > > at > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247) > > at > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361) >
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    how can I load javaBeans in jsp without restart WL?

    Oracle Community | 2 decades ago | 3004
    java.lang.ClassCastException: com.aa.mybean at > jsp_servlet._test._classquery._jspService(_mybean.java:81) at > weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:760) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:707) > at > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:251) > at > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369) >

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String

      at weblogic.security.ldaprealm.LDAPDelegate.authLocal()
    2. weblogic.security.ldaprealm
      LDAPRealm.authUserPassword
      1. weblogic.security.ldaprealm.LDAPDelegate.authLocal(LDAPDelegate.java:455)
      2. weblogic.security.ldaprealm.LDAPDelegate.authenticate(LDAPDelegate.java:381)
      3. weblogic.security.ldaprealm.LDAPRealm.authUserPassword(LDAPRealm.java:60)
      3 frames
    3. weblogic.security.acl
      Security.authenticate
      1. weblogic.security.acl.AbstractListableRealm.authInternal(AbstractListableRealm.java:188)
      2. weblogic.security.acl.AbstractListableRealm.authenticate(AbstractListableRealm.java:129)
      3. weblogic.security.acl.AbstractListableRealm.getUser(AbstractListableRealm.java:112)
      4. weblogic.security.acl.CachingRealm.authenticate(CachingRealm.java:1256)
      5. weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:1178)
      6. weblogic.security.acl.Realm.authenticate(Realm.java:181)
      7. weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:199)
      8. weblogic.security.acl.internal.Security.authenticate(Security.java:81)
      8 frames
    4. Atmosphere weblogic
      ServletContextManager.invokeServlet
      1. weblogic.servlet.internal.ServletContextImpl.checkA(ServletContextImpl.java:1644)
      2. weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:719)
      3. weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
      4. weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
      4 frames
    5. weblogic.socket
      MuxableSocketHTTP.execute
      1. weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
      2. weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
      2 frames