Xs:pattern - Exception: Unable to parse schema

JDeveloper BPEL displays the following error when I try to use a variable type from a specific schema.
Exception: Unable to parse schema
It doesn't display the above error if I remove all the schema references to
{http://www.w3.org/2001/XMLSchema}pattern
Can I infer that xs:pattern is not supported, or is this a bug?
Thanks,
Peter T

JDeveloper BPEL displays the following error when I try to use a variable type from a specific schema.
Exception: Unable to parse schema
It doesn't display the above error if I remove all the schema references to
{http://www.w3.org/2001/XMLSchema}pattern
Can I infer that xs:pattern is not supported, or is this a bug?
Thanks,
Peter T

Similar Messages

  • Exception: Unable to parse schema abc.xsd

    hi',
    I am using abc.xsd in file adapter where I am browsing for the schema file, the issue is this abc.xsd is internally referring to other
    schema files, so it is giving me this error "Exception: Unable to parse schema abc.xsd" if I manually copy paste all the XSD it requires
    inside the project BPEL folder is works, the issue is in production enviornment all this xsd will come from one shared folder so I am
    confused how to achieve this i.e. without copying all the XSD into the project BPEL folder refer it from one shared foler which is outside
    of the project.
    thanks
    Yatan

    You can enable WebDav on the Oracle HTTP Server component.
    cd $ORACLE_HOME/Apache/Apache/htdocs/dav_public
    mkdir Schemas
    cd $ORACLE_HOME/Apache/oradav/conf
    open the moddav.conf file for editing. Find the entry for the dav_public directory and modify as follows:
    <Location /dav_public>
    DAV on
    </Location>
    Restart the server
    Now the Schema can be accessed using the URL http://soahost:port/dav_public/Schemas/abc.xsd
    This way you can share the common xsd among different BPELProcesses.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML

    I am new to JAXB, I am trying to run the sample applciations on Win 98,
    I have set up the environment values as per the UserGuide specs.
    I am getting the following error:
    BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Schema at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema (XMLSchemaReader.java:190)
    Could someone please suggest a solution.
    Thank you.

    Hi
    I am using Windows 2000 and I am repeatedly getting the same error too (See below). Would appreciate any help ..
    parsing a schema...
    org.iso_relax.verifier.VerifierConfigurationException
         at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:104)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    StackTrace of Original Exception:
    java.lang.NullPointerException
         at com.sun.msv.datatype.xsd.TypeIncubator.addFacet(TypeIncubator.java:64)
         at com.sun.msv.reader.datatype.xsd.XSDatatypeExp$1.addFacet(XSDatatypeExp.java:87)
         at com.sun.msv.reader.datatype.xsd.FacetState.startSelf(FacetState.java:56)
         at com.sun.msv.reader.State.init(State.java:154)
         at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
         at com.sun.msv.reader.datatype.xsd.TypeState.startElement(TypeState.java:101)
         at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
         at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
         at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
         at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:434)
         at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:407)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.switchSource(XMLSchemaReader.java:683)
         at com.sun.msv.reader.xmlschema.ImportState.startSelf(ImportState.java:41)
         at com.sun.msv.reader.State.init(State.java:154)
         at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
         at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:72)
         at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
         at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
         at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
         at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:449)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.parse(XMLSchemaReader.java:89)
         at com.sun.msv.verifier.jarv.XSFactoryImpl.parse(XSFactoryImpl.java:26)
         at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:95)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    java.lang.Error: unable to load schema-for-schema for W3C XML Schema
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:190)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    Exception in thread "main"
    -Thanks
    Guna

  • Portal Runtime Error: Unable to parse template

    Hi!
    I integrated SAP BW system with SAP Portal. All the connection tests (Sap Web AS connection, ITS connection, Connection Test for connectors) run successfully.
    I also installed a BI add on u201CBI Administratoru201D on Portal and performed all the steps on SAP BI system.
    When I try to access one of the functions of BI Administrator I get Portal Runtime Exception on all the windows in Portal (bellow, in the middle, etc.).
    BI System Selection  
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 12:26_20/01/09_0013_21754250
    Refer to the log file for details about this exception.
    I have looked into log file for Portal and detected the following error text:
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException:
    Exception in SAP Application Integrator occured: Unable to parse template &\#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;
    /sap/bw/BEx?sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;accessibility=&lt;User.Accessibility
    [SAP_BOOL]&gt;&amp;style_sheet=&lt;LAF.StylesheetUrl[url_ENCODE]&gt;&amp;&lt;TrayInformation[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;Report&gt;&amp;&lt;BusinessParameters&gt;&\#39;; the problem occured at position 82. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;\#39;SAP_LocalSystem&amp;\#39;,
    Attribute: &amp;\#39;client&amp;\#39;.
    Question:
    How can I correct this error?
    Any helpful information will be very appreciated!
    Axel

    Hi Alex,
    It seems that the iview (of the type Application intergrator) cannot read or interperet the "client" parameter from your system object.
    I can also see that the systemobject-alias that is reffered to is "SAP_LocalSystem".
    Find the System Object called SAP_BW and see if all settings to connect to the backend are correct.
    In addition in the iview try to set the system-alias from SAP_LocalSystem to SAP_BW and retry.
    Good Luck.
    Benjamin

  • SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

    Hi,
    i have created web service link which deals with calling a Pl/sql procedure with the help of DBAdapter in jdev 10.1.3.4 .here i am trying to insert a row in tables.my webservice is working fine from BPEL console
    my collegue who is working on PHP is trying to access the the wsdl link with the help of Appcelator and php
    code for php
    <?php
    //include("general.php");
    $wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/CreateRepairOrder/1.0/CreateRepairOrder?wsdl';
    //$wsdl_url = 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl';
    $client = new SoapClient($wsdl_url,array('trace' => 1,'exceptions' => 0));
    print_r($client);
    exit;
    class CreateOrderNd
    var $PARTY_ID="";
    var $CUST_ACCOUNT_ID="";
    var $INVENTORY_ITEM_ID="";
    var $SERIAL_NUMBER="";
    var $UNIT_OF_MEASURE="";
    var $QUANTITY="";
    var $ITEM_CROSS_REFERENCE="";
    var $PROBLEM_DESCRIPTION="";
    function CreateOrderNd($PartyNam,$AccountId,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata)
    $this->PARTY_ID=$PartyName;
    $this->CUST_ACCOUNT_ID=$AccountId;
    $this->INVENTORY_ITEM_ID=$ItemId_requestdata;
    $this->SERIAL_NUMBER=$SerialNumber_requestdata;
    $this->UNIT_OF_MEASURE=$uom_requestdata;
    $this->QUANTITY=$quantity_requestdata;
    $this->ITEM_CROSS_REFERENCE=$ItemCrossReference_requestdata;
    $this->PROBLEM_DESCRIPTION=$ProblemDescription_requestdata;
    $parm = new CustomerNd($PartyName_requestdata,$AccountId_requestdata,$ItemId_requestdata,$SerialNumber_requestdata,$uom_requestdata,
    $quantity_requestdata,$ItemCrossReference_requestdata,$ProblemDescription_requestdata);
    $parm = new CustomerNd('Bus%','');
    $parm = new CreateOrderNd(4429,1608,6761,'0722AB05','Ea',1,'abc123','Network error');
    $ret=$client->process($parm);
    print_r($ret);
    ?>
    when she/he access it they are facing a error
    SOAP-ERROR: Parsing Schema: element has both 'type' attribute and subtype
    and some times it will give
    Warning: SoapClient::SoapClient(http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl) http://function.SoapClient-SoapClient: failed to open stream: HTTP request failed! in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Warning: SoapClient::SoapClient() http://function.SoapClient-SoapClient: I/O warning : failed to load external entity "http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl" in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6
    Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sfhyd1.softforce.com:8888/orabpel/DepotExtnDev/UpdateROStatus1/1.0/UpdateROStatus1?wsdl' in C:\xampp\htdocs\DepotExtensions\version9\app\services\CreateOrderNd.class.php on line 6

  • JMS Adapter: Unable to parse the scema error in step 7

    Hi
    I get unable to parse the schema error in step 7 of JMS Adapter partner link definition (in Type Chooser window). I am using RosettaNet 3b2 Schema converted from DTD by Tibco tools.
    Any help greatly appreciated.

    forwarded to the JMS adapter team. It would be nice if you could provide more context around the input you provided in the first 6 step (could you please post the schema or if there are a set of them, zip them up, rename the file .zap and email to collaxa_support_us at oracle.com). Thank you. -Edwin

  • Oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration

    Hi,
    I am using Jdeveloper 11.1.2.3.0. I have generate a .war file and deployed in weblogic server 10.3.6. When I click on start button by selecting the .war file, I am getting following exception
    oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.mds.exception.MDSRuntimeException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    null
    /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCacheInternal(JOCCacheProvider.java:343)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCache(JOCCacheProvider.java:254)
        at oracle.mds.internal.cache.JOCCacheProvider.<init>(JOCCacheProvider.java:87)
        at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
        at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.ias.cache.CacheConfigParsingException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    please let me know, how to resolve this issue.

    Filters are configured as follows in the web.xml:
      <filter>
        <filter-name>JpsFilter</filter-name>
        <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        <init-param>
          <param-name>enable.anonymous</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
          <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>

  • [orabpel_10.1.2.0.2_WL_solaris]: XMLScriptReader: unable to parse the provi

    All,
    I have downloaded orabpel_10.1.2.0.2_WL_solaris.bin and have tried to install this.
    However this fails horribly.
    First here are some details on the machine i try to install it on.
    I hope someone can help me with this.
    Paul
    uname -a
    SunOS dasapsd2 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V240
    ptrdiag
    System Configuration: Sun Microsystems sun4u Sun Fire V240
    System clock frequency: 167 MHZ
    Memory size: 2GB
    ==================================== CPUs ====================================
    E$ CPU CPU
    CPU Freq Size Implementation Mask Status Location
    0 1002 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 on-line MB/P0
    1 1002 MHz 1MB SUNW,UltraSPARC-IIIi 2.4 on-line MB/P1
    ================================= IO Devices =================================
    Bus Freq Slot + Name +
    Type MHz Status Path Model
    pci 66 MB pci108e,1648 (network)
    okay /pci@1f,700000/network@2
    pci 66 MB pci108e,1648 (network)
    okay /pci@1f,700000/network
    pci 33 MB isa/su (serial)
    okay /pci@1e,600000/isa@7/serial@0,3f8
    pci 33 MB isa/su (serial)
    okay /pci@1e,600000/isa@7/serial
    pci 33 MB isa/rmc-comm-rmc_comm (seria+
    okay /pci@1e,600000/isa@7/rmc-comm@0,3e8
    pci 33 MB pci10b9,5229 (ide)
    okay /pci@1e,600000/ide
    pci 66 MB scsi-pci1000,21 (scsi-2)
    okay /pci@1c,600000/scsi@2
    pci 66 MB scsi-pci1000,21 (scsi-2)
    okay /pci@1c,600000/scsi
    pci 66 MB pci108e,1648 (network)
    okay /pci@1d,700000/network
    pci 66 MB pci108e,1648 (network)
    okay /pci@1d,700000/network
    ============================ Memory Configuration ============================
    Segment Table:
    Base Address Size Interleave Factor Contains
    0x0 1GB 1 BankIDs 0
    0x1000000000 1GB 1 BankIDs 16
    Bank Table:
    Physical Location
    ID ControllerID GroupID Size Interleave Way
    0 0 0 1GB 0
    16 1 0 1GB 0
    Memory Module Groups:
    ControllerID GroupID Labels Status
    0 0 MB/P0/B0/D0
    0 0 MB/P0/B0/D1
    1 0 MB/P1/B0/D0
    1 0 MB/P1/B0/D1
    ########## END DETAILS ###########
    The command i use is the following.
    export LAX_DEBUG=1
    sh orabpel_10.1.2.0.2_WL_solaris.bin -i console
    And then the output is as follows
    dasapsd2 tmp # sh orabpel_10.1.2.0.2_WL_solaris.bin -i console
    Preparing to install...
    Checking for POSIX df.
    Found POSIX df.
    Checking tail options...
    Using tail -n 1.
    True location of the self extractor: /var/tmp/orabpel_10.1.2.0.2_WL_solaris.bin
    Creating installer data directory: /tmp/install.dir.8538
    Creating installer data directory: /tmp/install.dir.8538/InstallerData
    Gathering free-space information...
    Space needed to complete the self-extraction: 713319 blocks
    Available space: 1048560 blocks
    Available blocks: 1048560 Needed blocks: 713319 (block = 512 bytes)
    Computed number of blocks to extract: 719
    Extracting the JRE from the installer archive...
    Extracting JRE from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/Solaris/resource/jre_padded ...
    Extracting done, exit code = 0
    Extracting JRE from /tmp/install.dir.8538/Solaris/resource/jre_padded to /tmp/install.dir.8538/Solaris/resource/vm.tar.Z ...
    Extracting done, exit code = 0
    Unpacking the JRE...
    Unpacking the JRE...
    gzip is hashed (/usr/bin/gzip)
    GZIP done.
    TAR done.
    Extracting the installation resources from the installer archive...
    Extracting install.zip from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/InstallerData/installer.padded ...
    Extracting to padded done, exit code = 0
    Extracting from padded to zip done, exit code = 0
    Creating disk1 data directory: /tmp/install.dir.8538/InstallerData/Disk1
    Creating instdata data directory: /tmp/install.dir.8538/InstallerData/Disk1/InstData
    Extracting resources from orabpel_10.1.2.0.2_WL_solaris.bin to /tmp/install.dir.8538/InstallerData/Disk1/InstData/Resource1.zip ...Extracting done, exit code = 0
    Configuring the installer for this system's environment...
    ========= Analyzing UNIX Environment =================================
    Setting UNIX (sunos) flavor specifics.
    Importing UNIX environment into LAX properties.
    Checking for POSIX awk.
    ========= Analyzing LAX ==============================================
    LAX found............................ OK.
    LAX properties read.................. OK.
    ========= Finding VM =================================================
    Valid VM types.......................... J2 J1 MSJ MRJ
    Absolute LAX_VM path.................... /tmp/install.dir.8538/Solaris/resource/jre/bin/java
    Expanded Valid VM types................. JRE_J2 JDK_J2 JRE_J1 JDK_J1 MSJ MRJ
    * Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.8538/Solaris/resource/jre/bin/java
    ========= Virtual Machine Options ====================================
    LAX properties incorporated............. OK.
    classpath............................... "/tmp/install.dir.8538/InstallerData:/tmp/install.dir.8538/InstallerData/installer.zip"
    main class.............................. "com.zerog.ia.installer.Main"
    .lax file path.......................... "/tmp/install.dir.8538/temp.lax"
    user directory.......................... "/tmp/install.dir.8538"
    stdout to............................... "console"
    sterr to................................ "console"
    install directory....................... ""
    JIT..................................... none
    option (verify)......................... off
    option (verbosity)...................... none
    option (garbage collection extent)...... none
    option (garbage collection thread)...... none
    option (native stack max size).......... none
    option (java stack max size)............ none
    option (java heap max size)............. 50331648
    option (java heap initial size)......... 16777216
    option (lax.nl.java.option.additional).. none
    ========= Display settings ===========================================
    X display............................... not set
    UI mode................................. console
    Launching installer...
    CLASSPATH:/tmp/install.dir.8538/InstallerData:/tmp/install.dir.8538/InstallerData/installer.zip:
    ========= Forking JAVA =============================================
    LAX Version = 6.0
    IAResourceBundle: create resource bundle: en
    IACommandLineParser::<init> ---starting---
    IACommandLineParser::<init> ---ending---
    propertiesFileName = null
    seaFilename = orabpel_10.1.2.0.2_WL_solaris
    Default properties location = /var/tmp/
    UI Mode set to __________________________________________________________________________
    InstallAnywhere 6.1 Enterprise
    Thu Jan 04 17:22:29 CET 2007
    Free memory = 14506 kB
    Total memory = 16320 kB
    2Command Line Args:
    0: -i
    1: console
    java.class.path:
    /tmp/install.dir.8538/InstallerData
    /tmp/install.dir.8538/InstallerData/installer.zip
    ZGUtil.CLASS_PATH:
    /tmp/install.dir.8538/InstallerData
    /tmp/install.dir.8538/InstallerData/installer.zip
    sun.boot.class.path:
    /tmp/install.dir.8538/Solaris/resource/jre/lib/rt.jar
    /tmp/install.dir.8538/Solaris/resource/jre/lib/i18n.jar
    /tmp/install.dir.8538/Solaris/resource/jre/lib/sunrsasign.jar
    /tmp/install.dir.8538/Solaris/resource/jre/classes
    java.ext.dirs:
    /tmp/install.dir.8538/Solaris/resource/jre/lib/ext
    java.version == 1.3.1_11 (Java 2+)
    java.vm.name == Java HotSpot(TM) Client VM
    java.vm.vendor == Sun Microsystems Inc.
    java.vm.version == 1.3.1_11-b02
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.3
    java.vendor == Sun Microsystems Inc.
    java.vendor.url == http://java.sun.com/
    java.class.version == 47.0
    java.compiler == null
    java.home == /tmp/install.dir.8538/Solaris/resource/jre
    java.io.tmpdir == /var/tmp/
    os.name == SunOS
    os.arch == sparc
    os.version == 5.10
    path.separator == :
    file.separator == /
    file.encoding == ISO8859-1
    user.name == root
    user.home == /root
    user.dir == /tmp/install.dir.8538
    user.language == en
    user.region == US
    Preparing CONSOLE Mode Installation...
    ===============================================================================
    (created with InstallAnywhere by Zero G)
    Installer: InstallAnywhere 6.1 Enterprise Build 2325
    System's temporary directory = /tmp
    Please report the following to IA Engineering:
    XMLScriptReader: ERROR during instantiation of object. This object was lost!
    - refID: null
    - class: com.zerog.ia.installer.Installer
    java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1414)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1330)
    at java.lang.Runtime.loadLibrary0(Runtime.java:744)
    at java.lang.System.loadLibrary(System.java:815)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:48)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1065)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1086)
    at java.awt.Color.<clinit>(Color.java:183)
    at com.zerog.ia.installer.util.InstallFrameConfigurator.<clinit>(DashoA8113)
    at com.zerog.ia.installer.Installer.e(DashoA8113)
    at com.zerog.ia.installer.Installer.d(DashoA8113)
    at com.zerog.ia.installer.Installer.<init>(DashoA8113)
    at com.zerog.ia.installer.Installer.<init>(DashoA8113)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at ZeroGep.a(DashoA8113)
    at ZeroGep.c(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.o(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    XMLScriptReader: unable to parse the provided script file. File may have been invalid...
    java.lang.NullPointerException
    at ZeroGep.a(DashoA8113)
    at ZeroGep.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.o(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    Unable to instantiate the installer.
    Unable to load and to prepare the installer in console or silent mode.
    =======================================================
    Installer User Interface Mode Not Supported
    Unable to load and to prepare the installer in console or silent mode.
    =======================================================
    SHUTDOWN REQUESTED

    I have/had the same problem, in the release notes it is stated that the integration products dont work with the the latest AS release.
    The problem is wehere can you find the 10.1.2.0.0 AS release?

  • Exception:oracle.jsp.parse.JspParseException

    hi,
    I deploy my bibeans application via jdeveloper in to application server and copy my lib file named bibeans.jar in web-inf/lib. after I try to view my jsp page which view my graph my browser show internal server error message (error 500 in IE)and following error in my log file :
    04/12/14 11:00:31 Started
    04/12/14 11:00:33 webapp: jsp: init
    04/12/14 11:00:33 webapp: uix: init
    04/12/14 11:00:33 webapp: 9.0.4.0.0 Started
    04/12/14 11:02:42 webapp: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
    Error: Unable to load taghandler class: http://xmlns.oracle.com/bibeans
    04/12/14 11:04:22 webapp: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
    Error: Unable to load taghandler class: http://xmlns.oracle.com/bibeans
    what should I do ???
    thanks in advance,
    shima

    To the web.xml file add a taglib element.
    <taglib>
      <taglib-uri>http://xmlns.oracle.com/bibeans/</taglib-uri>
      <taglib-location>/WEB-INF/BITags.tld</taglib-location>
    </taglib>

  • Java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build

    The following code works fine with JDeveloper 10.1.2 with the xmlparserv2.jar file provided with JDeveloper.
    =====
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    ========
    However when I try to put this in Oracle Application Server 10.1.2.0.2, I get the following error:
    ====
    java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
    ====
    It seems like the oracle version is different in app server 10.1.2.0.2 that that of JDeveloper 10.1.2.
    When we rename the parser, the application works BUT the Oracle Enterprise Manager does not work properly as it depends on the latest version of the parser.
    Please help.
    Thanks,
    Madhav

    I am able to reproduce this problem. I have a jar file MyLib.jar which contains a class MyXmlUtils with a method called validate. This JAR file was created in JDeveloper 9.0.5.2.
    Now I create a Test class in JDeveloper 10.1.2 and use the method in the JAR file and it crashes in build method. The error says "NoSuchMethod".
    However if I import MyXmlUtils class in to the Test project, everything works fine.
    What is going on here?
    // MyLib.jar (Created in JDeveloper 9.0.5.2)
    public class MyXmlUtils
    public static void validate(String xml, String schemaUrl) throws Exception
    XSDBuilder schemaBuilder = new XSDBuilder();
    URL xsdURL = new URL(schemaUrl);
    XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
    dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    dp.setXMLSchema(xmlschema);
    ====
    // Test project created in JDeveloper 10.1.2
    import MyXmlUtils;
    public class Test
    public static void main(String[] args)
    Test t = new Test();
    try
    String xml = "<Person><Name>John</Name></Person>";
    String xsd = "file:\\c:\\Person.xsd";
    MyXmlUtils.validate(xml, xsd);
    catch (Exception e)
    System.out.println(e.getMessage());
    System.exit(1);
    Thanks,
    Madhav

  • Exeption in SAP Application Integrator occured: Unable to parse template

    Dear readers,
    When I'm trying to acces some of the Manager Self Services Iviews or pages in the SAP EP, I get the following error message:
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template
    complete log:
    Error message
    Location: com.sap.portal.prt.runtime
    11:41_16/01/09_0001_6564750
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    I guess this has something  to do with authorizations or portal permissions ? Can anyone help me with this problem?

    Enabled the Services due to transaction SICF, now I'm getting to following message:
    Error when processing your request
    What has happened?
    The URL http://nldbpd00.phobos-servicenet.nl:8010/sap/bc/webdynpro/sap/UMB_BSC_MY_ELEM/ was not called due to an error.
    Note
    The following error text was processed in the system DV0 : WebDynpro Exception: ICF service node "/sap/public/bc/icons" is not active (see SAP Note 517484)
    The error occurred on the application server nldbpd00_DV0_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: STARTUP_CHECKS of program CL_WDR_UCF====================CP
    Method: CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: CREATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DV0 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server nldbpd00_DV0_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server nldbpd00_DV0_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Seems to be work for an ABAP-er.

  • How do I solve this error message Exception Details: System.Exception: Unable to ExecuteModuleActionURI : Module/Jobs/Controller/Applications/Action/Apply/JobID/915337

    Server Error in '/' Application.
    Unable to ExecuteModuleActionURI : Module/Jobs/Controller/Applications/Action/Apply/JobID/915337
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Unable to ExecuteModuleActionURI : Module/Jobs/Controller/Applications/Action/Apply/JobID/915337
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [Exception: Unable to ExecuteModuleActionURI : Module/Jobs/Controller/Applications/Action/Apply/JobID/915337]
    BiteCMF.Util.Xsl.ExtensionObjects.BiteExtensionObject.ExecuteModuleActionURI(String moduleActionURI, String location) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Util\XSL\ExtensionObjects\BiteExtensionObject.cs:63
    [XslTransformException: An error occurred during a call to extension function 'ExecuteModuleActionURI'. See InnerException for a complete description of the error.]
    System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args) +1292307
    System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args) +806
    <xsl:template match="Job">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, String URL) +20724
    <xsl:template match="ViewData">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +152
    <xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator ) +806
    Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) +55
    System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) +150
    System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) +88
    System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream results) +89
    BiteCMF.Util.Xsl.BiteXsl.Transform(XmlDocument xmlToTransform) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Util\XSL\BiteXSL.cs:216
    BiteCMF.Util.Xsl.BiteXsl.Transform(XmlDocument xmlToTransform, String xslUrl) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Util\XSL\BiteXSL.cs:182
    BiteCMF.Modules.ViewActionResult.ToString(BiteRequestBroker requestBroker) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Modules\ViewActionResult.cs:166
    BiteCMF.Modules.ViewActionResult.Process(BiteRequestBroker requestBroker) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Modules\ViewActionResult.cs:255
    BiteCMF.Modules.CMS.CMSRequestBroker.ProcessRequestAsFrontend() in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Modules\CMS\CMSRequestBroker.cs:221
    BiteCMF.Modules.CMS.CMSRequestBroker.HandleRequest() in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\Modules\CMS\CMSRequestBroker.cs:45
    BiteCMF.CMS.BiteRequestBroker.ExecuteModuleBrokers() in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\CMS\BiteRequestBroker.cs:165
    BiteCMF.CMS.BiteRequestBroker.ProcessRequest() in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\CMS\BiteRequestBroker.cs:83
    BiteCMF.BiteHttpModule.ProcessRequest(HttpApplication app) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\BiteHttpModule.cs:192
    BiteCMF.BiteHttpModule.Application_PostAcquireRequestState(Object source, EventArgs e) in C:\Users\mbailey.REDANT\Desktop\Projects\Changeboard\BiteCMF\BiteHttpModule.cs:164
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • Exception: Unable to add security token for identity

    Hi Friends,
    I was trying to add SAML tokens(Sender-Voucher Profile) to my web services. I configured WLS and ALSB with all Authentication settings but I get a SOAPFaultException when i run the client.
    javax.xml.rpc.soap.SOAPFaultException: Unable to add security token for identity
    I tried the following samples:
    https://codesamples.projects.dev2dev.bea.com/servlets/Scarab/remcurreport/true/template/ViewIssue.vm/id/S10/eventsubmit_dosetissueview/foo/resultpos/-1/nbrresults/0/action/ViewIssue/tab/2/readonly/false
    https://codesamples.projects.dev2dev.bea.com/servlets/Scarab/remcurreport/true/template/ViewIssue.vm/id/S203/nbrresults/39
    Is there any configuration on WLS that needs to be verified when we get this Exception "Unable to add security token for identity"??
    Any help is appreciated in this regard.
    Thanks,
    Kiran

    Hello Kiran,
    Is this problem resolved?. I am facing the same problem when i was trying to call a service .
    The exception i got is as follows:
    (D-113003875) server (IBwlpAdminServer) Method (com.zurich.ep.global.produc
    metadata.impl.ProductMetaDataServiceImpl.getAllProducts:234) ==> Host (D-113003
    75) server (IBwlpAdminServer) Method (com.zurich.ep.service.delegate.AbstractEx
    eptionHandler.logException:67)
    om.zurich.ep.exception.ServiceFailureException: SOAPFaultException - FaultCode
    {http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Unable to add s
    curity token for identity] FaultActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Unable to add security token for
    dentity
    at com.zurich.ep.global.productmetadata.impl.ProductMetaDataServiceImpl.
    etAllProducts(ProductMetaDataServiceImpl.java:234)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    ava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    orImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zurich.ep.service.delegate.ServiceDelegateProxy.invoke(ServiceDel
    gateProxy.java:135)
    at $Proxy62.getAllProducts(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    ava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    orImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zurich.ep.service.delegate.ServiceAdapter.invoke(ServiceAdapter.j
    va:97)
    at $Proxy63.getAllProducts(Unknown Source)
    at com.zurich.ep.global.productmetadata.v20090601.ProductMetaDataService
    ortTypeImpl.getAllProducts(ProductMetaDataServicePortTypeImpl.java:119)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    ava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    orImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassCompo
    ent.java:99)
    at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(Compo
    entHandler.java:64)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.j
    va:127)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDisp
    tcher.java:85)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.j
    va:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java
    44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseW
    Servlet.java:173)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java
    92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    StubSecurityHelper.java:223)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    yHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    :283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    :175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    .run(WebAppServletContext.java:3245)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    Subject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    21)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    rvletContext.java:2003)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ntext.java:1909)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    va:1359)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    aused by: java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://sch
    mas.xmlsoap.org/soap/envelope/}Server] FaultString [Unable to add security toke
    for identity] FaultActor [null]No Detail; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Unable to add security token for
    dentity
    at com.zurich.ep.service.delegate.AbstractExceptionHandler.logException(
    bstractExceptionHandler.java:67)
    at com.zurich.ep.service.delegate.client.WebServiceBusinessDelegate.invo
    e(WebServiceBusinessDelegate.java:260)
    at $Proxy61.getProductFunctionality(Unknown Source)
    at com.zurich.ep.global.productmetadata.impl.ProductMetaDataServiceImpl.
    etAllProducts(ProductMetaDataServiceImpl.java:201)
    ... 39 more
    aused by: javax.xml.rpc.soap.SOAPFaultException: Unable to add security token f
    r identity
    at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:265)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandle
    .java:106)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.jav
    :91)
    at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandle
    .java:79)
    at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.jav
    :254)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.
    ava:224)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(Clie
    tDispatcher.java:161)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
    tcher.java:116)
    at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
    at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:335)
    at com.zurich.ep.global.chassisauthorisation.v20090601.ChassisAuthorisat
    onServicePortType_Stub.getProductFunctionality(ChassisAuthorisationServicePortT
    pe_Stub.java:145)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    ava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    orImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zurich.ep.service.delegate.client.WebServiceBusinessDelegate.invo
    e(WebServiceBusinessDelegate.java:225)
    ... 41 more
    aused by: weblogic.xml.crypto.wss.WSSecurityException: Unable to add security t
    ken for identity
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processIdentity(Secur
    tyPolicyDriver.java:175)
    at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(Secur
    tyPolicyDriver.java:73)
    at weblogic.wsee.security.WssClientHandler.processOutbound(WssClientHand
    er.java:69)
    at weblogic.wsee.security.WssClientHandler.processRequest(WssClientHandl
    r.java:53)
    at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:72)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.j
    va:127)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.j
    va:100)
    at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDisp
    tcher.java:101)
    ... 49 more
    Thanks,
    JK

  • Is there a problem on the pattern of SimpleDateFormat to parse a String ?

    Hello,
    I tried to parse a String to a Date using a SimpleDateFormat.
    I must be able to have on the pattern something like : "yyyyMMdd_HH00".
    To get a String from a Date with SimpleDateFormat.format(Date date) it works well, but when a try to parse a String into a Date with SimpleDateFormat.parse(String date) I get a : java.text.ParseException: Unparseable date.
    I try it on a JVM 1.4 and 1.5 for the same result.
    An exemple of code :
              String pattern = "yyyyMMdd_HH00";
              SimpleDateFormat currentFormat = new SimpleDateFormat(pattern);
              Date date = currentFormat.parse("20091223_1000");It seems that adding the '00' after 'HH' raise the exception...
    Has the 'HH00' a particular meaning like on Oracle 'HH24' ?
    Is there a way to add number after the 'HH' ?
    Thanks
    Edit :
    Oh yeah, I forgot, I tryied to use the pattern "yyyyMMdd_HH'00'" using '' to escape the 00 without better result...
    Edited by: Jeremy.Antonucci on 23 déc. 2009 15:25

    The context of this pattern :
    To get a file on a http server, I must build an Url String with a filename using the current date.
    I want to be able to change easily the pattern on a file parameters.
    The date must be ending with 00 for the minutes.
    I may have use a pattern with 'HHmm' and suppress the minutes but if it is change on the futur the code will not work...
    As I can't say if in the futur the url will change for the date pattern or not, I decide to use a pattern like "yyyyMMdd_HH00" that works fine for everything else than parsing a string.
    I create a String date based on the current date on UTC using this pattern and keep it to use it to compose an Url String.
    After I need to know how much time I must sleep before the next execution (on each Hour), so I use this date +1 hour to see if the currentDate during this calculation is higher than this date+1... (I'm surely not clear, but it is not the real problem just for curious ^^)
    A dirty solution is to avoid this problem is to catch this case and do substitution on a temporary pattern of the 'HH00' with 'HHmm'. It's really dirty because nothing says that later a 'HH00' mean always 'HHmm' but I have nothing better...
              String pattern2 = pattern;
              if (pattern.matches(".*HH00$")) {
                   pattern2=pattern.substring(0, (pattern.length()-2))+"mm";
              }Where can I do this bug report ?
    Do you see a good solution ?

  • ORA-20001: Invalid parsing schema for current workspace ID

    I recently upgraded Apex version from 4.0 to 4.2 successfully. Everything looks good except in one of the applications, I am running into
    ORA-20001: Invalid parsing schema for current workspace ID ( see below for detailed debug info). It seems this page region code is still looking at
    old apex scehma APEX_040000 instead of APEX_040200 somehow. Any ideas.
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -20001
    ora_sqlerrm: ORA-20001: Invalid parsing schema for current workspace ID
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 21560330709310725
    component.name: Calendar
    error_backtrace:
    ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 377
    ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 386
    ORA-06512: at "APEX_040000.WWV_RENDER_CALENDAR2", line 462
    ORA-06512: at line 27
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
    ORA-06512: at "SYS.WWV_DBMS_SQL", line 1064
    ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
    ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
    OK

    Thanks Patrick. Just wanted to make you're referring to the below code. what package I would be using instead of 'wwv_render_calendar2.show'
    wwv_render_calendar2.show (
    p_query => q,
    p_max_rows => '5',
    p_heading_bgcolor => '#CCCC99',
    p_table_bgcolor => 'WHITE',
    p_monday_friday_only => 'NO',
    p_non_curr_month_attr => 'bgcolor="#F7F7E7"',
    p_month_font_face => 'Arial',
    p_month_font_size => '+1',
    p_month_font_color => 'BLUE',
    p_day_font_face => 'Arial',
    p_day_font_size => '+1',
    p_day_font_color => 'BLACK',
    p_cell_font_face => 'Arial',
    p_cell_font_size => '-2',
    p_cell_font_color => 'BLACK',
    p_page_width => '95%',
    p_show_month_above_tab => 'YES',
    p_min_blank_cell_height => '45',
    p_calendar_day_date_fmt => 'MM/DD/YYYY',
    p_cur_local_date => '');
    end;

Maybe you are looking for

  • Windows 7 for all version

    Dear collective of Microsoft Corporation, We need your help and advice for Windows 7. In order to determine operation system we have to use 25 signs as a product key XXXX-XXXXX-- XXXXX with 64 or 32 bites of variant of starter, home premium, home bas

  • TRIM() not found? Compile error: Can't find project or library in Excel 2007

    I am preparing to make a few alterations to a spreadsheet that another person built.  I have NOT made any changes to it yet. They put in a button that allows portions of the worksheet to print.  I am now using Excel 2007.  Their code ran fine in 2003

  • Source(oracle 11g) with oracle 8i using db link with full table scan

    Hi, I'm using oracle 8i version and i'm facing some issue  while using DBlinks. SourceDB1 I'm using oracle 8i(Source) select *  from tab1 tabl where id in (select id from stab1@SourceDB1  where updt_seq_num > 167720 and work_grp_id in (2900,2901)) Fo

  • CDE File Manager - associated file

    I am not familiar with Solaris. Now I have SunOS 5.8, and login into CDE (common desktop environment). I run File Manager, then I can see iconic pictures at the left. If I double-click a file, it will open the related application. The action taken wh

  • My apple id updated phone number is not loading on my ipad

    I updated my phone number on my apple id but my old number has not changed on my ipad.  How do I update the information on my ipad?