[Resin-interest] Fwd: regexp and security-contraints?
I'm trying this on 3.1.8 but not having any luck: I've also tried variations with: http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] reverse proxy support like ProxyPass in apache?
Does anyknow know if Resin 3.1 has any kind of reverse proxy support similar to the ProxyPass options in Apache? We are exploring whether Resin could be the font-end web server for our application instead of Apache - mostly due to issues we are having with mod_caucho communications. Ryan -- NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. Nothing contained in this message or in any attachment shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Re sin And Groovy
I do, but I compile all my groovy code into classes with Ant and embed them in our .war file deployment (We're mostly Java). I haven't tried to run groovy scripts directly like you mention - I believe I did get a demo of grails going at one point, but it was probably 3.1.3. Ryan - Original Message - From: "bumzee" <[EMAIL PROTECTED]> To: resin-interest@caucho.com Sent: Tuesday, October 14, 2008 11:15:12 AM GMT -06:00 US/Canada Central Subject: [Resin-interest] Re sin And Groovy Is anyone successfully using Groovy with Resin ? What does your resin.conf look like ? This is on the resin website, but it doesn't work for me in 3.1.5. When it gets to a groovy file the compilation just stops or times out. resin.conf -- View this message in context: http://www.nabble.com/Resin-And-Groovy-tp19976910p19976910.html Sent from the Resin mailing list archive at Nabble.com. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] jvm-classpath element
> You'll need to upgrade to 3.1.6 for that feature. It looks like the > docs didn't specify the version that tag was added. > > -- Scott So there is no way to add a directory to the jvm classpath in 3.1.2? I see how to add jars using tree-loader, simple-loader, etc..., but no way to add a directory. So I tried using Resin 3.1.6 Pro, and on start I get this exception: [17:50:06.498]java.net.ConnectException: http://127.0.0.1:6700/watchdog: Connection refused [17:50:06.498] at com.caucho.server.hmux.HmuxStream.createStream(HmuxStream.java:202) [17:50:06.498] at com.caucho.server.hmux.HmuxStream.openReadWrite(HmuxStream.java:149) [17:50:06.498] at com.caucho.server.hmux.HmuxPath.openReadWriteImpl(HmuxPath.java:462) [17:50:06.498] at com.caucho.vfs.Path.openReadWrite(Path.java:1089) [17:50:06.498] at com.caucho.server.admin.HessianHmuxProxy.sendRequest(HessianHmuxProxy.java:140) [17:50:06.498] at com.caucho.server.admin.HessianHmuxProxy.invoke(HessianHmuxProxy.java:110) [17:50:06.498] at $Proxy5.start(Unknown Source) [17:50:06.498] at com.caucho.boot.WatchdogClient.startWatchdog(WatchdogClient.java:196) [17:50:06.498] at com.caucho.boot.ResinBoot.start(ResinBoot.java:172) [17:50:06.498] at com.caucho.boot.ResinBoot.main(ResinBoot.java:295) [17:50:06.499]WatchdogClient[1] starting ResinWatchdogManager In resin.conf, I have: -Dcom.sun.management.jmxremote 6700 The documentation on resin watchdog weren't too explanatory for me... Thank you, Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] jvm-classpath element
The current documentation on caucho.com says that is a valid attribute or child of . Yet, when I attempt to add a classpath entry in resin.conf, I get the following: com.caucho.xml.XmlParseException: /lsurf/xoom/conf/resin.conf:77: is an unexpected tag (parent starts at 75). 75: 76: 6700 77: /lsurf/xoom/conf 78: Along with a printout of the schema, of which there is no entry allowed. I'm using Resin 3.1.2, upgrading from Resin 2. With Resin 2, I passed the classpath to resin with the "-classpath" command line option, which isnt supported in resin 3. How do I add classpath entries with Resin 3.1.2? Thank you, Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] automatic URL decoding resin 2->3
Hi, I am in between switching from version 2.1.12 to Resin to 3.1.3, and there is one difference that causes us problems. If we encode a URL using java.net.URLEncoder, on Resin 2 it doesn't automatically decode it, and we have to call the URLDecoder. However it seems on Resin 3, it automatically decodes it. So if I double-decode it, then the parameter is corrupted. I'm just calling request.getParameter() to do this. Is there a way to control this on Resin3, to avoid stuff like: if (resin2) { String param = URLDecoder.decode(request.getParameter("blah")); } else { String param = request.getParameter("blah"); } Reminds my of ifdefs on C ;) Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] code too large for try statement error!
On Mon, 2007-09-10 at 09:40 -0700, Mike Wynholds wrote: > If you have a really big JSP file, and you get this problem, you can try > breaking the JSP file up in to several smaller .jsp or .tag files, and > creating a hierarchy of files. Under Resin 3.1.2, after switching from JDK 1.5 to 1.6 (Linux) I started getting this error. We had to go back to 1.5 until we can fix these. I didn't know of any changes between 1.5 to 1.6 related to this, but for some reason it happens to us. Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Anyone remote debug with Resin 3.x and IntelliJ?
Scott Ferguson wrote: > You'll want to use a (in the block) instead of the > -X > > The initial process is not the same as the actual Resin process, and > since it's Resin that you want to debug, not the startup program, you > need to update the . > > -- Scott > > Thanks Scott, that did the trick. We're still new to 3.x over here and are still running 2.x in production. Hopefully we'll be switched soon, I love 3.1! Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Anyone remote debug with Resin 3.x and IntelliJ?
I recently switched from Windows to Ubuntu 7.04 (fiesty fawn) 32 bit and I can't seem to get remote debugging to work with Resin 3.x in IntelliJ 6 or 7.0M1. Resin 2.x works fine. Basically what happens is when I get to a breakpoint, my IDE doesn't suspend - it just keeps going. I can remotely connect to port 5005 when I start resin with the following params in my httpd.sh: exec $java -Xms128M -Xmx384M -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar $bin/../lib/resin.jar $* I get an acknowledgment that the port is listening, also when I remotely connect with IntelliJ then disconnect I can see this in stdout. Is there something special I need to do to enable this? Anyone out there debug using this OS/IDE/Resin combination? I have a developer running all the same except Fedora 5 instead of Ubuntu and he has the same issue. Breakpoints in Resin 2.x work fine, Resin 3.x don't. Is there a way I can tell if this is a IntelliJ issue or a Caucho issue? Ryan ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest