Hi Kryzysztof,

I have forwarded this to SME's for this repo, we'll see what we can determine 
from this. 

Possibly we are just missing a place in the code where passwords were being 
retrieved. 

However, I'll warn that this codebase is difficult to change and very fragile, 
but we will see where the problem is first and assess.

Will let you know.

Pam


On 4/9/20, 8:39 AM, "Krzysztof Opasiak" <[email protected]> wrote:

    Dear Policy Team,
    
    I'm trying to finish my password removal changes in policy module but 
    I've troubles with makeing pap HC work after changing the DB password:
    
    
    javax.servlet.ServletException: PE200 - System Error: PAP not 
    initialized; unexpected error: javax.servlet.ServletException: Unable to 
    Create Policy DBDao 
    
Instance\n\torg.onap.policy.pap.xacml.rest.XACMLPapServlet.init(XACMLPapServlet.java:328)\n\torg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)\n\torg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\torg.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)\n\torg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)\n\torg.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)\n\torg.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\n\torg.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)\n\torg.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)\n\torg.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tjava.base&#47;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tjava.base&#47;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\torg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tjava.base&#47;java.lang.Thread.run(Thread.java:834)\n</pre><p><b>Note</b>
 
    The full stack trace of the root cause is available in the server 
    logs.</p><hr class=\"line\" /><h3>Apache 
    
Tomcat/9.0.16</h3></body></html>","url":"https://urldefense.proofpoint.com/v2/url?u=https-3A__pap-3A9091_pap_test&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=chZtGACFSd0PNiN5WY08foFyfcR4jzV3CdY2uwXW7dE&s=sQOeHcq0P1dlahR4l_DMd_IcecNbofZ8XW12wOb-DUY&e=
 "}]}
    
    Could you please point me to the right place where password for 
    accessing this DB is set?
    
    Best regards,
    -- 
    Krzysztof Opasiak
    Samsung R&D Institute Poland
    Samsung Electronics
    
    
    


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20593): https://lists.onap.org/g/onap-discuss/message/20593
Mute This Topic: https://lists.onap.org/mt/72895292/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to