Clerezza complains about missing keystore even if https is disabled
-------------------------------------------------------------------
Key: CLEREZZA-284
URL: https://issues.apache.org/jira/browse/CLEREZZA-284
Project: Clerezza
Issue Type: Bug
Reporter: Reto Bachmann-Gmür
Without a keystore at the default location one gets the follwing error on
startup, even if https is not enabled:
java.io.FileNotFoundException: /home/reto/.keystore (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
org.jsslutils.keystores.KeyStoreLoader.loadKeyStore(KeyStoreLoader.java:393)
at
org.jsslutils.keystores.KeyStoreLoader.loadKeyStore(KeyStoreLoader.java:433)
at
org.apache.clerezza.foafssl.ssl.Activator.getServerCertKeyStore(Activator.scala:76)
at
org.apache.clerezza.foafssl.ssl.Activator.activate(Activator.scala:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:213)
at
org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)
at
org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:542)
at
org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:434)
at
org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:138)
at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)
at
org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
at
org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
at
org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
at
org.apache.felix.scr.impl.manager.AbstractComponentManager$3.doRun(AbstractComponentManager.java:505)
at
org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
at
org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
at java.lang.Thread.run(Thread.java:619)
as foafssl requires https it shouldn't attempt to initialize it unless clerezza
is started with https support.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.