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.

Bug 111237 - SERVER: 0725: Roster app has exceptions at run with b57
Summary: SERVER: 0725: Roster app has exceptions at run with b57
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 111236 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-27 14:27 UTC by nouar38
Modified: 2007-08-23 16:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
oster-stackTrace-server.log (49.70 KB, text/plain)
2007-07-27 18:53 UTC, Nitya Doraisamy
Details
roster executed successfully - server.log (6.29 KB, text/plain)
2007-07-30 20:28 UTC, Nitya Doraisamy
Details
roster executed successfully - ide.log (6.29 KB, text/plain)
2007-07-30 20:30 UTC, Nitya Doraisamy
Details
roster executed successfully - resources domain.xml snippet (1.52 KB, text/plain)
2007-07-30 20:31 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-07-27 14:27:55 UTC
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
Comment 1 nouar38 2007-07-27 14:31:44 UTC
sorry, same exception as the one loggued for Order app in 111236.
Comment 2 Nitya Doraisamy 2007-07-27 18:53:57 UTC
Created attachment 45838 [details]
oster-stackTrace-server.log
Comment 3 Nitya Doraisamy 2007-07-27 18:56:33 UTC
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
Comment 4 Nitya Doraisamy 2007-07-30 20:28:25 UTC
Created attachment 45894 [details]
roster executed successfully - server.log
Comment 5 Nitya Doraisamy 2007-07-30 20:30:19 UTC
Created attachment 45895 [details]
roster executed successfully - ide.log
Comment 6 Nitya Doraisamy 2007-07-30 20:31:04 UTC
Created attachment 45896 [details]
roster executed successfully - resources domain.xml snippet
Comment 7 Nitya Doraisamy 2007-07-30 20:36:55 UTC
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.
Comment 8 Nitya Doraisamy 2007-07-30 21:59:28 UTC
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.
Comment 9 Nitya Doraisamy 2007-07-30 22:00:05 UTC
Upgrade to Appserver build after b57
Comment 10 Nitya Doraisamy 2007-07-30 22:01:24 UTC
*** Issue 111236 has been marked as a duplicate of this issue. ***
Comment 11 nouar38 2007-08-23 16:24:10 UTC
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.