glassfish_at_javadesktop.org wrote:
> Hi
>
> I am trying to test my EAR file under a fresh installed Glassfish ( i am new to Glassfish, worked with JBoss so far). Running the verifier gets me 0 errors, warnings or hints. But after deploying via Admin Web Console I am getting the following messages:
>
> Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy. WARNING: The following file(s) were left(locked) from the previous deployment; they were not updated during this deployment and could interfere with the application: C:\Dokumente und Einstellungen\mortensen\workspaceGlassfish\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv91\v2domain2\applications\j2ee-apps\myproduct\common.jar com.sun.enterprise.deployment....
>
> The logfile tells me the following. Could anyone plz give me a hint what there is to do ?
>
> Timestamp 24.06.2009 11:01:08.010
> Log Level WARNING
> Logger javax.enterprise.system.core.classloading
> Name-Value Pairs _ThreadID=23;_ThreadName=Thread-1307;_RequestID=c73fcbb1-a340-4dfa-a5d0-be547977391d;
> Record Number 8
> Message ID javax.naming.NameNotFoundException
> Complete Message No object bound to name java:myproductdb java.lang.RuntimeException: javax.naming.NameNotFoundException: No object bound to name java:myproductdb at com.sun.enterprise.server.PersistenceUnitInfoImpl._getJtaDataSource(PersistenceUnitInfoImpl.java:283) at
Looks like you used a wrong name as <jta-data-source>. jta-data-source
refers to global JNDI name and hence a name like java:myproductdb seems
incorrect. You need to use the global JNDI name. This is the name you
would have assigned when you created the datasource either using admin
console or using asadmin command.
Sahoo