Re: [Resin-interest] Resin 4.0.0 embedded

2009-05-24 Thread Daniel Lopez
Hi Scott, S'està citant Scott Ferguson f...@caucho.com: I've added a bug report for this. It's been something that's been bugging me a bit. For normal Resin, we take control of the logging as soon as it's launched (so you could duplicate that -D... header), but we don't have a clean way of

Re: [Resin-interest] Memory leak - in Resin?

2009-03-29 Thread Daniel Lopez
Hi, Using that .war as a sample application, I did some more tests and found some things that might be interesting: I added groovy-1.5.7.jar, hibernate-3.2.6.ga.jar and scala-compiler-2.7.2.jar to WEB-INF/lib. Nothing is done with them, they simply live there. Important data: total size

Re: [Resin-interest] Remote programmatic authentication

2009-03-24 Thread Daniel Lopez
While on that topic... I have been fighting through the years, since version 3.2, to get the servlet spec. to improve the security part but well, not very successfully one could say. I guess not being famous or working for a mega-vendor does not help :). Bitching at forums and blogs

Re: [Resin-interest] Perf Issues

2009-03-21 Thread Daniel Lopez
From our years using Resin and other containers, even though basically Resin, we have found basically 2 things that containers do not like: .- Swap memory. I know it's stating the obvious, but when your app is running out of memory and the GC starts working like frenzy, the worst it can

Re: [Resin-interest] reverse proxy support like ProxyPass in apache?

2009-03-05 Thread Daniel Lopez
Hi, In our case, it is usually enough to use mod_proxy with simply a ProxxPass and ProxyPassReverse directive, forwarding complete directories to the back end. That means we forward all requests to the applications, which reside in another machine in the backend, as they also include

Re: [Resin-interest] Profiling...

2009-02-23 Thread Daniel Lopez
Hi, On Windows, the DLLs have to be somewhere in the PATH, not LD_LIBRARY_PATH which is a *nix thing. Moving them to Windows\System32 works as that's part of the standard PATH, but you can also do it just starting Resin with a .bat file with something like... *** set

Re: [Resin-interest] Quercus + Web Services / Zend

2008-11-02 Thread Daniel Lopez
Hi again, I think I found something related to the issue, as Quercus seems to have some problems with PHP static members. I created the following test: *** ? class Test { protected static $_instance = null; protected $_variable = null;

Re: [Resin-interest] Quercus + Web Services / Zend

2008-11-02 Thread Daniel Lopez
Well, moving forward I've advanced a bit on the 3.2.1 front as the $_instance not defined problem is no longer there, even if reflection is still broken. The next issue I found is that accesing a stack, the isset(stack-{$name}) returns 1 (true) and then stack-{$name} returns false,

Re: [Resin-interest] Quercus + Web Services / Zend

2008-10-31 Thread Daniel Lopez
Hi Adriano, Thanks for your answer. I'm trying with the latest release of Zend, (1.6.2) fresh from their site. I follow their quickstart guide, substituting the Apache .htaccess file with the URLRewrite filter to redirect all requests to WEB-INF/php/public/index.php, storing the Zend

Re: [Resin-interest] Quercus PHP for TCP Servers?

2008-09-04 Thread Daniel Lopez
Hi, To migrate the C++ daemon, Resin includes some utilities to run tasks (Java classes in the end) periodically, we have also used Open Symphony's Quartz scheduler to develop such thing in a container independent way. The benefit of it is that you don't have to care about two different

[Resin-interest] Configuring a JNDI javax.mail.Session for a TLS SMTP server (gmail) (3.1.5)

2008-07-21 Thread Daniel Lopez
Hi there, I'm trying to configure an application, JIRA, to send notification through a mail server, gmail, and for that I have to define a JNDI resource with all the data to be able to connect to the SMTP server. However, the problem is that the gmail SMTP server requires TLS and I've been

Re: [Resin-interest] Bug when using thirdparty persistence layer with @PersistenceUnit

2008-03-06 Thread Daniel Lopez
Hi, You will probably need to specify which version of Resin 3.1.X you are using, as things have changed greatly during the last versions. This week I've been playing with JPA and using different providers inside Resin, and I had to resort to 3.1.5 (I jumped from 3.1.2). However, I'm using

Re: [Resin-interest] 2008-02-11 snapshot

2008-02-13 Thread Daniel Lopez
That sounds great! That's most of what our current shell scripts do, so I'll be able to reduce them to an alias od run resin with that specific conf file with the command I pass to you. Nice! D. S'està citant Scott Ferguson [EMAIL PROTECTED]: On Feb 12, 2008, at 11:10 PM, Daniel López

Re: [Resin-interest] Resin 3.1 independent instances

2008-02-07 Thread Daniel Lopez
Would then be the recommended way to work to set all watchdog ports on all resin.conf files to be the same one? I'm thinking that might be causing some of the issues as side effect. I understand the reason to use a well-known port, but sometimes the instances stop responding due to some

Re: [Resin-interest] Resin/Tomcat Common Authenticator [SOLVED]

2007-10-30 Thread Daniel Lopez
convoluted, I would say :). So one could use your class and specify none as realm or use mine, both should work. I tested it on 3.1.1 Thx. S! Mattias Jiderhamn [EMAIL PROTECTED] ha escrito: Daniel Lopez wrote (2007-10-29 18:19): I'd like to confirm that this strategy works (with a tiny detail I

Re: [Resin-interest] Resin/Tomcat Common Authenticator [SOLVED]

2007-10-29 Thread Daniel Lopez
Hi, It took me a while because I was busy with other things but for the benefit of future generations, I'd like to confirm that this strategy works (with a tiny detail I will explain) and I have now an application that is able to authenticate through the container in Resin and Tomcat. The

[Resin-interest] Resin/Tomcat Common Authenticator

2007-10-09 Thread Daniel Lopez
Hi all, Long story short: I started consulting in a company that is developing a product using Tomcat. They want to be able to run the application in different containers to make sure they are spec compliant and all, so I suggested Resin as an alternative. I've been able to configure the

[Resin-interest] Fwd: Re: Security Manager

2007-08-09 Thread Daniel Lopez
If Resin/Your application is starting without problems and you have nothing granted in your policy file, then it is sure the policy is not being applied :). We have one of our nodes configured in a similar manner and you have, at the very minimum, to grant permissions to the Caucho classes to

[Resin-interest] Resin 3.0.2x Quercus/Scripting Engine and Java 6 scripting issues

2007-03-30 Thread Daniel Lopez
Hi there, I'm extending our home-made framework to be able to take advantage of Java 6 scripting capabilities, and I have found some issues with Quercus/Scripting Engine due to the way the scripting works in Java 6. In short, I developed the scripting module this morning in my office, using an

Re: [Resin-interest] Which webapp is misbehaving?

2007-03-26 Thread Daniel Lopez
Hi, Not sure if that would help, but what we do is to have various resin instances with the applications distributed among them, and then use mod_proxy instead of mod_caucho to forward requests. It's easier then to pinpoint the applications having problems, as you can see the process eating all

Re: [Resin-interest] EJB and Resin 3.1

2006-12-08 Thread Daniel Lopez
Do you mean simply having a web application as a place where you deploy your EJBs that are then accessed from other web applications? Or do you mean simply not packaging your web application as an .ear/.war file and still have your EJBs deployed? For the latter case, I don't use .war/.ear files