Invoking a process when a file is placed in a directory

Hi All,
invoking a BPEL process when file comes to a dir and write to DB in SOA 11g. Getting an exception when i'm placing the multiple file it is going into
an ambiguity situation. Can anyone can help me on this if possible.
Regards,
CH

Could you paste the error message here?

Similar Messages

  • Fnd out when a file is added to a directory

    Does anyone know if theres a way to send a signal / cause an event when a file (which could be of any type and any filename), is added to a directory.
    Eg When a file is added to the directory 'mynewfiles' I want to send a signal to another process that will copy a version of this to another directory.
    Is this possible in Java? Without using polling?

    I'm pretty sure there's no alternative to polling, though you can at least poll the "last modified" timestamp before checking the contents.
    A signal facility would have to be plugged right into the operating system.

  • Trigger a Mail when no file is placed

    Hi Everyone,
    How can we trigger a mail when no source file is placed for the file adapter to pick in a given time?
    Regards,
    Raghu

    Hi
    I m not sure wheter this will work or efficient.
    Cant you use operating system command option ?
    Like,,,, checking whether the particular file exists, if not create a blank file or new file with a different predefined content using Operating System Command option (using scripts or soemthing). and creating a separate file-mail scenario for this new file

  • How to trigger a Report when a file is placed in Application server

    Hi All,
    How to triggger a Report and get executed when a new file is placed in the application server.?
    It will be helpful if a Navigation is provided for the EVENT.
    Thanks in advance
    Chakri

    Hi,
    Check what is the frequency of the file coming to the application server.
    Schedule your program in SM36 giving data and time make it periodic . select the check box Periodic Job
    and then select the period values and give the period values as per the frequency of the file coming to app server.
    Thanks,
    Harini

  • Process 0kb empty file and deliver to target directory

    Hello Experts,
    We had a requirements to process an empty file handling and send it to the receiver/target directory. We had configured to "Process Empty File" Handling and “Write Empty File. The 0KB file polling successfully and archived to the directory with empty payload, but the message output was never created/sent to the target directory. In smxi_moni error message displayed:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">CANNOT_READ_PAYLOAD</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to read payload from the message object</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Since this is an empty file, there are no mappings involved.  Is there a way to that we could check for 0kb file? If it is empty file, we want to pass/place the empty file to the target directory and if it is not empty, we want the message to process in the standard way.

    Hi David,
    "Since this is an empty file, there are no mappings involved. "
    do you mean you didnt do the mapping at all cos it is empty file ?
    though it is empty file still you need to do the mapping as usually,but when you check the option process the empty file both in sender and receiver adapter ,then it will process even an empty file comes.if you dont check these options and you get an empty file during the process then the mapping will fail.
    in real time you don't know which one is empty file right,but her you know cos you are placing empty file.
    I think you got to do all the steps you do in eneral for a scenario and top on that you have to check process empty file in both sender and receiver adapters,but you may not see the payload in SXMB_MONI.
    but search in SDn you get lot stuff.

  • HT5639 How to stop a Terminal process when a file becomes to large?

    I was making a terminal program to produce a txt file with incrementing numbers every line. But do to time and size I had wished the program to stop when it produced a txt file larger than 1GB here is the code I was using.
    #!/bin/bash
    main()
        cd ~/desktop
        a=0
        b=1
        a=`expr $a + 1`
        echo $a
        echo $a >> count.txt
        run
    count()
        b= du -skL count.txt  > /dev/null       ///// problem here //// run it with out the comment to see how
        a=`expr $a + 1`
        clear
        echo "#"$a "-" $b"KB"
        echo $a >> count.txt
    run()
        cd ~/desktop
        while [ $b -lt 1048576 ]
        do
            count
        done
    main

    There is no need to post the same question more than once.
    https://discussions.apple.com/thread/5209171?tstart=0
    You could try posting in the developer forum https://discussions.apple.com/community/developer_forums

  • Spot chanel white not visible in ai when psd file is placed (CS6)

    TIA for the help.
    Hopefully somebody here can point me in the right direction. My appologies if this was covered already, but I've searched left and right without any luck.
    We use spot channels in PS and as of CS5 have to print out of Illustrator in order to adjust the lpi and angles (for printing film positives).
    Since upgrading to CS6 the white is not showing in the Illustrator any more and it seems that the rest of the colors are very translucent.
    Turning on the overprint preview does not make any difference and there is no option to change the color to a "spot color" they show as RGB.
    To tyr to clarify:
    creat a blank document in Photoshop
    creat new channel
    change the channel to spot color and assign CoolGray1
    draw or type anything directly into the channel
    turn off all the layers and RGB channels
    save and place in Illustrator
    create black bacground and move the image on top of it.
    the gray square is just about visible.
    If a white ink was used, it would not be visible at all.
    thanx in advance!

    Select the placed psd in Illustrator
    Check "Isolate Blending" on the Transparency Panel...
    Does that help?
    More information on the transparency panel can be found here:
    http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-64eba .html#WS714a382cdf7d304e7e07d0100196cbc5f-64e9a

  • Can't invoke a process control from a pageflow

    I create a simple pageflow that invokes a process control (jpd file) to start a
    business process. I created a process control from the jpd and added it as a control
    to the pageflow. I can run the process indepedently in the test harness, but cannot
    invoke from my pageflow.
    Any ideas what what could be wrong?
    When I invoke a method on the process control I get the following in the test
    browser:
    An error has occurred:
    EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl invocation
    failed[null]
    caused by: : com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    In the server console I have the following exceptions:
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.Cla
    ssCastException [ServiceException]>
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation failed[n
    ull]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
    meUtils.java:103)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome
    .java:295)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
    53)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObj
    ect.java:141)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:110)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.
    java:240)
    at $Proxy8.clientRequest(Unknown Source)
    at pageFlows.customerNeed.customerNeedController.submitNeed(customerNeed
    Controller.jpf:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowCont
    roller.java:1262)
    at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(Flow
    Controller.java:1214)
    at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java
    :650)
    at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowControl
    ler.java:278)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:480)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:429)
    at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(Dynamic
    SubappActionServlet.java:405)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessCont
    rol invocation failed[null]
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:369)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.ja
    va:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerB
    ean.java:103)
    at com.bea.wlwgen.SubmitNeedControlSLSBContImpl.clientRequest(SubmitNeed
    ControlSLSBContImpl.java:25)
    at com.bea.wlwgen.StatelessContainer_a0ubma_ELOImpl.clientRequest(Statel
    essContainer_a0ubma_ELOImpl.java:423)
    at com.bea.wlwgen.SubmitNeedControlSLSBContAdpt.invokeOnBean(SubmitNeedC
    ontrolSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    ... 32 more
    Caused by: java.lang.ClassCastException [ServiceException]
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :379)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.BMPContainerBean.invoke(BMPContainerBea
    n.java:1530)
    at com.bea.wlwgen.SubmitNeedBMPContImpl.clientRequest(SubmitNeedBMPContI
    mpl.java:25)
    at com.bea.wlwgen.PersistentContainer_cfepz3_ELOImpl.clientRequest(Persi
    stentContainer_cfepz3_ELOImpl.java:207)
    at com.bea.wlwgen.SubmitNeedBMPContAdpt.invokeOnBean(SubmitNeedBMPContAd
    pt.java:80)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
    at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:873)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:754)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:359)
    ... 46 more
    Caused by: java.lang.ClassCastException
    at processes.customerNeed.SubmitNeed_wf.$__clientRequest(SubmitNeed_wf.j
    ava:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :353)
    ... 65 more

    Some additional information:
    The problem seems to be related to a custom object that I am passing to the exposed
    clientRequest(String, CustomObj) method in the process control. If I remove the
    CustomObj parameter, all works fine. Unfortunately, I need to pass that object
    to the workflow. I have the CustomObj define within my project "Project/com/omeninc/package/CustomObj",
    my process file located at "Project/processes/customerNeed/SubmitNeed.jpd" and
    my pageflow define at "Project/pageFlows/customerNeed/customerNeedController.jpf".
    The entire project builds without error, but when I run it I get the ClassCastException.
    Thanks in advance for any assistance!!
    <Dec 9, 2003 9:39:59 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.ClassCastException
    [ServiceException]>
    <Dec 9, 2003 9:39:59 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation failed[null]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    "Jim Anzaldi" <[email protected]> wrote:
    >
    I create a simple pageflow that invokes a process control (jpd file)
    to start a
    business process. I created a process control from the jpd and added
    it as a control
    to the pageflow. I can run the process indepedently in the test harness,
    but cannot
    invoke from my pageflow.
    Any ideas what what could be wrong?
    When I invoke a method on the process control I get the following in
    the test
    browser:
    An error has occurred:
    EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation
    failed[null]
    caused by: : com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    In the server console I have the following exceptions:
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level;
    Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.Cla
    ssCastException [ServiceException]>
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level;
    Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation
    failed[n
    ull]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
    meUtils.java:103)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome
    .java:295)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
    53)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObj
    ect.java:141)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:110)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.
    java:240)
    at $Proxy8.clientRequest(Unknown Source)
    at pageFlows.customerNeed.customerNeedController.submitNeed(customerNeed
    Controller.jpf:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowCont
    roller.java:1262)
    at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(Flow
    Controller.java:1214)
    at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java
    :650)
    at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowControl
    ler.java:278)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:480)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:429)
    at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(Dynamic
    SubappActionServlet.java:405)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessCont
    rol invocation failed[null]
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:369)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.ja
    va:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerB
    ean.java:103)
    at com.bea.wlwgen.SubmitNeedControlSLSBContImpl.clientRequest(SubmitNeed
    ControlSLSBContImpl.java:25)
    at com.bea.wlwgen.StatelessContainer_a0ubma_ELOImpl.clientRequest(Statel
    essContainer_a0ubma_ELOImpl.java:423)
    at com.bea.wlwgen.SubmitNeedControlSLSBContAdpt.invokeOnBean(SubmitNeedC
    ontrolSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    ... 32 more
    Caused by: java.lang.ClassCastException [ServiceException]
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :379)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.BMPContainerBean.invoke(BMPContainerBea
    n.java:1530)
    at com.bea.wlwgen.SubmitNeedBMPContImpl.clientRequest(SubmitNeedBMPContI
    mpl.java:25)
    at com.bea.wlwgen.PersistentContainer_cfepz3_ELOImpl.clientRequest(Persi
    stentContainer_cfepz3_ELOImpl.java:207)
    at com.bea.wlwgen.SubmitNeedBMPContAdpt.invokeOnBean(SubmitNeedBMPContAd
    pt.java:80)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
    at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:873)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:754)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:359)
    ... 46 more
    Caused by: java.lang.ClassCastException
    at processes.customerNeed.SubmitNeed_wf.$__clientRequest(SubmitNeed_wf.j
    ava:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :353)
    ... 65 more

  • Trigger a background job immediately after a file is placed in App Server

    Hi all,
    I have a program  ZPGM1 that needs to be executed in background when a file is placed in an application server.
    I know i can schedule  ZPGM1 to trigger in background after an event say ZEVENT1.
    Also i know i raise the event ZEVENT1 using FM BP_EVENT_RAISE but my problem is who would raise the event.
    The file is being dropped in application server at random time by 3 party vendor. I need to execute my ZPGM1 immediately after the file is placed in Application Server.
    Is ther a way that this can be achieved. Let me know
    Thanks
    Kajol

    You will need to develop a custom, non-SAP "listener" program or a script. This program/script will need to check if the file is present (e.g. by using an OS-level event) and, if so, start SAPEVT.EXE program with corresponding parameters.
    SAP Help on raising events externally:
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    There is also third-party software available, but it is very expensive:
    http://www.redwood.com/

  • Upload a CSV file directly to an Oracle directory?

    We have some existing packaged code that reads CSV files from an Oracle directory into the database via external tables. Currently, the files are placed in the directory via FTP, but we'd like to upload them via APEX if possible.
    As far as I can tell, APEX file upload will store a file as a BLOB in an APEX table. Is there any way to re-direct the file upload to put file straight into the Oracle directory instead? The files will be copied from a Windows client to an Oracle server on Unix.
    We're still on APEX v.3.2 unfortunately.
    Edited by: chriswebster on Mar 31, 2011 10:05 AM

    >
    Similarly, we don't really want to have to extract a BLOB from the APEX file-upload table and re-create the CSV file either, as this seems like a lot of work to do a simple thing.
    >
    Not really, just a page process...
    PROCEDURE blob2file (p_blob         BLOB,
                         p_directory    VARCHAR2 := 'MY_DIR',
                         p_filename     VARCHAR2 := 'my.csv')
    IS
       t_fh    UTL_FILE.file_type;
       t_len   PLS_INTEGER := 32767;
    BEGIN
       t_fh := UTL_FILE.fopen (p_directory, p_filename, 'wb');
       FOR i IN 0 .. TRUNC ( (DBMS_LOB.getlength (p_blob) - 1) / t_len)
       LOOP
          UTL_FILE.put_raw (t_fh, DBMS_LOB.SUBSTR (p_blob, t_len, i * t_len + 1));
       END LOOP;
       UTL_FILE.fclose (t_fh);
    END;?
    Cheers
    Ben

  • How do I replace bookmark bar that was lost when a new Mozilla Fox Start page suddenly appeared with a Zone Alarm Community Toolbar, and nothing I have so far tried, working with "Show all Bookmarks", works ("Unable to process the backup file).

    My current version is 6.0.2. A box appeared a few days ago informing me of an update to 7 (x?). I declined for the time being.
    Then a Start Page just showed up missing the bookmark tool bar. I tried to import a bar from another browser. Nothing showed up. Then, I went to "Help". First, I clicked on "About Firefox" where I was informed of an update. This time, I tried it. When I clicked on "Apply Update", I received a message; 'Update could not be installed" despite there being no other Firefox browsers running.
    I went back to "Help" and clicked on "Firefox Help". A page came up with the URL in place, but the page would not load ("Cannot find server at support.mozilla.com"). After several clicks on "Try Again" with the same result, I copied the URL and pasted it into a different browser, from which I am now working.
    Before sending this question, I tried the two procedures ("Manual Backup" and "Restoring From Backup") found on Bookmarks/Show All Bookmarks/Import And Backup/Restore, using both "stored backups" from Mozilla's Profile folder and "Choose a file", as well as Bookmarks/Show ... /Backup. In each case, the response was, "Unable to process the backup file".
    I had previously tried another method I found on Google which involved copying and saving a Mozilla backup file (this is the file I used in the procedure above - "Choose a File") found in the C:/Documents And Settings/.../Profile Folder, then renaming the original file "backup.HTML" and saving it in a folder one level up from its original location. The Bookmark bar was to show up after shutting down and reopening Mozilla - it never happened. I replaced the original backup file.
    It occurred to me to locate the Bookmark File for this browser (Chrome) and using it in the "Choose a File" method, referred to above. But there is no extension included in the file name, and I was afraid to try it.
    I'm out of ideas. Is there something else to try?

    Check that the Bookmarks Toolbar is visible and that the "Bookmarks Toolbar items" is still placed on the Bookmarks Toolbar.
    If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    See also:
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars

  • I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as

    I created a file in Photoshop CS5 (a photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When the Photoshop and Illustrator files are placed in InDesign, they look blurry - whether viewed in InDesign, printed, or saved as a PDF. Can anyone give me some tips on how to fix this? Thanks!

    Ask in the program forums
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    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 FORUMS) to open the drop down list and scroll

  • Javascript works in Designer preview mode, but not when invoked via process

    I have a fragment consisting of a subform and a text object. The subform has the following Javascript for its initialize event:
    var cars = $data.input.cars.car.all;
    var showMe = false;
    for (var i = 0; i < cars.length; i++) {
    if(cars.item(i).color && cars.item(i).color.value == 'RED')
    showMe = true;
    break;
    if(!showMe) {
    this.presence = 'hidden';
    The code is supposed to loop through all my input XML data's cars, see if each car has a color element, and if so, see if the color is RED. If any of the cars have a color of RED, the fragment should be visible. Otherwise, it should be hidden.
    The Javascript works fine when I preview the fragment in Designer using a sample XML input file with no color element (i.e. the text in the fragment is hidden).
    The Javascript works fine in my main document (which has the fragment included in it) when in preview mode in Designer.
    The Javascript does not work when I invoke my process in LiveCycle server. I pass in data that has 1 car without a color element, and for some reason my fragment is visible.
    Is there something wrong with my Javascript? Is this the wrong way to check to see if an XML element is present? Is something else wrong?
    Any help would be appreciated!
    Thanks,
    Andy

    I guess a more appropriate question might be:<br /><br />How can I tell if my XML input data does or does not contain an element?  Let's say I have<br /><br /><input><br />  <cars><br />   <car><br />     <make>VW</make><br />   </car><br />  </cars><br /></input><br /><br />How can I use Javascript to safely determine if the car has a <color> element?

  • Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "

    Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
    Please help

    Wait a second, Photoshop can make lattes now?  Personally I prefer my coffee black, but man have I been under-utilizing this program.

  • Problem with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?

    Hello,
    my problem is with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?
    Normally that i followed all instructions from your support site, and that i tried many things, but nothing helped :( !?
    my .json file isn't corrupted cause it was saved on another partition before formatting my OS.
    Please don't tell me that my bookmarks are lost :( cause i had many important things in that bookmarks, on 100.s pages :( ....
    Thanks in advance!
    Sincerely,
    hoho33

    "
    Can you restore that JSON backup in a new profile?
    Did you make sure that it is really a JSON backup and that there is no missing or hidden other file extension?
    A JSON backup starts with: {"title":"","id":1,"dateAdded"
    A HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>
    You can try if you can restore that JSON backup in a new profile.
    Create a new profile as a test to check if your current profile is causing the problems
    See Basic Troubleshooting: Make a new profile
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Please for administration of this support site, make possibility to quote someone's answer, on this way is dificult to answer somebody who wrote some suggestion!
    No, i can't restore JSON backup in new profile, even on fresh installed OS XP SP3, with fresh installation of latest version of firefox!
    MAN I TOLD YOU 10X IT'S 200 % JSON BACKUP FILE!!! I'M NOT IN IT FROM YESTERDAY, I WORK IN IT 12 YEARS!!!
    I tried restoring json backup in new profile, but nothing, i couldn't restore, cause that stupid error from screen shot which i posted again appears !
    Man i'm not totally noob i repeat 2nd time here, and normally that i know to create new profile, and that i tried that, but that didn't help!
    I can't believe that FIREFOX has not good support team, and doesn't care for yours users, this will not give me more reason to use in future firefox
    like borwser, if i don't have good support, and when i have problem like this, to loose all my very important bookmarks and passwords on them, and
    firefox support won't to help me to solve my problem!
    If somebody from firefox support team read this, i can give you Remote desktop access to my computer to try solve this problem, like other serious company
    like HP, Dell , etc. give remote desktop support to their users!
    Corel are you from firefox support team? Please don't write same suggestions, cause i know to read, and i understand well if you write once some suggestion!
    Greetzz

Maybe you are looking for