Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238813 - www-servers/resin-3.1.x does not start - [22:07:19.879] {main} java.lang.UnsatisfiedLinkError: no resin in java.library.path
Summary: www-servers/resin-3.1.x does not start - [22:07:19.879] {main} java.lang.Unsa...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 20:12 UTC by Alexander Hoogerhuis
Modified: 2009-01-08 22:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Hoogerhuis 2008-09-26 20:12:21 UTC
I'm debugging problems with mod_caucho and apache 2.2, and stumbled on this with logging turned on for resin, which seems to be an issue with java.library.path possibly.

Effect is that OS native bits of resin dont load well and srun/hmux connector wont answer properly.

 * Starting Resin ...
[22:07:19.879] {main} java.lang.UnsatisfiedLinkError: no resin in java.library.path
[22:07:19.879] {main}   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[22:07:19.879] {main}   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[22:07:19.879] {main}   at java.lang.System.loadLibrary(System.java:1030)
[22:07:19.879] {main}   at com.caucho.server.util.CauchoSystem.<clinit>(Unknown Source)
[22:07:19.879] {main}   at com.caucho.log.TimestampFilter.write(Unknown Source)
[22:07:19.879] {main}   at com.caucho.vfs.WriteStream.flush(Unknown Source)
[22:07:19.879] {main}   at com.caucho.log.StreamHandler.publish(Unknown Source)
[22:07:19.879] {main}   at com.caucho.log.SubHandler.publish(Unknown Source)
[22:07:19.879] {main}   at java.util.logging.Logger.log(Logger.java:472)
[22:07:19.879] {main}   at java.util.logging.Logger.doLog(Logger.java:494)
[22:07:19.879] {main}   at java.util.logging.Logger.log(Logger.java:583)
[22:07:19.879] {main}   at com.caucho.boot.WatchdogClient.startWatchdog(Unknown Source)
[22:07:19.879] {main}   at com.caucho.boot.ResinBoot.start(Unknown Source)
[22:07:19.879] {main}   at com.caucho.boot.ResinBoot.main(Unknown Source)
[22:07:19.881] {main} java.lang.UnsatisfiedLinkError: no resin in java.library.path
[22:07:19.881] {main}   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
[22:07:19.881] {main}   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[22:07:19.881] {main}   at java.lang.System.loadLibrary(System.java:1030)
[22:07:19.881] {main}   at com.caucho.server.util.CauchoSystem.<clinit>(Unknown Source)
[22:07:19.881] {main}   at com.caucho.log.TimestampFilter.write(Unknown Source)
[22:07:19.881] {main}   at com.caucho.vfs.WriteStream.flush(Unknown Source)
[22:07:19.881] {main}   at com.caucho.log.StreamHandler.publish(Unknown Source)
[22:07:19.881] {main}   at com.caucho.log.SubHandler.publish(Unknown Source)
[22:07:19.881] {main}   at java.util.logging.Logger.log(Logger.java:472)
[22:07:19.881] {main}   at java.util.logging.Logger.doLog(Logger.java:494)
[22:07:19.881] {main}   at java.util.logging.Logger.log(Logger.java:583)
[22:07:19.881] {main}   at com.caucho.WatchdogClient[] starting ResinWatchdogManager
Resin/3.1.s080926 started -server '' for watchdog at 127.0.0.1:6600                                                                                                         [ ok ]

-A

Reproducible: Always

Steps to Reproduce:
1. Install resin-3.1.*, apache 2.2, mod_caucho 3.1.*
2. modify /etc/resin/resin.conf to turn up the logging to "finer"
3. restart resin and voila.

Actual Results:  
No requests in apache being dispatched to mod_caucho gets forwarded to resin server

Expected Results:  
requests in apache being dispatched to mod_caucho gets forwarded to resin server and replied to
Comment 1 Alexander Hoogerhuis 2008-09-29 15:50:21 UTC
This bug may actually turn out to be a shot down the wrong path. Parenly the attempt to load libresin.so is related to wether or not the resin install is a license resin pro or not. There is however and issue with mod_caucho, details in http://bugs.caucho.com/view.php?id=2974. 

-A
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-08 22:54:39 UTC
(In reply to comment #1)
> This bug may actually turn out to be a shot down the wrong path.

Closing then.