Schema Processor fails when invoke from code

I can't get the Schema Processor to run correctly when I invoke it from a servlet (compiled from a JSP). I've tried both invoking it directly (a la XSDSample) and via Runtime.getRuntime().exec("java XSDSample report.xsd").
When I invoke it directly, it reports, "XSD-2000: (Error) Can not build schema 'http://www.example.com/Report' located at 'report.xsd'". When I invoke it via Runtime, it reports that the file parses correctly, even after I change the file to contain an invalid element.
I've checked (and re-checked) the file locations etc. I've also tried prepending a valid URI to the schema filename. All to no avail.
If anyone has working code (other than the supplied samples), please post or send it to me at: [email protected]
Thanks,
Steve

No solution.
I decided to follow Oracle's advice for virtually all the bugs and, "wait for the next version."
Hopefully their QA team monitors these discussions and tracks the reported bugs. And hopefully their developers fix the bugs. To be honest, I'm not optimistic.
At least it's free.

Similar Messages

  • Oracle Server 11.2.0.1.0 64-bit fails when invoked from InstallShield

    I'm trying to install the Oracle Server 11.2.0.1.0 64-bit on Windows 2008 SP1 from the InstallShield 2010.
    The installation is silent. Invoked by command line:
    J:\Oracle_11.2.0_x64\OracleServer_11.2.0.1_x64\setup.exe ORACLE_HOME_NAME="ARAXI_11" -silent -nowelcome -force -nowait -noconsole -loglevel fine -noconfig -ignoreSysPrereqs use_prereq_checker=false -responseFile C:\Oracle\11.2.0\installation\scripts\SVRCUSTOM11.2.0.rsp
    The problem is that when the command is invoked from command line (cmd), the installation is successful.
    However, when the same command is invoked from under the InstallShield, the installation fails on Architecture requirement check:
    INFO: *********************************************
    INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:OPERATION_FAILED
    INFO: All forked task are completed at state performChecks
    INFO: Completed background operations
    INFO: Moved to state <performChecks>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating state <performChecks>
    INFO: Using default Validator configured in the Action class oracle.install.ivw.db.action.PrereqAction
    INFO: Adding ExitStatus PREREQUISITES_NOT_MET to the exit status set
    SEVERE: [FATAL] [INS-13013] Target environment do not meet some mandatory requirements.
    CAUSE: Some of the mandatory prerequisites are not met. See logs for details. C:\Oracle\Inventory\logs\installActions2011-05-19_12-58-13PM.log
    ACTION: Identify the list of failed prerequisite checks from the log: C:\Oracle\Inventory\logs\installActions2011-05-19_12-58-13PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
    INFO: Advice is ABORT
    INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
    The questions:
    1. Why the requirement checks give different results when installation is invoked from CMD and from InstallShield?
    2. Why the requirement checks are done despite the parameters "-ignoreSysPrereqs" and "use_prereq_checker=false"?
    3. What should I do to get the installation pass (either remove the check or make it satisfying)?
    PS. The 32 bit Oracle Server installation on Windows 2003 works without problem when invoked from InstallShield.

    Please use 2008R2 if you want to install 11gR2 versionThank you for that update. Possibly it will help me to solve another trouble.
    Regarding the problem I described, the issue is that I install Oracle Client 32 bit prior to trying to install Oracle Servier 64 bit.
    The Oracle Client setup had started RemoteExecService.exe 32 bit process. And the process remained running after the installation completed.
    The Oracle Server setup utilizes the running RemoteExecService.exe process. Since the process is 32 bit, the architecture requirement check had failed.
    I've added to my script killing the process
    taskkill /F /IM RemoteExecService.exe
    before invoking the Oracle Server installation.
    That way the Oracle Server setup starts another RemoteExecService.exe process and the new process is 64 bit.
    The architecture requirement succeed.

  • Faults in BPEL when invoked from a Custom built Web Application

    Hello there,
    I have developed a BPEL flow for a HealthCare demo and it works fine and all is well when it is invoked from the BPEL Console's initiate screen.
    I developed a webapplication to invoke the same (using the regular com.collaxa api for invokation of any BPEL process). It invokes the BPEL successfully and I can see the whole Payload in the 'receiveInput' section of the BPEL Flow. But the very First 'Assign' in which i just assign a text string as a default value to an input element faults out stating that the 'to' field is a 'zero node'... The assign stage also shows the payload with all values in it. But it errors out...
    here is the payload in the 'receiveInput' stage:
    <inputVariable>
    <part name="payload" >
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    </part>
    </inputVariable>
    Here is the ASSIGN stage errors out (copied to clipboard):
    [2006/10/14 10:44:54]
    Error in <assign> expression: <to> value is empty at line "46". The XPath expression:
    "/child::client:HealthCareWorkFlowProcessRequedst/child::client:receptionist_username"
    returns zero node, when applied to document shown below:
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    <selectionFailure>
    <part name="summary" >
    <summary>XPath query string returns zero node. According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node. Please check the BPEL source at line number "46" and verify the &lt;to&gt; part xpath query. </summary>
    </part>
    </selectionFailure>

    oops... sorry... I had typed it in as there is no way to copy that 'error message' on to the clipboard from the BPEL FLOW depiction.
    it must have read 'HealthCareWorkFlowProcessRequest'...
    the problem is not with the typo... :(
    Am not able to find the root cause... but the flow fails when invoked from my web application...

  • Unit test runs perfectly fine with NUnit but fails when run from TestExplorer

    Hello all,
    I have a TestProject, Harmony.Tests. In there, I have a method AddApplicationEvent()
    which calls another method Send(InvokeRequestMessage requestMessage) which calls a webservice (OperationHandlerBrokerWebService). 
    The code snippet looks like this. This is not the complete code but a part where we are calling the web service. It fails on the underlined Italic line of code.
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    brokerService.Url = address;
    brokerService.Timeout = timeoutInMilliseconds;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    The same test works and passed fine when I ran it with NUnit, but failed with following exception when I tried to run it from TestExplorer. 
    Test Name: AddApplicationEvent
    Test FullName: N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.AddApplicationEvent
    Test Source: d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs : line 665
    Test Outcome: Failed
    Test Duration: 0:00:00.296
    Result Message:
    SetUp : Message returned System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.
    at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
    at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
    at System.Runtime.Serialization.ObjectManager.DoFixups()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
    at N4S.Forms.OperationHandlerBroker.AMessage.DeserializeMessage(Byte[] serializedMessage)
    at N4S.Forms.OperationHandlerBroker.WebServiceServer.BrokerService.InvokeOperationHandler(Byte[] serializedInvokeRequestMessage)
    --- End of inner exception stack trace ---
    expected: <0>
    but was: <1>
    Result StackTrace:
    at N4S.Harmony.Tests.TestHelper.InvokeOperation(OperationHandler handler, OperationHandlerInput input, Boolean expectedToWork) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 136
    at N4S.Harmony.Tests.TestHelper.LoginAsUser(String username, String password) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 394
    at N4S.Harmony.Tests.TestHelper.Login(TestUserName requestedUser) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 377
    at N4S.Harmony.Tests.TestHelper.LoginAsAdvisor() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 230
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.Login() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 76
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.SetupTest() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 67
    I am not sure what causing the issue. I checked the Credentials, Windows Identity during both the test run and there is no difference. Please advise !!
    Thanks,
    Deepak

    Hi Tina,
    Thanks for your reply. 
    I do have NUnit adapter installed. I even noticed that the test runs fine with NUnit GUI and also if I run it through Resharper Test Explorer window. 
    As you can see in the image above the same test is passed when I ran it from Resharper Unit Test Explorer window but fails when I ran it from Test Explorer window. I also captured the information on fiddler. 
    There was a significant difference in the Header Content length. Also under the User-Agent property the protocol versions are different. 
    Not sure why VSTest ExecutionEngine is picking a different version.
    The UnitTest in question is calling a webservice method which in turn calls a method from another referenced project. 
    Web Service class
    using System;
    using System.Web.Services;
    using N4S.Forms.OperationHandlerBroker.Server;
    using NLog;
    namespace N4S.Forms.OperationHandlerBroker.WebServiceServer
    /// <summary>
    /// The operaton-handler broker service.
    /// </summary>
    [WebService(Description = "The N4S Forms Operation-Handler Broker Web-Service.", Name = "OperationHandlerBrokerWebService",
    Namespace = "N4S.Forms.OperationHandlerBroker.WebServiceServer")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class BrokerService : WebService
    { /// <summary>
    /// Calls <see cref="HandleRequest"/>. Updates performance-counters.
    /// </summary>
    /// <param name="serializedInvokeRequestMessage">the binary-serialized <see cref="InvokeRequestMessage"/></param>
    /// <returns>the binary-serialized response message</returns>
    [WebMethod(BufferResponse = true, CacheDuration = 0, Description = "Invokes the requested operation-handler and returns a binary-serialized response-message.", EnableSession = false)]
    public byte[] InvokeOperationHandler(byte[] serializedInvokeRequestMessage)
    logger.Trace(Strings.TraceMethodEntered);
    PerformanceMonitor.RecordRequestStarted();
    InvokeRequestMessage requestMessage = (InvokeRequestMessage) AMessage.DeserializeMessage(serializedInvokeRequestMessage);
    InvokeResponseMessage responseMessage;
    try
    responseMessage = HandleRequest(requestMessage);
    PerformanceMonitor.RecordSuccessfulRequest();
    catch (Exception)
    PerformanceMonitor.RecordFailedRequest();
    throw;
    finally
    PerformanceMonitor.RecordRequestEnded();
    logger.Trace(Strings.TraceMethodExiting);
    return AMessage.SerializeMessage(responseMessage);
    UnitTest snippet
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    Please advise.
    Thanks,
    Deepak

  • Recording fails when reading from a buffer

    Hello together,
    I'm new to the java sound api so I decided to get some example code working that I found on the internet. But I Fail.
    Here's the code snippet that does the recording and runs in a thread:
    ByteArrayOutputStream byteOutStream = new ByteArrayOutputStream();
    DataLine.Info info = new DataLine.Info(TargetDataLine.class, m_format);  // m_format is initialised somewhere in the c'tor
    TargetDataLine inputLine = (TargetDataLine)AudioSystem.getLine(info);
    inputLine.open();
    inputLine.start();
    AudioInputStream inStream = new AudioInputStream(inputLine);
    int iCount = 0;
    byte[] buffer = new byte[1024];
    while(m_bRecording && ((iCount = inStream.read(buffer)) != -1))
    {   // m_bRecording will be set false when invoking stop() method
         if(!m_bPause)
             byteOutStream.write(buffer, 0, iCount);
    inStream.close();
    byteOutStream.flush();
    byteOutStream.close();
    byte[] inBuffer = byteOutStream.toByteArray();
    AudioInputStream inRecorded = new AudioInputStream(new ByteArrayInputStream(inBuffer),
                                            m_format,
                                            inBuffer.length / m_format.getFrameSize());
    Clip clip = (Clip)AudioSystem.getLine(info);
    clip.open(inRecorded);I've read the documentations about the classes and their methods so everything seems to make sense about this approach. But when I invoke clip.start() then all I get to hear is only a second or less of the sound I recorded. I found a link (http://www.jsresources.org/faq_audio.html#recordings_cutoff) that may (I'm not sure) be the solution I am looking for. But I still don't know how to apply this suggestion on my example code. Maybe you can help.
    By the way: I've already tried the examples from www.jsresources.org and they work fine. But now I find it important to have my recorded data in a byte array so I will be able to apply effects and play around with the data and see what happens.
    I am looking forward to reading your answers. Tanks!
    Edited by: schmetterfly on Dec 22, 2009 10:22 AM

    captfoss wrote:First, there's absolutely no need for "inStream" because you can read directly from inputLine...so get rid of inStream.You're totally right about this so I got rid of the inStream.
    captfoss wrote:Second, redo the loop so it doesn't exit until you run out of data on the line...rather than when the boolean changes. Close the line in response to the boolean changing (don't flush it or anything, just close it) and continue to read until you get a -1 from reading from it...My code looks like this now.
       inputLine.open();
                inputLine.start();
                byte[] buffer = new byte[1024];
                int iCount = 0;
                do
                    iCount = inputLine.read(buffer, 0, buffer.length);
                    if(!m_bPause)
                        byteOutStream.write(buffer, 0, iCount);
                    if(!m_bRecording && inputLine.isActive())
                        inputLine.stop();
                        //inputLine.drain();
                }while(iCount > 0);
                inputLine.close();It is important to stop() the line, then go on reading until there is no more data to read and then close() the line. It is neccesary to just stop() the line first because it muste be open for reading. So I close() the line when all the job is done.
    I added inputLine.isActive() as an additional condition for the line to stop so it will not be stopped several times although nothing bad happens when closing the line several times.
    After stepping into the if-block the loop continues few more times. When looping for the next to last time iCount has a value smaller than 1024. I suppose this way I can see that the line in fact does run out of data. When looping the last time iCount equals 0 and the loop is left.
    Everything looks just fine but it still doesn't work properly.
    Im starting to wonder if there's something wrong with the version of my JRE installed or the OS or the input device... Is there a way to figure that out?

  • OLE Program works in debug mode fails when run from F8

    Hello,
    I have implemented a code from this forum for sending documents to printer, as below, but although it works well in debug mode, it fails when I execute directly from SE38? Any idea?
    Best Regards,
    Didem GUNDOGDU
      CREATE OBJECT gs_word 'WORD.APPLICATION'.
      SET PROPERTY OF gs_word 'Visible' = '0'.
      CALL METHOD OF gs_word 'Documents' = gs_documents .
      CALL METHOD OF gs_documents 'Open' = gs_newdoc
        EXPORTING
          #1 = p_filep .
      CALL METHOD OF gs_word 'ActiveDocument' = gs_actdoc.
      CALL METHOD OF gs_actdoc 'PrintOut'  .
      CALL METHOD OF gs_word 'Quit' .

    Hi Didem,
    Just a suggestion: could you print syst-subrc after each method call? Perhaps that can give you a clue.
    Regards,
    John.

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

  • Bug?: layers.add() is not working properly when invoked from menu (ID/CS6/Win7)

    Hello Devs,
    I am facing a mysterious issue with the layers.add() method.
    I am trying to create n number of layers for my document. So I have decided to create a menu for this.
    I have creatd two scripts
    1. For creating menu & menu action,
    2. Actual script that creates n number of layers.
    When I run the script #2 direclty from ESTK it works fine.
    Now when I try to invoke the same script from the Menu it is not working fine. Only the last layer is created.
    Script 1: LayerPopupMenuAction
    #target indesign
    #targetengine createLayerset
    var layerTemplateScript = File(File(getActiveScriptPath()).parent.fsName+"/IntializeTemplate.jsx");
    var initTemplateHandler = {
        'beforeDisplay' : function(ev)
                ev.target.enabled = (app.documents.length>0);
        'onInvoke' : function()
                app.doScript(layerTemplateScript, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Initialize Script");
    var layerMenuAction = app.scriptMenuActions.add("&Create Layer Set");
    for(var init_ev in initTemplateHandler) {
        layerMenuAction.eventListeners.add(init_ev, initTemplateHandler[init_ev]);
    var refMenuItem = app.menus.item("$ID/LayerPanelPopup");
    refMenuItem.menuItems.add(layerMenuAction, LocationOptions.AFTER, refMenuItem.menuItems.item(2));
    function getActiveScriptPath() {
        // This function returns the path to the active script, even when running from ESTK
        try {
            return app.activeScript;
        } catch(e) {
            return e.fileName;
    Script 2: IntializeTemplate
    #target indesign
    if (app.documents.length == 0){
        alert("Please open a document and try again", "Document Error", true);
        exit();
    var templateDoc = app.activeDocument;
    var layerNameArray = ["Fixed_Static_Assets", "Absolute_User_Assets", "Relative_User_Assets"];
    CreateLayers(layerNameArray);
    alert("Initialization Successful");
    //--------------------------------FUNCTIONS ARE DEFINED HERE--------------------------------
    function CreateLayers(LayerNameList){
        var layerListLength = LayerNameList.length;
        var layerObject;
        for (var ln=0; ln<layerListLength; ln++){
            layerObject = templateDoc.layers.itemByName(LayerNameList[ln]);
            if (layerObject.isValid==false){
                layerObject = templateDoc.layers.add({name:LayerNameList[ln]});
                //$.writeln('Layer Creation: ' + layerObject.isValid + ' for '+layerObject.name);
        //Merger Default Layer with the bottom layer:
        var defaultLayer = templateDoc.layers.itemByName("Layer 1");
        if(defaultLayer.isValid==true){
            //$.writeln('Default is Valid and will be merged with top most layer');
            layerObject.merge([defaultLayer]);
    Any help / guidance on this regard will be much helpful.
    @Marijan Tompa [tomaxxi]: I googled for the solution and noticed that you have already worked on similar type of script. Please help me if you can.
    Thanks
    Green4ever

    Hi Green4ever,
    At a very first sight I'd suspect UndoModes.FAST_ENTIRE_SCRIPT which, as you may know, can deeply scramble script steps, especially when a try...catch is in use.
    Try to replace FAST_ENTIRE_SCRIPT by ENTIRE_SCRIPT and tell us.
    @+
    Marc

  • Dreamweaver CC crashes when switching from code view to design view

    I am experiencing a recent problem with a file I am currently working. When I switch from code view to design view Dreamweaver crashes and requests a shut down. Other files seem to work without a problem. This particular files has 3 cascading EdgeAnimation CC files that are selected by media queries. I can test the page online without a problem but not in design or live view.

    Since your new page didn't crash, this leads me to believe that you have some critical errors and/or conflicts in your other page(s).
    Try running your code through the W3C validation tools. 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Also debug JavaScript. 
    JavaScript - http://www.jslint.com/
    Nancy O.

  • Crystal Reports 2008 fails when called from e Web Service under 64bit OS

    I have discovered that Crystal Reports 2008 doesn't work when called from a Web Service running under 64bit Windows platforms (in my case Windows 2003 Server and Windows XP 64bit); practically no object is instantiated. I've tried several solutions without success.
    Before creating a wrapper component to use under COM+, is there anybody who has a better and cheaper solution than creating another component to wrap CR 2008 ?

    Hi Sergio,
    Before I mark this post as assumed answered I would just like to say and re-iterate that at this time there is no one answer and we fully understand your concerns. As you know in CR 6.0 it came in 16 and 32 bit versions because at the time 32 bit was relatively new but 16 bit was the norm. This is also true for 32 to 64 bit, 32 is the norm and 64 bit is relatively new. We know and are well aware 64 bit is the future and we are working as quickly as we can to move in that direction. Because of the complexity of the Product it's not simply a matter of re-compiling all of our dll's in 64 bit format. The core of our data connectivity with our database drivers which are dependant on third party clients must also need to support 64 bit modes. This as well as Printer drivers also need to be 64 compatable, there are a multitude of dependencies that we rely on that must add 64 bit support. As a programmer you are well aware of the issues around Thunking back and forth between 32 to 64 bits, it can cause delays and potentially loss of data which is a whole other issue. Not to mention also that we would have to ship both versions potentially doubling the size of the distribution packages or doubling the size of the dll's to have the ability to work in both modes. Relatively speaking of course, it would not be double the size but the variables would need to be able to allocate 32 or 64 memory blocks.
    The other option is to produce 2 separate versions, this alone is a massive project. Any issue would need to be fixed in separate code streams.
    So I'm sure you can see it's not simply a matter of saying yes we support 64 bit. It's a massive project that is going to take time to do and we have to wait for the third party drivers to commit also.
    Visual Studio .NET 2005 and 2008 is the only option if you want true 64 bit but you will be limited on what DB's you can support and export formats you can export to. They are the only drivers we did convert to 64 bit.
    Thank you for your understanding
    Don

  • Create user fails when used from SOAP UI

    Hello,
    I am using SOAP UI to create users using the Web services available in EBS.
    I am using the following URL: http://<server>:<port>/webservices/SOAProvider/plsql/fnd_user_pkg/
    I am able to create user when I use <load:X_UNENCRYPTED_USER_PASSWORD>pa55w0rd</load:X_UNENCRYPTED_USER_PASSWORD> in the SOAP Request.
    However, when I use <load:X_ENCRYPTED_USER_PASSWORD>pa55w0rd</load:X_ENCRYPTED_USER_PASSWORD>, the user creation fails with the following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>ServiceExecutionError : Error occured while executing the service.:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Exception returned from JCA Service Runtime. file:/c:/EBS/VIS/inst/apps/VIS_vm-oebs/soa/PLSQL/1495/LOAD_ROW.wsdl [ LOAD_ROW_ptt::LOAD_ROW(InputParameters) ] - WSIF JCA Execute of operation 'LOAD_ROW' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ; nested exception is:
         ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:158)
         at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:272)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:358)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:355)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    org.collaxa.thirdparty.apache.wsif.WSIFException: file:/c:/EBS/VIS/inst/apps/VIS_vm-oebs/soa/PLSQL/1495/LOAD_ROW.wsdl [ LOAD_ROW_ptt::LOAD_ROW(InputParameters) ] - WSIF JCA Execute of operation 'LOAD_ROW' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ; nested exception is:
         ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:620)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:723)
         at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:259)
         at oracle.tip.adapter.client.JCABindingOperation.executeInputOnlyOperation(JCABindingOperation.java:152)
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:256)
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:149)
         at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:272)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:358)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:355)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:469)
         at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:172)
         at oracle.tip.adapter.db.sp.AbstractStoredProcedure.execute(AbstractStoredProcedure.java:116)
         at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:134)
         at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1014)
         at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:232)
         at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:176)
         at oracle_tip_adapter_apps_AppsInteraction_Proxy.execute()
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:472)
         ... 26 more
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Error Code: 6510
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:162)
         ... 33 more
    Caused by: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.execute(PreparedStatementBCELProxy.java:333)
         at oracle.tip.adapter.db.sp.AbstractStoredProcedure.execute(AbstractStoredProcedure.java:108)
         ... 32 more</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>

    Hello,
    I am using SOAP UI to create users using the Web services available in EBS.
    I am using the following URL: http://<server>:<port>/webservices/SOAProvider/plsql/fnd_user_pkg/
    I am able to create user when I use <load:X_UNENCRYPTED_USER_PASSWORD>pa55w0rd</load:X_UNENCRYPTED_USER_PASSWORD> in the SOAP Request.
    However, when I use <load:X_ENCRYPTED_USER_PASSWORD>pa55w0rd</load:X_ENCRYPTED_USER_PASSWORD>, the user creation fails with the following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>ServiceExecutionError : Error occured while executing the service.:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Exception returned from JCA Service Runtime. file:/c:/EBS/VIS/inst/apps/VIS_vm-oebs/soa/PLSQL/1495/LOAD_ROW.wsdl [ LOAD_ROW_ptt::LOAD_ROW(InputParameters) ] - WSIF JCA Execute of operation 'LOAD_ROW' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ; nested exception is:
         ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:158)
         at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:272)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:358)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:355)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    org.collaxa.thirdparty.apache.wsif.WSIFException: file:/c:/EBS/VIS/inst/apps/VIS_vm-oebs/soa/PLSQL/1495/LOAD_ROW.wsdl [ LOAD_ROW_ptt::LOAD_ROW(InputParameters) ] - WSIF JCA Execute of operation 'LOAD_ROW' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    ; nested exception is:
         ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:620)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:723)
         at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:259)
         at oracle.tip.adapter.client.JCABindingOperation.executeInputOnlyOperation(JCABindingOperation.java:152)
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:256)
         at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:149)
         at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:272)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:358)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:355)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    [Caused by: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:469)
         at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:172)
         at oracle.tip.adapter.db.sp.AbstractStoredProcedure.execute(AbstractStoredProcedure.java:116)
         at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:134)
         at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1014)
         at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:232)
         at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:176)
         at oracle_tip_adapter_apps_AppsInteraction_Proxy.execute()
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:472)
         ... 26 more
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
    Error Code: 6510
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:162)
         ... 33 more
    Caused by: java.sql.SQLException: ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.FND_SSO_MANAGER", line 248
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_USER_PKG", line 525
    ORA-06512: at "APPS.FND_USER_PKG", line 663
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.execute(PreparedStatementBCELProxy.java:333)
         at oracle.tip.adapter.db.sp.AbstractStoredProcedure.execute(AbstractStoredProcedure.java:108)
         ... 32 more</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>

  • Under Windows 8.1, Adobe Drive crashes on File- Check In... when invoked from an Adobe creative application.

    I am testing my drive connector on Windows 8.1 (64-bit) using Adobe Drive (5.0.2) with Photoshop CC (15.1.0.148) and Bridge CC (6.1.0.116), and I find that if I use File->Check In... from the creative apps (I checked InDesign too), the application crashes inside of AdobeDriveUI.dll.  The crash happens as it attempts to display the dialog that solicits a Check In comment.
    I have tried using both the 32-bit and the 64-bit version of Adobe Drive, but both exhibit the same issue.  I am quite certain that my connector is not involved, as the crash happens in native code that collects the version comment *before* my ICheckInHandler instance gets called. 
    I am interested in any insight or work-arounds that might exist.  Thanks for any help!
    Here are details in the Windows Event Viewer's XML format:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Application Error" />
      <EventID Qualifiers="0">1000</EventID>
      <Level>2</Level>
      <Task>100</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2014-10-02T15:36:38.000000000Z" />
      <EventRecordID>5226</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Win8VM</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>Photoshop.exe</Data>
      <Data>15.1.0.148</Data>
      <Data>53d97a8f</Data>
      <Data>AdobeDriveUI.dll</Data>
      <Data>5.0.2.16</Data>
      <Data>532b518c</Data>
      <Data>c0000005</Data>
      <Data>0000000000008ca8</Data>
      <Data>dec</Data>
      <Data>01cfde5650e17527</Data>
      <Data>C:\Program Files\Adobe\Adobe Photoshop CC 2014\Photoshop.exe</Data>
      <Data>C:\Program Files\Common Files\Adobe\Adobe Drive 4\Client\AdobeDriveUI.dll</Data>
      <Data>e5865b18-4a49-11e4-8271-000c29022208</Data>
      <Data />
      <Data />
      </EventData>
      </Event>

    Thank you for the Replay,
    I performed steps provided by you , but it did not help.
    on other hand, i have collected some more data regarding
    this issue.
    1. went to SAFE Mode and tried to run the application from USB
    2. got Exception "The instruction at 0x00407038 referenced memory at 0x00000078. The memory could not be read"
    some more info on setup :
    we have a micro controller on board, some part of memory (present on board) is used to keep application and server. we can open this memory via USB connection to PC. then we can see all files present at this memory on PC (behaves like externally connected
    USB Drive) . 
    When we start this application . it will start the server . server will send 'request file' to controller soft. (this part is working fine), and controller will send back response , as soon as response file(RSP.txt) will appear in USB drive it will get corrupted
    .(here RSP.txt file is present in controller USB decided memory but to open this we are using PC RAM). crashing of RSP.txt file will crash whole application. This RSP File is of FAT Type.
    i have copied application in another external drive and tried to RUN application. it will not crash  . but USB can not receive the "RSP.txt" (as it is not in communication with controller soft). and problem is in response file.
    BR,
    sanjyot

  • Journal import fails when called from PLSQL

    Hi,
    When journal import is called from plsql code it is failing with error in 'gllacc() Function returning without value and no data found'.
    Same transaction is run succesfully from front end.
    I checked both gl_interface and gl_interface_control table but couldnt find the issue.
    Any info on this would be very helpful.
    Thanks
    Sandhya

    FOR l_rec IN (SELECT ledger_id,group_id from apps.gl_interface
    WHERE status='NEW'
    AND user_je_source_name='GIS_DATA_CONVERSION'
    GROUP BY ledger_id,group_id
    ORDER BY group_id
    LOOP
    apps.gl_journal_import_pkg.populate_interface_control (user_je_source_name => 'GIS_DATA_CONVERSION',
    GROUP_ID => l_rec.group_id,
    set_of_books_id => l_rec.ledger_id,
    interface_run_id =>vl_interface_id,
    table_name => 'GL_INTERFACE',
    processed_data_action=>'D'
    COMMIT;
    vl_request_id := apps.fnd_request.submit_request (application => 'SQLGL', -- application short name
    program => 'GLLEZLSRS', -- program short name
    description => NULL, -- program name
    start_time => NULL, -- start date
    sub_request => FALSE, -- sub-request
    argument1 => 2065, --Data access set id
    argument2 => 'GIS_DATA_CONVERSION', --Source
    argument3 => l_rec.ledger_id, -- set of books id
    argument4 => l_rec.group_id,
    argument5 => 'N', -- error to suspense flag
    argument6 => NULL, -- create summary flag
    argument7 => 'N' -- import desc flex flag
    COMMIT;
    IF ( vl_request_id = 0 ) THEN
    xxgis.gis_conv_util_pkg.debug_print_p(1,'FND_LOG','E001: Journal Import Submission Failed. ' || SQLERRM);
    retcode := 2;
    EXIT;
    ELSE
    xxgis.gis_conv_util_pkg.debug_print_p(1,'FND_LOG','P001: Submitted Journal Import Program for group id: ' || l_rec.group_id ||
    'and ledger :'||l_rec.ledger_id|| ', Request ID: ' || vl_request_id);
    END IF;
    END LOOP;

  • Insert using Spatial Index fails when called from PHP

    I have a stored procedure that inserts into a table with a spatial index on one of its fields.
    When I run the procedure from SQL Server Management Studio it runs just fine.
    When I run it from PHP, it returns the error: "INSERT failed because the following SET options have incorrect settings: 'CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS, ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes
    on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations"
    From within Management Studio, I have tried many different combinations of settings, until I wound up with the list I have in the procedure below.
    Within Managment Studio the error changes based on the options I have set, but PHP always replies with: 'CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS, ANSI_PADDING'
    I have configured PHP to use the same SQL user as management studio, and I have tried both mssql_query and mssql_execute with bound parameters.
    The spatial index is on the field post.location If I remove the spatial index it works, but I need the spatial index.
    CREATE PROCEDURE insert_post ( @subject AS VARCHAR(250), @body AS VARCHAR(2000), @latitude AS FLOAT, @longitude AS FLOAT ) AS BEGIN
    SET NOCOUNT ON
    SET ANSI_WARNINGS ON
    SET ANSI_PADDING ON
    SET CONCAT_NULL_YIELDS_NULL ON
    SET NUMERIC_ROUNDABORT OFF
    DECLARE @location AS geography = geography::Point(@latitude, @longitude, 4326)
    INSERT INTO post
        subject,
        body,
        location
    ) VALUES (
        @subject,
        @body,
        @location
    END

    Hi Charles
    Your issue looks like it have two basic sources: (1) The connection string properties, (2) The table structure and the data which you try to insert.
    (1) The connection string properties can be specified in various ways.
    You can set most of them during the connection, depending on the provider which you are using. We did not get from you any information about the PHP code, so we have no information regarding this part.
    The connection properties can be changed after the connection was made, which is basically what you have try to do. But we don't know what properties
    are differents (since you .. the PHP code..) but you can check those properties dynamically, insert them to a table and then compare. To check all the properties you can use this post:
    http://ariely.info/Blog/tabid/83/EntryId/153/SQL-Server-Get-Connection-Properties.aspx
    (2) We need to understand your
    table structure and compare it to yours query. Please post your DDL+DML (queries to create the table and to insert some sample data), and the full SP code
    as it is now.
    [Personal Site]  [Blog]  [Facebook]

  • Stored procedure runs fine from SSMS but fails when called from the C# app

    I'm using SS Express 2012 so I doubt I have all possible debugging capabilities at my disposal, although I'm still trying to figure this out myself.
    The compiled C# application has logging to insure that the the SP is being invoked, the appropriate line of code is  definitely being reached. The logging always reports 'success' suggesting that the SP was successfully executed (and no exception is thrown
    to the C# app), but the indexes aren't getting rebuilt (I have a fragmentation query proving they are not rebuilt). Yet it runs successfully if I
        (1) set a breakpoint in the C# app and step through the code line by line OR
        (2) run the SP from the SSMS GUI.
    The fragmentation query confirms sucess for both 1 and 2.
    -I can't rely on the GUI because I want to run this overnight immediately after the C# app is finished inserting new records.
    - The SP loops through all the tables, and all the indexes in each table, checking for fragmentation and rebuilding any indexes over 7% fragmented.
    ALTER Procedure [dbo].[usp_RebuildIndexes]
    AS
    Declare @fetch_TableName NVARCHAR(256)
    DECLARE Cursor_Tables CURSOR FOR
    SELECT Name FROM sysobjects WHERE xtype ='U'
    OPEN Cursor_Tables
    While 1 = 1 -- Begin to Loop through all tables
    BEGIN
    FETCH NEXT FROM Cursor_Tables INTO @fetch_TableName -- fetches the next table
    if @@FETCH_STATUS <> 0 break
    print '---------' + @fetch_TableName
    Declare @fetch_indexName NVARCHAR(256) -- loops through al indexes of the current table
    DECLARE Cursor_Indexes CURSOR FOR -- Looking for indexes fragmented more than 7 percent.
    SELECT name as indexName
    FROM sys.dm_db_index_physical_stats (DB_ID(DB_Name()), OBJECT_ID(@fetch_TableName), NULL, NULL, NULL) AS a
    JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id
    Where Name is not null and avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    WHILE 1= 1 -- Begin to Loop through all Indexes
    BEGIN
    FETCH NEXT FROM [Cursor_Indexes] INTO @fetch_indexName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @fetch_indexName + ' ON ' + DB_Name() + '.dbo.' + @fetch_TableName + ' Rebuild'
    print @Sql
    Begin TRy
    Execute sp_executeSQL @sql
    End Try
    Begin Catch
    Declare @err nvarchar(2000) = ERROR_MESSAGE();
    throw 51000, @err, 1
    End Catch
    End -- Ends looping through all indexes
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    End -- Ends looping through all tables
    CLOSE Cursor_Tables
    DEALLOCATE Cursor_Tables
    foreach (objDB DB in oUserPrefs.DBs) {
    report += DB.Real_Name;
    if (DB.cn == null) DB.cn = sqlCn(DB.Real_Name, SystemInformation.ComputerName);
    try {
    if (DB.cn.State != ConnectionState.Open) DB.cn.Open();
    } catch (Exception ex) {
    report += " - Failed because can't open a connection.\r\n";
    continue;
    DB.OpenedAConnection = true;
    DataTable dt = null;
    try {
    dt = oParam.fillDt("dbo.usp_RebuildIndexes", DB.cn, null);
    } catch (Exception ex) {
    report += " -failed because " + ex.Message + "\r\n\r\n";
    continue;
    report += " - success.\r\n";
    DB.LastTimeRebuiltIndexes = DateTime.Now;

    Your proc is a bit of a mess and hard to read. This should get you what you need though. I added a little logic in the middle that determines if the index should be reorged, or rebuilt.
    You were right that my script was too messy and I used your code/logic to rewrite mine. Thanks! I tried it this morning and it worked fine, but I will have to see how it runs overnight to be sure.
    Here's the weird thing. My original code should have worked. In fact I'm actually using it in 3 c-sharp apps each of which has 3 to 7  Express 2012 databases (about 10 million records per database). For about a month it's been working fine on two of the
    apps. Furthermore this morning I used a commercial file-comparison tool to verify that the 3rd app has been running an identical version of the SP. So I'm at a total loss as to what went wrong in the 3rd app.
    Here's my rewrite.
    Alter Procedure [dbo].[usp_RebuildIndexes]
    As
    Declare @Messages Table(Msg nvarchar(2000))
    Declare @IndexName nvarchar(256), @TableName NVARCHAR(256)
    DECLARE Cursor_Indexes CURSOR FAST_FORWARD FOR -- GEt a list of all indexes for all tables.
    select idxs.name as indexName, o.Name as TableName
    from sys.indexes idxs
    inner join sysobjects o on idxs.object_id = o.id
    inner join sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL,NULL,NULL) as stats
    on stats.object_id = idxs.object_id and stats.index_id = idxs.index_id
    where xtype = 'u' and idxs.name is not null And avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    While 1 = 1
    BEGIN
    FETCH NEXT FROM Cursor_Indexes INTO @IndexName, @TableName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'ALTER INDEX ' + @IndexName + ' ON ' + DB_Name() + '.dbo.' + @TableName + ' Rebuild'
    insert @Messages(Msg)VALUES(@sql)
    Execute sp_executeSQL @sql
    End
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    Select * From @Messages

Maybe you are looking for

  • Report ora 9i problem

    I have the problem on my report. I generated the report with 3 user parameters: char_niin (initial value=ammotest), char_job (initial value= shipment), char_types (initial value= W). Here is my SQL query: Select * from table where (ri =:char_ri1 or :

  • Issues with software in iOS 8

    Issues I'm finding with the Music app.  i using the iPhone 6+, first issue is that when you're using the music app in the car for example and the phone is horizontal there is no slider so that you can advance the track back and forth.  also when its

  • ADF Table filtering in JDev 10.1.3

    Hi, I wonder how to do ADF Table filtering in JDev 10.1.3. I know in JDev 11 have a query listener property but i want to know how to do this in JDev 10.1.3 For example : Based on HR schema, i have a search form and table result in the same page. The

  • Best way to upgrade the local repository from 11.7.3 to 12.2.3.3 DS 3

    Hi, we are going to upgrade our DI 11.7.3 to DS3 - 12.2.3.3 in Sep. I found out there are different ways to upgrade the local repository from the SAP doc and tech support. I try to find a best and safe way to do it. If anyone had experince and inputs

  • Getting error IMPORT_WRONG_END_POS while changing the order

    Hi All, in Capital investment order, i am trying to change the operation data for service (PM03) for which PR has been created already, i am getting abap runtime error. FM is active for order type and PO has not been created yet. Runtime Errors