Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1655 | minor | always | 03-26-07 07:37 | 03-30-07 16:15 | |
|
|||||
Reporter: | haid | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
Summary: | 0001655: LRU Hashcode NPE on new install in Tomcat | ||||
Description: |
This may be a newbie issue, but I have not found its resolution. It looks like a LRU cache initialization null pointer. I have yet to get Quercus to work on even a trival PHP page. Using JDK 142, with Tomcat 4.1.24 I have the following in my WEB-INF/lib directory: jsr223-api.jar quercus.jar script-10.jar mysql-connector-java-5.0.4-bin.jar resin-util.jar servlet.jar I tried to force a php-ini value based on the "Getting Started with Quercus" and a random hint from the Glassfish installation effort found at http://weblogs.java.net/blog/ludo/archive/2007/03/100_java_quercu.html [^] My web.xml looks like: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> [^] <web-app> <servlet> <servlet-name>quercus</servlet-name> <servlet-class>com.caucho.quercus.servlet.QuercusServlet</servlet-class> <init> <php-ini> <default_mimetype>text/html</default_mimetype> </php-ini> </init> </servlet> <servlet-mapping> <servlet-name>quercus</servlet-name> <url-pattern>*.php</url-pattern> </servlet-mapping> </web-app> |
||||
Steps To Reproduce: | |||||
Additional Information: |
java.lang.NullPointerException at com.caucho.vfs.Path$PathKey.hashCode(Path.java:1405) at com.caucho.util.LruCache.get(LruCache.java:153) at com.caucho.vfs.Path.lookup(Path.java:133) at com.caucho.vfs.Path.lookup(Path.java:111) at com.caucho.quercus.servlet.QuercusServletImpl.getPath(QuercusServletImpl.java:175) at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:88) at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:298) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:613) |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|