Mantis Bugtracker
  

Viewing Issue Advanced Details [ Jump to Notes ] [ View Simple ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005449 [Resin] minor unable to reproduce 06-03-13 11:09 11-06-14 10:11
Reporter axw001 View Status public  
Assigned To ferg
Priority normal Resolution unable to reproduce Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.36
  Product Build
Summary 0005449: resin restart - keystore not found
Description FYI

Following power recycling of a server resin did not restart, logging that it could not find the jsse keystore.

Subsequent manual start of resin worked ok - no changes were made to files locations or permissions.
Steps To Reproduce
Additional Information Resin Professional 4.0.36 (built Fri, 26 Apr 2013 03:33:09 PDT)
Copyright(c) 1998-2012 Caucho Technology. All rights reserved.

  1014903.license -- 4 Resin servers Athene Systems Ltd

Starting Resin Professional on Sun, 02 Jun 2013 06:09:58 +0100 (BST)

/etc/resin/resin.xml:207: com.caucho.vfs.JsseSSLFactory.init(): java.io.FileNotFoundException: /etc/resin/keys/libertyaccounts.keystore

205:
206: <http port="443">
207: <jsse-ssl>
208: <key-store-type>jks</key-store-type>
209: <key-store-file>/etc/resin/keys/libertyaccounts.keystore</key-store-file>

    at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1244)
    at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:471)
    at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:371)
    at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:700)
    at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:686)
    at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:464)
    at com.caucho.config.xml.XmlConfigContext.configureAttribute(XmlConfigContext.java:324)
    at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:82)
    at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:88)
    at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:88)
    at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:107)
    at com.caucho.cloud.network.NetworkClusterSystem.configServer(NetworkClusterSystem.java:348)
    at com.caucho.cloud.network.NetworkClusterSystem.configureServer(NetworkClusterSystem.java:321)
    at com.caucho.cloud.network.NetworkClusterSystem.access$300(NetworkClusterSystem.java:60)
    at com.caucho.cloud.network.NetworkClusterSystem$ServerListener.onServerAdd(NetworkClusterSystem.java:465)
    at com.caucho.cloud.topology.CloudPod.addServerListener(CloudPod.java:294)
    at com.caucho.cloud.network.NetworkClusterSystem$PodListener.onPodAdd(NetworkClusterSystem.java:456)
    at com.caucho.cloud.topology.CloudCluster.addPodListener(CloudCluster.java:340)
    at com.caucho.cloud.network.NetworkClusterSystem$NetworkClusterListener.onClusterAdd(NetworkClusterSystem.java:447)
    at com.caucho.cloud.topology.CloudSystem.addClusterListener(CloudSystem.java:232)
    at com.caucho.cloud.network.NetworkClusterSystem.<init>(NetworkClusterSystem.java:87)
    at com.caucho.cloud.network.ProNetworkClusterSystem.<init>(ProNetworkClusterSystem.java:62)
    at com.caucho.server.resin.ProResinDelegate.createNetworkSystem(ProResinDelegate.java:251)
    at com.caucho.server.resin.Resin.initClusterNetwork(Resin.java:1250)
    at com.caucho.server.resin.Resin.initServletSystem(Resin.java:1278)
    at com.caucho.server.resin.Resin.configure(Resin.java:998)
    at com.caucho.server.resin.Resin.initMain(Resin.java:980)
    at com.caucho.server.resin.Resin.main(Resin.java:1438)
Caused by: com.caucho.config.ConfigException: com.caucho.vfs.JsseSSLFactory.init(): java.io.FileNotFoundException: /etc/resin/keys/libertyaccounts.keystore
    at com.caucho.config.ConfigException.create(ConfigException.java:102)
    at com.caucho.config.ConfigException.create(ConfigException.java:130)
    at com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:142)
    at com.caucho.config.type.InlineBeanType.init(InlineBeanType.java:458)
    at com.caucho.config.xml.XmlConfigContext.configureChildBean(XmlConfigContext.java:705)
    at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:686)
    at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:464)
    ... 26 more
Caused by: java.io.FileNotFoundException: /etc/resin/keys/libertyaccounts.keystore
    at com.caucho.vfs.JniFilePathImpl.openReadImpl(JniFilePathImpl.java:402)
    at com.caucho.vfs.Path.openRead(Path.java:1149)
    at com.caucho.vfs.JsseSSLFactory.init(JsseSSLFactory.java:231)
    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 com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:140)
    ... 30 more
/etc/resin/resin.xml:207: com.caucho.vfs.JsseSSLFactory.init(): java.io.FileNotFoundException: /etc/resin/keys/libertyaccounts.keystore

205:
206: <http port="443">
207: <jsse-ssl>
208: <key-store-type>jks</key-store-type>
209: <key-store-file>/etc/resin/keys/libertyaccounts.keystore</key-store-file>
Attached Files

- Relationships

- Notes
(0006554)
ferg
11-06-14 10:11

Checked with 4.0.42. Unable to reproduce. Killing the Resin instance and allowing the watchdog to restart it still works with JSSE.

If there are permissions issues, like the keystore not being readable to the resin user, those would need to be added to the bug report to reproduce the issue.
 

- Issue History
Date Modified Username Field Change
06-03-13 11:09 axw001 New Issue
11-06-14 10:11 ferg Note Added: 0006554
11-06-14 10:11 ferg Assigned To  => ferg
11-06-14 10:11 ferg Status new => closed
11-06-14 10:11 ferg Resolution open => unable to reproduce


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker