This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
07251200 & GF v2 b57 & jdk 1.6 u1 please put against the suitable comp. Roster application used to work as expected before. Now I'm getting in Run exceptions for Oracle TopLink Essentials << there was an exception: TopLink, version: Oracle TopLink Essentials - 2.0 (Build b57-rc (07/25/2007)) Server: unknown file:/javaeetutorial5-1.0_03/javaeetutorial5/examples/ejb/roster/dist/gfdeploy/roster-ejb_jar/-em login successful createLeague java.lang.NullPointerException at com.sun.enterprise.resource.AbstractResourcePool.isNonXAResourceInTransaction(AbstractResourcePool.java:628) at com.sun.enterprise.resource.AbstractResourcePool.isLocalResourceInTransaction(AbstractResourcePool.java:1021) ... etc. >> joining the full stack within an attachment
sorry, same exception as the one loggued for Order app in 111236.
Created attachment 45838 [details] oster-stackTrace-server.log
Attached server.log from Issue 111236 pertaining to Roster App deployment & Run It appears from the exception that there is a mismatch in the datasource type as indicated in stack trace snippet below, java.lang.NullPointerException at com.sun.enterprise.resource.AbstractResourcePool.isNonXAResourceInTransaction(AbstractResourcePool.java:628) at com.sun.enterprise.resource.AbstractResourcePool.isLocalResourceInTransaction(AbstractResourcePool.java:1021) at com.sun.enterprise.resource.AbstractResourcePool.isLocalResourceEligibleForReuse(AbstractResourcePool.java:989) Will investigate
Created attachment 45894 [details] roster executed successfully - server.log
Created attachment 45895 [details] roster executed successfully - ide.log
Created attachment 45896 [details] roster executed successfully - resources domain.xml snippet
Unable to reproduce. I was able to successfully run the Roster App using jdbc/__default datasource. Please attach the jdbc/__default and it's associated connection pool snippet from domain.xml I think the datasource being used by the user is the cause of error. Attached working resource snippet from domain.xml and server & ide.log Closing. Please reopen if you continue to see issue.
Update : Server log from Nuoar indicates b57. I tested with b53 where this the app can be executed successful. Tested again with b57 and this issue is present. Server issue https://glassfish.dev.java.net/issues/show_bug.cgi?id=3395 Has been resolved.
Upgrade to Appserver build after b57
*** Issue 111236 has been marked as a duplicate of this issue. ***
verified in 0820000 & b58c no more exceptions for order app (db table create=false) verified in 0820000 & b58c for roster (db table create=true): *** no more the described exceptions if run before order app & running delete.sql from common *** if run after order or any other examples that needs the db to be poupulated some of the transactions are rolled back. But cannot see any more the exception in isNonXAResource.... Marking the issue as VERIFIED.