Mantis - Resin
Viewing Issue Advanced Details
3060 minor always 11-09-08 20:09 11-30-08 23:33
tempestse  
ferg  
normal  
closed 3.1.7  
fixed  
none    
none 3.1.8  
0003060: java.lang.UnsatisfiedLinkError: nativeTruncate in 3.1.7a
I receive the following error upon startup:

[22:56:15.960] {resin-10} java.lang.UnsatisfiedLinkError: nativeTruncate
[22:56:15.960] {resin-10} at com.caucho.vfs.JniFilePathImpl.nativeTruncate(Native Method)
[22:56:15.960] {resin-10} at com.caucho.vfs.JniFilePathImpl.truncate(JniFilePathImpl.java:363)
[22:56:15.960] {resin-10} at com.caucho.vfs.Path.truncate(Path.java:940)
[22:56:15.960] {resin-10} at com.caucho.log.AbstractRolloverLog.movePathToArchive(AbstractRolloverLog.java:584)
[22:56:15.960] {resin-10} at com.caucho.log.AbstractRolloverLog.access$100(AbstractRolloverLog.java:59)
[22:56:15.960] {resin-10} at com.caucho.log.AbstractRolloverLog$ArchiveTask.run(AbstractRolloverLog.java:827)
[22:56:15.960] {resin-10} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[22:56:15.960] {resin-10} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[22:56:15.960] {resin-10} at java.lang.Thread.run(Thread.java:613)
[22:56:15.963] {resin-9} java.lang.UnsatisfiedLinkError: nativeTruncate
[22:56:15.963] {resin-9} at com.caucho.vfs.JniFilePathImpl.nativeTruncate(Native Method)
[22:56:15.963] {resin-9} at com.caucho.vfs.JniFilePathImpl.truncate(JniFilePathImpl.java:363)
[22:56:15.963] {resin-9} at com.caucho.vfs.Path.truncate(Path.java:940)
[22:56:15.963] {resin-9} at com.caucho.log.AbstractRolloverLog.movePathToArchive(AbstractRolloverLog.java:584)
[22:56:15.963] {resin-9} at com.caucho.log.AbstractRolloverLog.access$100(AbstractRolloverLog.java:59)
[22:56:15.963] {resin-9} at com.caucho.log.AbstractRolloverLog$ArchiveTask.run(AbstractRolloverLog.java:827)
[22:56:15.963] {resin-9} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[22:56:15.963] {resin-9} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[22:56:15.963] {resin-9} at java.lang.Thread.run(Thread.java:613)



This error occurred only after linking to openssl for SSL support.

Here are my stack details:

Resin-3.1.7a (built Thu, 04 Sep 2008 07:14:11 PDT)
Copyright(c) 1998-2008 Caucho Technology. All rights reserved.

  1008876.license -- 1 Resin server Lotus Forum

Starting Resin on Sun, 09 Nov 2008 22:56:14 -0500 (EST)

[22:56:15.775] {main} Proxy Cache disk-size=1024M memory-size=64M
[22:56:15.786] {main} PingThread[] starting, checking []
[22:56:15.893] {main}
[22:56:15.895] {main} Mac OS X 10.5.5 i386
[22:56:15.895] {main} Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_16-b06-284, MacRoman, en
[22:56:15.896] {main} Java HotSpot(TM) Client VM 1.5.0_16-133, 32, mixed mode, Apple Inc.

There are no notes attached to this issue.