Re: [Resin-interest] Resin service threads!

2006-09-29 Thread Bill Au
On RHEL4, you need to use the -L option of ps to see threads: ps -AL BillOn 9/29/06, Swaminathan Subramanian [EMAIL PROTECTED] wrote: Hello!I am running Resin 3.0 on Linux (RHE 4). My resin.conffor threads is as follows:thread-pool!-- Maximum number of threads.--thread-max500/thread-max !--

Re: [Resin-interest] Deadlocks Part 2

2006-10-13 Thread Bill Au
A thread dump is a snap shot of the JVM at a particular moment in time. I find it useful to take consective thread dumps about 5 seconds apart. That gives a moving picture of the JVM. You may want to vary the number of dumps or the time apart. The thing to look for is how long are the threads

Re: [Resin-interest] default servlet mapping

2007-03-08 Thread Bill Au
You need a servlet block to define a servlet with the name default. This should come before servlet-mapping servlet servlet-namedefault/servlet-name servlet-class_package.classname_/servlet-class /servlet Take a look at the DirectoryServlet in resin.conf as an example. Bill On 3/8/07,

Re: [Resin-interest] Too many open files

2007-03-15 Thread Bill Au
You can also use the lsof command to find out what is being opened. Network connections count as open files too. Bill On 3/15/07, sksamuel [EMAIL PROTECTED] wrote: I'm assuming this is on Linux or something else that's Unixy. You can find out what your limit for open files is by typing

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Bill Au
I ended up writing my own authenticator extending Caucho's AbstractAuthenticator because I need to use ldaps and need some custom functionality. Things should work if the default PROVIDER_URL is good for you (ie ldap://localhost:389). Bill On 5/3/07, Riccardo Cohen [EMAIL PROTECTED] wrote: Hi

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Bill Au
find this ? Bill Au wrote: I ended up writing my own authenticator extending Caucho's AbstractAuthenticator because I need to use ldaps and need some custom functionality. Things should work if the default PROVIDER_URL is good for you (ie ldap://localhost:389). Bill On 5/3/07, *Riccardo

Re: [Resin-interest] XML View Question

2007-05-09 Thread Bill Au
Here is the link to an article on SDN on trimDirectiveWhitespaces: http://java.sun.com/developer/technicalArticles/J2EE/jsp_21/ Please be aware that with trimDirectiveWhitespaces enabled, all whitespaces between two JSP tag are removed. So something like: c:out value=Hello/ c:out value=World/

Re: [Resin-interest] clearing cache manually or in code

2007-05-31 Thread Bill Au
In 3.0.x, the server mbean has a clearCache() and a clearCacheByPattern(host, url) method in com.caucho.server.resin.mbean.ServletServerMBean. The name of the mbean should be resin:type=Server,name=default Bill On 5/31/07, Bernard Bernstein [EMAIL PROTECTED] wrote: We are using the Resin

Re: [Resin-interest] ssl port

2007-06-01 Thread Bill Au
With the SSL port set up in Resin, relative redirect on a https request should go to the SSL port. Is that not the case? Bill On 6/1/07, Michael Fortin [EMAIL PROTECTED] wrote: Hello, We have our servers setup behind a load balancer and the load balancer does all the encryption for ssl.

Re: [Resin-interest] ssl port

2007-06-01 Thread Bill Au
. Thanks again, Michael Bill Au wrote: With the SSL port set up in Resin, relative redirect on a https request should go to the SSL port. Is that not the case? Bill On 6/1/07, *Michael Fortin * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello, We have our servers setup

Re: [Resin-interest] importing java.io, java.util packages in JSPs

2007-06-27 Thread Bill Au
We actually bite the bullet and fixed all our JSPs when we migrated from WebLogic to Resin. The version of WebLogic we were using allow us to do things like: %@ page import= java.util.*; import java.net.URL, java.io.* % which is clearly not JSP spec compliant. We decided to make all

Re: [Resin-interest] web.xml for resin 3.0.23/servlet 2.4: access-log is an unexpected tag

2007-09-27 Thread Bill Au
access-log is an Resin extension to web.xml so try this: web-app xmlns=http://caucho.com/ns/resin; ... /web-app Bill On 9/26/07, Kimberly Nicholls [EMAIL PROTECTED] wrote: I am having trouble upgrading my web.xml to use servlet 2.4 instead of 2.3. I removed the doctype, and added the

Re: [Resin-interest] Managing separate watchdog processes in 3.1.5

2008-03-11 Thread Bill Au
for the sites themselves. Bill Au wrote: watchdog-port http://www.caucho.com/resin/doc/resin-watchdog.xtp I also want to run multiple independent instances on the same machine. Scott and company, I think it will be useful to include an example of that in the resin 3.1 documentation

Re: [Resin-interest] How to remove new line preamble in JSP

2008-06-05 Thread Bill Au
Resin does support the trimDirectiveWhitespaces configuration parameter which is defined in the JSP 2.1 specifications. http://java.sun.com/developer/technicalArticles/J2EE/jsp_21/ Bill On Wed, Jun 4, 2008 at 6:05 AM, bisoa [EMAIL PROTECTED] wrote: It seems like I have to code without white

Re: [Resin-interest] Need expert to help with JVM troubleshooting

2008-07-10 Thread Bill Au
Take some thread dumps when your CPU utilization is high too see whats' going on inside that JVM during that time. Bill On Thu, Jul 10, 2008 at 4:57 PM, Adam Allgaier [EMAIL PROTECTED] wrote: We're having stability issues with our app running on Resin, characterized by climbing memory usage,

Re: [Resin-interest] Resin Pro licencing and support

2008-09-09 Thread Bill Au
With the pro license, you get better performance from both resin and quercus. Bill On Thu, Sep 4, 2008 at 12:52 PM, Rob Lockstone [EMAIL PROTECTED] wrote: We have a 100 Server Pro license and are very happy with it. Back in the day, there was no Pro version (as I recall). But as Resin has

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

2009-01-09 Thread Bill Au
I trick that I use to trouble shoot perm gen memory leak involves using jconsole and , jmap, and jhat. I would attach to resin with jconsole, then reload the webapp a few times to trigger the perm gen leak. That I will stop the webapp completely, and then go to the memory tab to trigger some

Re: [Resin-interest] Resin 4.0.0 release

2009-05-07 Thread Bill Au
I just noticed that the status for JSR313 is now listed as Withdrawn. What implication does that have on a stable release of 4.0? Bill On Thu, May 7, 2009 at 12:02 PM, Scott Ferguson f...@caucho.com wrote: We've just released Resin 4.0.0 for download at http://caucho.com/download . Resin

Re: [Resin-interest] Classpath Question

2010-03-22 Thread Bill Au
The command line arguments for starting Resin 4.0.x only applied to the watchdog and NOT the actual resin process itself. JVM command line arguments are specified in resin.xml. For example, in the command above, $JAVA_MX and $JAVA_MS applies to the watchdog only. I wouldn't increase the default

Re: [Resin-interest] Resin-Pro-4.0.5 Admin

2010-03-24 Thread Bill Au
It is part of resin 4.x. Make sure you have the following in your resin.xml: web-app id=/resin-admin root-directory=${resin.root}/doc/admin prologue resin:set var=resin_admin_external value=false/ resin:set var=resin_admin_insecure value=true/ /prologue

Re: [Resin-interest] Caucho website security heads up

2010-04-14 Thread Bill Au
Please update the admin PDF found on the download page as part of the documentation rework. Thanks. Bill On Wed, Apr 14, 2010 at 12:39 PM, Scott Ferguson f...@caucho.com wrote: Stargazer wrote: http://caucho.com/resin-4.0/admin/security.xtp is mighty secure indeed! Thought you guys would

[Resin-interest] Resin 4.0.x doc/config

2010-04-16 Thread Bill Au
In addition to admin and resin-doc, I noticed that there is also a config webapp under doc. Anyone knows what that is for? Bill ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] Resin 4.0.x doc/config

2010-04-16 Thread Bill Au
PM, Emil Ong e...@caucho.com wrote: Hi Bill, I don't see that app. What's in it? Do you see a directory or an MBean or something else that refers to it? Thanks, Emil On Fri, Apr 16, 2010 at 11:26:28AM -0400, Bill Au wrote: In addition to admin and resin-doc, I noticed that there is also

[Resin-interest] resin 4.0.11

2010-10-06 Thread Bill Au
I just noticed that the tar balls for resin 4.0.11 is available in Caucho's download area but the download page still show 4.0.10 as the latest. Is that just a case of the download page being outdated? Are the 4.0.11 tar balls official releases? Bill

Re: [Resin-interest] Resin 4.0.14+ slow to boot

2011-03-07 Thread Bill Au
Soctt, Assuming this fix will be in 4.0.16, how soon will that be released? We are looking to upgrade to Resin 4. I would not want to have to do the upgrade in 2 steps (first to 4.0.15, and then to 4.0.16 with this fix). How long is the startup delay anyway? Bill On Wed, Mar 2, 2011 at

[Resin-interest] Resin Pro 4.0.16

2011-03-22 Thread Bill Au
Just saw that 4.0.16 is now available in the download area. I took a quick look at Resin Pro 4.0.16. It looks like the old doc directory is now installed at resin-doc. From Makefile: mkdir -p $(resin_root)/resin-doc; \ cp -r $(CP_U_FLAG) doc/*

Re: [Resin-interest] 4.0.21 release

2011-08-24 Thread Bill Au
How soon can we expect 4.0.22? I am wondering if I should want for that or go with 4.0.21 for the time being. We just got hit by bug 4701 again. I want to pick for the fix for that which is in 4.0.21 but I don't want the solution to be worse than the problem itself. How wide-reaching is bug

Re: [Resin-interest] [4.0.25] tremendously increases my server load when starts-up

2012-02-06 Thread Bill Au
Scott, What would trigger the JVM bug having to do with the IP addresses? I want to make sure that I am not affected before I upgrade. What version of JVM does that affect? Bill On Mon, Feb 6, 2012 at 11:34 AM, Scott Ferguson f...@caucho.com wrote: ** Can you try the snapshot

Re: [Resin-interest] Out of PermGen space

2012-04-24 Thread Bill Au
Out of PermGen space is almost always caused by a classloader leak which occurs when a webapp is reloaded. It could be caused by either your own code, third-party code, or in some case Java core classes. You need to take heap dumps before and after webapp reload and use a heap analyzer to see

Re: [Resin-interest] Out of PermGen space

2012-04-26 Thread Bill Au
If it is not a leak (classes are being cleaned up upon webapp reload but a large number is being created), simply increase max perm size. Bill On Wed, Apr 25, 2012 at 11:47 PM, Matt White mwh...@leporidae.net wrote: On 4/24/2012 5:13 PM, Bill Au wrote: Wow, something I'm actually qualified

Re: [Resin-interest] Old files not removed at redeploy

2012-09-12 Thread Bill Au
This has been fixed in 4.0.31: http://bugs.caucho.com/view.php?id=5193 As a temporary work-around, you can remove expand-preserve-fileset=WEB-INF/work/** from your resin.xml. But that will remove all compiled JSP causing them to be recompiled even if they have not changed in the new war. Bill