Automated Task Redo Execution Mode Exception

We have an automated task with only one automation plugin, this automation plugin is Xquery Sender type which is being executed in Do and Redo Compensation modes and sends a XML message to a JMS Queue with custom Correlation Id and this automation plugin complete the task immediately without expecting any type of answer.
The XML message produced from the automation plugin mentioned before is processed by another automation plugin that exists in another OSM Order but the cartridge is deployed in the same OSM instance.
In Do execution mode the plugin works as we expected but in Redo execution mode the log is raising the following exception:
ORA-01422: exact fetch returns more than requested number of rows
We were reviewing the following tables in the OSM database while the process is executing:
OM_AUTOMATION_CTX
OM_AUTOMATION_CORRELATION
And we noted that at the end of the execution task the records corresponding to this task in the table weren't deleted, for this reason we have conflicts with the correlation id setted by the task that send the message and the task that received the same message raising the error that we explain in the paragraph above.
In the test process that we've done to identify the cause of this behavior we could see the following: If the task that sends the message has two automation plugins the first to send the XML message and the second to receive an answer, the records in the tables were deleted and the exception isn't raised. But when the task only has one automation plugin to send the XML message with a XQuery Sender plugin and continue to the next task we received the exception described in this case.

Hi Andres,
Correct, the entries in the DB tables are not getting deleted irrespective of what task mode it is running. You probably might have to raise an SR.
Considering the above fact, we shall ignore about the entries in the DB table and try out the below work around if applicable.
You might be aware of this work around, you can generate a unique Correlation ID every time that automation plugin executes so that there won't be exceptions of duplicate Correlation ID entires in the Tables(irrespective of execution mode Do/Redo/Undo) otherwise do not provide correlation ID at all.
Thanks
Naveen Jabade

Similar Messages

  • OSM 7.0: Error in custom plug-in for automation task

    Hi all,
    I'm trying to create a new custom plug-in to write in a file from OSM. I have created my Java class and my custom plug-in. On the other hand, I have created a new automation task which will use the new plug-in. From a new process, I will invoke that task.
    When I build my cartridge there is no error (the automationMap.xml file is created in the cartridgeBuild/automation folder) and I can deploy it correctly, but when I submit a new order and my process has to be executed, I get the error:
    SQL Exception 20,004 : ORA-20004: Starting position for the process is not defined. Call support. process id = 10128.
    ORA-06512: at "ORDERMGMT.ERROR_MSG", line 8
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2445
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2712
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2882
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 10831
    ORA-06512: at line 1
    java.sql.SQLException: ORA-20004: Starting position for the process is not defined. Call support. process id = 10128.
    ORA-06512: at "ORDERMGMT.ERROR_MSG", line 8
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2445
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2712
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 2882
    ORA-06512: at "ORDERMGMT.OM_WF_API", line 10831
    ORA-06512: at line 1
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         at com.mslv.oms.dataaccesslayer.CallableProxy.executeStatement(Unknown Source)
         at com.mslv.oms.dataaccesslayer.a.execute(Unknown Source)
         at com.mslv.oms.dataaccesslayer.CallableProxy.execute(Unknown Source)
         at com.mslv.oms.handler.transition.a.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.a.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.provider.impl.b.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.b(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.c(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.provider.jms.impl.OrchestrationDependenciesMDB.onLocalMessage(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Jun 1, 2011 8:57:19 AM GMT+01:00> <Error> <oms> <VIRTM11> <AdminServer> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <oms-internal> <BEA1-0E141830E5BB3057A4BD> <> <1306915039502> <BEA-000000> <impl.OrchestrationDependenciesMDB: Failed to process order item dependency for predecessor order ID [2396] successor order ID [2396] dependencyKey[oracle.communications.ordermanagement.orchestration.execution.cache.impl.OrderOrchestrationEntityKeyImpl@916793[a=2396,b=1306915019943,c=oracle.communications.ordermanagement.orchestration.execution.dependency.impl.OrchestrationOneToOneDependencyImpl,d=-421123007]] state[delayed]
    oracle.communications.ordermanagement.orchestration.execution.OrchestrationExecutionException: Error starting system interaction.
         at com.mslv.oms.handler.transition.a.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.a.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.provider.impl.b.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.b(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.c(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.impl.e.a(Unknown Source)
         at oracle.communications.ordermanagement.orchestration.execution.provider.jms.impl.OrchestrationDependenciesMDB.onLocalMessage(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.e.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.impl.c.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.impl.a.a(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any ideas???
    Thank you very much.
    Best regards.

    Hi All,
    I have got solution. In that error is of file location but actually its referring to the function which is declared in XQuery.
    Secondly, this will refer to all XQuery which is imported there at the time of task.
    For ex. SIEntryPoint.xquery, in that it will go and check for all the functions which is imported in that XQuery (refer to all XQuery)

  • The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception

    Hello,
    I am getting the error message listed in the topic subject when i try to install the Exchange Server 2013 SP1 Evaluation Mode downloaded from your website. After completing all requirements & pre-requisites, I started the installation with the Mailbox
    & Client Access role selected, when i get to the screen which says "Readiness Check" main page subject, and the progress says Configuring Prerequisites, before any progress in the %, i get the error message:
    The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception
    and it says retry.
    Knowing that the server is a member of a domain.How would i resolve this issue?
    Thanks,
    Elie

    hi Ed,
    i am running Windows Server 2012 R2 Standard Evaluation Edition with Exchange Server 2013 Evaluation, But that error message was resolved by removing and re-installing .NET Framework 3.5. That is fine now.
    But now i am getting another error message When it tries to install the Management Tools.
    (Step 1 of 9: Management Tools)
    Error: The Following error was generated when "$error.Clear();
    Set-LocalPermissions
    "was run: "The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation"'
    knowing that the server is part of a domain and the domain controller runs Windows Server 2008 R2 Evaluation Edition.
    Any ideas why this error message popups up?
    Regards,

  • Events and Jeopardies problems in manual and automated task

    Hi all,
    I have an automated task that has an event in receive state and an internal Xquery automator. The event takes information from de order and send it to a specific queue, then the automator updates the orders to indicate that the information was sent.
    I have noticed that sometimes the update automator is executed first that the event so when the event executes can not find information to send to the queue.
    If a the event is in receive state, why the automator is running first? what type of automator are accepted for each task state?
    Another problem is with Jeopardies in a manual task. In it i have an automator that complete the task to a specific state. The Jeopardy is executed but the task is not completed by the state defined?
    are there any restrictions to Jeopardies in manual tasks?
    Thanks for the help.

    Hi,
    I am not sure whether I understood completely. Lemme try to answer your 2 questions.
    *1) If a the event is in receive state, why the automator is running first? what type of automator are accepted for each task state? So you are saying you have* defined an event when the automated task goes to Receive state ?
    Ans : As you have defined the event on the "Receive" state of an automation task, it will be the event gets executed first. Basically during execution of any order, when you hit submit in the CreationTask, automatically next task will be loaded and its task state will be in Recieve state irrespective of Task type like Automated or Manual. That is why when loading the next task, the task will be in received state and the automator runs first.
    If you want fire the event on different task state like "Accepted" or "Completed" you might have to change the event type.
    *2) i have an automator that complete the task to a specific state. The Jeopardy is executed but the task is not completed by the state defined? Are there any restrictions to Jeopardies in manual tasks?*
    Ans: As you said, Jeopardy is getting executed in the manual task correctly. Also you are expecting that the task should be completed along with jeopardy. But as the task type itself is a Manual Task, one has to manually open the order in worklist and make it proceed to next task. No plugins will make a Manual task to complete. Automation Plugins can be completed using the plugins.
    Thanks
    Naveen Jabade

  • ORAMED-03302:[Exception in oneway execution]Unexpected exception

    Hi All,
    I am currently getting given error,
    I have designed the flow from  Adpter Service to read the file -> ReadAdpterServices-->ReqABCSImpl -> EBS -> ProvABCSImpl -> ProviderService to Insert the data into Siebel. MEP used is Fire and Forget.
    I tested it and it worked fine in Devlopment Envronment . when i migraret into Production i get below error at the point of readAdpterservices .in readAdpter service unable to call the ReqABCSIml bec's this error .Please any body help on it
    Error Message: ORAMED-03302
    Fault ID
    B9931C50E59511E29F130FAC4AF8BE7D
    Fault Time
    Jul 5, 2013 5:10:00 PM
    Non Recoverable System Fault :
    ORAMED-03302:[Exception in oneway execution]Unexpected exception in one-way operation "ProcessEco" on reference "CallEcoproductRqsABCSimpl".Possible Fix:Check whether the reference service is properly configured and running or look at exception for analyzing the reason or contact Oracle Support Services. Cause:oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : InvalidSecurity : error in processing the WS-Security security header
    This my ReadAdpter composite.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle SOA Modeler version 1.0 at [5/31/13 10:39 AM]. -->
    <composite name="EcoproductDBAdpter" revision="1.0"
               label="2013-05-31_10-39-22_647" mode="active" state="on"
               xmlns="http://xmlns.oracle.com/sca/1.0"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
               xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
               xmlns:ui="http://xmlns.oracle.com/soa/designer/">
      <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/Ecoproductservice/EcoproductDBAdpter/EcoProductDBReadAdpter"
              location="EcoProductDBReadAdpter.wsdl" importType="wsdl"/>
      <import namespace="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1"
              location="oramds:/apps/AIAMetaData/AIAComponents/ApplicationBusinessConnectorServices/EcoProduct/V2/ProcessEcoProductReqABCSImpl.wsdl"
              importType="wsdl"/>
      <service name="EcoProductDBReadAdpter"
               ui:wsdlLocation="EcoProductDBReadAdpter.wsdl">
        <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Ecoproductservice/EcoproductDBAdpter/EcoProductDBReadAdpter#wsdl.interface(EcoProductDBReadAdpter_ptt)"/>
        <binding.jca config="EcoProductDBReadAdpter_db.jca"/>
        <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
        <property name="jca.retry.interval" type="xs:int" many="false"
                  override="may">1</property>
        <property name="jca.retry.backoff" type="xs:int" many="false"
                  override="may">2</property>
        <property name="jca.retry.maxInterval" type="xs:string" many="false"
                  override="may">120</property>
      </service>
      <component name="EcoproductAdpter">
        <implementation.mediator src="EcoproductAdpter.mplan"/>
      </component>
      <reference name="CallEcoproductRqsABCSimpl"
                 ui:wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationBusinessConnectorServices/EcoProduct/V2/ProcessEcoProductReqABCSImpl.wsdl">
        <interface.wsdl interface="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1#wsdl.interface(ProcessEcoProductReqABCSImpl)"/>
        <binding.ws port="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1#wsdl.endpoint(ProcessEcoProductReqABCSImpl/ProcessEcoProductReqABCSImpl_pt)"
                    location="http://localhost:8001/soa-infra/services/default/ProcessEcoProductReqABCSImpl/ProcessEcoProductReqABCSImpl?WSDL"/>
      </reference>
      <wire>
        <source.uri>EcoProductDBReadAdpter</source.uri>
        <target.uri>EcoproductAdpter/EcoproductAdpter</target.uri>
      </wire>
      <wire>
        <source.uri>EcoproductAdpter/CallEcoproductRqsABCSimpl</source.uri>
        <target.uri>CallEcoproductRqsABCSimpl</target.uri>
      </wire>
    </composite>
    Thank you,
    Ramesh.

    Hi All,
    I am currently getting given error,
    I have designed the flow from  Adpter Service to read the file -> ReadAdpterServices-->ReqABCSImpl -> EBS -> ProvABCSImpl -> ProviderService to Insert the data into Siebel. MEP used is Fire and Forget.
    I tested it and it worked fine in Devlopment Envronment . when i migraret into Production i get below error at the point of readAdpterservices .in readAdpter service unable to call the ReqABCSIml bec's this error .Please any body help on it
    Error Message: ORAMED-03302
    Fault ID
    B9931C50E59511E29F130FAC4AF8BE7D
    Fault Time
    Jul 5, 2013 5:10:00 PM
    Non Recoverable System Fault :
    ORAMED-03302:[Exception in oneway execution]Unexpected exception in one-way operation "ProcessEco" on reference "CallEcoproductRqsABCSimpl".Possible Fix:Check whether the reference service is properly configured and running or look at exception for analyzing the reason or contact Oracle Support Services. Cause:oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : InvalidSecurity : error in processing the WS-Security security header
    This my ReadAdpter composite.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle SOA Modeler version 1.0 at [5/31/13 10:39 AM]. -->
    <composite name="EcoproductDBAdpter" revision="1.0"
               label="2013-05-31_10-39-22_647" mode="active" state="on"
               xmlns="http://xmlns.oracle.com/sca/1.0"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
               xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
               xmlns:ui="http://xmlns.oracle.com/soa/designer/">
      <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/Ecoproductservice/EcoproductDBAdpter/EcoProductDBReadAdpter"
              location="EcoProductDBReadAdpter.wsdl" importType="wsdl"/>
      <import namespace="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1"
              location="oramds:/apps/AIAMetaData/AIAComponents/ApplicationBusinessConnectorServices/EcoProduct/V2/ProcessEcoProductReqABCSImpl.wsdl"
              importType="wsdl"/>
      <service name="EcoProductDBReadAdpter"
               ui:wsdlLocation="EcoProductDBReadAdpter.wsdl">
        <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Ecoproductservice/EcoproductDBAdpter/EcoProductDBReadAdpter#wsdl.interface(EcoProductDBReadAdpter_ptt)"/>
        <binding.jca config="EcoProductDBReadAdpter_db.jca"/>
        <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
        <property name="jca.retry.interval" type="xs:int" many="false"
                  override="may">1</property>
        <property name="jca.retry.backoff" type="xs:int" many="false"
                  override="may">2</property>
        <property name="jca.retry.maxInterval" type="xs:string" many="false"
                  override="may">120</property>
      </service>
      <component name="EcoproductAdpter">
        <implementation.mediator src="EcoproductAdpter.mplan"/>
      </component>
      <reference name="CallEcoproductRqsABCSimpl"
                 ui:wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationBusinessConnectorServices/EcoProduct/V2/ProcessEcoProductReqABCSImpl.wsdl">
        <interface.wsdl interface="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1#wsdl.interface(ProcessEcoProductReqABCSImpl)"/>
        <binding.ws port="http://xmlns.oracle.com/ABCSImpl/Product/Core/ProcessEcoProductReqABCSImpl/V1#wsdl.endpoint(ProcessEcoProductReqABCSImpl/ProcessEcoProductReqABCSImpl_pt)"
                    location="http://localhost:8001/soa-infra/services/default/ProcessEcoProductReqABCSImpl/ProcessEcoProductReqABCSImpl?WSDL"/>
      </reference>
      <wire>
        <source.uri>EcoProductDBReadAdpter</source.uri>
        <target.uri>EcoproductAdpter/EcoproductAdpter</target.uri>
      </wire>
      <wire>
        <source.uri>EcoproductAdpter/CallEcoproductRqsABCSimpl</source.uri>
        <target.uri>CallEcoproductRqsABCSimpl</target.uri>
      </wire>
    </composite>
    Thank you,
    Ramesh.

  • How do I create an automator task to run TimeMachine at only certain hours?

    Hi
    In another forum it was suggested I make an Automator task for setting TimeMachine to only run at certain hours of the day.
    I've not used Automator in the past.
    I'd like to set it to run TimeMachine from only 1AM to 7 AM.
    Can anyone point me to a good source to figure out how to do this?  Or just share with me how to write the task?
    Thanks

    You might look at this program.
    TimeMachineEditor - Time Software - Free

  • Automated Tasks in Photoshop or using Adobe Bridge

    I have recently transfered to CS3 and am having problems using the automated tasks. Normally with CS2 i would select pictures in bridge and then hit the Tools-Photoshop-Image Processor to switch over a series of files from one format to another. When I try to do the same thing with CS3 nothing happens, the photoshop screen comes up empty and i do not get the image processor message. I would appreciate any advice. thanks
    R. Silveston
    ps: I am using a pc

    Try asking in the PS Elements forum.
    http://forums.adobe.com/community/photoshop_elements

  • Photoshop CC 2014   Bridge CC: automated tasks missing

    I Have downloaded the new Photoshop CC 2014 and updated to Bridge CC. I am no longer able to run automated tasks from Bridge in Photoshop because the "photoshop" submenu is no longer available under tools… unistalling en reinstalling brings no avail. I'm now back to Photoshop CS6 and Bridge CS6… I just would like to know: Am I doing something wrong or is this a bug that hopefully will soon get fixed?

    Please post queries regarding Adobe Bridge over at
    Bridge General Discussion

  • Previous Automator task no longer working in Leopard

    Here's what I had - I use the Sonos music system which has a limit on total metadata. The longer the file path the more data was used. Therefore the folder system set up by iTunes (which I could not get rid of no matter what I tried) would end up using a lot of the data limit.
    I created an Automator task that did the following:
    1. Looked through my iTunes Music folder (on an external hard drive) for any folders.
    2. Took the contents of the folders and moved them to the iTunes Music folder.
    3. Searched through the iTunes Music folder for the now-empty subfolders
    4. Moved these empty subfolders to the trash.
    Using Leopard's Automator, I tried running my old workflow and got several error messages. Worse, it appears to have deleted my old workflow (can't find it anywhere) - whether or not Automator deleted it or I did accidentally, I no longer have it.
    Trying to replicate the old flow, I simply cannot put together instructions that work. I can't seem to empty the folders out, so that the folders in the trash are filled with the songs. Once I even accidentally moved the whole iTunes folder into the trash. I can't get the last "move to trash" command to work without an error message though it seems to actually work no matter that there's an error message.
    This shouldn't be too hard, but maybe I'm forgetting something simple. Anyone have any ideas?
    Thanks,
    Stu

    It sure does appear that somehow the parental controls are linked to the widget issue in some fashion. I have two different accounts for my children (each with parental controls), one for my wife (no parental controls), a guest account and of course my administrative account.
    After reading your replies I solved my problem (at least for now) by: 1) turning off the parental controls on my children's accounts; 2) logging into each existing account and; 3) logging back into the administrative account. When I finally got back into my own account, the widgets were all working again just like they did before. We'll see if this resolves the issue for the long-term (or at least until Apple can patch Leopard a little bit more).
    Hope this helps.
    Thanks

  • ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception

    Hi,
    Can some one provide a resolution for below error:
    I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
    using LKM File to SQL, IKM Sql Control Append.
    I am getting below error when executing the interface :
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "
    " (92), after : "": <at unknown location>
    BSF info: Create external table at line: 0 column: columnNo
    at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
    at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
    ... 11 more
    Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
    out.print("createTblCmd = r\"\"\"\ncreate table ") ;
    out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
    out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022[DEST_WRI_DT]
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n
    t", "","")) ;
    out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
    out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
    out.print("'\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
    out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
    out.print("\n\t\tBADFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
    out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
    out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
    out.print("\n") ;
    if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    } else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
    out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
    out.print("'\n\t\t") ;
    if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
    } else {out.print("OPTIONALLY ENCLOSED BY '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
    out.print("' AND '") ;
    out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
    out.print("' ") ;
    }out.print("\n\t\t") ;
    out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
    out.print("\n\t\t(\n\t\t\t") ;
    out.print(odiRef.getColList("", "[CX_COL_NAME]
    t"+
    "<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]
    u0022, \\u0022DEST_WRI_DT
    u0022, \\u0022[COL_FORMAT]
    u0022, \\u0022[BYTES]
    u0022, \\u0022[LONGC]
    u0022, \\u0022[SCALE]
    u0022)?>"
    , ",\\n\\t\\t
    t", "","")) ;
    out.print("\t\t\n\t\t)\n\t)\n") ;
    }out.print("\tLOCATION (") ;
    out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
    out.print(")\n)\n") ;
    out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
    out.print("\nREJECT LIMIT ") ;
    out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
    out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
    ****** ORIGINAL TEXT ******
    createTblCmd = r"""
    create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t", "","")%>
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dat_dir
    ACCESS PARAMETERS
    RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
    <%=odiRef.getUserExit("EXT_CHARACTERSET")%>
    <%=odiRef.getUserExit("EXT_STRING_SIZE")%>
    BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
    LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
    DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
    SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
    <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
    FIELDS
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%} else {%>
    FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
    <% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
    <%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
    <%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
    <%=odiRef.getColList("", "[CX_COL_NAME]\t"+
    "<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
    , ",\n\t\t\t", "","")%>
    <%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
    <%=odiRef.getUserExit("EXT_PARALLEL")%>
    REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
    # Create the statement
    myStmt = myCon.createStatement()
    # Execute the trigger creation
    myStmt.execute(createTblCmd)
    myStmt.close()
    myStmt = None
    # Commit, just in case
    myCon.commit().
    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

    Hi
    I saw your issue and found one think that "String index out of range", can you please compare the columns datatype and column size with target table and ODI table.
    ODI Table:
    After Reverse Engine, CSV changed into table format can you please open the table from designer>model>csv table and goto columns tab, it will list out the all column name datatype and size. compare the column size and type with your target table.
    hope this will resolve your issue.
    Regards,
    Phanikanth

  • Photoshop cc 2014 / Bridge cc (automated tasks not available under "Tools" menu)

    I Have downloaded the new Photoshop CC 2014 and updated Bridge. I am no longer able to run automated tasks from Bridge in Photoshop because the "photoshop" submenu is not available under tools...

    You will likely get better program help in a program forum... Bridge or Photoshop or both
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Difference between execution mode of Print preview and Print for Output

    Hello,
    Can anybody tell the difference between execution mode of print preview and print for an output (For eg. PO output or Invoice)?. I am trying to download some documents linked to Purchase order to desktop. The code is written in the same driver program for printing PO and it is executed after smartform function module is called. It works fine in print preview mode and it fails in print mode. The reason why download fails in print mode is that GUI not available (just found from debugging).
    Any ideas?
    Thanks
    Anil

    HI
    try using any other printer and find out if you are getting the correct output. The printer needs to support Multiple Unicode encoding schemes like UTF 8, UTF 16BE, and UTF 16LE, plus special characters and logos, bi-directional text layout, and custom characters..

  • How to release the Change request (Task in Repair Mode)

    Hello everybody,
    I have change request in that one Task in Repair mode.
    when i trying to release, it give the error message like
    Repair HRDK900911 may only contain repaired objects
    Diagnosis
    In repairs, you can only lock and edit those objects whose original exists in another SAP System.
    The object R3TR PROG /VWK/GPS_VCD_R was found in the object list of your repair HRDK900911. This object is not a copy but the original.
    So please suggest me
    How to release the Task (Repair) so I can release  the request.
    Thanks

    Yes you wont be able to release the request till you remove the flag from SE03.
    Goto SE03 > Display Repaired Objects
    Select Your object and remove the repair flag from top <Repair Flag>
    R3TR PROG <Your Object>
    Also as you are getting an error
    No valid change license available for namespace
    In SE03-->Display/change Namespace
    when I check the specified Namespace then their is no Repair License.
    So please suggest me Repair License is required?
    check what namespace it is refrerring to ... A namespace name should be there....
    1. Go to SE06 and click on the System Change Option.
    2. Verify that Namespace Systems Development  /Namespace/  is "Modifiable".
    or
    1. Run transaction SM30
    2. Enter V_TRNSPACE
    2. Click Maintain
    3. Double Click on Namespace /NAMESPACE/
    4. Change Namespace role from P to C, then hit Save
    All the best !
    Edited by: prateek_y on Aug 30, 2010 3:21 PM

  • Problem with Automated Tasks

    Hi all,
    At this moment I'm testing a cartridge deployed in OSM7 that is installed in Solaris Spark. The cartridge contains processes that include Automated Tasks with XQuery Sender Automator Internal to send a message to a queue JMS. In some of the Automated Task, when try to execute de XQuery Sender doesn't occur anything, the message is not putted in the queue and in the log doesn't appear any error.
    I created 3 orders in OSM, and checking all the WebLogic console I can see the next:
    1. In the worklist of OSM appear the 3 orders with column "State=Received" and doesn't have anything in the column "User", (I think this mean that the automator has not started).
    2. In the WebLogic console -> JMSModules -> "oms_jms_module" -> "oms_events" ->Monitoring, I can see 3 messages "Pending" that correspond to each order created.
    3. The Orchestration Plan "Seen in the osmwebui" is OK.
    Note1: When I test the same cartridge deployed in OSM7 installed in Windows I don't have the problem.
    Note2: This doesn't occur always, sometimes the JMS Message is putted in the queue and the flow of the order continues in the right way.
    Thanks a lot for any suggestion.
    Edited by: user2926753 on 17-nov-2011 9:24

    Ramiro;
    From what you are describing, it sounds as if the automation plugin is not deployed - hence the reason why the task you are intending to automate just stays in the received state.
    I would suggest you start by undeploying and then redeploying your cartridge.
    Of course this doesn't explain your Note2, but worth trying the above in any case.
    Can you tell me how you are submitting the order and what release of OSM you are on?
    Thanks,
    Brian.

  • Help!: Control reference seamingly "lost" in run-time execution mode

    Hi!
    The Facts:
    LabView 6.1 PC under NT.
    I've been using "Vi loader" technique since a few month s to distribute a LabView application on severals PCs without having to re-compile it each time. My application uses more than 500 VIs so I can't build it directly. The directories/Vis of the application are simply copied on the target PC and run through the Vi loader technique instead of using the development environnement.
    The problem:
    Since the last release of the my application, differences between the application running in development mode or run-time mode have appeared:
    One VI reading a .ini file does not act the same way if runned in the developpment environnment or
    runned in the run-time environnment. This VI uses control-references from its front-panel and passes them to sub vis. In run-time execution those references seems to be perverted: the sub-vis get them but can't access their properties like Label Name, Values,...
    All works perfectly fine if the VI is runned in the environnment developpment.
    Moreover the same sub-vis called with other control references in other VIs work fine.
    Question:
    Has anyone seen any behavioral difference between run-time execution and development environnement execution?
    Are there any differences in the linkage process between those 2 execution ways?
    Is there any labview Feature that would automaticaly "de-allocate" references at run time and would do so "too early"?
    Is there any know problem with poly-morphique VIS in run-time execution mode.
    That's all, any idea, lead, wellcome!

    Hi Andrew!
    I've allready had a look at the "Problem with VI Loader technique". It only deals with top vis not working (ie broken) when called from loader in Run-Time mode because of ill declared vi.lib path.
    It's "unfortunately" not my problem: My VI is not broken, it's kind'a working, but not as it does in development environment execution mode.
    If NI people are reading this, I would like to send them the VI and it sub-VIs to understand if something has been perverted .
    The problem is seen on all three target PCs.
    Moreover, a new one has appeared: in run-time mode, the standard "file dialog" vi called to prompt the user for a file with a given extension pattern sends back the file name with the extension "double dotted" (exemple: anything..data
    instead of anything.data).
    About the first problem, does any know why a Ctrl Refnum would loose its parent information (name, value...) in run-time execution mode?
    Bye!

Maybe you are looking for