Problem about execute commond on platform?

i try to execute commond on window platform (the same problem as on solaris) via
exec(String commond) method of Runtime, which return the type of Process; but fail as error message 1):
how can i execute the commond (ex:dir,date,...) and let it return its result as running commond in commond prompt line (like dos mode,etc.)
thanks in advice,
1)
ava.io.IOException: CreateProcess: dir error=2
     at java.lang.Win32Process.create(Native Method)
     at java.lang.Win32Process.<init>(Win32Process.java:66)
     at java.lang.Runtime.execInternal(Native Method)
     at java.lang.Runtime.exec(Runtime.java:551)
     at java.lang.Runtime.exec(Runtime.java:418)java.io.IOException: CreateProcess: dir error=2
     at java.lang.Runtime.exec(Runtime.java:361)
     at java.lang.Runtime.exec(Runtime.java:325)
     at RunCommond.RunCmd.execCmd(RunCmd.java:21)
     at RunCommond.RunCmd.main(RunCmd.java:50)

The commands dir and date are internal commands in Windows. You can't run the "dir program" -- it's just a command in the shell program. You have to start the shell and tell it to execute its dir command:
cmd /c dir (on Win NT/2000/XP)
command /c dir (on Windows 95/98/Me)

Similar Messages

  • Problem about execute import button

    This is mdm 5.5 sp4.
    First, i did field mapping and value mapping in mdm import manager. Then i clicked 'execute import' button. The importing was successful.
    After that, I added new fields in ‘destination fields’ of ‘field mapping’ panel via ‘add’ button, and finished new filed mapping and value mapping. Then I activated the ‘import status’ tab, but found the ‘execute import’ was gray. I couldn’t click the button to import new fields and values. What’s wrong? What should I do?
    Thank u in advance.

    hi,
    if the execute import  was gray:
    these may be the causes.
    1. check the field mapping, and value mapping
    2. Redo the Record mathcing step.
    3. when you click on the import status tab, if execure import icon is grey, in import status, you will find the remarks( like, partcicualr field is not mapped -- etc.)
    do the process again, you can able to see execute import icon.
    hope this may help you,
    Regards,
    Srinivas

  • Problem about execute mapping in plsql!

    hello forum:
    i've builded a mapping within owb92,and i want it can be called
    through a schedule program(from third party),i hope the way i call it
    like a command line,so the schedule program can deal with it or the
    way of call the mapping can be wrapped in a procedure.
    any suggestion appreciated.

    Edwin's suggestion should work, where you basically call SQL from that scheduler. You can also call the mapping.main if that is easier. That looks like this (mapping is called cities_cd_map in design):
    declare
    out1 varchar2(100);
    begin
    cities_cd_map.main( p_status => out1
    , P_MAX_NO_OF_ERRORS => 50
    , P_COMMIT_FREQUENCY => 1000
    , P_OPERATING_MODE => 'SET_BASED'
    , P_BULK_SIZE => 50
    , P_AUDIT_LEVEL => 'STATISTICS'
    , P_PURGE_GROUP => 'WB'
    , DATE_IN => SYSDATE
    , USER_IN => 'Me'
    dbms_output.put_line('Result = '||out1);
    end;
    You can also use the API in OWB to run the mapping (and process flow etc), using something like this (mapping name in this case is MYMAP in design):
    declare
    out1 number;
    begin
    out1 := wb_rt_api_exec.run_task( P_LOCATION_NAME => 'TGT_LOCATION'
    , P_TASK_TYPE => 'PLSQLMAP'
    , P_TASK_NAME => 'MYMAP'
    , P_OEM_FRIENDLY => 1 -- Anything but 0 will get a good EM status
    dbms_output.put_line('Result = '||out1);
    end;
    Hope this helps,
    JP

  • Problem about Executing Unix command in java

    Hi All,
    Does someone know why the following codes didn't run correctly?
    String cmd = "tar cvf 123.tar *.*";
    try
    Runtime rt = Runtime.getRuntime();
    rt.exec(cmd);
    catch (Exception ex)
    ex.printStackTrace();
    Thanks.

    Because "*" is interpreted by the shell--bash, zsh, ksh, sh, csh, tcsh...
    The shell turns *.java into a.java b.java. The tar program never sees the *.
    You don't typcially have these shells when you invoke a command like that, so the tar program sees the * you pass and takes is as a file name. It's like adding quotes or a backslash in a terminal window:$ tar cvf foo.tar '*.java' So either use the File and FileFilter classes to get a list of the files you want to pass and send that to Runtime.exec, or Runtime.exec a shell and pass tar as its command.
    For bash, I think what you'd pass to Runtime.exec would be something like sh -c tar cvf foo.tar *.java but check the man page for your shell to find out the details of how to invoke it in non-interactive mode and pass it a command.

  • An old and difficult problem about "UnsatisfiedLinkError"

    Hi dear all,
    I have been struck with the problem about "UnsatisfiedLinkError". I have a c++ class HelloWorld with a method hello(), and I want to call it from within a java class. In fact, I have succeeded in calling it on the windows platform. But when I transfer it to linux, the error "UnsatisfiedLinkError" comes out. I have tried to take the measures as Forum has suggested, but it failed.
    The source code is very simple to demonstrate JNI.
    "HelloWorld.h"
    #ifndef INCLUDEDHELLOWORLD_H
    #define INCLUDEDHELLOWORLD_H
    class HelloWorld
    public:
    void hello();
    #endif
    "HelloWorld.cpp"
    #include <iostream>
    #include "HelloWorld.h"
    using namespace std;
    void HelloWorld::hello()
    cout << "Hello, World!" << endl;
    "JHelloWorld.java"
    public class JHelloWorld
    public native void hello();
    static
    System.loadLibrary("hellolib");
    public static void main(String[] argv)
    JHelloWorld hw = new JHelloWorld();
    hw.hello();
    "JHelloWorld.cpp"
    #include <iostream>
    #include <jni.h>
    #include "HelloWorld.h"
    #include "JHelloWorld.h"
    JNIEXPORT void JNICALL Java_JHelloWorld_hello (JNIEnv * env, jobject obj)
    HelloWorld hw;
    hw.hello();
    All the files are in the same directory and all the processes are under the dirctory:
    1. javac JHelloWorld.java
    2. javah -classpath . JHelloWorld
    3. g++ -c -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux JHelloWorld.cpp HelloWorld.cpp
    4. ld -shared -o hellolib.so *.o
    5. java -cp . -Djava.library.path=. JHelloWorld
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hellolib in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at JHelloWorld.<clinit>(JHelloWorld.java:7)
    Tried another measure:
    i) export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    ii)java -cp . JHelloWorld
    The same error came out as above.
    I really don't know what is wrong with it.
    Would you like to help me as soon as possible?
    Thanks.
    Regards,
    Johnson

    Hi Fabio,
    Thanks a lot for your help.
    It is very kind of you.
    Regards,
    Johnson

  • Problem about oracle

         Statement stmt = con.createStatement();
                        stmt.executeUpdate("DROP TABLE Students");
                        stmt.executeUpdate("CREATE TABLE Students" +
                         "(StdNumber NUMBER primary key, StdName VARCHAR2(20),StdSurname VARCHAR2(20),Courses VARCHAR2(15), Year VARCHAR2(15),Semester VARCHAR2(5), Grades REAL )" );
                      stmt.executeUpdate("INSERT INTO Students" +
                         "VALUES (1234,'Sezgin','Zeka','Kimya','2002-2003','I',4.00)" );
                      ResultSet rs = stmt.executeQuery("SELECT Courses FROM Students WHERE stdNumber = 1234");          
                        while(rs.next())
                         System.out.println(">>> " + rs.getString("Courses"));     
                     }catch(Exception ex) {
                        System.out.println("Error: " + ex); 
                     }Dear friend i have a problem about oracle. When i execute this code ( i have only written releated code part about my problem ) there is an error like this: Error: java.sql.SQLException: ORA-00928: missing SELECT keyword
    Thanks for your help

    Can you explain much more. Because i have no idea.
    ThanksYou know, if you did like every decent programmer does and instead of writing
    }catch(Exception ex) {
      System.out.println("Error: " + ex); 
    }wrote
    }catch(Exception ex) {
      ex.printStackTrace(); 
    }then you could see which statement is faulty.

  • A problem about build project fail...

    Hi all, I'm fairly new to iPhone programing and now get a problem about build project fail. ><
    I've downloaded a couple of sample codes from Apple web site and build them, but there are some errors messages as below...
    Could some body help me to handle this problem?? I'll be very appreciated~
    ================================ Error msg of "MoveME" sample ============================
    Building target “MoveMe” of project “MoveMe” with configuration “Debug” — (21 errors, 1 warning)
    Checking Dependencies
    warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Volumes/MoveMe/build/MoveMe.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x33ba1f0 "Operation could not be completed. No such file or directory"
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Volumes/MoveMe/build/MoveMe.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x33ba1f0 "Operation could not be completed. No such file or directory"
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    <com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/PkgInfo -expandbuildsettings -o /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Info.plist
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: The file “PkgInfo” does not exist.
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: The file “PkgInfo” does not exist.
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Default.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Default.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Placard.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Placard.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/DisplayStrings.strings /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/DisplayStrings.strings [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MainWindow.nib /Volumes/MoveMe/MainWindow.xib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    /* com.apple.ibtool.errors */
    Internal Error:
    Description: Compilation failed. Unable to write to path: /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MainWindow.nib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Icon.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Icon.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MoveMeView.nib /Volumes/MoveMe/MoveMeView.xib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    /* com.apple.ibtool.errors */
    Internal Error:
    Description: Compilation failed. Unable to write to path: /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MoveMeView.nib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/main.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/main.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/main.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/MoveMeAppDelegate.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeAppDelegate.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeAppDelegate.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/PlacardView.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/PlacardView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/PlacardView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/MoveMeView.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    Build failed (21 errors, 1 warning)

    Ya, something like that...
    I'm even new to Mac, thanks for your answer ^^"

  • Menu bar problem when executing reports

    We have a problem when executing the reports either from se38 or through transaction.
    The standard menu bar is not appearing and in its place we are getting ?????????????  ?????????????????
    also the icons that are appearing in app tool bar are not showing anything.
    Whats the reason for this?

    hi,
    It is not for one single report iam talking about,any report that is executed from se38 or transaction .
    In selection screen of report we are getting ???????????????
    ?????????????? in menu bar instead of normal options like program edit goto utilities.................
    does any one know the reason for this?
    This issue we are facing today only.
    Edited by: Gautham chakraverthi on Oct 31, 2008 3:06 PM

  • The Problem about Monitoring Motion using PCI-7358 on LabVIEW Real Time Module

    Hello everyone,
    I have a problem about monitoring the position of an axis. First let me give some details about the motion controller system I’m using.
    I’m using PCI-7358 as controller and MID-7654 as servo driver, and I’m controlling a Maxon DC Brushed motor. I want to check the dynamic performance of the actuator system in a real time environment so I created a LabVIEW function and implemented it on LabVIEW Real Time module.
    My function loads a target position (Load Target Position.vi) and starts the motion. (Start.vi) then in a timed loop I read the instantaneous position using Read Position.vi. When I graphed the data taken from the Read Position.vi, I saw that same values are taken for 5 sequential loops. I checked the total time required by Read Position.vi to complete its task and it’s 0.1ms. I arranged the loop that acquires the data as to complete its one run in 1ms. But the data shows that 5 sequential loops read the same data?

    Read Position.flx can execute much faster than 5 ms but as it reads a register that is updated every 5 ms on the board, it reads the same value multiple times.
    To get around this problem there are two methods:
    Buffered High-Speed-Capturing (HSC)
    With buffered HSC the board stores a position value in it's onboard buffer each time a trigger occurrs on the axis' trigger input. HSC allows a trigger rate of about 2 kHz. That means, you can store a position value every 500 µs. Please refer to the HSC examples. You may have to look into the buffered breakpoint examples to learn how to use a buffer, as there doesn't seem to be a buffered HSC example available. Please note that you need an external trigger-signal (e. g. from a counter of a DAQ board). Please note that the amount of position data that you can acquire in a single shot is limited to about 16.000 values.
    Buffered position measurement with additional plugin-board
    If you don't have a device that allows you to generate a repetitive trigger signal as required in method 1.), you will have to use an additional board, e. g. a PCI-6601. This board provides four counter/timers. You could either use this board to generate the trigger signal or you could use it to do the position capturing itself. A PCI-6601 (or an M-Series board) provides can run a buffered position acquisition with a rate of several hundred kHz and with virtually no limitation to the amount of data to be stored. You could even route the encoder signals from your 7350 to the PCI-6601 by using an internal RTSI cable (no external wiring required).
    I hope this helps,
    Jochen Klier
    National Instruments

  • A very surprise problem about JDBC and connection pool

    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

    When you are getting connection using datasource lookup from weblogic
    connection pool, this connection is internally wrapped and hence you have to
    cast it to weblogic.jdbc.vendor.oracle.OracleThinClob which you do and so it
    works.
    But when you get connection by loading driver straight, you are getting naked
    oracle connection. In this case when you cast it to oracle.sql.Clob it works,
    as you have seen in your test case.
    I hope this explains what is going on with your code.
    Thanks,
    Mitesh
    Daniel wrote:
    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

  • Re: [iPlanet-JATO] Experiencing problem while executing model.

    Hi Todd,
    Thanks a lot for your input!
    In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
    column name in the resultset. So I am using this as a column in Jato
    Descriptor for Plan_Dt. Now it is working fine.
    Thanks and Regards,
    Santa.
    ----- Original Message -----
    From: Todd Fast <toddwork@c...>
    Sent: Thursday, July 26, 2001 9:50 AM
    Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
    Santa--
    I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
    execute of TiledView, it throws an exception describing "PLAN_DT not found
    in ResultSet". If you execute this query on the SQL prompt then we getrows
    of data. Please could you tell us how the mapping between model and
    resultset works ? And what changes do we have to make to execute thisquery.
    >>
    SELECT PART_NM,NEWTXTDOLL
    TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
    FROM cpsselect
    WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
    you provide in your model's column descriptors. It sounds as if you are
    providing the column name "PLAN_DT" in a descriptor, and when the model
    tries to look up that column in the result set, there is no such columnand
    the operation fails.
    In order to debug this, you should try running your query with a JDBC
    connection, not SQL*Plus or your command-line SQL tool. What you need to
    find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
    a column name in the resut set. The easiest way to do this is to write a
    simple class that does nothing but use your JDBC driver to connect the
    database and execute this query. After execution, use theResultSetMetaData
    information to find out the column names for the result set. Then, use
    these column names in your JATO column descriptors.
    Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
    I'm sorry, this isn't enough information for me to offer any suggestions.
    Using the technique above, determine which columns are coming back in the
    result set, and make sure your display fields in the TiledView are boundto
    those column names. The problem could be something as simple as a typo in
    the field's bound name, or something more complex like the column in the
    result set being named something you don't expect.
    Another approach might be to alias the columns yourself using the "AS
    <alias>" expression, and assign them names that you choose instead ofusing
    the names assigned by the database or JDBC driver.
    Todd
    [email protected]
    The Information contained and transmitted by this E-MAIL is proprietary to
    Wipro Limited and is intended for use only by the individual or entity to
    which
    it is addressed, and may contain information that is privileged, confidential
    or
    exempt from disclosure under applicable law. If this is a forwarded message,
    the content of this E-MAIL may not have been sent with the authority of the
    Company. If you are not the intended recipient, an agent of the intended
    recipient or a person responsible for delivering the information to the named
    recipient, you are notified that any use, distribution, transmission,
    printing,
    copying or dissemination of this information in any way or in any manner is
    strictly prohibited. If you have received this communication in error, please
    delete this mail & notify us immediately at mailadmin@w...
    [Non-text portions of this message have been removed]

    Hi Todd,
    Thanks a lot for your input!
    In the case , I found that "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is alaised as a
    column name in the resultset. So I am using this as a column in Jato
    Descriptor for Plan_Dt. Now it is working fine.
    Thanks and Regards,
    Santa.
    ----- Original Message -----
    From: Todd Fast <toddwork@c...>
    Sent: Thursday, July 26, 2001 9:50 AM
    Subject: Re: [iPlanet-JATO] Experiencing problem while executing model.
    Santa--
    I am experiencing a problem while executing a bounded model. I am usingQueryModelBase. Whenever the following query gets executed inonBeforeModel
    execute of TiledView, it throws an exception describing "PLAN_DT not found
    in ResultSet". If you execute this query on the SQL prompt then we getrows
    of data. Please could you tell us how the mapping between model and
    resultset works ? And what changes do we have to make to execute thisquery.
    >>
    SELECT PART_NM,NEWTXTDOLL
    TO_CHAR(PLAN_DT, 'MM/DD/YYYY'),
    FROM cpsselect
    WHERE CHG_DT >= TO_DATE('2001-06-17', 'YYYY-MM-DD')The mapping of result set to model is done via JDBC, using the columnnames
    you provide in your model's column descriptors. It sounds as if you are
    providing the column name "PLAN_DT" in a descriptor, and when the model
    tries to look up that column in the result set, there is no such columnand
    the operation fails.
    In order to debug this, you should try running your query with a JDBC
    connection, not SQL*Plus or your command-line SQL tool. What you need to
    find out is how the expresion "TO_CHAR(PLAN_DT, 'MM/DD/YYYY')" is aliasedas
    a column name in the resut set. The easiest way to do this is to write a
    simple class that does nothing but use your JDBC driver to connect the
    database and execute this query. After execution, use theResultSetMetaData
    information to find out the column names for the result set. Then, use
    these column names in your JATO column descriptors.
    Another Problem:We are not getting the values for NEWTXTDOLL column whenwe try to display it in a Tiled View.
    I'm sorry, this isn't enough information for me to offer any suggestions.
    Using the technique above, determine which columns are coming back in the
    result set, and make sure your display fields in the TiledView are boundto
    those column names. The problem could be something as simple as a typo in
    the field's bound name, or something more complex like the column in the
    result set being named something you don't expect.
    Another approach might be to alias the columns yourself using the "AS
    <alias>" expression, and assign them names that you choose instead ofusing
    the names assigned by the database or JDBC driver.
    Todd
    [email protected]
    The Information contained and transmitted by this E-MAIL is proprietary to
    Wipro Limited and is intended for use only by the individual or entity to
    which
    it is addressed, and may contain information that is privileged, confidential
    or
    exempt from disclosure under applicable law. If this is a forwarded message,
    the content of this E-MAIL may not have been sent with the authority of the
    Company. If you are not the intended recipient, an agent of the intended
    recipient or a person responsible for delivering the information to the named
    recipient, you are notified that any use, distribution, transmission,
    printing,
    copying or dissemination of this information in any way or in any manner is
    strictly prohibited. If you have received this communication in error, please
    delete this mail & notify us immediately at mailadmin@w...
    [Non-text portions of this message have been removed]

  • A problem about calling Labview vi in VB

    Hi all:
    I meeting a problem about data transfer and parallel operation between VB and Labview.
    Actually, I want develop a VB program, in which, the Labview VI can be called and corresponding parameters can be transferred to Labview. and then, I also can operate my system by VB program at same time. something like parallel operation (VB and Labview program).
     But the question is :
    1.   If I use "Call" method of ActiveX in VB,  and the LabVIEW subvi is not stopped (for example, a loop structure), I can not do  parallel operation on VB program. The error message is "other application is busy" which is attached below. The sample codes is also attached.
    2.   I tried to use other methods like "OpenFrontPanel" and "Run", but I am not sure how to transfer the parameter??
    3.  Then I tried to use "SetControlValue" to set the parameters, but there is a error " := expected", which is very strange, because the statement  I wrote is followed with the help documents [ eg: VI.SetControlValue ("string", value)], why it is still need a "=" ??
    Does anybody know something about it? Thanks a lot
    Message Edited by hanwei on 11-07-2008 03:18 PM
    Attachments:
    vb_labview_error_message_1.JPG ‏14 KB
    VB_to_LV.zip ‏10 KB

    I sure hope OP has solved it by now.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • Problem about Handling of Empty Files in File Adapter

    Hello everyone,
    NetWeaver 2004s --- XI
    In Sender i have a File Adapter.
    Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message.
    I have seen following text in help document. But in adapter configuration i can not find the correspond parameter.
    can you give me some tips?
    Thx in advance
    best regards
    Yaning
    SAP Help Document über File Adapter
    +Handling of Empty Files
    Specify how empty files (length 0 bytes) are to be handled.
    &#9675;       Do Not Create Message
    No XI messages are created from empty files.
    The files are processed according to the selected Processing Mode.
    For example, if the processing mode is Delete, empty files are deleted in the source directory.
    &#9675;       Process Empty Files
    XI messages are created with an empty main payload.
    The files are processed according to the selected Processing Mode.
    &#9675;       Skip Empty Files
    No XI messages are created from empty files.
    Empty files are skipped and remain in the source directory.+
    Help Docu

    hi,
    it's available since Sp19 for XI 3.0
    and the corresponding SPS fpr XI 7.0
    http://help.sap.com/saphelp_nw04/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm
    so probably you need to install the new SP
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problem about sales order stock stock transfer and batch determination

    Hi, experts, I get a problem about sales order stock stock transfer and batch determination.The following is the current situation of my system:
      In OMCG I assigned search procedure ME0001 to both 311 and 311 E and ticked check batch. After that, I found  that if iI need to tranfer unrestricted-use material from storage location 1000 to 2000 with movement type 311, I just need to input * at the field batch, then the system will display all of the available batches. But for the transferring of sales order stock with movement type 311 E, after I input * at the batch field, no batch is displayed and there is also no message from the system.
      Can anybody help me? Is there anything else I need to do? Thanks very much.

    I think my question is not clear, actually I tried 562 E , 411 E and 413 already. all the transaction looking for the sales order but unfortunatly the sales order is deleted  from SAP.

Maybe you are looking for

  • How do I resolve a (-50) error message?

    When I try to share a music video with iDVD, it returns the error message, "Unable to prepare project for publishing. The project could not be prepared for publishing because an error occurred. (-50)" I tried sharing with iTunes and Media Browser, bu

  • How to view file item count in finder window?

    Hi all, Pre-Lion, I had things set up so that I was able to view the number of files/items in a finder window that was in list view. This information would show up at the bottom of my finder windows. I know I had intially pressed some kind of OS X sh

  • Wrong Sales UOM in Article and Billing document

    Hi, We have an issue in Aggregated Sales Idoc Posting. There is an article which is having Base UOM as "EA" . It has "CAR" = 12 EA. So 2 UOMs are there. From POS when the file is posted with 1 CAR , in SAP Billing and Article documents created only w

  • Can't shutdown my iMac after opening iTunes or Outlock 2011

    can't shutdown my mac after opening iTunes or Outlock 2011, on verbose mode i get the error, so if i dont open one of the applications i can shutdown the mac ç got anyone some tips ? thanks

  • I'm running windows vista 32 bit and the dep shuts down my itunes

    I'm running windows vista 32 bit and windows DEP shuts my itunes down as soon as it begins to load. Help?