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 fra
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:
***
getProperties() as $property) {
$name = $property->getName();
echo "Member:
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",
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 PATH=C:\Wherever\Your\DL
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 style
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 h
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 (sendi
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 for
t http://jiderhamn.se/resin-leak.patch to avoid
>>> this leak. However even with the patch applied I'm still having leaks.
>>> 3. This obviously seems like a groovy problem, probably a static
>>> initialization triggered at class load.
>>>
>>> So would
If Resin does not implement it itself, implementing a filter that
stores the IP in the session and checks on each request before passing
the request along should not be difficult. I don't know if Resin
already provides such a feature.
S!
D.
S'està citant Rafael Escolar | Bookassist :
> Is
Hi Scott,
S'està citant Scott Ferguson :
> 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 managing the
Up until 2.4, filters were only applied to the original request and
"sub-requests" handled by RequestDispatcher were not treated. But that was
changed in version 2.4 and those web.xml attributes were added specifically
for that purpose. That's why I upgraded to Resin 3.0 :)
If I understood correct
Hi,
Which kind of logic is "forwarding" the back-end server's IP to the client
browser? Is your application building the URLs using getLocalAddr() or
getServerName()? Otherwise, if you construct your URLs as relative paths,
there is no way the browser should know about the back-end server.
Salute
Yes, it is quite straight forward as you just basicall construct the regexp
patterns in the init method and then it just modifies the forwarded path if
it matches one of the patterns, the rest is basically the same as Caucho's
HttpProxyServlet so it shouldn't be too difficult to add.
And some extr
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
Hi,
Interesting. One question though, if I edit the config file and modify one
of the cluster blocks, to add a new app for example, is Resin smart enough
to just restart that specific cluster or will it restart all the instances
due to the new timestamp of the config file? I guess it is the latter
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 th
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
> -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Lopez
> > Sent: Friday, March 30, 2007 3:09
> > To: General Discussion for the Resin application server
> > Subject: [Resin-interest] Resin 3.0.2x Quercus/Script
That would be with 3.1.1, as I had not upgraded to 3.1.2. Now it is
working fine under 3.0.x, so I'll upgrade this host when I move to
3.1.2.
Thanks!
D.
> Is this with 3.1.2? The init-param should be allowed, although that
> was a bug in earlier versions of 3.1.
>
> -- Scott
--
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
allo
Hi,
I was able to get someone to send me the file, and basically it is
something like this:
-
// Permissions allowed for everyone.
grant {
permission java.util.PropertyPermission "*", "read";
permission java.lang.Runti
Hi,
First thing I did was to clean up all the deployment directory, making
sure the WEB-INF/sessions directory was removed, and session lifetime
is 30min, so they shouldn't have survived all the weekend in any case
:).
I tried with Resin 3.1.2, just in case, and the result was the same. I
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 da
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
null... a bit 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 co
In any case, what you would probaby get with that setting would be for
Resin to call the init() method of the servlet generated from the JSP,
not making a ficticious call to your JSP as for that you need a
request, a response to send back to the browser etc. If you don't have
such things (r
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 ap
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ó
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
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 u
g an Authenticator with a mail
> resource? Is there is no Authenticator provided with Resin that is
> compatible javax.mail.Authenticator? Should I provide my own custom class?
>
> S!
> D.
>
> Daniel Lopez escribió:
>> Thanks Scott, that got me closer :). Now the problem i
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 pi
33 matches
Mail list logo