[Resin-interest] 3.2.1 installed, getting NoSuchMethodError errors in my webapp

2009-03-13 Thread Rick Mann
Hi. I've been setting up a new server, and I decided to go with resin 3.2.1. It seemed to install and run fine, but when I added my webapp, I'm getting a series of odd errors. [03-12 21:42:39.149] {http--8080-3} Caused by: org.springframework.beans.factory.BeanCreationException: Error

[Resin-interest] Troubleshooting class load issues

2009-03-13 Thread Rick Mann
Hi. I recently installed 3.2.1 on a new machine, and I'm having issues with my webapp. While I don't get class load errors, I do get NoSuchMethod errors. This webapp works on two different platforms with 3.0.x and 3.1.x versions of Resin, but not on NexentaOS with 3.2.1. I tried turning up

Re: [Resin-interest] SOLVED 3.2.1 installed, getting NoSuchMethodError errors in my webapp

2009-03-14 Thread Rick Mann
went away. What I don't understand is why it worked just fine in two other installations, running the exact same deployment (of the webapp). On Mar 12, 2009, at 23:06:58, Rick Mann wrote: Hi. I've been setting up a new server, and I decided to go with resin 3.2.1. It seemed to install

[Resin-interest] Can't start resin on port 80, but 8080 okay (as root)

2009-03-18 Thread Rick Mann
Resin-3.2.1 (built Fri, 17 Oct 2008 04:11:01 PDT) I can't seem to run resin on port 80. I can run it on 8080 just fine, but when I change the config file to 80, I get: Can't use JNI to listen to port '0.0.0.0:80' because JNI support has not been compiled I'm launching it as root, but I've

Re: [Resin-interest] Can't start resin on port 80, but 8080 okay (as root)

2009-03-18 Thread Rick Mann
, with out some tricks. That's probably your situation since it works fine on port 8080 but not port 80. If you comment out the user-name section and run it as root, it works fine on port 80? Aaron Rick Mann wrote: Resin-3.2.1 (built Fri, 17 Oct 2008 04:11:01 PDT) I can't seem to run resin

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

2009-03-25 Thread Rick Mann
I'm glad to see there's someone else with these problems. I've had problems with leaks since 3.0. I rely on resin to re-load my webapp every time I rebuild a class, and it will do that a few times before getting a PermGen exception, at which point I have to kill and restart resin. I'm on

[Resin-interest] Docs for resin:message

2009-03-29 Thread Rick Mann
I can't find documentation for this tag anywhere on the caucho site. There is one example, that doesn't show anything. I want to find a way to set the severity of the message. -- Rick ___ resin-interest mailing list resin-interest@caucho.com

[Resin-interest] resin-admin in 3.2.1. Pro feature only?

2009-03-29 Thread Rick Mann
Hi. When I first installed resin on my new machine, I could swear I had access to resin-admin. Now, it just gives me 404 errors. Near as I can tell it's configured. Should I be able to access it (resin open-source). TIA, -- Rick ___

[Resin-interest] 3.2.1 on Mac OS X/Darwin?

2009-03-29 Thread Rick Mann
Hi. I tried to configure and make resin-3.2.1 on Mac OX X 10.5.6, but got some link errors. Is this known to build? gcc -bundle -undefined suppress -flat_namespace -L/usr/lib - framework JavaVM -o libresin_os.jnilib boot.o java.o jni_os.o jni_jvmti.o jni_jvmdi.o jni_socket.o memory.o

Re: [Resin-interest] 3.2.1 on Mac OS X/Darwin?

2009-03-30 Thread Rick Mann
On Mar 29, 2009, at 16:34:27, Riccardo Cohen wrote: I compiled the pro and open source version of resin321 on macos 10.5.6 last week and it worked with no problem on java 1.5 Any reason to use java 1.6 ? I tried switching back to Java 1.5, and continue to get the same errors. I wonder

[Resin-interest] Debugging 404 errors

2009-04-01 Thread Rick Mann
I just can't seem to get a handle on my resin installations. All sorts of wacky problems that differ by which machine I have installed. At this point, I have two installations, one on Nexenta OS (OpenSolaris) and one on Mac OS X. Resin 3.2.1 I have the resin-admin app configured like this:

Re: [Resin-interest] Recompilation of jsp on every request for the same page

2009-04-01 Thread Rick Mann
I think I'm seeing the same thing. I made a small test.jsp to load, and its class files (in the work dir) update every request. Here is the relevant log info. The complaint about the remote URI http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd repeats 10 times, then there's a bit

[Resin-interest] Tag library issues

2009-04-01 Thread Rick Mann
In trying to diagnose performance issues, I noticed some issues with my use of custom JSP tags. I have a set of tags defined in JSPs in WEB-INF/tags. I reference them in my JSP with %@ taglib prefix=lz tagdir=/WEB-INF/tags% But I see this in the logs: [04-01 16:43:35.113] {http--80-0}

[Resin-interest] Whence cometh web-jsptaglibrary_1_1.dtd?

2009-04-01 Thread Rick Mann
I'm seeing this error in the logs when resin 3.2.1 is first started and a .jsp is fetched. [19:36:57.249] FINER com.caucho.xml.AbstractParser com.caucho.xml.RemoteURLException: URL `http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd' was not opened because it is a remote URL. Any

[Resin-interest] Why is resin class loading so broken?

2009-04-18 Thread Rick Mann
I've asked this (and related) question several times and gotten no answer. I can't figure out why, between 3.0.x, 3.1.x, and 3.2.x, resin class loading seems so broken. My webapp has a hierarchical WEB-INF/ lib directory, and I have tree loaders configured. But it can't find classes I know

Re: [Resin-interest] Why is resin class loading so broken?

2009-04-18 Thread Rick Mann
I may have whined too soon. I think I found the problem...it wasn't picking up my modified app-defaults.xml. I've asked this (and related) question several times and gotten no answer. I can't figure out why, between 3.0.x, 3.1.x, and 3.2.x, resin class loading seems so broken. My

[Resin-interest] Updating Hessian in Resin 4.0 deployments

2009-06-17 Thread Rick Mann
If I download/build a separate Hessian library and drop it into my WEB- INF/lib directory, will it get used instead of the one built-in to Resin? TIA, -- Rick ___ resin-interest mailing list resin-interest@caucho.com

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

2009-06-17 Thread Rick Mann
On Jun 17, 2009, at 13:58:29, Scott Ferguson wrote: On Jun 17, 2009, at 1:48 PM, Rick Mann wrote: If I download/build a separate Hessian library and drop it into my WEB- INF/lib directory, will it get used instead of the one built-in to Resin? No, you need to put the replacement

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

2009-06-17 Thread Rick Mann
On Jun 17, 2009, at 15:16:19, Scott Ferguson wrote: You should be able to just download the source and use ant. I think we cleared up the dependencies (with the exception of 'ant dist'). Oh hey! Look at that! It seemed to work. I'll try actually running it later ;-) -- Rick

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

2009-06-18 Thread Rick Mann
On Jun 17, 2009, at 23:57:55, Mattias Jiderhamn wrote: 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!?

[Resin-interest] Okay, seriously, WTF is up with this?

2009-06-23 Thread Rick Mann
I run resin 4.0 on a Mac with Java 6. I build my app here, and then I rsync it to resin running on an OpenSolaris machine also running Java 6. More often than not, I end up with weird Java link issues, like NoSuchMethodError or AbstractMethodError. I've written about this before but never

Re: [Resin-interest] Okay, seriously, WTF is up with this?

2009-06-23 Thread Rick Mann
: org.springframework.util.ReflectionUtils.makeAccessible(Ljava/lang/ reflect/Constructor;)V On Jun 23, 2009, at 10:44:21, Serge Knystautas wrote: Rick Mann wrote: I run resin 4.0 on a Mac with Java 6. I build my app here, and then I rsync it to resin running on an OpenSolaris machine also running Java 6. More often than not, I

Re: [Resin-interest] Okay, seriously, WTF is up with this?

2009-06-23 Thread Rick Mann
, but it certainly didn't exist in Spring 2.0. so, my guess is that you're building your app against spring 2.5 (or so) but running it against an earlier version. check for stale spring libraries in the runtime app server. On Jun 23, 2009, at 7:59 AM, Rick Mann wrote: Serge, thanks for the reply

Re: [Resin-interest] Okay, seriously, WTF is up with this?

2009-06-23 Thread Rick Mann
is that you're building your app against spring 2.5 (or so) but running it against an earlier version. check for stale spring libraries in the runtime app server. On Jun 23, 2009, at 7:59 AM, Rick Mann wrote: Serge, thanks for the reply. Unfortunately, it doesn't appear to be the Mac's fault: I

Re: [Resin-interest] Resin 3.2.1 can't find my taglib dir?

2009-06-23 Thread Rick Mann
(com.caucho.java.InternalCompiler) [06-23 16:24:36.741] {http--8080-5} FINE (com.caucho.java.JavaCompiler) merging .smap for _missionList__jsp.class Is this a concern? I certainly don't want to be recompiling my page each and every time it's requested. TIA On Jun 23, 2009, at 16:12:48, Rick Mann wrote

[Resin-interest] Why does 4.0 on port 80 result in JNI errors, while port 8080 is okay?

2009-06-23 Thread Rick Mann
I've installed Resin Open Source 4.0 as per the instructions here: http://caucho.com/resin/doc/starting.xtp It seems to launch fine on port 8080 (after fixing some directory permissions), but when I change that to port 80, it complains about JNI: Jun 23, 2009 6:58:10 PM

[Resin-interest] Sometimes resin can find jdbc driver in webapp, other times no. What gives?

2009-06-24 Thread Rick Mann
It seems to me that resin ought to be able to find the MySQL JDBC driver when the jar is loaded from WEB-INF/lib, rather than requiring it to be installed in resin's lib. Is there a way to see when each specific jar gets loaded, so I can sort of verify that resin should have access to it or

Re: [Resin-interest] SOLVED: Sometimes resin can find jdbc driver in webapp, other times no. What gives?

2009-06-24 Thread Rick Mann
, at 3:05 PM, Rick Mann wrote: It seems to me that resin ought to be able to find the MySQL JDBC driver when the jar is loaded from WEB-INF/lib, rather than requiring it to be installed in resin's lib. Is there a way to see when each specific jar gets loaded, so I can sort of verify that resin

[Resin-interest] Bug in 4.0.0: JSP tags cause page to recompile every time.

2009-06-24 Thread Rick Mann
I've got a fairly straightforward page that includes these lines: %@ taglib prefix=lz tagdir=/WEB-INF/tags/lz % . . . head titleMy Page/title lz:base/ . . . /head . . . In resin 4.0.0, the presence of the lz:base/ tag triggers some work on Resin's part that results in recompiling

Re: [Resin-interest] Bug in 4.0.0: JSP tags cause page to recompile every time.

2009-06-24 Thread Rick Mann
Slight clarification: the tag isn't getting recompiled, just the page that calls it. On Jun 24, 2009, at 18:57:57, Rick Mann wrote: I've got a fairly straightforward page that includes these lines: %@ taglib prefix=lz tagdir=/WEB-INF/tags/lz % . . . head titleMy Page/title

Re: [Resin-interest] Bug in 4.0.0: JSP tags cause page to recompile every time.

2009-06-24 Thread Rick Mann
I found a partial solution: I added this line to app-default.xml: compiling-loader path=WEB-INF/work/ It seems to me resin ought to implicitly add the work-dir, wherever it happens to be, but now the class loader can find the classes. On Jun 24, 2009, at 19:06:10, Rick Mann wrote

[Resin-interest] Serious performance issue in 4.0

2009-06-25 Thread Rick Mann
So, to follow up on my earlier post: Use of JSP-2.0 style tag definitions causes the calling page to get recompiled each and every time it's called. Adding a simple-loader to point to WEB-INF/root fixes this, because it avoids the ClassNotFoundException resin gets when attempting to load

[Resin-interest] bugs.caucho.com down?

2009-06-25 Thread Rick Mann
As of this writing, it seems to be. Connection refused. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] bugs.caucho.com down?

2009-06-25 Thread Rick Mann
Ah bummer. Thanks for the quick reply. Do bug reports on this list get noticed? On Jun 25, 2009, at 19:14:02, Alex wrote: Yep, it's currently down – hardware failure at our provider's. We had been promised a fix soon. Thanks, --Alex On 25-Jun-09, at 6:58 PM, Rick Mann wrote

Re: [Resin-interest] Any response to bug 0003578?

2009-07-20 Thread Rick Mann
On Jul 15, 2009, at 14:20:00, Scott Ferguson wrote: On Jul 14, 2009, at 3:48 PM, Rick Mann wrote: Hi, I've reported to this list, and to mantis, a serious problem I'm seeing with 4.0.0. I've been hoping for some kind of acknowledgement, ideally a fix. I seem to have to choose between

[Resin-interest] Resin 4 snapshot this week?

2009-07-23 Thread Rick Mann
Hey, Scott, are we going to see that snapshot this week with the fixes to the JSP-recompile bug? TIA! -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

[Resin-interest] Can't seem to get character encoding right.

2009-07-28 Thread Rick Mann
I'm running Resin 4.0 on Mac OS X. I have a .jsp file encoded as UTF-8, and I pass -Dfile.encoding=utf-8 to the jvm. At the top of my JSPs, I have %@ page contentType=application/xhtml+xml; charset=UTF-8% I've verified that the JSP thinks the request and response encodings are UTF-8 with:

Re: [Resin-interest] Can't seem to get character encoding right.

2009-07-29 Thread Rick Mann
in the .jsp, not in the .html. I figure at some point a conversion is happening where something is having the wrong encoding applied. Any suggestions? On Jul 28, 2009, at 18:19:24, Rick Mann wrote: I'm running Resin 4.0 on Mac OS X. I have a .jsp file encoded as UTF-8, and I pass -Dfile.encoding

Re: [Resin-interest] Can't seem to get character encoding right.

2009-07-29 Thread Rick Mann
] | text/html ; charset=ISO-8859-1 ] [ isErrorPage=true|false ] [ pageEncoding=characterSet |ISO-8859-1 ] % On Wed, Jul 29, 2009 at 14:06, Rick Mann rm...@latencyzero.com wrote: So, I created two dirt-simple files, identical in content, one ending in .jsp, one ending in .html. I have

Re: [Resin-interest] Can't seem to get character encoding right.

2009-07-29 Thread Rick Mann
. -- Scott On Jul 29, 2009, at 2:27 PM, Rick Mann wrote: Gah! Thank you! I feel like I should've known this, or did know it once upon a time and just forgot. On Jul 29, 2009, at 14:23:03, Knut Forkalsrud wrote: Try adding either of these: %@ page pageEncoding=ISO-8859-1 % %@ page

Re: [Resin-interest] Can't seem to get character encoding right.

2009-07-29 Thread Rick Mann
Oh! I just needed to touch the .jsp page so it would recompile. On Jul 29, 2009, at 14:52:41, Rick Mann wrote: Are you saying that by only setting the content type, it should've also set the page encoding? For sure, that wasn't happening. Also, I'm trying to set the page encoding via

[Resin-interest] Limit data rate?

2009-08-22 Thread Rick Mann
Is there any way to configure resin to limit the rate at which it will send bits per resource? I have bandwidth limits on my server, and would be interested in slowing down the downloads of files (but not necessarily servlets). TIA, Rick ___

Re: [Resin-interest] Limit data rate?

2009-08-23 Thread Rick Mann
, Rick Mann rm...@latencyzero.com wrote: Is there any way to configure resin to limit the rate at which it will send bits per resource? I have bandwidth limits on my server, and would be interested in slowing down the downloads of files (but not necessarily servlets). TIA, Rick

Re: [Resin-interest] character encoding

2009-09-23 Thread Rick Mann
In a JSP? %@ page pageEncoding=UTF-8 % On Sep 23, 2009, at 12:14:35, Rom Sok wrote: Hi, Is there a way to force URI CHARACTER encoding to UTF-8? Thanks ___ resin-interest mailing list resin-interest@caucho.com

[Resin-interest] URGENT help! I can't get 4.0.5 configured

2010-03-17 Thread Rick Mann
In an effort to upgrade my server from 3.0.23 to 4.0.5, I screwed something up with the 3.0.23 installation, forcing me to complete the move to 4.0.5 right now. However, despite my best efforts, I get this error when I try to load one of the configured hosts: java.lang.NoClassDefFoundError:

Re: [Resin-interest] URGENT help! I can't get 4.0.5 configured

2010-03-17 Thread Rick Mann
(ClassLoader.java:319) ... 30 more On Mar 17, 2010, at 17:04:46, Rick Mann wrote: In an effort to upgrade my server from 3.0.23 to 4.0.5, I screwed something up with the 3.0.23 installation, forcing me to complete the move to 4.0.5 right now. However, despite my best

[Resin-interest] SOLVED (at least for now) I can't get 4.0.5 configured

2010-03-17 Thread Rick Mann
Yep, that was it. Sorry for the noise. On Mar 17, 2010, at 17:10:33, Rick Mann wrote: I lied. There's a bit more info. I'm trying deleting the work dir and restarting: [03/17 17:07:29.441] WARNING com.caucho.jsp.JspManager compile java.lang.NoClassDefFoundError: com/caucho/make

[Resin-interest] Expanding on errors

2010-03-17 Thread Rick Mann
I'm getting this error: [03/17 17:13:34.577] WARNING com.caucho.server.webapp.ErrorPageManager sendServletErrorImpl /home1/rmann/www/org/roderickmann/comics/WEB-INF/work/_jsp/_index__jsp.java (Permission denied) But it's not clear to me why. the work dir is owned by www:www, and the user

[Resin-interest] Resin and permissions

2010-03-17 Thread Rick Mann
I'm having a hard time getting resin (any version, but specifically 4.0.5) to behave in various modes. I'd like to use user www and group www. Resin is sometimes launched by the OS, and sometimes by me with sudo. However, I can't use console mode with a user group specified in the config file

[Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
Hi. My new insatll of 4.0.5 is running very badly. My server is basically unloaded, except for the requests I make, but connections are constantly dropped. I was running 3.0.23 without any real problems before this. Also, I don't see anything in any of the logs when this happens. Any

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
. The verbose GC output seems reasonable. Every few seconds, a line like this. I'm pretty sure my app(s) aren't leaking, since they've run for months before under 3.0.23: [GC 41277K-35464K(63664K), 0.0226660 secs] Sigh. On Mar 18, 2010, at 00:47:39, Rick Mann wrote: Hi. My new insatll of 4.0.5

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
Thanks for getting back to me, Scott! Responses below On Mar 18, 2010, at 12:37:21, Scott Ferguson wrote: Rick Mann wrote: My 4.0.5 install is really very slow. It just won't stay running (although ps shows many resin threads), and it's much, much slower than 3.0.23 was. I'm actually

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
I replied with the thread dump, but don't see it appearing in the list. Seems like the list server is flaky. On Mar 18, 2010, at 14:37:25, Scott Ferguson wrote: Rick Mann wrote: Slower is subjective. Unfortunately, I can't currently run the old server to actually measure times, but it's

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
Hmm, I can't seem to post longer email to the list. Here's a link to my last post: http://pastie.org/private/2c4lrjuj4oybdtzmj4gbzw On Mar 18, 2010, at 15:33:08, Rick Mann wrote: I replied with the thread dump, but don't see it appearing in the list. Seems like the list server is flaky

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
On Mar 18, 2010, at 16:30:02, Scott Ferguson wrote: That trace looks normal, assuming the *.216 and *.217 are your two HTTP ports. I assume that's the connection-refused state? Each one has several threads in the nativeAccept() state. The situation that would be a problem is if there are

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
On Mar 18, 2010, at 16:30:02, Scott Ferguson wrote: And it may be better to set the thread-idle-max for your older OS to something smaller, like 10 or 15, because that OS may not be as good with lots of threads. thread-idle-max10/ seems to have no effect on the overall stability. --

[Resin-interest] configure not finding 64-bit java

2010-03-18 Thread Rick Mann
Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris box. SunOS -- 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris However, when preparing to install resin 4.0.5 on it, I notice the configure script didn't find 64-bit java. However: $ java -version java version

Re: [Resin-interest] configure not finding 64-bit java

2010-03-18 Thread Rick Mann
Ah! Thank you! On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: Add --enable-64bit when calling ./configure. -tyson On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann rm...@latencyzero.com wrote: Hi. I'm pretty sure I have a 64-bit java running on my Nxenta/Open Solaris box. SunOS

Re: [Resin-interest] configure not finding 64-bit java

2010-03-18 Thread Rick Mann
Hmm, configure still reports checking if Java is 64-bit... no On Mar 18, 2010, at 20:40:38, Tyson Weihs wrote: Add --enable-64bit when calling ./configure. -tyson On Thu, Mar 18, 2010 at 10:33 PM, Rick Mann rm...@latencyzero.com wrote: Hi. I'm pretty sure I have a 64-bit java

Re: [Resin-interest] configure not finding 64-bit java

2010-03-18 Thread Rick Mann
I only have one JDK installed. On Mar 18, 2010, at 21:32:14, Tyson Weihs wrote: Are you pointing ./configure to the right JDK installation via --with-java-home=DIR? On Thu, Mar 18, 2010 at 11:28 PM, Rick Mann rm...@latencyzero.com wrote: Hmm, configure still reports checking

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-18 Thread Rick Mann
Some additional information: I tried installing 4.0.5 on my better server (Resin-4.0.0, Nexenta/Open Solaris, recent, lots of RAM, faster CPUs), and got similar behavior. I got it up and running, noticed some oddness at first (java link errors running my app, slow page loads the first few

[Resin-interest] Qeurcus Stack Overflow (resin 4.0.0)

2010-03-19 Thread Rick Mann
Hi. Under resin 4.0.0, my Word Press installation fails with a stack overflow. The bit of PHP triggering it is the line with do {: reset( $wp_filter[ $tag ] ); do { foreach ( (array) current($wp_filter[$tag]) as $the_ ) if (

Re: [Resin-interest] Classpath Question

2010-03-19 Thread Rick Mann
I think what you want to do is add class-loader library-loader path=/opt/server/java/ /class-loader To your resin.xml. At least, that's how I do it in resin-4.0.x In 4, you can also add all those Java args in the resin.xml file (I think you can in 3.1, too, but

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-19 Thread Rick Mann
On Mar 19, 2010, at 12:40:23, Scott Ferguson wrote: Rick Mann wrote: Some additional information: I tried installing 4.0.5 on my better server (Resin-4.0.0, Nexenta/Open Solaris, recent, lots of RAM, faster CPUs), and got similar behavior. I got it up and running, noticed some oddness

Re: [Resin-interest] configure not finding 64-bit java

2010-03-19 Thread Rick Mann
On Mar 19, 2010, at 12:43:28, Scott Ferguson wrote: Rick Mann wrote: I only have one JDK installed. You can always use --enable-64bit. The configure script uses java -version to see if it's 64-bit and as you showed below, java -version is 32-bit on your machine. (And Resin's

[Resin-interest] Location of WEB-INF/work dirs?

2010-03-19 Thread Rick Mann
Is there any way to configure Resin to put the WEB-INF/work dir somewhere other than under WEB-INF? I'd like to designate a completely separate location for all the work dirs Resin creates, that I can delete with a single rm -rf, rather than having to visit a bunch of separate webapps. As a

Re: [Resin-interest] Location of WEB-INF/work dirs?

2010-03-19 Thread Rick Mann
On Mar 19, 2010, at 13:41:16, Steffen Busch wrote: 2010/3/19 Rick Mann rm...@latencyzero.com Is there any way to configure Resin to put the WEB-INF/work dir somewhere other than under WEB-INF? I'd like to designate a completely separate location for all the work dirs Resin creates

[Resin-interest] Warning building resin-4.0.4

2010-03-19 Thread Rick Mann
Just an FYI, when I make resin, I get this warning: $ uname -a SunOS foo 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris $ ./configure --prefix=/usr/local/resin/versions/resin-4.0.4 --datadir=/usr/local/resin/versions/resin-4.0.4 ... $ make ... gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS

Re: [Resin-interest] Location of WEB-INF/work dirs?

2010-03-19 Thread Rick Mann
Thanks, I'll try that out! On Mar 19, 2010, at 14:10:41, Steffen Busch wrote: 2010/3/19 Rick Mann rm...@latencyzero.com On Mar 19, 2010, at 13:41:16, Steffen Busch wrote: 2010/3/19 Rick Mann rm...@latencyzero.com Is there any way to configure Resin to put the WEB-INF/work dir

[Resin-interest] conflicting attibute warnings

2010-03-19 Thread Rick Mann
Hmm. In my latest upgrade to 4.0.4, I'm seeing a lot of these on startup: [03-19 14:56:23.566] {main} FINE (com.caucho.config.type.BeanType) BeanType[com.mysql.jdbc.ConnectionProperties]: conflicting attribute for 'pedantic' between SetterAttribute[public void

[Resin-interest] tag cast issues???

2010-03-19 Thread Rick Mann
ARghh. If it's not one thing, it's another. I'm finally 99% in place with resin-4.0.4, and suddenly I notice this stack trace, for a JSP tag defines like this: %...@tag body-content=empty %%...@attribute name=value required=true rtexprvalue=true type=java.lang.Long description=Duration value

Re: [Resin-interest] tag cast issues???

2010-03-19 Thread Rick Mann
I'm pretty sure resin is borking the Java file generation of my tag. I've written a bug with all my notes about how the cast can't work as is: http://bugs.caucho.com/bug_view_advanced_page.php?bug_id=3956 On Mar 19, 2010, at 18:32:30, Rick Mann wrote: ARghh. If it's not one thing, it's

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-03-20 Thread Rick Mann
John, did you ever find an answer to this? I'm getting it, too. On Jun 29, 2009, at 22:50:52, Jon Stevens wrote: Here is another problem. When deploying subetha on osx using the apple jdk 6, I get the stack trace below. When deplying subetha on osx using the landon fuller soylatte jdk,

[Resin-interest] Conditionalizing rewrite rules based on file/directory?

2010-03-21 Thread Rick Mann
With my WordPress installation, I need to redirect some kinds of posts to /index.php. I currently have these two rules: forward regexp=[0-9]+/.* target=/index.php/ forward regexp=^/about/? target=/index.php/ The first redirects URIs that match /year/month/post-name The second

[Resin-interest] More Quercus problems (Resin 4.0.4)

2010-03-21 Thread Rick Mann
While Resin 4.0.5 choked on this particular PHP construct everywhere, 4.0.4 chokes on it a bit differently only here (so far). Resin 4.0.5 would get a StackOverflowError trying to parse it, 4.0.4 gets this java.lang.UnsupportedOperationException. The PHP causing the error is: do {

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-03-21 Thread Rick Mann
On Sat, Mar 20, 2010 at 6:12 AM, Jon Stevens latch...@gmail.com wrote: Yes, I can't remember what the solution was. =( Sorry! jon On Sat, Mar 20, 2010 at 2:16 AM, Rick Mann rm...@latencyzero.com wrote: John, did you ever find an answer to this? I'm getting it, too. On Jun 29, 2009

Re: [Resin-interest] Resin 4.0.5 production/stable?

2010-03-22 Thread Rick Mann
I'm sure having a lot of problems with 4.0.5 that I don't have with 4.0.4 (which has different problems). I haven't been able to determine if I'm just doing something wrong, but it seems flaky, at best. On Mar 22, 2010, at 11:59:33, Aaron Freeman wrote: I just noticed that resin-pro-3.1.10 no

[Resin-interest] JSP Tag and PHP Issues, Resin 4.0.4 vs 4.0.5

2010-03-22 Thread Rick Mann
So, I have conflicting results with 4.0.4 and 4.0.5: 4.0.4 - JSP Tags don't work: http://bugs.caucho.com/view.php?id=3956 PHP errors parsing certain PHP constructs Seems to run reliably (however, can't stop server reliably, need to kill it) 4.0.5 - JSP Tags work correctly PHP parsing

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-22 Thread Rick Mann
Scott, I've opened a bug for my 4.0.5 woes, including the config file and logs from my much more modern Open Solaris machine: http://bugs.caucho.com/view.php?id=3960 On Mar 19, 2010, at 13:13:34, Rick Mann wrote: On Mar 19, 2010, at 12:40:23, Scott Ferguson wrote: Rick Mann wrote: Some

[Resin-interest] What is CanDI?

2010-03-23 Thread Rick Mann
Sorry for the lame question, but I only ever heard about CanDI from the Resin feature lists. Does CanDI replace Spring's configuration stuff? -- Rick ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-23 Thread Rick Mann
On Mar 23, 2010, at 12:10:35, Scott Ferguson wrote: Rick Mann wrote: Scott, I've opened a bug for my 4.0.5 woes, including the config file and logs from my much more modern Open Solaris machine: http://bugs.caucho.com/view.php?id=3960 Thanks for the detailed bug report. We're

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-23 Thread Rick Mann
without compiling (using Java sockets instead of the native sockets)? I am curious if you still have the issue with it uncompiled. Aaron On 3/23/2010 2:15 PM, Rick Mann wrote: On Mar 23, 2010, at 12:10:35, Scott Ferguson wrote: Rick Mann wrote: Scott, I've opened a bug

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

2010-03-24 Thread Rick Mann
On Mar 24, 2010, at 09:07:07, Aaron Freeman wrote: Since we are upgrading from pro-3.0.23 to pro-4.0.5, we thought we would take advantage of the resin-admin stuff. However the docs aren't clear on how that's supposed to happen. This page says nothing about what to install:

Re: [Resin-interest] Hibernate transactions

2010-03-26 Thread Rick Mann
Also, the link at the very bottom of that page gets a 500 error: http://www.caucho.com/resin/examples/amber-basic/index.xtp 500 Servlet Exception 'ejb3_basic_courses' is not a valid database table. Either the table needs to be created or the create-database-tables attribute must be set.

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-27 Thread Rick Mann
\ -server \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.security.egd=/dev/urandom \ -Dresin.home=${RESIN_HOME} \ -jar ${RESIN_HOME}/lib/resin.jar \ -conf ${SERVER_ROOT}/conf/resin.xml \ $* /**/ Aaron On 3/23/2010 3:50 PM, Rick Mann wrote

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-27 Thread Rick Mann
for a while, and if I can address the WordPress titles issue. On Mar 26, 2010, at 23:25:31, Rick Mann wrote: Well, it seems to be running pretty solidly like that. However, my only PHP app, WordPress, can't even find its database connection now. Moreover, I can't, no matter how much I crank up

[Resin-interest] PermGen problems installing Confluence

2010-03-28 Thread Rick Mann
I'm trying to install Confluence 3.2 on my Resin-4.0.5 setup, and it seems to go well until the step where it builds the database. Then it gets PermGen out of memory errors. I'm installing the expanded WAR, using a JDBC datasource against a MySQL database (everything else runs like this). I

Re: [Resin-interest] PermGen problems installing Confluence

2010-03-29 Thread Rick Mann
it could be an empiric measure, but in any case I'm pretty sure 256m was not enough, at least for JIRA+confluence in the same container instance. S! D. Rick Mann escribió: Thanks for the suggestion, Daniel. I did in fact try, just like that. Set it to 256m. On Mar 29, 2010, at 01:00:36

Re: [Resin-interest] PermGen problems installing Confluence

2010-03-30 Thread Rick Mann
Scott, are you guys able to run Confluence on 4.0.5? On Mar 30, 2010, at 10:13:16, Rick Mann wrote: That's a great suggestion, if only I knew how to use JConsole to do that ;-) On Mar 30, 2010, at 03:09:43, d.lo...@uib.es wrote: Doh! :) I'm sorry, I thought you meant 256m heap. Yes, 256m

Re: [Resin-interest] PermGen problems installing Confluence

2010-03-30 Thread Rick Mann
Thanks! On Mar 30, 2010, at 15:28:03, Scott Ferguson wrote: Rick Mann wrote: Scott, are you guys able to run Confluence on 4.0.5? I haven't checked. If it's just PermGen, though, you should be able to just expand it. You can look in /resin-admin in the JMX section, by the way

Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Rick Mann
Thanks! On Mar 30, 2010, at 15:25:47, Emil Ong wrote: On Tue, Mar 30, 2010 at 11:52:15AM -0700, Rick Mann wrote: Ah! Thanks. So, does that mean it's safe to leave the watchdog running, and just issue a start again? I seem to recall Resin getting mad that someone already had the port when I

[Resin-interest] Can't launch 3.0.23, missing ResinBoot

2010-04-05 Thread Rick Mann
I'm trying to resurrect my old installation of Resin, 3.0.23, but it's not launching for some reason. I can't figure out why it can't find a class it seems it should have: CLASSPATH is empty $ /usr/java/bin/java -jar /usr/local/resin/lib/resin.jar -conf /etc/resin/resin.conf -log-directory

Re: [Resin-interest] Can't launch 3.0.23, missing ResinBoot

2010-04-05 Thread Rick Mann
-0700, Rick Mann wrote: I'm trying to resurrect my old installation of Resin, 3.0.23, but it's not launching for some reason. I can't figure out why it can't find a class it seems it should have: CLASSPATH is empty $ /usr/java/bin/java -jar /usr/local/resin/lib/resin.jar -conf /etc/resin

[Resin-interest] Quercus/Resin 4.0.5 bugs

2010-04-07 Thread Rick Mann
Hi. I haven't seen anything regarding a couple of bugs I've reported in Resin 4.0.5, in any channel. This list, the Quercus list, or Mantis. The bugs are http://bugs.caucho.com/view.php?id=3958 http://bugs.caucho.com/view.php?id=3959 Is there anything I can do to get some love for these?

Re: [Resin-interest] Starting Resin 4.x on OS X using launchd

2010-04-08 Thread Rick Mann
Has there been any progress on this front? I was running resin under launchd before, but it's been broken for some time (not sure if it's because of something I did to my little launcher tool, or because I upgraded to 4.x). On Feb 17, 2010, at 16:47:13, Rob Lockstone wrote: On Feb 17, 2010,

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-04-09 Thread Rick Mann
This is with Resin 4.0.5 On Mar 22, 2010, at 12:16:42, Scott Ferguson wrote: My understanding is that this is a known issue with the Apple JDK, but it doesn't hurt anything. I finally really need to get this launching on OS X 10.6.2, and it doesn't work. I get the following over and over:

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-04-09 Thread Rick Mann
, 2010, at 23:33:13, Rick Mann wrote: This is with Resin 4.0.5 On Mar 22, 2010, at 12:16:42, Scott Ferguson wrote: My understanding is that this is a known issue with the Apple JDK, but it doesn't hurt anything. I finally really need to get this launching on OS X 10.6.2, and it doesn't

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-04-09 Thread Rick Mann
One more thing. For a while I was getting an error that it couldn't create an existing table. I tossed out the resin-data directory, and re-ran it, but now I get nothing in the logs, and it doesn't re-create the data dir. -- Rick On Apr 8, 2010, at 23:54:21, Rick Mann wrote: This also

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-04-09 Thread Rick Mann
A little more information: on a clean 10.6.3 install, with 1.6.0_17, I get the error, but it keeps on going and starts up. After upgrading to _19, it no longer starts after getting the error. -- Rick On Apr 8, 2010, at 23:56:03, Rick Mann wrote: One more thing. For a while I was getting

[Resin-interest] Anyone running 4.0.5 on Java 1.6.0_19 on Snow Leopard?

2010-04-09 Thread Rick Mann
I was able to run it on _17, but on _19, it just restarts partway through launch. Never logs anything. Two different 10.6.3 machines. Anyone successfully running on _19? TIA, Rick ___ resin-interest mailing list resin-interest@caucho.com

  1   2   3   >