Cannot get java system call to work

I am trying to make a system level call that will create a new user but have not been sucessful. I am reading the list of new users from newbousrs.txt file. Why am I getting the error message shown below? Here is my program:
import java.io.*;
public class ReadSource {
public static void main(String[] arguments) {
try {
FileReader file = new FileReader("newbousrs.txt");
BufferedReader buff = new BufferedReader(file);
Runtime rt = Runtime.getRuntime();
boolean eof = false;
while (!eof) {
String line = buff.readLine();
if (line == null)
eof = true;
else
System.out.println(line);
Process proc = rt.exec("\\Blowfish\\droot\\Program Files\\Business Objects\\BusinessObjects 5.0\\supervsr.exe -USER xxxxx -PASS yyyy -IMPORTUSERS \\Blowfish\\droot\\accsp\\public\\newusers\\newbousrs.txt");
buff.close();
} catch (IOException e) {
System.out.println("Error -- " + e.toString());
There error I get is this:
C:\jakarta-tomcat-4.0.3\webapps\webdav\WEB-INF\classes\accsp>java ReadSource
NU,Public,Steve Mcnealy,Steve Mcnealy,U,N,N,Y,N,N,PC,F,Y,N,N
Error -- java.io.IOException: CreateProcess: \Blowfish\droot\Program Files\Busin
ess Objects\BusinessObjects 5.0\supervsr.exe -USER accsp -PASS fish -IMPORTUSERS
\Blowfish\droot\accsp\public\newusers\newbousrs.txt error=3

Just a guess....
Program Files\\Business ObjectsSpace used in arguments in a command line command must have quotes around them. That includes the first argument.

Similar Messages

  • HT204380 I cannot get any FaceTime calls to work.

    I cannot get any FaceTime calls to work. If I do manage to talk to the other person, I only see myself. One only sees himself. One sees nothing. What are we doing wrong?
    Thanks.

    Sounds like a catch 22 situation. I rekon you are in the UK trying to use the 3 USB wimax stick.
    In anycase an iMac is a big machine to lug around. It's a difficult situation.
    If you have a neighbor, politely ask them if you can use their broadband for a short while. If this is not practical then call 3 and let them know your circumstances.
    I might be stepping on my own feet here…wait. You need Java 6.
    Ok for now, try the standalone combo update for Lion client. We will try things the manual way. It's a big download, please make sure you are not going to reach your download cap on your phone becuase you are now tethered to your mobile phone and I wouldn't want to see you pay a premium for this.
    Here is the Lion Client combo update. Download it and double click the eventual DMG file. http://support.apple.com/kb/DL1524

  • Cannot get Java Web plugin to work in Safari.

    I have been using the JAva web plugin for a while, and managed to get past the problem with the Oracle Java 7 plugin successfully, but today, the Java web plugin is not working for me at all, and I'm struggling to find out why.
    When I visit java.com and run their detection page, afer about a minute, it comes back with "We are unable to verify if Java is currently installed and enabled in your browser."
    I've followed the advice at http://support.apple.com/kb/HT5559 on how to re-enable the old Java 6 web plugin, I've tried reinstalling the Oracle plugin... but no matter what I do (restarting Safari, enabling disabling Java in Safari preferences, rebooting the Mac), I still cannot get it working in Safari.
    This is a massive problem as website myself and my 20,000 colleagues use to log in to work remotely depends on the Java web plugin.  Right now (as in this morning)... the only option I have is to use a different OS (i.e. Windows). 
    Longer term, I really want to get this working on OS X again - any advice on further troubleshooting?

    Apple has barred Java from running on Macs, leaving companies that rely on Java plug-ins out in the cold.
    Apple blocked Java 7 Update 11 by adding it to the banned list in XProtect.
    This is the second time in two weeks that Apple has blocked Oracle's code from running on Macs. This time Java is blocked through Apple's XProtect anti-malware feature.
    Java has come under fire as the means by which hackers have been able to gain control of computers. In April 2012 more than 600,000 Macs were reported to have been infected with a Flashback Trojan horse that was being installed on people's computers with the help of Java exploits. Then in August Macs were again at risk due to a flaw in Java, this time around, there was good news for Mac users: Thanks to changes Apple has made, most of us were safe from the threat.
    Unwilling to leave its customers open to potential threats Apple has apparently decided it's safer to block Java entirely.
    Macs running OS X Snow Leopard and beyond are affected.

  • Cannot Get Java Business Service to Work

    Hi,
    This is my first time using Siebel Java Business Service and I cannot get it to work.
    I followed all the steps: in
    http://www.impossiblesiebel.com/2010/04/java-business-service-jbs-tutorial.html
    1) used netbeans, Created the Java class with no package, created a jar file . I copied the jar file to my Tools/CLASSES directory
    2) added a [JAVA] entry to my local client CFG. in the
    [JAVA]
    DLL = C:\Program Files\Java\jre6\bin\client\jvm.dll
    CLASSPATH = D:\Siebel\8.1\Tools_1\CLASSES\Siebel.jar;D:\Siebel \8.1\Tools_1\CLASSES\SiebelJI_enu.jar;D:\classes;D :\Siebel\8.1\Tools_1\CLASSES\ImposSiebelXSLT.jar
    VMOPTIONS = -Xrs -Djava.compiler=NONE
    3) Created a BS based on CSSJavaBusinessService and added user property
    @class
    4) Execute the BS and I am always getting the error
    Class name incorrect or does not extend SiebelBusinessService : ImposSiebelXSLT -- JVM Exception:java.lang.UnsupportedClassVersionError: ImposSiebelXSLT : Unsupported major.minor version 51.0(SBL-EAI-05010)(SBL-EXL-00151)
    Can anyone please help!!!

    in case anyone faces a similar problem. The issue was a mismatch of java versions. I compiled with Java 7 but the jvm.dll was pointing to JRE6. When I pointed it to JRE7 it worked

  • Cannot get Java Query API to work

    I am trying to use the ultrasearch java api and am having no luck. I get this error:
    Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Closed Connection
    at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:561)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:725)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:677)
    at Test.search(Test.java:77)
    at Test.main(Test.java:92)
    Here is my code:
    oracle.ultrasearch.query.Instance searcher=new oracle.ultrasearch.query.Instance();
    Connection conn=getConnection();
    try {
    searcher.setConnection(conn);
    searcher.setInstanceName("ULTRASEARCH_DOTORG");
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
    searchRequest.setQuery(searchQuery);
    oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
    } finally {
    conn.close();
    Note that "getConnection()" is using the standard OracleDataSource class supplied with the current 10g driver; I've used it to connect to other oracle databases without trouble. I am working within a standard Windows JDK 1.5 (also tried 1.4.2) environment.
    I've also tried using QueryInstance instead of Instance - exception and code follow:
    Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: User credentials doesn't match the existi
    ng ones
    at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
    at oracle.ultrasearch.query.Instance.getMetaData(Instance.java:432)
    at Test.search2(Test.java:89)
    at Test.main(Test.java:94)
    oracle.ultrasearch.query.QueryInstance searcher=new oracle.ultrasearch.query.QueryInstance();
    searcher.setConnectionString(jdbcURL);
    searcher.setUser(jdbcUserName);
    searcher.setPassword(jdbcUserPass);
    searcher.setInstanceName("ULTRASEARCH_DOTORG");
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
    searchRequest.setQuery(searchQuery);
    oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
    Any ideas?

    As always I find the answer right after I post a question....
    This post explained it pretty well:
    Connection Pooling and QueryInstance
    My first example will work as long as I call Instance.setCloseConnection(false). Apparently the second example can only work in OC4J, although I haven't verified such.
    It would be a really good idea for Oracle to get it together and add this information to their JavaDocs.

  • Cannot get external procedural call in Oracle RAC Environment

    Cannot get external procedure call to work in our test RAC env.
    We are able to get it to work in our DEV env which is a single instance
    LISTENER.ORA:
    NODE1:
    # listener.ora Network Configuration File: /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_SBLBGT01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sblbgt01-vip1)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.41.1.21)(PORT = 1521)(IP = FIRST))
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=ANY")
    NODE2:
    # listener.ora.sblbgt02 Network Configuration File: /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora.sblbgt02
    # Generated by Oracle configuration tools.
    LISTENER_SBLBGT02 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sblbgt02-vip2)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.41.1.22)(PORT = 1521)(IP = FIRST))
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=ANY")
    2) ### If you are receiving errors, please list exact error messages and text: ###
    (cont 1.)
    tnsnames.ora (on both nodes):
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO)))
    [opt/oracle/app/oracle/product/10.2.0/db_1/network/admin]> tnsping EXTPROC_CONNECTION_DATA
    TNS Ping Utility for Solaris: Version 10.2.0.3.0 - Production on 11-APR-2011 10:52:49
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = extproc)) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO)))
    OK (0 msec)
    Calling External Procedure:
    SQL> execute ttran.shell('ls');
    BEGIN ttran.shell('ls'); END;
    ERROR at line 1:
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "TTRAN.SHELL", line 1
    ORA-06512: at line 1

    Any Reply Please...
    would appreciate your help...

  • I cannot get any phone call when my iphone is sleeping

    Hi,everyone. I cannot get any phone call when my iphone is sleeping ( or locked ). After I active my phone, it will show how many call I missed. Does anyone have the same problem with mine? I tried reset, update software, but still not working.

    to put your iPhone to sleep follow these steps:
    1) press the sleep button once - screen will go dark and you'll hear a click.
    2) press home button once - screen will light up with your wallpaper in the background, time, date, etc.
    3) DO NOTHING for five (or so) seconds and then your iPhone will sleep.
    if you receive a call, iPhone will wake automatically. otherwise to wake the iPhone, press the home button - iphone will wake. slide the unlock bar (enter pass code, if enabled) and use.
    to return to sleep mode, repeat sequence (1 through 3)
    doing this will allow calls to come through while Iphone is asleep and prolong the battery charge exponentially.

  • I cannot get my juno account to work on the ipad

    i cannot get my juno account to work on the ipad

    Hi Cantonvase.
    I am going to asume that you have a MBP 13" Mid 2012 as you have in your profile.
    First check if you computer is updateing the spotlight.  Second. Make sure the Icloud acount is activated. (using your apple id and password). Once that is working, and all of these are made, repair permitions and wait be sure all programs are close. Reset the computer.
    Once that is done. Go to system preferences, Select Security and Privacy. Then select privacy and see if maps is seleccted in location services. In order to change that unlock the lock and add the password fom you computer.
    If that is check, we can see what we can do next.  Also make sure that diagnostic & usage is selected, so all these info be send to apple for making these better. 
    One step at a time. 
    I work 2 instalacion. One clean install and 1 upgrade. The clean isntall has being perfect so far. I only find 2 errors so far and i am working on those right now.
    Carlos

  • TS3899 i cannot get my suddenlink email to work

    I cannot get my suddenlink email to work.  I have checked and re-checked settings. Called Suddenlink. Deleted account and then added again.  Was receiving mail just couldn't send any mail.  Now it won't send or receive.  Any help would be appreciated....Thanks!

    I figured it out!  Settings>Suddenlink email>outgoing mail server>SMTP>tap on primary server>turn off Use SSL>change Server Port to 587

  • On Apple TV, my pictures have loaded, but I cannot get the slideshow function to work.  It has been "loading" 28 pictures for over 5 minutes.  What is wrong?

    On Apple TV, my pictures have loaded, but I cannot get the slideshow function to work.  It has been "loading" 28 pictures for five minutes.  What am I doing wrong?  I have Windows 7 on my PC.

    I don't have any direct experience with D-Link equipment, but I may be able to provide some general advice. See if you can use a Web browser to connect to the D-Link's configuration screen. This probably involves visiting a URL such as http://www.192.168.0.1 . If you haven't changed the sign-on parameters, a quick Google search should find them for you.
    Once there, note as many configuration details as you can find. You'll need those to configure your Time Capsule.
    Use the AirPort Utility to configure the Time Capsule.
    One last thing: It's quite possible that the Verizon network will have locked onto the "MAC" address of your D-Link router. Something needs to be done to reset this. If there's a separate box at your house that came with the FIOS equipment that's "upstream" from the D-Link router, I'd cycle power on it to see if that does the job. Otherwise you'll probably need to call Verizon to ask them to reset things once your Time Capsule is installed in place of the D-Link router.

  • I cannot get my iPad 2 to work with VPN provider.

    I cannot get my iPad 2 to work with my VPN service provider.  Using OS 4.3.3.  iPad purchased in the USA.  Have heard there are issues with iPad 2 and VPN support.  Any suggestions?

    You can try this ... hold down on the sleep button and the power button at the same time for about 10 seconds until you see the Apple logo on the screen, release the buttons and see if the iPad restarts and you can use it.

  • I cannot get the numerical keys to work on my Mac pro any ideas?

    HI
    I am trying to return something bought on line and need to fill out various information on the website. I cannot get the numerical keys to work anybody any ideas as to what I may be doing wrong?
    GL

    Hi Goostrey Lou,
    Thanks for visiting Apple Support Communities.
    Start with the tips in this article if some keys on your keyboard are not working:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/ts1381
    All the best,
    Jeremy

  • I installed the new 7.0 on my ipad and now I cannot get my internet connection to work. Any ideas, I have already tried rebooting but no luck. Another useless apple update that doesnt work?

    I installed the new 7.0 on my ipad and now I cannot get my internet connection to work. Any ideas, I have already tried rebooting but no luck. Another useless apple update that doesnt work?

    1. Turn router off for 30 seconds and on again.
    2. Settings>General>Reset>Reset Network Settings.

  • I have acquired a macintosh 950 computer made in approximately 1995, which powers up just fine, except that I cannot get the system to recnogise a keyboard and mouse.  Any suggestions would be helpfull!!

    I have acquired a macintosh 950 computer made in approximately 1995, which powers up just fine, except that I cannot get the system to recnogise a keyboard and mouse.  Any suggestions would be helpfull!!

    ray,
    We just moved a couple of those CPUs the other day.  Can you indicate your location with the name of a city near you?  A user group might be nearby.
    Jim

  • I cannot get the Output Module to work. I was able to get the button to show up, but when I click on it, nothing happens. i need to export a PDF asap

    I cannot get the Output Module to work. I was able to get the button to show up, but when I click on it, nothing happens. i need to export a PDF asap. I am trying to export 33 PSD files in BRIDGE to a PDF like I used to do on my other computer with bridge.

    Let's start with the general things.
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

Maybe you are looking for

  • Error trying to backup iPhoto Library

    I recently had a backup drive fail and is unrecoverable.  Thus I am trying to create a new backup for my 130GB iPhoto Library.  I'm using iPhoto '09 version 8.1.  I'm using Mac OS X version 10.5.8.  My library is currently on an external hard drive a

  • Another dodgy headphone jack (This time in a Nee

    so i've been using my Zen Neeon since Christmas (present) and it's been prety good. That is until now, I've been using the remote with it, and it suddenly stopped working one day, shortly after (maybe a few days) it would cut in and out on the right

  • Where may i sent an email with suggestions..??

    I got two suggestions that i hope you will consider to develop or at least reply to me about them. Please forgive me for my short informed state about the latest (or even older ) topics about the issues that i will mention. The first issue concerns t

  • TV tuner in HP HDX X16-1315EA

    I just purchased a HP HDX X16-1315EA which has an integrated TV tuner. The PC came with Vista which I have upgraded to Win 7; when I run the TV app it seems unable to find any stations. Is the tuner capable of receiving digital terrestrial TV (in the

  • Problem after inserting animations

    Whenever I insert an animation into a Captivate slide, the drop-down menus for Captivate become very unstable; they won't stay down long enough to make a selection. So I can only save the project and close, then reopen. Very frustrating. Any ideas?