Validation Error in Parsing

Hi
Please help i am trying to fix this for last 2 days ..
I am trying to validate the XML in SAX parser and i am getting
"java.lang.ClassCastException: " error.
I am pasting the code i have and the sample XML. If some one faced the same kind of problem please share the thoughts
thanks in advance.
I am sending the XML from the command prompt
This is the code i have
class XMLBean {
public void onMessage (String uri) {
Object [] schemas = new Object[] { "C:/Murugaraj/Projects/Atlys-interface/XSD/Schemas/Common/Types/Public/rDataModel.xsd",
"C:/raj/Projects/Atlys-interface/XSD/Schemas/Atlas/jms/Public/SubscriberNotification.xsd",
"C:/raj/Projects/Atlys-interface/XSD/Schemas/Atlas/Container/Public/SubscriberNotification.xsd",
"C:/raj/Projects/Atlys-interface/XSD/Schemas/Atlas/Container/Public/MessageHeader.xsd"};
System.out.println("Parsing XML File: " + uri + "\n\n");
// The SAX handler Events are in RequestHandler which is extends from Defaulthandler
RequestHandler rh = new RequestHandler();
try {
String txt = uri;
System.out.println(txt);
SAXParserFactory fact = SAXParserFactory.newInstance();
fact.setNamespaceAware(true);
fact.setValidating(true);
fact.setFeature("http://xml.org/sax/features/validation", true);
fact.setFeature("http://apache.org/xml/features/validation/schema",true);
fact.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
SAXParser sp = fact.newSAXParser();
sp.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",schemas);
InputSource inSource = new InputSource(new FileInputStream(txt));
sp.parse(inSource, rh);
}catch(SAXNotRecognizedException x){
     System.out.println(" SAXNotRecognizedException Parsing error" );
     x.getMessage();
}catch(SAXParseException spe){
     System.out.println("\n** Parsing error SAXParseException" + ", line " + spe.getLineNumber() + ", uri " + spe.getSystemId());
System.out.println(" " + spe.getMessage());
     Exception x = spe;
     if (spe.getException() != null)
     x = spe.getException();
     x.printStackTrace();
}catch(SAXException sxe){
     System.out.println(" SAXException Parsing error" );
     Exception x = sxe;
     if(sxe.getException() != null)
          x=sxe.getException();
     x.printStackTrace();
}catch (IOException ioe) {
System.out.println(" IOException Parsing error" );
ioe.printStackTrace();
}catch (Throwable t){
t.printStackTrace();
} // End of catch
} // End of onMessage
public static void main(String[] args) {
     if (args.length != 1) {
     System.out.println("Usage: java SAXParserDemo [XML URI]");
     System.exit(0);
     String uri = args[0];
     XMLBean call = new XMLBean ();
     call.onMessage(uri);
} // End of main
} // End of XMLBean
This is the error i am getting
java.lang.ClassCastException: [Ljava.lang.Object;
at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.reset(Lweblogic/apa
che/xerces/xni/parser/XMLComponentManager;)V(XMLSchemaValidator.java:1374)
at weblogic.apache.xerces.parsers.BasicParserConfiguration.reset()V(Basi
cParserConfiguration.java:523)
at weblogic.apache.xerces.parsers.DTDConfiguration.reset()V(DTDConfigura
tion.java:624)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfigur
ation.java:498)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic/apach
e/xerces/xni/parser/XMLInputSource;)V(DTDConfiguration.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic/apache/xerce
s/xni/parser/XMLInputSource;)V(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg/xml/sax/I
nputSource;)V(AbstractSAXParser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg/xml/sax/InputSource;)V
(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg/xml/sax/InputSource;)V
(RegistryXMLReader.java:152)
at javax.xml.parsers.SAXParser.parse(Lorg/xml/sax/InputSource;Lorg/xml/s
ax/helpers/DefaultHandler;)V(SAXParser.java:345)
at XMLBean.onMessage(Ljava/lang/String;)V(XMLBean.java:80)
at XMLBean.main([Ljava/lang/String;)V(XMLBean.java:130)
The Sample XML looks like this
<?xml version="1.0" encoding="UTF-8" ?>
- <SubscriberNotification xmlns:cng="http://csi.test.com/CSI/Namespaces/Types/Public/DataModel.xsd" xmlns="http://csi.test.com/ATLAS/Namespaces /Container/JMS/SubscriberNotification.xsd" xmlns:sn="http://csi.test.com/ATLAS/Namespaces/Container/Public/SubscriberNotification.xsd" xmlns:mh="http://csi.test.com/ATLAS/Namespaces/Container/Public/MessageHeader.xsd">
- <mh:MessageHeader>
- <mh:TrackingMessageHeader>
<cng:version>v3</cng:version>
<cng:messageId>08001200312101117273772521</cng:messageId>
<cng:originatorId>CARE</cng:originatorId>
<cng:dateTimeStamp>2005-08-23T13:45:57Z</cng:dateTimeStamp>
</mh:TrackingMessageHeader>
- <mh:SequenceMessageHeader>
<cng:sequenceNumber>1</cng:sequenceNumber>
<cng:totalInSequence>1</cng:totalInSequence>
</mh:SequenceMessageHeader>
</mh:MessageHeader>
- <sn:SubscriberNotification>
<sn:billingSystemEventGenrationDateTime>2003-12-10T11:17:27.377Z</sn:billingSystemEventGenrationDateTime>
<sn:notificationType>UpdateSubscriberStatusNotification</sn:notificationType>
<sn:notificationSubType>3400</sn:notificationSubType>
- <sn:Account>
- <sn:billingMarket>
<sn:billingMarket>08</sn:billingMarket>
</sn:billingMarket>
<sn:billingSystemId>CARE</sn:billingSystemId>
</sn:Account>
</sn:SubscriberNotification>
</SubscriberNotification>

Thanks bckrispiYou're welcome, :)
seems like i can pass array of objects so then i
decided to pass multiple schemas. Also there is one
sun website claims validating multiple schemasIf you're talking about the new Validation Framework, yes, the tutorials say you can pass it multiple schemas with the same namespace. Unfortunately, the implementation is broken
Yes, i want to validate with more than one schema ..
'cos my XML generated based on 4 schemas ( xsd's)
I did not get what you mean by "import" dependand
schemas..
import the depandant schema on the "parent schema"
thats what you meant ?If you have a "parent" xsd that uses an <xsd:import> on its dependencies, then you just need to pass the parent xsd into your SAX Parser.

Similar Messages

  • XML validation error while parsing MXI Manifest

    Hi,
    I have created an hybrid extension for Photoshop. I want to upload my extension on Adobe Exchange. during the upload process I get an error,
    "XML validation error while parsing MXI Manifest: Declarations can only occur in the doctype declaration. Line: 19 Position: 791 Last 80 unconsumed characters".
    The error description specifies that description in MXI file is not valid. Below are the contents of my MXI file.
    <macromedia-extension
               name="yyy"
               id="com.yyy"
               version="1.0.0"
               type="object"
               requires-restart="true">
              <author name="abcd" />
              <products>
              <product familyname="Photoshop" maxversion="" primary="true" version="12.0"/>  
              </products>
    <description>
              <![CDATA[
    <p><font size="14" color="black"><b>abcd</b> qwertyuioipafgjhkjljljklkjl
    <br><br>
    Open Extension via: Photoshop top menu > Window > Extensions > abcd.
    <br><br>
    Online support at: <a href="http://www.abcd.com/help.php">http://www.abcd.com/help.php</a></font></p>
    <br>]]>
    </description>
    <ui-access>
              </ui-access>
    <license-agreement>
    </license-agreement>
    <files>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.html" products="" source="zxp-support/Description/abcd.html"/>
                <file destination="$ExtensionSpecificEMStore/com.abcd/html/abcd.png" products="" source="zxp-support/Description/abcd.png"/>
                <file destination="" file-type="CSXS" products="" source="abcd.zxp"/> 
                <file destination="$automate" file-type="plugin" platform="mac" products="Photoshop" source="mac/abcd.plugin"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop32" source="win32/abcd.8li"/>
                <file destination="$automate" file-type="plugin" platform="win" products="Photoshop64" source="win64/abcd.8li"/>
    </files>
    </macromedia-extension>
    Can anyone please point out why am I getting the error?
    Thanks

    Hi CarlSun,
    Thanks for the reply. I have made the changes suggested by you.
    I have few queries:
    1.  Can we use attribute "source" in the description tag?
         I have created a local html page and specified it in source attribute. but the Extension Manager CS6 did not render the local html page and displayed      the following:
         No description avaliable. Click the following link for more details.
         "http://www.abcd.html". Is it possible to display a local html page in Extension Manager CS6?
    2. Can I display an image (png) in CDATA under description tag? If yes, then can you please guide me how can I do so?
    3. As suggested in tech notes MXI file must include UTF-8 encoding as header (<?xml version="1.0" encoding="UTF-8"?>). The MXI I am using does      not have this header. Do I need to include the header?
    Thanks

  • Schema validation errors in Portal 10.3

    I downloaded, installed and configured a domain with an AdminServer and a ManagedServer for WebLogic Portal 10.3. When I start the AdminServer from NodeManager the following errors are reported:
    <Sep 24, 2008 12:50:41 PM CDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - Invalid xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@http://www.bea.com/ns/weblogic/920/domain>
    <Sep 24, 2008 12:50:41 PM CDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - /opt/Oracle/WL10gR3/user_projects/domains/web/<unknown>:13:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@http://www.bea.com/ns/wlp/90/security/wsrp>
    When I start the AdminServer using startWebLogic.sh there are no errors. Please advise.

    I have been at this for less than a month, so I may need a little more help. So are you saying that the product as installed has been reorganized and that all of the installed pieces may not reflect all of the changes?
    I have continued cutting down my scripts and NodeManager does not seem to be a factor. Starting from WLST does not work.
    This works:
    /opt/Oracle/WL10gR3/user_projects/domains/web/bin/startWebLogic.sh.
    JAVA Memory arguments: -Xms256m -Xmx768m
    WLS Start Mode=Production
    CLASSPATH=:/opt/Oracle/WL10gR3/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_wlp1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_cie670/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/jrockit_160_05/lib/tools.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic.jar:/opt/Oracle/WL10gR3/modules/features/weblogic.server.modules_10.3.0.0.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/webservices.jar:/opt/Oracle/WL10gR3/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/Oracle/WL10gR3/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/opt/Oracle/WL10gR3/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/xqrl.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/xquery.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/binxml.jar:
    PATH=/opt/Oracle/WL10gR3/wlserver_10.3/server/bin:/opt/Oracle/WL10gR3/modules/org.apache.ant_1.6.5/bin:/opt/Oracle/WL10gR3/jrockit_160_05/jre/bin:/opt/Oracle/WL10gR3/jrockit_160_05/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    x86_64 is not a supported Linux hardware platform for Autonomy.
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32, compiled mode)
    Starting WLS with line:
    /opt/Oracle/WL10gR3/jrockit_160_05/bin/java -jrockit -Xms256m -Xmx768m -da -Dplatform.home=/opt/Oracle/WL10gR3/wlserver_10.3 -Dwls.home=/opt/Oracle/WL10gR3/wlserver_10.3/server -Dweblogic.home=/opt/Oracle/WL10gR3/wlserver_10.3/server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=/opt/Oracle/WL10gR3/patch_wlw1030/profiles/default/sysext_manifest_classpath:/opt/Oracle/WL10gR3/patch_wls1030/profiles/default/sysext_manifest_classpath:/opt/Oracle/WL10gR3/patch_wlp1030/profiles/default/sysext_manifest_classpath:/opt/Oracle/WL10gR3/patch_cie670/profiles/default/sysext_manifest_classpath:/opt/Oracle/WL10gR3/wlportal_10.3/p13n/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/portal/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/analytics/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/apps/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/deprecated/lib/system:/opt/Oracle/WL10gR3/wlportal_10.3/content-mgmt/lib/system -Dweblogic.alternateTypesDirectory=/opt/Oracle/WL10gR3/wlportal_10.3/portal/lib/security -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic.policy weblogic.Server
    <Sep 25, 2008 11:34:35 AM CDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /opt/Oracle/WL10gR3/wlportal_10.3/analytics/lib/system/analytics_sys.jar:/opt/Oracle/WL10gR3/wlportal_10.3/apps/lib/system/groupspace_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/content-mgmt/lib/system/content_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/deprecated/lib/system/commerce_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/lib/system/wlp-schemas.jar:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/lib/system/wlp_content_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/info-mgmt/lib/system/wps_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system/netuix_common.jar:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system/netuix_schemas.jar:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system/netuix_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system/wsrp-client.jar:/opt/Oracle/WL10gR3/wlportal_10.3/light-portal/lib/system/wsrp-common.jar:/opt/Oracle/WL10gR3/wlportal_10.3/p13n/lib/system/p13n-schemas.jar:/opt/Oracle/WL10gR3/wlportal_10.3/p13n/lib/system/p13n_common.jar:/opt/Oracle/WL10gR3/wlportal_10.3/p13n/lib/system/p13n_system.jar:/opt/Oracle/WL10gR3/wlportal_10.3/p13n/lib/system/wlp_services.jar:/opt/Oracle/WL10gR3/wlportal_10.3/portal/lib/system/netuix_system-full.jar>
    <Sep 25, 2008 11:34:36 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
    <Sep 25, 2008 11:34:36 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR376251 Wed Aug 06 09:19:34 PDT 2008
    WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
    WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
    WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
    <Sep 25, 2008 11:34:38 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    This does not work:
    . /opt/Oracle/WL10gR3/user_projects/domains/web/bin/setDomainEnv.sh
    java weblogic.WLSTInitializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> startServer()
    Starting weblogic server ...
    WLST-WLS-1222359153099: <Sep 25, 2008 11:12:34 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
    WLST-WLS-1222359153099: <Sep 25, 2008 11:12:34 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR376251 Wed Aug 06 09:19:34 PDT 2008
    WLST-WLS-1222359153099: WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
    WLST-WLS-1222359153099: WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WLST-WLS-1222359153099: WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WLST-WLS-1222359153099: WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
    WLST-WLS-1222359153099: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
    WLST-WLS-1222359153099: <Sep 25, 2008 11:12:36 AM CDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - Invalid xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@http://www.bea.com/ns/weblogic/920/domain>
    AdminServer.out:
    <Sep 25, 2008 10:56:16 AM> <Info> <NodeManager> <Starting WebLogic server with command line: /opt/Oracle/WL10gR3/jrockit_160_05/jre/bin/java -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic.policy -Djava.library.path=/opt/Oracle/WL10gR3/jrockit_160_05/jre/lib/i386/jrockit:/opt/Oracle/WL10gR3/jrockit_160_05/jre/lib/i386:/opt/Oracle/WL10gR3/jrockit_160_05/jre/../lib/i386::/opt/Oracle/WL10gR3/wlserver_10.3/server/native/linux/i686:/opt/Oracle/WL10gR3/wlserver_10.3/server/native/linux/i686/oci920_8 -Djava.class.path=/opt/Oracle/WL10gR3/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_wlp1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/patch_cie670/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/Oracle/WL10gR3/jrockit_160_05/lib/tools.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/weblogic.jar:/opt/Oracle/WL10gR3/modules/features/weblogic.server.modules_10.3.0.0.jar:/opt/Oracle/WL10gR3/wlserver_10.3/server/lib/webservices.jar:/opt/Oracle/WL10gR3/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/Oracle/WL10gR3/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/opt/Oracle/WL10gR3 -Dweblogic.system.BootIdentityFile=/opt/Oracle/WL10gR3/user_projects/domains/web/servers/AdminServer/security/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true weblogic.Server >
    <Sep 25, 2008 10:56:16 AM> <Info> <NodeManager> <Working directory is "/opt/Oracle/WL10gR3/user_projects/domains/web">
    <Sep 25, 2008 10:56:16 AM> <Info> <NodeManager> <Server output log file is "/opt/Oracle/WL10gR3/user_projects/domains/web/servers/AdminServer/logs/AdminServer.out">
    <Sep 25, 2008 10:56:17 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32 from BEA Systems, Inc.>
    <Sep 25, 2008 10:56:17 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR376251 Wed Aug 06 09:19:34 PDT 2008
    WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
    WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
    WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
    WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
    <Sep 25, 2008 10:56:19 AM CDT> <Error> <Management> <BEA-141244> <Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - /opt/Oracle/WL10gR3/user_projects/domains/web/<unknown>:13:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@http://www.bea.com/ns/wlp/90/security/wsrp>

  • Schema validation error at startup

    Configuration:
    WL Portal 9.2
    Linux Fedora Core 6
    I just created a new portal domain and it just does not startup.
    The reported exception is:
    Schema validation errors while parsing /domains/portal/./config/config.xml - Invalid xsi:type qname: 'ext:wsrp-identity-asserterType' in element realm@http://www.bea.com/ns/weblogic/920/domain>
    Schema validation errors while parsing /domains/portal/./config/config.xml - /domains/portal/<unknown>:13:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@http://www.bea.com/ns/wlp/90/security/wsrp
    I can't find the schema 'http://www.bea.com/ns/wlp/90/security/wsrp.xsd' neither on the web nor the jars supplied with the product.
    Any help would be appreciated.

    Hi, I think you may be missing the binding-file.xml that should be in your mbean jar which should be in your WL_HOME/server/lib/mbeantypes/...
    I am having similar problem and I get this error if I replace the 9.2 MBean jar (generated with MakeMBean) with 8.1 version. The 9.2 MakeMBean utility seems to bundle a bunch of additional jaxb binding files into the jar (xsb, binding-file.xml, *BeanImpl etc). Optionally you can run an 8.1 MBean through the 'weblogic.Upgrade -type securityprovider', this will convert your authentication mbean jar to 9.2 which also includes above mentioned files.
    Once you have an MBean jar, generated with the 9.2 MakeMBean you will probably get a similar error in that the startup will fail with error below: If you know how to fix this please let me know as I have spent a day on this with no luck.
    ...config.xml - C:\...\mydomain\<unknown>:16:9: error: fail
    ed to load java type corresponding to t=ucv-db-authenticatorType@http://www.bea.com/ns/weblogic/90/security/extension>
    <Feb 15, 2007 9:26:29 AM NZDT> <Critical> WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141245]Schema Validation Error in :\...\server\mydomain\config\config.xml see log for details. Schema validation can be disabled by starting the server with the command line option: -Dweblog
    ic.configuration.schemaValidationEnabled=false>
    PS: setting the -Dweblogic.configuration.schemaValidationEnabled=false option only causes the startup to fail as it cannot load the security provider (if this is your default provider I guess?)
    Hope this helps.

  • Schema validation errors with Portal 10.3

    I downloaded, installed and configured a domain with an AdminServer and a ManagedServer for WebLogic Portal 10.3. When I start the AdminServer from NodeManager the following errors are reported:
    &lt;Sep 24, 2008 12:50:41 PM CDT&gt; &lt;Error&gt; &lt;Management&gt; &lt;BEA-141244&gt; &lt;Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - Invalid xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@[http://www.bea.com/ns/weblogic/920/domain]&gt;
    &lt;Sep 24, 2008 12:50:41 PM CDT&gt; &lt;Error&gt; &lt;Management&gt; &lt;BEA-141244&gt; &lt;Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - /opt/Oracle/WL10gR3/user_projects/domains/web/&lt;unknown&gt;:13:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@[http://www.bea.com/ns/wlp/90/security/wsrp]&gt;
    When I start the AdminServer using startWebLogic.sh there are no errors. Please advise.

    There is a special forum for WLP users:
    WebLogic Portal

  • Error in parsing: SAX2 driver class com.sun.xml.parser not found

    Hi I have this exception
    Error in parsing: SAX2 driver class com.sun.xml.parser not found
    when I try to run the examples from the book xml and java
    I have added the following jar files to the class path that i have download form java.sun.com
    xml.jar
    xalan.jar
    jaxp.jar
    crimson.jar
    Please can anyone tell me what is missing or wrong..the code must be right since written by oreilly... please have u any ideA
    XMLReaderFactory.createXMLReader(
    // "org.apache.xerces.parsers.SAXParser");
                        "com.sun.xml.parser");//
    I HAVE ONLY CHANGED THIS LINE FROM THE apache parser..to com.sun.xml.parser
    THIS IS THE ALL CODE
    import java.io.IOException;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    import org.xml.sax.*;
    * <b><code>SAXParserDemo</code></b> will take an XML file and parse it using SAX,
    * displaying the callbacks in the parsing lifecycle.
    * @author Brett McLaughlin
    * @version 1.0
    public class SAXParserDemo {
    * <p>
    * This parses the file, using registered SAX handlers, and output
    * the events in the parsing process cycle.
    * </p>
    * @param uri <code>String</code> URI of file to parse.
    public void performDemo(String uri) {
    System.out.println("Parsing XML File: " + uri + "\n\n");
    // Get instances of our handlers
    ContentHandler contentHandler = new MyContentHandler();
    ErrorHandler errorHandler = new MyErrorHandler();
    try {
    // Instantiate a parser
    XMLReader parser =
    XMLReaderFactory.createXMLReader(
    // "org.apache.xerces.parsers.SAXParser");
                        "com.sun.xml.parser");// I HAVE ONLY CHANGED THIS LINE FROM THE apache parser..
    // Register the content handler
    parser.setContentHandler(contentHandler);
    // Register the error handler
    parser.setErrorHandler(errorHandler);
    // Parse the document
    parser.parse(uri);
    } catch (IOException e) {
    System.out.println("Error reading URI: " + e.getMessage());
    } catch (SAXException e) {
    System.out.println("Error in parsing: " + e.getMessage());
    * <p>
    * This provides a command line entry point for this demo.
    * </p>
    public static void main(String[] args) {
    // if (args.length != 1) {
    // System.out.println("Usage: java SAXParserDemo [XML URI]");
    // System.exit(0);
    //String uri = args[0];
    SAXParserDemo parserDemo = new SAXParserDemo();
    parserDemo.performDemo("content.xml");
    * <b><code>MyContentHandler</code></b> implements the SAX
    * <code>ContentHandler</code> interface and defines callback
    * behavior for the SAX callbacks associated with an XML
    * document's content.
    class MyContentHandler implements ContentHandler {
    /** Hold onto the locator for location information */
    private Locator locator;
    * <p>
    * Provide reference to <code>Locator</code> which provides
    * information about where in a document callbacks occur.
    * </p>
    * @param locator <code>Locator</code> object tied to callback
    * process
    public void setDocumentLocator(Locator locator) {
    System.out.println(" * setDocumentLocator() called");
    // We save this for later use if desired.
    this.locator = locator;
    * <p>
    * This indicates the start of a Document parse - this precedes
    * all callbacks in all SAX Handlers with the sole exception
    * of <code>{@link #setDocumentLocator}</code>.
    * </p>
    * @throws <code>SAXException</code> when things go wrong
    public void startDocument() throws SAXException {
    System.out.println("Parsing begins...");
    * <p>
    * This indicates the end of a Document parse - this occurs after
    * all callbacks in all SAX Handlers.</code>.
    * </p>
    * @throws <code>SAXException</code> when things go wrong
    public void endDocument() throws SAXException {
    System.out.println("...Parsing ends.");
    * <p>
    * This will indicate that a processing instruction (other than
    * the XML declaration) has been encountered.
    * </p>
    * @param target <code>String</code> target of PI
    * @param data <code>String</code containing all data sent to the PI.
    * This typically looks like one or more attribute value
    * pairs.
    * @throws <code>SAXException</code> when things go wrong
    public void processingInstruction(String target, String data)
    throws SAXException {
    System.out.println("PI: Target:" + target + " and Data:" + data);
    * <p>
    * This will indicate the beginning of an XML Namespace prefix
    * mapping. Although this typically occur within the root element
    * of an XML document, it can occur at any point within the
    * document. Note that a prefix mapping on an element triggers
    * this callback <i>before</i> the callback for the actual element
    * itself (<code>{@link #startElement}</code>) occurs.
    * </p>
    * @param prefix <code>String</code> prefix used for the namespace
    * being reported
    * @param uri <code>String</code> URI for the namespace
    * being reported
    * @throws <code>SAXException</code> when things go wrong
    public void startPrefixMapping(String prefix, String uri) {
    System.out.println("Mapping starts for prefix " + prefix +
    " mapped to URI " + uri);
    * <p>
    * This indicates the end of a prefix mapping, when the namespace
    * reported in a <code>{@link #startPrefixMapping}</code> callback
    * is no longer available.
    * </p>
    * @param prefix <code>String</code> of namespace being reported
    * @throws <code>SAXException</code> when things go wrong
    public void endPrefixMapping(String prefix) {
    System.out.println("Mapping ends for prefix " + prefix);
    * <p>
    * This reports the occurrence of an actual element. It will include
    * the element's attributes, with the exception of XML vocabulary
    * specific attributes, such as
    * <code>xmlns:[namespace prefix]</code> and
    * <code>xsi:schemaLocation</code>.
    * </p>
    * @param namespaceURI <code>String</code> namespace URI this element
    * is associated with, or an empty
    * <code>String</code>
    * @param localName <code>String</code> name of element (with no
    * namespace prefix, if one is present)
    * @param rawName <code>String</code> XML 1.0 version of element name:
    * [namespace prefix]:[localName]
    * @param atts <code>Attributes</code> list for this element
    * @throws <code>SAXException</code> when things go wrong
    public void startElement(String namespaceURI, String localName,
    String rawName, Attributes atts)
    throws SAXException {
    System.out.print("startElement: " + localName);
    if (!namespaceURI.equals("")) {
    System.out.println(" in namespace " + namespaceURI +
    " (" + rawName + ")");
    } else {
    System.out.println(" has no associated namespace");
    for (int i=0; i<atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i) +
    "=" + atts.getValue(i));
    * <p>
    * Indicates the end of an element
    * (<code></[element name]></code>) is reached. Note that
    * the parser does not distinguish between empty
    * elements and non-empty elements, so this will occur uniformly.
    * </p>
    * @param namespaceURI <code>String</code> URI of namespace this
    * element is associated with
    * @param localName <code>String</code> name of element without prefix
    * @param rawName <code>String</code> name of element in XML 1.0 form
    * @throws <code>SAXException</code> when things go wrong
    public void endElement(String namespaceURI, String localName,
    String rawName)
    throws SAXException {
    System.out.println("endElement: " + localName + "\n");
    * <p>
    * This will report character data (within an element).
    * </p>
    * @param ch <code>char[]</code> character array with character data
    * @param start <code>int</code> index in array where data starts.
    * @param end <code>int</code> index in array where data ends.
    * @throws <code>SAXException</code> when things go wrong
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("characters: " + s);
    * <p>
    * This will report whitespace that can be ignored in the
    * originating document. This is typically only invoked when
    * validation is ocurring in the parsing process.
    * </p>
    * @param ch <code>char[]</code> character array with character data
    * @param start <code>int</code> index in array where data starts.
    * @param end <code>int</code> index in array where data ends.
    * @throws <code>SAXException</code> when things go wrong
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("ignorableWhitespace: [" + s + "]");
    * <p>
    * This will report an entity that is skipped by the parser. This
    * should only occur for non-validating parsers, and then is still
    * implementation-dependent behavior.
    * </p>
    * @param name <code>String</code> name of entity being skipped
    * @throws <code>SAXException</code> when things go wrong
    public void skippedEntity(String name) throws SAXException {
    System.out.println("Skipping entity " + name);
    * <b><code>MyErrorHandler</code></b> implements the SAX
    * <code>ErrorHandler</code> interface and defines callback
    * behavior for the SAX callbacks associated with an XML
    * document's errors.
    class MyErrorHandler implements ErrorHandler {
    * <p>
    * This will report a warning that has occurred; this indicates
    * that while no XML rules were "broken", something appears
    * to be incorrect or missing.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void warning(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Warning**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Warning encountered");
    * <p>
    * This will report an error that has occurred; this indicates
    * that a rule was broken, typically in validation, but that
    * parsing can reasonably continue.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void error(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Error**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Error encountered");
    * <p>
    * This will report a fatal error that has occurred; this indicates
    * that a rule has been broken that makes continued parsing either
    * impossible or an almost certain waste of time.
    * </p>
    * @param exception <code>SAXParseException</code> that occurred.
    * @throws <code>SAXException</code> when things go wrong
    public void fatalError(SAXParseException exception)
    throws SAXException {
    System.out.println("**Parsing Fatal Error**\n" +
    " Line: " +
    exception.getLineNumber() + "\n" +
    " URI: " +
    exception.getSystemId() + "\n" +
    " Message: " +
    exception.getMessage());
    throw new SAXException("Fatal Error encountered");

    I have seen this error when I'm executing inside one of the (j2ee sun reference implementation) server containers (either web or ejb). I believe its caused by "something" having previously loaded the "sax 1 driver class". In my case, I think the container or server is loading the sax parser from a jar that contains a sax 1 version. If you can, ensure that nothing is loading the sax 1 parser from another jar on your system. Verify that you are loading the sax parser from a jar containing the latest version so that you get the sax 2 compliant parser. Good luck!

  • JavaMapping in PI 7.1 Error:Unable to display tree view; Error when parsing

    hi,
    i get by testing in PI 7.1 (operation mapping) this ERROR:
    "Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)"
    this is my java-programm-code:
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import com.sap.aii.mapping.api.StreamTransformation;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    /*IMPORT statement imports the specified classes and its methods into the program */
    /Every Java mapping program must implement the interface StreamTransformation and its methods execute() and setParameter() and extend the class DefaultHandler./
    public class Mapping extends DefaultHandler implements StreamTransformation {
    Below is the declaration for all the variables we are going to use in the
    subsequent methods.
         private Map map;
         private OutputStream out;
         private boolean input1 = false;
         private boolean input2 = false;
         private int number1;
         private int number2;
         private int addvalue;
         private int mulvalue;
         private int subvalue;
         String lineEnd = System.getProperty("line.separator");
    setParamater() method is used to store the mapping object in the variable
    "map"
         public void setParameter(Map param) {
              map = param;
         public void execute(InputStream in, OutputStream out)
                   throws com.sap.aii.mapping.api.StreamTransformationException {
              DefaultHandler handler = this;
              SAXParserFactory factory = SAXParserFactory.newInstance();
              try {
                   SAXParser saxParser = factory.newSAXParser();
                   this.out = out;
                   saxParser.parse(in, handler);
              } catch (Throwable t) {
                   t.printStackTrace();
    As seen above execute() method has two parameters "in" of type
    InputStream and "out" of type OutputStream. First we get a new instance
    of SAXParserFactory and from this one we create a new Instance of
    SAXParser. To the Parse Method of SaxParser, we pass two parameters,
    inputstream "in" and the class variable "handler".
    Method "write" is a user defined method, which is used to write the
    string "s" to the outpurstream "out".
         private void write(String s) throws SAXException {
              try {
                   out.write(s.getBytes());
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startDocument() throws SAXException {
              write("");
              write(lineEnd);
              write("");
              write(lineEnd);
         public void endDocument() throws SAXException {
              write("");
              try {
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startElement(String namespaceURI, String sName, String qName,
                   Attributes attrs) throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = true;
              if (eName.equals("NUMBER2"))
                   input2 = true;
         public void endElement(String namespaceURI, String sName, String qName)
                   throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = false;
              if (eName.equals("NUMBER2"))
                   input2 = false;
         public void characters(char[] chars, int startIndex, int endIndex)
                   throws SAXException {
              String dataString = new String(chars, startIndex, endIndex).trim();
              if (input1) {
                   try {
                        number1 = Integer.parseInt(dataString);
                   } catch (NumberFormatException nfe) {
              if (input2) {
                   number2 = Integer.parseInt(dataString);
              if (input2 == true) {
                   addvalue = number1 + number2;
                   mulvalue = number1 * number2;
                   subvalue = number1 - number2;
                   write("" + addvalue + "");
                   write(lineEnd);
                   write("" + mulvalue + "");
                   write(lineEnd);
                   write("" + subvalue + "");
                   write(lineEnd);
    in developer studio 7.1 i dont get error.
    this happens by testing the mapping-programm in ESR.
    can somebody help me please?

    Make sure that the xml created out after the java mapping is a valid xml with only one root node.
    Regards,
    Prateek

  • Error in parsing the taglib tag in the JSP page

    Hi
    We are trying to deploy and run a Web Application in CE 7.1 SP01. We are successful in deploying and running servlet based web pages, but when it comes to JSP's the taglibs are not parsed and we get the following error message
    Runtime error in processing of the JSP file E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\main.jsp.
    The error is: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Error in parsing the taglib tag in the JSP page. Cannot resolve URI: [webwork]. Possible reason - validation failed. Check if your TLD is valid against its scheme.02004C4F4F5000190000004E000013400191D308B45
    Processing HTTP request to servlet [jsp] finished with error.
    The error is: java.io.FileNotFoundException: E:\usr\sap\CE1\J01\j2ee\cluster\apps\sap.com\TestNWEAR\servlet_jsp\TestNW\root\admin\webwork (The system cannot find the file specified)02004C4F4F50001900000051000013400191D308B45AF1AB
    We followed the below weblog to correct the TLD's in JAVA EE 5 @ SAP but it did not work for us.
    /people/community.user/blog/2006/10/13/porting-the-java-blueprint-solutions-catalogue-applications-to-sap-netweaver-application-server-java-ee-5-edition
    Any immediate help will be rewarded with full points
    Thanks in advance
    Lakshmi
    Edited by: lakshmi N Munnungi on May 5, 2008 11:36 PM
    Edited by: lakshmi N Munnungi on May 5, 2008 11:39 PM

    Hi Lakshmi,
    I have also the same problem. If you have found the solution please post it thanks,
    Thanks,
    Tariq

  • HTTP response code 500 : Error during parsing of SOAP header

    Hi Experts,
    I have a MAIL to IDOC scenario.  An external third party emails invoices to our inbox - which we pick up and process the attachment.  All is well when I test the scenario internally, but when the third party emails it fails with (see ERROR MESSAGE below).
    When I look at the SOAP header of the failed message I see the values from the dump in this field:
      <sap:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderTHREAD-INDEX">AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=</sap:Record>
    Can anyone tell me what SHeaderTHREAD-INDEX does?  Or what my problem is  (Our email is Outlook)
    ERROR MESSAGE.........
    SOAPFault received from Integration Server. ErrorCode/Category: XIProtocol/WRONG_VALUE; Params: SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14), AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=協彎䅍䔾ਉ़䥎噏䥃䕟乏㸸㌱ㄵㄹ㰯䥎噏䥃䕟乏㸊उ㱁䵏啎呟䕘䍌彖䅔㸷⸵〼⽁䵏啎呟䕘䍌彖䅔㸊उ㱃啒剅乃失㹅啒㰯䍕剒䕎䍙ㄾਉ़䅍何乔彖䅔㸱⸴㜼⽁ꯃ䅢坡汫, ST: ST_XM; AdditionalText: An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC; ApplicationFaultMessage:  ; ErrorStack: XML tag SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14) (or one of the attributes) has the incorrect value AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQ An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC Data loss occurred when converting AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1p
    Transmitting the message to endpoint http://sdcxp1-ci.na.fmo.com:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during parsing of SOAP header.

    We work with Microsoft Outlook, but I'm sure this could work with any email system.
    This error only came from external emails - what we did in the end is to get the third party to email a particular email (email1) in our company.  This is set up as a regular email account.  On this email put a forward rule to email2 for a particular sender/subject.  email2 is set up as POP3 so that XD1 can poll it - we also block any emails except from email1.
    Doing this accomplishes a couple of things:
    1)  We get around the error because XI polls email2 (which has adapter settings of IMAP4 so we can see MAIL adapter attributes ie. sender, subject etc...When we originally had as POP3 we were not able to see these - but setting as IMAP4 causes the error for external emailers)
    2) We have a SPAM filter - the XI email is clean from SPAM and the adapter will not have errors, as it only receives valid emails to process
    3) We have a central email (email1) which is used to archive all XI emails - we use this for all email scenarios (as we also save to folder and forward in the rule)
    Hope this helps your situation.

  • Validation error in Tag Library at deploy time

    I am trying to deploy a JSF2 app to NW CE 7.1 EHP1. This application deploy's fine to Tomcat. When I deploy to SAP it gives an error: Error in parsing [META-INF/primefaces-i.tld] TLD file in the following [D:\usr\sap\NCX\J00\j2ee\cluster\apps\com.sap\IDMear\servlet_jsp\IDM\root\WEB-INF\lib\primefaces-1.0.0.jar] JAR file.
    [EXCEPTION]
    com.sap.engine.lib.xml.parser.NestedSAXParseException: Fatal Error: org.xml.sax.SAXParseException: Validation error : line: 13; col: 16; :description : Element is not allowed.(:main:, row=13, col=17) -> org.xml.sax.SAXParseException: Validation error : line: 13; col: 16; :description : Element is not allowed.
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:140)
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:174)
    at com.sap.engine.lib.processor.SchemaProcessor.parse(SchemaProcessor.java:197)
    at com.sap.engine.services.servlets_jsp.server.deploy.descriptor.TagLibDescriptor.loadDescriptorFromStream(TagLibDescriptor.java:90)
    From looking at the TLD XSD for JEE 5, the Description field should be allowed. Do you know why it is not comparing the TLD against the correct schema or if there is another explanation?
    This is a 3rd party faces component library. Here is where it fails:
    <?xml version="1.0" encoding="UTF-8"?>
    <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1">
         <tlib-version>1.2</tlib-version>
         <short-name>i</short-name>
         <uri>http://primefaces.prime.com.tr/touch</uri>
         <tag>
              <name>application</name>
              <tag-class>org.primefaces.touch.component.application.ApplicationTag</tag-class>
              <body-content>JSP</body-content>
              <attribute>
                   <name>id</name>
                   <required>false</required>
                   <description><![CDATA[Id of the component]]></description>               <rtexprvalue>false</rtexprvalue>
              </attribute>
    Any suggestions would be appreciated.

    It looks like the 3rd party tld did not have the description in the correct order. It has been corrected in a new build.

  • XML Validation Errors?

    Hi all,
    I am parsing an XML file passed in at the cmd line and using this method to return a boolean if depending if the validation was ok....I have successfully validated against the particular file that I am passing in against a valid XSD and it works fine. But when I do this here it gets caught as an error straight away.
    Can anyone see any obvious mistakes with this code or have any suggestions?
    public boolean validateXML() {
            try {
            boolean validate = true;
            parser.setFeature("http://xml.org/sax/features/validation", validate);
            //CustomerErrorHandler extends SAX ErrorHandler
            CustomErrorHandler handler = new CustomErrorHandler();
            //Install/Enable the parser to handle parsing errors
            parser.setErrorHandler(handler);
            parser.parse(args[0]);
            System.out.println("YOU ARE IN THE XMLVALIDATOR CODE NOW!!!!");
            validXML = true;
            catch (Exception ex) {
                System.out.println("An error has been caught, following validation");
                validXML = false;
            return validXML;
        }

    Hi thanks for the response,
    I did not quite get what you meant from youre last post to this question. From what I understand from the lines you gave the following 3 lines need to be added to the class:
    parser.setFeature("http://apache.org/xml/features/validation/schema", validate);parser.setFeature
    ("http://apache.org/xml/features/validation/schema-full-checking", validate);parser.setProperty
    ("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", schemaUrl);Then what I understood was to declare a String variable (schemaUrl) which is the actual location of the XML document? So in my case this would be "c://winnt/desktop/note.xml....
    I was not clear on when you said:
    XML document url (argv[0]) and schema document url should be file url:
    file://c:/schema/xmldoc.xml
    Thanks again,

  • XML Error [4]: parse error in all the IP Phones

    Hi All,
    While clicking on the Global Directory we are getting "XML Error [4]: Parse error " on the Cisco IP phone display,Global directory is pointed to the external server located in Same location .The issue started one week back .
    I have attached the Wireshork output of the Phone ..
    Regards,
    Nishad KI

    Great catch Aaron
    To aid with your trouble shooting an example of one of the requests that is failing is:
    http://10.106.32.64/CiscoIPServices/multidirectory/multidirectory.asp?id=4&action=list&l=a&f=a
    From the URL a first name of 'a' and a last name of 'a' was entered, did something change recently that would affect this custom service?
    I would assume this directory service queries LDAP/AD, you might want to check the user account it uses is still valid and have a look at the windows event logs on 10.106.32.64 for any hints.
    Note: A restart of IIS on the directory application server might help to resolve this
    Thanks
    Stephen

  • Validating error with JAXP

    i wrote a small app that read a COLLADA instance document and convert it to a html document. First I wrote some xsl stylesheets and now I'm using a JAXP DOM parser to parse the instance document and a JAXP xslt transformer to perform the transformation.
    When I use a non-validating parser it seems all work well but when i try to use a validating parser i get this message error:
    org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'xml:base' to a(n) 'attribute declaration' component.
    What does it mean?
    When I'm at my home pc,I get the error above but when I'm at university lab pc I don't get any error. WHY!? I'm using the same files.
    Thx for your help

    i'm using jdk 1.5.0_11 and here is my java code.
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For JFileChooser
    import javax.swing.*;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    public class StylizerMio2 {
        // Global value so it can be ref'd by the tree-adapter
        static Document document;
        // Constants you'll use when configuring the factory
        static final String JAXP_SCHEMA_LANGUAGE="http://java.sun.com/xml/jaxp/properties/schemaLanguage";
        static final String W3C_XML_SCHEMA="http://www.w3.org/2001/XMLSchema";
         //Constants used to specify the schema in the application
         static final String schemaSource="COLLADASchema_141.xsd";
         static final String JAXP_SCHEMA_SOURCE="http://java.sun.com/xml/jaxp/properties/schemaSource";
        public static void main(String[] argv) {
            /*if (argv.length != 2) {
                System.err.println("Usage: java StylizerMio stylesheet xmlfile");
                System.exit(1);
            // Generating a parser
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
             //Configure the factory to generate a namespace-aware,validating parser
            factory.setValidating(true);  
            factory.setNamespaceAware(true);
             try{
                  factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
              // Associate a document with a schema
              factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(schemaSource));
             catch (IllegalArgumentException x) {
                  // Happens if the parser does not support JAXP 1.2
                  x.printStackTrace();
            // Associating the document with the schema
            try {
              JFileChooser chooser = new JFileChooser();
            ExampleFileFilter daeFilter = new ExampleFileFilter();
            daeFilter.addExtension("dae");
            daeFilter.setDescription("documenti istanza COLLADA");
            chooser.setFileFilter(daeFilter);
            chooser.setCurrentDirectory(new File("."));
              int returnVal = chooser.showOpenDialog(null);
              if(returnVal == JFileChooser.APPROVE_OPTION) {
              System.out.println("You chose to open this file: " +
                   chooser.getSelectedFile().getName());
                File stylesheet = new File("trasformazione.xsl");
              //"Moon Buggy/lunar_vehicle_tris.dae"
                File datafile = chooser.getSelectedFile();
                DocumentBuilder builder = factory.newDocumentBuilder();
              //Handling validation errors
              builder.setErrorHandler(
              new org.xml.sax.ErrorHandler(){
                   // ignore fatal errors (an exception is garaunteed)
                   public void fatalError(SAXParseException exception)
                        throws SAXException{}
                             //treat validation errors as fatal
                             public void error(SAXParseException e)
                                  throws SAXParseException
                                  throw e;
                             // dump warnigs too
                             public void warning(SAXParseException err)
                                  throws SAXParseException
                                  System.out.println("** Warning"
                                  + ", line " + err.getLineNumber()
                                  + ", uri " + err.getSystemId());
                                  System.out.println("   " + err.getMessage());
                document = builder.parse(datafile);
                // Use a Transformer for output
                TransformerFactory tFactory = TransformerFactory.newInstance();
                StreamSource stylesource = new StreamSource(stylesheet);
                Transformer transformer = tFactory.newTransformer(stylesource);
                DOMSource source = new DOMSource(document);
                // SaveDialogue JFileChooser
                ExampleFileFilter htmlFilter = new ExampleFileFilter();
                htmlFilter.addExtension("html");
                htmlFilter.setDescription("documento html");
                chooser.setFileFilter(htmlFilter);
                 chooser.showSaveDialog(null);
                  //"Moon Buggy/lunar_vehicle_tris.html"
                File htmlFile= chooser.getSelectedFile();
                StreamResult result = new StreamResult(htmlFile);
                transformer.transform(source, result);
            } catch (TransformerConfigurationException tce) {
                // Error generated by the parser
                System.out.println("\n** Transformer Factory error");
                System.out.println("   " + tce.getMessage());
                // Use the contained exception, if any
                Throwable x = tce;
                if (tce.getException() != null) {
                    x = tce.getException();
                x.printStackTrace();
            } catch (TransformerException te) {
                // Error generated by the parser
                System.out.println("\n** Transformation error");
                System.out.println("   " + te.getMessage());
                // Use the contained exception, if any
                Throwable x = te;
                if (te.getException() != null) {
                    x = te.getException();
                x.printStackTrace();
            } catch (SAXException sxe) {
                // Error generated by this application
                // (or a parser-initialization error)
                Exception x = sxe;
                if (sxe.getException() != null) {
                    x = sxe.getException();
                x.printStackTrace();
            } catch (ParserConfigurationException pce) {
                // Parser with specified options can't be built
                pce.printStackTrace();
            } catch (IOException ioe) {
                // I/O error
                ioe.printStackTrace();
        } // main
    }

  • "Jigsaw" CSS Validator Error Messages, Code Not Found

    My page is created in DW CS5.
    The page I'm testing (http://jigsaw.w3.org/css-validator/)  is:  www.aloe-vera.org/index.htm
    I am getting error messages.  But, when I got to the line of code indicated, the code isn't there.  These are the errors (which I don't understand anyway):
    166
    ul.MenuBarHorizontal iframe
    attempt to find a semi-colon before the property name. add it
    0
    ul.MenuBarHorizontal iframe
    Parse Error                                              null
    166
    ul.MenuBarHorizontal iframe
    Property opacity doesn't exist in CSS level 2.1 but exists in  : 0.1                                               0.1
    166
    ul.MenuBarHorizontal iframe
    Parse Error                                              0.1);
    167
    ul.MenuBarHorizontal iframe
    Parse Error                                              }
    If the code can't be found on the line indicated, where does one find it?
    Thanks, David (Honaker, in Phoenix, AZ)

    As much as I would push users to that site, there are some parts of the Spry 1.0 framework that cause this type of error to occur.  What Adobe did was include "hacks", for lack of a better term, to make the Spry as compatible as they could in older versions of IE.  They did this knowing that the code would note validate.  It appears with some other Spry items as well.  I do not believe the 2.0 Spry Widgets (in the Widget Browser) have this same code validation issue.
    The only validation error on that page that I would worry about is the one on your index.htm with the ul.nav a, ul.nav a:visited background attribute.  The hex color can be written shorthand (3 characters) or full length (6 characters).  Yours currently is C6580 which is one number short.

  • Internal Delievery channel AIP-51505:  General Validation Error

    hi ,
    I am trying HL7 sample provided with B2b installation. It works fine . Have modified internal delievery channel as file protocol & provided the folder uri , so as to b2b engine picks it up as xml message is dropped in folder. It is resulting in B2B - (ERROR) Error -: AIP-51505: General Validation Error .
    Just wondering why the B2B process is not validating xml file by just modifing internal delievery channel. Do i have to take additional care to configure Internal Delievery channel. ??
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:195)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1364)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (ERROR) Error -: AIP-51505:  General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:195)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1364)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
    2008.12.04 at 12:05:49:734: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=a01.xml, filesize=1901, file_ext=xml, *fullpath=C:\files\a01.xml, timestamp=2008-12-04T11:43:31.640-05:00}*
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum not null
    2008.12.04 at 12:05:49:750: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2008.12.04 at 12:05:49:781: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exception null
    2008.12.04 at 12:05:49:812: Thread-14: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:839)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireBusinessToErrorState(DbAccess.java:5150)
         at oracle.tip.adapter.b2b.engine.Engine.handleInboundException(Engine.java:3831)
         at oracle.tip.adapter.b2b.engine.Engine.handleExceptionBeforeIncomingTPA(Engine.java:3702)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1383)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    Thanks

    Hi Ramesh,
    Thank you for your reply. Basically i need to convert HL7 xml to HL7 binary with delivery channel as file. Changed the
    oracle.tip.adapter.b2b.allTPInOneDirectory= True from false.
    Created Internal Delievery channel with folder as c:\USLabs (USLabs is a host trading partner) on localhost.
    i am placing xml file with name as USLabs_123.xml in this particular folder.
    This xml file is same as a01.xml provided with HL7 sample. but i get this exception.
    Protocol = File
    Version = 1.0
    Transport Header
    filename:USLabs_123.xml
    filesize:1888
    file_ext:xml
    fullpath:C:\USLabs\USLabs_123.xml
    timestamp:2008-12-04T12:27:58.546-05:00
    <?xml version="1.0" ?><ADT_A01 xmlns="http://www.edifecs.com/xdata/200 " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="2.0" Standard="HL7" Version="2.3.1" CreatedDate="2005-08-16T16:52:26" CreatedBy="ECXEngine_826" GUID="{1A2726C6-B00E-DA11-8F7A-080020C8D296}"><MSH><MSH.1>|</MSH.1><MSH.2>^~\&amp;</MSH.2><MSH.3><HD.1>#Property(MessageSendingApp)#</HD.1></MSH.3><MSH.4><HD.1>#Property(MessageSendingFacility)#</HD.1></MSH.4><MSH.5><HD.1>#Property(MessageReceivingApp)#</HD.1></MSH.5><MSH.6><HD.1>#Property(MessageReceivingFacility)#</HD.1></MSH.6><MSH.7><TS.1>20050804162010</TS.1></MSH.7><MSH.8 xsi:nil="true"></MSH.8><MSH.9><MSG.1>ADT</MSG.1><MSG.2>A01</MSG.2></MSH.9><MSH.10>#ControlNumber#</MSH.10><MSH.11><PT.1>#Property(ProcessingID)#</PT.1></MSH.11><MSH.12><VID.1>2.3.1</VID.1></MSH.12><MSH.13 xsi:nil="true"></MSH.13><MSH.14 xsi:nil="true"></MSH.14><MSH.15>AL</MSH.15><MSH.16>ER</MSH.16><MSH.17>#Property(CountryCode)#</MSH.17><MSH.18>ASCII</MSH.18><MSH.19><CE.1>ENG</CE.1></MSH.19></MSH><PID><PID.1>1</PID.1><PID.2 xsi:nil="true"></PID.2><PID.3><CX.1>A0000010</CX.1></PID.3><PID.4 xsi:nil="true"></PID.4><PID.5><XPN.1><FN.1>Miranda Charles 01_10</FN.1></XPN.1></PID.5><PID.6 xsi:nil="true"></PID.6><PID.7><TS.1>20001001</TS.1></PID.7><PID.8>F</PID.8></PID><PV1><PV1.1>1</PV1.1><PV1.2 xsi:nil="true"></PV1.2><PV1.3 xsi:nil="true"></PV1.3><PV1.4 xsi:nil="true"></PV1.4><PV1.5 xsi:nil="true"></PV1.5><PV1.6 xsi:nil="true"></PV1.6><PV1.7 xsi:nil="true"></PV1.7><PV1.8 xsi:nil="true"></PV1.8><PV1.9 xsi:nil="true"></PV1.9><PV1.10 xsi:nil="true"></PV1.10><PV1.11 xsi:nil="true"></PV1.11><PV1.12 xsi:nil="true"></PV1.12><PV1.13 xsi:nil="true"></PV1.13><PV1.14 xsi:nil="true"></PV1.14><PV1.15 xsi:nil="true"></PV1.15><PV1.16 xsi:nil="true"></PV1.16><PV1.17 xsi:nil="true"></PV1.17><PV1.18 xsi:nil="true"></PV1.18><PV1.19><CX.1>10010</CX.1></PV1.19></PV1></ADT_A01>
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS enter
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS checking header names
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =filename
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =filesize
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =file_ext
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =fullpath
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS name =timestamp
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:syncAckEBMS exit
    2008.12.05 at 06:03:28:046: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2008.12.05 at 06:03:28:109: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2008.12.05 at 06:03:28:109: Thread-17: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2008.12.05 at 06:03:28:125: Thread-17: B2B - (DEBUG) DBContext commit: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) DBContext beginTransaction: Leave
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2008.12.05 at 06:03:28:125: Thread-16: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpack:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@7f8922
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) MimePackaging:unpack:Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {File}
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = USLabs_123.xml
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage File TP Host name = USLabs
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setInitiatingPartyId() changing from null to TPName: USLabs Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage fromParty = USLabs
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setFromPartyId() changing from null to TPName: USLabs Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) calling setToPartyId() changing from null to TPName: null Type: null Value: null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage security info NULL
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage toTP null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage hubUrl null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processHubMessage Exit
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage ProtocolCollabId = null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage CollaborationName null
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Enter
    2008.12.05 at 06:03:28:171: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate check non-RosettaNet Message
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:checkDuplicate Exit
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Protocol Collaboration Id : null
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin:identifyIncomingDocument Enter
    2008.12.05 at 06:03:28:187: Thread-16: B2B - (WARNING) checkForEB:Does not end with EB. Appending EB to payload
    2008.12.05 at 06:03:28:234: Thread-17: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2008.12.05 at 06:03:28:234: Thread-17: B2B - (DEBUG) DBContext commit: Leave
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl Enter
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl document params = null
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:isValidateEnvelope oracle.tip.adapter.b2b.hl7.ignoreValidation set to ALL
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl validateEnvelope = false
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:HL7SelectorImpl Leave
    2008.12.05 at 06:03:28:406: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:cloneSelector Enter
    2008.12.05 at 06:03:28:421: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.hl7.HL7SelectorImpl@1e1ec86
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin:identifyIncomingDocument errcode = Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons:  A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (ERROR) com.edifecs.shared.jni.JNIException: Execute failed - CECToolsException thrown - HRESULT[650007], description[The data in the file could not be parsed. Please check the file to verify that it is valid and formatted correctly. This error can occur for one of the following reasons:  A) The data file may be a Word document or have some other binary format. B) The envelope data may not be formatted properly. If this is an X12 data file, please verify that the ISA segment is the correct size (exactly 106 characters). If this is an EDIFACT data file, it must have either a UNA or begin with UNB. For other standards, verify that the envelope segments conform to the specified rules. C) The segment/record delimiters in the file are incorrect.]
         at com.edifecs.shared.jni.xdata.INativeToXData.ExecuteNative(Native Method)
         at com.edifecs.shared.jni.xdata.INativeToXData.Execute(Unknown Source)
         at oracle.tip.adapter.b2b.document.hl7.HL7DocumentPlugin.identifyIncomingDocument(HL7DocumentPlugin.java:328)
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3024)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    *2008.12.05 at 06:03:31:046: Thread-16: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error*
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3043)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-50083: Document protocol identification error
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=USLabs_123.xml, filesize=1888, file_ext=xml, fullpath=C:\USLabs\USLabs_123.xml, timestamp=2008-12-04T12:27:58.546-05:00}
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-50083: Document protocol identification error
    2008.12.05 at 06:03:31:046: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum not null
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message protocol message id
    2008.12.05 at 06:03:31:062: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message payload storage
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new business message
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty name null
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow toparty type and value nullnull
    2008.12.05 at 06:03:31:078: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow BusinessAction for the given name null null
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Native Event Tbl Row
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2008.12.05 at 06:03:31:093: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateNativeEvtTblRow msgInfo.id = USLabs_123.xml@C0A8006411E06D104AB0000013426420
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg protocolCollabID = null
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException notifying App
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) Engine:notifyApp Enter
    2008.12.05 at 06:03:31:109: Thread-16: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>C0A8006411E06D1048C0000013426410</b2bMessageId>
    <errorCode>AIP-50083</errorCode>
    <errorText>Document protocol identification error</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (xpone)
    Description: Unable to identify the document protocol of the message
    StackTrace:
    Error -:  AIP-50083:  Document protocol identification error
         at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:3043)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1552)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)
         at java.lang.Thread.run(Thread.java:534)
      ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    Please help.
    Thanks

Maybe you are looking for

  • Can't iinstal iSight updater 1.0.2 for my OS X.2.8 mac

    Boy am I frustrated. My mac isn't that old and I'm having a bad time finding proper assistance from the apple sight. Seems like if you don't have at least Panther, you're NO ONE!!! And my mac's only a couple years old - I run 10.2.8 and it was EXPENS

  • Help to Simplify this query

    i am using Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production With the Partitioning option JServer Release 8.1.7.4.0 - Production Please help to simplify this query. I also want to make this as a procedure. select RH.resort as RH_RESORT, RH.r

  • Downloaded Safari ver 1.3.2 for OS x 10.3.9 but will not install

    My copy of safari ver 1.3.2 recently stopped working, it crashes most of the time now, but worked perfectly before. I am on OS X 10.3.9 Safari probably got corrupted. I tried downloading a copy of Safari ver 1.3.2 from Apple but it would not install.

  • HT203175 update problems

    I have Windows XP.  When I try to update iTunes it can't uninstall old iTunes. When I try to uninstall manually it says iTunes 10.5.2.11 is corrupt now ITunes won't run on this od version on my PC.

  • Hd dvd authoring jerky motion w/4.2 DVDSP

    I burned an HDDVD (on my standard drive w/ reg dvd media) and it plays a few frames then pauses, then "catches up" then pauses again(audio plays straight through perfectly)...this in both my Intel MacBook Pro and in Toshiba player. Resolution looks g