users@glassfish.java.net

Re: Glassfish V2: ResourceAdapter JavaBean of JCA-Connector instantiated twice

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Jun 2007 04:43:56 PDT

Hi,

here are the two stack traces:

[#|2007-06-26T13:20:39.704+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=8295d089-439d-44b7-b33f-6dc8c8058060;|java.lang.Throwable
        at net.fsc.jca.beanconnect.ResourceAdapterJBImpl.init(ResourceAdapterJBImpl.java:417)
        at net.fsc.jca.beanconnect.ResourceAdapterJBImpl.<init>(ResourceAdapterJBImpl.java:406)
        at net.fsc.jca.beanconnect.UtmResourceAdapter.<init>(UtmResourceAdapter.java:58)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:66)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:287)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:432)
        [b]at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.reCreateActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:461)[/b]
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.addResourceAdapterConfig(ResourceAdapterAdminServiceImpl.java:496)
        at com.sun.enterprise.connectors.ConnectorRuntime.addResourceAdapterConfig(ConnectorRuntime.java:564)
        at com.sun.enterprise.resource.ResourceAdapterConfigDeployer.deployResource(ResourceAdapterConfigDeployer.java:50)
        at com.sun.enterprise.server.ResourcesLoader.load(ResourcesLoader.java:86)
        [b]at com.sun.enterprise.server.ConnectorResourcesLoader.loadRAConfigs(ConnectorResourcesLoader.java:95)[/b]
        [b]at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:174)[/b]
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
|#]


[#|2007-06-26T13:20:55.057+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|info: INFO - BCS00018I: ***************** The Resource Adapter ++VERSION++ openUTM has been stopped


[#|2007-06-26T13:20:55.182+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=8295d089-439d-44b7-b33f-6dc8c8058060;|
java.lang.Throwable
        at net.fsc.jca.beanconnect.ResourceAdapterJBImpl.init(ResourceAdapterJBImpl.java:417)
        at net.fsc.jca.beanconnect.ResourceAdapterJBImpl.<init>(ResourceAdapterJBImpl.java:406)
        at net.fsc.jca.beanconnect.UtmResourceAdapter.<init>(UtmResourceAdapter.java:58)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:66)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:287)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:432)
        [b]at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.reCreateActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:457)[/b]
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.addResourceAdapterConfig(ResourceAdapterAdminServiceImpl.java:496)
        at com.sun.enterprise.connectors.ConnectorRuntime.addResourceAdapterConfig(ConnectorRuntime.java:564)
        at com.sun.enterprise.resource.ResourceAdapterConfigDeployer.deployResource(ResourceAdapterConfigDeployer.java:50)
        at com.sun.enterprise.server.ResourcesLoader.load(ResourcesLoader.java:86)
        [b]at com.sun.enterprise.server.ConnectorResourcesLoader.load(ConnectorResourcesLoader.java:81)[/b]
        [b]at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:187)[/b]
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
|#]

The differences in the two stacks are marked bold.

Thank you for your support,

CTee
[Message sent by forum member 'ctee' (ctee)]

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