Topic
  • 3 replies
  • Latest Post - ‏2013-11-10T20:59:06Z by Ying Wang
SystemAdmin
SystemAdmin
6042 Posts

Pinned topic jar file name for com.ibm.websphere.naming.WsnInitialContextFactory for WAS 6.1

‏2007-02-20T12:42:52Z |
pls tell me the jar file name for class "com.ibm.websphere.naming.WsnInitialContextFactory for WAS 6.1"
for WAS 6.1 trial version.

javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.foursoft.visilog.edi.test.TestEDISpliting.sendMessage(TestEDISpliting.java:59)
at com.foursoft.visilog.edi.test.TestEDISpliting.main(TestEDISpliting.java:35)
Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
... 6 more
Updated on 2007-09-08T18:16:42Z at 2007-09-08T18:16:42Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6042 Posts

    Re: jar file name for com.ibm.websphere.naming.WsnInitialContextFactory for WAS 6.1

    ‏2007-02-20T14:19:21Z  
    sendmailtosankar@yahoo.com wrote:
    > pls tell me the jar file name for class "com.ibm.websphere.naming.WsnInitialContextFactory for WAS 6.1"
    > for WAS 6.1 trial version.
    >
    > javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
    > at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    > at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    > at javax.naming.InitialContext.init(Unknown Source)
    > at javax.naming.InitialContext.<init>(Unknown Source)
    > at com.foursoft.visilog.edi.test.TestEDISpliting.sendMessage(TestEDISpliting.java:59)
    > at com.foursoft.visilog.edi.test.TestEDISpliting.main(TestEDISpliting.java:35)
    > Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
    > at java.net.URLClassLoader$1.run(Unknown Source)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(Unknown Source)
    > at java.lang.ClassLoader.loadClass(Unknown Source)
    > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    > at java.lang.ClassLoader.loadClass(Unknown Source)
    > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Unknown Source)
    > at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
    > ... 6 more
    >

    ws_runtime.jar

    Ken
  • SystemAdmin
    SystemAdmin
    6042 Posts

    Re: jar file name for com.ibm.websphere.naming.WsnInitialContextFactory<br> for WAS 6.1

    ‏2007-09-08T18:16:42Z  
    sendmailtosankar@yahoo.com wrote:
    > pls tell me the jar file name for class "com.ibm.websphere.naming.WsnInitialContextFactory for WAS 6.1"
    > for WAS 6.1 trial version.
    >
    > javax.naming.NoInitialContextException: Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory Root exception is java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
    > at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    > at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    > at javax.naming.InitialContext.init(Unknown Source)
    > at javax.naming.InitialContext.<init>(Unknown Source)
    > at com.foursoft.visilog.edi.test.TestEDISpliting.sendMessage(TestEDISpliting.java:59)
    > at com.foursoft.visilog.edi.test.TestEDISpliting.main(TestEDISpliting.java:35)
    > Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory
    > at java.net.URLClassLoader$1.run(Unknown Source)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(Unknown Source)
    > at java.lang.ClassLoader.loadClass(Unknown Source)
    > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    > at java.lang.ClassLoader.loadClass(Unknown Source)
    > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Unknown Source)
    > at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
    > ... 6 more
    >

    ws_runtime.jar

    Ken
    \IBM\WebSphere\AppServer\lib\naming.jar;namingserver.jar;namingclient.jar
  • Ying Wang
    Ying Wang
    1 Post

    Re: jar file name for com.ibm.websphere.naming.WsnInitialContextFactory<br> for WAS 6.1

    ‏2013-11-10T20:59:06Z  
    \IBM\WebSphere\AppServer\lib\naming.jar;namingserver.jar;namingclient.jar

    Or in the com.ibm.ws.ejb.thinclient_x.x.x.jar

    If you're intent is to run this code as a thin EJB client