I've installed Resin Open Source 4.0 as per the instructions here:

http://caucho.com/resin/doc/starting.xtp

It seems to launch fine on port 8080 (after fixing some directory  
permissions), but when I change that to port 80, it complains about JNI:

Jun 23, 2009 6:58:10 PM com.caucho.boot.WatchdogProcess createProcess
WARNING: java.io.IOException: Socket JNI is not available because JNI  
support has not been compiled.
   On Unix, run ./configure; make; make install.  On Windows, check  
for resin.dll.
   java.lang.UnsatisfiedLinkError: no resin_os in java.library.path
java.io.IOException: Socket JNI is not available because JNI support  
has not been compiled.
   On Unix, run ./configure; make; make install.  On Windows, check  
for resin.dll.
   java.lang.UnsatisfiedLinkError: no resin_os in java.library.path
         at  
com.caucho.vfs.JniServerSocketImpl.checkJni(JniServerSocketImpl.java: 
115)
         at  
com.caucho.vfs.JniServerSocketImpl.create(JniServerSocketImpl.java:98)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
         at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at  
com.caucho.vfs.QJniServerSocket.createJNI(QJniServerSocket.java:135)
         at com.caucho.server.port.Port.bindForWatchdog(Port.java:1154)
         at  
com.caucho.boot.WatchdogProcess.createProcess(WatchdogProcess.java:562)
         at com.caucho.boot.WatchdogProcess.run(WatchdogProcess.java: 
102)
         at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:115)
         at java.lang.Thread.run(Thread.java:619)


Is it because it requires JNI to bind to port 80 and then switch to  
running as non-root? That then requires Resin Pro, right?

-- 
Rick



_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to