Sorry I can't share the whole java code, due to the company policy. I'm using payara 4.1.2.183, Netbeans 13 and Java 1.8.0_341
I have setup a local dev environment for the project in my job and it worked fine for the whole friday. Monday brought some problems, so to list them all:
- I can't access payara administrator console, it keeps on loading
- Deploying application through netbeans shows following errors:
WARNING: Policy configuration factory overridden by property javax.security.jacc.PolicyConfigurationFactory.provider with value com.censored.security.jaaf.jacc.JAAFPolicyConfigurationFactoryImpl
INFO: Loading policy provider com.censored.security.jaaf.jacc.JAAFPolicyProvider jaafProvider.
SEVERE: Error while installing policy provider: com.censored.security.jaaf.jacc.JAAFPolicyProvider jaafProvider.
SEVERE: Exception while deploying the app [censored]
SEVERE: Exception during lifecycle processing
SEVERE: Exception while deploying the app [censored] : A MultiException has 2 exceptions. They are:
1. com.sun.enterprise.security.SecurityLifecycleException
2. java.lang.IllegalStateException: Unable to perform operation: post construct on com.sun.enterprise.security.SecurityLifecycle
com.sun.enterprise.security.SecurityLifecycleException
WARNING: Policy configuration factory overridden by property javax.security.jacc.PolicyConfigurationFactory.provider with value com.censored.security.jaaf.jacc.JAAFPolicyConfigurationFactoryImpl
INFO: Loading policy provider com.censored.security.jaaf.jacc.JAAFPolicyProvider jaafProvider.
SEVERE: Error while installing policy provider: com.censored.security.jaaf.jacc.JAAFPolicyProvider jaafProvider.
SEVERE: Exception while deploying the app [censored]
SEVERE: Exception during lifecycle processing
SEVERE: Exception while deploying the app [censored] : A MultiException has 2 exceptions. They are:
1. com.sun.enterprise.security.SecurityLifecycleException
2. java.lang.IllegalStateException: Unable to perform operation: post construct on com.sun.enterprise.security.SecurityLifecycle
Does anyone know how to resolve them?