users@glassfish.java.net

Re: Structure of RAR file containing JCA adapter

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Sep 2007 16:04:20 PDT

Yes, the exception is

[#|2007-09-18T08:49:37.199+1000|SEVERE|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;com.intecbilling.connector.SVResourceAdapter;_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|RAR6001 : Class Not found : com.intecbilling.connector.SVResourceAdapter|#]

[#|2007-09-18T08:49:37.204+1000|SEVERE|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|
com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:118)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:300)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:445)
        at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:224)
        at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:118)
        at com.sun.enterprise.server.ConnectorModuleLoader.doLoad(ConnectorModuleLoader.java:142)
        at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:243)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:145)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.realDeployed(StandAloneConnectorModulesManager.java:323)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAloneConnectorModulesManager.java:460)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:267)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:964)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:951)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:173)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:223)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
        at com.sun.enterprise.deployment.phasing.ResourceAdapterStartPhase.runPhase(ResourceAdapterStartPhase.java:127)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:577)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:621)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
        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:597)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:631)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:562)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:803)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Caused by: java.lang.ClassNotFoundException: com.intecbilling.connector.SVResourceAdapter
        at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:222)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:79)
        ... 76 more
|#]

[#|2007-09-18T08:49:37.218+1000|WARNING|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|Failed to load the rar
com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:118)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:300)
        at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:445)
        at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:224)
        at com.sun.enterprise.server.ConnectorModuleLoader.load(ConnectorModuleLoader.java:118)
        at com.sun.enterprise.server.ConnectorModuleLoader.doLoad(ConnectorModuleLoader.java:142)
        at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:243)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:145)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.realDeployed(StandAloneConnectorModulesManager.java:323)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAloneConnectorModulesManager.java:460)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:267)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:964)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:951)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:173)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:223)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
        at com.sun.enterprise.deployment.phasing.ResourceAdapterStartPhase.runPhase(ResourceAdapterStartPhase.java:127)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:577)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:621)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
        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:597)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:631)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:562)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:803)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Caused by: java.lang.ClassNotFoundException: com.intecbilling.connector.SVResourceAdapter
        at com.sun.enterprise.util.ConnectorClassLoader.loadClass(ConnectorClassLoader.java:222)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:79)
        ... 76 more
|#]

[#|2007-09-18T08:49:37.228+1000|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|core.error_while_loading_connector_module svConnector|#]

[#|2007-09-18T08:49:37.253+1000|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|com.sun.enterprise.admin.event.AdminEventListenerException: Error while loading connector module [svConnector]
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:190)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.realDeployed(StandAloneConnectorModulesManager.java:323)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleEnabled(StandAloneConnectorModulesManager.java:460)
        at com.sun.enterprise.server.StandAloneConnectorModulesManager.moduleDeployed(StandAloneConnectorModulesManager.java:267)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:964)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:951)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:173)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:223)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
        at com.sun.enterprise.deployment.phasing.ResourceAdapterStartPhase.runPhase(ResourceAdapterStartPhase.java:127)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:577)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:621)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
        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:597)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
        at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
        at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
        at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:631)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:562)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:803)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
|#]

[#|2007-09-18T08:49:37.270+1000|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;Error while loading connector module [svConnector];_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|ADM5603:Event listener error [Error while loading connector module [svConnector]]|#]

[#|2007-09-18T08:49:37.280+1000|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;Error while loading connector module [svConnector];_RequestID=2f17a22d-d708-4ac3-9b57-f8ea9bc302b0;|ADM1075:Error on listening event:[Error while loading connector module [svConnector]]|#]


So, it's looking for my ResourceAdapter implementation. The structure of my rar file is

     0 Tue Sep 18 08:49:12 EST 2007 META-INF/
   106 Tue Sep 18 08:49:10 EST 2007 META-INF/MANIFEST.MF
  3277 Tue Sep 18 08:49:10 EST 2007 META-INF/ra.xml
 88978 Tue Sep 18 08:49:10 EST 2007 svConnector-ra.jar


and the structure of the svConnector-ra.jar file (which contains the SVResourceAdapter class in question) is

     0 Tue Sep 18 08:49:12 EST 2007 META-INF/
   106 Tue Sep 18 08:49:10 EST 2007 META-INF/MANIFEST.MF
     0 Tue Sep 18 08:49:10 EST 2007 com/
     0 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/
     0 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/
     0 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/
     0 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/util/
  1303 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/AbstractLocalTransaction.class
   462 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/ExecutableInteraction.class
  3088 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnection.class
  3225 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnectionFactory.class
   880 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnectionManager.class
  1116 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnectionMetaData.class
  2281 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnectionRequestInfo.class
  1186 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVConnectionSpec.class
  2320 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVInteraction.class
  1581 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVLocalTransactionCCI.class
  1170 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVLocalTransactionSPI.class
 14883 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVManagedConnection.class
 10067 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVManagedConnectionFactory.class
  1124 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVManagedConnectionMetaData.class
  6820 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVResourceAdapter.class
  2044 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/SVResourceAdapterMetaData.class
  6499 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/ServerDetails.class
  1478 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/TreEventActivationSpec.class
  1504 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/TreEventHandlerImpl.class
   263 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/TreEventListener.class
  3283 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/TreEventWorker.class
  1896 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/AbstractExecutableInteraction.class 1248 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/RemoveTreEventListener.class
  1767 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/SVIndexedRecord.class
  1827 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/SVMappedRecord.class
  1098 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/SVRecordFactory.class
  1245 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/SetTreEventListener.class
  1567 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/TreEventSubscribe.class
  1417 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/TreEventUnsubscribe.class
  2061 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/interaction/TreVariantCall.class
   744 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/util/RecordUtil.class
   605 Tue Sep 18 08:49:10 EST 2007 com/intecbilling/connector/util/WriterUtil.class


I originally structured this RAR file without the contained svConnector-ra.jar file. Instead, I had all the classes directly contained within the RAR file. And this worked. However, when I tried running the Adapter in another container, I found out that my RAR file wasn't packaged as specified by the spec. As such, it wouldn't run in the other container. So I re-packaged everything like this (a RAR archive containing a JAR archive, with the JAR archive containing the Adapter code). And it worked in the other container, but now not in Glassfish.

I've removed the old code, as well as restarting the server before attempting to re-deploy the new RAR format, but I have not had any lock. Do I need to define anything else in the RAR's manifest (ClassPath)? Or is there something else I need to do?

Thanks for any help,
Ed
[Message sent by forum member 'hildo' (hildo)]

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