Run separate Process

I want to execute Ftp process when executing the program,but it is not working properly, what is wrong in the code.If it is wrong how to do?
public class check
     public static void main(String[] args) throws Exception
          Runtime r = Runtime.getRuntime();
r.exec("cmd /C FTP 10.0.1.201");
plz suggest.
with regards
-Raja.

Dear sir,
I'm not getting any exception sir.
Actually I want to Ftp it into one IP after that transfer some files to that IP in particular directory like this
Ftp -s:process.txt <ip>
the process.txt contains all the ftp commands to do the necessary things.
but after executing the program,it is not working .
plz suggest me how to do this.
with thanx and regards.
-Raja.

Similar Messages

  • BUG? 10.1.3 EA: Ant running in a separate process error.

    I'm trying to run Ant in a separate process and use different J2SE with it (JDK 1.4.1_03) and getting the error below. Seems to work ok with different JVM versions (tried 1.5 and 1.4.2). But we need to use JDK 1.4.1_03 to compile the project. Fails both for default Ant version and if I try to specify a different one. Is there any other way to make ANT to use specific JDK?
    Thanks,
    Noel.
    ===========================================================
    C:\jdk141_03\bin\javaw.exe -classpath C:\jdev10g13EA\jdev\lib\ojc.jar;C:\jdev10g13EA\j2ee\utilities\ant-oracle-classes.jar;C:\jdev10g13EA\webservices\lib\wsa.jar;C:\jdev10g13EA\jdev\lib\jdev.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-antlr.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-bcel.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-bsf.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-log4j.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-oro.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-regexp.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-apache-resolver.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-commons-logging.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-commons-net.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-icontract.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-jai.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-javamail.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-jdepend.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-jmf.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-jsch.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-junit.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-launcher.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-netrexx.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-nodeps.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-starteam.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-stylebook.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-swing.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-trax.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-vaj.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-weblogic.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-xalan1.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant-xslp.jar;C:\jdev10g13EA\apache-ant-1.6.5\lib\ant.jar;C:\jdk141_03\lib\tools.jar -Djdev.ant.port=4358 -Dant.home=C:\jdev10g13EA\apache-ant-1.6.5 org.apache.tools.ant.Main -logger oracle.jdevimpl.ant.runner.OutOfProcessAntLogger -debug -inputhandler oracle.jdevimpl.ant.runner.OutOfProcessInputHandler -f C:\devbuild.xml clean
    Apache Ant version 1.6.5 compiled on June 2 2005
    Buildfile: C:\RCA_DEPOT\inovisworks\projects\iw-archive\core\hegemony\devbuild.xml
    java.lang.NullPointerException
         at java.net.Socket.<init>(Socket.java:283)
         at java.net.Socket.<init>(Socket.java:119)
         at oracle.jdevimpl.ant.runner.OutOfProcessIDEHook.connect(OutOfProcessIDEHook.java:43)
         at oracle.jdevimpl.ant.runner.OutOfProcessAntLogger.buildStarted(OutOfProcessAntLogger.java:45)
         at org.apache.tools.ant.Project.fireBuildStarted(Project.java:1831)
         at org.apache.tools.ant.Main.runBuild(Main.java:622)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.Main.start(Main.java:150)
         at org.apache.tools.ant.Main.main(Main.java:240)

    I believe this is Sun bug 4712609. This was a bug in JDK 1.4.1, which was fixed in JDK 1.4.2 and later.
    The only workaround I can think of is to run JDeveloper itself in JDK 1.4.1_03. If you then run Ant in the same process as JDeveloper, it will be running in JDK 1.4.1_03.
    -Matt Hawkins
    Oracle JDeveloper

  • When I attempt to open firefox an error message appears telling me that firefox is already running, but I can't find it running. How do I do so or in any case close the already running Firefox process?

    When I attempt to open Firefox instead of Firefox opening, an error message appears saying "Firefox is already running but isn't responding. To open another window please close the existing Firefox process or restart the system.", but I can't find that process of Firefox in order to kill it, and after restarting the system there is still the problem. I have found an emergency fix to at least get online, and that is to use"Firefox_Profile_Manager" in the start menu's "run" start menu, but the
    Firefox that then opens is that one doesn't carry over what I had in my bookmarks but starts bookmarks anew.

    Sounds like it is hanging when you exit and later try to restart Firefox.
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    **Windows 7 users: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    * What may cause Firefox to hang at exit
    **Windows 7 Task Manager: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem: ***See: http://kb.mozillazine.org/Safe_Mode
    ***Firefox 4 users, hold the Shift key while clicking the Firefox 4 desktop icon to enter Safe Mode.
    ***Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox.
    ****In Firefox 4, Safe Mode also disables Plugins and Hardware Acceleration.
    ****If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode (In Firefox 4, Tools > Add-ons > Appearance). See: http://support.mozilla.com/en-US/kb/Using%20themes%20with%20Firefox#w_managing-themes-and-personas
    ****When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode".
    ****Test to see if the problem you are experiencing is corrected.
    *** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it
    ***#by enabling '''<u>one at a time</u>''' until the problem reappears.
    ***#You can also enable a few at a time (3-5), keeping track of what you just re-enabled to see if the problem re-occurs; this will help narrow down the possibilities if you have a large number of add-ons.
    ***#'''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit).
    ***#You can use "Disable all add-ons" on the Safe Mode start window.
    **See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *Shockwave Flash 10.2 r153
    *Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Problem in Activating Hierarchy Attribute change run through process chain.

    Hi All,
    I have the problem in Hierarchy change run processw running through process chain..and also process chain completes successfully without any error..
    Even hierarchy change run  completes successfully the hierarchy objects are not activating,
    so daily when i have to activate hierarchy objects manually..
    and what i did was in one attributechange run process i have included 10 hierarchy object is it correct or else i have to separatly create 10 attribute change hierachy proceess in the process chain.. pls through some lights on this issue
    With regards,
    Hari

    Hi venkat,
    Yes.. i already include the save hierarchies process in process chain...
    my main problem is hierarchy infobject are not activating  using process chain and also even process chain is not giving error message.. and in which log table the hierarchy objects are maintained (such as run time, date , status etc..).
    IS there is any other settings to be made in process chain..
    with regards,
    hari

  • Can Java execute batch file outside of current JVM in separate process tree

    Hi,
    Does anyone know how to run programs from Java as separate processes that will not die when the spawning java program exits (JVM exits).
    The problem I have with using Runtime.exec is it spawns only child processes under the current running JVM, thus when the origonal program that called Runtime.exec ends so does all child processes.
    Basically I want to start a DOS batch file from my Java application, my Java application will then immediately exit (calling System.exit(0) ). The batch program will continue to run, its does some file clean up, create's some new files and deletes the old jar (containing the main app), it then rebuilds the main app jar and and executes the main class and then exits itself.
    I've also tried the apache.tomcat.jni.Proc :-
    long pool = Pool.create( new Long(0).longValue() );
    long pa = Procattr.create( pool );
    Procattr.dirSet( pa, "c:\\temp\\updater\\");
    Procattr.cmdtypeSet( pa, Proc.APR_SHELLCM );
    Procattr.detachSet( pa, 1 );
    long proc = Proc.alloc( pool );
    Proc.create( proc, "test.bat", new String[]{"test.bat"}, null, pa, pool );
    System.exit(0);
    The detach option doesn't work, if I take it off then the bat file runs and stops the JVM exiting, if I leave it in the batch file never gets called.
    Is this possible in Java. Can java start master process on Windows XP JDK1.5+?
    Cheers
    Chris.

    Well I found the answer elsewhere (java.net) thought I'd post it here for future visitors who might be experience the same problem.
    Basically Runtime can do this however it must be done the following way :-
    The java:-
    public class Main {
        public static void main(String[] args) throws Exception {
            Process p=Runtime.getRuntime().exec("cmd /c c:\\test.bat");
            System.out.println("done");
            System.out.println("quitting");
            System.exit(0);
    }The batch:-
    @echo off
    PING 1.1.1.1 -n 1 -w 5000 >nul
    java -cp "c:\ " MainThe important line that makes the whole thing work is :-
    @echo offIf this line is missing then the whole things locks up (must be the io streams getting used)
    Also this code can not be run from an IDE (well at least not from Intellj) as it also locks up.
    It must be run from a command prompt or jar.
    Also note that any commands in the batch file must have there output redirected to "nul" otherwise Windows kills the cmd as soon as it trys to output to a dead stream (dead because the Java has exited). for example :-
    @echo off
    PING 1.1.1.1 -n 1 -w 10000 >nul
    cd %1
    del /F /Q *.* >nul
    move /Y new\*.* >nul
    RD /Q /S new >nul
    PING 1.1.1.1 -n 1 -w 1000 >nul
    java -cp "c:\ " Main
    exit

  • JMX Remote and MBeans in separate Processes

    Hi,
    I found on Sun blogs - http://blogs.sun.com/jmxetc/entry/what_is_jmx
    following:
    "An EJB lives in an Application Server container. It usually implements business logic. An MBean lives in an MBeanServer, and usually implements management logic"
    That means, when an MBeanServer is killed, an MBeans dont't run anymore?
    I have several Java applications.
    I want use the JMX to manage (remote) this applications (start, stop, status watch) I created one MBean for every application and registered them on an MBeanServer. I can now start, stop application and observe the status.
    public interface AdapterMBean {
    String getStatus();
    void start();
    void stop();
    But when I kill the process of MBeanServer, my applications don't run anymore.
    Method start() starts application in new Thread.
    Can JMX fulfil this requirement, that an MBeanServer runs in its own process and MBeans run in separate processes (now on the same machine)?
    If yes, what shoul I do?
    thanx
    Peter

    Hi,
    I found on Sun blogs -
    http://blogs.sun.com/jmxetc/entry/what_is_jmx
    following:
    "An EJB lives in an Application Server container. It
    usually implements business logic. An MBean lives in
    an MBeanServer, and usually implements management
    logic"
    That means, when an MBeanServer is killed, an MBeans
    dont't run anymore?You don't kill an MBeanServer. What do you mean by 'kill an MBeanServer'?
    I have several Java applications.
    I want use the JMX to manage (remote) this
    applications (start, stop, status watch) I created
    one MBean for every application and registered them
    on an MBeanServer. I can now start, stop application
    and observe the status.
    public interface AdapterMBean {
    String getStatus();
    void start();
    void stop();
    But when I kill the process of MBeanServer, my
    applications don't run anymore.
    Method start() starts application in new Thread.
    Can JMX fulfil this requirement, that an MBeanServer
    runs in its own process and MBeans run in separate
    processes (now on the same machine)?
    If yes, what shoul I do?
    thanx
    PeterWhen you kill a process, you kill all its execution threads.
    A thread is not a process. It runs within a process.
    If you want your applications to remain alive when you kill
    the process that started them you need to start them in a
    new separate process. See System.exec().
    The question is: why do you kill the process that runs all your
    applications in the first place?
    Are you sure you are doing what you want to do?
    regards,
    -- daniel
    JMX, SNMP, Java, etc...
    http://blogs.sun.com/roller/page/jmxetc

  • Running a process within a java program

    Hi
    I have code that runs a process for performance monitoring on an installed system. When I run the code standalone as below, it runs fine. If I include the code below inside another java program, the process fails to execute and the status returned is non-zero (failed to execute).
    The process requires the PATH and LD_LIBRARY_PATH to be set which seem to be set correctly when i print them out. So, I am not sure why the process doesnot run when included within another running java program.
    Can someone please point out what I maybe missing?
    Thanks!!
    public class RunPerf
      private static final String CLASS_NAME = "RunPerf"; private static Process proc = null;
    public static void main(String[] args)
        String INSTALLPERF_SAW_UNIX_COMMAND = "sawexe" + " " + "-perf";
             StringBuffer path1 = new StringBuffer(30);StringBuffer ldlibpath1 = new StringBuffer(30);
        System.setProperty("user.home", "/home/user");
        StringBuilder commandToExecute = new StringBuilder();
       commandToExecute.append(System.getProperty("user.home"));
       commandToExecute.append(File.separator);
       commandToExecute.append("web");
       commandToExecute.append(File.separator);
       commandToExecute.append("bin");
       commandToExecute.append(File.separator);
         String path = System.getProperty("user.home")+"/server/bin/" + File.pathSeparator + System.getProperty("user.home")+ "/web/bin";
           path1.append( path );
           path1.append( File.separator );
           path1.append( System.getProperty("java.library.path") );
           path1.append( File.separator );
          String env_value = null;
         String[] ldargs = {"LD_LIBRARY_PATH"};
         for (String env: ldargs) {
                env_value = System.getenv(env);
             System.out.println("LD_LIBRARY_PATH value before setting property= " + env_value);
                if (env_value != null) {
               String newldlibpath = System.getProperty("user.home")+ "/server/bin/" + File.pathSeparator + System.getProperty("user.homee")+ "/web/bin" ;
                ldlibpath1.append(newldlibpath);
                ldlibpath1.append(File.separator);
                   ldlibpath1.append(env_value);
                   ldlibpath1.append( File.separator);
                    System.out.format("%s=%s%n", env,ldlibpath1.toString());
                } else {
                    System.out.format("%s is not assigned.%n", env);
                 commandToExecute.append(INSTALLPERF_SAW_UNIX_COMMAND);
                   String[] envp =   { "USER_HOME =" + "/home/user",          "PATH=" + path1.toString(), "LD_LIBRARY_PATH=" + ldlibpath1.toString() };
               int status = executeCommand1(commandToExecute.toString(), envp,null);
                   if(status != 0){
                          System.out.println("Unable to run perf Unix") ;
         public static int executeCommand1(String command,String[] envp, Logger logger) {
            String METHOD_NAME = "executeCommand1";
            if (logger == null) { logger = Logger.getAnonymousLogger();}
            logger.entering(CLASS_NAME, METHOD_NAME, new Object[] { command, envp});
            Runtime runtime = Runtime.getRuntime();
            runtime.addShutdownHook(new Thread() {
                        public void run() {
                            if (proc != null) {     try {  proc.destroy();  if (proc != null) { proc.destroy();  }
                                } catch (Exception e) {
                                    e.printStackTrace(); }      }      }     });               
                           int retVal = 0;
          File cwd = new File(System.getProperty("user.home")+ "/web/bin/");               
                           try {
                               if (envp != null) {   proc = runtime.exec(command, envp,cwd); }
                                       else {  proc = runtime.exec(command); }
                               Thread t_err =        new Thread(new StreamReader(proc.getErrorStream()));
                               t_err.start();
                               Thread t_in =     new Thread(new StreamReader(proc.getInputStream()));
                               t_in.start();
                               retVal = proc.waitFor(); } catch (IOException e) {        retVal = -1;   logger.severe("IOException");      }
                                     catch (Exception e) { retVal = -1;        logger.severe("Exception");                  }
                     logger.exiting(CLASS_NAME, METHOD_NAME, retVal);
                     return retVal;
    static class StreamReader implements Runnable {
            InputStream in;
            public StreamReader(InputStream genericStream) {   in = genericStream;   }
            public void run() {
                try {
                    String strTemp = null;
                    BufferedReader buffReader = new BufferedReader(new InputStreamReader(in));
                    while ((strTemp = buffReader.readLine()) != null) {
                        System.out.println(strTemp);                }
                } catch (Exception e) {               e.printStackTrace();            }        }    }}

    Either set up a script before the program runs or have the
    program write a script file which contains the statements
    that need to be executed. Then you will be able to
    execute the script with a call to
    Runtime.getRuntime().exec()Mark

  • Error while running the process chain

    Hi, I am getting following error while running the process chain.
    "Lock NOT set for: Deleting the data completely from a data target"
    Please suggest.
    amit

    hi,
    This is due to a lock on the objects which is being used by ur load.
    Even if master data used by this would be in a lock by an attribute change run. wait till that attribute change run finishes and then repeat.
    If this target itself is locked by someother process like rollup , compression , this error would appear. In this case also repeat the step after those locking process finish.
    some general locks during loading:
    Sometimes parallel processing in DTP might lead to this, its better set the DTP and infopackage in serial processing. In this case change the settings and then repeat the process.
    There is a specific case in which the Serial DTP gets locked by itself, in this case repeat it untill it succeeds.
    You can identify the above scenario as below. This is applicable only if the DTPs processing mode is serial.
    if u see in SM 37 this load would have three DTP processes running.
    it should have only two.
    In this case cancel the process and repeat it untill u get it right.
    hope this helps u
    regard,
    ranjith
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:44 AM
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:46 AM

  • Error while running BPEL Process with Oracle Apps Adapter.

    Hi All,
    I am trying to configure the oracle apps adapter in JDeveloper.
    Here my EBS is running on different database where as SOA is installed on different database.
    I am able to properly configure the adapter & deploy the process to weblogic server.
    But when I am trying to run the process I am getting following errorr.
    <p>
    The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510\nJCA Resource Adapter location error.\nUnable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>\nThe JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='*<JNDI Name passed in Oracle apps Adapter.>*'.\nThe reason for this is most likely that either \n 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or \n 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to <JNDI Name passed in Oracle apps Adapter.>
    </p>
    Please suggest the solution for the same.
    its really urgent . waiting for reply.
    Edited by: aumathe on Dec 16, 2010 2:33 PM

    Have you created a connection pool with the JNDI specified while configuring adapter in Oracle Apps adapter on weblogic admin console. You should create it at Deployments --> OracleAppsAdapter --> Configuration--> Outbound Connection pools
    Make sure to update the adapter after creating a connection pool so that changes can take effect.
    Regards,
    Anuj

  • RFC ERROR while running BI Process Chain

    I'm recieving the following error while running certain Process Chains in BI.
    RFC error: FAILED
    RFC Message: FAILED
    The system log in BI shows the following.
    Communication error, CPIC return code 017, SAP return code 672
    672 Logon to Netweaver failed
    Other process chains work correctly via CPS.
    Any Ideas?
    Thanks

    This looks like a BW problem. Do you get the same message when you submit it manually in SAP?

  • Process chains get an error when run analysis process

    When my PRD system‘s process chains run analysisi process, I  gets below error message:
    Error occurred when starting the parser: Error when opening an RFC connection (FUNCTION: 'R
    Message no. BRAINOLAPAPI011
    Diagnosis
    Failed to start the MDX parser.
    System Response
    Error when opening an RFC connection (FUNCTION: 'R
    Procedure
    Check the Sys Log in Transaction SM21 and test the TCP-IP connection MDX_PARSER in Transaction SM59.
    It's OK when i test the TCP-IP connection MDX_PARSER in Transaction SM59.
    The Sys Log in Transaction SM21(error part):
    M Wed Mar 19 09:22:50 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  RFC 1878  CONVID 18933904
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: JY-LKZ (Client: 900)
    A  RFC> Destination: CALLTP_AIX (handle: 8, DtConId: 530F4E5C30AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 68443927, {5328109B-5F5D-12A0-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18933904 IDX=35
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=5328109B5F5D12A0E1008000C0A8642F}_5
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE
    M
    M Wed Mar 19 09:23:15 2014
    M  *** ERROR => ThPOpen: ExecPopen("/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61, r, ..) returned -14 [thxxexec.c
    M  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  RFC 1878  CONVID 18968493
    A   * CMRC=0 DATA=0 STATUS=0 SAPRC=0 RfcExecProgramKernel RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    A  RFC> ABAP Programm: SAPLSTPA (Transaction: )
    A  RFC> User: TMSADM (Client: 000)
    A  RFC> Destination: CALLTP_AIX (handle: 3, DtConId: 530F4E7830AF4550E1008000C0A8642E, DtConCnt: 0, ConvId: ,)
    A  RFC SERVER> RFC Server Session (handle: 1, 70212851, {53281195-8F75-0F10-E100-8000C0A8642F})
    A  RFC SERVER> Caller host:
    A  RFC SERVER> Caller transaction code: STMS (Caller Program: SAPLTMSC)
    A  RFC SERVER> Called function module: TMS_CI_START_SERVICE
    A  *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1887
    FUNCTION: 'RfcExecProgramKernel'
    RfcRaiseErrorMessage cmd could not be started by OS (rc = 1)
    PROG ="/usr/sap/BWP/DVEBMGS00/exe/tp" bwprd sapgw00 18968493 IDX=61
    [abrfcio.c    9213]
    A  {root-id=532810645F5D12A0E1008000C0A8642F}_{conn-id=532811958F750F10E1008000C0A8642F}_1
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: end RX_GET_MESSAGE.
    ps.
    1、IT's everything ok in the development system.
    2、It’s ok when i repeat this analysis process .
    3、It’s ok when i run this analysis process in analysis process designer.
    4、Attachment is the sys log in sm21.
    Thanks everyone.

    Hi Vignesh.B,
    Yes,it's not user's problem . But i don't  think it APD's problem .Cause all APD has the same problem and .
    Below is one of APD souce and target :
    Hope this information  is useful .
    Regards,
    Lian

  • How to run a process flow in recovery mode

    Hi,
    I have 10 Mappings in a Process Flow. While executing that process flow, All of sudden It got errored out at 5th mapping.
    Please explain me how to run the process flow again from the 5th mapping( which got errored out in the previos run)....i.e I do not want to run the first 4 mappings in that process flow again, I want to run only the remaining mappings in the process flow.
    Please let me know in case you need more information / explaination.
    Thanks in advance...

    Hi
    On the question of process flows and resuming the following article gives some ideas, it has to be designed in the process flow basically;
    http://www.rittmanmead.com/2008/05/resuming-your-etl-process-in-owb/
    The article describes some ideas and techniques for tracking success/failure of flows and restarting.
    Cheers
    David

  • ABAP PROGRAM to run a process chain

    Hello all,
    What is the ABAP program to run a process chain after a step that has failed but is manually corrected?
    In short a std ABAP program to run a pc.
    Regards,
    NIKEKAB

    Hi.
    Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
    Regards.

  • Error in 'eMail Response - Process Message' --- Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(

    Hi,
    When I was simulating the 'eMail Response - Process Message', I had been getting the below error when entering to 'Create activity Process' step.(provided all the inputs per testmode.xml file)
    Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(SBL-BPR-00183)
    I increased the log level to 5 and got the below message in log file
    ObjMgrBusServiceLog    InvokeMethod    4    0000000251b51f04:0    2013-06-10 01:30:12    Begin: Business Service 'XML Hierarchy Converter' invoke method: 'DocToHier' at 12cc4240
    ObjMgrBusServiceLog    Error    1    0000000251b51f04:0    2013-06-10 01:30:12    (xmlcnvsv.cpp (548)) SBL-EAI-00246: XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments
    I was wondering I could not find 'XML Hierarchy Converter' business service in 'eMail Response - Process Message' and 'eMail Response - Create Activity' sub process.
    Can any body help me out in this regard.
    Thanks in advance..
    Jagadeesh

    Hi Naresh,
    yes, I am using the delete polling strategy. Here is the .jca file:
    <adapter-config name="Pozadavky" adapter="Database Adapter" wsdlLocation="Pozadavky.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/PozadavkyConn" UIConnectionName="PozadavkyConn" adapterRef=""/>
    <endpoint-activation portType="Pozadavky_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="Pozadavky.Pozadavky"/>
    <property name="QueryName" value="PozadavkySelect"/>
    <property name="MappingsMetaDataURL" value="Pozadavky-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="120"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

  • Separate Process order for utilities

    HI,
    My requirement is can we create separate process orders for utilities based on the actual consumption of Plant1 & plant2, so that there will not be any WIP change effect in the system. How to go about it & if do the changes any implications,  please comment on this highly appreciated.
    Srini

    Your requirement is not clear.
    Please explain properly.

Maybe you are looking for

  • Error when installing Premier 9 to Mac

    I am attempting to install my Adobe Premier Elements 9 from my disc (not purchased from Adobe, but from Amazon).  The computer recognizes the disc and when it begins installation it spits the disc out and shows this error message. Exit Code: 7 ------

  • [SOLVED] WINE has no more support for xinput?

    Short version: WINE programs no longer have pressure sensitivity. Tablet works fine in non-WINE programs like GIMP. I hope this falls under multimedia because my Windows graphics programs (Artrage, Photoshop) don't have pressure sensitivity any more.

  • $AP_TOP/reports/US

    hello , can any one tell me about this " $AP_TOP/reports/US" actually I want to register oracle report(emp.rdf) in EBS and first step is that copy emp.rdf in "$AP_TOP/reports/US" but I don't know about $AP_TOP/reports/US so please tell me about $AP_T

  • Verizon admits error in cancelling my order and offers no restitution

    I ordered an iPhone 5 and Verizon admits that my order was automatically cancelled by mistake.  I asked a Verizon representative, "who cancelled the order and why?"  The Representative claimed no explanation was given for the Cancellation.  According

  • Add-on updates produce webpages that keep appearing when I start Firefox--how do I keep this from happening?

    When the add-ons are updated, a webpage appears stating that the update was successful. In the past I would exit the tab and this notice would not appear again. However, these pages appear to be persisting when I close Firefox down and then reopen im