Mantis Bugtracker
  

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

- Relationships

- Notes
(0002379)
nam
10-23-07 19:46

php/1401

regression issue
 

- Issue History
Date Modified Username Field Change
10-23-07 15:40 mo New Issue
10-23-07 19:32 nam Status new => assigned
10-23-07 19:32 nam Assigned To  => nam
10-23-07 19:46 nam Status assigned => closed
10-23-07 19:46 nam Note Added: 0002379
10-23-07 19:46 nam Resolution open => fixed
10-23-07 19:46 nam Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker