[Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?
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@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Any way to tell resin to put WEB-INF/tmp somewhere else?
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 and temp-dir tags. http://www.caucho.com/resin-4.0/reference.xtp#workdir http://www.caucho.com/resin-4.0/reference.xtp#tempdir Alex -- Rick ___ 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
[Resin-interest] Fresh resin install won't run my app or log
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 myself (rather than using apt-get) because I wanted to control the directories used. It started up and ran fine. I then installed my app, and modified resin.xml to point to it. Resin seems to create the app, and the resin-file handler is able to serve up some top-level files in my app. But it does not appear to be actually executing any of the code in my app. My app is pure-java configed, and uses Log4J. No log files are getting created. I tried logging some stuff using System.out, but it's not appearing in any of the logs I do get. I'm executing with resinctl console, as much logging as I can set to ALL. I've little by little gone through the various Resin config files removing references to other apps, virtual hosts, and other logging. My app's entry in resin.xml looks like this: http://pastebin.com/6STAmNBS Any ideas what else to try? I have the following logs to look at: rmann@clarke $ ls /logs/resin/ out.log rmann@clarke $ ls /logs/inote/ access.log resin.log Plus what comes out of the resinctl console. I'm baffled. Some possible issues? [03-13 03:01:20.176] {main} ALL (com.caucho.env.deploy.ExpandDeployController) java.io.FileNotFoundException: /lz/var/www/com/latencyzero/inote/META-INF/resin.application-hash GETting / results in 404: [03-13 03:11:38.506] {resin-port-80-46} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] GETting /css/site.css returns the css file: [03-13 03:01:36.023] {resin-port-80-22} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/css/site.css' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] TIA, -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Fresh resin install won't run my app or log
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 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 myself (rather than using apt-get) because I wanted to control the directories used. It started up and ran fine. I then installed my app, and modified resin.xml to point to it. Resin seems to create the app, and the resin-file handler is able to serve up some top-level files in my app. But it does not appear to be actually executing any of the code in my app. My app is pure-java configed, and uses Log4J. No log files are getting created. I tried logging some stuff using System.out, but it's not appearing in any of the logs I do get. I'm executing with resinctl console, as much logging as I can set to ALL. I've little by little gone through the various Resin config files removing references to other apps, virtual hosts, and other logging. My app's entry in resin.xml looks like this: http://pastebin.com/6STAmNBS Any ideas what else to try? I have the following logs to look at: rmann@clarke $ ls /logs/resin/ out.log rmann@clarke $ ls /logs/inote/ access.log resin.log Plus what comes out of the resinctl console. I'm baffled. Some possible issues? [03-13 03:01:20.176] {main} ALL (com.caucho.env.deploy.ExpandDeployController) java.io.FileNotFoundException: /lz/var/www/com/latencyzero/inote/META-INF/resin.application-hash GETting / results in 404: [03-13 03:11:38.506] {resin-port-80-46} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] GETting /css/site.css returns the css file: [03-13 03:01:36.023] {resin-port-80-22} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/css/site.css' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] TIA, -- Rick ___ 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] Fresh resin install won't run my app or log
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 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 myself (rather than using apt-get) because I wanted to control the directories used. It started up and ran fine. I then installed my app, and modified resin.xml to point to it. Resin seems to create the app, and the resin-file handler is able to serve up some top-level files in my app. But it does not appear to be actually executing any of the code in my app. My app is pure-java configed, and uses Log4J. No log files are getting created. I tried logging some stuff using System.out, but it's not appearing in any of the logs I do get. I'm executing with resinctl console, as much logging as I can set to ALL. I've little by little gone through the various Resin config files removing references to other apps, virtual hosts, and other logging. My app's entry in resin.xml looks like this: http://pastebin.com/6STAmNBS Any ideas what else to try? I have the following logs to look at: rmann@clarke $ ls /logs/resin/ out.log rmann@clarke $ ls /logs/inote/ access.log resin.log Plus what comes out of the resinctl console. I'm baffled. Some possible issues? [03-13 03:01:20.176] {main} ALL (com.caucho.env.deploy.ExpandDeployController) java.io.FileNotFoundException: /lz/var/www/com/latencyzero/inote/META-INF/resin.application-hash GETting / results in 404: [03-13 03:11:38.506] {resin-port-80-46} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] GETting /css/site.css returns the css file: [03-13 03:01:36.023] {resin-port-80-22} FINER (com.caucho.server.dispatch.ServletInvocation) Dispatch '/css/site.css' to AccessLogFilterChain[http://inote.latencyzero.com, next=WebAppFilterChain[http://inote.latencyzero.com, next=ServletFilterChain[resin-file]]] TIA, -- Rick ___ 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 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest