Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003521 [Resin] major always 05-18-09 15:32 08-24-09 17:48
Reporter norlab View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.2 Product Version 3.1.8
  Product Build
Summary 0003521: JNI not found with <user-name>
Description During startup of Resin, unable to initiate user <user-name> declaration becuase it gives following error message:

com.caucho.config.ConfigException: <user-name> requires Resin Professional and compiled JNI. Check the $RESIN_HOME/libexec or $RESIN_HOME/libexec64 directory for libresin.so and check for a valid license in $RESIN_HOME/licenses.

We have a license & $RESIN_HOME/libexec64/libresin.so exists in this directory.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004025)
norlab
05-18-09 15:33

Running Solaris 10
 
(0004026)
norlab
05-18-09 15:43

On Startup following error:

Socket JNI library is not available.
[13:48:00.596] {main}Resin will still run but performance will be slower.
[13:48:00.596] {main}To compile the Socket JNI library on Unix, use ./configure; make; make install.

Config Log shows :

JAVA_HOME='/usr/jdk/jdk1.5.0_01'
JNI='yes'
JNI_INCLUDE='-I/usr/jdk/jdk1.5.0_01/include - I/usr/jdk/jdk1.5.0_01/include/solaris'
 
(0004100)
norlab
07-23-09 16:25

OK to close...found resolution

Needed to start using -J-d64 to specify 64 bit, and also specified the library path in the .conf file.

/resin/bin/httpd.sh -conf /resin/www.domain.com.conf -J-d64 -server www.domain.com start

<jvm-arg>-Djava.library.path=/usr/local/resin/libexec64</jvm-arg>
 

- Issue History
Date Modified Username Field Change
05-18-09 15:32 norlab New Issue
05-18-09 15:33 norlab Note Added: 0004025
05-18-09 15:43 norlab Note Added: 0004026
07-23-09 16:25 norlab Note Added: 0004100
08-24-09 17:48 ferg Assigned To  => ferg
08-24-09 17:48 ferg Status new => closed
08-24-09 17:48 ferg Resolution open => fixed
08-24-09 17:48 ferg Fixed in Version  => 4.0.2


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