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

Reply via email to