Issue Details (XML | Word | Printable)

Key: GLASSFISH-11371
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shalini
Reporter: Shalini
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

Messages not logged from DataSourceObjectBuilder

Created: 28/Dec/09 10:05 PM   Updated: 28/Dec/09 11:50 PM   Resolved: 28/Dec/09 11:50 PM
Component/s: jdbc
Affects Version/s: V3
Fix Version/s: V3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: Linux


Issuezilla Id: 11,371
Tags:
Participants: Shalini


 Description  « Hide

When an invalid classname is specified via xml for a datasource, the appropriate
log message from DataSourceObjectBuilder is not logged.

WARNING: Can not find resource bundle for this logger. class name that failed:
com.sun.gjc.common.DataSourceObjectBuilder



Shalini added a comment - 28/Dec/09 11:50 PM

There is no LogStrings.properties file under
src/main/resources/com/sun/gjc/common directory. DataSourceObjectBuilder is
modified to use com.sun.gjc.util.MethodExecutor.class for the logger to log
messages. Fixing this issue.

Sending
jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/DataSourceObjectBuilder.java
Sending
jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnectionFactory.java
Sending
jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/spi/LogStrings.properties
Sending
jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/util/LogStrings.properties
Transmitting file data ....
Committed revision 35177.