[Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
I thought I had UTF-8 set throughout my app; source files are encoded in it, I set it everywhere I can think of (requests, responses, JVM, HTML and JSP tags). I we re-doing the HTML for my site, fancifying it with bootstrap and all that goodness, when I noticed that the copyright symbol I typed

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
Hmm. Seems like if I %@ include a file that contains %@ page contentType=text/html; charset=UTF-8% Then it doesn't work. If I include that @ page line directly, it gets the encoding right. On Feb 28, 2014, at 04:45 , Rick Mann rm...@latencyzero.com wrote: I thought I had UTF-8 set throughout

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
On Feb 28, 2014, at 08:55 , Scott Ferguson f...@caucho.com wrote: On 2/28/14, 4:47 AM, Rick Mann wrote: Hmm. Seems like if I %@ include a file that contains %@ page contentType=text/html; charset=UTF-8% Then it doesn't work. If I include that @ page line directly, it gets the encoding

Re: [Resin-interest] Character encoding in root vs included JSP

2014-02-28 Thread Rick Mann
On Fri, Feb 28, 2014 at 11:41 AM, Rick Mann rm...@latencyzero.com wrote: On Feb 28, 2014, at 08:55 , Scott Ferguson f...@caucho.com wrote: On 2/28/14, 4:47 AM, Rick Mann wrote: Hmm. Seems like if I %@ include a file that contains %@ page contentType=text/html; charset=UTF-8

[Resin-interest] WebSockets Chatroom example

2014-03-06 Thread Rick Mann
I'm trying to do the WebSockets example here: http://wiki4.caucho.com/WebSocket_API_Chat_Room_using_JSR_356 But it needs javax.ejb.Startup (among other things). My ant build script fails on this, because I don't seem to be including the right JAR. I tried to use the maven ant plugin

Re: [Resin-interest] WebSockets Chatroom example

2014-03-06 Thread Rick Mann
On Mar 6, 2014, at 09:47 , Paul Cowan co...@caucho.com wrote: For EJB you want: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb-api/3.0/ Hmm, I still get [javac] /Users/rmann/.../UsageMapServer.java:9: error: cannot find symbol [javac] import javax.ejb.Startup; -- Rick

Re: [Resin-interest] WebSockets Chatroom example

2014-03-06 Thread Rick Mann
Awesome, thanks! On Mar 6, 2014, at 09:47 , Paul Cowan co...@caucho.com wrote: On Mar 6, 2014, at 3:37 AM, Rick Mann rm...@latencyzero.com wrote: I'm trying to do the WebSockets example here: http://wiki4.caucho.com/WebSocket_API_Chat_Room_using_JSR_356 But it needs

[Resin-interest] Best way to start background task?

2014-03-08 Thread Rick Mann
Developments in Java EE never cease to leave me behind, given that my day job is iOS development, and I poke at my server dev more as a hobby than anything else. I'm a moderately experienced using Spring, Hibernate and Resin. CanDI is new to me, but I'd like to understand it better. I think it

[Resin-interest] Wiki page broken

2014-03-08 Thread Rick Mann
Looks like a lot of tags are confused on this page: http://wiki4.caucho.com/Resin_4_CDI_Dependency_Injection_Binding_Examples Also, it seems the bugs.caucho.com forgot who I am... -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [Resin-interest] Wiki page broken

2014-03-08 Thread Rick Mann
On Mar 8, 2014, at 22:57 , Rick Mann rm...@latencyzero.com wrote: Also, it seems the bugs.caucho.com forgot who I am... Nevermind, it was I who forgot who I am. Is Mantis still in use? I see very few bug reports. Maybe they're mostly private? -- Rick signature.asc Description: Message

[Resin-interest] CanDI, @Startup, and Log4J

2014-03-08 Thread Rick Mann
I have a Servlet 2-style webapp. web.xml causes an InitServlet to be instantiated at startup, and one of its tasks is to initialize Log4J using JNDI to find the name of the log4j.xml file. The @startup singleton I just got working gets instantiated before this happens, and so in its

[Resin-interest] Registering my CanDI producer with InjectionManager?

2014-03-09 Thread Rick Mann
I'm trying to create a factory to let me @Inject Loggers as shown here: http://docs.jboss.org/cdi/api/1.0/javax/enterprise/inject/spi/InjectionPoint.html But I get: [14-03-08 23:59:23.129] WARNING com.caucho.server.webapp.WebApp setConfigException:

Re: [Resin-interest] already a root application context present

2014-03-09 Thread Rick Mann
Any word on this in 4.0.38? On Jul 9, 2013, at 13:18 , Scott Ferguson f...@caucho.com wrote: On 7/8/13 12:38 PM, Rick Mann wrote: On Jul 8, 2013, at 09:43 , Scott Ferguson f...@caucho.com wrote: On 7/6/13 4:54 PM, Rick Mann wrote: I'm still getting this error with resin-4.0-36. It seems

[Resin-interest] @WebServlet and Hessian

2014-03-09 Thread Rick Mann
Well, I added @WebServlet to my Hessian servlet implementation, and making a GET request results in the expected Hessian Requires POST response. But when my client accesses it properly, the response is empty, and there's no evidence that my actual implementation is being called. Is it possible

[Resin-interest] EL 2.2?

2014-03-11 Thread Rick Mann
I'm trying to access a bean in request scope (in a JSP page) that takes a parameter. The method is getFieldError(String field); I'm trying to write EL like this: span${br.fieldError(email)}/span But it renders nothing. Note that the void parameter list version of the method

[Resin-interest] Any way to set jsp page-encoding with Servlet 3.0 Java-only configuration?

2014-03-11 Thread Rick Mann
I apologize, since this isn't strictly a Resin issue, but: I used to have this in my web.xml: jsp-config jsp-property-group url-pattern*.jsp/url-pattern page-encodingUTF-8/page-encoding /jsp-property-group /jsp-config How do I duplicate that

Re: [Resin-interest] Any way to set jsp page-encoding with Servlet 3.0 Java-only configuration?

2014-03-11 Thread Rick Mann
Yeah, I've got this as the first line in my resin.xml: character-encodingUTF-8/character-encoding But it is insufficient. On Mar 11, 2014, at 16:45 , Alex Rojkov a...@caucho.com wrote: In Resin you should be able to specify that with character-encoding tag at web-app | host | cluster |

Re: [Resin-interest] EL 2.2?

2014-03-11 Thread Rick Mann
Hmm, I tried again, and it does indeed seem to work. On Mar 11, 2014, at 18:56 , Rick Mann rm...@latencyzero.com wrote: I'm trying to access a bean in request scope (in a JSP page) that takes a parameter. The method is getFieldError(String field); I'm trying to write EL like

[Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?

2014-03-12 Thread Rick Mann
It would be nice for it to create its work directories somewhere else, not inside my webapp distros. Is this possible? -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list

[Resin-interest] Fresh resin install won't run my app or log

2014-03-12 Thread Rick Mann
Well, that's not exactly true, but I'm baffled. I have my webapp running just fine locally, and just find on a 4.0.37/Java 1.6/Ubuntu 10.10 server I've had running for years. I just created an Ubuntu 13.10/Java 1.7/4.0.38 server using the Pro distribution (but no license file yet) that I build

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-12 Thread Rick Mann
No, but I adjusted that file, too, for logging. Sent from my iPhone On Mar 12, 2014, at 20:23, Alex Rojkov a...@caucho.com wrote: Did you remove resin:import for app-default.xml by any chance ? Alex On Mar 12, 2014, at 8:12 PM, Rick Mann rm...@latencyzero.com wrote: Well, that's

Re: [Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?

2014-03-13 Thread Rick Mann
Awesome! On Mar 12, 2014, at 19:57 , Alex Rojkov a...@caucho.com wrote: On Mar 12, 2014, at 7:51 PM, Rick Mann rm...@latencyzero.com wrote: It would be nice for it to create its work directories somewhere else, not inside my webapp distros. Is this possible? Should be possible

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Rick Mann
On Mar 12, 2014, at 20:23 , Alex Rojkov a...@caucho.com wrote: Did you remove resin:import for app-default.xml by any chance ? Why do you ask? signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Rick Mann
On Mar 13, 2014, at 14:13 , Alex Rojkov a...@caucho.com wrote: Are your servlets in WB-INF/classes? Yes. Try adding a compiling-loader (or a simple-loader if classes are compiled already) to your class-loader. class-loader compiling-loader path=WEB-INF/classes”/ tree-loader../

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Rick Mann
On Mar 13, 2014, at 14:56 , Alex Rojkov a...@caucho.com wrote: And can you move the class-loader registration inside the web-app please? If that doesn’t work please post log and conf/*.xml conf/*.properties someplace. It's inside the web-app inside resin.xml. resin.xml:

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Rick Mann
Hmm. I don't have the connector jar outside my webapps in any other environment. I can't remember what it is I did to fix it last time. On Mar 13, 2014, at 15:37 , Rick Mann rm...@latencyzero.com wrote: Oh! Sorry. That was it. Argh. I am embarrassed (and annoyed with myself, since I've lost

Re: [Resin-interest] Fresh resin install won't run my app or log

2014-03-13 Thread Rick Mann
And, stopping and re-starting resin again solved that problem. On Mar 13, 2014, at 15:43 , Rick Mann rm...@latencyzero.com wrote: Hmm. I don't have the connector jar outside my webapps in any other environment. I can't remember what it is I did to fix it last time. On Mar 13, 2014, at 15

[Resin-interest] Unsupported operation error

2014-03-20 Thread Rick Mann
I'm trying to add Spring Security to my pure-JavaConfig web app, and I'm getting this error on my first request. Any idea what it means? Is this a Resin problem (v 4.0.36)? [14-03-20 02:48:37.355] FINE com.caucho.server.http.HttpRequest handleRequest: java.lang.UnsupportedOperationException:

Re: [Resin-interest] Unsupported operation error

2014-03-20 Thread Rick Mann
and we just added session tracking mode support in version 4.0.38. So you’ll just need to upgrade your Resin version to get it. -Paul On Mar 20, 2014, at 3:11 PM, Rick Mann rm...@latencyzero.com wrote: Please enter the bug, at least. I'll look into seeing if there's a way around

[Resin-interest] Problem building 4.0.38

2014-03-20 Thread Rick Mann
Dunno if I did something wrong. Mavericks 10.9.2, Xcode 5.1 http://pastebin.com/r5QgX5vS -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] Problem building 4.0.38

2014-03-20 Thread Rick Mann
On Mar 20, 2014, at 13:44 , Paul Cowan co...@caucho.com wrote: On Mar 20, 2014, at 4:39 PM, Rick Mann rm...@latencyzero.com wrote: Oops, it was 'cause I tried to build in a subdirectory. NOT doing that seems to work, but gets me a TON of deprecation warnings in SSL (first deprecated

Re: [Resin-interest] Unsupported operation error

2014-03-20 Thread Rick Mann
tracking mode support in version 4.0.38. So you’ll just need to upgrade your Resin version to get it. -Paul On Mar 20, 2014, at 3:11 PM, Rick Mann rm...@latencyzero.com wrote: Please enter the bug, at least. I'll look into seeing if there's a way around the problem

Re: [Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?

2014-03-31 Thread Rick Mann
On Mar 12, 2014, at 19:57 , Alex Rojkov a...@caucho.com wrote: On Mar 12, 2014, at 7:51 PM, Rick Mann rm...@latencyzero.com wrote: It would be nice for it to create its work directories somewhere else, not inside my webapp distros. Is this possible? Should be possible with work-dir

Re: [Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?

2014-03-31 Thread Rick Mann
Hmm. I found docs that suggested ${webApp.name} would work, but it evaluated to empty. On Mar 31, 2014, at 19:00 , Rick Mann rm...@latencyzero.com wrote: On Mar 12, 2014, at 19:57 , Alex Rojkov a...@caucho.com wrote: On Mar 12, 2014, at 7:51 PM, Rick Mann rm...@latencyzero.com wrote

[Resin-interest] Anyone got Spring Security experience?

2014-04-10 Thread Rick Mann
I realize this is a bit off-topic, but the Spring Security forum is nothing but crickets, so I was hoping there were Resin users who've successfully used Spring Security (in particular, using pure Java config). Am I in luck? Thanks! -- Rick signature.asc Description: Message signed with

[Resin-interest] OpenSSL Issues Building/Installing 4.0.41 on OS X 10.10 Yosemite

2014-10-26 Thread Rick Mann
I just tried to download and install 4.0.41, and got this: OPENSSL : No OpenSSL has been found *** OpenSSL libraries cannot be compiled *** The full output is here: http://pastebin.com/VfB7NsNY I think this is due to Apple deprecating OpenSSL. -- Rick Mann rm...@latencyzero.com

Re: [Resin-interest] OpenSSL Issues Building/Installing 4.0.41 on OS X 10.10 Yosemite

2014-10-26 Thread Rick Mann
/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include I hope this helps Keith On Oct 26, 2014, at 2:12 PM, Rick Mann rm...@latencyzero.com wrote: I just tried to download and install 4.0.41, and got this: OPENSSL : No OpenSSL has been found

[Resin-interest] Warnings while building 4.0.41

2014-10-26 Thread Rick Mann
Got a few warnings in the C code: http://pastebin.com/BSJGrvZp I'd feel a lot better if it built with these warnings corrected. -- Rick Mann rm...@latencyzero.com ___ resin-interest mailing list resin-interest@caucho.com http

Re: [Resin-interest] OpenSSL Issues Building/Installing 4.0.41 on OS X 10.10 Yosemite

2014-10-26 Thread Rick Mann
It worked, to use brew to install openssl (or update to the latest): $ brew update brew upgrade $ brew install openssl brew link openssl --force On Oct 26, 2014, at 14:19 , Rick Mann rm...@latencyzero.com wrote: Yes, of course Xcode is installed. I see what your solution

[Resin-interest] requires compiled JNI started with 'start'. Resin cannot use user-name when started as a console process?

2014-11-05 Thread Rick Mann
and install resin: cd resin-pro-4.0.41 ./configure --prefix /lz/usr/resin/4.0.41 --enable-64bit --enable-ssl --with-resin-root=/lz/var --with-resin-conf=/lz/etc/resin --with-resin-log=/logs/resin make sudo make install -- Rick Mann rm...@latencyzero.com

Re: [Resin-interest] https libcurl support in Quercus?

2015-01-23 Thread Rick Mann
On Jan 23, 2015, at 14:27 , Nam Nguyen n...@caucho.com wrote: Message: 1 Date: Thu, 22 Jan 2015 11:09:24 -0800 From: Rick Mann rm...@latencyzero.com Subject: Re: [Resin-interest] resin-interest Digest, Vol 101, Issue 1 To: General Discussion for the Resin application server resin

[Resin-interest] https libcurl support in Quercus?

2015-01-20 Thread Rick Mann
certificates. Root issue: I think this is a pretty serious weakness in terms of supporting WordPress. -- Rick Mann rm...@latencyzero.com ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin

[Resin-interest] Quercus DateTime::setISODate()?

2015-01-22 Thread Rick Mann
I just updated WordPress, and got this: com.caucho.quercus.UnimplementedException: `DateTime::setISODate()' has not been implemented. I'm on Resin 4.0.37. The Caucho website shows Quercus up to 4.0.39 but Resin is 4.0.41. Is setISODate() implemented in 4.0.41? -- Rick Mann rm

Re: [Resin-interest] resin-interest Digest, Vol 101, Issue 1

2015-01-22 Thread Rick Mann
I thought Wordpress was a sort of flagship app you guys intended to support. Sent from my iPhone On Jan 22, 2015, at 09:36, Nam Nguyen n...@caucho.com wrote: Message: 1 Date: Tue, 20 Jan 2015 12:11:09 -0800 From: Rick Mann rm...@latencyzero.com Subject: [Resin-interest] https libcurl

[Resin-interest] Using gradle Spring Boot to deploy a WAR in resin

2015-01-29 Thread Rick Mann
at it. Does anyone know what the minimal build.gradle file looks like to meet all those needs? Thanks! -- Rick Mann rm...@latencyzero.com ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin

[Resin-interest] Resin 4.0.44 killing itself?

2015-06-01 Thread Rick Mann
/resin/resin.xml -log-directory /logs/resin start --log-directory /logs/resin I started resin as root with resinctl start. I'm not sure what else to look at. Any suggestions? Thanks! -- Rick Mann rm...@latencyzero.com ___ resin-interest mailing list

Re: [Resin-interest] Resin 4.0.44 killing itself?

2015-06-01 Thread Rick Mann
: Kill process 4985 (java) score 614 or sacrifice child Jun 1 22:09:05 tycho2 kernel: [945096.296208] Killed process 4985 (java) total-vm:4146944kB, anon-rss:313332kB, file-rss:0kB On Jun 1, 2015, at 14:39 , Scott Ferguson f...@caucho.com wrote: On 6/1/15 2:19 PM, Rick Mann wrote

<    1   2   3