Processbuilder works from command line but not on deployment server

I need to deploy my code on a 10g oc4j Oracle server. When I ssh into the server and run the following code, it works:
import java.util.*;
import java.io.*;
public class Launcher {
public static void main(String args[]) throws IOException {
String url = "http://www.ebay.com";
String[] commands = {"/bin/sh", "-c", "/opt/sfw/bin/firefox ", url, "-width", "1600", "-height", "1200", ":5"};
ProcessBuilder pb = new ProcessBuilder(commands);
env.put( "DISPLAY", ":5" );
Process process = pb.start();
It launches firefox and I can see the process running when I use "ps -ef | grep firefox". Firefox runs in a virtual frame buffer since this is a headless server. Originally I had problems just getting this code working by itself, but now it works fine.
However when I deploy the exact same code via Oracle application server, it doesn't do anything. Not only do no processes show up but I have added different output statements into this code and have verified that firefox never launches. However no error is ever thrown either, even when I just test for generic Exceptions. So any ideas on what I can do to get this running?

Caffeine0001 wrote:
sabre150 wrote:
Solerous wrote:
Also, I do handle the stdIn and stdOut in the code. I was trying to pair down the code in my inclusion of it here to just give the bear minimum for running it. Here is my code for handling it if you'd like to see it:
InputStream is = process.getInputStream();
     InputStreamReader isr = new InputStreamReader(is);
     BufferedReader br = new BufferedReader(isr);
     String line;
     System.out.printf("Output of running %s is:",
     Arrays.toString(commands));
     while ((line = br.readLine()) != null) {
     System.out.println(line);
     }I don't see stderr being handled and your command array is still wrong.
Edited by: sabre150 on Dec 10, 2008 4:48 PM
If he were to call [ProcessBuilder.redirectErrorStream(true)|http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html#redirectErrorStream(boolean)] then all he has to handle is stdout.
True, then that would be just one more important thing that the OP failed to post in his "*exact* same code" .

Similar Messages

  • Query runs from command line, but not from scheduler

    We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin team schedules the encrypted shell script with Control-M. That works fine, but we've been trying to have the DB user and password on a separate encrypted file so that we don't have to ask for file encryption every time it's necessary to modify a script (this is a test environment).
    We have the script at ~/system_name/scripts, the query at ~/system_name/sql and the encrypted file and key at ~/system_name/keys. The SQLPlus call in the script is:
    ${ORACLE_HOME}/bin/sqlplus "`decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system`"@instance_name <<EOF
    @${DIR_SQL}/TEST_QUERY.SQL
    quit
    EOF
    The security analyst has tested is successfully from command line, but when we schedule it with Control-M the job abends and we get the following in the sysout:
    + decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system
    decrypt: cannot open ./../keys/key.3des.system
    decrypt: invalid key.
    + /u00/app/oracle/product/11.1.0/db_1/bin/sqlplus @instance_name
    + 0<<
    @/sistemas/hmp/system_name/sql/TEST_QUERY.SQL
    quit
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon May 3 09:41:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SP2-0310: unable to open file "instance_name.sql"
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0000000080
    Any ideas?

    Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
    It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
    Is the database on the same server as the script?
    If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
    Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
    Edited by: LindaA on 05-May-2010 07:43

  • Work from command line but did not work from JSP call

    I have a test class that should perform Triple DES. When I run it from command line work ok, but when runs from JSP it give me an error:
    Exception:
    ======================================
    javax.crypto.IllegalBlockSizeException: Input length not multiple of 8 bytes
    put 3 check points inside the code, and run it from command line and here is the result:
    C:\Documents and Settings\salasadi\Desktop\DigitalMailer>java TDESStringEncrypto
    r 123456781234567812345678 "CID=103&A
    this is pass 3
    this is pass 1
    this is pass 2
    here is the class:
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.io.*;
    public class TDESStringEncryptor
    static final int DATA_STRING_LENGTH = 64;
    public static void main(String[] args)
    try
    TDESStringEncryptor enc = new TDESStringEncryptor();
    String value = enc.Encrypt(args[0], args[1]);
    System.err.println(value);
    catch (Exception ex)
    System.err.println(ex);
    public String Encrypt(String inkey, String data)
    throws Exception
    // convert key to byte array and get it into a key object
    byte[] rawkey = inkey.getBytes();
    DESedeKeySpec keyspec = new DESedeKeySpec(rawkey);
    SecretKeyFactory keyfactory = SecretKeyFactory.getInstance("DESede");
    SecretKey key = keyfactory.generateSecret(keyspec);
    Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding");
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] out = cipher.doFinal( padString(data).getBytes( ) );
    System.out.println("this is pass 1");
    return byteArrayToHexString( out );
    private String byteArrayToHexString(byte in[])
    byte ch = 0x00;
    int i = 0;
    if ( in == null || in.length <= 0 )
    return null;
    String pseudo[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8",
    "9", "A", "B", "C", "D", "E", "F"};
    StringBuffer out = new StringBuffer( in.length * 2 );
    while ( i < in.length )
    ch = (byte) ( in[i] & 0xF0 );
    ch = (byte) ( ch >>> 4 );
    ch = (byte) ( ch & 0x0F );
    out.append( pseudo[ (int) ch] );
    ch = (byte) ( in[i] & 0x0F );
    out.append( pseudo[ (int) ch] );
    i++;
    String rslt = new String( out );
    System.out.println("this is pass 2");
    return rslt;
    private String padString( String s )
    StringBuffer str = new StringBuffer( s );
    int strLength = str.length();
    for ( int i = 0; i <= DATA_STRING_LENGTH ; i ++ )
    if ( i > strLength ) str.append( ' ' );
    System.out.println("this is pass 3");
    return str.toString();
    And here is the JSP call:
    TDESStringEncryptor encryptz = new TDESStringEncryptor();
    String cryptodata1 = encryptz.Encrypt(Keyz,cryptodata);
    Thanks

    Please use [ code ] tags when posting code.
    Please indicate the line that causes the exception.
    Please indicate what Keyz and cryptodata is.

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Scrolling Header works in Visual Studio but not on Report Server 2008

    2008 R2 Reporting Services. My scrolling header works in Visual Studio but not when deployed to the Report Server and viewed in IE 9. I have read most every post on this issue and can't find a solution. I have the fixed data properties
    set correctly. Any suggestions?
    Help appreciated! 
    Linda

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • Windows 7 Defrag from command line does not work

    We are running Windows 7 in a virtualized environment. When running windows defrag using schedule or from command line, it does not work. The command that I am executing as administrator is
    C:\Windows\system32>defrag /c
    Microsoft Disk Defragmenter
    Copyright (c) 2007 Microsoft Corp.
    It displays the above message and exits back to the command prompt. However if I run the command defrag C: it does work. Defragmenting from the GUI works as well as long as both the disks (C: and System Reserved) are selected and when I click on
    Defragment disks, works fine.
    I am concerned about defrag running from the task scheduler with the command "defrag /c" (auto scheduled using Configure Schedule... from Disk Defragmenter) does not work and the system never gets defragmented automatically.
    This happens only with some of the windows 7 VM's that we have.
    There are no entries in Event Log that point to the defrag (using task scheduler). Any ideas what may be going on?

    Hi,
    Could you defrag as below method:
    1. Open Disk Defragmenter by clicking the Start button. In the search box, type
    Disk Defragmenter, and then, in the list of results, click
    Disk Defragmenter.
    2.Under Current status, select the disk you want to defragment.
    3.To determine if the disk needs to be defragmented or not, click Analyze disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    Once Windows is finished analyzing the disk, you can check the percentage of fragmentation on the disk in the
    Last Run column. If the number is above 10%, you should defragment the disk.
    4.Click Defragment disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    For more information, please read this article:
    Ways to improve your computer's performance
    http://windows.microsoft.com/en-in/windows/improve-performance-defragmenting-hard-disk#1TC=windows-7
    Meanwhile, read this article:
    Defrag from the Command-Line for More Complete
    Control
    http://technet.microsoft.com/en-us/magazine/ff458356.aspx
    Karen Hu
    TechNet Community Support

  • Why not all jars picked up by ojdeloy and how to generate build.xml from command line and not JDEV GUI - quick question

    Hi All
    We have 11.1.1.7 ojdeploy to compile our app.
    We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
    eg:
      <path id="classpath">
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
    </path>
    Log Output -
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
    [ora:ojdeploy] -g
      [ora:ojdeploy] -Xlint:all
      [ora:ojdeploy] -Xlint:-cast
    [ora:ojdeploy] -Xlint:-empty
      [ora:ojdeploy] -Xlint:-fallthrough
      [ora:ojdeploy] -Xlint:-path
      [ora:ojdeploy] -Xlint:-serial
      [ora:ojdeploy] -Xlint:-unchecked
      [ora:ojdeploy] -source 1.6
      [ora:ojdeploy] -target 1.6
      [ora:ojdeploy] -verbose
      [ora:ojdeploy] -encoding Cp1252
      [ora:ojdeploy] -classpath
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
      [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
    1- Is it because it depends on how jpr or jws are configured ?
    2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?

    The first  warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
    The second warning is about you not installing acpid.
    The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
    And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
    When I do lspci -v I get:
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at d0f0 [size=8]
    Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0
    Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>
    And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
    Last edited by gog (2009-10-15 23:59:49)

  • Jsp works in my tomcat but not in school server

    Using netbeans 5.5.1 and it has tomcat 5.5.17. My jsp page works fine when I use it on my computer but when I copy it to my school server(tomcat 5.5) it bugs when trying to contact oracle jdbc database.
    Whats wrong?
    Gives this error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Exception in JSP: /index.jsp:35
    32:
    33:
    34:
    35: <%=db.opentables()%>
    36:
    37:
    38:
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    root cause
    java.security.AccessControlException: access denied (java.net.SocketPermission [MY HOSTNAME HERE] resolve)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         java.security.AccessController.checkPermission(AccessController.java:427)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         java.net.InetAddress.getAllByName(InetAddress.java:1061)
         java.net.InetAddress.getByName(InetAddress.java:958)
         java.net.InetSocketAddress.<init>(InetSocketAddress.java:124)
         java.net.Socket.<init>(Socket.java:179)
         oracle.net.nt.TcpNTAdapter.connect(Unknown Source)
         oracle.net.nt.ConnOption.connect(Unknown Source)
         oracle.net.nt.ConnStrategy.execute(Unknown Source)
         oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
         oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
         oracle.net.ns.NSProtocol.connect(Unknown Source)
         oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1764)
         oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
         oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
         oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:551)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
         java.sql.DriverManager.getConnection(DriverManager.java:525)
         java.sql.DriverManager.getConnection(DriverManager.java:171)
         MYCLASS.Database.opentables(Database.java:131)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:86)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
    Apache Tomcat/5.5
    Edited by: panupanu on Dec 13, 2007 6:04 AM

    duffymo wrote:
    Is the machine that you ran this simple java class on the same one where you're >deploying the web app?Same machine where my sql connections bug. I just copypasted it into a file in tomcat5.5/webapps directory and then compiled it and used it from there. I used it from command line.
    duffymo wrote:
    how well do you know jsps, tomcat, and web apps? sure it's deployed properly? if you >put in a simple jsp and invoked it via tomcat, would you be able to do it?Dont know jsps well. :) Essentially my jspservlet thingie works normally on my computer through my tomcat and on other computers which have netbeans etc... It compiles .war file and ive copied that .war file to the target server's tomcat webapps directory, then when I access the website of my jspservlet tomcat unpacks it and shows my jsp pages normally if they have no sql components. So at least jsp pages are working... :)
    "minor modifications"? sure those are right? you wouldn't be the first programmer to fool >themselves by saying "it's the same code - except for X."
    try you "minor modifications" on the command line, too.First I used with main on command line, then removed main etc... and included it into my project.

  • Report Generation working on Dev machine but not on Deployment + Lessons learned

    I don't do deployments very often with Teststand. But I have to say, I learned a lot from this one from trial and error and help from the message board. I have got my deployment to final work (almost) with these lessons learned:
    1. Create a base installer for the engines and drivers, that way if you need to update it is much smaller.
    2. Dont install Teststand before Labview on a new development machine (not related to this deployment but I did learn that)
    3. Don't have your Testexec window open, alter the Station Globals, then close the window. It just puts them back to the old version (probably my biggest problem).
    4. Paths are extemely important.
    I think I have figured it out with much time involved and kept notes of what I have done for future. The ONLY issue I have left is this below. My dev machine works as it should but when I deploy, it does not. FYI- I manually copied over Station Globals, Process model, and Testexec. DO I need something else?
    I create serial numbers for my UUT's in the proceses model. It all works fine in development. The serial numbers are generated and the UUT filename is titled [023232232].txt and changes per unit. The path for example lets say is C:\Users\Ryan\Desktop\temp.  A logfile is generated for each and put in that folder.
    When I deploy, it does something different. Instead of putting the files into the temp folder, it errors out saying it is in use. If I delete the temp folder, it creates a file called "temp" which contains my text logfile. This file just keeps getting overwritten.
    Any ideas on this?

    Hi SimpleJack,
    One way you can ensure that the Report Options you want to have stay with your sequence file is to actually override them using a Sequence File Callback.  I have attached a link to a KnowledgeBase article that walks you through how to add the ReportOptions callback to your sequence and programmatically set the options that you would normally set by going to Configure»Report Options from the Sequence Editor.  
    Also, to ensure that the correct Process Model is being used with your sequence file after distributing, you can set the Process Model within the Sequence File Properties.  This can be found by going to Edit»Sequence File Properties, and then going to the Advanced tab.  I have attached a screenshot of this window below, as well.  From here, you can set the Model Option to Require Specific Model, which especially comes in handy if you are using your own custom Process Models.
    I hope this helps, SimpleJack!  Have a great day!
    How Can I Programmatically Enable or Disable Database Logging or Report Generation?
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • SQL works from SQL*Plus command line but not as a DBMS_JOB submitted job

    Oracle 10g 10.2
    Got a procedure which does not run correctly as an Oracle job but runs fine as a SQL script.
    There are no Oracle errors (or any errors) of any kind when the job does not run fine – it just does not update any rows. But when run as a SQL script – the same way it is run as a job – then the rows are updated.
    Any ideas?

    Good stuff....
    See my replies to some of the questions in italics
    a) Different NLS settings => The job uses the NLS settings of the session that created it. If you create it with some tool like TOAD, you might have a different environment than with sql*plus. Runs good in TOAD and SQL*Plus using the command-line feature - just 'acts funky' when submitted.
    b) Interval issue. Are you sure the job was running? Isn't still running? The job runs successfully - even logs a successful message in our logging table.
    c) User/priviledge issue. Sometimes a job needs direct grants whereus a procedure can be called with priviledges granted through roles. Don't know - need to check this out.
    d) Transaction handling / Error Handling. The job runs into some error, but the error is supressed, because of bad exception handling. What is the value in the BROKEN column, when you do: select * from user_jobs; I would think that, since the errors are logged into a side table, an error would be found there. However, no errors are found. The BROKEN column is 'N'.

  • Jar file runs from the command line, but not when I double click it

    Hello, I'm running windows xp. I've created an executable jar file and it runs fine from the command line when I type;
    java -jar wizard.jar
    but, when I double click it . . . nothing.
    Any ideas?

    nothing ? that's weird, windows XP should prompt you to select the program you want to use in order to open Jar files (and give you this silly piece of advice to search the web for the appropriate program)
    you might want to check what program (if any) got associated with .jar extensions :
    in Windows Explorer : Tools => Folder Options => File Types
    hth

  • Upload files from my app works fine in JDev but NOT on app server???

    i guys,
    I'm using jdeve 10.1.2. and adf bc's. So here's my problem:
    In my application i need to allow for the upload of files from user's computers. This works perfectly fine from jdeveloper but when i deploy my application on the application server i get the following error:
    JBO-26041: Failed to post data to database during "Insert": SQL Statement "D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)".
    D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)
    For some reason the system cannot find the path. This is most frustrating as it works perfectly fine when run from jdeveloper.
    Any ideas would be most welcome.
    Thanks in advance,
    Newbe

    Hi Frank,
    Thanks for the response. I've consulted with our server guy and he says that there are no read/write privileges. Jdev is not on the server.
    I'm really stumped by this so if you have any ideas, I'd really appreciate it.
    Happr New Year to you,
    Newbe.

  • ARD works from inside network, but not from outside.

    I can connect me MB to my G5 no problem when on the network inside my home. But if I'm on another network (and supply the correct IP address) I get an "ARD Not Active" error.
    All seem to be well, both machine are up to date and this works locally.
    What's wrong?

    That I can't tell. I travel and all I can do is open ports at home. I have no control over the hotel's systems.
    This was up and working fine - now it just won't connect. Even for the same locations that used to work just fine.
    But perhaps this is something:
    I recently installed Parallels Desktop. Now in the Network pref Pane, there are "Parallels Guest-Host" and "Parallels NAT".
    That's new, could it be a clue?

  • Serious problem: Imovie is working from the event but not from the project

    Hi,
    Related to my other post, I have discovered that Imovie seems to be working fine in the event library, but not in the project library.
    If I use the spacebar or play buttons in the event part, it shows the film in the right top screen or even in full screen mode.
    But if I click on my project, nothing works anymore.
    Sjoerd

    Hi
    Try to make a new User/account. Log into this. Have a re-try.
    How does it work now ?
    If OK. Go back to Your first account, Take move out iMovie pref file to the desktop
    Re.start iMovie.
    Works OK ?
    iMovie pref file resides:
    Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences and is named: com.apple.iMovie.plist
    While iMovie is NOT RUNNING - move this file out to desk-top.
    Now restart iMovie.
    Yours Bengt W

  • FTP to fieldpoint works in development environment but not in deployed app?

    I have developed a VI which employs FTP to upload data files created by another application
    embedded on a FieldPoint, not altogether unlike the "Redundant Datalogger" example VI found
    in the NI Developer Zone. Unlike that example, I am not employing DataSockets, Citadel
    database functionality or any other DSC functionality which I know or suspect does not work
    in a deployed application without the DSC Run-Time Engine.
    This VI works fine when I run it in the LabVIEW Development System (Full + RT + DSC), but
    when I deploy the VI as a standalone application FTP (at least) appears to quit working.
    I don't have the specific error code -- my VI re-interprets FTP errors to a novice-
    friendly "check the LAN connection and/or FieldPoint power" warning and I will have to
    modify the code to extract better diagnostics. I will also not be able to probe further
    until I can get back to the fieldpoint, which is happily running its little app in a little
    one-room water plant in the mountains. Meanwhile, is there something more fundamental (and
    obvious to the veterans) which I am overlooking?
    This application employs DSC security features and I have deployed it bundled with the
    associated DSC files per the DSC manual instructions. All of that is apparently working fine;
    the stand-alone just won't FTP to the fieldpoint while the development copy will.
    Bob Miller
    P.S. This VI also employs TCP to continuously communicate control and status info with the
    fieldpoint, but the VI gives up on the link when FTP fails and never tries to open the TCP
    path.

    I will answer my own query for any casual readers. I dragged my
    notebook and my carcass up into the mountains last night to attempt
    to diagnose the problem. One word answer:
    Firewall.
    The Symantec firewall on the PC had been configured to allow Labview
    to access the network via TCP (which FTP is built on), but not an
    application named "Water Plant Watchdog". Reconfiguring the firewall
    (a two-minute job) fixed the problem.
    NI embeds a lot of "Disable Windows firewall" messages in the LabVIEW
    installer and/or documentation. This is an issue for a standalone PC
    connected to a fieldpoint and a dial-up ISP. So the firewall (and the
    LabVIEW application) must be managed to allow each other to do their
    job. Fortunately Symantec (Norton)'s firewall seems flexible enough.
    Bob

Maybe you are looking for

  • VA01-VA02 : Error message in a user exit / MV45AFZB

    I everyone, i want to add an error message in the exit "USEREXIT_CHECK_VBEP" (MV45AFZB) but when i do so it displays the following abend message : "Incorrect index structure for table XMVERF_POS /0000000222 /000030 "    (V1322). just after mine. do y

  • User Exit or BADI to control GUI/Toolbar of TP04

    Hi All, I need to know any user exit or BADI enhancement for changing the toolbar of TP04. As of now, if we open TP04, we get two pushbuttons (Overview and Approve). We have a requirement like, only Overview should be displayed. Users should not Appr

  • Missing Adobe Bridge 5

    I just upgraded to a new iMac. I was running Photoshop CS5 and Adobe Bridge CS5. I have redownloaded and installed Photoshop 5, but I no longer have Bridge. I can't seem to find a way to download and install it. I must own it, because I had it before

  • User settings and mobileme account removed upon user logout/login

    On several occasions my touchpad settings and format settings (system preferences/international) had suddenly changed.(i.e. "tap to click", "drag" and "drag lock" all changed and so does the format from UK to USA). On these occasions I am also thrown

  • Binary code-swiss cheese

    I have made a program that converts a number to binary and if the number has more zeros than ones then I display "Too light." If it has more ones than zeros it displays too heavy. If they are equal it says "just right." The program works on some numb