Error "A Server Exception Occurred While Trying to Perform Username Token Authentication: Unable to Get Permanent License" When Authenticating Against P6 Web Services
(Doc ID 1914351.1)
Last updated on APRIL 02, 2025
Applies to:
Primavera Web Services - Version 8.3.2.0 and laterInformation in this document applies to any platform.
Symptoms
When attempting to make many connections to P6 Web Services the following errors occur:
"A server exception occurred while trying to perform username token authentication: Unable to get permanent license"
"A server exception occurred while trying to perform username token authentication: Establish connection error"
An example stack trace of the errors that can be thrown:
com.primavera.ws.security.impl.UsernameTokenAuthenticationManager performAuthentication
SEVERE: A server exception occured while trying to perform username token authentication: Invalid user name and/or password.
com.primavera.common.exceptions.InvalidCredentialsException: Invalid user name and/or password.
com.primavera.ws.security.interceptor.SecurityInboundInterceptor handleMessage
SEVERE: Error while trying to perform authentication: A server exception occured while trying to perform username token authentication: Invalid user name and/or password.
com.primavera.ws.security.AuthenticationManagerException: A server exception occured while trying to perform username token authentication: Invalid user name and/or password.
com.primavera.ws.security.impl.UsernameTokenAuthenticationManager performAuthentication
SEVERE: A server exception occured while trying to perform username token authentication: Unable to get permanent license
com.primavera.PhoenixException: Unable to get permanent license
Caused by: com.primavera.PhoenixException: An attempt to fetch a new NextKey for usession_session_id failed.
Caused by: com.primavera.PhoenixException: An attempt to fetch a new NextKey for usession_session_id failed.
Original Exception:
com.primavera.PhoenixException: An attempt to fetch a new NextKey for usession_session_id failed.
Caused by: com.primavera.PhoenixException: An attempt to fetch a new NextKey for usession_session_id failed.
Original Exception:
com.primavera.PhoenixException: An attempt to fetch a new NextKey for usession_session_id failed.
com.primavera.ws.security.impl.UsernameTokenAuthenticationManager performAuthentication
SEVERE: A server exception occured while trying to perform username token authentication: Establish connection error.
com.primavera.PhoenixException: Establish connection error.
Caused by: java.sql.SQLException: Establish connection error.
Caused by: com.primavera.PhoenixException: Establish connection error.
Caused by: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
Caused by: java.net.ConnectException: Connection refused
Original Exception:
java.sql.SQLException: Establish connection error.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |