Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000504 [Resin] block always 12-15-05 01:51 01-17-06 11:04
Reporter lsat_lan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.16
Summary 0000504: cannot deploy openSSL on Sun Solaris 10.
Description I've performed the following task, but the openSSL is stil working.

JAVA version:
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)

1. ./configure --prefix=/export/home/resin/resin-pro-3.0.16 --enable-jni --enable-ssl -with-openssl=/opt/csw/ssl

2. configure the resin.conf
      <security-provider>
         com.sun.net.ssl.internal.ssl.Provider
      </security-provider>
      .
      .
        <http port="8443">
          <openssl>
            <certificate-file>keys/gryffindor.crt</certificate-file>
            <certificate-key-file>keys/gryffindor.key</certificate-key-file>
            <password>password</password>
          </openssl>
        </http>



4. log shown as follow:
Resin Professional 3.0.16 (built Fri, 09 Dec 2005 10:19:28 PST)
Copyright(c) 1998-2004 Caucho Technology. All rights reserved.


  702096.license -- 1 Evaluation server Lee Sat Lan (Antlabs)

Starting Resin on Thu, 15 Dec 2005 17:13:47 +0800 (SGT)

[17:13:49.561] Server[a] starting
[17:13:49.569] Loaded Socket JNI library.
[17:13:49.571] http listening to smp-sm0:80
[17:13:49.572] hmux listening to smp-sm0:6801
[17:13:49.681] Host[] starting
[17:13:49.778] WebApp[http://192.168.123.83:80] [^] starting
[17:13:51.164] In-place class redefinition (HotSwap) is not available. In-place class reloading during development requires
a compatible JDK and -Xdebug.
[17:13:51.801] WebApp[http://192.168.123.83:80/amp] [^] starting
[17:13:52.503] action: init
[17:13:52.926] action: []: Verifying ModuleConfig for this module
[17:13:52.931] action: []: Verification of ModuleConfig has been completed
[WARN ] 17:13 StartupPlugin:69 - * * * * * * * * * * * * * * * * * * * * * * * * * * * *
[WARN ] 17:13 StartupPlugin:70 - Starting up...
[WARN ] 17:13 StartupPlugin:71 - * * * * * * * * * * * * * * * * * * * * * * * * * * *

4. Testing:
root@smp-sm0:/export/home/resin/resin-pro-3.0.16/log>openssl s_client -connect 192.168.123.83:8443 -prexit
connect: Connection refused
connect:errno=146
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Compression: NONE
Expansion: NONE
---


Any idea?

Thanks for the help!

Regards,
Snow Lee
Additional Information I've tried with resin-proc-3.0.14

I've the following error:
Starting Resin on Thu, 15 Dec 2005 16:41:15 +0800 (SGT)

[16:41:16.488] java.lang.UnsatisfiedLinkError: /export/home/resin/resin-pro-3.0.14/libexec/libresinssl.so: ld.so.1: /usr/jdk/
instances/jdk1.5.0/bin/java: fatal: relocation error: file /export/home/resin/resin-pro-3.0.14/libexec/libresinssl.so: symbol
 mutext_lock: referenced symbol not found
[16:41:16.488] at java.lang.ClassLoader$NativeLibrary.load(Native Method)
[16:41:16.488] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
[16:41:16.488] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
[16:41:16.488] at java.lang.Runtime.loadLibrary0(Runtime.java:822)
[16:41:16.488] at java.lang.System.loadLibrary(System.java:992)
[16:41:16.488] at com.caucho.vfs.OpenSSLFactory.<clinit>(OpenSSLFactory.java)
[16:41:16.488] at java.lang.Class.forName0(Native Method)
[16:41:16.488] at java.lang.Class.forName(Class.java:164)
[16:41:16.488] at com.caucho.server.port.Port.createOpenssl(Port.java:326)
[16:41:16.488] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[16:41:16.488] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[16:41:16.488] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[16:41:16.488] at java.lang.reflect.Method.invoke(Method.java:585)
[16:41:16.488] at com.caucho.config.CreateAttributeStrategy.configure(CreateAttributeStrategy.java:81)
[16:41:16.488] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:351)
[16:41:16.488] at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:314)
[16:41:16.488] at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:103)
[16:41:16.488] at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.java:213)
[16:41:16.488] at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:231)
[16:41:16.488] at com.caucho.config.NodeBuilder.configureChildImpl(NodeBuilder.java:276)
[16:41:16.488] at com.caucho.config.BeanTypeStrategy.configure(BeanTypeStrategy.java:186)
[16:41:16.488] at com.caucho.config.SetterAttributeStrategy.configure(SetterAttributeStrategy.java:91)
[16:41:16.488] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:351)
[16:41:16.488] at com.caucho.config.TypeStrategy.configureAttribute(TypeStrategy.java:112)
[16:41:16.488] at com.caucho.config.EnvironmentTypeStrategy.configureAttribute(EnvironmentTypeStrategy.java:89)

Attached Files

- Relationships

- Notes
(0000535)
lsat_lan
12-15-05 01:58

Sorry! typo here! the openSSL is not working...........
 

- Issue History
Date Modified Username Field Change
12-15-05 01:51 lsat_lan New Issue
12-15-05 01:58 lsat_lan Note Added: 0000535
01-17-06 11:04 ferg Assigned To  => ferg
01-17-06 11:04 ferg Status new => closed
01-17-06 11:04 ferg Resolution open => fixed
01-17-06 11:04 ferg Fixed in Version  => 3.0.18
01-17-06 11:04 ferg View Status @0@ => public


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