Re: [Resin-interest] question about persistancy

2006-09-18 Thread Riccardo Cohen
Thanks for your quick response. I've added in config : always-save-session this way : and also in jsp : session.setAttribute("cur",cur);//will save the data when the color is changed. The color is still not saved correctly. I prefer to use setAttribute to save the session, for perfo

Re: [Resin-interest] Special virtual hosts

2006-09-18 Thread Jacky
Dear Scott,   You said that it was not tested with Apache, but I have tried with just resin alone yet it still doesn’t work. It will get the contents from {RESIN_PATH}/webapps/ROOT/. Below is my sample vhost.                   I browse to http://xn--eqrt2guv0afw3

Re: [Resin-interest] too many open files

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 11:43 AM, David Hansen wrote: > > Right now we're only configured with the default tree loader: > > > > > > > java 11945root 1020r REG8,3 1886356 > 503420273 /opt/deployments/jars/wtcls.jar I don't understand what is loading

Re: [Resin-interest] too many open files

2006-09-18 Thread David Hansen
On Sep 18, 2006, at 10:34 AM, Scott Ferguson wrote: > > Thanks. How is that .jar configured in the resin.conf? Can you > give the section of the resin.conf that references > it? In particular, if it's defined in a or > defined directly in a , but some other detail might matter. Right

Re: [Resin-interest] problems with IIS

2006-09-18 Thread Sam
> Date: Mon, Sep 18, 2006 at 12:35:13PM -0400 > Subject: Re: [Resin-interest] problems with IIS > > Seems it might be a problem with our balancer, we added a little test > http://webserver.com/été/index.jsp and index.html > which IIS can > fi

Re: [Resin-interest] throttle filter

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 10:39 AM, sksamuel wrote: >>> How do I get a thread dump without using jstack because that >>> doesn't >>> work on Fedora 3 unfortunately (just my luck). It's fixed in >>> Mustang I >>> think. >> >> kill -QUIT on the java process. >> >> kill -QUIT is a bit better than js

[Resin-interest] Resin 3.1.0 preview: and

2006-09-18 Thread Scott Ferguson
Here's a preview of one of the changes in Resin 3.1.0 (expected late Sept/early Oct. The 3.0.22 release will be about the same time.) We're refactoring the top-level configuration tags in the resin.conf (the old 3.0 syntax will still work for backward compatibility). The basic changes are

Re: [Resin-interest] too many open files

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 10:34 AM, David Hansen wrote: > Following the suggested lsof idea, it appears that Resin is > continually opening file descriptors to the same jar. > > > java 11390root 33u REG8,3 1886356 > 503420273 /opt/deployments/jars/wtcls.jar > about 900 more

[Resin-interest] too many open files

2006-09-18 Thread David Hansen
We are having the exact same problem as the original poster of this thread: http://maillist.caucho.com/pipermail/resin-interest/2006-August/ 16.html Following the suggested lsof idea, it appears that Resin is continually opening file descriptors to the same jar. Snippet of lsof output:

Re: [Resin-interest] resin-interest Digest, Vol 3, Issue 20

2006-09-18 Thread sksamuel
>> Can you give more information about the environment: exact OS, exact >> resin version, exact JDK version, etc. You say "the same resin is >> working fine on other servers." I'm unsure how to read that. Do you >> mean that, bit for bit, the servers are identical, running the exact >> same code in

Re: [Resin-interest] resin-interest Digest, Vol 3, Issue 20

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 10:08 AM, sksamuel wrote: >> >> Hmm. Can you get a thread dump? A few possibilities: >> >> 1) your threads are stuck somewhere in application (or Resin) >> code and the robots timed out >> >> 2) something is wrong with the select manager (?) >> >> 3) something else that m

Re: [Resin-interest] resin-interest Digest, Vol 3, Issue 20

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 9:43 AM, sksamuel wrote: > > They all look like this > > java 20112root 573u IPv4 37171963 TCP > server206-123.live-servers.net:http->lj601932.inktomisearch.com:59086 > (CLOSE_WAIT) > java 20112root 575u IPv4 37176279

Re: [Resin-interest] question about persistancy

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 6:25 AM, Riccardo Cohen wrote: > Hi > In my application, I found that persistance did now work always. > The first session info is > correcly stored, but not after a change. > So I made a little application that demonstrate that. And it > appears that a simple string > is

Re: [Resin-interest] Resin 3.0.21 slower?

2006-09-18 Thread Scott Ferguson
On Sep 16, 2006, at 4:22 AM, Yasar Safkan wrote: > I have been using Resin 3.0.14 professional for a while (close to > a year now). The system runs on Linux (CentOs 4.2), with JDK 1.5.0_06 > from Sun lately. Due to some bugs (especially resin bombing with > client disconnect exception in nati

Re: [Resin-interest] Apache, mod_caucho and wildcard DNS

2006-09-18 Thread Andrew Lombardi
thanks Scott.On Sep 18, 2006, at 9:27 AM, Scott Ferguson wrote:I've added this as http://bugs.caucho.com/view.php?id=1355-- ScottOn Sep 12, 2006, at 12:56 PM, Andrew Lombardi wrote:Set apache's ServerName back to www.mysticcoders.comand used the regexp in the for Resin, still nothing.Checked the c

Re: [Resin-interest] CLOSE_WAIT sockets

2006-09-18 Thread Scott Ferguson
On Sep 15, 2006, at 5:44 PM, Rob Lockstone wrote: > Can you give more information about the environment: exact OS, exact > resin version, exact JDK version, etc. You say "the same resin is > working fine on other servers." I'm unsure how to read that. Do you > mean that, bit for bit, the servers

Re: [Resin-interest] problems with IIS

2006-09-18 Thread Michael Sweeney
Seems it might be a problem with our balancer, we added a little test http://webserver.com/été/index.jsp and index.html which IIS can find no problem but resin gives an error 404 while converting the codes to %E9t%E9 in Firefox, but no conversion in Internet Explorer. The index.html can be

Re: [Resin-interest] Apache, mod_caucho and wildcard DNS

2006-09-18 Thread Scott Ferguson
I've added this as http://bugs.caucho.com/view.php?id=1355-- ScottOn Sep 12, 2006, at 12:56 PM, Andrew Lombardi wrote:Set apache's ServerName back to www.mysticcoders.comand used the regexp in the for Resin, still nothing.Checked the caucho-status and saw this:Virtual Host: www.mysticcoders.comHos

Re: [Resin-interest] Resin Logging - Problems with Rollovers

2006-09-18 Thread Scott Ferguson
On Sep 18, 2006, at 6:23 AM, Shane Cruz wrote: Has anybody seen any problems with the log rollovers in Resin Pro 3.0.19 or above?  It seems that most of the issues have been fixed, but the log rollover naming is not working properly for us for the stdout and stderr logs right now.  It was working f

Re: [Resin-interest] bug in lazy web app loading

2006-09-18 Thread Scott Ferguson
On Sep 13, 2006, at 10:30 AM, Will Jaynes wrote: > In Resin 3.0.21, for development, I've set the startup-mode to lazy. > This is supposed to delay the loading of an app until the first > request > on it. It does prevent all the apps from loading on startup. But, what > I've noticed is that whe

Re: [Resin-interest] com.caucho.jsp.JSPCompiler on SMP machines

2006-09-18 Thread Scott Ferguson
On Sep 15, 2006, at 12:09 PM, Caleb Richardson wrote: > I have quite a large number of JSPs to precompile, and these JSPs > share > many interdependent tag files. I am currently programatically invoking > the JSPCompiler.main() method, my question is whether or not it is > safe > to fork mult

Re: [Resin-interest] session timeout too soon

2006-09-18 Thread Scott Ferguson
On Aug 29, 2006, at 7:36 AM, luv2hike wrote: > > I'm trying to increase the session idle timeout to one hour to > better suit my > client's usage pattern. However, I still cannot get it to hold a > session > that long without browser activity. Here's a sample from my log file: > > [Tue Aug

Re: [Resin-interest] Advice on Denial of Serivce attacks

2006-09-18 Thread Scott Ferguson
On Sep 13, 2006, at 7:25 AM, Mattias Jiderhamn wrote: > We are having some trouble with recurring DDoS/DoS attacks on one of > our Resin servers. While being attacked, it seems most of the threads > in the thread pool are connected but waiting for request input > inside JNI code: Do you know i

[Resin-interest] JAX-WS 2.0 on Resin

2006-09-18 Thread Karl Goldstein
I managed to get a simple web service working using JAX-WS 2.0 and Resin 3.0.21 yesterday.  Here are my notes for the curious:   http://xocoatl.blogspot.com/2006/09/jax-ws-20.html   Cheers,   Karl ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] Special virtual hosts

2006-09-18 Thread Scott Ferguson
On Sep 13, 2006, at 5:01 AM, Jacky wrote: Dear all, I have a vhost like this that doesn’t seem to work, is it bcos of the domain name?In case you’re wondering, I’m dealing with Chinese Domain Name.I've added this as a bug report.  http://bugs.caucho.com/view.php?id=1350Resin's support for the i18n

[Resin-interest] question about persistancy

2006-09-18 Thread Riccardo Cohen
Hi In my application, I found that persistance did now work always. The first session info is correcly stored, but not after a change. So I made a little application that demonstrate that. And it appears that a simple string is correctly stored, while an object containing a hashtable is only st

[Resin-interest] Resin Logging - Problems with Rollovers

2006-09-18 Thread Shane Cruz
Has anybody seen any problems with the log rollovers in Resin Pro 3.0.19 or above?  It seems that most of the issues have been fixed, but the log rollover naming is not working properly for us for the stdout and stderr logs right now.  It was working for a while, but over the past several da