4 Replies Latest reply on Oct 31, 2007 1:42 PM by Richard Opalka

    Stack Overflow while deploing JBossWS  2.0 web services [ on

    ravi nittur Newbie

      Hi

      I have RPC/literal style APIs that access data model that has more than 500 classes. I generated the wsdl that imported types from multiple XSDs.
      These XSDs itself imported from other XSDs [ a complex graph of interdependencies].

      When I deploy the war file with this, i get the stack overflow. Any insight or help is appreciated.

      thnks
      ravi n

      13:33:38,990 INFO [TomcatDeployer] deploy, ctxPath=/jaxws-samples-webservice02-jse, warUrl=.../tmp/deploy/tmp37729jaxws-samples-webservice0
      2-jse-exp.war/
      13:33:40,011 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Project/JBoss/jboss-4.2.0.GA/server/default/data/wsdl/jaxws-samples-webse
      rvice02-jse.war/TestService.wsdl
      13:34:03,949 ERROR [MainDeployer] Could not start deployment: file:/C:/Project/JBoss/jboss-4.2.0.GA/server/default/deploy/jaxws-samples-webs
      ervice02-jse.war
      java.lang.StackOverflowError
      at java.lang.String.indexOf(String.java:1352)
      at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:127)
      at org.jboss.net.protocol.file.Handler.parseURL(Handler.java:47)
      at java.net.URL.(URL.java:596)
      at java.net.URL.(URL.java:464)
      at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:881)
      at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:871)
      at sun.misc.URLClassPath.findResource(URLClassPath.java:142)
      at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
      at java.lang.ClassLoader.getResource(ClassLoader.java:977)
      at org.jboss.ws.integration.ResourceLoaderAdapter.findChild(ResourceLoaderAdapter.java:97)
      at org.jboss.wsf.spi.deployment.UnifiedDeploymentInfo.getMetaDataFileURL(UnifiedDeploymentInfo.java:98)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:210)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)
      at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:225)