Resin

holmBrew

Official Volunteer
Has anyone successfully gotten Resin to compile and stay running under OS X? I followed the instruction on JSP for Mac's with no suscess. :( :( :(
 

TimMcG

Registered
I have Resin 2.0.2 running on both my TiBook and G4/733.

I used the directions linked on jspformacs.com except for the part on starting Resin at boot. I had to copy the startup files from another application and edit them for Resin.

If you are more specific about what is not working, I might be able to help.
 

holmBrew

Official Volunteer
Cool.

Whne I building it on my PB(Firewire) it seems to go ok until I tried to start Resin (./httpd.sh start). It just seems to loop and never really seems to start.

Do you know what might be the cause of this?

Also, can you post the listing of you startup files?

Thanks!
 

holmBrew

Official Volunteer
this is the output to the terminal:

[localhost:/Library/resin-2.0.2/bin] root# ./httpd.sh start
Resin httpd start at Fri Sep 28 09:10:30 MDT 2001
[localhost:/Library/resin-2.0.2/bin] root# apachectl restart
/usr/sbin/apachectl restart: httpd restarted
[localhost:/Library/resin-2.0.2/bin] root# Resin httpd start at Fri Sep 28 09:10:43 MDT 2001
Resin httpd start at Fri Sep 28 09:10:55 MDT 2001
Resin httpd start at Fri Sep 28 09:11:07 MDT 2001
Resin httpd start at Fri Sep 28 09:11:20 MDT 2001
Resin httpd start at Fri Sep 28 09:11:32 MDT 2001
Resin httpd start at Fri Sep 28 09:11:44 MDT 2001
Resin httpd start at Fri Sep 28 09:11:57 MDT 2001
Resin httpd start at Fri Sep 28 09:12:09 MDT 2001
Resin httpd start at Fri Sep 28 09:12:21 MDT 2001
Resin httpd start at Fri Sep 28 09:12:33 MDT 2001
Resin httpd start at Fri Sep 28 09:12:46 MDT 2001
Resin httpd start at Fri Sep 28 09:12:58 MDT 2001
Resin httpd start at Fri Sep 28 09:13:10 MDT 2001
Resin httpd start at Fri Sep 28 09:13:23 MDT 2001
Resin httpd start at Fri Sep 28 09:13:35 MDT 2001
Resin httpd start at Fri Sep 28 09:13:47 MDT 2001
Resin httpd start at Fri Sep 28 09:14:00 MDT 2001
Resin httpd start at Fri Sep 28 09:14:12 MDT 2001
Resin httpd start at Fri Sep 28 09:14:24 MDT 2001 . . .

and it just keep going.
 

holmBrew

Official Volunteer
It seems that my problem was with the permissions on mod_caucho.so.

The other problem was that I had some rogue processes of Resin running that had not shutdown properly when ./httpd.sh stop was invoked. So, I was getting the listing about because the current Resin process was starting and crashing and then restarting again. I discoverd this by checking the Resin logs and by running the httpd.sh with the -no-auto-restart flag. The logs told me that Resin could not bind to port 8080 because it wasin use by another process, and that is when I realized it was a Resin vs. Resin problem.

I fixed that and now Resin works like a charm!

Does anyone know how to make Resin the server that you can start and stop form System Preferences instead of Apache? Resin is a damn nice and fast server all by itself!
 
Top