Mantis - Resin
Viewing Issue Advanced Details
5968 major always 12-17-15 22:50 05-09-16 14:15
saravanansankar93  
ferg  
normal  
closed 4.0.14  
fixed  
none    
none 4.0.49  
0005968: Resin Server Not starting
When trying to disable the SSLv3 in resin server we are getting below exception after starting the resin server.

We have added below command in resin.conf file

 <jsse-ssl>
            
           <key-store-type>jks</key-store-type>
           <key-store-file>keys/******.keystore</key-store-file>
           <password>changeit</password>
           <protocol>tlsv1 tls1.1 tls1.2</protocol>
     </jsse-ssl>

after removing "<protocol>tlsv1 tls1.1 tls1.2</protocol> "
this line we can able to start the resin server without any exception.

We are using resin 4.0.14 and JDk 1.7.0_80.

we need to disable the ssl v3 in resin server.how to achieve this.

Thanks is advance.
Starting Resin on Fri, 18 Dec 2015 12:02:00 +0530 (IST)

[15-12-18 12:02:04.131] {main}
[15-12-18 12:02:04.132] {main} Windows Server 2008 R2 6.1 x86
[15-12-18 12:02:04.132] {main} Java(TM) SE Runtime Environment 1.7.0_79-b15, Cp1
252, en
[15-12-18 12:02:04.132] {main} Java HotSpot(TM) Client VM 24.79-b02, 32, mixed m
ode, sharing, Oracle Corporation
[15-12-18 12:02:04.132] {main}
[15-12-18 12:02:04.132] {main} user.name = netcast
[15-12-18 12:02:04.216] {main}
[15-12-18 12:02:04.243] {main} server listening to 127.0.0.1:6800
[15-12-18 12:02:04.255] {main}
[15-12-18 12:02:04.663] {main}
[15-12-18 12:02:04.664] {main} resin.home = C:\resin-4.0.14
[15-12-18 12:02:04.664] {main} resin.root = C:\resin-4.0.14
[15-12-18 12:02:04.664] {main} resin.conf = C:\resin-4.0.14\conf\resin.xml
[15-12-18 12:02:04.664] {main}
[15-12-18 12:02:04.665] {main} server = 127.0.0.1:6800 (app-tier:default)
[15-12-18 12:02:04.665] {main} stage = production
[15-12-18 12:02:05.678] {main} WebApp[production/webapp/default/ROOT] active
[15-12-18 12:02:07.512] {main} WebApp[production/webapp/default/resin-admin] act
ive
[15-12-18 12:02:08.586] {main} WebApp[production/webapp/default/resin-doc] activ
e
[15-12-18 12:02:08.815] {main} Compiling NC_DbCon.java
[15-12-18 12:02:09.967] {main} WebApp[production/webapp/default/netcast] active
[15-12-18 12:02:09.967] {main} Host[production/host/default] active
[15-12-18 12:02:09.984] {main} Server[id=default,cluster=app-tier] active
[15-12-18 12:02:09.984] {main}
[15-12-18 12:02:09.985] {main} http listening to *:8080
[15-12-18 12:02:10.390] {main} java.lang.IllegalArgumentException: tlsv1
                                at sun.security.ssl.ProtocolVersion.valueOf(Prot
ocolVersion.java:191)
                                at sun.security.ssl.ProtocolList.convert(Protoco
lList.java:84)
                                at sun.security.ssl.ProtocolList.<init>(Protocol
List.java:52)
                                at sun.security.ssl.SSLServerSocketImpl.setEnabl
edProtocols(SSLServerSocketImpl.java:209)
                                at com.caucho.vfs.JsseSSLFactory.create(JsseSSLF
actory.java:292)
                                at com.caucho.network.listen.TcpSocketLinkListen
er.bind(TcpSocketLinkListener.java:920)
                                at com.caucho.cloud.network.NetworkListenService
.start(NetworkListenService.java:218)
                                at com.caucho.env.service.ResinSystem.startServi
ces(ResinSystem.java:480)
                                at com.caucho.env.service.ResinSystem.start(Resi
nSystem.java:452)
                                at com.caucho.server.resin.Resin.start(Resin.jav
a:889)
                                at com.caucho.server.resin.Resin.initMain(Resin.
java:1017)
                                at com.caucho.server.resin.Resin.main(Resin.java
:1284)
java.lang.IllegalArgumentException: tlsv1
        at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:191)
        at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84)
        at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52)
        at sun.security.ssl.SSLServerSocketImpl.setEnabledProtocols(SSLServerSoc
ketImpl.java:209)
        at com.caucho.vfs.JsseSSLFactory.create(JsseSSLFactory.java:292)
        at com.caucho.network.listen.TcpSocketLinkListener.bind(TcpSocketLinkLis
tener.java:920)
        at com.caucho.cloud.network.NetworkListenService.start(NetworkListenServ
ice.java:218)
        at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:480
)
        at com.caucho.env.service.ResinSystem.start(ResinSystem.java:452)
        at com.caucho.server.resin.Resin.start(Resin.java:889)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1017)
        at com.caucho.server.resin.Resin.main(Resin.java:1284)
Dec 18, 2015 12:02:10 PM com.caucho.env.thread.ResinThread runTasks
WARNING: java.lang.RuntimeException: java.net.SocketException: Connection reset
java.lang.RuntimeException: java.net.SocketException: Connection reset
        at com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker.java:117)
        at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
        at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:196)
        at java.net.SocketInputStream.read(SocketInputStream.java:122)
        at java.net.SocketInputStream.read(SocketInputStream.java:210)
        at com.caucho.remote.websocket.WebSocketInputStream.startBinaryMessage(W
ebSocketInputStream.java:80)
        at com.caucho.hmtp.HmtpWebSocketReader.readPacket(HmtpWebSocketReader.ja
va:63)
        at com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker.java:114)
        ... 2 more

Dec 18, 2015 12:02:10 PM com.caucho.boot.WatchdogChildProcess logStatus
WARNING: Watchdog detected close of Resin[,pid=0]
  exit reason: BAD_CONFIG (exit code=2)
Dec 18, 2015 12:02:10 PM com.caucho.boot.WatchdogChildTask run
INFO: WatchdogChild[] stopped

Notes
(0006667)
stbu   
12-18-15 06:18   
I'm using this one here (also inside <jsse-ssl>) and it works perfectly with our Resin 4.0.45:

<protocol>TLSv1,TLSv1.1,TLSv1.2</protocol>
(0006671)
saravanansankar93   
01-12-16 22:40   
I resolved this issue.Thanks for your help.