Anonymous | Login | Signup for a new account | 12-17-2024 08:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002109 | [Quercus] | minor | always | 10-23-07 15:40 | 10-23-07 19:46 | ||||
Reporter | mo | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | low | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0002109: ClassCastException when mysql server is not running | ||||||||
Description |
I am seeing a confusing error message when a PHP application tries to use mysql but it can't connect to the mysql server. 500 Servlet Exception java.lang.ClassCastException: com.caucho.quercus.env.JavaValue at com.caucho.quercus.lib.db.MysqlModule.getConnection(MysqlModule.java:907) at com.caucho.quercus.lib.db.MysqlModule.getConnection(MysqlModule.java:902) at com.caucho.quercus.lib.db.MysqlModule.mysql_error(MysqlModule.java:232) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) A better error message should be displayed in this common error case. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |