[Resin-interest] Hudson on Resin 4.0.12

2010-11-18 Thread Mattias Jiderhamn
Has anyone been able to run Hudson [1] on Resin 4.0.12...?

It's running just fine on 4.0.10, but when accessing the main page / 
context root under 4.0.12, a directory listing of the root of the WAR is 
sent with Content-Type application/octet-stream
Accessing sub pages, such as /manage, seems to work fine.

1: http://hudson-ci.org/

-- 

   /Mattias



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Performance issue with Resin Eclipse Plugin Solved

2010-11-18 Thread Aaron Freeman
So we were having all kinds of performance issues with the Resin Eclipse 
plugin (which may or may not be supported, but we use it like crazy now).

The performance problem we were all having is that every time we would 
change some JSP source, we would have to wait WAY too long for the JSP 
to recompile.  It was painful, but we have been living with it.

After much head scratching one of our guys figured out that when you set 
up a new server, there is a default setting that is causing the 
problem.  This may be well documented, but three of us independently 
couldn't Google a resolution, so I thought I'd post it here.

In the Servers view, on the Open -- Open launch configuration -- 
Arguments tab, this VM argument is set by default:

-Djava.library.path=C:/[path-to-resin]/resin-pro-4.0.x/libexec:C:/[path-to-resin]/resin-pro-4.0.x/libexec64

We always ignored that.  Turns out that's the problem.

For windows 64-bit machines change that to:

-Djava.library.path=C:/[path-to-resin]/resin-pro-4.0.x/win64

And for 32-bit machines change it to:

-Djava.library.path=C:/[path-to-resin]/resin-pro-4.0.x/win32

Presto it all starts compiling very quickly, as it should.

This may be obvious, and nobody else but us are stupid enough not to 
swap that out, but we just let the defaults be what they are and it bit us.

-Aaron


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest