users@glassfish.java.net

Re: EJB is confused what it is seeing?

From: <glassfish_at_javadesktop.org>
Date: Wed, 22 Aug 2007 15:12:12 PDT

Okay, I've made the changes to the class and used a positional parameter for a name query. However, this has not achieved a successful response from the database or the application server.

[code]
Caused by: Exception [TOPLINK-8006] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EJBQLException
Exception Description: A problem was encountered resolving the class name - The descriptor for [DateType] was not found.
        at oracle.toplink.essentials.exceptions.EJBQLException.missingDescriptorException(EJBQLException.java:158)
[/code]

I am looking at the server log file and I do not see anything that would cause me alarm involving the Class or table. The only thing I see that concerns me is this:

[code]
[#|2007-08-22T16:51:47.468-0500|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/glassfish/domains/domain1/applications/j2ee-apps/MyProject/MyProjectEJB_jar/-MyEJBPU.connection|_ThreadID=12;_ThreadName=httpWorkerThread-8080-0;DatabaseLogin(
        platform=>MySQL4Platform
        user name=> "my_user"
        connector=>JNDIConnector datasource name=>null
);|connecting|#]

[#|2007-08-22T16:51:48.220-0500|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/glassfish/domains/domain1/applications/j2ee-apps/MyProject/MyProjectEJB_jar/-MyEJBPU.connection|_ThreadID=12;_ThreadName=httpWorkerThread-8080-0;jdbc:mysql://:3306/;my_user_at_localhost;MySQL;5.0.45-community-nt;MySQL-AB JDBC Driver;mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ );
        ;|connected_user_database_driver|#]

[#|2007-08-22T16:51:48.220-0500|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/glassfish/domains/domain1/applications/j2ee-apps/MyProject/MyProjectEJB_jar/-MyEJBPU.connection|_ThreadID=12;_ThreadName=httpWorkerThread-8080-0;DatabaseLogin(
        platform=>MySQL4Platform
        user name=> "my_user"
        connector=>JNDIConnector datasource name=>null
);|connecting|#]

[#|2007-08-22T16:51:48.220-0500|CONFIG|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/glassfish/domains/domain1/applications/j2ee-apps/MyProject/MyProjectEJB_jar/-MyEJBPU.connection|_ThreadID=12;_ThreadName=httpWorkerThread-8080-0;jdbc:mysql://:3306/;my_user_at_localhost;MySQL;5.0.45-community-nt;MySQL-AB JDBC Driver;mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ );
        ;|connected_user_database_driver|#]
[/code]

While this is not the root problem, it may be my next problem. Is there a reason why the connector would be null?
[Message sent by forum member 'russ_ray' (russ_ray)]

http://forums.java.net/jive/thread.jspa?messageID=232140