Help on running asynchronous RMI over a cluster

I'm working in an asynchronous RMI interface over the Sun's RMI for cluster computing and I'm having some problems on the distribution and running of the applications slaves. Well, I'd like to know if somebody knows any efficient way of deploying these application over cluster's machines (I made some pearl scripts and they are not completely solving my requirements).

Clustered computing (also referred to via the grid or utility computing buzzwords) is something I have been working on steadily for quite some time. I have developed a simple framework that has now become so powerful, in my opinion, that I decided to make it free. I want to see if others felt the same way, and also to be sure no that company could patent it. Also, as with any framework, the more people use it, the more useful it becomes.
If you want to create a pool of Virtual Machines, ready to dynamically jump in to solve, or manage, complex problem domains, this framework can do it for you.
If you want to design applications which can scale from one, to any number of Virtual Machines, with no source changes, again, this framework can do it for you.It it as good as I say? I urge you to see for yourself.
You can find it all at:
https://cajo.dev.java.net/index.html
Happy clustering,
John

Similar Messages

  • TS3694 help, im trying to update my iphone but it kept saying connect to itunes, i have updated, run the file over and over but its still stuck to connect to itunes, wat can i do? thanx

    help, im trying to update my iphone but it kept saying connect to itunes, i have updated, run the file over and over but its still stuck to connect to itunes, wat can i do? thanx

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work

  • RMI over IIOP

    Hi all...
    I am now trying a program with RMI over IIOP. My server is behined a firewall and proxy and client will be running out side the network. So in this situation I want to allow this particular client through the proxy. I am not sure whether the Proxies like ISA, MS Proxy, Wingate, iPlanet and Apache proxy will allow IIOP protocol to route through the proxy. Also How can I ensure security? Does IIOP provides any security?
    Please help me by giving some comments on this.
    Any suggestions are appreciable.
    regards,
    Sankaran

    Like in all normal RMI apps you will need open the firewall ports needed to communicate to the server on the firewall..

  • How to deploy a MDBean into cluster with only one JMS server instance running on one of the cluster servers

              I am trying to deploy a MDBean in my cluster ( two servers). The MDBean requires
              the destinestion has to each cluster server. It means that I have to deploy my
              JMS server over the cluster. This will result multiple destinations (queue or
              topic) are created.
              Is there a way to run one JMS server with a clustered MDBean?
              Thanks,
              Taohe
              

    Check out my posting from 4-3 in this thread.
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
    I think I may have answered your question before you asked it.
    In that example I use the picture control to manipulate a bunch of rectangular images of booleans.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • RMI over SSL under Web Start can't find trusted certificate

    I have implemented RMI over SSL to get a Java EJB Client application talking to a JRun server over SSL. It works fine from the command line, but when I try to run it as a Web Start application, I get
    java.security.cert.CertificateException: Couldn't find trusted certificate
    (More complete stack trace below)
    I am using a test certificate, not one from a bona fide CA.
    I have tried putting the key store file in one of the jars used by the application, and adding:
    <argument>-Djavax.net.ssl.trustStore=jssecacerts</argument>
    and
    <argument>-Djavax.net.ssl.trustStore=jar:http://ip/app/xxx/lib/JarWithCacs.jar!/jssecacerts</argument>
    to no avail.
    If I copy the jssecacerts to Web Start's jre/lib/security directory, it works fine.
    I have seen other postings that say to use keytool to update the JRE used by Web Start, but that kind of defeats the purpose of Web Start: zero admin client. I can't touch each user's machine.
    I have seen other posts saying to implement a more relaxed trust manager, but that doesn't seem right either.
    I am using JDK 1.4.1_02b6 on Win2k. This should be irrelevant: JRun 4 sp1a.
    Is there a way to specify the jssecacerts file in the jnlp file so Web Start will recognize it?
    Thanks for any help,
    John

    I think I have an answer:
    1) Package the truststore file in the client JAR file
    2) Add code to the client to copy the truststore from the JAR file to the client hard drive
    3) Add code to the client to set the truststore properties to refer to the file on the client hard drive
    <<code>>
    private void setupTrustStore() {
    try {
    // save truststore file to local disk
    File homeDir = new File(System.getProperty("user.home"));
    File trustStoreFile = new File(homeDir, "mytruststore");
    URL url =
    this.getClass().getClassLoader().getResource("mytruststore");
    BufferedInputStream in =
    new BufferedInputStream(url.openStream());
    BufferedOutputStream out =
    new BufferedOutputStream(new FileOutputStream(trustStoreFile));
    while(true) {
    int data = in.read();
    if(data < 0) break;
    out.write(data);
    in.close();
    out.flush();
    out.close();
    // set truststore properties
    System.setProperty("javax.net.ssl.trustStore",
    trustStoreFile.getPath());
    System.setProperty("javax.net.ssl.trustStorePassword", "mypasswd");
    } catch(Exception e) {
    e.printStackTrace();
    }

  • Displaying report in .pdf format while Running oracle reports over the web

    I am running a report over the web via IE. I am suing .pdf
    format as the file type. The problem I am facing is that the
    report comes out with a blank in acrobat reader if there are
    just one or two records - i.e less thatn one pagefull. THe
    reports displays output only when there ar more than one
    pagefull of records.
    Any explanation for this bezarre behavior and any suggestions?
    I will very much appreciate your help.
    Regards
    Prasad.

    in R12 I found 2 choice
    1) when submitting requests (if available) you can set the output format by using the Options button (upon sompletion section):
    layout --> format --> select format you need (RTF/HTML/EXCEL/PDF)
    2) in the request form (view->request) selecr the report you want to reprint in the Tools menu select print/republish, in the html page that pop up select output format you want, number of copies =1 submit
    www2p

  • Rmi over ssl in jdk1.5.0

    hi,
    i am trying to connect a remote machine with rmi over ssl. but i got the following exceptions;
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
    Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/ECB/PKCS1Padding
    Caused by: java.lang.IllegalArgumentException: can't support mode ECB
    i am using jdk1.5.0. i have tried many samples but i have not run them successfully however they were running successfully in j2sdk1.4.2.
    also i downloaded the bouncycastle provider but it did not work.
    is there anybody who knows about a running sample about rmi and ssl in jdk1.5.0? please send me....
    email: [email protected]

    Hi!
    I know it's not the exactly right topic, but I've nearly the same problem with a https connection for a webService. I'm not using turkish locale, I'm using BouncyCastle and the "Unlimited Strength" policy files. I've no problems if i start my application with eclipse, starting it with jdk1.5.0_03\jre\bin\java or jre1.5.0_03\bin\java form commandline i get the same stacktrace:
    javax.net.ssl.SSLKeyException: RSA premaster secret error
    Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
    Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/ECB/PKCS1Padding
    Caused by: java.lang.IllegalArgumentException: can't support mode ECB
    if i try to get the cipher with
    Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding");
    I'll get the same stacktrace, with
    Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
    i works fine, but I've no idea how to run this code out of axis...
    Thanks & Regards
    Helmut

  • [Java 1.4.2] Rmi over SSL : bind/rebind hangs

    Hello everybody,
    I am trying to test client/server communication with RMI over an SSL layer, as explained here .
    Here is my server class :
    package rmitest.server;
    import java.rmi.registry.*;
    import java.rmi.*;
    import rmitest.client.RMISSLClientSocketFactory;
    import java.rmi.server.RMIClientSocketFactory;
    import java.rmi.server.RMIServerSocketFactory;
    import java.rmi.registry.LocateRegistry;
    import java.rmi.server.*;
    import java.io.IOException;
    public class Hello extends UnicastRemoteObject implements HelloInterface
        public Hello(RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
            //super();
            super(1099, csf, ssf);
            System.out.println("Initialisation de Hello OK.");
        public int sayHello()
            try {
            System.out.println("Hello, World !");
            return 0;
            catch (Exception e)
                e.printStackTrace();
                return 1;
        public static void main(String[] args)
            try
                System.setSecurityManager(new RMISecurityManager());
                RMIClientSocketFactory csf = new RMISSLClientSocketFactory();
                RMIServerSocketFactory ssf = new RMISSLServerSocketFactory();
                HelloInterface myHello = new Hello(csf, ssf);
                Registry reg = LocateRegistry.getRegistry("lat203", 1099, csf);
                reg.rebind("HelloInterface", myHello);
                System.out.println("The server is ready.");
            catch (RemoteException e)
                e.printStackTrace();
            catch (Exception e)
                e.printStackTrace();
    }My problem is, the program hangs in the rebind(...) instruction. Would anybody have a clue ?
    Here is the stack just before it hangs :
    {codeThread [main] (Stepping)
    UnicastRef2(UnicastRef).newCall(RemoteObject, Operation[], int, long) line: 313
    RegistryImpl_Stub.rebind(String, Remote) line: not available
    Hello.main(String[]) line: 56
    Thread [Thread-1] (Running) }Thank you by advance.
    Edited by: le_barde on Oct 17, 2008 6:45 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ok I settled that in the client socket factory. Here is what it looks like :
    package com.infotel.rmitest.client;
    import java.io.*;
    import java.net.*;
    import java.rmi.server.*;
    import javax.net.ssl.*;
    import sun.security.util.Debug;
    public class RMISSLClientSocketFactory
        implements RMIClientSocketFactory, Serializable {
        public Socket createSocket(String host, int port)
        throws IOException
            SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault();
            SSLSocket socket = (SSLSocket)factory.createSocket(host, port);
            String[] strtab = {"TLSv1", "SSLv3"};
            socket.setEnabledProtocols(strtab);
            System.out.println("---> before handshake");
            socket.startHandshake();
            System.out.println("---> after handshake.");
            return socket;
        public int hashCode()
            return getClass().hashCode();
        public boolean equals(Object obj)
            if (obj == this)
                return true;
            else if (obj == null || getClass() != obj.getClass())
                return false;
            return true;
    }I haven't modified my Server socket factory.
    The client still hangs but the messages are different as I have removed the SSLv2ClientHello :
    >
    (lots of trusted certificates...)
    init context
    trigger seeding of SecureRandom
    done seeding SecureRandom
    ---> before handshake
    %% No cached client session
    *** ClientHello, TLSv1
    RandomCookie: GMT: 1225125230 bytes = { 150, 101, 222, 255, 92, 207, 52, 204, 48, 37, 184, 89, 56, 39, 207, 230, 8, 210, 1, 235, 137, 48, 202, 242, 203, 4, 61, 91 }
    Session ID: {}
    Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA,       TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 73
    0000: 01 00 00 45 03 01 49 06 ED 6E 96 65 DE FF 5C CF ...E..I..n.e..\.
    0010: 34 CC 30 25 B8 59 38 27 CF E6 08 D2 01 EB 89 30 4.0%.Y8'.......0
    0020: CA F2 CB 04 3D 5B 00 00 1E 00 04 00 05 00 2F 00 ....=[......../.
    0030: 33 00 32 00 0A 00 16 00 13 00 09 00 15 00 12 00 3.2.............
    0040: 03 00 08 00 14 00 11 01 00 .........
    main, WRITE: TLSv1 Handshake, length = 73
    (Here the client hangs; this is the point when I kill the JVM)>
    Now my server output (I don't give the verbose certificates):
    >
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    * SERVER INITIALIZED *
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, SEND TLSv1 ALERT: warning, description = close_notify
    Finalizer, WRITE: TLSv1 Alert, length = 2
    etc.

  • RMI over HTTP

    Hi, I'm new to this forum and fairly new to Java. I'm trying to run RMI from an applet, it works fine on the LAN but has problems externally due to firewalls. I'm now trying to set up RMI over HTTP to negate this problem but cannot find the Java-RMI.CGI script anywhere. I'm using J2SDK1.4.0, if anyone knows where to get this and how to configure it for IIS5 I would be most gratefull.

    The following is an example of java-rmi.cgi in Unix
    #!/bin/sh
    # This file handles rmi requests to download RMI code
    # The work is done by the class:
    #      sun.rmi.transport.proxy.CGIHandler
    # This class supports a QUERY_STRING of the form
    # "forward=<port>" with a REQUEST_METHOD of "POST"
    # The body of the request will be forwarded to the server (
    # as aPOST request) to the port given in the URL. The response
    # will be returned to the orginal requester.
    # Set the path to include the location of the jdk to run
    PATH=/opt/java/bin:$PATH
    java   \
       -DAUTH_TYPE=$AUTH_TYPE \
       -DCONTENT_LENGTH=$CONTENT_LENGTH \
       -DCONTENT_TYPE=$CONTENT_TYPE \
       -DDOCUMENT_ROOT=$DOCUMENT_ROOT \
       -DGATEWAY_INTERFACE=$GATEWAY_INTERFACE \
       -DHTTP_ACCEPT="$HTTP_ACCEPT" \
       -DHTTP_CONNECTION=$HTTP_CONNECTION \
       -DHTTP_HOST=$HTTP_HOST \
       -DHTTP_USER_AGENT="$HTTP_USER_AGENT" \
       -DPATH_INFO=$PATH_INFO \
       -DPATH_TRANSLATED=$PATH_TRANSLATED \
       -DQUERY_STRING=$QUERY_STRING \
       -DREMOTE_ADDR=$REMOTE_ADDR \
       -DREMOTE_HOST=$REMOTE_HOST \
       -DREMOTE_IDENT=$REMOTE_IDENT \
       -DREMOTE_USER=$REMOTE_USER \
       -DREQUEST_METHOD=$REQUEST_METHOD \
       -DSCRIPT_NAME=$SCRIPT_NAME \
       -DSERVER_NAME=$SERVER_NAME \
       -DSERVER_PORT=$SERVER_PORT \
       -DSERVER_PROTOCOL=$SERVER_PROTOCOL \
       -DSERVER_SOFTWARE=$SERVER_SOFTWARE \
       sun.rmi.transport.proxy.CGIHandler

  • Eclipse & Running my RMI Server

    I have everything set up nicely to run my RMI Sever from eclipse and I keep getting this error message. Any help would be greatly appreciated:
    Exception in MAIN java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: com.ibm.SvcCliSimulator.RMIRemoteMethod_Stub
    The stub is in the same dir. as the RMIServer class. I know my code is fine b/c when I do it with JDK by hand it works just fine, but I'd like to keep it in my ECLIPSE development environment. HELP

    OK, a bit more information. I know that Eclipse is FINDING the actual class file, because if I comment out everything in the stub then I get this different error:
    Exception in MAIN java.rmi.StubNotFoundException: Stub class not found: com.ibm.SvcCliSimulator.RMIRemoteMethod_Stub; nested exception is:
         java.lang.ClassNotFoundException: com.ibm.SvcCliSimulator.RMIRemoteMethod_Stub
    Same sort of deal, but different none the less. I've searched everywhere, but I can't get any help:
    public static void main(String[] args) {
              try{
                   RMIRemoteMethod m = new RMIRemoteMethod();
                   Naming.rebind("test", m);
                   System.out.println("RMIServer READY");
              catch(RemoteException re){
                   System.out.println("Exception in MAIN " + re);
              catch(Exception e){
                   System.out.println("Exception: " + e);
    The exception occures on the Naming line if my stub is set up correctly and on the line before if I camment out the entire stub.java file. Any help would be really really great. Thanks.

  • Help with running multiple threads

    I'm new to programming with threads. I want to know how to run
    multiple threads at the same time. Particularly for making games
    in Java which I'm also begining to learn. For running multiple
    threads at the same time, do you have to put two run() methods
    in the source? If not then how do you make two threads or more
    run at the same time?
    Thanks for helping.

    For running multiple
    threads at the same time, do you have to put two run()
    methods
    in the source? Hi there,
    Each thread is presumably performing a task. You may be performing the same task multiple times or be performing different tasks at once. Either way, each task would typically be contained within the run() method of a class. This class would either be a subclass of java.lang.Thread (extends Thread) or would be an implementation of java.lang.Runnable (implements Runnable). In either case, you would define a method with signature (public void run()...). The difference comes into play when you wish to actually perform one of these tasks. With a subclass of Thread, you would simply perform:
    new MyTask().start();
    With an implementation of Runnable, you would do this:
    new Thread(new MyTask()).start();
    This assumes you don't need to monitor the threads, won't be sending any messages to your tasks or any such thing. If that were the case, you would need to tuck away those returns to new MyTask() for later access.
    In order to launch two threads simultaneously, you would have something along the lines of:
    new MyTask().start();
    new MyOtherTask().start();
    Now it is perfectly possible that MyTask() would complete before MyOtherTask() managed to start in which case it wouldn't appear as if you had actually had multiple threads running, but for non-trivial tasks, the two will likely overlap. And of course, in a game, these tasks would likely be launched in response to user input, which means that you wouldn't have any control over when or in what order they executed.
    Anyhow, it's as simple as that. You should also consider following the Java Threading trail which shows a simple example of using multiple threads. You can find it at:
    http://java.sun.com/docs/books/tutorial/essential/threads/index.html
    Regards,
    Lynn

  • How to run Windows 7 over a virtual desktop in a Blackberry Smartphone?

    Hi,
    Thank you for posting your question in Microsoft Community. I understand that you want to know whether you can run Windows 7 over a virtual desktop in a Blackberry Smartphone.
    The issue you posted would be better suited in Blackberry Support Community Forums.
    I would suggest you to post your question in the below link:

    Hi and Welcome to the Community...and apologies for the delay!
    Hopefully you already have this resolved, but just in case...
    Do I understand that you wish to, on a BB itself, run a virtual Windows 7 environment? Or do you instead desire to activate a remote control session over a Windows 7 computer from your BB device?
    Please clarify (though I don't think either are actually possible...).
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • RMI over different subnets causing TCP BAD CHECKSUM

    I have a customer that is trying to run my system over different subnets and is getting large performance hits due to a TCP BAD CHECKSUM error that they have been able to monitor when they have the RMI server on one subnet and the RMI client on another.
    We don't see the problem on our systems (because we run on the same subnets) as do all of our other customers.
    We've written a little program that just does some simple RMI calls over the different subnets and are still seeing the TCP BAD CHECKSUM errors.
    Is there some reason that they are seeing these errors when the two are on different subnets? Is there any way to solve this problem (as it is causing a big hit in our performance)?

    It is certainly nothing to do with RMI. The most probable culprit is bad hardware between the two subnets.

  • How does a program knows whether it runs asynchronous?

    We have a tool which runs fine at several systems, but fails for one customer.
    It displays a list of analysed data and offers the option to update some material master data to adapt mrp data of material master to the real situation of selected material. The update is done with an asynchronous call of function material_maintain_dark, results (success or error messages) are written to sytem log.
    In one system this logic fails, because customer has an implementation in one of the user exits of function material_maintain_darc which calls a popup.
        IF sy-batch IS INITIAL AND sy-binpt IS INITIAL.
          CLEAR: l_text_table[], l_text_table.
          MESSAGE w001(z_sdc) INTO l_text_table-tdline.
          APPEND l_text_table.
          CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
            EXPORTING
              titel      = 'Warning'
            TABLES
              text_table = l_text_table.
        ENDIF.
    Popup correctly will not be displayed when programm runs in batch mode.I think we need a similar check to avoid the popup when the program runs asynchronously, but I could not find any matching indicator in structure syst (I could not find documentation for really all fields) or anywhere else.
    Can anyone help and tell me how I can check at runtime whether a program runs asynchronously.

    It was not my decision to use this popup. Customer has it as own coding in an unserexit of function material_maintain_dark  probably created during implementatiion project by customer himself or any consultants.
    We delivered a 'consulting solution', a program which uses function material_maintain_dark and works fine on several other customers systems, where no user exit is implemented.
    Customer regards it as an error of our customer solution, that the booking of changes of material master, which is triggered by our program does not work in his system: There only is a message, that program is triggered, but it cannot be completed properly and they see neither results in material master nor entries in system log.
    My idea was to add a check, whether the function material_maintain_dark was triggered by our customer solution via call function.. starting new task or whether it is used by any of the customers own processes, but I have no idea how to find out, whether function was called with or without 'starting new task'.

  • CRS over SUN cluster

    hello
    sorry i am a newbie in this area
    what is the advantages of installing oracle CRS then the database over sun cluster?
    is it needed ? since we already installed SUN cluster....
    also could it work if only we install oracle database 10gR2 on the sun cluster?
    what are the advantages and disadvantages if we never use SUN cluster,
    just install oracle CRS then install the oracle database
    sorry for the long question
    i really appreciate your help

    what is the advantages of installing oracle CRS then the database over sun cluster?
    is it needed ? since we already installed SUN cluster....1. CRS is required irrespective of whether or not your any vendor clusterware (such as Sun Cluster).
    2. Check this white paper from Sun Microsystems which attempts to high light the advantages of using Oracle RAC with Sun Cluster:
    http://www.sun.com/blueprints/0105/819-1466.pdf
    also could it work if only we install oracle database 10gR2 on the sun cluster?As indicated above, No. You would still need CRS.
    what are the advantages and disadvantages if we never use SUN cluster,See if the above mentioned document helps you with this question.
    just install oracle CRS then install the oracle databaseYou could very well do this.
    HTH
    Thanks
    -Chandra Pabba

Maybe you are looking for

  • Upgrading from Adobe Acrobat Pro 6.0?

    I edit proofs in Adobe Acrobat Pro v6.0. The proofs are created in a more recent version and I'm encountering more and more problems with saving comments. I obvioulsy need to upgrade to a newer version. Will I have to buy a complete new program? Than

  • Problem listening to google music in the background on my iphone

    I just uploaded all my music to google music.  I have no problem listening to it on my iPhone in Safari, but when I minimize Safari, the music stops (the track is paused).  My OS software is up to date, and I don't have this problem on my wifes iPad.

  • XL Reporter Start Up Failed - "Report Initialize" Description (667)

    Hi experts, I use SAP B1 2007 PL34. I'm trying to execute an XL reporter report and I got this message "An Error Occurred During The Process "Report Initialize". Description(667) metainfo.XML not Found! (Please contact the administrator to fix the re

  • AIA on Oracle SOA Suite 11g

    Hi , Is it possible to install AIA 2.5 Foundation pack on Oracle SOA Suite 11g. Can you please share any oracle documentation in this regard? Regards, Sam

  • Mutliple Oracle Resource Groups Port Question

    Hello, In a 2 node cluster, (3.2, Sol10, ZFS), I have a oracle resource group running on each node with the ability to failover to the other. As each resource group has it's own listener, do the port numbers for the listeners need to be different so