I am getting the below error during my Start up of my EE Test Server with Security ON. I am not getting this error with Security OFF.



A NamingException is being thrown from a javax.naming.Context implementation. Details follow:

Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl

Context method: createSubcontext

Context name: localhost/nodes/localhost/servers/server1

Target name: wm

Other data:

Exception stack trace: java.lang.NoClassDefFoundError: com/ibm/ws/security/core/ContextManagerFactory

at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBa se.getSecurityContextMgr(WsnOptimizedNamingImplBas e.java:2235)

at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBa se.popInvocationCredential(WsnOptimizedNamingImplB ase.java:2303)

at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBa se.bind_new_corba_context(WsnOptimizedNamingImplBa se.java:1313)

at java.lang.reflect.Method.invoke(Native Method)

at com.ibm.CORBA.iiop.ClientDelegate$1.run(ClientDele gate.java:1049)

at java.security.AccessController.doPrivileged(Native Method)

at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDel egate.java:1047)

at $Proxy0.bind_new_corba_context(Unknown Source)

at com.ibm.WsnOptimizedNaming._NamingContextStub.bind _new_corba_context(Unknown Source)

at com.ibm.ws.naming.jndicos.CNContextImpl.cosBindNew Context(CNContextImpl.java:3257)

at com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSu bcontext(CNContextImpl.java:2213)

at com.ibm.ws.naming.jndicos.CNContextImpl.createSubc ontext(CNContextImpl.java:779)

at com.ibm.websphere.naming.JndiHelper.createSubconte xts(JndiHelper.java:297)

at com.ibm.websphere.naming.JndiHelper.createSubconte xtsDriver(JndiHelper.java:273)

at com.ibm.websphere.naming.JndiHelper.recursiveBind( JndiHelper.java:570)

at com.ibm.websphere.naming.JndiHelper.recursiveRebin d(JndiHelper.java:358)

at com.ibm.ws.runtime.component.ResourceMgrImpl.bind( ResourceMgrImpl.java:287)

at com.ibm.ws.runtime.component.ResourceMgrImpl.bind( ResourceMgrImpl.java:268)

at com.ibm.ws.runtime.component.ResourceMgrImpl.insta llResourceProvider(ResourceMgrImpl.java:606)

at com.ibm.ws.runtime.component.ResourceMgrImpl.insta llResource(ResourceMgrImpl.java:573)

at com.ibm.ws.runtime.component.ResourceMgrImpl.insta llResources(ResourceMgrImpl.java:533)

at com.ibm.ws.runtime.component.ResourceMgrImpl.loadR esources(ResourceMgrImpl.java:413)

at com.ibm.ws.runtime.component.ResourceMgrImpl.start (ResourceMgrImpl.java:362)

at com.ibm.ws.runtime.component.ContainerImpl.startCo mponents(ContainerImpl.java:524)

at com.ibm.ws.runtime.component.ContainerImpl.start(C ontainerImpl.java:415)

at com.ibm.ws.runtime.component.ApplicationServerImpl .start(ApplicationServerImpl.java:117)

at com.ibm.ws.runtime.component.ContainerImpl.startCo mponents(ContainerImpl.java:524)

at com.ibm.ws.runtime.component.ContainerImpl.start(C ontainerImpl.java:415)

at com.ibm.ws.runtime.component.ServerImpl.start(Serv erImpl.java:182)

at com.ibm.ws.runtime.WsServer.start(WsServer.java:13 1)

at com.ibm.ws.runtime.WsServer.main(WsServer.java:228 )

at java.lang.reflect.Method.invoke(Native Method)

at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.ja va:94)

at com.ibm.etools.websphere.tools.runner.api.ServerRu nnerV5$1.run(ServerRunnerV5.java:97)