java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Help
    via by anna pillutla,
  • Re: InitalContext failure
    via by kenhygh,
  • lookup a bean on AIX box
    via by dma...@gratex.com,
    • java.lang.ClassCastException: com.ibm.ws.naming.ipbase.UnresolvedContext at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:212) at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98) at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137) at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255) at javax.naming.InitialContext.init(InitialContext.java:231) at javax.naming.InitialContext.<init>(InitialContext.java:207) at com.test.properties.UpdatePropertiesHandler.doStartTag(UpdatePropertiesHandler.java:135)
    No Bugmate found.