Process communication.

Hi.
I need to pass an object from a process to another.
The idea is to raise the application, and, after few validations, call an "executable" jar file which contains other application.
What I need is to show a window (splash) between the execution of the first application and the complete load of the second. Then, when second application loaded, splash window must to be closed.
I am trying to to that with 2 process: one raised with a main method and the other using Runtime.exec over a batch file (*.bat). My question, of course, is: how can I pass de window (awt.Frame) objetc from teh first application to the second?

This will work going way back if that's your concern. Got it from this forum a while back. You use it as follows:
  new Splash(frameNameHere, "C:/my_sub_dir/gifNameHere.gif");And here is the code:
import java.awt.*;
import java.awt.event.*;
public class Splash extends Window {
  private Image splashImage;
  private int imgWidth, imgHeight;
  private String imgName;
  private static final int BORDERSIZE = 5;
  private static final Color BORDERCOLOR = Color.blue;
  Toolkit tk;
  public Splash(Frame f, String imgName) {
    super(f);
    this.imgName = imgName;
    tk = Toolkit.getDefaultToolkit();
    splashImage = loadSplashImage();
    showSplashScreen();
    f.addWindowListener(new WindowListener());
  public Image loadSplashImage() {
    MediaTracker tracker = new MediaTracker(this);
    Image result;
    result = tk.getImage(imgName);
    tracker.addImage(result, 0);
    try {
      tracker.waitForAll();
    catch (Exception e) {
      e.printStackTrace();
    imgWidth = result.getWidth(this);
    imgHeight = result.getHeight(this);
    return (result);
  public void showSplashScreen() {
    Dimension screenSize = tk.getScreenSize();
    setBackground(BORDERCOLOR);
    int w = imgWidth + (BORDERSIZE * 2);
    int h = imgHeight + (BORDERSIZE * 2);
    int x = (screenSize.width - w) /2;
    int y = (screenSize.height - h) /2;
    setBounds(x, y, w, h);
    setVisible(true);
  public void paint(Graphics g) {
    g.drawImage(splashImage, BORDERSIZE, BORDERSIZE,
      imgWidth, imgHeight, this);
  class WindowListener extends WindowAdapter {
    //  was windowActivated, thanks to H.Grippa for the fix!
    public void windowOpened(WindowEvent we) {
      setVisible(false);
      dispose();
}

Similar Messages

  • Synchronous and asynchronous processes communication in WLI 8.1

    Hi all,
    I'm using workshop with WL 8.1 to design by business processes.
    I have created one process which is invoked synchronously via a client request
    with return.
    Than I call this process in web flow. The process publishes message in the MB,
    which creates
    another process asynchronously. My question is how can I communicate
    from the first process with the second one ? e.g. In some cases I need to wait
    when the second
    process riches some state, or e.g. how to check if the everything’s went ok in
    the second one ?
    I tried to manage it by another MB channel, but when I add the proper controls
    to first process
    it becomes asynchronous and I can not use such process in the flow (there is no
    way to handle
    callback methods in the flow) and I need to have return somehow.
    Do you have any suggestion how to design (or redesign) my workflow ?
    Best regards
    Jan

    "Jan Mrzyglod" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi all,
    I'm using workshop with WL 8.1 to design by business processes.
    I have created one process which is invoked synchronously via a clientrequest
    with return.That's fine so far.
    Than I call this process in web flow. The process publishes message in theMB,
    which creates
    another process asynchronously. My question is how can I communicate
    from the first process with the second one ? e.g. In some cases I need towait
    when the second
    process riches some state, or e.g. how to check if the everything's wentok in
    the second one ?Communicating between JPD processes is preferably done with Process Controls
    (Add Control / Integration Control / Process). A Process control needs a jcx
    file belonging to a process. To generate a Process Control jcx file to a
    process, click right on the JPD file in the project tree, and select
    Generate Process Control.
    If the page-flow calling on the first process also has to wait for the
    second process to reach some state, then you need to have
    synchronous invocation between the first and the second process.
    That can be done only with adding a message path to the start node of the
    second process (the circle), and putting a Client Request with Return in it.
    Everything in the Client Request with Return node is invoked synchronously,
    meaning that the first process will wait for the return, and gets the return
    value, and receives any exceptions thrown and everything takes place in the
    same transaction. However this way you have no modelling information on
    where the process flow currently is, so you have to keep track of that in a
    variable in the JPD, if you need to know that.
    You also have to put at least one stateful (waiting) node to the normal
    process flow, so that the process does not terminate right after starting
    (Workshop warns about this as well).
    Now regenerate the process control jcx for the second process, and you will
    see a method on it belonging to the message path Client Request with Return.
    This can be invoked synchronously on the process control in the first
    process.
    I presume however, that you are aware of the fact, that the HTTP request can
    time out, and in that case I am not sure, whether additional steps in the
    page flow are evaluated or not. Possibly not. Typically I would expect, that
    forwards and includes do not.
    Regards,
    Robert Varga

  • Process communication in Java

    I have a main process, in this main process, I need to start a child process which will run infinitely. But then from time to time, I need to send some instructions to that child.
    Does java support this kind of communication? What is the simplest method to get it done? The instructions I want to send are very simple.

    um, it's hard to explain everything. Imagine youneed
    to connect to a specific server for doing smth and
    this server will identify you by process id. The
    server only let you do that thing once so if youwant
    to do it multiple times, you need to createmultiple
    processes. Anyway, there are unlimitedrequirements
    from different kind of applications and onecouldn't
    say some requirements are meaningless.Rather than keep asking us to imagine something
    similiar. Just explain what you are doing and we can
    be more helpful.If saying in a few words what I'm doing, well, I need to send some simple instructions from a parent process to child processes, which I think I has mentioned in the first post.
    If I want to describe in detail what I'm doing, I think I can't. It will take to much time and I'll need to explain manything from middlewares to stock market, protocols etc. Some of you have background about them, some doesn't.
    Anyway, I don't ask how to design the application. I want to know which is the fastest way to communicate between processes.

  • Integration process communicating with guided procedure

    Hi everybody,
    I read that it is possible to exchange messages between Integration Processes and SAP Business Workflow. Is it also possible to trigger and communicate to a guided procedure in a Integration process?
    Thanks,
    Mane

    Integration processes can integrate with anything which uses one of the protocols supported by XI adapters (and you could even enhance this, by creating your own custom adapters).
    E.g., to integrate with SAP Workflow, you could call a standard BAPI or a Z RFC that executes the desired workflow (or feed some step of a already in-process workflow).
    For Guided Procedures, you could basically use anything that the UI frameworks within SAP portfolio support. For example, if you develop a WebDynpro-based GP, you could make the WebDynpro consume a Web Service that, for instance, triggers a BPM execution (you expose the 1st receiver step of the BPM, which should be a open sync/async bridge, as a web service through a sender soap adapter).
    That's just one example.
    Regards,
    Henrique.

  • When Teststand is expired, the java process communicating with Teststand engine is killed.

    We are using an evaluation version of Teststand for development. We are using Teststand API in C code to communicate with the Teststand engine and in turn the java process communicates with the C code. But if the Teststand is expired, the java process is killed. Please suggest if there is a solution to stop the killing of java process when the teststand is expired.

    Hi geddam,
    The fact that the entire application is ending is expected as it is trying to access the TestStand API. Since your evaluation period is over you no longer have an active license and cannot access TestStand. We allow an evaluation period so that someone new to TestStand can evaluate it to determine if they will benefit from the software. However, once you have decided to develop using TestStand, you need to obtain a development license for TestStand. We have several different licenses for TestStand and a specific license to be used for development. The evaluation period should not be used as a time for development but a time to evaluate the software. So, in order for your application to work again, you will need to obtain a license for TestStand software.
    Thanks,
    Caroline
    National Instruments
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • Java to process communication

    Hello,
    I have a bash script that is run by a java process. i want it to be able to communicate with the java thread that launched it, but not through its stdout (which i want to reserve for info messages). so i thought of using a pipe. how can this be done?

    maybe i wasn't clear enough
    the java process is an enterprise application, running multiple threades and launching many scripts in different threads. therefore, the cleanest approach is for each thread to create its own pipe. since afaik, this cannot be done in java, i'm stuck.
    i can create a single named pipe before launching java, then have all scripts communicate through that, with some kind of synchronization, but this is very ugly and error prone

  • Inter-process communication with VB6 application

    I want to have my C# application communicate with VB6 application program.
    The message to communicate is simple. Here is a scenario.
      VB6 APP                                            C# APP
    Run C# APP         "1", "2" or "3"       
    Send command  ----------------> 
         Wait                                    Do work as the command
    Exit from loop    <----------------        Return code
                                                           Terminate
    I implemented this with Profile(ini file) but I want to do without file writing.
    Which way would be desirable?

    If vb6 is using process.start ( or whatever the equivalent is )  to crank the c# application up then you could just use command line arguments to pass the variable in.
    A simple way to pass data between processes is ms message queue.
    You have a queue for each direction you want to send stuff.
    You could use a mix of these.
    Pass in args to the c# app then listen for messages on a queue and the c# app pushes the return code onto that queue.
    https://msdn.microsoft.com/en-us/library/aa288457%28v=vs.71%29.aspx?f=255&MSPPError=-2147217396
    public class CommandLine
    public static void Main(string[] args)
    // The Length property is used to obtain the length of the array.
    // Notice that Length is a read-only property:
    Console.WriteLine("Number of command line parameters = {0}",
    args.Length);
    for(int i = 0; i < args.Length; i++)
    Console.WriteLine("Arg[{0}] = [{1}]", i, args[i]);
    https://msdn.microsoft.com/en-us/library/ms711472(v=vs.85).aspx
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Multiple application instances and inter process communication.

    Hi,
    I am looking at having a main application instance spawn individual application instances. But when launching another instance I need to message the main application so it can spawn a window.
    How do I go about communicating between application instances in order to do this ?
    Many thanks in advance,
    Aaron

    RMI is your best bet - or, if the IPC is pretty simple, then you could just open a simple socket listener in the primary app...
    - K

  • Process communication and runtime.exec()

    I need to create a java class that interacts with a non-java application. The non-java application is a spell checking program which reads a misspelling from stdin and writes a list of suggestions to stdout.
    I want a java class that will act as a gateway to this application so I can do the following:
    JavaGatewayToSpellChecker checker = new JavaGatewayToSpellChecker();
    String[] suggestions = checker.checkWord("misssspelling");Here is how I have the class set up so far:
    import java.io.*;
    public class JavaGatewayToSpellChecker()
        BufferedWriter writer;
        BufferedReader reader;
        public JavaGatewayToSpellChecker()
            try
                String[] cmd = new String[2];
                cmd[0] = "aspell";
                cmd[1] = "-a";
                Runtime rt = Runtime.getRuntime();
                System.out.println("Execing " + cmd[0] + " " + cmd[1]);
                Process proc = rt.exec(cmd);
                writer = new BufferedWriter(new OutputStreamWriter(proc.getOutputStream()));
                reader = new BufferedReader(new InputStreamReader(proc.getInputStream()));
            catch (IOException ioe)
                ioe.printStackTrace();
    // no problems yet, as far as I can tell.
    public String checkWord(String word)
            String reply = new String();
            try
                writer.write(word);
                String line = reader.readLine();
    // I know that a line that begins with one of the following
    // characters signals the end of the suggestion list
                while (! (line.startsWith("*") || line.startsWith("&") || line.startsWith("#")))
                    reply = reply + line;
                    line = reader.readLine();
            catch (IOException ioe)
                ioe.printStackTrace();
    String suggestions[] = parseReply();
    // code for parseReply() is omitted for brevity, but I
    // never get down this far anyway. The code just hangs
    // in the loop.
            return suggestions;
        }What am I doing wrong? I have seen a solution using a thread that just runs all the time gobbling the output and either throwing it away or writing it to a file, but I need the output returned so I can parse it and pass it back to the calling method.
    I will be really impressed if anyone can solve this problem.
    Thanks,
    Jon

    Well, you guys were no help at all. I spent hours reading the java forums and tried everything under the sun. I had a separate thread read the output and then tried to communicate with that thread using PipedReader/PipedWriter. I can read the output and write it to a file or print it, but I can't bloody pass it back to the calling method. What am I missing??
    Finally I just made the class static and decided to exec the entire process everytime I need it. Since I have to spell check a couple hundred thousand strings I'm just going to have to start and stop the process a couple hundred thousand times. This is the most retarded programming solution I have ever come up with. I can't believe the guys who wrote the java.lang.Runtime package couldn't do any better than this. From what I can tell from reading the boards I am not the only person who has struggled with this issue.
    There is clearly an elegant solution that anyone with six years of java experience and a week of free time on their hands could come up with, but for those of us who have only been programming since 2001 and who have to get on with life I guess it makes more sense just to let the computer run all night on a dumbass solution than try to divine the solution to this problem.
    AAARRGGGHHHH. I just have to rant a bit. I wasted a whole day :(
    My solution:
    import java.io.*;
    public class JavaGatewayToSpellChecker
        public static String checkWord(String word)
            String reply = new String();
            try
                String[] cmd = new String[2];
                cmd[0] = "aspell";
                cmd[1] = "-a";
                Runtime rt = Runtime.getRuntime();
                System.out.println("Execing " + cmd[0] + " " + cmd[1] );
                Process proc = rt.exec(cmd);
                BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(proc.getOutputStream()));
                BufferedReader reader = new BufferedReader(new InputStreamReader(proc.getInputStream()));
                System.err.println("writing: "+word);
                writer.write(word);
                writer.newLine();
                writer.close();
                String line;
                while ( (line=reader.readLine()) != null)
                    reply += line;
                int exitVal = proc.waitFor();
            catch (Exception e)
                e.printStackTrace();
            return reply;
    [\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Threaded VI, Threaded Sequence inter process communication best practice

    I'm curious if others have any advice on best practice for the following.
    We have VIs that run continuously during our test execution sampling 4 different Analog Input boards in continous mode.  For quite awhile these VIs were passed the SequenceContext from the TS side along with the name of FileGlobals.  When the while loops had new samples from the boards it would use the SequenceContext to set them from the VI.  It would also use the SequenceContext to get "signals" from test stand.  That is, I'd set a variable on the TestStand side that would be read in the VI to make it behave differently (filtering, moving average, etc).  I used TS notifiers from the LV side to let TS know new data was available and there are TS rendezvous's used to partially synchronize the 4 seperate boards with each other.
    We never really had any trouble with this and even though the code wasn't terribly complicated for me, others on the team have had a little trouble comprehending it.
    Recently, we ran into some issues not related to this code but ultimately in an attempt to solve them I ended up re-writing this code to use functional globals.  Now, the VI uses the FGs to set the data and on the TestStand side the same FGs are used for reading.  Locking of data is handled by the non-rentrant VIs.  The FGs are also structured state machine-like for signaling the VI to do something and letting TS know something has happened.
    This code seems to work well also and I think my team (and anyone that follows) will be able to follow this code a little bit easier.
    I'm not classically trained so I suspect there may be standard patterns that work here, I just haven't sought them out.  
    Is there a better way to do this that I'm not thinking of?  

    Hi SmokeMonster,
    If things are looking more legible and everything functioning as desired it sounds like the improvements are going to be some of the best for your company. Without more specific information about seeing how information is being passed and handled, and a greater knowledge of the system and desired results, specific recommendations are going to be more difficult.
    From a higher level overview, the best resources you will find on development practices will be the NI TestStand Materials. A few that may be worth a look specific to your inquiry would be the following:
    Using LabVIEW with TestStand
    http://digital.ni.com/manuals.nsf/websearch/828A615BAB7CCECA86257A150065C12E
    TestStand System and Architecture Overview
    http://digital.ni.com/manuals.nsf/websearch/49D1BDF3B02279A8862579FB0063EC04
    TestStand Advanced Architecture Series
    http://www.ni.com/white-paper/7022/en
    Hopefully that gets you some good starting points to refer from.
    Regards,
    James W.
    Applications Engineer
    National Instruments

  • Inter-Process communication

    I was looking for alternative to message queue for passing messages because I'm hitting the maximum message size limit.
    what are my other options and what would be the pros and cons. the code is in C/C++. Thanks.

    Since you don't mention what OS you are using, or which message-passing scheme, it's hard to provide any advice.
    If you are using Solaris, you are more likely to find a helpful answer in a Solaris programming forum:
    http://www.opensolaris.org/jive/index.jspa
    As to C versus C++, I don't think the pros and cons are different for message passing than for most other kinds of programming. The C interfaces can be used just as easily in C++.
    Personally, I prefer programming in C++ because of better type safety and economy of expression, and because it is easier to write efficient yet maintainable code. But other considerations might make C a better choice for a specific project. For example, if this one module would the only C++ code in the application, you probably would want to stay with C.

  • LabWindows/CVI Process Communications

    I have a LabWindows/CVI application (executable) that must launch a second executable via the "LaunchExecutableEx" library function.  When the second executable terminates, it must return an integer value to the first executable.  Other than the horrid solution of using a disk file, how can this be done?
    Maybe by using a shared DLL?
    Thanks.

    Please refer to the post on the LabWindows/CVI forum here
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Two processes running at the same time in Lookout

    I have installed Lookout 5.0 with 200 I/O Points onto our server computer. The application of motion control is next to the 200 I/O points through OPC PMAC server/client. Now I would like to have a second process in the same server for trouble shooting and testing without stopping the motion control process. However, this second testing process could have also many I/O points through Serial and USB ports. I assume that the total amount of I/O points of both processes will be greater than 200.I prefer to have independent processes for control and testing because access levels. Can I have these two processes running at the same time when needed?

    Hi,
    From your description you are using a third party OPC server for the motion application. You could have a second Lookout process communicating with the same OPC server with no problems, as long as you do not exceed the number of I/O points your license supports.
    Also, the process you are using for testing obviously could not overwrite datamembers (or registers if you will) that would interfere in the overall application, in other words you can test your application as long as you keep the coherency of the test.
    So the answer would be, yes it is possible, however you are still limited to the number of I/O's your license supports... You may even consider upgrade the number of I/O's you have in your license.
    Best Regards
    Andre Oliveira

  • How to know the port number to which the server process is listening

    I have created oracle 10g Release 1 database(orcl) in Windows Xp Professional edition through DBCA . I also created one more database(sample) manually .
    The ORCL server process listens to port no 1521 and
    SAMPLE server process listens to port no 1522
    Once I start the OracleServiceORCL (Service for orcl) from services.msc and check the listener status it displays
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    But when I start OracleServiceSAMPLE (Service for sample) from services.exe and check the listener status there is no change . Only when i start the instance the dynamic registration takes place with port no 1521 .
    There is no entry for listener parameter in init.ora file . My question is how is the service ORCL able to get itself registered with the listener even before the instance is up ?
    And how can i know which port no is linked with which server process?
    Also if we provide a different port number(other than 1521 say 1522) in tnsnames.ora for a service and consider the listener is listening to both 1521 and 1522 . Now consider that port number 1521 is free . In this case to which port number will the service be listening to ?
    The listener file looks like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    The tnsnames file has the following entry
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    SAMPLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...[coe]
    The status tells you the instance is up. Starting the service often means the instance gets started also, but whatever "often" means, "READY" means "The instance is up, running and taking callers".
    Your statement that "ORCL [is] able to get itself registered with the listener even before the instance is up" is therefore factually incorrect: you started the service, that started the instance. The instance is up and running. Instances that aren't running don't exist. Things which don't exist don't register themselves. Things which HAVE registered themselves therefore do exist.. and if they say they are "ready", it means they are completely, 100% up and running and behaving quite normally.
    I have not set LOCAL_LISTENER initialization parameter.How is this happening ?
    You only need to set LOCAL_LISTENER if (a) you're not using TCP/IP, (b) you're not using port 1521. Otherwise, PMON is hard-coded to register itself with listeners running on port 1521 and using TCP/IP and you don't need to set LOCAL_LISTENER to achieve that.
    Server Processes do not listen. Listeners do (there's a clue in their name). Listeners receive a call to connect to an instance, they spawn a server process to handle your call, and then they connect you to that server process (or send a message back to you telling you how to contact the server process). Each server process of course receives communications from its dedicated client on a specific port (usually in the 50000+ range), and that port is chosen randomly by the listener when it's spawning it. It's a bit blurry and vague to call that server process port a port on which server processes "listen", however.
    If you're talking dedicated server, each client causes one new server process to be spawned, and there is a one-to-one correspondence between server processes and the port that server process happens to accept client communications on.
    If you're going to ask a listener to do listening duty on multiple ports, I'd first question your need to do that and I'd then point out that unless your client tnsnames.ora knows to talk on the second or subsequent port numbers, the listener is never actually going to make use of that second port.
    In either case, the port the listener listens on has nothing whatsoever to do with the port your client-to-server-process communication ends up taking place on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error deploying 2 processes in the same project BPM 11gR3 Project

    Hi I have a problem to deploy a project in OBPM 11gR3.
    I have 2 processes on the same project, and tried separately on different projects and working properly. But when I put in the same project I get the following error.
    [02:09:38 PM] Sending internal deployment descriptor
    [02:09:38 PM] Sending archive - sca_BPM_CGEO_PROJECT_rev1.0.jar
    [02:09:47 PM] Received HTTP response from the server, response code=500
    *[02:09:47 PM] Error deploying archive sca_BPM_CGEO_PROJECT_rev1.0.jar to partition "default" on server soa_server1 [auohscgeo20.oracleoutsourcing.com:40513]*
    [02:09:47 PM] HTTP error code returned [500]
    [02:09:47 PM] Error message from server:
    Error during deployment: Deployment Failed: Error occurred during deployment of component: BPMCGEOPROCESOGENERACIONCONTRATOVENTA to service engine: implementation.bpmn, for composite: BPM_CGEO_PROJECT: java.lang.NullPointerException.
    [02:09:47 PM] Check server log for more details.
    [02:09:47 PM] Error deploying archive sca_BPM_CGEO_PROJECT_rev1.0.jar to partition "default" on server soa_server1 [auohscgeo20.oracleoutsourcing.com:40513]
    [02:09:47 PM] #### Deployment incomplete. ####
    [02:09:47 PM] Error deploying archive file:/D:/Archivos/Casas GEO/SRC/GEO/BPM/BPM_CGEO_APPLICACION/BPM_CGEO_PROJECT/deploy/sca_BPM_CGEO_PROJECT_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Edited by: Eduardo.Reyes on 28-mar-2011 18:01

    Hi Eduardo
    This may not help but I am getting a similar problem and I have a possible workaround.
    I'm not a BPM expert though so...
    I have got a Null Pointer Exception, three times successively attempting to redeploy a BPMN Process SAR to WLS via JDeveloper only after I've added a new process to the project and attempted to redeploy.
    [05:45:17 PM] HTTP error code returned [500]
    [05:45:17 PM] Error message from server:
    Error during deployment: Error occurred during deployment of component: Responder313Process to service engine: implementation.bpmn, for composite: nicolson-soasuite-bpmn-ipc: java.lang.NullPointerException.
    [05:45:17 PM] Check server log for more details.
    The only way I can stop this Exception is to Undeploy the existing Process via Enterprise Manager, Stop and Restart WLS. (Which is very tedious...).
    To explain, I'm working though the various uses of Send/Receive tasks as described in Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1 (11.1.1.4.0) - 6.4 Communicating With Other Processes and Services.
    So I have about five scenarios, each with a simple Caller/Responding process and each with some very simple combination of Send/Receive tasks. When the deployment works, the process communications test fine via EM.
    Personally, this looks like a bug. I'm using version below on Win XP SP3.
    About
    Oracle JDeveloper 11g Release 1 11.1.1.3.0
    Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    Copyright © 1997, 2010 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.3.37.56.60
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.3.37.56.60
    Version
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.56.60
    BPMN Editor          11.1.1.3.0.6.84
    Java(TM) Platform     1.6.0_18
    Oracle IDE          11.1.1.3.37.56.60
    SOA Composite Editor     11.1.1.3.0.25.57
    Versioning Support     11.1.1.3.37.56.60
    Regards
    Jim Nicolson

Maybe you are looking for

  • Copy and Paste problem in Leopard

    I am archiving thousands of pict files to dvd, in OS 9.2 I simply open the window select all files, then copy all the file names and paste into my dvd cover index in Pages. This has worked fine. The problem is in Leopard it copys the actual files, no

  • Validations in FI-AP

    Hi, I want to prevent an invoice or downpayment being posted for  a specific vendor group, how do i achieve with validations, I have never done validations, can i get setps and syntax associated with it. Thanks

  • I am unable to activate my reserved data why is this happening?

    i have called technical support but they were unable to help because my account has a glitch that cant be fixed i need help!

  • Contrast adjustment creates color cast - why and how to fix?

    I used a local curves adjustment (with a layer mask) set to "Strong contrast" to make the space shuttle "pop" in a particular shot. I looked it so much I copied that adjustment layer to the rest of the launch sequence. I then realized that as I went

  • Getting Errors for not Connected to Internet

    Okay, so this happens with any program that I download that has to connect to a server, (Like Google Chrome), and Adobe.  Please help me.  I am really sad   When I try downloading anything it gives me an error saying please, have an internet connecti