How can one process "ask" if another process is running?

Hi there,
This is a very general question: how can one process "ask" if another process is running?
In other words, what 2 process share together.
Thanks for any help.

This code will print all active Threads.
Look at at the API docs for further information.
ThreadGroup tg=Thread.currentThread().getThreadGroup();
        while(tg.getParent() != null)
            tg=tg.getParent();
        tg.list();

Similar Messages

  • How can one servlet (ActionServlet) effect another servlet (AxisServlet)...

    Recent issue is driving me batty. Suddenly started receiving exceptions in app server logs (tomcat a la jboss)...
    Servlet.service() for servlet AxisServlet threw exception
    java.lang.IllegalStateException
    org.apache.catalina.connector.ResponseFacade.setBufferSize(ResponseFacade.java:220)
    org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:610)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    After many many hours of research, appears that I get this exception if a specific struts action (one of several) executes at the same time as a SOAP call to the AxisServlet. It ends up causing the return of an empty dataset to the calling SOAP client (and giving me a bad headache to boot).
    Weird.
    The actions that appear to cause this aren't special in any way (not any different than other actions in my application), but I am obviously missing something. I have a suspicion that the struts actions that cause this are all chained events (one action calls another which leads to a JSP....but can't completely confirm).
    Any thoughts? How can the activities of one servlet effect another such as this? Yes...they are in the same war/ear......and they probably share some common classes.....
    For the record...Jboss 4./tomcat 5.5 Struts 1.3X and Axis 1.2 (although have tried 1.4...same results). Java 1.5 on FreeBSD 6.0.
    Any help would be appreciated.

    If the other servlet is in a web-app in the same container, you can use RequestDispatcher, if not you would have to use a URLConnection.

  • How can I process a Sony A7 RAW file into Photoshop CS5.

    How can I process a Sony A7 RAW file into Photoshop CS5.  I tried the file DNG converter 8.3, but it did not work.  I was able to download it, but upon reading the memory chip from Photoshop CS5, it reads the jpg files fine, but not the RAW files.  I thought the DNG converter 8.3 was the right file, but apparently it is not.  Perhaps I need to do something in Photoshop CS5 to initiate it, or place it in a particular directory.. Please help.

    First of all, you should have used the Adobe DNG Converter 8.6, not an old, obsolete version.  Always use the very latest version.  8.3 was simply the first ACR version to support your camera model, that's all.
    Note that the DNG Converter works only on folders, not on individual raw files.  Put all your Sony raw files in a folder and run the Converter on that folder containing the raw files.
    I have absolutely no clue as to what on Earth you mean by : "upon reading the memory chip from Photoshop CS5".
    You also need to make sure that CS5 is fully updated.  You cannot rely on the highly and notoriously unreliable Adobe auto updater to tell whether you have the latest update installed or not.
    I still have no idea what platform you are on, Mac or Windows. Please read the following for next time:
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them, etc.,
    someone may be able to help you (not necessarily this poster).
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How can I process Raw Images taken with a Nikon D7000 in PS4  Extended?

    How can I process Raw Images taken with a Nikon D7000 in PSE Extended?

    Hi there
    Unfortunately, CS4 does not support the Nikon D7000. You'll have to download the Adobe DNG converter (links below) to process RAW files from your camera.
    DNG converter 6.3 - Mac
    DNG converter 6.3 - Windows
    Here are some answers to similar questions asked over in the Photoshop General discussion:
    If you need further information on this topic, please feel free to post in the Photoshop General Discussion or in the Camera Raw forum.
    Camera Raw | Supported cameras
    Camera Raw | compatible applications
    Cheers,
    Kendall

  • How can I  process raw files from lumix GH4 on photoshop elements 12?

    How can I  process raw files from lumix GH4 on photoshop elements 12?

    Your files should open in photoshop elements 12, since there is only one version of camera raw 8.5
    (RC means a release candidate of 8.5, which came before the final version of camera raw 8.5 and was for testing)
    In the pse 12 editor if you go to File>Open and select one of the lumix GH4 and then press Open, what happens?
    In the pse 12 editor, if you go to Photoshop Elements>About Plug-in and click on the words Camera Raw, what version does it say?

  • How can i import contacts from another AIM account to this new one

    If you reference my last ichat question, you will see that I have had serious problems and had to create a new account.
    How can I import contacts from another AIM account to this new one??

    Hi,
    Use AIM for Mac and use the Export and Import features.
    Other than that it is a question on making sure every Single Buddy has more than just their Screen name in the IChat Address Card so it is added to the Address Book and dragging them back from there
    9:08 PM Thursday; February 7, 2008

  • How can we process the CRM Order again for second time in debugging mode

    Hi,
    Can anybody please tell me how can we process the CRM ORDER for second time.  that I want to process in debugging mode.
    Thanks,
    bsv

    Hi bsv,
    Are you trying to reprocess a BDOC for debugging purpose?
    If the BDOC is not with a final status, you will be able to reprocess it using the reprocess button in the smw01 search result list.
    And you may put /h on the popup when you click on the 'reprocess' button.
    If it is allowed to make some changes in the CRM ORDER for testin purpose, it would be easier to perform debugging.
    A more 'careless' way is to deactivate the outbound or inbound queue in transaction smqs or smqr, then in smq1 or smq2 to locate the interested queue, and click on button 'debug LUW'.
    Hongyan

  • APO DP release( PIR) sent to snp, how can i process snp hueristic.

    Hi scm gurus,
    APO DP release( PIR) sent to snp, how can i process snp hueristic.
    for Ex:APO DP starting MPOS-SBP-PA-PB-UFP-IDP like this.
    In APO SNP hueristic what is the process, can u explain me.
    Thx,
    PRASAD

    Hi scm gurus,
    APO DP release( PIR) sent to snp, how can i process snp hueristic.
    for Ex:APO DP starting MPOS-SBP-PA-PB-UFP-IDP like this.
    In APO SNP hueristic what is the process, can u explain me.
    Thx,
    PRASAD

  • How can I process raw files in Aperture from a Sony RX1?

    How can I process raw files in Aperture from my Sony RX1?

    Here is a list of supported cameras
    <http://www.apple.com/aperture/specs/raw.html>
    Your Sony RX1 is not listed. Your best bet would be to use the software, that came with your camera to convert the raw files to tiff and to import the tiff to Aperture. Or to shoot raw+jpeg and to import the pairs and to work with the jpeg versions as original master files, until Aperture supports your camera.
    Regards
    Léonie

  • How can I process pics in Lightroom that  have uploaded from my IPad?

    How can I process pics in Lightroom that I have uploaded from my IPad? I have managed to copy pics from the IPad into a file located in My Lightroom Pictures (and located on an external Hard Drive), which is where I put all my pictures. I an see the file in Finder and can even work with them as a Project in IPhoto, but nothing happens in Lightroom.

    Hi johnhb2,
    To import photos from your iPad into your Windows computer, I would suggest that you use the steps in this article -
    iOS: Import personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/HT4083
    Note that by default the pictures are placed in the “My Pictures” folder. Once imported you can see your photos there and use whatever application you want to view or manage them.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Computer fails to boot up after password change. After new password keyed in, computer also asked for old password. But even when old password supplied, computer just freezes and fails to boot up. What is causing the problem and how can one solve it?

    Changed password on MacBook Pro recently. But after password change. Computer ask for old password, thereafter. Even when correctly supplying the old password. Computer system does not boot up and just freezes. What is causing the problem and how can one resolve the issue?

    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse pointer to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • I have purchased an ex-corporate ipad air. it has come locked to the previous users ID. The purchase is from a reputable auctioneer of which receipts can be produced. How can i process the unlocking/deactivation of the previous apple ID.

    I have purchased an ex-corporate ipad air. it has come locked to the previous users ID. The purchase is from a reputable auctioneer of which receipts can be produced. How can i process the unlocking/deactivation of the previous apple ID.

    Unfortunately the situation as we understand it is that Apple will unlock phones locked by the original owner if they themselves provide proof of purchase. They will not unlock it at all for a subsequent owner who has bought it second-hand, however legitimately.
    The auction house have sold you an item which is not working as described and your argument is with them. They must take it back and refund your money. If as you imply the previous owner is absolutely not available then this phone is permanently unusable and there is no way whatever round that.

  • Imac frozen at blue screen after i went into disk utilities and cleaned my free space. I tried holding down T key as it reboots and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen

    Imac frozen at blue screen after i went into disk utilities and cleaned  free space.
    I tried holding down T key as it reboots
    and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen?
    to make matters worse we bought the IMAC of amazon uk on the 4/07/011 so what can we do?
    please remember how frustrating it is when asking for help when the helper telling you to type something on the screen when its frozen
    Tell us when you can type some instuctions to the software how do you get to the doss prompt so to speak to do this
    Thanks

    i tried all this thanks
    i can not get past blue screen and message Your disk is full it needs to be emptied Please not I cant proceed past this message.
    no matter what you tell me
    Am i right ok in thinking that
    when i went into disk utilities and chose to clean my free space i left it over one hour to do its stuff
    i came back and there was no progress bar just the box so i quit the program and when i opened  mac mail the system just froze  i forced quit mail rebooted and blue screen death
    Now when free space is being cleaned is it the same as windows dose the utility write lots of 0 on the hard drive then rebbot its self to free the space
    basicly is my hard drive full of 00000  is this why im getting this message  because the process was interupted
    I need to know if i need outside help i bought the computer on line on  amazon uk  what dose one do next

  • How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?

    How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?
    Reason I ask is I keep getting this error:
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    Note: I am using <bpelx:exec> as a way to execute some java program.
    Essentially my java client (essentially an EJB client hosted on Oc4J) needs access to wlclient.jar since it needs access to weblogic.jndi.WLInitialContextFactory. I have a EJB client running on BPEL server hosted on Oc4J that needs to access some EJBs hosted on weblogic.
    Where do I place this wlclient.jar so that BPEL PM can start peacefully and at runtime discover the InitialContextFactory classes?
    Placing it in the j2ee/home/applib doesn't solve the problem. The server fails to start up if I do this
    I tried placing it in BPEL-INF\lib directory ...
    I still get the same exception...see below for exception dump
    I verified the BPEL suitcase, and it in fact does contain the jar file wlclient.jar
    integration\orabpel\domains\default\deploy contains the bpel_BPELProcess2_1.0.jar file and snapshot of that is as follows:
    <PRE>
    &#9474; bpel.xml
    &#9474; BPELProcess2.bpel
    &#9474; BPELProcess2.jpr
    &#9474; BPELProcess2.wsdl
    &#9474; bpel_BPELProcess2_1.0.jar
    &#9474; build.xml
    &#9474; buildxml.copy
    &#9474; graphics.xml
    &#9474;
    &#9500;&#9472;&#9472;&#9472;BPEL-INF
    &#9474; &#9492;&#9472;&#9472;&#9472;lib
    &#9474; myEJB.jar
    &#9474; wlclient.jar
    &#9474;
    &#9500;&#9472;&#9472;&#9472;META-INF
    &#9474; MANIFEST.MF
    &#9474;
    &#9492;&#9472;&#9472;&#9472;output
    bpel_BPELProcess2_1.0.jar
    </PRE>
    I tried using the BPEL-INF\jar directory...Is this something the obant automatically detects? or do I have to modify the build.xml? I created this directory and let Jdev deploy to local BPEL server->default domain handle it
    #####################3
    I even tried copying the wlclient.jar to
    integration\orabpel\system\classes but this doesn't help since the BPEL PM fails to start if I explode this jar into this directory.
    In short,where do I place the wlclient.jar so that this exception can be contained.
    I edited the build.xml to point to the jar, that too didn't work, unless I made some mistake in the file
    <bpelc classpath="${basedir}/BPEL-INF/classes;${home}/system/classes;${home}/lib/j2ee_1.3.01.jar;${basedir}/BPEL-INF/jar/wlclient.jar" input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    DETAILS on ERROR
    I get the following error
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-14 09:17:55,770> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/14 09:18:36 weblogic.jndi.WLInitialContextFactory
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/14 09:18:36 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/14 09:18:36 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/14 09:18:36 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/14 09:18:36 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/14 09:18:36 at com.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:37)
    ##################3
    with the bpelx all I have is two lines of code that creates a java object and calls a method on it.
    The method does this:
        private String initialContextFactory = "weblogic.jndi.WLInitialContextFactory";
        private String providerUrl = "t3://localhost:7001";
        private String urlPkgPrefixes = "";
        private String mapEjbJndiName = "ejb/mycompany/Redlands";
        public String getDefaultMapName() {
          try {
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
              env.put(Context.PROVIDER_URL, getProviderUrl());
              if (getUrlPkgPrefixes() != null && !getUrlPkgPrefixes().equals(""))
                  env.put(Context.URL_PKG_PREFIXES, getUrlPkgPrefixes());
              System.out.println("    " + getInitialContextFactory());
              System.out.println("    " + getProviderUrl());
              System.out.println("    " + getUrlPkgPrefixes());
              System.out.println("    " + getEjbName());
              // Get a naming context
              context = new InitialContext(env);
               Object ms  = context.lookup(getEjbName());
              MyEJBHome home = (MyEJBHome ) PortableRemoteObject.narrow(ms, MyEJBHome.class);
              myEjb = home.create();
              return myEjb.getDefaultName();
          } catch (RemoteException re){
              System.out.println(re.getCause().getMessage());
          catch (Exception ex) {
              ex.printStackTrace();
          return null; //if unable to resolve the context factory etc...
        }

    I did exactly as you suggested. I edited the application.xml and added this
    <library path="C:\ArcGIS\test\bea\wlclient.jar"/>
    I didn't add weblogic because the needed classes were all in wlclient.jar
    I also edited the BASE_OB_CLASSPATH to include this jar.
    Here is the result when I just start BPEL PM Server. Somehow BPEL PM doesn't like to have wlclient.jar in its classpath during startup.
    Failed to create "worker" bean; exception reported is: "javax.naming.NameNotFoun
    dException: remaining name: env
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:49)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:57)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:62)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.ejbCreate(WorkerBean.java
    :49)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.ejb.MessageDrivenHome.getInstance(MessageDrivenHo
    me.java:1235)
    at com.evermind.server.ejb.MessageDrivenHome$2.run(MessageDrivenHome.jav
    a:1150)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2005-12-29 13:39:05,281> <ERROR> <collaxa> <ServerManager::loadAllDomains>
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Could not initialize jms connection pool.
    Could not initialize connection pool for connection factory "java:comp/env/jms/
    ollaxa/BPELInvokerQueueFactory"; the reason is remaining name: env/jms/collaxa/
    PELInvokerQueueFactory.
    Note: So what I did was to removed the entry from application.xml and tried with just obsetenv.bat having the wlclient.jar added to it. This too failed!!
    Here is a snapshot of the error I got.
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-29 13:53:11,207> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/29 13:53:32 Cannot instantiate class: weblogic.jndi.WLInitialContextFactor
    y
    05/12/29 13:53:32 javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/29 13:53:32 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/29 13:53:32 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/29 13:53:32 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/29 13:53:32 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/29 13:53:32 at com.esri.adf.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:57)
    05/12/29 13:53:32 at bpel.p0.ExecLetBxExe1.execute(ExecLetBxExe1.java:62)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__execut
    eStatements(BPELXExecWMP.java:49)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:185)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3398)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1905)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:100)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM

  • How Can One Run Only In The System Administrator ( ie root ) ?

    Upon creating a System Administrator ( ie root ) in Command + R , of course after Clean Installing OS X ML with my own specific Apple Verified Account ,
    i have the Log In screen from a startup , either Safe Boot or a Boot , and i have my own specifc Apple Verified Account , plus the Other... ,
    which the Other... of course is the System Administrator ( ie root ) .
    How Can One Run Only In The System Administrator ( ie root ) ?
    Is there a way in Terminal with sudo su to make it work ?
    Shall i just always log in with Other... System Administrator ( ie root ) , and just forget the my own specific Apple Verified Account ?

    As of EHP3, you could still install some EHP components. On an ERP 6.00, you could just push SAP_APP to 6.03 and move on. Now if you want another component in your system with an EHP4 version, you can't have some components at EHP3 and some at EHP4. You would install EHP4 for the new component you desire updated and part of the work will be to also update SAP_APP to 6.04.
    EHP4 is an UPGRADE process, with shadow instance & all the joy of an upgrade process. You can either run ressource minimized or downtime minimized. In resource minimized, the shadow instance runs on the same server as the main instance. Downtime minimized allow to run the shadow instance on a separate / new server. Anyway you go, you will always have a "Downtime Phase" when you bring back the updated components from the shadow instance toward the real production one.
    As with any UPGRADE project, the benefits of installing EHP4 for your business has to weighted against the downtime cost.
    Our tests so far on small systems (few data, few users, 120GB database) show ~3 days process from EHP3 to EHP4 (all components) with a downtime phase of about 22 hours using the "resource minimized" path, i.e. shadow & main instance on the same server (4 CPUs, 16GB RAM). Until you give a try at your Sandbox or DEV systems, you won't have realistic figures for your environment.
    Good luck!

Maybe you are looking for

  • How can I link from one flash document to another with buttons?

    Hi, From the question above, you can tell that I'm very new to flash, especially with scripting. Total noob. I watched my instructor's videos and I'm still stumped. He didn't explain it very well. For starters, I am using Flash CS6, but I clicked on

  • Automatic height issue with iViews in WPC

    Hi. We have EP 7.0 SP18 implemented. I am busy developing websites via WPC. I want to use iViews within the webpages. When I insert the 'KM document iView with no Content filter' into the webpage - it does not fully display. When I preview it within

  • M, How to connect ipad with computer?

    We need I tune program

  • Accordion creationPolicy="all" effect on tree expand

    facing very strange problem i have placed 2-3 tree component inside Accordion container. On each tree's creationComplete i called function to expand first level. when I set creationPolicy of Accordion to "all", tree expand is not working. and if I re

  • Urgent issue: error in posting idocs

    Hi All, I am posting an idoc from ECC 5.0 to 3.1 I system thru ALE/Idoc methodology. The partner settings, customer model are set up in ECC 5.0, distributed the customer model and I can see the model in the 3.1I system. The partner settings in the in