Closed arinban closed 6 years ago
@glassfishrobot Commented Reported by saxenaks
@glassfishrobot Commented Was assigned to binod
@glassfishrobot Commented This issue was imported from java.net JIRA GENERICJMSRA-25
Closing this as this issue is migrated to https://github.com/ari-ban/test1/issues/25
Genericjmsra throws following exception when getXAResources() is called
java.lang.ClassCastException: [Ljava.lang.Object; at com.sun.genericra.GenericJMSRA.getXAResources(GenericJMSRA.java:137) at com.sun.enterprise.resource.ResourceInstaller.recoverInboundTransactions(ResourceInstaller.java:789) at com.sun.enterprise.resource.ResourceInstaller.recoverXAResources(ResourceInstaller.java:284) at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:191) at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300) at com.sun.enterprise.server.PEMain.run(PEMain.java:294) at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Following change is needed in GenericJMSRA.java 137c137 < return (XAResource[])xars.toArray(); —