Qwertyshoe
|
Posted: October 12, 2009 19:22 by Qwertyshoe
|
|
I'm trying to run NHIN Connect 2.2 on Linux, and I'm using this XDS registry/repo. Everything seemed to deploy all right, but for some reason none of the tests are passing. For a while I was dealing with capitalization issues with the database schema but I think that's all resolved now. I'm not really sure what the problem is, but here's some of the symptoms: 1) Nothing seems to make it into the database except for the data I inserted using the setup scripts. All the jdbc connection pools were created as per the instructions in both the Connect documentation and this site's wiki. 2) I'm seeing a NullPointerException from the Omar Registry that looks like this: [#|2009-10-12T11:03:25.872-0800|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-1;|[12/11:03:25:872] ERROR OmarRegistry **OMAR EXCEPTION**
javax.xml.registry.RegistryException: java.lang.NullPointerException at org.freebxml.omar.server.lcm.LifeCycleManagerImpl.submitObjects(LifeCycleManagerImpl.java:219) at com.vangent.hieos.xutil.registry.OmarRegistry.process(OmarRegistry.java:103) at com.vangent.hieos.xutil.registry.BackendRegistry.submit_to_backend_registry(BackendRegistry.java:144) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.submit_to_backend_registry(SubmitObjectsRequest.java:414) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:351) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:111) at com.vangent.hieos.services.xds.registry.serviceimpl.XDSbRegistry.SubmitObjectsRequest(XDSbRegistry.java:72) 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.vangent.hieos.xutil.services.framework.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:102) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: java.lang.NullPointerException at org.freebxml.omar.server.cache.ClassificationSchemeCache.getClassificationSchemesById(ClassificationSchemeCache.java:257) at org.freebxml.omar.server.cache.ServerCache.getRegistryObject(ServerCache.java:149) at org.freebxml.omar.server.common.ServerRequestContext.checkClassificationNodeRefConstraint(ServerRequestContext.java:1061) at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.getObjectType(RegistryObjectDAO.java:150) at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.getSQLStatementFragmentInternal(RegistryObjectDAO.java:326) at org.freebxml.omar.server.persistence.rdb.RegistryObjectDAO.getSQLStatementFragment(RegistryObjectDAO.java:280) at org.freebxml.omar.server.persistence.rdb.ExtrinsicObjectDAO.getSQLStatementFragment(ExtrinsicObjectDAO.java:125) at org.freebxml.omar.server.persistence.rdb.AbstractDAO.insert(AbstractDAO.java:304) at org.freebxml.omar.server.persistence.rdb.SQLPersistenceManagerImpl.insert(SQLPersistenceManagerImpl.java:498) at org.freebxml.omar.server.lcm.LifeCycleManagerImpl.submitObjects(LifeCycleManagerImpl.java:192) ... 46 more |#] [#|2009-10-12T11:03:25.873-0800|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-1;|[12/11:03:25:873] ERROR OmarRegistry **OMAR EXCEPTION** java.lang.IllegalArgumentException: obj parameter must not be null at javax.xml.bind.helpers.AbstractMarshallerImpl.checkNotNull(AbstractMarshallerImpl.java:417) at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95) at com.vangent.hieos.xutil.registry.OmarRegistry.process(OmarRegistry.java:149) at com.vangent.hieos.xutil.registry.BackendRegistry.submit_to_backend_registry(BackendRegistry.java:144) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.submit_to_backend_registry(SubmitObjectsRequest.java:414) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.SubmitObjectsRequestInternal(SubmitObjectsRequest.java:351) at com.vangent.hieos.services.xds.registry.transactions.SubmitObjectsRequest.submitObjectsRequest(SubmitObjectsRequest.java:111) at com.vangent.hieos.services.xds.registry.serviceimpl.XDSbRegistry.SubmitObjectsRequest(XDSbRegistry.java:72) 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.vangent.hieos.xutil.services.framework.AbstractXDSRawXMLINoutMessageReceiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageReceiver.java:102) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) |
Omar Exception
Replies: 2 - Last Post: October 14, 2009 23:37
by: Qwertyshoe
by: Qwertyshoe
showing 1 - 3 of 3
anandsastry
|
Posted: October 12, 2009 20:06 by anandsastry
|
|
The stack-trace is indicative of a conflict with the file, GlassFishESB/glassfish/lib/ehcache-1.2.3.jar. This file is used both by the OMAR (ebxmlv3) registry, a component of HIEOS, and by CONNECT's default document repository. This conflict occurs if CONNECT 2.2 and HIEOS are deployed in the same domain. This conflict can be addressed by removing the file, GlassFishESB/glassfish/lib/ehcache-1.2.3.jar. HIEOS will then revert to using a version of the conflicting file from with its application scope. |
Qwertyshoe
|
Posted: October 14, 2009 23:37 by Qwertyshoe
|
|
Thanks, that seems to have done the trick! The test cases appear to be passing as expected now. I went ahead and deployed everything in a different domain anyhow, but I still needed to get rid of the file because it was in the global glassfish lib directory. Thanks again for your help. |
Replies: 2 - Last Post: October 14, 2009 23:37
by: Qwertyshoe
by: Qwertyshoe






