Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003442 [Resin] major always 04-10-09 14:08 05-27-09 11:53
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003442: JNI: file not found/accessible
Description (rep by koreth)

Problem goes away by removing .so files.

com.caucho.server.cache.Cache.init(): Cache path '/resin/cache' must be a directory.

171: -->
172: <resin:if test="${resin.professional}">
173: <cache path="cache" memory-size="64M">
174: <!-- Vary header rewriting for IE -->
175: <rewrite-vary-as-private/>
Additional Information
Attached Files

- Relationships

- Notes
(0004014)
pablorg
05-13-09 23:03

I have the same problem. What so's need to be removed to fix this?
 
(0004015)
nam
05-13-09 23:25

You'll need to disable JNI by removing the .so files in the directory libexec/.
 
(0004016)
pablorg
05-13-09 23:39

I just noticed that i dont have the so's b/c evidently there's a compilation error (i ran ./configure --disable-jni):

jni_vfs.c: In function âJava_com_caucho_server_port_JniSelectManager_closeNativeâ:
jni_vfs.c:1896: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result
jni_vfs.c: In function âJava_com_caucho_vfs_JniFilePathImpl_nativeChangeOwnerâ:
jni_vfs.c:2479: warning: ignoring return value of âchownâ, declared with attribute warn_unused_result
In function âopenâ,
    inlined from âJava_com_caucho_vfs_JniRandomAccessFile_nativeOpenâ at jni_vfs.c:209:
/usr/include/bits/fcntl2.h:51: error: call to â__open_missing_modeâ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [jni_vfs.o] Error 1
 

- Issue History
Date Modified Username Field Change
04-10-09 14:08 nam New Issue
04-10-09 14:09 nam Severity minor => major
05-13-09 23:03 pablorg Note Added: 0004014
05-13-09 23:25 nam Note Added: 0004015
05-13-09 23:39 pablorg Note Added: 0004016
05-27-09 11:53 ferg Assigned To  => ferg
05-27-09 11:53 ferg Status new => closed
05-27-09 11:53 ferg Resolution open => fixed
05-27-09 11:53 ferg Fixed in Version  => 4.0.1


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