java.lang.ClassCastException: com.ibm.ws.naming.ipbase.UnresolvedContext

Coderanch | anna pillutla | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Help

    Coderanch | 1 decade ago | anna pillutla
    java.lang.ClassCastException: com.ibm.ws.naming.ipbase.UnresolvedContext
  2. 0

    Re: InitalContext failure

    Google Groups | 1 decade ago | kenhygh
    java.lang.ClassCastException: com.ibm.ws.naming.ipbase.UnresolvedContext

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.ibm.ws.naming.ipbase.UnresolvedContext

      at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal()
    2. com.ibm.ws
      WsnInitCtxFactory.getInitialContext
      1. com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:212)
      2. com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
      3. com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
      4. com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
      4 frames
    3. com.ibm.websphere
      WsnInitialContextFactory.getInitialContext
      1. com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
      1 frame
    4. Java RT
      InitialContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)
      3. javax.naming.InitialContext.init(InitialContext.java:231)
      4. javax.naming.InitialContext.<init>(InitialContext.java:207)
      4 frames
    5. com.test.properties
      UpdatePropertiesHandler.doStartTag
      1. com.test.properties.UpdatePropertiesHandler.doStartTag(UpdatePropertiesHandler.java:135)
      1 frame