J2CA0060E LoginException getting Subject for WebSphere 7.0 on z/OS
Hazem Saleh (IBM) 2700027XCV Visits (7469)
When deploying your JPA web application on WebSphere 7 (z/OS), you may find this exception when you try to perform any database operation from your application:
ConnectionMan E J2CA0060E: Priv
The strange thing here is that in the same time you can perform "Test Connection" to the data source without any problems from the Admin console.
How to solve this problem:
1. Make sure that the datasource is defined correctly in the persistence.xml and matches the one defined on the WAS level.
2. Map the datasource Configuration Alias to be "Def
3. Restart the server.