Temporarily stop processing in a jsp

Hi,
I have the following question, and hope you can help.
I have a jsp, say a.jsp. During the processing the jsp may need additional information from the user. In that case it generates a pop-up window (using javascript) with a form that the user can fill in, and submit.
My questions:
1. Is it possible that a.jsp stops processing after generating the pop-up window? If so, how?
2. Is it possible that after the user submits the additional information a.jsp continues processing at the point after the generation of the pop-up window? If so, how?
Thank you for an answer,
Sponiza

It's possible although not exactly as you asked. Rather than stopping and starting the processing you would include or exclude content based on the state of your request. i.e. Let's assume that the first time a user enters your site you popup a form requesting they log in. If they've logged in you allow them to see the content of the page:
<% if (session.loggedIn == null || session.loggedIn == false) { %>
<script language="JavaScript">
popupLogin();
</script>
<% }  else { %>
// content content content...
<% } %>

Similar Messages

  • Error in processing [/useradmin/index.jsp]

    In our PI system 7.1, when we try the below url
    http://hostname.xx.xxx.com:50000/useradmin/index.jsp
    we are getting the below error
    "500   Internal Server Error
      SAP NetWeaver Application Server 7.11 / AS Java 7.11 
      Error: "Error in processing [/useradmin/index.jsp] in application [sap.com/com.sap.security.core.admin]."
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: "The WebApplicationException log ID is [AA4FB520760500F20000000000AC0064]."
    the Default trace file has the below error message:
    #2.#2011 10 10 16:23:19:399#0-400#Error#com.sap.engine.services.servlets_jsp.ISE500#
    com.sap.ASJ.web.000500#BC-JAS-SEC-UME#sap.com/com.sap.security.core.admin#AA4FB520760500EF0000000300AC0064#4047350000000004#sap.com/com.sap.security.core.admin#com.sap.engine.services.servlets_jsp.ISE500#J2EE_GUEST#0##B15C71CBF37D11E0C7CC0000003DC1F6#b15c71cbf37d11e0c7cc0000003dc1f6#b15c71cbf37d11e0c7cc0000003dc1f6#0#Thread[HTTP Worker [@501859437],5,Dedicated_Application_Thread]#Plain##
    500 Internal Server Error is returned for HTTP request [http://hostname.xx.xxxx.com:50000/useradmin/index.jsp]:
      component [jsp],
      web module [useradmin],
      application [sap.com/com.sap.security.core.admin],
      DC name [sap.com/com.sap.security.core.admin],
      CSN component[BC-JAS-SEC-UME],
      problem categorization [com.sap.ASJ.web.000137],
      internal categorization [-1555343295].
    [EXCEPTION]
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error occurred while parsing the jsp page [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp].
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:200)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
            at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
            at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
            at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
            at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
            at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
            at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
            at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: [/usr/sap/P1X/DVEBMGS00/j2ee/cluster/apps/sap.com/com.sap.security.core.admin/servlet_jsp/useradmin/root/index.jsp]
            at com.sap.engine.services.servlets_jsp.jspparser_api.JspParser.generateJspClass(JspParser.java:160)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:192)
            ... 37 more
    Has anyone faced this issue?
    Regards
    Senthil

    Hi,
    Please check with your Basis Team if User Management services and applications are running. It is under Operations Managemenr -> Systems -> Start & Stop.
    Regards,
    Jenny

  • Temporarily stopping the SCEP Microsoft Antimalware Service

    I know that Microsoft has made the MsMpSvc service tamper proof as per this article:
    http://blogs.technet.com/b/mspfe/archive/2013/02/19/anti-tampering-for-the-antimalware-service-in-system-center-endpoint-protection-2012-sp1.aspx
    Then I read this forum post here about using PSExec to temporarily disable it:
    https://social.technet.microsoft.com/Forums/forefront/en-US/f4347d13-5c9a-4395-b070-9aa53d613f68/is-there-a-way-to-restart-the-microsoft-antimalware-service?forum=FCSNext
    But, I want to know if there is ANYWAY possible to automate this process using a script, PowerShell preferably?
    Thanks

    Because I am an evil scientist wanting to take over the world. 
    LOL
    Well my manager asked me to look into this because there are steps in troubleshooting certain issues with some applications used in our environment and one of those steps is to temporarily disable the AV\Antimalware service. 
    I know Symantec Endpoint Protection offered something like this, but there is nothing I can find for SCEP. 
    This may be a deal breaker here to use SCEP if I can't find a way to do this and we may have to use SEP rather than SCEP, but this is not what we want. 
    Also, it's not always easy to be privy to which exclusions to create for certain software products, so having the ability of temporarily stop it to see if it is the culprit regarding issues is much more convenient. 

  • Invoking BPEL Process from a JSP Page 500 Internal Server Error

    Hi,
    I try to invoke a BPEL Process from a JSP Page and receive the following error. I just pasted the example from the Oracle PM Developer's Guide tutorial. Previously I deployed the CreditRatingService BPEL Process.
    Can anyone help me, please?
    D.
    Here is a sequence from my JSP / and the error I get:
    String ssn = request.getParameter("ssn");
    if(ssn == null)
    ssn = "123-12-1234";
    String xml = "<ssn xmlns=\"http://services.otn.com\">"
    + ssn + "</ssn>";
    Locator locator = new Locator("default","welcome1");
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to oracle bpel process manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    NormalizedMessage res =
    deliveryService.request("CreditRatingService", "process", nm);
    Map payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    out.println( "Credit Rating is " + payload.get("payload") );
    500 Internal Server Error
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at _InvokeBP._jspService(_InvokeBP.java:65)
         [InvokeBP.jsp]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180
    Message was edited by:
    user603180

    Here is the solution:
    Properties props = new Properties();
    props.setProperty("orabpel.platform", "oc4j_10g");
    props.setProperty("java.naming.factory.initial",
    "com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url", "ormi://localhost/orabpel");
    props.setProperty("java.naming.security.principal", "oc4jadmin");
    props.setProperty("java.naming.security.credentials", "welcome1");
    and several jars have to be added to the project:
    Orabpel.jar , Orabpel-common.jar, oc4j*.jar,
    %ANT_HOME%\lib\ant.jar;
    %ANT_HOME%\lib\xercesImpl.jar;
    %ANT_HOME%\lib\xml-apis.jar;
    %AXIS_HOME%\lib\axis.jar;
    %AXIS_HOME%\lib\axis-ant.jar;
    %AXIS_HOME%\lib\commons-discovery.jar;
    %AXIS_HOME%\lib\commons-logging.jar;
    %AXIS_HOME%\lib\jaxrpc.jar;
    %AXIS_HOME%\lib\log4j-1.2.8.jar;
    %AXIS_HOME%\lib\saaj.jar;
    %AXIS_HOME%\lib\wsdl4j.jar;

  • Invoking BPEL process from a jsp

    Hi,
    I am invoking a synchronous BPEL process from a jsp.
    The jsp I am using is pasted below for your reference.
    createWorkOrderFFA.jsp invokes another jsp invokeWorkOrderFFA.jsp which inturn calls the BPEL process.
    The code is given below.
    -----------------createWorkOrderFFA.jsp starts-----------
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <html>
    <head>
    <title>Work Order Creation </title>
    <meta http-equiv="PRAGMA" content="NO-CACHE" />
    <meta http-equiv="EXPIRES" content="-1" />
    <SCRIPT LANGUAGE="JavaScript">
    function setfocus(){
    document.generatePO.technicianName.focus();
    function mypopup()
    mywindow = window.open ("totalWODetails.jsp","mywindow","scrollbars=1,width=600,height=500");
    mywindow.moveTo(50,50);
    function DoTheCheck()
              if((document.generatePO.repair.checked != true) && (document.generatePO.replacement.checked != true) &&(document.generatePO.emergency.checked != true))
                             alert('Please select atleast one task type for Work Order');
                             return false;
                             document.generatePO.submit();
              return true;
    function chkvalues(){
    if( document.generatePO.additionalInfo.value == "")
    alert(" Please provide additional information for tasks assigned");
    document.generatePO.additionalInfo.focus();
    return false;
    return true;
    </SCRIPT>
    </head>
    <body bgcolor = "#E9C2A6">
    <br>
    <tr cellspacing="0" cellpadding="0">
    <td width="30%" align=left ><b><h2><font color="#3333CC">  </font></b></h2> </td>
    </tr>
    <!-- <h1 align='center'> Work Order Creation </h1> -->
    <table border="1" cellspacing="0" cellpadding="0" width="80%" align=center>
    <tr bgcolor=#A68064 valign=center > </tr>
    <tr bgcolor=#A68064 valign==center><td valign=center > <h2 align='center'> <font COLOR="#CDCDCD" SIZE=5 FACE="sans-serif"> Field Force Automation - Work Order Creation </font></h2></td></tr>
    <tr><td align=center>
    <table border="0" cellspacing="0" cellpadding="0" width="100%" >
    <form name="generatePO" action="./invokeWorkOrderFFA.jsp" onSubmit="return DoTheCheck()">
    </tr>
    <tr >
    <br>
    <td width="40%" align="right" > <b> <font color="black" SIZE=2 FACE="sans-serif" align="right"> Interface Type: </font> </b>           </td>
    <!-- <td width="2%">:</td><td><input type="text" name="SSN" maxlength=10 size=10></td> -->
    <td width="60%" colspan = "2">
    <SELECT NAME="interfaceType">
    <OPTION VALUE="Batch"> Batch </OPTION>
    <OPTION VALUE="Near Real Time"> Near Real Time </OPTION>
    <OPTION VALUE="Automatic"> Automatic </OPTION>
    </SELECT >   
    </td>
    </tr>
    <tr>
    <td width="40%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    </tr>
    <tr>
    <td width="40%" align=middle><b><font color="black" SIZE=2 FACE="sans-serif" align="right">                Work Order Tasks *  : </font> </b></td>
    <td width="20%"><b>Maintenance</b><br>
         <INPUT TYPE=CHECKBOX NAME="repair" value="repair" >repair<P>
         <INPUT TYPE=CHECKBOX NAME="replacement" value="replacement">replacement<P>
    </td>
    <td width="20%" align=left></td></td>
    </tr>
    </tr>
    <tr> <td width="20%">
    <td width="40%" align=left> <b>Emergency</b><br><INPUT TYPE=CHECKBOX NAME="gasEmergency" value="gasEmergency">Gas Emergency<P>
    </td>
    <td width="20%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    </tr>
    <tr>
    <td width="40%" align=middle><b><font color="black" SIZE=2 FACE="sans-serif" align="right">              Additional Information: </font> </b></td>
    <td width="20%"><TEXTAREA NAME="additionalInfo" COLS=40 ROWS=6></TEXTAREA>
    </td>
         <td width="20%" align=left> 
    </td>
    <td width="20%" align=left> 
    </td>
    </tr>
    </tr>
    <tr bgcolor=#A68064>
    <td width="40%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    </tr>
    <tr bgcolor=#A68064 ><td width="100%" colspan=4 align=center bgcolor=#A68064>  
    <input type="submit" name="submit" value="Submit Order" style="background-color: #E9C2A6;">    
    <input type="reset" name="reset" value="Reset Values" style="background-color: #E9C2A6;" >     
    <input type="button" name="btn" value=" WO Error Report" onClick="javascript: mypopup()" style="background-color:#E9C2A6;" >     
    </td>
    </tr>
    <tr bgcolor=#A68064>
    <td width="40%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    <td width="20%" align=left bgcolor=#A68064> 
    </td>
    </tr>
    <tr bgcolor=#A68064>
    <td width="50%" colspan = "4" align=left bgcolor="#A68064">    <font color="#CDCDCD"> * Indicates Mandatory fields </font>
    </td>
    </tr>
    <tr bgcolor=#A68064> </tr>
    </form>
    </table>
    </td></tr></table>
    </table>
    <br>
    <!-- <marquee> <b>Wipro Technologies</b>, <br> Disclaimer : This is only a prototype model and used only for testing. </marquee> -->
    <script language="JavaScript">
    </Script>
    </body>
    </html>
    -----------------createWorkOrderFFA.jsp ends-------------
    -----------------invokeWorkOrderFFA.jsp starts-----------
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <html>
    <head>
    <title>Invoke WorkOrderService </title>
    </head>
    <body>
    <%
    String interfaceType = request.getParameter("interfaceType");
         String repair = request.getParameter("repair");
              System.out.println("repair repair---------------------->");
         String replacement = request.getParameter("replacement");
    String gasEmergency = request.getParameter("gasEmergency");
    String additionalInfo = request.getParameter("additionalInfo");
         String woType1="Maintenance";
         String woType2="Emergency";
         System.out.println("before xml---------------------->");
    String xml = "<hostWOApplication xmlns=\"http://services.otn.com\">"
              +"<interfaceType>" + interfaceType + "</interfaceType>"
                   +"<Maintenance>"
                   +"<repair>" + repair + "</repair>"
                   +"<replacement>" + replacement + "</replacement>"
                                  +"</Maintenance>"
                   +"<Emergency>"
              + "<gasEmergency>" + gasEmergency + "</gasEmergency>"
                   +"</Emergency>"
                   + "<additionalInfo>" + additionalInfo + "</additionalInfo>"
              + "</hostWOApplication>";
    System.out.println("Payload data ----------------------------------------->"+xml);
    Locator locator = new Locator("default","bpel");
    System.out.println("Before Idelivery service--------------->");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    System.out.println("After IDeliveryService data----------------------->");
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml );
    System.out.println("Before process service--------------->");
    deliveryService.request("A2", "process", nm);
    System.out.println("After process service--------------->");
    out.println( "<b><Font Face=Arial color=red>Work Order has been initiated!</font></b>" );
    %>
         <table bgColor="#E9C2A6" border="1" cellpadding="0">
         <tr ><td width="100%" colspan=4 align=center >
    <b>The Work Order Details could be found at this link:
    <Font Face=Arial color=red><italic>Work Order Creation Details<italic></Font><b>
         </tr>
    </table>
    </body>
    </html>
    -----------------invokeWorkOrderFFA.jsp ends-----------
    I am getting the following error:
    ----------------error desc starts----------------------
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize for the inconvenience. Please open a TAR in http://metalink.oracle.com if you are our customers. Otherwise, you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 2.2
    Build: 1361
    Build time: Thu Mar 17 15:51:23 PST 2005
    Build type: release
    Source tag: BPELPM_10_1_2_beta3_branch
    Exception Message:
    [java.lang.Exception]
    Invalid Login. Domain not specified.
    Exception Trace:
    java.lang.Exception: Invalid Login. Domain not specified.
         at com.collaxa.cube.fe.util.ServletUtils.getLocator(ServletUtils.java:80)
         at displayInstance.jspService(_displayInstance.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:89)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ----------------error desc ends----------------------

    hey mgrovr..
    how to ensure that my jsps are under orabpel. i m getting a javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found exception wile invoking bpel process from jsp. I have created the jsps in Jdeveloper and i'm running it from there only.
    Can u tell me a way to keep me application under orabpel

  • How to stop process chain, if it is taking too much time than expected.

    Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
    Thanks in Advance.
    Harman

    how I can stop the process chain ??
    If the job is running for a long time ,
    1)GOTO RSMO and SM37 and check the long running job over there.
    2)There you can see the status of the job.
    3)If the job is still running you can kill that job
    4)delete the failed request from data target.
    for more details go to this below link
    how to stop process chain if it yellow for long time
    how I can execute it again ?
    GOto Function module  RSPC_API_CHAIN_START
    and give u r process chain name there.and execute.

  • Using CREATE PROCESS and START PROCESS in a JSP

    Hi,
    I have built a simple JSP page. I want to call my workflow program from this page.
    How should I use the CREATE PROCESS() AND START PROCESS() inside the JSP page?
    Also I want to get the value entered in the text field (which will be a hidden field) to be passed to the ITEM_ATTRIBUTE, which I have defined in my program. How can this be achieved?
    Please give me the syntax for this.
    Please find below the JSP page
    =========================================================
    <%@page import= "java.util.Date" %>
    <script language="javascript" src="ibeCButton.js"> </script>
    <html>
    <head>
    <title>First Page</title>
    </head>
    <body>
    <H3>Today is:
    <%= new java.util.Date() %>
    <INPUT TYPE="text" NAME="CART_ID">
    <INPUT TYPE="submit" onclick = >
    </H3>
    </body>
    </html>
    ==========================================================
    To use LAUNCHPROCESS in JSP, the following is the syntax.
    public static boolean launchProcess
    (WFContext wCtx,
    String itemType,
    String itemKey,
    String process,
    String userKey,
    String owner)
    Should WFContext have the connection information of the DB.
    If I pass only the WFContext and itemType attributes are they enough? Please let me know.
    Thanks

    There are two options.
    1. Good one.
    Include wf*.jar files in your system CLASSPATH. Use oracle.apps.fnd.wf.engine.WFEngineAPI class to access engine APIs. You would need to pass WFContext for which you need WFDB.
    You basically created WFDB with username, password and connect string. Pass it to WFContext and use it for all Workflow Engine APIs.
    2. OK one.
    You can get JDBC connection using the default mechanism that your custom Java and JSP code could be using. Call the PLSQL procedures WF_ENGINE.CreateProcess and WF_ENGINE.LaunchProcess over JDBC.
    Anyways option 1 makes life easier.

  • How Can I get rid of a download, it won't stop processing? Even after I have deleted image from videos?

    How do I delete a download as it won't stop processing? I have even deleted the image from videos but it is still in my download saying processing. Help?

    Hi Sanjampet,
    Yes, it was a folder from a website. It was a backup of a website (the website was hacked into at one point if that matters). I kept the backups in a folder on my laptop. I was able to delete the other backups, but this one was giving me an issue for some reason. The other day when I was having this issue and you were trying to help me solve it, it was showing that I only had (about) 158 GB of memory left on my computer, but when I was finally able to delete the folder and all of its content it was showing that I had over 250 GB of memory left. I don't understand how a website's backup folder can be that large :S Was that why I was having so much trouble doing anything with it?
    I could drag the entire folder into the trash can, but if I tried to empty the trash it would just do what was showing in the picture from my original post
    Thank you so much!

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

  • Need to stop processing at portal

    is it possible through workflow to stop processing further from portal and through message at portal itself.
    examepl, wen emp applying leave, wen he doesnt has sufficient balance to apply leave, is it possible to throw error message at portal and block to move furthe through workflow.
    Kindly let me knw
    Regards,
    Venkat

    Hello Venkat !
               If team calendar is configured in ECC , the manager can see how many leave the employee can avail and accordingly  he/she can decide about approvals.If team calender is not configured, ask your EP consultant to do so.
                Lest, create a background task to compute whether the employee have sufficient balance leave days.If no, you can terminate the workflow thus preventing the leave request to be sent to the manager.
              This background task should be the very first step in the workflow.
    Regards,
    S.Suresh

  • Http server start/stop process

    Hi
    I always see below start/stop messages in the D:\app\Oracle\opmn\logs\HTTP_Server~1
    We are not stopping/starting anything. Does it mean that the http server stop/start itself ? Will this affect users ?
    12/06/07 23:18:12 Start process
    12/06/26 10:03:03 Stop process
    12/06/26 10:04:05 Start process
    [Tue Jun 26 10:04:05 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/06/29 11:52:06 Stop process
    12/06/29 11:53:08 Start process
    [Fri Jun 29 11:53:09 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/07/03 08:54:18 Stop process
    12/07/03 08:55:20 Start process
    [Tue Jul 03 08:55:21 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server running...
    12/07/11 23:25:45 Start process
    12/07/14 12:38:15 Stop process
    12/07/14 12:39:17 Start process
    [Sat Jul 14 12:39:17 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/07/18 18:06:11 Stop process
    12/07/18 18:07:13 Start process
    [Wed Jul 18 18:07:13 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/07/25 10:58:29 Stop process
    12/07/25 10:59:31 Start process
    [Wed Jul 25 10:59:32 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/07/25 11:03:02 Stop process
    12/07/25 11:04:04 Start process
    [Wed Jul 25 11:04:05 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    12/07/25 11:06:55 Stop process
    12/07/25 11:07:57 Start process
    [Wed Jul 25 11:07:57 2012] [warn] pid file d:/app/oracle/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    Similar stop/start messages in D:\app\Oracle\opmn\logs\ipm.log
    12/07/25 10:58:27 [4] [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:9136)
    12/07/25 10:58:29 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:9136)
    12/07/25 10:59:29 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:9136)
    12/07/25 10:59:29 [4] [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:9136)
    12/07/25 10:59:31 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:0)
    12/07/25 10:59:32 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672)
    12/07/25 11:01:21 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672) [The connection SSL receive timed out]
    12/07/25 11:02:11 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672) [The connection SSL receive timed out]
    12/07/25 11:03:01 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672) [The connection SSL receive timed out]
    12/07/25 11:03:01 [4] [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672)
    12/07/25 11:03:02 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672)
    12/07/25 11:04:02 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672)
    12/07/25 11:04:02 [4] [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:6672)
    12/07/25 11:04:04 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:0)
    12/07/25 11:04:04 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956)
    12/07/25 11:05:14 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956) [The connection SSL receive timed out]
    12/07/25 11:06:04 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956) [The connection SSL receive timed out]
    12/07/25 11:06:54 [4] [libopmnohs] Process Ping Failed: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956) [The connection SSL receive timed out]
    12/07/25 11:06:54 [4] [libopmnohs] Process Unreachable: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956)
    12/07/25 11:06:54 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956)
    12/07/25 11:07:54 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956)
    12/07/25 11:07:54 [4] [libopmnohs] Forcefully Terminating Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:8956)
    12/07/25 11:07:56 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:0)
    12/07/25 11:07:57 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (1656225949:4644)

    Hi ,
    It seems there is a clash of resources.There are rogue httpd processes left whenever OHS starts/restarts.File httpd.pid contains root httpd process and with the help of scoreboard file its communicated to child httpd processes.
    1.check OPMN LOGS.
    2.shutdown all process (OPMN infact)
    3.pkill or kill -9 httpd
    4.go to $ORACLE_HOME/opmn/logs/states and delete all files.
    5.check no other HTTP server ports are being used by other processes.(restarting the server is better idea !).
    6.CHECK ons.conf IF ANY ENTRIES ARE MISSING / MODIFIED - V IMP
    6.Start OPMN and HTTP Server.
    Edited by: anandk on Jul 25, 2012 10:17 AM
    Edited by: anandk on Jul 25, 2012 10:19 AM
    Edited by: anandk on Jul 25, 2012 10:20 AM

  • MDB,MDB container or JMS adapter stops processing messages from JMS queue

    Hi guys,
    we have created a component using Enterprise Java Beans, let's say a product catalog, deployed it on a Glassfish v2 instance, and connected it to a legacy system using JMS and Sun MQ v4.1 as messaging system. The catalog component thus starts one MDB that listens on a JMS queue, let's say a queue named catalog_business_events_in, and waits for incoming messages, i.e. in our case update events. The problem is, that in general this approach works well, but sometimes the MDBs/JMS adapter stops for some reason fetching and processing messages from the JMS queue. We don't know why - no exceptions, etc.. Seems to be a Glassfish EJB container, JMS adapter or Sun MQ configuration issue. It seems to be that our component is not the problem.
    The messages are compressed/uncompressed by Sun MQ automatically. We actually have 2 Sun MQ instances in clustered mode running to have some kind of failover - no HA cluster, yet. Sun MQ instances are accessed from Glassfish instances running in different Glassfish clusters - so we have a dedicated Sun MQ cluster not a Sun MQ instance per Glassfish instance. Each Glassfish instance is configured such that it knows both Sun MQ instances to allow automatic failover.
    Has someone an idea, why the MDBs/ MDB container/ JMS adapter - stops processing messages? We are kind of puzzled as it happens more often now and apparently when traffic is (very) low not high!
    Thanks for your help.
    Cheers,
    Martin
    Edited by: east1979 on Jan 13, 2009 8:06 AM

    Hi Manoj,
    I have a very similar if not identical issue,
    Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
    15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
    TION TO CONTINUE.
    15/11/12 09:10:15  Communication Error. See real time job log for details.
    Dump available:
    https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
    Version of DS:14.0.3.273
    Any comments?
    Thansk and kind Regards,
    Kenneth

  • What should be the normal behavior when calling a retired/stopped process?

    Dear all,
    I thought that when one of my asynchronous BPEL process would call another asynchronous BPEL process that is retired or stopped(with no other version number active), I would receive any kind of error. So I tried it, and instead of receiving an error, the first BPEL process sent his message and received the ack without any errors (that is in both cases, retired or stopped). So I checked if the message was put in the thread queue or any other kind of queue and no it wasn't. I tried to reactivate the second process, and nothing happened. So I guess the message had been lost. Is this the normal behavior??
    Since we are implementing asynchronous processes to do a "fire and forget" type of system, we would have liked to receive some kind of error so we know that no instance had been instanciated and that the message had not really been delivered?
    Can anyone tell me where I'm wrong. Is there a chapter talking about that in any document. If anyone has read about that I'd like to know where so I can understand the way it works!
    Thank you!

    Thanks for your prompt reply,
    I'm sorry but I'm not sure I understand the onError callback thing,
    If we consider my called asynchronous process was a one-way process (no callbacks),
    Correct me if I'm wrong but:
    -This means I would have to define a callback in the called process (that onError callback).
    -Then, I gotta put a receive or a pick activity, which means I need to wait for an error answer, which is not wanted.
    -And, would a retired or stopped process really answer me and throw me an error?!?! I'm not sure since its stopped... So i would probably wait forever I guess.
    I'm just trying to find a way to make sure the message has been taken in charge by the next process and if not, to be alerted!
    Thanks for helping a beginner like me!
    Btw I've read that post:
    Re: How to throw a Fault from an asynchronous process to another process
    It helps understanding the fault handling in asynch processes, but my problem is more about the fact that my async process is stopped/retired!

  • Form_trigger_failure not stopping processing in wvi trig

    Hey guys,
    I'm using form 6i. I am calling a forms procedure from the when validate item trigger. If some condition is met in the procedure, I raise form_trigger_failure. The problem is this.
    I change a value in the field. I then hit the a save button. This fires the wvi trigger on the modified item. The procedure is called and the raise_form_trigger_failure is executed. Then the code in the wbp is executing.
    My question is how do I stop processing at the point where the raise_form_trigger_Failure is hit? Any work arounds or ideas would be greatly appreciated. Thanks.

    > when you raise form trigger failure that it would stop all form processing
    That is NOT correct! When you issue a command that causes other triggers to run, rather than calling the code through a pl/sql procedure or function call, your process does NOT stop if those triggers fail! This is a very critical point. The only way you can determine if any of those triggers encountered a problem is to immediately check IF NOT FORM_SUCCESS then...
    Yes, there are other actions the user could take, and it is your job to test each and every one of them to make sure the errors raised by a WVI trigger failure is handled properly. But you are asking about one particular action, and the solution I suggested will ensure the WVI runs, and its result is tested BEFORE any other action is attempted within your WBP trigger.

  • Stop processing the duplicate record values

    Hi Experts,
       I have a requirement that i need do not process the duplicate values from the file place in FTP.
    Scenerio is File->PI->RFC.
    For ex:
    Source Data:
          Name,Emp_id,DOB,Designation,Location,Joining_Date,Time_Stamp
          Moni,654654,11-09-1980,Developer,TN,20-02-2008,24-03-2014:3.38pm
          Shiva,654612,21-02-1982,Developer,TN,15-08-2009,24-03-2014:3.38pm
          Venkat,654655,19-01-1983,Developer,TN,28-10-2010,24-03-2014:3.38pm
          Moni,654654,11-09-1980,Developer,TN,20-02-2008,24-03-2014:9.38pm
    If next time the same record comes like Moni,654654,11-09-1980,Developer,TN,20-02-2008,24-03-2014:9.38pm,no need to process this record values.
    How to stop processing the duplicate record.Kindly share some ideas to achieve this requirement by using PI 7.1.
    Best Regards,
    Monikandan.

    Hi ,
    Here is one of the clean sol:
    1)Using FCC read record by record by giving end separator as newline in FCC.
    Reading a delimeter separated file whose columns may jumble
    2)Use two mapping in one operation mapping .
    1st Mapping :
    Sourcefield()-->sort(ascending)-->splitbyvalue(valuechange)-->eachvalue-->collapsecontext-->udf-->
    splitbyvalue(eachvalue)-->map to all target fields
    Keep context of source field to top node to come all values in single array
    for(int i=0;i<input.length;i++){
    String temp[] = input[i].split(",");
    if(temp.length == 7)
    Name.addValue(temp[0]) ;
    Emp_id.addValue(temp[1]) ;
    DOB.addValue(temp[2]) ;
    Designation.addValue(temp[3]) ;
    Location.addValue(temp[4]) ;
    Joining_Date.addValue(temp[5]) ;
    Time_Stamp.addValue(temp[6]) ;
    else{throw new  StreamTransformationException("field missing in col "+i)}// up to you
    Mapping 2:Actual file structure to RFC
    Regards
    Venkat

Maybe you are looking for