Re: [Resin-interest] Resin JMS

2006-09-25 Thread Mattias Jiderhamn
At 2006-09-25 11:11, chuboz wrote: Is there any bug on JMS implementation on Resin pro 3.0.12 ? Is there any software you dare say it does not contain any bugs...? I tried to use JMS MemoryQueue on Resin and it decrease my memory eventhough I have already emptied all my messages from queue.

Re: [Resin-interest] Resin not starting

2006-11-09 Thread Mattias Jiderhamn
Does Resin have permission to write to the log files/directory? At 2006-11-09 13:41, Pablo Saavedra wrote: Hi all, I'm using resin 3.1 snapshot for development under RedHat 9, and it won't start in background mode. It start OK if I do ./httpd.sh, and it shows me the logs on the console and

Re: [Resin-interest] Servlet question.

2006-11-27 Thread Mattias Jiderhamn
web.xml: servlet-mapping url-pattern='/*' servlet-class='foo.MyServlet'/ Then you will have /view in request.getPathInfo() At 2006-11-27 12:09, George Moschovitis wrote: Dear devs, I would like to have a simple servlet mounted at /. This is easy to accomplish with servlet-mapping. However I

Re: [Resin-interest] Simply.... thanks

2006-11-30 Thread Mattias Jiderhamn
I just have to agree with Daniel. After using Resin for a couple of years you start taking its features for granted. But not too long ago (3.0.21) we started using the In-place class redefinition (HotSwap) feature, and it truly speeds up development (even though it doesn't alway work).

Re: [Resin-interest] need help with resin 3.0.22 pro

2006-12-18 Thread Mattias Jiderhamn
At 2006-12-16 03:46, Steve Burrus wrote: I need help from someone re. just how I should go about viewing a servlet in my browser using resin-pro 3.0.22. Thanx to anyone who can help me with this. Unless you have run into some kind of problem you are not telling us about, you need to read up on

Re: [Resin-interest] STILL Need Help w. php and resin.

2007-01-05 Thread Mattias Jiderhamn
Your question is so general, it is easy to assume you have not read the documentation yet, or do not know the basic concepts about web/J2EE servers. (Re-)Read the documentation. Try the out-of-the-box settings. Try a static HTML page. If your still having trouble, try to be more specific. (For

Re: [Resin-interest] Resin OpenSSO

2007-01-15 Thread Mattias Jiderhamn
Is the source code of OpenSSO available? Could you investigate what happens on AuthD.java:224? At 2007-01-12 19:23, Scott Ferguson wrote: On Jan 12, 2007, at 12:15 AM, Simona borrello wrote: Hi all, i'm trying to install OpenSSO under Resin. When i start the web application, typically: I've

Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Mattias Jiderhamn
We are using Spring 2 with Resin 3.0 without those tags. Is there a particular part of Spring that cause problems? Or is it only with Resin 3.1? If it helps, the settings below can be added to web.xml instead of resin.conf. You could also create a startup script and add

Re: [Resin-interest] RESIN migration 3.022 from 2.1.17 issue - JSTL TAGS

2007-02-21 Thread Mattias Jiderhamn
It is a bit unclear to me what you have tried and why. You want to run Resin 3 but use the Apache/Jakarta JSTL implementation. Right? (Why does Resin 3's implementation not suite your needs?) Attachments do not reach the list, so please paste the error into the mail, so we can see it. I don't

Re: [Resin-interest] Resin and Spring 2.0

2007-02-21 Thread Mattias Jiderhamn
Ursprungligt meddelande Ämne: Re:[Resin-interest] Resin and Spring 2.0 Från: Matt Raible [EMAIL PROTECTED] Till: General Discussion for the Resin application server resin-interest@caucho.com Datum: 2007-02-21 13:31 On 2/21/07, Mattias Jiderhamn [EMAIL PROTECTED] wrote

Re: [Resin-interest] Not able to use the application specific resin-conf.xml

2007-02-21 Thread Mattias Jiderhamn
Are you running Resin as a service or in a console? What does the console say? I was going to advice you to look into the file permissions of the log directory, but on Windows that seems less likely (although worth a check). I would start out with the default settings and then change it bit by

Re: [Resin-interest] Using XML escapes (e.g. copy;) in resin.conf

2007-03-05 Thread Mattias Jiderhamn
Also, you can find the translation between HTML references and numeric UTF-8 references here: http://www.webmonkey.com/reference/special_characters/ Hi, resin.conf is an XML configuration file and copy; is not a valid XML reference, it is an HTML reference, so the error and the message are

Re: [Resin-interest] Quercus is fantastic !

2007-03-12 Thread Mattias Jiderhamn
Ahmed Mohombe: Also let's not forget that most of the PHP development takes place on Windows machines, where making things work (e.g. with IIS) is even more error prone. So for all these people, just downloading an application server, unpacking and starting it is much simpler and secure above

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread Mattias Jiderhamn
According to the docs, 3.1 requires JDK 1.5 or later (see for example http://www.caucho.com/resin-3.1/doc/starting.xtp) OK, I already found the answer, as the stderr.log shows the licence expired. -Ursprüngliche Nachricht- *Von:* [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Resin-interest] Resin is unable to find a valid licence

2007-05-15 Thread Mattias Jiderhamn
Hi, I'm evaluating Resin Professional. At startup I get following error message: com.caucho.config.ConfigException: Resin Professional has not found any valid licenses. Licenses belong in /opt/resin-pro-3.0.23/licenses. The (evaluation-)license is in

[Resin-interest] Slooow file reads (really weird!)

2007-10-05 Thread Mattias Jiderhamn
Hi list. I have my J2EE webapp on an external hard drive, which I carry between my office and my home computer. On each computer - running Windows XP and Java 1.5 - I have a Resin (3.0.22) installation and a shortcut to start Resin with the server root on the external drive. This has worked

Re: [Resin-interest] Slooow file reads (really weird!)

2007-10-05 Thread Mattias Jiderhamn
By the way, the CPU usage is peaking all the way through. Around 49% on my dual core system. (And there is even more memory on the computer with the problem than the other one) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mattias Jiderhamn Sent

Re: [Resin-interest] Slooow file reads (really weird!)

2007-10-05 Thread Mattias Jiderhamn
viruschecker decided to check those reads where previously it did not (possibly also unpacking .jars on the fly in-memory as it sees them as zip archives) ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mattias Jiderhamn Sent: Friday 05 October 2007 11

[Resin-interest] SOLVED: Slooow file reads (really weird!)

2007-10-08 Thread Mattias Jiderhamn
I wrote: By the way, the CPU usage is peaking all the way through. Around 49% on my dual core system. (And there is even more memory on the computer with the problem than the other one) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mattias

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

2007-10-09 Thread Mattias Jiderhamn
You could probably implement your own authenticator, possibly just subclassing the JdbcAuthenticator (see below), then use that authenticator in resin-web.xml. I myself wrote a patch for a Tomcat only webapp, that contains this plus dummy implementations of Tomcat classes/interfaces like

Re: [Resin-interest] Unable to pass request parameter to custom taglibwith Resin 3.1.3

2007-10-09 Thread Mattias Jiderhamn
Yes, Resin 3.x is much more picky about rtexprvaluetrue/rtexprvalue in your TLD files. That is most probably what you are seeing. Mike Wynholds wrote: I am not sure exactly why it stopped working, but I have noticed that sometimes Resin, over time, becomes more and more spec-compliant. this

Re: [Resin-interest] Resin 3.1.3 is available

2007-10-09 Thread Mattias Jiderhamn
For us, migrating from 2.1 to 3.0 took longer than expected. First you need to restructure your resin.conf and possibly web.xml (as Resin 3.0 is much more picky about the order of the tags). You need to make sure rtexprvalue is provided in your TLDs when appropriate, as currently discussed in a

Re: [Resin-interest] Resin logging - Syslog

2007-10-11 Thread Mattias Jiderhamn
Are you aware that the name attribute corresponds to the package hierarchy of what should be logged? Do you have any classes under the test.log package, that should do some logging? Otherwise try something like name=com.caucho or name= Original Message Subject:

Re: [Resin-interest] Compelling reasons to use Resin?

2007-10-18 Thread Mattias Jiderhamn
Scott: On Oct 17, 2007, at 6:25 AM, Jan Kriesten wrote: a recent comparison between resin 3.0.9 and tomcat 5.5.3 can be found here: http://raibledesigns.com/rd/entry/resin_slower_than_tomcat_fails on this comparison maybe scott could comment? It's not a useful benchmark. It

Re: [Resin-interest] Compelling reasons to use Resin?

2007-10-18 Thread Mattias Jiderhamn
Jan: Exactly my thought. I don't see any information about the number of concurrent threads, so unless this is implicit by some means out of my knowledge, this measures only a single request. Doesn't say much about how an appserver performs in a live environment. Most comparisons I've seen

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

2007-10-30 Thread Mattias Jiderhamn
Daniel Lopez wrote (2007-10-29 18:19): 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 only detail I had to modify is that wherever it reads: return

Re: [Resin-interest] org.apache.axis2.AxisFault: org.xml.sax.SAXParseException: The prefix ns2 for element ns2:requestUser is not bound.

2007-11-02 Thread Mattias Jiderhamn
Emil Ong wrote (2007-11-03 06:09): --- Huitang Li [EMAIL PROTECTED] wrote: All the above is based on what is left in my brain for this matter, and probably I have not referred to the resin API names perfectly. However, I debugged through the resin source code for this matter a while

Re: [Resin-interest] Transaction Manager and custom XAResource

2007-11-30 Thread Mattias Jiderhamn
We also have non-database XAResources. We have simply created a utility method to enlist resources to the transaction (see below). In it's simplest case, this method can be called from the resource constructor (with this as argument). Doing so in a factory would be better. I don't know of a more

Re: [Resin-interest] Could not find datasource

2007-12-03 Thread Mattias Jiderhamn
You should probably check your Hibernate configuration. It seems you are not providing the JDNI reference to the actual DataSource. /Mattias Guru wrote (2007-12-03 17:18): Hi, I am trying to connect to Oracle 10g using Resin 3.0.14. My jdk version is 1.5.0.13 http://1.5.0.13. I am getting

Re: [Resin-interest] Could not find datasource

2007-12-03 Thread Mattias Jiderhamn
is referring to the datasource created in resin.conf. Please let me know is there any other reason for the class cast exception. Thanks, KG On Dec 3, 2007 11:31 AM, Mattias Jiderhamn [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: You should probably check your

Re: [Resin-interest] Could not find datasource

2007-12-04 Thread Mattias Jiderhamn
) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) at com.caucho.util.ThreadPool.runTasks (ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Unknown Source) On Dec 3, 2007 3:08 PM, Mattias Jiderhamn [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

Re: [Resin-interest] Resin 3.1.4 : How to change WEB-INF path

2007-12-13 Thread Mattias Jiderhamn
Have you tried the work-dir tag inside web-app for example? Service technique Manageo.fr wrote (2007-12-13 10:32): Hello, I'm testing Resin 3.1.4 pro in order to replace resin 2.1. One of my problems is that jsp's compilation is very very long, so I had to precompile my jsp pages, but I

Re: [Resin-interest] More on include()/forward() issue.

2008-03-07 Thread Mattias Jiderhamn
If I understand your question: the reason the DispatchResponse is committed is that you have called .flush() explicitly on the original HttpServletRequest (HttpResponse). This is nothing strange. Why could you want to create a wrapper to hide the commited state, so that you can perform

Re: [Resin-interest] More on include()/forward() issue.

2008-03-07 Thread Mattias Jiderhamn
Ilya Kasnacheev wrote (2008-03-07 16:33): page - include (forward - forward - forward - forward - page) ... forward() in included servlet does not mean instead of including page but instead of included page Ok, now I see where you're coming from. Do you have to issue the explicit .flush() or

Re: [Resin-interest] More on include()/forward() issue.

2008-03-07 Thread Mattias Jiderhamn
Ilya Kasnacheev wrote (2008-03-07 16:33): page - include (forward - forward - forward - forward - page) ... forward() in included servlet does not mean instead of including page but instead of included page Ok, now I see where you're coming from. Do you have to issue the explicit .flush() or

Re: [Resin-interest] More on include()/forward() issue.

2008-03-12 Thread Mattias Jiderhamn
Ilya Kasnacheev wrote (2008-03-11 11:35): or would increasing the buffer (response.setBufferSize()) prevent the response from being comitted until the included forward has been issued??? This way is too like hack. What if we'll fill this buffer prematurely anyway? If the amount of data

[Resin-interest] Static method call in EL

2008-03-19 Thread Mattias Jiderhamn
How do I get a static method call from an EL expression? I can see that Resin implements this with com.caucho.el.StaticMethodExpr but I just can't make it happen with ${foo.Bar.staticMethod(myArg)} Thanks in advance, Mattias ___ resin-interest

Re: [Resin-interest] Static method call in EL

2008-03-19 Thread Mattias Jiderhamn
Seems you have to declare it as a function in the TLD... - Original Message - Subject: [Resin-interest] Static method call in EL Date: Wed, 19 Mar 2008 10:53:13 +0100 From: Mattias Jiderhamn How do I get a static method call from an EL expression? I can see that Resin implements

Re: [Resin-interest] More on include()/forward() issue.

2008-03-26 Thread Mattias Jiderhamn
Ilya Kasnacheev wrote (2008-03-12 12:18): В сообщении от 12 Март 2008 12:07 Mattias Jiderhamn написал(a): What about my anonymous wrapper? See reply to original post. It may work if you are certain there will be no flushing to the client before a forward(). Nope

Re: [Resin-interest] java mysql and utf8

2008-04-07 Thread Mattias Jiderhamn
Try init-param characterEncoding=utf8 / on the database driver in resin.conf /Mattias - Original Message - Subject: [Resin-interest] java mysql and utf8 Date: Sat, 05 Apr 2008 07:57:21 +0200 From: Riccardo Cohen Hello I have a problem to build a full utf-8 application. I made a

[Resin-interest] Remote debugging Resin 3.1

2008-04-18 Thread Mattias Jiderhamn
I'm just in the process of upgrading my dev envorinment to Resin 3.1. With Resin 3.0 I could attach my IDE debugger to Resin if started with -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 With Resin 3.1, I would then attach to the watchdog process. Is there an easy way to tell the

Re: [Resin-interest] Remote debugging Resin 3.1

2008-04-22 Thread Mattias Jiderhamn
(Resin.java:695) at com.caucho.server.resin.Resin.initMain(Resin.java:1139) at com.caucho.server.resin.Resin.main(Resin.java:1341) Mattias Jiderhamn wrote: I'm just in the process of upgrading my dev envorinment to Resin 3.1. With Resin 3.0 I could attach my IDE debugger to Resin if started

Re: [Resin-interest] Resin JSP include handling changed between 3.1.2 and 3.1.5

2008-05-05 Thread Mattias Jiderhamn
Are you sure the issue is with include, rather than the attribute ID having changed...? That is, have you verified that application.getAttribute(caucho.authenticator) in header.jsp returns something other than null...? /Mattias John Steel wrote (2008-05-02 20:09): Hi all, A recent attempt

Re: [Resin-interest] Ant and JSPCompiler

2008-05-05 Thread Mattias Jiderhamn
${home.war} in the arg line which means compile this dir (and subdirs). /Mattias Jiderhamn rafael.munoz wrote (2008-05-05 15:17): Hi I'm trying to precompile my JSPs before the deploy phase, integrating this precompilation in my ANT build script. I'm using Resin 3.0.19 so I can't use the new

Re: [Resin-interest] database config shouldbeinitializedbeforeanysingleton beans

2008-05-07 Thread Mattias Jiderhamn
As you can see for yourself the bug is still marked as open in Mantis so it will probably/hopefully be fixed until next release. If you want to increase the chances of the bug being fixed soon (and have a workaround meanwhile), fix it yourself and attach your suggested patch to the bug report.

Re: [Resin-interest] disabling sessions

2008-05-14 Thread Mattias Jiderhamn
Howard Williams wrote (2008-05-14 08:37): I created a test jsp that does nothing but output the request.getRemoteUser() Here's the output after resin startup and the first page request. There's no session-config in web.xml, and no call to request.getSession(), and I even disabled all the

Re: [Resin-interest] XSLT Output Static files

2008-05-14 Thread Mattias Jiderhamn
Maybe simple caching would solve your issue...? http://www.caucho.com/resin-3.0/performance/caching.xtp Mktg. Incorporate Fast wrote (2008-05-13 21:29): Hello, With the XSLT functionality in Resin I am trying to generate static HTML pages. I am hoping to not have resin serve the pages

[Resin-interest] Classloader issues with Axis and Resin 3.1

2008-05-27 Thread Mattias Jiderhamn
Hi list. I am running into an unfamiliar classloader issue when trying to upgrade to Resin 3.1. Each separate application runs just fine. Although, when I put two applications both using Apache Axis 1.4, on the same server, I get a problem. The first application to actually make use of Axis

Re: [Resin-interest] Classloader issues with Axis and Resin 3.1

2008-05-27 Thread Mattias Jiderhamn
name=lib/saaj.jar/ -- Why is this? How am I supposed to get things going? Put saaj.jar in $RESIN_HOME/lib? /Mattias Mattias Jiderhamn wrote (2008-05-27 15:44): Hi list. I am running into an unfamiliar classloader issue when trying to upgrade to Resin 3.1. Each separate application runs

Re: [Resin-interest] Classloader issues with Axis and Resin 3.1

2008-05-28 Thread Mattias Jiderhamn
Of course, the LinkageError also appears when the application is restarted/reloaded. Reported as a bug at http://bugs.caucho.com/view.php?id=2705 /Mattias Mattias Jiderhamn wrote (2008-05-27 17:23): Indeed com.caucho.xml.saaj.SOAPMessageImpl extends javax.xml.soap.SOAPMessage which

Re: [Resin-interest] Domain name setup

2008-08-04 Thread Mattias Jiderhamn
On Aug 3, 2008, at 4:37 AM, Stephane Eybert wrote: I can access the application with the following url http://www.thalasoft.com:8080/thalasoft.com But how to access it with only http://www.thalasoft.com:8080/ The easiest is to put your files under the ROOT subdir of Resins

Re: [Resin-interest] Resin 3.2.0 is available

2008-08-08 Thread Mattias Jiderhamn
Congrats! So hessian.jar has been pulled back into resin.jar, and thus removed the ability to easily upgrade Hessian within the same Resin version...? /Mattias Scott Ferguson wrote (2008-08-07 17:58): Resin 3.2.0 is now available at the usual download http://caucho.com/download . Release

Re: [Resin-interest] Slooow file reads (really weird!)

2008-08-20 Thread Mattias Jiderhamn
) takes milliseconds as usual, while serving a static .html from my main webapp takes several seconds or more. So back to square one - maybe Resin is at least partially guilty. Any further tips on how to find out what is going on here??? /Mattias Mattias Jiderhamn wrote (2007-10-08 12:39): I

Re: [Resin-interest] inode block/fragment mixup???

2008-10-24 Thread Mattias Jiderhamn
Scott Ferguson wrote (2008-10-23 18:39): On Oct 22, 2008, at 12:06 PM, Mattias Jiderhamn wrote: We have a strange problem with Resin that looks like a bug but might be some configuration issue. We hit the bug while storing more than the usual amount of data in a session (during

Re: [Resin-interest] inode block/fragment mixup???

2008-10-27 Thread Mattias Jiderhamn
I have now filed a report here: http://bugs.caucho.com/view.php?id=3025 /Mattias Mattias Jiderhamn wrote (2008-10-24 20:30): Scott Ferguson wrote (2008-10-23 18:39): On Oct 22, 2008, at 12:06 PM, Mattias Jiderhamn wrote: We have a strange problem with Resin that looks like a bug

[Resin-interest] Memory leak - in Resin?

2008-10-30 Thread Mattias Jiderhamn
any such implementations in use) /Mattias Jiderhamn ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

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

2008-11-04 Thread Mattias Jiderhamn
of was ServletRequest implementations inside the application being dispatched, however I can't find any such implementations in use) /Mattias Jiderhamn ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo

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

2008-11-04 Thread Mattias Jiderhamn
unless you find the source of the problem until then. /Mattias Mattias Jiderhamn wrote (2008-11-04 22:24): I noticed this bug was marked as resolved, so I tried reloading our webapp running on Resin compiled from SVN. Same problem. Familiarizing myself a bit further with YourKit and comparing

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

2008-11-04 Thread Mattias Jiderhamn
Scott Ferguson wrote (2008-11-04 23:16): On Nov 4, 2008, at 2:10 PM, Mattias Jiderhamn wrote: Scott wrote: Did you build from resin/branches/3.1 or the trunk? 3.1 branch. Now I'm browsing around the com.caucho.server.port.TcpConnection._request which is never explicitly release, but I

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

2008-11-24 Thread Mattias Jiderhamn
any changes, the leak is nowhere to be found. What is going on here? Anything that might help my sanity would be appreciated. /Mattias Jiderhamn Mattias Jiderhamn wrote (2008-11-05 06:43): In support of this latest theory is the fact that YourKit shows two GC roots for the HttpRequest

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

2009-01-09 Thread Mattias Jiderhamn
Scott Ferguson wrote (2008-11-26 16:53): On Nov 24, 2008, at 11:08 PM, Mattias Jiderhamn wrote: I'm still battling this PermGen leak and frankly I'm really starting to doubt that I know what I'm doing anymore. I'd be very happy if anyone would care to explain that to me... Since my last

Re: [Resin-interest] Hybernate Resin 3.1.8

2009-01-17 Thread Mattias Jiderhamn
I have just skimmed this thread, so I'm sorry if I'm trying to solve the wrong problem, but can't you just fix the errors in your Hibernate mapping files, which you quoted in your original post? Those are DTD errors, but some parsers (read: Resin) will ignore them silently. For us this meant that

[Resin-interest] Resin on multiple CPUs

2009-03-17 Thread Mattias Jiderhamn
Is there anyone that is running Resin on multiple CPUs that could tell me if you did some special configuration to get this going? We are currently running Resin 3.1.8 under Red Hat Enterprise Linux 5.3 and we are evaluating using multi CPU servers for running Resin, but it just doesn't work.

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

2009-03-25 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-01-09 17:08): On Jan 9, 2009, at 12:22 AM, Mattias Jiderhamn wrote: Scott Ferguson wrote (2008-11-26 16:53): Thanks. Right now, our code base is a bit stuck due to the WebBeans/OSGi upgrade (for Resin 4.0.0, was 3.2.2). Once that's cleaned up and I can

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

2009-03-30 Thread Mattias Jiderhamn
) Cheers, Mattias Jiderhamn Daniel Lopez wrote (2009-03-29 14:52): 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

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

2009-03-30 Thread Mattias Jiderhamn
is somehow of importance. /Mattias Mattias Jiderhamn wrote (2009-03-30 08:40): Daniel, your findings confirms EnvironmentClassLoader as the prime suspect (my own tests are a bit more detailed in an earlier post, http://maillist.caucho.com/pipermail/resin-interest/2008-November/003158.html

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

2009-03-30 Thread Mattias Jiderhamn
!!! /Mattias Mattias Jiderhamn wrote (2009-03-30 11:40): Just tried a new idea: I subclassed EnvironmentClassLoader within the Resin sources and compiled into resin.jar. There is still a leak (in contrast to when I subclassed EnvironmentClassLoader within my own application). Conclusion

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

2009-04-02 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-03-30 18:20): On Mar 30, 2009, at 3:54 AM, Mattias Jiderhamn wrote: After drawing the conclusion below, it isn't very far away to realize it probably has to do with some static (i.e. class loader specific) member of EnvironmentClassLoader. And just as I thought

[Resin-interest] resin.conf = null when upgrading to Resin 4

2009-06-01 Thread Mattias Jiderhamn
Sitting here trying to upgrade the dev environment to Resin 4.0 with minimal changes to configuration and startup scripts. On Windows I'm up and running after a strange problem with a simple solution (deleting a default directory so that Resin would accept the explicit document-directory). On

Re: [Resin-interest] resin.conf = null when upgrading to Resin 4

2009-06-02 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-06-02 07:23): On Jun 1, 2009, at 9:48 PM, Mattias Jiderhamn wrote: Sitting here trying to upgrade the dev environment to Resin 4.0 with minimal changes to configuration and startup scripts. On Windows I'm up and running after a strange problem with a simple

[Resin-interest] No sessions in Resin 4

2009-06-02 Thread Mattias Jiderhamn
I wrote on resin.conf = null when upgrading to Resin 4 (2009-06-02 06:48): Sitting here trying to upgrade the dev environment to Resin 4.0 with minimal changes to configuration and startup scripts. On Windows I'm up and running ... I apparently jumped the gun here. I am not up and running on

Re: [Resin-interest] No sessions in Resin 4

2009-06-03 Thread Mattias Jiderhamn
is removed, Resin 4 starts but sessions still don't work) Is Resin 4 dependent on Resin 3.1 to handle sessions...??? /Mattias [1] http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx Scott Ferguson wrote (2009-06-02 23:50): On Jun 2, 2009, at 12:29 PM, Mattias Jiderhamn wrote: I wrote

Re: [Resin-interest] No sessions in Resin 4

2009-06-03 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-06-03 21:17): On Jun 3, 2009, at 11:15 AM, Mattias Jiderhamn wrote: Ehrm... Scott, would you care to explain this to me...? On Windows, my RESIN_HOME is set to c:\java\resin c:\java\resin is a junction [1] path. If that path points to c:\java\resin-pro-4.0.0

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

2009-06-03 Thread Mattias Jiderhamn
My initial testing indicates that the leak indeed has been fixed in 4.0! I'll have to get back on this once I have our real application up and running in 4.0 /Mattias Mattias Jiderhamn wrote (2009-04-02 11:23): Scott Ferguson wrote (2009-03-30 18:20): On Mar 30, 2009, at 3:54 AM, Mattias

Re: [Resin-interest] No sessions in Resin 4

2009-06-04 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-06-03 23:52): On Jun 3, 2009, at 1:08 PM, Mattias Jiderhamn wrote: Scott Ferguson wrote (2009-06-03 21:17): Can you check the permissions, particularly of the resin-data directory? We had some trouble at the end of the release cycle with permissions issues

Re: [Resin-interest] Updating Hessian in Resin 4.0 deployments

2009-06-18 Thread Mattias Jiderhamn
Hessian was extracted to a separate hessian.jar in the Resin dist a while back, which made it possible to upgrade Hessian without changing Resin version. For some reason hessian was moved back into resin.jar. /Mattias Scott Ferguson wrote (2009-06-18 00:16): On Jun 17, 2009, at 2:10 PM, Rick

Re: [Resin-interest] No sessions in Resin 4

2009-06-18 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-06-05 18:11): On Jun 3, 2009, at 10:59 PM, Mattias Jiderhamn wrote: Done a bit more debugging and I have arrived at com.caucho.server.distcache.FileCacheManager.put() which does nothing but return null!? Should persistent-store type=file work at all...? Yikes

[Resin-interest] Non-interpreted EL expressions?

2009-08-06 Thread Mattias Jiderhamn
Is there a way to make Resin not try interpreting EL expressions in JSP pages (while still using fast jstl)? We have custom tags with string attributes which are evaluated as EL expressions using the Apache Taglibs implementation. After updating to 4.0, Resin refuses to treat these attributes as

[Resin-interest] min-free-memory

2009-08-20 Thread Mattias Jiderhamn
What happened to the min-free-memory config tag in Resin 4? Still available? Where to put it? -- /Mattias ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] min-free-memory

2009-08-20 Thread Mattias Jiderhamn
Emil Ong wrote (2009-08-20 17:28): On Thu, Aug 20, 2009 at 05:21:45PM +0200, Mattias Jiderhamn wrote: What happened to the min-free-memory config tag in Resin 4? Still available? Where to put it? Hi Mattias, It has changed to memory-free-min. Which, for the record, is a child

[Resin-interest] Non-Hessian file store?

2009-08-26 Thread Mattias Jiderhamn
In Resin 4 persistent-store type=file seems to use Hessian for serializing the session values. This causes some trouble for us since Hessian in some cases tries to access uninitialized Hibernate collections after the session/transaction is closed. Is there a way to revert Resin 4 to the old

Re: [Resin-interest] Non-Hessian file store?

2009-08-27 Thread Mattias Jiderhamn
http://docs.jboss.org/hibernate/stable/core/reference/en/html/transactions.html#transactions-basics-apptx Jon Stevens wrote (2009-08-26 21:48): You put Hibernate objects into the session? jon On Wed, Aug 26, 2009 at 8:37 AM, Mattias Jiderhamn mj-li...@expertsystems.se mailto:mj-li

Re: [Resin-interest] Non-Hessian file store?

2009-08-27 Thread Mattias Jiderhamn
:05 AM, Mattias Jiderhamn mj-li...@expertsystems.se mailto:mj-li...@expertsystems.se wrote: http://docs.jboss.org/hibernate/stable/core/reference/en/html/transactions.html#transactions-basics-apptx Jon Stevens wrote (2009-08-26 21:48): You put Hibernate objects into the session

[Resin-interest] HttpSessionBindingListener.valueUnbound() not always called in Resin 4...?

2009-09-08 Thread Mattias Jiderhamn
After about a week with Resin 4.0.1 in production environment, we have twice seen symptoms indicating that a value implementing HttpSessionBindingListener has been removed from a session, without its valueUnbound() method being called. Has anyone else seen this? Are there any circumstances where

Re: [Resin-interest] Cookie security over SSL (https) connections - Sent Using Google Toolbar

2009-09-14 Thread Mattias Jiderhamn
I think you need to make sure you are using an SSL connection (request.isSecure()) before you create the Cookies in the first place. The behaviour when changing a non-secure cookie to a secure one may be browser dependant.// // /Mattias // //Abhinav Gupta wrote (2009-09-10 14:34): Thanks Jeff,

[Resin-interest] Avoid HTTP/1.1 requires host

2009-09-21 Thread Mattias Jiderhamn
Is there any setting which would allow Resin to silently ignore connections that cause the following error? com.caucho.server.dispatch.BadRequestException: HTTP/1.1 requires host at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:261) at

Re: [Resin-interest] NoSuchMethodError

2009-10-01 Thread Mattias Jiderhamn
Given your previous posts I assume you've just upgraded from 3.0 and in that case, you need to make sure the WEB-INF/work directory is cleared so JSPs can be compiled by the new Resin version. /Mattias - Original Message - Subject: [Resin-interest] NoSuchMethodError Date: Thu, 1 Oct

Re: [Resin-interest] 4.0.2 schedule

2009-10-14 Thread Mattias Jiderhamn
This reminds me; what is the syntax for enabling Java serialization for persistent store (as of http://bugs.caucho.com/view.php?id=3648)? /Mattias Wesley Wu wrote (2009-10-13 23:07): Yes, I turned on use-persistent-store/ (simply copied from my previous 4.0.0 conf file). When I turned it

Re: [Resin-interest] Tabulation evil

2009-10-28 Thread Mattias Jiderhamn
I have been asking myself the same question... Jeff Schnitzer wrote (2009-10-28 00:41): This is really just a point of curiosity... What editor are you guys using at Caucho? I've noticed all the code is formatted using a bizarre combination of tabs and spaces, like this: 1 indent = 4

Re: [Resin-interest] Hibernate lazy loading with Quercus

2009-11-23 Thread Mattias Jiderhamn
Alex wrote (2009-11-24 06:01): Hello, we try to do the following on our php/EJB3 application : • find a given client from its lastname using a stateless bean () • load his orders using the getter [code] $clients = $client_eao-findBySample($sample_client,false,false);

Re: [Resin-interest] 4.0.2 schedule

2009-11-25 Thread Mattias Jiderhamn
Resin 4.0.2 can now be found on the download page, and for anyone else wondering, the syntax to use Java session serialization seems to be like this: session-config ... serialization-typejava/serialization-type /session-config Mattias Mattias Jiderhamn wrote (2009-10-14 08:55

[Resin-interest] Potential class loader leaks

2009-12-10 Thread Mattias Jiderhamn
So I've spent another day hunting that lo(ooo)ng standing PermGen memory leak in our application and/or Resin. I made a new discovery which shouldn't be an issue, but could potentially fix problems. From my investigation it seems that whenever the application is reloaded, a reference to the

Re: [Resin-interest] Potential class loader leaks

2009-12-10 Thread Mattias Jiderhamn
Scott Ferguson wrote (2009-12-11 00:23): Mattias Jiderhamn wrote: So I've spent another day hunting that lo(ooo)ng standing PermGen memory leak in our application and/or Resin. I made a new discovery which shouldn't be an issue, but could potentially fix problems. From my investigation

Re: [Resin-interest] Potential class loader leaks

2009-12-11 Thread Mattias Jiderhamn
Mattias Jiderhamn wrote (2009-12-11 08:34): I should mention though, that there is still a minimum of two EnvironmentClassLoaders for the given application after reloading at least once. The former one seem to stick around somehow. We have discussed this before, Scott; how references are kept

Re: [Resin-interest] Potential class loader leaks

2009-12-14 Thread Mattias Jiderhamn
Scott, can you tell me whether you've been able to reproduce this scenario? /Mattias Mattias Jiderhamn wrote (2009-12-11 08:34): Scott Ferguson wrote (2009-12-11 00:23): Mattias Jiderhamn wrote: So I've spent another day hunting that lo(ooo)ng standing PermGen memory leak in our

[Resin-interest] Lots of Connection reset

2009-12-16 Thread Mattias Jiderhamn
We are seeing a lot of Connection reset with Hessian since the upgrade of our production environment to 4.0.2 (both client and server). Would this be related to the problems already reported against 4.0.2 and thus fixed in the snapshot? Caused by: com.caucho.hessian.io.HessianFieldException:

Re: [Resin-interest] Lots of Connection reset

2009-12-16 Thread Mattias Jiderhamn
Nope - standalone Resin. /Mattias Wesley Wu wrote (2009-12-16 11:10): If u'r using apache or other web server backended by resin instead of running resin standalone, I think the 1202 snapshot should fix this issue. 2009/12/16 Mattias Jiderhamn mj-li...@expertsystems.se: We are seeing

Re: [Resin-interest] Resin License Question

2009-12-16 Thread Mattias Jiderhamn
One theory is that it is the last date you may purchase a renewal, before you have to buy a new license? /Mattias Rob Lockstone wrote (2009-12-15 22:18): I see in our resin license file a version-expire-date tag and an expire-date tag. The version-expire-date tag corresponds to the date

Re: [Resin-interest] Lots of Connection reset

2010-01-08 Thread Mattias Jiderhamn
-16 15:56): Mattias Jiderhamn wrote: Nope - standalone Resin. It would be a different issue. This looks like a timeout issue, while the previous one was a protocol problem. On the server side, are you seeing any timeout of that connection? Or does changing the socket-timeout avoid

Re: [Resin-interest] Lots of Connection reset

2010-01-13 Thread Mattias Jiderhamn
environment. (There is a 200 status in the server log regardless of the result on the client and the size of the response is about 200 kB) /Mattias Mattias Jiderhamn wrote (2010-01-08 21:24): I was able to see the error myself today. It occurs within 3 seconds from the Hessian call, so I doubt

  1   2   >