|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2109 | minor | always | 10-23-07 15:40 | 10-23-07 19:46 | |
|
|
|||||
| Reporter: | mo | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | low | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.4 | ||
|
|
|||||
| 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. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||