2 Replies Latest reply on Jun 14, 2012 7:32 PM by shadowcreeper

    Exploded and non-exploded ear different behavior

    Danilo Brandão Newbie

      Hi,

       

      We are trying to deploy our application in JBoss AS 7.1.1.

       

      Deploying a non-exploded ear we got the following error trying to consume a webservice:

       

      erro:java.util.concurrent.ExecutionException: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element searchParameters.

      [4:57:05 PM BRST] Andrezza C. C. Costa: Caused by: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element searchParameters.

      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)

      at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)

      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)

      at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:596)

      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:673)

      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1645)

      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)

      at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)

      at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)

      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)

      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)

      at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:289)

      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

      at org.apache.axis.client.Call.invoke(Call.java:2767)

      at org.apache.axis.client.Call.invoke(Call.java:2443)

      at org.apache.axis.client.Call.invoke(Call.java:2366)

      at org.apache.axis.client.Call.invoke(Call.java:1812)

       

       

      Our package has the following strucuture

       

      -ear

      --ejb.jar

      --war

      --lib

       

      Getting the SAME ear file, unzipping it (just the ear file, we are keeping the ejb.jar and the war files zipped ), and  deploying it this error DON'T occur.

       

      Why the behavior is different deploying the same ear file in exploded and non-exploded version? Any ideas where we could start to investigate the problem?

      Thanks in advance,

       

      Danilo.