Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Incorrect authDataEntry and alias is: syncDSJAASAuth

71 views
Skip to first unread message

Luis

unread,
Jul 17, 2007, 1:15:55 PM7/17/07
to
Hi all,

after customization of selfcare portlet to use screens, i started portal and i try to login. Is works fine. But when i try to edit my profile it gives me an error.
I follow an ibm product documentation:

http://www-1.ibm.com/support/docview.wss?rs=688&fdoc=wplcwspm&uid=swg27008792

but the error is still there...Has anyone had the same problem and get resolved?

Thanks

This is the log:

[17-07-2007 18:01:26:446 BST] 00000011 WSDefaultPrin W auth data not found - null
[17-07-2007 18:01:26:446 BST] 00000011 PrivExAction E J2CA0044E: The ConnectionManager failed to get a Subject from the security service associated with connection factory jdbc/syncDS. Received exception javax.security.auth.login.LoginException: Incorrect authDataEntry and alias is: syncDSJAASAuth
at com.ibm.ws.security.auth.j2c.WSDefaultPrincipalMapping.getSubject(WSDefaultPrincipalMapping.java(Compiled Code))
at com.ibm.ejs.j2c.PrivExAction.run(PrivExAction.java(Compiled Code))
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:267)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:128)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:590)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1949)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2457)
at java.lang.Thread.run(Thread.java:570)
.
[17-07-2007 18:01:26:446 BST] 00000011 J2CXAResource W J2CA0061W: Error creating XA Connection and Resource java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:128)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:590)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1949)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2457)
at java.lang.Thread.run(Thread.java:570)
Caused by: java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:267)
... 7 more
Caused by: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ejs.j2c.PrivExAction.run(PrivExAction.java(Compiled Code))
... 9 more
Caused by: javax.security.auth.login.LoginException: Incorrect authDataEntry and alias is: syncDSJAASAuth
at com.ibm.ws.security.auth.j2c.WSDefaultPrincipalMapping.getSubject(WSDefaultPrincipalMapping.java(Compiled Code))
... 10 more

[17-07-2007 18:01:26:461 BST] 00000011 RoleBasedAuth E SECJ0306E: No received or invocation credential exist on the thread. The Role based authorization check will not have an accessId of the caller to check. The parameters are: access check method queryConfigObjects:com.ibm.websphere.management.Session:javax.management.ObjectName:javax.management.ObjectName:javax.management.QueryExp on resource ConfigService and module ConfigService. The stack trace is java.lang.Exception: Invocation and received credentials are both null
at com.ibm.ws.security.role.RoleBasedAuthorizerImpl.checkAccess(RoleBasedAuthorizerImpl.java:251)
at com.ibm.ws.management.configservice.ConfigServiceServerProxy.securityCheck(ConfigServiceServerProxy.java:1022)
at com.ibm.ws.management.configservice.ConfigServiceServerProxy$10.run(ConfigServiceServerProxy.java:406)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.configservice.ConfigServiceServerProxy.queryConfigObjects(ConfigServiceServerProxy.java:401)
at com.ibm.ejs.j2c.RALifeCycleManagerImpl.isProviderInstalled(RALifeCycleManagerImpl.java:2688)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:615)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1949)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2457)
at java.lang.Thread.run(Thread.java:570)
.
[17-07-2007 18:01:26:477 BST] 00000011 RoleBasedAuth A SECJ0305I: The role-based authorization check failed for admin-authz operation ConfigService:queryConfigObjects:com.ibm.websphere.management.Session:javax.management.ObjectName:javax.management.ObjectName:javax.management.QueryExp. The user UNAUTHENTICATED (unique ID: unauthenticated) was not granted any of the following required roles: administrator, operator, monitor, configurator.
[17-07-2007 18:01:26:477 BST] 00000011 RALifeCycleMa E J2CA0154E: The method queryConfigObjects on class ConfigService returned the following exception: com.ibm.websphere.management.exception.ConfigServiceException: com.ibm.ws.security.role.RoleBasedAppException: ADMN0022E: Access is denied for the queryConfigObjects operation on ConfigService MBean because of insufficient or empty credentials.
at com.ibm.ws.management.configservice.ConfigServiceServerProxy$10.run(ConfigServiceServerProxy.java:408)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.configservice.ConfigServiceServerProxy.queryConfigObjects(ConfigServiceServerProxy.java:401)
at com.ibm.ejs.j2c.RALifeCycleManagerImpl.isProviderInstalled(RALifeCycleManagerImpl.java:2688)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:615)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1949)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2457)
at java.lang.Thread.run(Thread.java:570)
Caused by: com.ibm.ws.security.role.RoleBasedAppException: ADMN0022E: Access is denied for the queryConfigObjects operation on ConfigService MBean because of insufficient or empty credentials.
... 9 more

[17-07-2007 18:01:26:492 BST] 00000011 XARecoveryDat W WTRN0005W: The XAResource for a transaction participant could not be recreated and transaction recovery may not be able to complete properly. The resource was J2CXAResourceInfo :
cfName = syncDS
configProps = [Deployed Resource Adapter Properties]
XA_RECOVERY_AUTH_ALIAS java.lang.String syncDSJAASAuth
InactiveConnectionSupport java.lang.Boolean true
TransactionResourceRegistration java.lang.String dynamic

dd = [Resource Adapter DD]
ManagedConnectionFactory Class Name: com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl
Connection Factory Interface Name: javax.resource.cci.ConnectionFactory
Transaction Support: 2
Reauthentication Support: false

dsProps = {connectionAttributes=, connRetryIntervalDuringDBFailover=3000, databaseName=C:/IBM/WEBSPH~1/PORTAL~1/cloudscape/wpsdb, statementCacheSize=10, preTestSQLString=SELECT 1 FROM VP_DESC, dataStoreHelperClass=com.ibm.websphere.rsadapter.CloudscapeDataStoreHelper, reauthentication=false, description=, enableMultithreadedAccessDetection=false, dataSourceClass=com.ibm.db2j.jdbc.DB2jXADataSource, shutdownDatabase=, connRetriesDuringDBFailover=100, dbFailOverEnabled=false, createDatabase=, dataSourceName=}
mcfProps = com.ibm.ejs.j2c.ManagedConnectionFactoryProps@1
mmProps = {authDataAlias=, BasicPassword=javax.resource.spi.security.PasswordCredential, mappingConfigAlias=DefaultPrincipalMapping, authMechanismPreference=BASIC_PASSWORD}
mbeanProps = null
cmConfig = [Resource-ref settings]

res-auth: 1 (APPLICATION)
res-isolation-level: 2 (TRANSACTION_READ_COMMITTED)
res-sharing-scope: true (SHAREABLE)
loginConfigurationName: null
loginConfigProperties: null
[Other attributes]

res-resolution-control: 999 (undefined)
res ref or CMP bean name: null
Database pool properties: null
primeID: 0
isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)

recoveryClasspath = C:\IBM\WebSphere\AppServer/lib/rsadapter.rar;C:\IBM\WebSphere\AppServer/lib/rsadapter.rar
The exception stack trace follows: com.ibm.ws.Transaction.XAResourceNotAvailableException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:329)
at com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData.java:590)
at com.ibm.ws.Transaction.JTA.PartnerLogTable.recover(PartnerLogTable.java:512)
at com.ibm.ws.Transaction.JTA.RecoveryManager.resync(RecoveryManager.java:1949)
at com.ibm.ws.Transaction.JTA.RecoveryManager.run(RecoveryManager.java:2457)
at java.lang.Thread.run(Thread.java:570)
Caused by: java.security.PrivilegedActionException: java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory.getXAResource(J2CXAResourceFactory.java:128)
... 5 more
Caused by: java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CXAResourceFactory$1.run(J2CXAResourceFactory.java:267)
... 7 more
Caused by: javax.resource.ResourceException: LoginException getting Subject
at com.ibm.ejs.j2c.PrivExAction.run(PrivExAction.java(Compiled Code))
... 9 more
Caused by: javax.security.auth.login.LoginException: Incorrect authDataEntry and alias is: syncDSJAASAuth
at com.ibm.ws.security.auth.j2c.WSDefaultPrincipalMapping.getSubject(WSDefaultPrincipalMapping.java(Compiled Code))
... 10 more


0 new messages