[jboss-dev-forums] [JBoss ESB Development] - Cyclic import in the inXSD

sang visu do-not-reply at jboss.com
Wed Jan 16 15:36:19 EST 2013


sang visu [https://community.jboss.org/people/sangvi] created the discussion

"Cyclic import in the inXSD"

To view the discussion, visit: https://community.jboss.org/message/792443#792443

--------------------------------------------------------------
I am new to web services and have a question. 

I have an xsd which imports other xsds and also it has some cyclic imports. 

I have this following configuration in my jboss-esb.xml

 <service category="TEST" description="Validate" name="Validate">
                       <listeners>
                                  <http-gateway busidref="httpChannel" name="httpValidate"
                                   payloadAs="STRING" urlPattern="/validate"/>
                                  <jms-listener busidref="Bus-Validate" is-gateway="false"
                                   maxThreads="10" name="Bus-Validate"/>
                       </listeners>


                       <actions mep="RequestResponse" webservice="true" 
                                           inXsd="/schemas/Validate/XMLschemas/constraint/XMLschemas/exchange/ExchangeModel.xsd"
                                        outXsd="/schemas/Validate/XMLschemas/constraint/XMLschemas\exchange/ExchangeModel.xsd" validate="false"
                                         >
                        <!-- log request -->
                                  <action class="org.jboss.soa.esb.actions.LogAction" name="logValidateSCIDID">
                             ...
     </action>
                       </actions>
            </service>


When deploying this application in the jboss server, it gives  out of memeory error

Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
          at java.util.Arrays.copyOf(Arrays.java:2734)
          at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
          at java.util.ArrayList.add(ArrayList.java:351)
          at org.jboss.virtual.plugins.vfs.helpers.PathTokenizer.getTokens(PathTokenizer.java:123)
          at org.jboss.virtual.plugins.vfs.helpers.PathTokenizer.applySpecialPathsToTokens(PathTokenizer.java:260)
          at org.jboss.virtual.VFSUtils.stripProtocolToTokens(VFSUtils.java:1087)
          at org.jboss.virtual.VFSUtils.stripProtocol(VFSUtils.java:1103)
          at org.jboss.virtual.plugins.cache.IterableTimedVFSCache.findContext(IterableTimedVFSCache.java:63)
          at org.jboss.virtual.plugins.cache.CombinedVFSCache.findContext(CombinedVFSCache.java:116)
          at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(DefaultVFSRegistry.java:148)
          at org.jboss.virtual.spi.registry.VFSRegistry.getFile(VFSRegistry.java:124)
          at org.jboss.virtual.protocol.AbstractVFSHandler.openConnection(AbstractVFSHandler.java:71)
          at java.net.URL.openConnection(URL.java:945)
          at java.net.URL.openStream(URL.java:1010)
          at org.jboss.util.xml.JBossEntityResolver.resolveSystemIDasURL(JBossEntityResolver.java:493)
          at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:339)
          at org.jboss.ws.core.utils.JBossWSEntityResolver.resolveEntity(JBossWSEntityResolver.java:134)
          at org.jboss.ws.tools.wsdl.WSDLLocatorImpl.getImportInputSource(WSDLLocatorImpl.java:132)
          at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseSchema(JBossWSDLReaderImpl.java:777)
          at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseSchema(JBossWSDLReaderImpl.java:867)


I have no control to change the XSD. Any help is appreciated. 

Thanks
Sang
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792443#792443]

Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130116/f456b6f0/attachment-0001.html 


More information about the jboss-dev-forums mailing list