8 Replies Latest reply on Oct 1, 2009 7:21 PM by Karl Weller

    OutOfMemory exception when loading xml schemas in WSDL

    Alvaro Newbie

      Dear all,

      last week I started a project to that implements a HL7 interface using EJBs 3.0 and annotations. Since the restrictions applied by HL7 to the WSDL semantics are quite strong, I'm forced to manually write the WDSL descriptor and import it using @WebService(wsdlLocation=..).
      The problem is that the messages that I need to exchange are specified in xsd files, which are inserted in the WDSL via the <xsd:include schemaLocation=...> directive.

      When I package my bean with the WSDL and the schemas into a jar file and I deploy it to JBoss (by the way, I'm using JBossAS 4.2.3, JBossWS Native 3.0.4, jdk 1.5_16), I get the following outofmemory exception:

      java.lang.OutOfMemoryError: Java heap space
       at org.apache.xerces.dom.AttributeMap.setNamedItem(Unknown Source)
       at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source)
       at org.apache.xerces.dom.ElementNSImpl.getNamespaceURI(Unknown Source)
       at org.jboss.wsf.common.DOMUtils.getChildElementsAsListIntern(DOMUtils.java:561)
       at org.jboss.wsf.common.DOMUtils.getChildElementsIntern(DOMUtils.java:579)
       at org.jboss.wsf.common.DOMUtils.getChildElements(DOMUtils.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:520)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
       at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:530)
      


      Since it's a Java Heap Space problem, I've tried to execute the AS with the options "-Xms256m -Xmx1024m -XX:PermSize=512m", but it doesn't matter how much memory I assign, as the deployment process consumes all available RAM.

      I've also tried to update the Xerces library to the last version (2.9.1), but it didn't help either.
      Trying to figure out what the stack is doing with my jar, I looked at the log file generated by the server


      2008-12-02 16:55:24,116 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3] START buildMetaData: [name=hl7-service-ejb-0.0.1-SNAPSHOT.jar]
      2008-12-02 16:55:24,255 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Using default style: document
      2008-12-02 16:55:24,256 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Using default parameter style: WRAPPED
      2008-12-02 16:55:24,260 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Create new config [name=Standard Endpoint,file=META-INF/standard-jaxws-endpoint-config.xml]
      2008-12-02 16:55:24,264 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] getConfig: [name=Standard Endpoint,url=META-INF/standard-jaxws-endpoint-config.xml]
      2008-12-02 16:55:24,265 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] parse: file:/G:/Servidores/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
      2008-12-02 16:55:24,456 DEBUG [org.jboss.ws.metadata.umdm.EndpointConfigMetaData] Configure EndpointMetaData
      2008-12-02 16:55:24,458 DEBUG [org.jboss.ws.metadata.umdm.EndpointConfigMetaData] Added 1 PRE handlers
      2008-12-02 16:55:24,458 DEBUG [org.jboss.ws.metadata.umdm.EndpointConfigMetaData] Added 0 ENDPOINT handlers
      2008-12-02 16:55:24,458 DEBUG [org.jboss.ws.metadata.umdm.EndpointConfigMetaData] Added 0 POST handlers
      2008-12-02 16:55:24,477 DEBUG [org.jboss.ws.core.jaxws.DynamicWrapperGenerator] Generating wrapper: es.tsb.heartcycle.ejb.jaxws.Invoke
      2008-12-02 16:55:24,513 DEBUG [org.jboss.ws.core.jaxws.DynamicWrapperGenerator] Generating wrapper: es.tsb.heartcycle.ejb.jaxws.InvokeResponse
      2008-12-02 16:55:24,528 DEBUG [org.jboss.ws.core.jaxws.DynamicWrapperGenerator] Generating wrapper: es.tsb.heartcycle.ejb.jaxws.Test
      2008-12-02 16:55:24,529 DEBUG [org.jboss.ws.core.jaxws.DynamicWrapperGenerator] Generating wrapper: es.tsb.heartcycle.ejb.jaxws.TestResponse
      2008-12-02 16:55:24,530 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class es.tsb.heartcycle.ejb.jaxws.Invoke, class es.tsb.heartcycle.ejb.jaxws.InvokeResponse, class es.tsb.heartcycle.ejb.jaxws.Test, class es.tsb.heartcycle.ejb.jaxws.TestResponse],tns=http://ejb.heartcycle.tsb.es/]
      2008-12-02 16:55:24,985 DEBUG [org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse: jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/META-INF/PRPA_AR201102UV01.wsdl
      2008-12-02 16:55:25,102 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/PRPA_IN201101UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/PRPA_IN201101UV01.xsd]
      2008-12-02 16:55:25,109 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,114 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes.xsd]
      2008-12-02 16:55:25,136 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes-base.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes-base.xsd]
      2008-12-02 16:55:25,152 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/voc.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/voc.xsd]
      2008-12-02 16:55:25,291 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/datatypes.xsd]
      2008-12-02 16:55:25,292 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/voc.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/voc.xsd]
      2008-12-02 16:55:25,292 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MCCI_MT000100UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MCCI_MT000100UV01.xsd]
      2008-12-02 16:55:25,298 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,299 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,307 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT040203UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT040203UV01.xsd]
      2008-12-02 16:55:25,313 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,313 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,313 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd]
      2008-12-02 16:55:25,319 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,319 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,319 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030203UV02.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030203UV02.xsd]
      2008-12-02 16:55:25,324 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,325 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,325 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MFMI_MT700701UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MFMI_MT700701UV01.xsd]
      2008-12-02 16:55:25,332 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,332 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,332 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090300UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090300UV01.xsd]
      2008-12-02 16:55:25,338 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,339 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,339 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd]
      2008-12-02 16:55:25,344 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,344 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,345 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd]
      2008-12-02 16:55:25,350 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,350 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,350 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd]
      2008-12-02 16:55:25,356 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,356 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,357 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd]
      2008-12-02 16:55:25,357 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd]
      2008-12-02 16:55:25,357 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090100UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090100UV01.xsd]
      2008-12-02 16:55:25,363 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,363 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,363 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd]
      2008-12-02 16:55:25,364 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd]
      2008-12-02 16:55:25,364 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT070000UV01.xsd]
      2008-12-02 16:55:25,364 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090003UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT090003UV01.xsd]
      2008-12-02 16:55:25,369 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,370 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,370 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd]
      2008-12-02 16:55:25,370 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MCAI_MT900001UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/MCAI_MT900001UV01.xsd]
      2008-12-02 16:55:25,375 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,376 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,377 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/PRPA_MT201101UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/PRPA_MT201101UV01.xsd]
      2008-12-02 16:55:25,384 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,384 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,385 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150003UV03.xsd]
      2008-12-02 16:55:25,385 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150001UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150001UV01.xsd]
      2008-12-02 16:55:25,390 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,390 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,391 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT500000UV04.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT500000UV04.xsd]
      2008-12-02 16:55:25,396 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,396 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,396 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150002UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150002UV01.xsd]
      2008-12-02 16:55:25,401 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,401 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,402 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030202UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030202UV01.xsd]
      2008-12-02 16:55:25,407 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,408 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,408 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030000UV04.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030000UV04.xsd]
      2008-12-02 16:55:25,413 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/infrastructureRoot.xsd]
      2008-12-02 16:55:25,414 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/NarrativeBlock.xsd]
      2008-12-02 16:55:25,414 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150000UV02.xsd]
      2008-12-02 16:55:25,414 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT500000UV04.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT500000UV04.xsd]
      2008-12-02 16:55:25,415 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150002UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT150002UV01.xsd]
      2008-12-02 16:55:25,415 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030202UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT030202UV01.xsd]
      2008-12-02 16:55:25,415 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd]
      2008-12-02 16:55:25,415 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd,sysid=jar:file:/G:/Servidores/jboss-4.2.3.GA/server/default/tmp/deploy/tmp64268hl7-service-ejb-0.0.1-SNAPSHOT.jar!/schemas/NE2006/multicacheschemas/COCT_MT710000UV01.xsd]
      


      It seems that is loading the same schemas (NarrativeBlock.xsd, infrastructureRoot.xsd, voc.xsd, datatypes.xsd and datataypes-base.xsd) again and again. As those ones define the all the datatypes and vocabularies used by the HL7 standard, the are quite big, but not so much to make use of more than 1 GB in memory. I don't know whether this could be a BUG in the stack or not, but I've tried to make all the modifications possible to the project (change dependences, play aorund with annotations and configuration parameters, expose the WS from POJOs instead of EJBs, etc...) and installed the latest versions of JBossWS, JBossAS, Xerces, JAXB, etc... but the error is always present.

      I attach my wsdl and EJB in case anyone can figure out what's happening.

      The WSDL:
      <?xml version="1.0" encoding="UTF-8"?>
      <definitions name="PRPA_AR201102UV01"
       targetNamespace="urn:hl7-org:v3"
       xmlns:hl7="urn:hl7-org:v3"
       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       xmlns="http://schemas.xmlsoap.org/wsdl/">
       <documentation>
       WSDL Implementation of ...
       </documentation>
       <types>
       <xsd:schema targetNamespace="urn:hl7-org:v3"
       elementFormDefault="qualified"
       xmlns:tns="urn:hl7-org:v3">
       <xsd:include schemaLocation="../schemas/NE2006/multicacheschemas/PRPA_IN201101UV01.xsd"/>
      
       <xsd:element name="PRPA_AR201102UV01_New_PatientLivingSubject_Added_PRPA_IN201101UV01.Message"
       type="tns:PRPA_IN201101UV01.MCCI_MT000100UV01.Message"/>
       </xsd:schema>
       </types>
       <message name="PRPA_IN201101UV01_Message">
       <documentation>PRPA_IN201101UV01 New PatientLivingSubject Added </documentation>
       <part name="body" element="hl7:PRPA_IN201101UV01"></part>
       </message>
      
       <portType name="PRPA_AR201102UV01_PortType">
       <operation name="PRPA_AR201102UV01_PRPA_IN201101UV01">
       <input message="hl7:PRPA_IN201101UV01_Message"/>
       </operation>
       </portType>
      
       <binding name="PRPA_AR201102UV01_Binding" type="hl7:PRPA_AR201102UV01_PortType">
       <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
       <operation name="PRPA_AR201102UV01_PRPA_IN201101UV01">
       <soap:operation soapAction="urn:hl7-org:v3:PRPA_IN201101UV01"/>
       <input>
       <soap:body use="literal"/>
       </input>
       </operation>
       </binding>
      
       <service name="PRPA_AR201102UV01_Service">
       <port name="PRPA_AR201102UV01_Port" binding="hl7:PRPA_AR201102UV01_Binding">
       <soap:address location="http://localhost:8080/PRPA_AR201102UV01"/>
       </port>
       </service>
      </definitions>
      


      The EJB:
      package es.tsb.heartcycle.ejb;
      
      import javax.ejb.Stateless;
      import javax.jws.Oneway;
      import javax.jws.WebMethod;
      import javax.jws.WebService;
      
      
      @WebService(wsdlLocation="META-INF/PRPA_AR201102UV01.wsdl")
      @Stateless()
      public class PatientLivingSubjectComprehensiveTrackerBean {
      
       @WebMethod
       @Oneway
       public void test(String xml){return;}
      
      }
      


      Thanks in advance for your help.

        • 1. Re: OutOfMemory exception when loading xml schemas in WSDL
          Brett Schmoll Newbie

          It looks to me like there are a number of message types that are being parsed that don't seem relevant to the WSDL, MCCI_MT000100UV01.xsd, COCT_MT040203UV01.xsd. I assume each of these also have references to the datatypes.xsd, voc.xsd and the other base schema's, which is why there are numerous references to them. I would hope that those definitions would be cached and not be loaded into memory multiple times, but given the OutOfMemoryException that may be what is occuring.

          I don't know how you're packaging the HL7 schemas, but you could try reducing the number of schemas down to the message type your actually interested in, which appears to be the PRPA_IN201101UV01, plus base schema's.

          That might workaround the OutOfMemoryException.

          • 2. Re: OutOfMemory exception when loading xml schemas in WSDL
            Alvaro Newbie

            First of all, thank you for your quick response.

            "bschmoll1" wrote:

            I don't know how you're packaging the HL7 schemas, but you could try reducing the number of schemas down to the message type your actually interested in, which appears to be the PRPA_IN201101UV01, plus base schema's.

            Yes, PRPA_IN201101UV01 is the schema that contains the message definition, but it has dependences on the other schemas, so I cannot reduce the number with getting a deployment exception because the deployer cannot locate referenced resources. I'm packaging them as resources in the jar file, so they are available when the deployment is done.

            "bschmoll1" wrote:
            It looks to me like there are a number of message types that are being parsed that don't seem relevant to the WSDL, MCCI_MT000100UV01.xsd, COCT_MT040203UV01.xsd. I assume each of these also have references to the datatypes.xsd, voc.xsd and the other base schema's, which is why there are numerous references to them. I would hope that those definitions would be cached and not be loaded into memory multiple times, but given the OutOfMemoryException that may be what is occuring.

            I guess the cache is not working and the stack is loading the same schemas a lot of times.

            If it is a problem of memory, it is a high issue, as this example implements a really simple use case out of the more than 1000 available. JBossWS should be able to deal with the total amount of data loaded from shemas (less than 2 Mb), which I don't know end up in more than 1 Gb when exploded into memory.


            Again, thank you very much.






            • 3. Re: OutOfMemory exception when loading xml schemas in WSDL
              Alvaro Newbie

              Well, I think I've discovered the problem: there's a BUG in WSDL11Reader.java. When there are circular references in schemas, it creates an infginite loop.

              Somehow I managed to solve it by adding a check just after a new schema include is processed. The followwing code shows what I've included in bold text:

              ...
               
              //Map of <locationURL,URL> to handle circular references in schema import
               private Map<String,URL> schemaImportMap = new HashMap<String, URL>();
              ...
              
              private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element schemaEl) throws IOException, WSDLException
               {
               System.out.println("processSchemaInclude: añadiendo nuevo esquema: "+wsdlLoc.toString());
               if (wsdlLoc == null)
               throw new IllegalArgumentException("Cannot process iclude, parent location not set");
              
               File tmpFile = null;
               if (wsdlLoc == null)
               throw new IllegalArgumentException("Cannot process include, parent location not set");
              
               log.trace("processSchemaInclude: " + wsdlLoc);
              
               String schemaPrefix = schemaEl.getPrefix();
              
               String importTag = (schemaPrefix == null) ? "import" : schemaPrefix + ":import";
               Element importElement = schemaEl.getOwnerDocument().createElementNS(Constants.NS_SCHEMA_XSD, importTag);
               importElement.setAttribute("namespace", Constants.URI_SOAP11_ENC);
               schemaEl.insertBefore(importElement, DOMUtils.getFirstChildElement(schemaEl));
              
               // Handle schema includes
               Iterator it = DOMUtils.getChildElements(schemaEl, new QName(Constants.NS_SCHEMA_XSD, "include"));
               while (it.hasNext())
               {
               Element includeEl = (Element)it.next();
               String location = getOptionalAttribute(includeEl, "schemaLocation");
               if (location == null)
               throw new IllegalArgumentException("schemaLocation is null for xsd:include");
              
               URL locationURL = getLocationURL(wsdlLoc, location);
              
               if(!schemaImportMap.containsKey(location)){
               schemaImportMap.put(location, locationURL);
               Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream());
               URL newloc = processSchemaInclude(types, locationURL, rootElement);
               if (newloc != null)
               includeEl.setAttribute("schemaLocation", newloc.toExternalForm());
               
               }else{
               includeEl.setAttribute("schemaLocation", schemaImportMap.get(location).toExternalForm());
               }
              
               }
              
               String targetNS = getOptionalAttribute(schemaEl, "targetNamespace");
               if (targetNS != null)
               {
               log.trace("processSchemaInclude: [targetNS=" + targetNS + ",parentURL=" + wsdlLoc + "]");
              
               tmpFile = SchemaUtils.getSchemaTempFile(targetNS);
               tempFiles.add(tmpFile);
              
               FileWriter fwrite = new FileWriter(tmpFile);
               new DOMWriter(fwrite).setPrettyprint(true).print(schemaEl);
               fwrite.close();
              
               schemaLocationsMap.put(targetNS, tmpFile.toURL());
               }
              
               // schema elements that have no target namespace are skipped
               //
               // <xsd:schema>
               // <xsd:import namespace="http://org.jboss.webservice/example/types" schemaLocation="Hello.xsd"/>
               // <xsd:import namespace="http://org.jboss.webservice/example/types/arrays/org/jboss/test/webservice/admindevel" schemaLocation="subdir/HelloArr.xsd"/>
               // </xsd:schema>
               if (targetNS == null)
               {
               log.trace("Schema element without target namespace in: " + wsdlLoc);
               }
              
               handleSchemaImports(schemaEl, wsdlLoc);
              
               return tmpFile != null ? tmpFile.toURL() : null;
               }
              ...
              


              With this simple modification I've solved the OutOfMemory issue, but I haven't gone so far, so I don't know if the webservice will be working in the end.

              As soon as I make tests I'll post the results.

              • 4. Re: OutOfMemory exception when loading xml schemas in WSDL
                Alvaro Newbie

                Unfortunately, the modifications posted were not enough, as I always got one schema with a null schemalocation in the include tag. I've solved it by adding a couple of methods, but the code is quite disperse to post it in the forum.

                I've tried to open an issue in JIRA but I'm not registered and I couldn't, so, can anyone tell me how to notify the bug and send the fixed code?

                Thanks

                • 5. Re: OutOfMemory exception when loading xml schemas in WSDL
                  Brett Schmoll Newbie

                  You should be able to access JIRA with the same credentials as your forum credentials, at least that was how I did. Nice catch on the bug.

                  • 7. Re: OutOfMemory exception when loading xml schemas in WSDL
                    Alessio Soldano Master

                    Thanks for the jira issue and the proposed solution; I've just scheduled it for 3.0.6.GA.
                    Link for cross-reference: https://jira.jboss.org/jira/browse/JBWS-2411

                    • 8. Re: OutOfMemory exception when loading xml schemas in WSDL
                      Karl Weller Newbie

                      Still had issues with deploying complex hl7 webservice. Here is a patch to WSDL11Reader (version 3.1.1) that solved my HL7V3 issues:

                      --- WSDL11Reader.java 2009-09-25 13:06:36.847867600 -0400
                      +++ WSDL11Reader.java.new 2009-10-01 18:46:58.741045900 -0400
                      @@ -145,6 +145,8 @@
                      
                       // Temporary files used by this reader.
                       private List<File> tempFiles = new ArrayList<File>();
                      + private Map<String, String> publocation = new HashMap<String, String>();
                      + private List<String> published = new ArrayList<String>();
                      
                       // SWA handling
                       private Map<QName, List<String>> skippedSWAParts = new HashMap<QName, List<String>>();
                      @@ -423,7 +425,6 @@
                       String localname = domElementClone.getLocalName();
                       try
                       {
                      - List<URL> published = new LinkedList<URL>();
                       if ("import".equals(localname))
                       {
                       processSchemaImport(destTypes, wsdlLoc, domElementClone, published);
                      @@ -436,8 +437,8 @@
                       {
                       throw new IllegalArgumentException("Unsuported schema element: " + localname);
                       }
                      - published.clear();
                      - published = null;
                      +// published.clear();
                      +// published = null;
                       }
                       catch (IOException e)
                       {
                      @@ -529,7 +530,7 @@
                       }
                       }
                      
                      - private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element importEl, List<URL> published) throws IOException, WSDLException
                      + private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element importEl, List<String> published) throws IOException, WSDLException
                       {
                       if (wsdlLoc == null)
                       throw new IllegalArgumentException("Cannot process import, parent location not set");
                      @@ -542,16 +543,25 @@
                      
                       URL locationURL = getLocationURL(wsdlLoc, location);
                       Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream());
                      - if (!published.contains(locationURL))
                      + if (!published.contains(locationURL.toExternalForm()))
                       {
                      - published.add(locationURL);
                      + published.add(locationURL.toExternalForm());
                       URL newloc = processSchemaInclude(types, locationURL, rootElement, published);
                      - if (newloc != null)
                      + if (newloc != null) {
                       importEl.setAttribute("schemaLocation", newloc.toExternalForm());
                      + publocation.put(locationURL.toExternalForm(), newloc.toExternalForm());
                      + }
                      + }
                      + else {
                      + if (publocation.containsKey(locationURL.toExternalForm())) {
                      + if (publocation.get(locationURL.toExternalForm()) != null) {
                      + importEl.setAttribute("schemaLocation", (String)publocation.get(locationURL));
                      + }
                      + }
                       }
                       }
                      
                      - private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element schemaEl, List<URL> published) throws IOException, WSDLException
                      + private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element schemaEl, List<String> published) throws IOException, WSDLException
                       {
                       if (wsdlLoc == null)
                       throw new IllegalArgumentException("Cannot process iclude, parent location not set");
                      @@ -580,12 +590,21 @@
                      
                       URL locationURL = getLocationURL(wsdlLoc, location);
                       Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream());
                      - if (!published.contains(locationURL))
                      + if (!published.contains(locationURL.toExternalForm()))
                       {
                      - published.add(locationURL);
                      + published.add(locationURL.toExternalForm());
                       URL newloc = processSchemaInclude(types, locationURL, rootElement, published);
                      - if (newloc != null)
                      + if (newloc != null) {
                       includeEl.setAttribute("schemaLocation", newloc.toExternalForm());
                      + publocation.put(locationURL.toExternalForm(),newloc.toExternalForm());
                      + }
                      + }
                      + else {
                      + if (publocation.containsKey(locationURL.toExternalForm())) {
                      + if (publocation.get(locationURL.toExternalForm()) != null) {
                      + includeEl.setAttribute("schemaLocation", (String)publocation.get(locationURL));
                      + }
                      + }
                       }
                       }