Ir al contenido principal

WebSphere WSSecurityException error WSVR0009E



El error WSVR0009E,  WSSecurityException es lanzado  cuando  trato de iniciar un Nodo de un Cluster,

#sh startNode.sh


[12/15/11 11:22:07:499 PET] 00000000 WsServerImpl  E   WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: com.ibm.websphere.security.WSSecurityException: null; nested exception is: 
com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.security.core.distSecurityComponentImpl.start(distSecurityComponentImpl.java:476)
at com.ibm.ws.security.core.SecurityComponentImpl.start(SecurityComponentImpl.java:104)
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:503)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:298)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:981)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:340)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:110)
Caused by: com.ibm.websphere.security.WSSecurityException: null; nested exception is: 
com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2907)
at com.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2919)
at com.ibm.ws.security.core.SecurityContext.enable(SecurityContext.java:83)
at com.ibm.ws.security.core.distSecurityComponentImpl.initialize(distSecurityComponentImpl.java:681)
at com.ibm.ws.security.core.distSecurityComponentImpl.start(distSecurityComponentImpl.java:449)
... 30 more
Caused by: com.ibm.websphere.security.WSSecurityException: null; nested exception is: 
com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2609)
at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2254)
at com.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2891)
... 34 more
Caused by: com.ibm.websphere.security.auth.WSLoginFailedException: null; nested exception is: 
com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.security.ltpa.LTPAServerObject.authenticate(LTPAServerObject.java:998)
at com.ibm.ws.security.server.lm.ltpaLoginModule.login(ltpaLoginModule.java:646)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:795)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706)
at javax.security.auth.login.LoginContext.login(LoginContext.java:603)
at com.ibm.ws.security.auth.JaasLoginHelper.jaas_login(JaasLoginHelper.java:354)
at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:4078)
at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3768)
at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3764)
at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3526)
at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2579)
... 36 more
Caused by: java.rmi.RemoteException: null; nested exception is: 
com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.security.registry.UserRegistryImpl.createCredential(UserRegistryImpl.java:845)
at com.ibm.ws.security.ltpa.LTPAServerObject.authenticate(LTPAServerObject.java:974)
... 53 more
Caused by: com.ibm.websphere.security.EntryNotFoundException
at com.ibm.ws.wim.registry.util.UniqueIdBridge.getUniqueUserId(UniqueIdBridge.java:251)
at com.ibm.ws.wim.registry.WIMUserRegistry$6.run(WIMUserRegistry.java:365)
at com.ibm.ws.wim.security.authz.jacc.JACCSecurityManager.runAsSuperUser(JACCSecurityManager.java:435)
at com.ibm.ws.wim.security.authz.ProfileSecurityManager.runAsSuperUser(ProfileSecurityManager.java:964)
at com.ibm.ws.wim.registry.WIMUserRegistry.getUniqueUserId(WIMUserRegistry.java:348)
at com.ibm.ws.security.registry.UserRegistryImpl.createCredential(UserRegistryImpl.java:770)
... 54 more
Caused by: com.ibm.websphere.wim.exception.EntityNotFoundException: CWWIM4538E  Multiple principals were found for the 'wpsadmin' principal name.
at com.ibm.ws.wim.registry.util.UniqueIdBridge.getUniqueUserId(UniqueIdBridge.java:230)
... 59 more
[12/15/11 11:22:12:557 PET] 00000000 distSecurityC I   securityServiceStarted is false
[12/15/11 11:22:12:580 PET] 00000000 CGBridgeSubsc I   CWRCB0104I: The core group bridge service has stopped the subscription router.
[12/15/11 11:22:12:594 PET] 00000000 CGBridgeServi I   CWRCB0103I: The core group bridge service has stopped.
[12/15/11 11:22:12:617 PET] 00000000 DCSStackImpl  I   DCSV8011I: DCS Stack DefaultCoreGroup at Member wpscell01\wpsnode1\nodeagent: Member received a request for shutdown.
[12/15/11 11:22:12:683 PET] 00000000 TCPChannel    I   TCPC0002I: TCP Channel TCP_1 has stopped listening on host *  (IPv6) port 9353.




** El error es debido a que el  nodo no levanta por que tiene credenciales invalidos, error en la utentificacion LTPA***


Solucion:


Se debe configurar la seguridad correctamente en el  Deployment Manager. Luego sincronizar el nodo.


#sh syncNode.sh IP_Deployment_Manager PUERTO_SOAP


#sh syncNode.sh 172.16.2.76 10003




ADMU0116I: Tool information is being logged in file
           /usr/IBM/WebSphere/ProcServer/profiles/wpsnode1/logs/syncNode.log
ADMU0128I: Starting tool with the wpsnode1 profile
Realm/Cell Name:
Username: wpsadmin
Password:                                                                                                                                                    ADMU0401I: Begin syncNode operation for node wpsnode1 with Deployment Manager
           172.16.2.76: 10003
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0402I: The configuration for node wpsnode1 has been synchronized with
           Deployment Manager 172.16.2.76: 10003






**Luego  iniciar el Nodo*****


# sh startNode.sh


ADMU0116I: Tool information is being logged in file
           /usr/IBM/WebSphere/ProcServer/profiles/wpsnode1/logs/nodeagent/startServer.log
ADMU0128I: Starting tool with the wpsnode1 profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server nodeagent open for e-business; process id is 4718634




Ver el siguiente Link para mas informacion.
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=%2Fcom.ibm.websphere.nd.multiplatform.doc%2Finfo%2Fae%2Fae%2Frxml_syncnode.html

Comentarios

Entradas populares de este blog

Java POI HSSFCell : añadir comentario en una celda

POI HSSFComment: Una manera simple de añadir un comentario en una celda de excel usando el metodo cell.setCellComment(). public class ExcelTools { public static void main(String[] args){ //escribirExcel(); //leerExcel(); validarValoresDuplicadosLista(); System.out.println("Ejemplo Finalizado."); } public static void escribirExcel(){ try{ //Se crea el libro Excel HSSFWorkbook wb = new HSSFWorkbook(); //Se crea una nueva hoja dentro del libro HSSFSheet sheet = wb.createSheet("HojaEjemplo"); //Se crea una fila dentro de la hoja HSSFRow row = sheet.createRow((short)0); HSSFPatriarch patr = sheet.createDrawingPatriarch(); //Creamos celdas de varios tipos row.createCell((short)0).setCellValue(1); row.createCell((short)1).setCellValue(1.2); row.createCell((short)2).setCellValue("ejemplo&

Debugging Remoto con Eclipse + WebSphere 7 + Maven

Tienes proyectos java en Maven y no puedes ubicar bugs fácilmente a falta de junit. Sin embargo, existe la alternativa de debugear la aplicación web a través de Java Debugger (jdb). Aquí les muestro una guía de como hacer un debug remoto de la aplicación web en Eclipse y WebSphere 7 a través de Java Debugger (JDB). Eclipse <----> Java Debugger (jdb) <----> WebSphere 7 1. Habilitar el WebSphere en modo Debug. Para esto seguir los siguientes pasos:  1. Servers –> Server Types –> WebSphere application servers 2. Under Server Infrastructure section –> expandir Java and Process Management –> Process definition 3. dentro de la seccion Additional Properties –> click Java Virtual Machine 4. clic en el check “Debug Mode” 5. En texbox Debug arguments, poner este valor:  -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888 6. Reiniciar el servidor WebSphere. Ahora, WebSphere se inicia en modo debug, y escuchando en el pu

DB2 Error SQL20054N

Ejecutando un alter table me da el  siguiente error: db2 "ALTER TABLE PRG_REC.ESTIMADO_OBJETIVO DROP COLUMN VTA_OBJ_CAMP_FALTA_EXTRANJERA"; Error:  [db2inst1@ibmdb2test]:/home/db2inst1/1223/REQ1223/rollback$ db2 "ALTER TABLE PRG_REC.ESTIMADO_OBJETIVO DROP COLUMN VTA_OBJ_CAMP_FALTA_EXTRANJERA"; DB21034E  The command was processed as an SQL statement because it was not a valid Command Line Processor command.  During SQL processing it returned: SQL20054N  The table "PRG_REC.ESTIMADO_OBJETIVO" is in an invalid state for the operation.  Reason code="23" .  SQLSTATE=55019 Segun IBM la descripcion del error: SQL20054N:  La tabla   nombre-tabla   está en un estado no válido para la operación. Código de razón= código-razón . 23 Se ha realizado el número máximo de modificaciones recomendadas de REORG. Se permite un máximo de tres modificaciones recomendadas de REORG en una tabla antes de que se deba realizar reorg, para actualizar las fila