Hi,
strange behavior: starting EI6.2 won't find my custom keystore file:
From the unix console, no doubt, the file is there located :
$ ls -al /opt/wso2/wso2ei/repository/resources/security/wso2ei-mgmt.jks
-rw-r--r-- 1 wso2 wso2 4421 May 22 16:21
/opt/wso2/wso2ei/repository/resources/security/wso2ei-mgmt.jks
I can read this file with
keytool -v -list -keystore
/opt/wso2/wso2ei/repository/resources/security/wso2ei-mgmt.jks -alias
wso2ei-mgmt
In the logs the carbon home seems to be correctly defined at "/opt/wso2/wso2ei"
… so why the
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks file is not found
???
In wso2-ei6 logs at startup:
TID: [-1234] [] [2018-05-22 17:29:19,345] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java
HotSpot(TM) 64-Bit Server VM 25.162-b12,Oracle Corporation
{org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2018-05-22 17:29:19,345] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home :
/opt/wso2/wso2ei {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [-1234] [] [2018-05-22 17:29:19,345] INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir :
/opt/wso2/wso2ei/wso2/tmp {org.wso2.carbon.core.internal.CarbonCoreActivator}
bla bla bla ....
TID: [-1234] [] [2018-05-22 17:29:42,085] ERROR
{org.apache.synapse.transport.nhttp.config.ClientConnFactoryBuilder} - HTTPS
Error opening Keystore :
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks
{org.apache.synapse.transport.nhttp.config.ClientConnFactoryBuilder}
java.io.FileNotFoundException:
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks (No such file or
directory)
bla bla bla ….
TID: [-1234] [] [2018-05-22 17:29:42,127] ERROR
{org.apache.synapse.transport.nhttp.config.ServerConnFactoryBuilder} - HTTPS
Error opening Key store :
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks
{org.apache.synapse.transport.nhttp.config.ServerConnFactoryBuilder}
java.io.FileNotFoundException:
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks (No such file or
directory)
bla bla bla ….
TID: [-1234] [] [2018-05-22 17:29:42,130] ERROR
{org.apache.axis2.engine.ListenerManager} - Couldn't initialize the
httpstransport listener {org.apache.axis2.engine.ListenerManager}
org.apache.axis2.AxisFault: Error opening Key store :
${carbon.home}/repository/resources/security/wso2ei-mgmt.jks
at
org.apache.synapse.transport.nhttp.config.ServerConnFactoryBuilder.createSSLContext(ServerConnFactoryBuilder.java:132)
Any idea on how to get out of this problem ?
[cid:[email protected]]
Bernard Paris
Publication programme d'études - gestion ESB
Informaticien SGSI/SISG
Service général du système d'information (SGSI)
Place des Sciences, 4 bte L6.08.01
1348 Louvain-la-Neuve
Email: [email protected]<mailto:[email protected]>
Tél. 32 (0)10 47 45 27
https://uclouvain.be/fr/decouvrir/sgsi.html
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev