Launching a exe as a WindowsXP user process using JSP

Hi,
I am trying to launch notepad.exe from a JSP. Whenever I deploy(tomcat 6.1) this JSP from an IDE, the process launched as a user process. but When I do the same from outside(no IDE and on tomcat 4.1), the process get launched as system process and never gets launched. the following is my code snippet that I use in my JSP.
try {               
Process process = Runtime.getRuntime().exec("C:\\WINDOWS\\NOTEPAD.exe");
          out.write("Launched...");
catch (IOException e) {          
               e.printStackTrace();
any ideas... ??

Thanks for the reply,
I want it launched on the client side... YES. Using a applet or a web start... I am bit worried about the user experience... Notepad is the application, I want to launch... as a User Process(windows task manager)... as the priority for this type of process is higher than the System Process(decided by the OS based on its native scheduling policy and the available system resources)...

Similar Messages

  • What is the best way to display errors to users when using JSPs?

              Hello,
              Could someone suggest me the best way to display errors to users when using JSPs?
              Many thanks in advance.
              Rino
              

              Thanks for the code snippet!
              Rino
              "Deepak Vohra" <[email protected]> wrote:
              >
              >
              >The 'errorPage' attribute of the 'page' directive forwards uncaught run-time
              >exceptions
              >to an error processing page. For example:
              >
              ><%@ page errorPage="error.jsp" %>
              >
              >redirects the browser to the JSP page error.jsp if an uncaught exception
              >is encountered.
              >
              >
              >Within error.jsp, indicate that it is an error-processing page, via the
              >directive:
              >
              >
              >
              ><%@ page isErrorPage="true" %>
              >
              >The Throwable object describing the exception may be accessed within
              >the error
              >page via the 'exception' implicit object.
              >
              >
              ><% if (exception != null) { %>
              ><p> An exception was thrown: <b> <%= exception %>
              >
              ><p> With the following stack trace:
              ><pre>
              >
              ><%
              > ByteArrayOutputStream ostr = new ByteArrayOutputStream();
              > exception.printStackTrace(new PrintStream(ostr));
              > out.print(ostr);
              >%>
              ></pre>
              >
              >
              >
              >"Rino Srivastava" <[email protected]> wrote:
              >>
              >>Hello,
              >>
              >>Could someone suggest me the best way to display errors to users when
              >>using JSPs?
              >>
              >>Many thanks in advance.
              >>
              >>Rino
              >
              

  • Invoking BPEL process using JSP.

    HI,
    I m trying to invoke my BPEL process using JSP. When tried to invoke, Webpage doesnt display any message.
    This is the error, I could collect from log file:
    <PAYLOAD>
    <MSG_TEXT>ServletException cause</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:104)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at _InvokeDemo__BPEL._jspService(_InvokeDemo__BPEL.java:85)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:116)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         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)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:451)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:125)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         ... 46 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    My BPEL process is a simple process, to get the value from receiver and pass to ouput.
    Could someone tell me how to resolve this error....
    Thanks in Advance
    Ajay

    I am having a similar issue while invoking webservice in ODI I am getting following error. Let me how did you resolve your issue.
    com.sunopsis.wsinvocation.SnpsWSInvocationException: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
         at org.apache.crimson.parser.Parser2.parse(Unknown Source)
         at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         ... 8 more
    Caused by:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
         at org.apache.crimson.parser.Parser2.parse(Unknown Source)
         at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)
         {http://xml.apache.org/axis/}hostname:sullah-us
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.content(Unknown Source)
         at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
         at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
         at org.apache.crimson.parser.Parser2.parse(Unknown Source)
         at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)

  • How to Call Custom BPEL Process using JSP

    Hi All,
    I m not able to find out the way " How to deploy Custom BPEL process using JSP." Suppose I m Designing my custom BPEL process , and I want to call process through JSP.
    In order to call the BPEL process using JSP I may get the Reference from Oracle guide, But it is for Existing Example like Hello world, Order Booking.
    But I am facing the problem in order to call the Custom BPEL process.
    In case of Oracle Example it looks Simple but How to call Custom BPEL process using JSP.
    Please help me.
    Thanks&Regards
    Devesh Mishra

    hi
    The BPEL Developer guide give the way to Locate the service.can you please specify where you are getting the problem.
    Thanks,
    Sivakumar

  • How to Upload a File in Bpel Process using JSP

    I am trying to upload file in bpel process using front end as a Jsp.
    i create the jsp page and i am able to pass the value from jsp to bpel process.
    In bpel process i don't know how to pass or assign the specified file name into file adapter for reading the files.
    Please help me...
    Saravanan

    You don't assign the url of the file to it.
    To either get the data from the file into the bpel process you could use the url-parameter together with the ora:readFile function....or you could let your web-application upload the file to some location on the server...and on this location you could use the file-adapter together with the polling, to start your bpel process.

  • Saving a file to users desktop using JSP

    Hi,
    I wrote a JSP program,which gets data from Database and displays in XML/HTML format on the browser.It is working fine.Now,I want to give an option to the user to save that HTML format to his Desktop.So that he view it Offline(I know it sounds stupid...),the information.
    I tried using
    File outputFile=new File("temp.html");
    //Some more statements to write into File
    in my JSP file,but I couldnt see where "temp.html" is it getting saved.(Iam working on CLient machine).
    Any useful information wii be Apperaciated...
    thanks
    Rao

    I think you will get what you are looking for by setting the contentType and header info at the top of your jsp.
    <%@page contentType="application/save; charset=iso-8859-1" language="java" import="(your classes)"%>
    <%
    // set the filename for download
    response.setHeader ("Content-Disposition","attachment;filename=your_file.txt");
    %>
    Text text text

  • Launch an exe appl

    hi, i am trying to launch a .exe application that is installed on my web server. i am in a windows 2000 environment using iPlanet web server. when the user selects a link to the jsp, i want the jsp to run the application within the browser window. but my code is does not cause the exe to run. can any body help? here is my code:
    <body>
    <%@page import="java.util.*" %>
    <%@page import="java.net.*" %>
    <%@page import="java.sql.*" %>
    <%@page import="java.awt.*" %>
    <%@page import="java.io.*" %>
    <%
    Runtime rt = Runtime.getRuntime();
    Process pr=rt.exec("cmd /c start d:/iPlanet/Server/docs/PCP/lv40.exe");
    %>
    call PPC jsp page
    </body>

    Can you see any exception or just rt.exec hangs ?
    If it hangs you shoud take care to clear new process buffers. I had similar problem when batch file text was overfilling buffer and then process stopped waiting for buffer to be read.
    im doing it this way: not very clever :)
    1. Creating interna thread class:
        private class IgnoreThread extends Thread {
            InputStream in = null;
            public IgnoreThread(InputStream in){
                this.in = in;
            public void run(){
                try{
                    while(in.read()>0)
                catch(Exception e){}
        }and then:
                Process cmd = rt.exec(cmdstr);
                InputStream stdin = cmd.getInputStream();
                InputStream stderr = cmd.getErrorStream();
                (new IgnoreThread(stdin)).start();
                (new IgnoreThread(stderr)).start();
                // int retCode = cmd.waitFor();    of course you can skip cmd.waitFor() if you are not going to wait for process to finish.

  • How to close Acrobat.exe from the task manager processes through plug-in?

    I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click custom menu say 'Close Key' then annot remains visible on the PDF.
    My problem is if in such a case i.e. the user has defined a key & if the user does not hit 'Close Key' and instead closes Acrobat by directly hitting close (i.e. [X] button at top right corner), then Acrobat exits; but the Acrobat.exe remains running in the Processes.
    If the user tries to open the same PDF again then a message pops up saying 'Cannot open file for viewing as its already in use...'.
    Note that any other PDF gets opened fine.
    Could somebody help me in giving me any ideas/suggestions on this? I want to exit the acrobat.exe from the processes so that the same PDF could get opened. As described above, the cause is the key (annot) was opened and user abrubtly exited Acrobat. Is there a way, that we could catch this Acrobat exit event in the plug-in? That way, I'd be able to clear off the annot (key) and then close acrobat.
    Please let me know asap.

    Hey, tnx for ur response! But, the issue is reproducible on Acrobat 7.0 Professional.
    I do have the 'WillClose' event registered in my plug-in. Below is the event that is wired up with 'WillClose' event:-
    static 
    ACCB1 void ACCB2 NotifyAVWillClose (AVDoc doc, void *clientData){
    UNREFERENCED_PARAMETER(clientData);
    UNREFERENCED_PARAMETER(doc);
    CloseTemplate(TRUE);
    The 'CloseTemplate' method performs the closing of the annotation, clearing of objects and deleting the PDFfile class pointer.
    And this all works fine with Acrobat.exe getting closed from the task manager processes in acrobat versions 8 & 9. However, in Acrobat 7.0, the process remains in the Task Manager.
    Could you suggest any ideas on what else needs to be implemented to end the process in Acrobat 7?
    Thanks!

  • DB connect problem,Disp+Work.exe dies and the work processes die on startup

    Dear Experts,
    I am getting the error on SAP startup,Disp+Work.exe dies and the work processes die on startup.
    I found below error in my DEV_W0 trace as below
    *failed to establish conn to np:(local).*
    *C  Retrying without protocol specifier: (local)*
    *C  Provider SQLNCLI could not be initialized. See note #734034 for more information.*
    *C  Using provider SQLOLEDB instead.*
    *C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']*
    *C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.*
    *C  Procname: [ExecuteAndFlush - no proc]*
    But i could see the user 'pec' is availble in my database users list  with db_owner , public permissions also been assigned to it.
    However When trying to delete a user on SQL server 2000, we recieve the message "You cannot drop the selected login ID because that login ID owns objects in one or more databases.".
    Please refer the below work process trace and please suggest the possible solution..
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sat Feb 14 15:10:21 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.195)
    B  New connection 0 created
    M sysno      00
    M sid        PEC
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    196
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        3844
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3844) [dpxxdisp.c   1162]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          21120     (1320)
    M  DpShMCreate: sizeof(tm_adm)          29558776     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          1160000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (384056/329560/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 07800040, size: 31492672)
    M  DpShMCreate: allocated sys_adm at 07800040
    M  DpShMCreate: allocated wp_adm at 07801B88
    M  DpShMCreate: allocated tm_adm_list at 07806E08
    M  DpShMCreate: allocated tm_adm at 07806E30
    M  DpShMCreate: allocated wp_ca_adm at 09437628
    M  DpShMCreate: allocated appc_ca_adm at 0943D3E8
    M  DpShMCreate: allocated comm_adm_list at 0943F328
    M  DpShMCreate: allocated comm_adm at 0943F340
    M  DpShMCreate: allocated vmc_adm_list at 0955A680
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0955A6A8
    M  DpShMCreate: allocated wall_adm at 0955A6B0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Sat Feb 14 15:10:22 2009
    M  calling db_connect ...
    C  Thread ID:3868
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      195
    C    patchcomment DBCON: database names must not start with digits (1078650)
    C  np:(local) connection used on CAMBSVR15
    C  CopyLocalParameters: dbuser is 'pec'

    C Sat Feb 14 15:10:23 2009
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.

    C Sat Feb 14 15:10:26 2009
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1280]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9621]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server cambsvr15_PEC_00 on host cambsvr15 (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sat Feb 14 15:10:26 2009
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9806
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3844) [dpnttool.c   357]
    I would greatly appriciate your quick response, Since it is a production issue.
    Many Thanks,
    Vinod

    Hi Rohit and Subhadip,
    My problem was solved, thanks for your effort.
    reason is that, user 'pec' not been associated with login user for the SQL server.
    subha : when i execute the first command which you suggested, but couldn't find any user's list.
    so i didn't  tried with the second command. just to give a final try i have executed the script like below and its worked out.
    USE PEC
    GO
    EXEC sp_change_users_login 'update_one','pec','pec'
    GO
    Now i see that all work process are starting,,,thank you so much rohit and subhadip
    I could have try this first ,when you guys suggested since i couldn't find any output with the first command i didn't proceed with second one.
    Since deleting and creating method doesn't seems to be a good, i have just to give a try executed the second command and its worked.
    Thanks for your time and patience
    Many Thanks,
    Vinod

  • How to find out which user processed an action at runtime?

    Hi all,
    Is there any way to find out the user who processed an action at runtime? Is there a predifined CA for this or should I do a bit of development?
    I need this information in the next action after that.
    Thanks!

    what you mean by group of users.....
    whether all the users are using the same user name ?
    if it is not like that we can get the user name of the current logged in user .
    using the following code.
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    with regards
    shanto aloor

  • Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online   Right now there is no app store for

    Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online
    Right now there is no app store for Filemaker Go.   Filemaker Forgot about us.
    So I want to create a simple native iPhone App that all it does
    is launch
    fmp://~/filename.fmp12?$VariableName=value
    This URL will launch the Filemaker Go App
    Filemaker Go is a app that the user will have to have
    downloaded already on the device..
    The Simple Native app will launch the Filemaker Go.
    The fmp  URL has the information where the Filemaker Pro database is hosted
    and get  the user where they need to be..
    Help Me please
    iPhone 5s, iOS 8.1.3

    That would be software. And, you said "upload." That's "uploading software." Why do you question what you stated?
    I don't know where you even want to upload this software. The only way it can be downloaded to a device is through the iTunes store. Do you even know what you want to do?

  • Firefox Silent updater will not work unless I launch Firefox.exe one time with Admin rights

    I am building a Firefox 17.0.4 ESR package to use for my Enterprise. Everything is working great except for the updater piece. I am using the configuration.ini file during the install with the command MaintenanceService=true turned on, and a mozilla.cfg file with updates enabled, pref("app.update.enabled", true). I am running the install both manually, and through SCCM with Admin rights, including the maintenance service. After the install runs, I open Firefox as a limited user and go to Help->About, and it says Updates are available at www.firefox.com, and that the browser is set to the ESR release channel.
    In all my troubleshooting, the only 2 sure ways I have found that make the auto updates work for a user were to run firefox.exe as an admin 1 time, or to install the base esr package as an admin after my install package. That will fix it for the logged in user only, but another user would run into the same issue. It appears that something is not installing correctly, but I cannot determine the cause.
    My install command is:
    Firefox Setup 17.0.3esr.exe /INI=%INST%\Configuration.ini

    In my organization, we have removed Admin rights from all users, but use a product that can elevate any .exe with create a policy for to run with Admin rights. We have a policy set for updater.exe and it does work for future updates, just not this first update after install until Firefox itself is run as Admin for the first time. My thought is that when Firefox and the Maintenance service are installed with Admin rights through SCCM, the maintenance service should have inherited rights from that install. Forgive me if I am wrong in my conclusion.

  • What's the semantic of "max user processes" (ulimit)

    Hello everyone,
    I don't understand the behaviour of ulimit, have a look at this shell dump:
    $ ps hax | wc -l
    120
    $ ps h -u myUsername | wc -l
    35
    $ ulimit -Su 78
    $ ps h -u myUsername | wc -l
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: Resource temporarily unavailable
    $ ulimit -Su 80
    $ ps h -u myUsername | wc -l
    35
    $
    If I am currently running 35 processes, one would assume that >35 more should be sufficient to start two more processes - but obviously it isn't.
    In this case, I needed at least "ulimit -Su 80" to start ps and wc.
    If I set the "max user processes" limit to 79, the first four error messages change from "bash: fork: retry: No child processes" to "bash: fork: retry: Resource temporarily unavailable"
    Can somebody explain this bevahiour to me, please? Why am I not allowed to create new processes, although the limits should be sufficient?

    Apologies for the necro-bump but I hope this will help others.
    ulimit -u does not give you the max number of processes rather it displays the max number of threads.  To list the number of threads a user is currently using:
    ps -L -u myusername | wc -l
    The output from the above two commands can now be compared and allow you to set the appropriate ulimit.

  • How to increas the max user process number in Solaris 11?

    Hey
    Could anyone told me how to increas the max user process number in Solaris 11? I tried below as described in https://blogs.oracle.com/hasham/entry/solaris_10_increasing_number_of , but it cannot work.
    set pidmax=60000
    set maxusers = 4096
    set maxuprc = 50000
    set max_nprocs = 50000
    Thanks!
    Edited by: 966272 on Oct 18, 2012 7:38 AM

    Perhaps you should work your original forum post:
    Oracle 11g installation fail on Solaris 11 64bit - ORA-00443
    through to a resolution before you complicate things that likely don't apply.
    You make an assumption in that other post about exceeding various maximums. That may be true or it may not be true. Since the installation of a database program seems to be your actual expectation, go work that forum thread instead.

  • Question about 'user process' in the context of Oracle

    The following is an except from oracle documentation.
    Overview of User Processes
    When a user runs an application program (such as a Pro*C program) or an Oracle tool (such as
    Enterprise Manager or SQL*Plus), Oracle creates a user process to run the user's application.http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm
    As my understand, an user process is a piece of software that can connect to an oracle server. You (the user) can start a piece of this kind of software, then connect to oracle. If so, why Oracle creates a user process to run the user's application?
    Thanks.
    Edited by: Yang Shuai on Jul 6, 2011 10:20 AM

    Hi. I would suggest reading the 11.2 Concepts manual: it is much improved:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/process.htm
    This text is trying to say that the application starts a client process that can connect to the database. The database manages server processes and background processes; the application runs the client process.

Maybe you are looking for

  • Displaying a data error when NOT in use...

    So the phone is in my pocket and as I'm listening to some MP3s this error pops up. It happens randomly and usually when the phone is in my pocket. So if I'm in a meeting and it vibrates... I'm inclined to pick it up and see if it's a text or somethin

  • XL Reporter - "invalid property value"

    SAP 2005A SP1 PL43 W2k3 SQL 2005 .NET Framework 2.0 Citrix PS 4.0 MS Office 2003 When I run XL Reporter, I get this: XL Reporter An error occurred while Executing report! Invalid Property value. Thanks to Apple Liu, I did this: 1) Make sure XLR is un

  • Setting menu duration

    Hi I'm trying to set my loop duration in iDVD 8 to a precise value in seconds, but it like the slider jumps between specifics random value depending on the selected audio track. I don't seem to be able to set it at a specific wanted value, eg. 30 sec

  • Do I have a virus?  My windows PC friends cannot open attachments from my Mac.

    I'm runing OSX 10.7.4 on an iMac  and a Macbbok pro -- both late 2009 vintage.  People cannot open my attachments.  When I send an email attachment to an email from from Mail 5.2(1278) people using PCs are able to open the emails, but unable to open

  • Rotate Page Tool or Artboards?

    Howdy Does Illustrator CS5 have the ability to Rotate the page tool or artboards? I have a large design that I also print out individual pieces at 100% scale. Some times the pieces will not fit on a single piece of paper in landscape or portrait. If