Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002941 [Resin] minor always 09-16-08 14:50 09-19-08 10:21
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.7
Summary 0002941: nativeTruncate link error
Description (rep by Steffen Busch)


we are running Resin-Pro 3.1.7a on a Sun Solaris 10 Box with successfully compiled JNI Code, but since upgrading from 3.1.6 our log files are growing with Exceptions like this:
 
==> debug.log <==
[2008.09.15 18:28:18.328] [WebApp: ] WARNING (com.caucho.util.ThreadPool) java.lang.UnsatisfiedLinkError: nativeTruncate
[2008.09.15 18:28:18.328] at com.caucho.vfs.JniFilePathImpl.nativeTruncate(Native Method)
[2008.09.15 18:28:18.328] at com.caucho.vfs.JniFilePathImpl.truncate(JniFilePathImpl.java:363)
[2008.09.15 18:28:18.328] at com.caucho.vfs.Path.truncate(Path.java:940)
[2008.09.15 18:28:18.328] at com.caucho.log.AbstractRolloverLog.movePathToArchive(AbstractRolloverLog.java:584)
[2008.09.15 18:28:18.328] at com.caucho.log.AbstractRolloverLog.access$100(AbstractRolloverLog.java:59)
[2008.09.15 18:28:18.328] at com.caucho.log.AbstractRolloverLog$ArchiveTask.run(AbstractRolloverLog.java:827)
[2008.09.15 18:28:18.328] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[2008.09.15 18:28:18.328] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[2008.09.15 18:28:18.328] at java.lang.Thread.run(Thread.java:595)
[2008.09.15 18:28:18.328]
 
==> jvm-trunk.log <==
[18:28:18.332] {resin-23} java.lang.UnsatisfiedLinkError: nativeTruncate
[18:28:18.332] {resin-23} at com.caucho.vfs.JniFilePathImpl.nativeTruncate(Native Method)
[18:28:18.332] {resin-23} at com.caucho.vfs.JniFilePathImpl.truncate(JniFilePathImpl.java:363)
[18:28:18.332] {resin-23} at com.caucho.vfs.Path.truncate(Path.java:940)
[18:28:18.332] {resin-23} at com.caucho.log.AbstractRolloverLog.movePathToArchive(AbstractRolloverLog.java:584)
[18:28:18.332] {resin-23} at com.caucho.log.AbstractRolloverLog.access$100(AbstractRolloverLog.java:59)
[18:28:18.332] {resin-23} at com.caucho.log.AbstractRolloverLog$ArchiveTask.run(AbstractRolloverLog.java:827)
[18:28:18.332] {resin-23} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[18:28:18.332] {resin-23} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[18:28:18.332] {resin-23} at java.lang.Thread.run(Thread.java:595)
 
Our Environment is:
Resin-3.1.7a (built Thu, 04 Sep 2008 07:14:11 PDT)
Copyright(c) 1998-2008 Caucho Technology. All rights reserved.
...
Starting Resin on Mon, 15 Sep 2008 18:33:50 +0200 (CEST)
 
[18:33:57.194] {main} Proxy Cache disk-size=1024M memory-size=64M
[18:33:57.311] {main} PingThread[] starting, checking []
[18:33:58.044] {main}
[18:33:58.066] {main} SunOS 5.10 sparcv9
[18:33:58.068] {main} Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_09-b03, UTF-8, en
[18:33:58.070] {main} Java HotSpot(TM) 64-Bit Server VM 1.5.0_09-b03, 64, mixed mode, Sun Microsystems Inc.
...
[18:35:06.238] {main} Host[] active
[18:35:06.367] {main} WebApp[http://admin.caucho/resin-jmx-service] [^] active
[18:35:06.369] {main} Host[admin.caucho] active
[18:35:06.388] {main} Loaded Socket JNI library.
[18:35:06.401] {main} hmux listening to localhost:6800
[18:35:06.427] {main} http listening to *:8755
[18:35:06.778] {main} https listening to *:8756
[18:35:06.784] {main} Server[id=trunk,cluster=app-tier] active
[18:35:06.792] {main} Resin started in 76842ms
[18:36:00.010] {resin-pro-statistics} StatService[] cpu-load=1.53125

Does anybody know if this is a known Resin Bug or if something in the environment is wrong?
 
Additional Information
Attached Files

- Relationships

- Notes
(0003449)
stbu
09-17-08 07:19

I think the error is fixed with 3.1.7a which was installed around the above timestamp after 3.1.7 has generated huge logfiles.
With 3.1.7a, the UnsatisfiedLinkError is not any more present.
 
(0003467)
ferg
09-19-08 10:21

Ok. The 3.1.7 release was an incorrect build, missing the final updates in the 3.1.7 source tree.
 

- Issue History
Date Modified Username Field Change
09-16-08 14:50 ferg New Issue
09-17-08 07:19 stbu Note Added: 0003449
09-19-08 10:21 ferg Note Added: 0003467
09-19-08 10:21 ferg Assigned To  => ferg
09-19-08 10:21 ferg Status new => closed
09-19-08 10:21 ferg Resolution open => fixed
09-19-08 10:21 ferg Fixed in Version  => 3.1.7
03-11-09 12:05 delion Issue Monitored: delion


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