[Resin-interest] (no subject)
hello !! am trying to use apache's mod_rewrite for missing JPGs using a default JPG ... my .htaccess file has ... RewriteEngine on RewriteBase / # missing images RewriteCond %{REQUEST_URI} !-U RewriteRule .*\.jpg$ /assets/default.jpg [L,PT] but resin is still sending back its 404 ... when i request a missing JPG from a page on the site ... any ideas ??? ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] (no subject)
Hallo, ich versucht das Tutorial Local Session Counter unter der Rubik EJB (http://www.caucho.com/resin-3.0/ejb/tutorial/ejb-session-local/index.xtp) mit dem Resin 3.1.1. zum Laufen zu bekommen. Leider erhalte ich folgende ClassNotFound Exception beim Deployen des Projektes: WEB-INF/resin-web.xml:16: java.lang.ClassNotFoundException: com.caucho.ejb.LocalContextFactory 14: jndi-link 15: jndi-namejava:comp/env/local-ejb/jndi-name 16: factorycom.caucho.ejb.LocalContextFactory/factory 17: init-param java.naming.provider.url=http://localhost:8080/ejb/ 18: /jndi-link Ich konnte die Klasse leider auch nicht in den Libaries vom Server finden. Wie kann ich denn das Tutorial auf dem Resin 3.1.1. ausprobieren? Oder gibt es mittlerweile eine analoge Konfiguration in der web.xml für das Beispiel? Über Hilfe wäre ich dankbar, da ich sonst in meiner Arbeit nicht weiter komme... :( Denise -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] (no subject)
Noticed a couple of these in my logs on restart: [07:13:07.565] javax.servlet.ServletException: java.lang.NullPointerException [07:13:07.565] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:618) [07:13:07.565] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154) [07:13:07.565] at com.caucho.server.webapp.Application.start(Application.java:1654) [07:13:07.565] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) [07:13:07.565] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [07:13:07.565] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) [07:13:07.565] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [07:13:07.565] at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670) [07:13:07.565] at com.caucho.server.host.Host.start(Host.java:420) [07:13:07.565] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) [07:13:07.565] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) [07:13:07.565] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509) [07:13:07.565] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153) [07:13:07.565] at com.caucho.server.host.HostContainer.start(HostContainer.java:504) [07:13:07.565] at com.caucho.server.resin.ServletServer.start(ServletServer.java:971) [07:13:07.565] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621) [07:13:07.565] at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56) [07:13:07.565] at com.caucho.server.deploy.DeployController.start(DeployController.java:517) [07:13:07.565] at com.caucho.server.resin.ResinServer.start(ResinServer.java:551) [07:13:07.565] at com.caucho.server.resin.Resin.init(Resin.java) [07:13:07.565] at com.caucho.server.resin.Resin.main(Resin.java:625) [07:13:07.565] Caused by: java.lang.NullPointerException [07:13:07.565] at java.io.File.init(File.java:222) [07:13:07.565] at com.frequencygroup.database.configFactory.init(configFactory.java:51) [07:13:07.565] at com.frequencygroup.database.configFactory.init(configFactory.java:27) [07:13:07.565] at com.frequencygroup.database.configFactory.getInstance(configFactory.java:35) [07:13:07.565] at com.frequencygroup.sitemanager.userManager.init(userManager.java:30) [07:13:07.565] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:646) [07:13:07.565] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:587) [07:13:07.565] ... 20 more ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] (no subject)
You should check the configFactory class, as it seems it's causing a NPE due to not initialising correctly a File path. D. sksamuel escribió: Noticed a couple of these in my logs on restart: ... [07:13:07.565] Caused by: java.lang.NullPointerException [07:13:07.565] at java.io.File.init(File.java:222) [07:13:07.565] at com.frequencygroup.database.configFactory.init(configFactory.java:51) [07:13:07.565] at com.frequencygroup.database.configFactory.init(configFactory.java:27) [07:13:07.565] at com.frequencygroup.database.configFactory.getInstance(configFactory.java:35) [07:13:07.565] at com.frequencygroup.sitemanager.userManager.init(userManager.java:30) ... ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest