Re: [Resin-interest] Problems with % character in URI
On 3/28/07, Osmo Laitinen [EMAIL PROTECTED] wrote: Hi! I'm experiencing the following problem with Apache, mod_caucho and Resin pro (3.0.18) combination: If uri contains % character, mod_caucho doesn't seem to work correctly, eg. http://www.server.tld/home/user%namehttp://www.server.tld/home/user%25name is encoded as http://www.server.tld/home/user%25name; which won't work. But http://www.server.tld/home/user%2525name; works. If I replace ResinConfigServer with ProxyPass directives (configuring Apache connect to Resin's HTTP port), the uri http://www.server.tld/home/user%25name; works fine. Problem seem to be just with % character (which is a bit special), since eg. = works fine. I have also tested with Resin pro 3.0.23's mod_caucho with same result. Regards, Ossi I'll try again with this one. Problem still exists and I have filed a bug http://bugs.caucho.com/view.php?id=1661 Regards, Ossi ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Problems with ADF faces application on JBoss 3.1.1
Hi, I have been attempting to get the adf sample application working on JBoss 3.1.1. The first error I got was: [13:31:32.697] javax.faces.FacesException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:216) [13:31:32.697] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101) [13:31:32.697] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:102) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo nfigImpl.java:776) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig Impl.java:707) [13:31:32.697] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) [13:31:32.697] at com.caucho.server.webapp.WebApp.start(WebApp.java:1726) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:671) [13:31:32.697] at com.caucho.server.host.Host.start(Host.java:437) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.host.HostContainer.start(HostContainer.java:473) [13:31:32.697] at com.caucho.server.cluster.Server.start(Server.java:1092) [13:31:32.697] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:689) [13:31:32.697] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:4 31) [13:31:32.697] at com.caucho.server.resin.Resin.start(Resin.java:710) [13:31:32.697] at com.caucho.server.resin.Resin.initMain(Resin.java:1146) [13:31:32.697] at com.caucho.server.resin.Resin.main(Resin.java:1343) [13:31:32.697] Caused by: java.lang.ClassNotFoundException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1 164) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 103) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 052) [13:31:32.697] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [13:31:32.697] at java.lang.Class.forName0(Native Method) [13:31:32.697] at java.lang.Class.forName(Class.java:242) [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:194) [13:31:32.697] ... 23 more I figured this was due to the conflict of the jsf-12.jar shipped with Resin 3.1.1 and the jsf .jars shipped with the adf sample application. I just removed the jsf jar from Resin_home/lib and restarted. Upon this I get the following error: [13:38:43.621] java.lang.NullPointerException [13:38:43.621] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144) [13:38:43.621] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo nfigImpl.java:776) [13:38:43.621] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig Impl.java:707) [13:38:43.621] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) [13:38:43.621] at com.caucho.server.webapp.WebApp.start(WebApp.java:1726) [13:38:43.621] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:38:43.621] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:38:43.621] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:38:43.621] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:38:43.621] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:671) [13:38:43.621] at com.caucho.server.host.Host.start(Host.java:437) [13:38:43.621] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:38:43.621] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:38:43.621] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:38:43.621] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:38:43.621] at com.caucho.server.host.HostContainer.start(HostContainer.java:473) [13:38:43.621] at
Re: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1
I am now getting a common error on both JBoss 3.0 and 3.1.1 when I access the adf-faces-demo application. [08:08:11.048] javax.servlet.ServletException: java.lang.NullPointerException [08:08:11.048] at com.caucho.server.dispatch.ExceptionFilterChain.init(ExceptionFilterCh ain.java:54) [08:08:11.048] at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:1933) [08:08:11.048] at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer .java:721) [08:08:11.048] at com.caucho.server.host.Host.buildInvocation(Host.java:476) [08:08:11.048] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java: 314) [08:08:11.048] at com.caucho.server.cluster.Server.buildInvocation(Server.java:839) [08:08:11.048] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer .java:200) [08:08:11.048] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:258) [08:08:11.048] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477) [08:08:11.048] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600) [08:08:11.048] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522) [08:08:11.048] at java.lang.Thread.run(Thread.java:595) [08:08:11.048] Caused by: java.lang.NullPointerException [08:08:11.048] at com.caucho.server.dispatch.FilterMapping.isMatch(FilterMapping.java:169) [08:08:11.048] at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper. java:140) [08:08:11.048] at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:1902) [08:08:11.048] ... 10 more From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taber, Guthrie Sent: Thursday, May 24, 2007 10:31 AM To: resin-interest@caucho.com Subject: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1 Hi, I have been attempting to get the adf sample application working on JBoss 3.1.1. The first error I got was: [13:31:32.697] javax.faces.FacesException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:216) [13:31:32.697] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101) [13:31:32.697] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:102) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo nfigImpl.java:776) [13:31:32.697] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig Impl.java:707) [13:31:32.697] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) [13:31:32.697] at com.caucho.server.webapp.WebApp.start(WebApp.java:1726) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:671) [13:31:32.697] at com.caucho.server.host.Host.start(Host.java:437) [13:31:32.697] at com.caucho.server.deploy.DeployController.startImpl(DeployController.jav a:623) [13:31:32.697] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Start AutoRedeployAutoStrategy.java:72) [13:31:32.697] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.j ava:505) [13:31:32.697] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:155) [13:31:32.697] at com.caucho.server.host.HostContainer.start(HostContainer.java:473) [13:31:32.697] at com.caucho.server.cluster.Server.start(Server.java:1092) [13:31:32.697] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:689) [13:31:32.697] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:4 31) [13:31:32.697] at com.caucho.server.resin.Resin.start(Resin.java:710) [13:31:32.697] at com.caucho.server.resin.Resin.initMain(Resin.java:1146) [13:31:32.697] at com.caucho.server.resin.Resin.main(Resin.java:1343) [13:31:32.697] Caused by: java.lang.ClassNotFoundException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1 164) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 103) [13:31:32.697] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1 052) [13:31:32.697] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [13:31:32.697] at java.lang.Class.forName0(Native Method) [13:31:32.697] at java.lang.Class.forName(Class.java:242) [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:194) [13:31:32.697] ... 23 more I figured this was due to the conflict of
Re: [Resin-interest] Wild card SSL Certs
We use JSSE successfully and haven't really noticed any performance problems or slowdowns. http address=* port=443 jsse-ssl key-store-typepkcs12/key-store-type key-store-file/some/path/to/file.p12/key-store-file passwordsecret/password /jsse-ssl /http We used OpenSSL to bundle the wildcard cert, the intermediate certs, and the root cert into one .p12 file - including the password. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?
On Wed, May 16, 2007 at 05:09:03PM +0100, Andy Duplain wrote: On Wed, May 16, 2007 at 11:02:44PM +0800, Liao Xuefeng wrote: i use: host id=localhost root-directory=. web-app id=/ root-directory=E:/path/to/dir/ /host and Resin 3.1.1 works. Not sure that would work - the idea being that the root directories for both hosts are outside of resin-home and so need to be specified as something other than . . Actually that was exactly the answer and it is now working perfectly - many thanks Liao. Cheers, Andy ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] 304 status
Thanks Serge, the document proved to be just what we needed. We fixed our issues with a somewhat brain dead proxy as follows a) making sure Apache was serving documents and images directly (and not delegating to Resin) b) Activating mod_expires and using the Expires directives to tell the stupid proxy to keep images, css and so on in cache for a day c) Removing a vary: user-agent header that was preventing compressed content from being. We believe this to be a bug in the proxy. Luckily the largish css and js files we wanted compressed do not vary by user agent. Jean-François Lamy Teximus -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Serge Knystautas Envoyé : 17 mai 2007 13:08 À : General Discussion for the Resin application server Objet : Re: [Resin-interest] 304 status Jean-François, This is the best write-up I've seen on how browsers and proxy servers cache: http://www.mnot.net/cache_docs/ ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest