5 Replies Latest reply on Feb 1, 2007 5:48 PM by lafr

    Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but not

    lafr

      Running the identical code on the current checkout of Branch_4_0 gives me an exception not seen with our current production version JBoss-4.0.4-GA.

      2006-11-20 21:46:32,954 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mbi-ws/mbi2e-lafr-sb2000-ipc/core].[MessageServiceWS]] Servlet.service() for servlet MessageServiceWS threw exception
      java.lang.ExceptionInInitializerError
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:164)
       at org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHandlerRegistry.java:51)
       at org.jboss.ws.xop.XOPUnmarshallerImpl.<clinit>(XOPUnmarshallerImpl.java:59)
       at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:60)
       at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
       at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235)
       at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233)
       at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103)
       at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117)
       at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:94)
       at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
       at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
       at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
       at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp
       at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:292)
       at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:81)
       at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77)
       at org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataContentHandler.java:63)
      


      But we don't use any attachments.
      What's wrong here or what did change here?
      How to avoid this error?


        • 1. Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
          thomas.diesler

          Branch_4_0 is there for maintenance only. Use Branch_4_2.

          Could you pls debug this a little further, I have not seen this.

          • 2. Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
            lafr

            I enabled DEBUG for org.jboss.ws and got this:

            2006-11-28 23:45:49,480 DEBUG [org.jboss.ws.server.StandardEndpointServlet] doPost: /mbi-ws/mbi2e-lafr-sb2000-ipc/core/MessageServic
            eWS
            2006-11-28 23:45:49,488 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContext
            Impl@171cb85
            2006-11-28 23:45:49,525 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=mbi-ws/mbi2e-lafr-sb2000-i
            pc/core,endpoint=MessageServiceWS
            2006-11-28 23:45:49,525 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers
            2006-11-28 23:45:49,547 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
            2006-11-28 23:45:49,547 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null]
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null]
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
            2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null]
            2006-11-28 23:45:49,568 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml]
            2006-11-28 23:45:49,693 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <MessageHead_1><businessProcessId>3</businessPr
            ocessId><hostname>sb2000</hostname><isoLanguageId>de</isoLanguageId><isoLanguageIdDef/><loginBezCreated>mbi</loginBezCreated><messag
            eId>0</messageId><processId>26848</processId><sessionId>763</sessionId><status>0</status><timeCreated>2006-11-28 23:45:49</timeCreat
            ed></MessageHead_1>
            2006-11-28 23:45:49,694 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <MessagePart_2><additionalData/><businessProces
            sTaskId>1</businessProcessTaskId><line>3573</line><messageLines><lineOfText>Start Reorganisation mit folgenden Funktionen:</lineOfTe
            xt></messageLines><messageLines><lineOfText>- L\303\266schen Bestellvorschl\303\244ge</lineOfText></messageLines><messageLines><line
            OfText>- L\303\266schen Propositionskonto, Bestellvorschl\303\244ge -> Neuaufbau</lineOfText></messageLines><messageLines><lineOf
            Text>- Neuaufbau - Dispokonto (mbi_dispo, dispo_serial)</lineOfText></messageLines><messageLines><lineOfText>- Neuaufbau Bedarfsdec
            ker - Dispokonto (mbi_dispo, dispo_serial)</lineOfText></messageLines><messageLines><lineOfText>- Neuaufbau Reservierungen aus Lager
            best\303\244nden (mbi_dires)</lineOfText></messageLines><messageLines><lineOfText>- Neuaufbau Reservierungen aus Fertigungsauft
            r\303\244gen (mbi_dires)</lineOfText></messageLines><messageLines><lineOfText>- Neuaufbau Reservierungen aus Nachbearbeitung (mb
            i_dires)</lineOfText></messageLines><messageLines><lineOfText>- Neuaufbau Reservierungen aus Bestellungen (mbi_dires)</lineOf
            Text></messageLines><messageLines><lineOfText>- Neuaufbau Reservierungen aus Vorabdispo -> Neuaufbau BV</lineOfText></messageLine
            s><messageLines><lineOfText>- Neuaufbau Reservierungen aus Transport (mbi_dires)</lineOfText></messageLines><messageLines>
            <lineOfText>- Anonymisieren Bedarfsdecker</lineOfText></messageLines><messageType/><source>mbi_proini.ec</source><timeCreated>2006-1
            1-28 23:45:49</timeCreated></MessagePart_2>
            2006-11-28 23:45:49,717 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://core.ws.fn.mbisoftware.biz}c
            reateMultiInfo
            2006-11-28 23:45:49,735 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {http://core.ws.fn.mbisoftware.b
            iz}createMultiInfo
            2006-11-28 23:45:49,741 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name=MessageHead_1,value=org.jboss.ws
            .soap.SOAPContentElement]
            2006-11-28 23:45:49,741 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name=MessagePart_2,value=org.jboss.ws
            .soap.SOAPContentElement]
            2006-11-28 23:45:49,742 DEBUG [org.jboss.ws.metadata.OperationMetaData] Get java method for: {http://core.ws.fn.mbisoftware.biz}crea
            teMultiInfo
            2006-11-28 23:45:49,748 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found best matching java method: public abstract biz.mbisoft
            ware.fn.wstypes.ServiceIntegerResponse biz.mbisoftware.fn.ws.core.MessageServiceWSI.createMultiInfo(biz.mbisoftware.fn.wstypes.core.
            MessageHead,biz.mbisoftware.fn.wstypes.core.MessagePart) throws java.rmi.RemoteException
            2006-11-28 23:45:49,748 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerJSE] invokeServiceEndpoint: createMultiInfo
            2006-11-28 23:45:49,749 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestPayload
            2006-11-28 23:45:49,750 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestParamValue: MessageHead_1
            2006-11-28 23:45:49,750 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://core.ws.fn.mbisoftware.biz}Mess
            ageHead,javaType=class biz.mbisoftware.fn.wstypes.core.MessageHead]
            2006-11-28 23:45:49,764 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBDeserializer] deserialize: [xmlName=MessageHead_1,xmlType={http://co
            re.ws.fn.mbisoftware.biz}MessageHead]
            2006-11-28 23:45:50,110 DEBUG [org.jboss.ws.server.ServiceEndpoint] END handleRequest: jboss.ws:context=mbi-ws/mbi2e-lafr-sb2000-ipc
            /core,endpoint=MessageServiceWS
            2006-11-28 23:45:50,124 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.soap.SOAPMessageContextI
            mpl@171cb85
            2006-11-28 23:45:50,128 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mbi-ws/mbi2e-lafr-sb2000-ipc/core].[
            MessageServiceWS]] Servlet.service() for servlet MessageServiceWS threw exception
            java.lang.ExceptionInInitializerError
             at java.lang.Class.forName0(Native Method)
             at java.lang.Class.forName(Class.java:164)
            ...
            


            My wsdl file generated with jwsdp-2.0:
            <?xml version="1.0" encoding="UTF-8"?>
            
            <definitions name="MessageServiceWS" targetNamespace="http://core.ws.fn.mbisoftware.biz" xmlns:tns="http://core.ws.fn.mbisoftware.biz" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
             <types>
             <schema targetNamespace="http://core.ws.fn.mbisoftware.biz" xmlns:tns="http://core.ws.fn.mbisoftware.biz" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
             <complexType name="MessagePart">
             <sequence>
             <element name="additionalData" type="string" nillable="true"/>
             <element name="businessProcessTaskId" type="int" nillable="true"/>
             <element name="line" type="int" nillable="true"/>
             <element name="messageLines" type="tns:MessageLine" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
             <element name="messageType" type="string" nillable="true"/>
             <element name="source" type="string" nillable="true"/>
             <element name="timeCreated" type="string" nillable="true"/></sequence></complexType>
             <complexType name="MessageLine">
             <sequence>
             <element name="lineOfText" type="string" nillable="true"/></sequence></complexType>
             <complexType name="ServiceResponse">
             <sequence>
             <element name="errorCode" type="int" nillable="true"/>
             <element name="errorMessages" type="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
             <element name="numRowsError" type="int" nillable="true"/>
             <element name="numRowsSuccess" type="int" nillable="true"/>
             <element name="numRowsWarning" type="int" nillable="true"/>
             <element name="successMessages" type="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
             <element name="warnMessages" type="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/></sequence></complexType>
             <complexType name="ServiceIntegerResponse">
             <complexContent>
             <extension base="tns:ServiceResponse">
             <sequence>
             <element name="value" type="int" nillable="true"/></sequence></extension></complexContent></complexType>
             <complexType name="MessagePartResponse">
             <complexContent>
             <extension base="tns:ServiceResponse">
             <sequence>
             <element name="messagePart" type="tns:MessagePart" nillable="true"/></sequence></extension></complexContent></complexType>
             <complexType name="MessageHeadResponse">
             <complexContent>
             <extension base="tns:ServiceResponse">
             <sequence>
             <element name="messageHead" type="tns:MessageHead" nillable="true"/></sequence></extension></complexContent></complexType>
             <complexType name="MessageHead">
             <sequence>
             <element name="businessProcessId" type="int" nillable="true"/>
             <element name="hostname" type="string" nillable="true"/>
             <element name="isoLanguageId" type="string" nillable="true"/>
             <element name="isoLanguageIdDef" type="string" nillable="true"/>
             <element name="loginBezCreated" type="string" nillable="true"/>
             <element name="messageId" type="int" nillable="true"/>
             <element name="messageParts" type="tns:MessagePart" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
             <element name="processId" type="int" nillable="true"/>
             <element name="sessionId" type="int" nillable="true"/>
             <element name="status" type="int" nillable="true"/>
             <element name="timeCreated" type="string" nillable="true"/></sequence></complexType>
             <complexType name="ServiceStringResponse">
             <complexContent>
             <extension base="tns:ServiceResponse">
             <sequence>
             <element name="value" type="string" nillable="true"/></sequence></extension></complexContent></complexType>
             <complexType name="LanguageCodes">
             <sequence>
             <element name="codes" type="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/></sequence></complexType></schema></types>
             <message name="MessageServiceWSI_appendDebug">
             <part name="Integer_1" type="xsd:int"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_appendDebugResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_appendError">
             <part name="Integer_1" type="xsd:int"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_appendErrorResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_appendFatal">
             <part name="Integer_1" type="xsd:int"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_appendFatalResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_appendInfo">
             <part name="Integer_1" type="xsd:int"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_appendInfoResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_appendWarn">
             <part name="Integer_1" type="xsd:int"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_appendWarnResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_createMultiDebug">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createMultiDebugResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createMultiError">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createMultiErrorResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createMultiFatal">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createMultiFatalResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createMultiInfo">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createMultiInfoResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createMultiWarn">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createMultiWarnResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createSingleDebug">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createSingleDebugResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createSingleError">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createSingleErrorResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createSingleFatal">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createSingleFatalResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createSingleInfo">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createSingleInfoResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_createSingleWarn">
             <part name="MessageHead_1" type="tns:MessageHead"/>
             <part name="MessagePart_2" type="tns:MessagePart"/></message>
             <message name="MessageServiceWSI_createSingleWarnResponse">
             <part name="result" type="tns:ServiceIntegerResponse"/></message>
             <message name="MessageServiceWSI_getMessageHead">
             <part name="Integer_1" type="xsd:int"/></message>
             <message name="MessageServiceWSI_getMessageHeadResponse">
             <part name="result" type="tns:MessageHeadResponse"/></message>
             <message name="MessageServiceWSI_getMessagePart">
             <part name="Integer_1" type="xsd:int"/>
             <part name="Integer_2" type="xsd:int"/></message>
             <message name="MessageServiceWSI_getMessagePartResponse">
             <part name="result" type="tns:MessagePartResponse"/></message>
             <message name="MessageServiceWSI_getMessagePartsAdditionalDataAsHtml">
             <part name="Integer_1" type="xsd:int"/>
             <part name="Integer_2" type="xsd:int"/>
             <part name="LanguageCodes_3" type="tns:LanguageCodes"/></message>
             <message name="MessageServiceWSI_getMessagePartsAdditionalDataAsHtmlResponse">
             <part name="result" type="tns:ServiceStringResponse"/></message>
             <message name="MessageServiceWSI_setRecipient">
             <part name="Integer_1" type="xsd:int"/>
             <part name="Integer_2" type="xsd:int"/></message>
             <message name="MessageServiceWSI_setRecipientResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <message name="MessageServiceWSI_setStateReady">
             <part name="Integer_1" type="xsd:int"/></message>
             <message name="MessageServiceWSI_setStateReadyResponse">
             <part name="result" type="tns:ServiceResponse"/></message>
             <portType name="MessageServiceWSI">
             <operation name="appendDebug" parameterOrder="Integer_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_appendDebug"/>
             <output message="tns:MessageServiceWSI_appendDebugResponse"/></operation>
             <operation name="appendError" parameterOrder="Integer_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_appendError"/>
             <output message="tns:MessageServiceWSI_appendErrorResponse"/></operation>
             <operation name="appendFatal" parameterOrder="Integer_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_appendFatal"/>
             <output message="tns:MessageServiceWSI_appendFatalResponse"/></operation>
             <operation name="appendInfo" parameterOrder="Integer_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_appendInfo"/>
             <output message="tns:MessageServiceWSI_appendInfoResponse"/></operation>
             <operation name="appendWarn" parameterOrder="Integer_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_appendWarn"/>
             <output message="tns:MessageServiceWSI_appendWarnResponse"/></operation>
             <operation name="createMultiDebug" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createMultiDebug"/>
             <output message="tns:MessageServiceWSI_createMultiDebugResponse"/></operation>
             <operation name="createMultiError" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createMultiError"/>
             <output message="tns:MessageServiceWSI_createMultiErrorResponse"/></operation>
             <operation name="createMultiFatal" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createMultiFatal"/>
             <output message="tns:MessageServiceWSI_createMultiFatalResponse"/></operation>
             <operation name="createMultiInfo" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createMultiInfo"/>
             <output message="tns:MessageServiceWSI_createMultiInfoResponse"/></operation>
             <operation name="createMultiWarn" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createMultiWarn"/>
             <output message="tns:MessageServiceWSI_createMultiWarnResponse"/></operation>
             <operation name="createSingleDebug" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createSingleDebug"/>
             <output message="tns:MessageServiceWSI_createSingleDebugResponse"/></operation>
             <operation name="createSingleError" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createSingleError"/>
             <output message="tns:MessageServiceWSI_createSingleErrorResponse"/></operation>
             <operation name="createSingleFatal" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createSingleFatal"/>
             <output message="tns:MessageServiceWSI_createSingleFatalResponse"/></operation>
             <operation name="createSingleInfo" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createSingleInfo"/>
             <output message="tns:MessageServiceWSI_createSingleInfoResponse"/></operation>
             <operation name="createSingleWarn" parameterOrder="MessageHead_1 MessagePart_2">
             <input message="tns:MessageServiceWSI_createSingleWarn"/>
             <output message="tns:MessageServiceWSI_createSingleWarnResponse"/></operation>
             <operation name="getMessageHead" parameterOrder="Integer_1">
             <input message="tns:MessageServiceWSI_getMessageHead"/>
             <output message="tns:MessageServiceWSI_getMessageHeadResponse"/></operation>
             <operation name="getMessagePart" parameterOrder="Integer_1 Integer_2">
             <input message="tns:MessageServiceWSI_getMessagePart"/>
             <output message="tns:MessageServiceWSI_getMessagePartResponse"/></operation>
             <operation name="getMessagePartsAdditionalDataAsHtml" parameterOrder="Integer_1 Integer_2 LanguageCodes_3">
             <input message="tns:MessageServiceWSI_getMessagePartsAdditionalDataAsHtml"/>
             <output message="tns:MessageServiceWSI_getMessagePartsAdditionalDataAsHtmlResponse"/></operation>
             <operation name="setRecipient" parameterOrder="Integer_1 Integer_2">
             <input message="tns:MessageServiceWSI_setRecipient"/>
             <output message="tns:MessageServiceWSI_setRecipientResponse"/></operation>
             <operation name="setStateReady" parameterOrder="Integer_1">
             <input message="tns:MessageServiceWSI_setStateReady"/>
             <output message="tns:MessageServiceWSI_setStateReadyResponse"/></operation></portType>
             <binding name="MessageServiceWSIBinding" type="tns:MessageServiceWSI">
             <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
             <operation name="appendDebug">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="appendError">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="appendFatal">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="appendInfo">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="appendWarn">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createMultiDebug">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createMultiError">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createMultiFatal">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createMultiInfo">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createMultiWarn">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createSingleDebug">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createSingleError">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createSingleFatal">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createSingleInfo">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="createSingleWarn">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="getMessageHead">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="getMessagePart">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="getMessagePartsAdditionalDataAsHtml">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="setRecipient">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation>
             <operation name="setStateReady">
             <soap:operation soapAction=""/>
             <input>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></input>
             <output>
             <soap:body use="literal" namespace="http://core.ws.fn.mbisoftware.biz"/></output></operation></binding>
             <service name="MessageServiceWS">
             <port name="MessageServiceWSIPort" binding="tns:MessageServiceWSIBinding">
             <soap:address location="@MBI_WS_URL@/core/MessageServiceWS"/></port></service></definitions>
            


            • 3. Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
              lafr

              Now I had the time to test my app with Branch_4_2.
              On startup I get this Exception:

              22:34:22,299 ERROR [MainDeployer] Could not start deployment: file:/mbi/tools/jboss/4.2/server/mbi/tmp/deploy/tmp28034mbi2e-lafr-sb2000-ipc.ear-contents/ws-common.war
              java.lang.ExceptionInInitializerError
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:164)
               at org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHandlerRegistry.java:51)
               at org.jboss.ws.xop.JBossXBContentAdapter.<clinit>(JBossXBContentAdapter.java:67)
               at org.jboss.ws.jbossxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:85)
               at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:343)
               at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:442)
               at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:183)
               at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:134)
               at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104)
               at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
               at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
               at $Proxy36.start(Unknown Source)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
               at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
               at $Proxy8.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
               at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
               at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:417)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
               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:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
               at $Proxy5.deploy(Unknown Source)
               at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
               at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
               at org.jboss.Main.boot(Main.java:200)
               at org.jboss.Main$1.run(Main.java:490)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp
               at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:292)
               at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:81)
               at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77)
               at org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataContentHandler.java:63)
               ... 85 more
              


              As I said before, the same code works perfectly with JBoss-4.0.4-GA.


              • 4. Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
                kc7bfi

                Have you solved this problem? I'm having the same problem:

                java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp

                • 5. Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but
                  lafr

                  we'll have to wait for a JBossWS version including the fix for http://jira.jboss.com/jira/browse/JBWS-1284.