[Resin-interest] Resin OpenSSO
Hi all, i'm trying to install OpenSSO under Resin. When i start the web application, typically: http://localhost:8080/opensso i receive this error: java.lang.NullPointerException at com.sun.identity.authentication.service.AuthD.clinit(AuthD.java:224) at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:75) at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:56) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:766) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:697) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) at com.caucho.server.webapp.WebApp.start(WebApp.java:1699) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:623) at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:586) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125) at com.caucho.server.deploy.DeployController.request(DeployController.java:556) at com.caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:884) at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:724) at com.caucho.server.host.Host.buildInvocation(Host.java:476) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:331) at com.caucho.server.cluster.Server.buildInvocation(Server.java:795) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:200) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:258) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513) at java.lang.Thread.run(Thread.java:595) I also try to put the libraries used by opensso under the Resin lib dir, but i receive another error. Do you know how to resolve this problem? I've also installed OpenSSO under Apache Tomcat and goes well. Anyway i'd like to install under Resin. Thanks in advance for the responses :) Simona ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin OpenSSO
Hi all, i'm trying to install OpenSSO under Resin. When i start the web application, typically: http://localhost:8080/opensso i receive this error: java.lang.NullPointerException at com.sun.identity.authentication.service.AuthD.clinit(AuthD.java:224) at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth (LoginLogoutMapping.java:75) at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:56) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:766) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:697) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150) at com.caucho.server.webapp.WebApp.start(WebApp.java :1699) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:623) at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:586) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request (StartAutoRedeployAutoStrategy.java:125) at com.caucho.server.deploy.DeployController.request(DeployController.java:556) at com.caucho.server.webapp.WebAppContainer.getWebApp(WebAppContainer.java:884) at com.caucho.server.webapp.WebAppContainer.buildInvocation (WebAppContainer.java:724) at com.caucho.server.host.Host.buildInvocation(Host.java:476) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:331) at com.caucho.server.cluster.Server.buildInvocation (Server.java:795) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:200) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:258) at com.caucho.server.port.TcpConnection.run (TcpConnection.java:477) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513) at java.lang.Thread.run(Thread.java:595) I also try to put the libraries used by opensso under the Resin lib dir, but i receive another error. Do you know how to resolve this problem? I've also installed OpenSSO under Apache Tomcat and goes well. Anyway i'd like to install under Resin. Thanks in advance for the responses :) Simona ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] resin session timeout
In the web-app-default block, you can define a session-config block: session-config session-max4096/session-max !--Default is 4096-- session-timeout20/session-timeout !--Default is 30 minutes-- enable-url-rewritingfalse/enable-url-rewriting /session-config See http://caucho.com/resin-3.1/doc/session-tags.xtp for a list of all the possible session configuration tags. Rob On Jan 11, 2007, at 22:17 , Akila Amarathunga wrote: Hi Guys, Is it possible to session-timeout in resin conf globally where all application get same time out period.. If we can how to do it Thanks, Akila ___ 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] Resin OpenSSO
On Jan 12, 2007, at 12:15 AM, Simona borrello wrote: Hi all, i'm trying to install OpenSSO under Resin. When i start the web application, typically: I've filed it as a bug at http://bugs.caucho.com/view.php?id=1557. I'm not familiar with openssl, so I'm not sure what the issue is. -- Scott http://localhost:8080/opensso i receive this error: java.lang.NullPointerException at com.sun.identity.authentication.service.AuthD.(AuthD.java:224) at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth (LoginLogoutMapping.java:75) at com.sun.identity.authentication.UI.LoginLogoutMapping.init (LoginLogoutMapping.java:56) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl (ServletConfigImpl.java:766) at com.caucho.server.dispatch.ServletConfigImpl.createServlet (ServletConfigImpl.java:697) at com.caucho.server.dispatch.ServletManager.init (ServletManager.java:150) at com.caucho.server.webapp.WebApp.start(WebApp.java :1699) at com.caucho.server.deploy.DeployController.startImpl (DeployController.java:623) at com.caucho.server.deploy.DeployController.restartImpl (DeployController.java:586) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request (StartAutoRedeployAutoStrategy.java:125) at com.caucho.server.deploy.DeployController.request (DeployController.java:556) at com.caucho.server.webapp.WebAppContainer.getWebApp (WebAppContainer.java:884) at com.caucho.server.webapp.WebAppContainer.buildInvocation (WebAppContainer.java:724) at com.caucho.server.host.Host.buildInvocation(Host.java:476) at com.caucho.server.host.HostContainer.buildInvocation (HostContainer.java:331) at com.caucho.server.cluster.Server.buildInvocation (Server.java:795) at com.caucho.server.dispatch.DispatchServer.buildInvocation (DispatchServer.java:200) at com.caucho.server.http.HttpRequest.handleRequest (HttpRequest.java:258) at com.caucho.server.port.TcpConnection.run (TcpConnection.java:477) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513) at java.lang.Thread.run(Thread.java:595) I also try to put the libraries used by opensso under the Resin lib dir, but i receive another error. Do you know how to resolve this problem? I've also installed OpenSSO under Apache Tomcat and goes well. Anyway i'd like to install under Resin. Thanks in advance for the responses :) Simona ___ 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] Using resin for selected PHP apps
On Jan 11, 2007, at 3:36 PM, Stargazer wrote: I'm on a dedicated RH Linux server which has been preconfigured with Plesk and a few PHP apps. I installed resin and changed Apache to use mod_caucho. All was fine until I upgraded to resin 3.1, using the default config resin and my webapps were fine, but all the existing PHP stuff broke - all *.php files were directed to resin. So, I changed resins config to basically tell it not to serve PHP, I think I just needed to comment 2 lines in the end. But resin serving PHP is too useful to ignore, so I'd like to keep this setup but reactivate resins PHP for some specific web apps. For instance, how would I add a new web app, install Drupal into it and with my setup activate resins PHP handler please? You can create a web-app for Drupal in webapps/drupal, and then add a resin-web.xml with the QuercusServlet configuration: servlet-mapping url-pattern=*.php servlet- class=com.caucho.quercus.servlet.QuercusServlet/ The sample resin.conf with Resin 3.1 includes that servlet-mapping in a web-app-default, which enables PHP for everything, but you can enable it for selected web-apps if that's what you need. -- Scott ___ 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