Mapping lookup up failure with input JavaBean with an array of strings

To receive input data our Web service defines a JavaBean one element of which is
an array of strings. When a test Java client calls the service method the call
is completed successfully. When a Perl client calls the service method an exception
is returned. If I understand BEA's Web service documentation, it isn't necessary
to do development for the service specifically to enable correct processing of
an array of strings.
In our environment we are running WL 8.1 SP 1.
Please review the problem documentation and explain to me the cause of the exception
and what I must do to prevent it.
Thank you.
The exception:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Exception
during processing: weblogic.xml.schema.binding.DeserializationException: mapping
lookup failure. type=['http://www.w3.org/1999/XMLSchema']:xsd:string schema context=TypedSchemaContext{javaType=java.lang.String}
(see Fault Detail for stacktrace)</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/>weblogic.xml.schema.binding.DeserializationException:
mapping lookup failure. type=['http://www.w3.org/1999/XMLSchema']:xsd:string schema
context=TypedSchemaContext{javaType=java.lang.String}
     at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeUtils.java:461)
     at weblogic.xml.schema.binding.SoapArrayCodecBase.getComponentDeserializer(SoapArrayCodecBase.java:574)
     at weblogic.xml.schema.binding.SoapArrayCodecBase.deserialize(SoapArrayCodecBase.java:285)
     at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:183)
     at weblogic.xml.schema.binding.BeanCodecBase.processAllElements(BeanCodecBase.java:165)
     at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:145)
     at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:108)
     at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428)
     at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328)
     at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384)
     at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:458)
     at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:78)
     at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
     at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:518)
     [more]
The XML generated for the Perl client:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:namesp2="http://namespaces.soaplite.com/perl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:getWorkOrdersByFilters
xmlns:namesp1="ncr.com"><gIMServiceRequest xsi:type="ns:GIMServiceRequest" xmlns:ns="java:com.ncr.gim.bean.service"><applicationID
xsi:type="xsd:string">REVLOG</applicationID><nodeId xsi:type="xsd:string">00XH</nodeId><stopCodes
xsi:type="namesp2:array" SOAP-ENC:arrayType="xsd:string[2]"><xsd:string xsi:type="xsd:string">06</xsd:string><xsd:string
xsi:type="xsd:string">16</xsd:string></stopCodes></gIMServiceRequest></namesp1:getWorkOrdersByFilters></SOAP-ENV:Body></SOAP-ENV:Envelope>
The XML generated for a test Java client:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:getWorkOrdersByFilters
xmlns:m="ncr.com"><gIMServiceRequest xmlns:n1="java:com.ncr.gim.bean.service"
xsi:type="n1:GIMServiceRequest"><CSRCode xsi:type="xsd:string">987x00</CSRCode><applicationID
xsi:type="xsd:string">GIM</applicationID><incidentNbr xsi:nil="true"/><nodeId
xsi:type="xsd:string">00T5</nodeId><stopCodes soapenc:arrayType="xsd:string[3]"><xsd:string
xsi:type="xsd:string">00</xsd:string><xsd:string xsi:type="xsd:string">01</xsd:string><xsd:string
xsi:type="xsd:string">02</xsd:string></stopCodes></gIMServiceRequest></m:getWorkOrdersByFilters></env:Body></env:Envelope>
The JavaBean:
public class GIMServiceRequest implements Serializable {
     private String applicationID = GIMConstants.UNKNOWN_APPLICATION_ID;
     private String nodeId = null;
     private String incidentNbr = null;
     private String CSRCode = null;
     private String[] stopCodes = null;
     public void setStopCodes(String[] aStopCodes) {
          stopCodes = aStopCodes;
     public String[] getStopCodes() {
          return stopCodes;
     [more]
The service build.xml file:
<project name="GIMService" default="all" basedir=".">
     <target name="all" depends="ear"/>
<target name="ear">
<servicegen
destEar="GIMService.ear"
contextURI="GIMContext" >
<service
     ejbJar="GIMServiceEJB.jar"
     targetNamespace="ncr.com"
                    serviceName="GIMService"
                    serviceURI="/GIM_URI"
                    generateTypes="True"
                    expandMethods="True"
                    style="rpc"
                    protocol="http" >
          <client
               clientJarName="GIMService_client.jar"
               packageName="com.ncr.gim.gimservice.client" >
          </client>
</service>
</servicegen>
</target>
</project>

Hi Jeff,
Looks like the Perl client is using an older (deprecated) schema
namespace "http://www.w3.org/1999/XMLSchema" that is causing this
failure.
Hope this helps,
Bruce
Jeff Carey wrote:
>
To receive input data our Web service defines a JavaBean one element of which is
an array of strings. When a test Java client calls the service method the call
is completed successfully. When a Perl client calls the service method an exception
is returned. If I understand BEA's Web service documentation, it isn't necessary
to do development for the service specifically to enable correct processing of
an array of strings.
In our environment we are running WL 8.1 SP 1.
Please review the problem documentation and explain to me the cause of the exception
and what I must do to prevent it.
Thank you.
The exception:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Exception
during processing: weblogic.xml.schema.binding.DeserializationException: mapping
lookup failure. type=['http://www.w3.org/1999/XMLSchema']:xsd:string schema context=TypedSchemaContext{javaType=java.lang.String}
(see Fault Detail for stacktrace)</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/>weblogic.xml.schema.binding.DeserializationException:
mapping lookup failure. type=['http://www.w3.org/1999/XMLSchema']:xsd:string schema
context=TypedSchemaContext{javaType=java.lang.String}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeUtils.java:461)
at weblogic.xml.schema.binding.SoapArrayCodecBase.getComponentDeserializer(SoapArrayCodecBase.java:574)
at weblogic.xml.schema.binding.SoapArrayCodecBase.deserialize(SoapArrayCodecBase.java:285)
at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:183)
at weblogic.xml.schema.binding.BeanCodecBase.processAllElements(BeanCodecBase.java:165)
at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:145)
at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:108)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328)
at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:458)
at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:78)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:518)
[more]
The XML generated for the Perl client:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:namesp2="http://namespaces.soaplite.com/perl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:getWorkOrdersByFilters
xmlns:namesp1="ncr.com"><gIMServiceRequest xsi:type="ns:GIMServiceRequest" xmlns:ns="java:com.ncr.gim.bean.service"><applicationID
xsi:type="xsd:string">REVLOG</applicationID><nodeId xsi:type="xsd:string">00XH</nodeId><stopCodes
xsi:type="namesp2:array" SOAP-ENC:arrayType="xsd:string[2]"><xsd:string xsi:type="xsd:string">06</xsd:string><xsd:string
xsi:type="xsd:string">16</xsd:string></stopCodes></gIMServiceRequest></namesp1:getWorkOrdersByFilters></SOAP-ENV:Body></SOAP-ENV:Envelope>
The XML generated for a test Java client:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header/><env:Body
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:getWorkOrdersByFilters
xmlns:m="ncr.com"><gIMServiceRequest xmlns:n1="java:com.ncr.gim.bean.service"
xsi:type="n1:GIMServiceRequest"><CSRCode xsi:type="xsd:string">987x00</CSRCode><applicationID
xsi:type="xsd:string">GIM</applicationID><incidentNbr xsi:nil="true"/><nodeId
xsi:type="xsd:string">00T5</nodeId><stopCodes soapenc:arrayType="xsd:string[3]"><xsd:string
xsi:type="xsd:string">00</xsd:string><xsd:string xsi:type="xsd:string">01</xsd:string><xsd:string
xsi:type="xsd:string">02</xsd:string></stopCodes></gIMServiceRequest></m:getWorkOrdersByFilters></env:Body></env:Envelope>
The JavaBean:
public class GIMServiceRequest implements Serializable {
private String applicationID = GIMConstants.UNKNOWN_APPLICATION_ID;
private String nodeId = null;
private String incidentNbr = null;
private String CSRCode = null;
private String[] stopCodes = null;
public void setStopCodes(String[] aStopCodes) {
stopCodes = aStopCodes;
public String[] getStopCodes() {
return stopCodes;
[more]
The service build.xml file:
<project name="GIMService" default="all" basedir=".">
<target name="all" depends="ear"/>
<target name="ear">
<servicegen
destEar="GIMService.ear"
contextURI="GIMContext" >
<service
ejbJar="GIMServiceEJB.jar"
targetNamespace="ncr.com"
serviceName="GIMService"
serviceURI="/GIM_URI"
generateTypes="True"
expandMethods="True"
style="rpc"
protocol="http" >
<client
clientJarName="GIMService_client.jar"
packageName="com.ncr.gim.gimservice.client" >
</client>
</service>
</servicegen>
</target>
</project>

Similar Messages

  • Is Mapping Lookup table possible with IDOC to FIle scenario

    Hi all,
    Need suggestion, I am using SP16
    My sceanrio is IDOC to FIles, and have to use a Mapping Lookup tables for some of the fields within the mapping...
    'Crossref:  PlantLoc_to_WhseComDiv.  Value mapping lookup to take two fields from SAP and convert to WMS 3-digit value'
    How to go with this, since i have checked in SAP library that it is for only RFC,JDBC,SOAP adapters ...
    Need u r valuable inputs,
    Regards,
    sridhar

    You can use RFC or SOAP or JDBC lookup in your mapping.Why not?..It does not mean that we use the lookups only in RFC secnarios.You can use them in any scenario.

  • DeserializationException: mapping lookup failure for xml type

    I generated a web-services.xml with the wsdl2Service task without a type mapping. The service is a document/literal based web service. I implemented the Java method, which accepts a single parameter with type javax.xml.soap.SOAPElement and returns javax.xml.soap.SOAPElement. Everytime I invoke the method from a client I get the following error from the server (WebLogic 8.1 SP4):
    weblogic.xml.schema.binding.DeserializationException: mapping lookup failure for xml type ['urn:mytest1']:test and java interface javax.xml.soap.SOAPElement
    at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:325)
    What could be wrong with my configuration?

    Hi,
    I am also facing the same problem on weblogic8.1SP1.
    If you had rectified this problem, please advice me as well.

  • Failure with EWS via WWSAPI (native code)

    Failure with EWS via WWSAPI (native code)
    I'm trying to make a request against Exchange(*) EWS
    using WWSAPI (native code).
    Exchange replies with the error:
     "Cannot process the message because the content type 
     'application/soap+xml; charset=utf-8; 
      action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
      was not the expected type 'text/xml; charset=utf-8'."
    It seems the SOAP envelope is ill-formed.
    If I manually create the envelope (without WWSAPI) EWS gives no error.
    Is WWSAPI supported for EWS?
    I can provide all the code for testing.
    Thanks & regards
    josue
    On WebServices tracing I see the following events:
    Sending message - bin  (id: 1): 
    3C 73 3A 45 6E 76 65 6C 6F 70 65 20 78 6D 6C 6E 73
    3A 73 3D 22 68 74 74 70 3A 2F 2F 77 77 77 2E 77 33
    2E 6F 72 67 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70
    2D 65 6E 76 65 6C 6F 70 65 22 3E 3C 73 3A 48 65 61
    64 65 72 3E 3C 52 65 71 75 65 73 74 53 65 72 76 65
    72 56 65 72 73 69 6F 6E 20 56 65 72 73 69 6F 6E 3D
    22 45 78 63 68 61 6E 67 65 32 30 31 30 5F 53 50 31
    22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F 2F 73
    63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66 74 2E
    63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65 72 76
    69 63 65 73 2F 32 30 30 36 2F 74 79 70 65 73 22 2F
    3E 3C 2F 73 3A 48 65 61 64 65 72 3E 3C 73 3A 42 6F
    64 79 3E 3C 52 65 73 6F 6C 76 65 4E 61 6D 65 73 20
    52 65 74 75 72 6E 46 75 6C 6C 43 6F 6E 74 61 63 74
    44 61 74 61 3D 22 74 72 75 65 22 20 43 6F 6E 74 61
    63 74 44 61 74 61 53 68 61 70 65 3D 22 49 64 4F 6E
    6C 79 22 20 78 6D 6C 6E 73 3D 22 68 74 74 70 3A 2F
    2F 73 63 68 65 6D 61 73 2E 6D 69 63 72 6F 73 6F 66
    74 2E 63 6F 6D 2F 65 78 63 68 61 6E 67 65 2F 73 65
    72 76 69 63 65 73 2F 32 30 30 36 2F 6D 65 73 73 61
    67 65 73 22 3E 3C 55 6E 72 65 73 6F 6C 76 65 64 45
    6E 74 72 79 3E 43 6C 65 62 65 72 3C 2F 55 6E 72 65
    73 6F 6C 76 65 64 45 6E 74 72 79 3E 3C 2F 52 65 73
    6F 6C 76 65 4E 61 6D 65 73 3E 3C 2F 73 3A 42 6F 64
    79 3E 3C 2F 73 3A 45 6E 76 65 6C 6F 70 65 3E 
    Sending message        (id: 1): 
    <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
      <s:Header>
        <RequestServerVersion Version="Exchange2010_SP1" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"/>
      </s:Header>
      <s:Body>
        <ResolveNames ReturnFullContactData="true" ContactDataShape="IdOnly" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
          <UnresolvedEntry>Cleber</UnresolvedEntry>
        </ResolveNames>
      </s:Body>
    </s:Envelope>
    Error occurred: 0x803D0000 - The input data was not in the expected format or did not have the expected value.
    Error occurred: 0x0 - The format of the HTTP request was not supported by the server.
    Error occurred: 0x0 - The server returned HTTP status code '415 (0x19F)' with text
    'Cannot process the message because the content type 'application/soap+xml;
    charset=utf-8; action="http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames"'
    was not the expecte
    Error occurred: 0x0 - There was an error communicating with the endpoint at 'https://gpe-exc2k10/EWS/Exchange.asmx'.
    WsCall API failed by 0x803D0000
    (*) Microsoft Exchange 2010 SP3 with Update Rollup 7

    Thank you for the tip. I was using SOAP 1.2. After changing to SOAP 1.1 it worked fine.
    WS_ENVELOPE_VERSION soapVersion = WS_ENVELOPE_VERSION_SOAP_1_1;
    Thanks and regards,
    Josue

  • Java.io.IOException: Connection failure with 401

    Hi all,
    i recently moved an applet that uses JavaHelp on a new intranet server. I got an error during applet loading since i moved all the files.
    The structure of files is:
    -Tarish2Applet.html
    -tarish2.jar
    +Tarish2Help
    ooooo|---helpset.hs
    ooooo|---toc.xml
    ooooo|---map.xml
    ooooo|---index.xml
    ooooo|--+HTML
    +package
    I use the following HTML code to call the applet in IE6:
    Tarish2Applet.html:
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.0 -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "200" HEIGHT = "200" codebase="http://intranet/plugin/j2re-1.3.1_02-win-i.exe#Version=1,3,1,2">
    <PARAM NAME = CODE VALUE = "tarish2.Tarish2Applet.class" >
    <PARAM NAME = "cache_option" VALUE = "Plugin" >
    <PARAM NAME = "cache_archive" VALUE = "tarish2.jar,package/jbcl.jar,package/rchartTarish2.jar,package/jhall.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
    <COMMENT>
    </OBJECT>
    And i have the following output and error in the java console:
    /*This first IOException seems to be due to the parameters cache_archive and cache_option in the applet call: if i remove them from the html file, this first exception disapears*/
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dll detected //A Dll is loaded with success in the System
    //Then, the Help system is loaded, and it gives:
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.java.help.impl.XmlReader.createReader(XmlReader.java:99)
    at javax.help.HelpSet.parseInto(HelpSet.java:568)
    at javax.help.HelpSet.<init>(HelpSet.java:129)
    at tarish2.Tarish2Applet.init(Tarish2Applet.java:221)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Parsing failed for null
    Got an IOException (Connection failure with 401)
    Error during Helpset loading: javax.help.HelpSetException: Could not parse
    HelpSet not found
    Here is the code that loads the Helpset:
    Source:
    try
    URL hsURL = HelpSet.findHelpSet(null, "helpset");
    if (hsURL==null)
    hsURL = new URL(getCodeBase(), "Tarish2Help/helpset.hs");
    hs = new HelpSet(null, hsURL);
    catch (Exception ee)
    System.out.println("Error during Helpset loading: "+ee);
    System.out.println("HelpSet not found");
    return;
    Has anybody an idea about this "Connection failure with 401" that happens on .jar caching and helpset loading????
    What does it come from? Is it due to the http server configuration, the java.policy file?? The code???
    If you have any clue, please help me...
    Romain

    Hi
    I have the same problem but with the
    java.io.IOException: Connection failure with 500:
    Does anybody sorted this, please let me know, what is the cause???
    Thanks in advance...
    Saran

  • CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLS

    When I execute a Query it throws
    CONM7007I: Mapping the following SQLException, with ErrorCode -901 and SQLState 58004, to a StaleConnectionException: java.sql.SQLException: [SQL0901] Error del sistema SQL.
    I am using iSeries DB2 and Websphere V5.
    Thanks for your help.

    Retrying solved my problem:
    StaleConnectionException
    This exception (com.ibm.websphere.ce.cm.StaleConnectionException) indicates that the
    connection currently being held is no longer valid. This can occur for numerous reasons,
    including the following:
    The application tries to get a connection and fails, as when the database is not started.
    A connection is no longer usable due to a database failure. When an application tries to
    use a connection it has previously obtained, the connection is no longer valid. In this
    case, all connections currently in use by an application could get this error when they try
    to use the connection.
    The application using the connection has already called close() and then tries to use the
    connection again.
    The connection has been orphaned because the application had not used it in at most two
    times the orphan timeout; then the application tries to use the orphaned connection.
    The application tries to use a JDBC resource, such as a statement, obtained on a
    now-stale connection.
    Code that implements retries in case of StaleConnectionException...
    boolean retry = false;
    int numOfRetries = 0;
    java.sql.Connection conn = null;
    java.sql.Statement stmt = null;
    do {
        try {
            //    assumes a datasource already obtained from JNDI
            conn = ds.getConnection();
            conn.setAutoCommit(true);
            stmt = conn.createStatement();
            stmt.execute("INSERT INTO EMPLOYEES VALUES
                    (0101, 'Bill', 'R', 'Smith')");
        } catch(com.ibm.websphere.ce.cm.StaleConnectionException
                sce) {
            if(numOfRetries < 2) {   
                retry = true;
                numOfRetries++;
            } else {
                retry = false;
                //    throw error indicating a connection
                //    cannot be obtained
        } catch (java.sql.SQLException sqle) {
            //    handle other database problem
        } finally {
            //    always cleanup JDBC resources
            try {
                if(stmt != null) stmt.close();
            } catch (java.sql.SQLException sqle) {
                //    usually can be ignored
            try {
                if(conn != null) conn.close();
            } catch (java.sql.SQLException sqle) {
                //    usually can be ignored
    } while (retry);

  • Import Error (Partial Set failure with RC error code = 0x84020020 for rec

    Hi,
    While importing the data through xls file , i am getting the error message "Partial Set failure with RC error code = <0x84020020> for record number
    0 through 212"  and no record get created in Data manager.
    Although i mapped all values , still it giving me an error message.
    I tried to Import other data and it was all working fine.
    Please guide
    Regards
    Sandeep Kumar

    HI,
    I checked the exl file and found that in the first column and first data  was in text format ('0001)but later on when i change the record and moved it to the last record , it worked fine. I was able to load all records including ('0001)
    I don't know wht the logic behind this:
    if my first record was ('0001), system was giving me the error and not allowing me to load the data. But when i moved the record as the last record it not only allow me to load the records but allow ('0001) also.
    If anyone have any clue , plz let me know.
    Regards
    Sandeep

  • How can I map the composite_dn name with a composite in run time

    Hi All,
    I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
    select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
    Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
    On executing the above SQL statement its returing an empty table without any data.
    Please guide!!
    Thanks in Advance!!

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • HP LaserJet M1212nf MFP Printer - Communication Failure with the scanner

    Dear all,
    May I kindly ask if there are any known resolutions in terms of a scanning issue with the HP LaserJet M1212nf MFP Printer?
    When it starts scanning the printer only scans the up to the 3rd or 4th page, it stops in the middle of the sheet and produces an error message stating the following: Communication Failure with the scanner.
    Are there any steps that may be followed in order to resolve the incident?
    Many thanks in advance.
    Best regards,
    Ryan

    Hi @Ryan_HP ,
    I see that you are experiencing a communication error during scanning of multiple pages. I would like to help, but I will need some more information to provide you with the correct steps to resolve this issue.
    If you are using Windows, download and run the Print and Scan Doctor. It will diagnose the issue and might automatically resolve it. Find and fix common printer problems using HP diagnostic tools for Windows?
    Temporarily turn off any Antivirus Software, just to rule out any interference.
    Try scanning again.
    What operating system are you using?
    How to Find the Windows Edition and Version on Your Computer.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How is the printer connected? (USB/Ethernet)
    What were the results when you ran the Print and Scan Doctor? (did it print or scan, any error messages)
    What scanning software are you using?
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Mapping a credit memo with an invoice

    Dear sir.
    Im creat a credit memo (Tcode F-28) it is ok, But I dont know how this credit memo matched to the invoice.
    Eg. I have created an invoice for Customer A (5000USD of goods), then I have a credit memo for this invoice. Creating a credit memo is ok. Now, I want to know how mapping the credit memo with this invoice to reduce customer's credit on this invoice.
    Help me.Thanhk you very much.
    Regards,
    Hangvt

    Dear sir,
    Thank for your reply, can you show me tcode to clear the CM with invoice raised.
    Thanks,
    Hangvt

  • PlayReady failure with specific OS version of Windows 8.1 Update

    Hello,
    I'm observing a failure in my app during Smooth Streaming video playback using PlayReady DRM. The app is a WinJS Universal App solution for Windows Store and Windows Phone, using the latest updates for Visual Studio 2013, Update 4.
    So far, the failure is limited to one specific version of the Windows 8.1 Update. I have two identical devices, both retail versions of the phone, that demonstrate this issue. Note, these same phones that fail with PlayReady can successfully
    stream unprotected Smooth Streaming content.
    My other five Windows Phone devices, with different OS version numbers, do not demonstrate the failure with the identical app installed. Therefore, I suspect the OS version may be the cause.
    Failure description:
    When I attempt to stream PlayReady protected Smooth Streaming video, the player initializes the media player and the MediaProtectionManager, but then displays the error state (The video failed to play. Try again.) immediately, and the following message is
    displayed in Visual Studio:
    MEDIA12899: AUDIO/VIDEO: Unknown MIME type.
    --- Message: MEDIA_ERR_SRC_NOT_SUPPORTED (0x887A0004)
    Summary of tested OS versions:
    Windows Phone 8.1 Update
    8.10.14141.167, untested
    8.10.14147.180, untested
    8.10.14157.200, untested
    8.10.14176.243, NOKIA Lumia 830, fails to stream, tested with two devices
    8.10.14192.280, untested
    8.10.14203.206, HTC HTC6995LVW, streams successfully
    8.10.14219.341, NOKIA Lumia 920, streams successfully
    8.10.14226.359, BLU WIN HD W510u, streams successfully
    Windows Phone 8.1
    8.10.12359.845, untested
    8.10.12382.878, untested
    8.10.12393.890, NOKIA Lumia 920, streams successfully
    8.10.12397.895, untested
    8.10.12400.899, NOKIA Lumia 530, streams successfully
    Note, one of OS versions I've tested fails to stream the PlayReady protected Smooth Streaming content, and five other OS versions I've tested successfully stream the same video content.
    Is this a known issue with a specific version(s) of Windows Phone 8.1?
    Regards,
    Andrew

    Hello,
    0x887A0004 equates to DXGI_ERROR_UNSUPPORTED. This error is usually generated when you are trying to use Direct3D features that are not supported. Different devices support different D3D features since they contain different video hardware. It is possible
    that a hardware feature that is required by the license is not supported in the hardware / driver of the device. I would recommend that you check the license and make sure that it does not contain any hardware specific requirements such as HDCP.
    In other words try playing content with the least restrictive license and see if it works for you.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Mapping editor not working with Java 5 classes

    I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
    I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
    I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
    java.lang.NullPointerException
         at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
         at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
         at javax.swing.JTable.tableChanged(JTable.java:2993)
         at javax.swing.JTable.setModel(JTable.java:2827)
         at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
         at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
    It seems that the mapping workbench doesnt work with Java 5. What should I do?

    Ah, I see. I saw another post here stating that must use 10.1.3.

  • Problem in mapping sap bw server with Visual composer

    I tried to create a module.. but the sap bw server is not mapping with visual composer. is any need to have special authorization for that.. if any please mention the authorization and role to be given to get mapping of bw server with visual composer.
    please look into this issue..
    Regards,
    Mohankumar.G

    Hi,
    Have u done user mapping?
    Refer the following  link
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm</a>
    <a href="/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer">/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer</a>
    Regards,
    Hemalatha

  • How to map the bulk users with the required  roles in portal at one time

    Hi,
    Would anyone tell me how to map the bulk users with the required roles in portal at one time?

    Thanks for all the reply.
    <b>I need to assign 1 or 2 group to n((eg) 1000)number of users</b>
    I tried the first option like
    [group]
    gid=
    gdesc=
    user=
    Thr problem with this is I could n't put more no of users in the notepad.
    I would be able to put only 150 users in the single line of notepad. If it goes to next line it is not working.
    I tried creating seperate notepad but in Import it says "exists"
    I'm not sure about LDAP. Would anyone explain me the best approach to do this.

  • Failure with mpeg2 dvd

    I'm rendering the same sequence of about an hour to different formats mostly hd 1080p h.264 and pal to mpeg2 dvd so encore wont work hard to convert.
    last days I cant get the mpeg 2 dvd to render, I keep getting errors/failure.if I render just mpeg2 it renders perferct.
    so until I could ditch the DVD for good I realy need the AME queue with mpeg2 dvd for my workflow.
    I hav'nt checked it but I'm sure it will export mpeg2 dvd directly from PP

    the settings are done in PP
    by the way if I switch to mercury engine softwere only it renderes but very
    very slow
    2014-05-19 22:52 GMT+03:00 SAFEHARBOR11 <[email protected]>:
        failure with mpeg2 dvd  created by SAFEHARBOR11<https://forums.adobe.com/people/SAFEHARBOR11>in *Adobe
    Media Encoder (AME)* - View the full discussion<https://forums.adobe.com/message/6392014#6392014>

Maybe you are looking for

  • SAP R/3 toWebBrowser

    Hi, I am Integrating SAP R/3 and WebBrowser using XI. In SAP R/3 I am Using IE02( Change Equipment) ,When Ever we made a change in Equipment and save it should trigger automatically and post the data. I need the Infpirmation How to Trigger Automatica

  • HT204365 Can I edit name (title) of a PDF file in iBook? How?

    The problem: when I download a PDF, for example an article from school, it surely have a default name such as author's name. When I try to select a article from the list and a very long list, it makes thing difficult. I perfer it to be editable so I

  • Filling in an area (picture included)

    I am new to illustrator. I am used to photoshop so this is a whole new ball field. I am trying to figure out how to fill in the area to the left of the design I drew with the brush tool. I tried using the paint thing and it gives me an error message

  • Legal Entity Details in place of Operating Unit Detail in PO_STANDARD_XSLFO

    Hi all, I want to replace the Operting Unit name and Address, which is coming on first page of PO output for Communication, by Legal Entity name and Address. In the XSLFO template above the Operating unit Details they had given the Legal Entity Name

  • Cannot print correctly from either Preview or Adobe Professional.

    Documents either do not print or print highly enlarged and in landscape mode. The same documents print perfectly from other macs. I have deleted my printers and recreated them and nothing changed. Any suggestions would be greatly appreciated. Thanks,