Dir path in expdp

Hi,
Can I specify the dir path as normal unix path like below (rather than create a db dir object):
(directory=/export/home/myname/mydir)
expdp user/pass
directory=/export/home/myname/mydir
dumpfile=sp.dmp
logfile=sp.log
schemas=ops
include=package,function,procedure
Thanks.

you can execute the specified direct path except that you have to remove the DIRECTORY parameter.. Without the DIRECTORY parameter the job will run successfully becoz oracle will be maintaining a default datapump directory in $ORACLE_HOME/admin/<sid>/dpump to maintain all the dumpfiles and logfiles of the exports and imports being executed..Cheers!

Similar Messages

  • How to get system temp dir. path on the fly ,system may be XP or Linux ??

    How to get system temp dir. path on the fly ,system may be XP or Linux ??
    please suggest solution

    The default temporary-file directory can be retrieved
    using:
    System.getProperty("java.io.tmpdir")
    Thanks a lot for u r reply this one works !!!!

  • Javac not checking hard coded dir paths???

    I'm a beginner java person...have 17 years in computers experience, most Unix admin. I've been through into a job of trying to troubleshoot someone else's code that is long gone. A GUI window is not displaying and I'm getting java errors in the log files. After going back and trying to recompile the offending .java file, I don't get any errors at all. But on further research, have found a hard coded directory path to a file that doesn't exist on the workstation. Does javac not check all it's directory pointers to outside files during compilation. My experience with C++ was that it did...but java code compiler must not be the same??? I'm using java 1.2 compiler on a Solaris 2.7 workstation.
    Anyone have any suggestions??? I'm befuzzled. Would be greatly appreciated. Thanks, Melisa

    So How will I find all the missing dirs?? I guess with C++ compiler it was the includes that it went out and checked for that I was thinking about. Sorry. I'm string searching the source for all dir paths to files and I'll just have to manually verify they are in existence I guess. Thanks for your answer.

  • Can't match home dir path to the actual data

    probably something simple, but I cannot get my students directory to mate up again
    Brief history:
    unstable old world: exported user info, reinported into a clean build....this provides an old path name that was from the previous world and is now not correct
    Created new share points with network mount selected
    I have succesfully managed to re-home all my faculty users (only 60),
    however the 658 students are not playing ball. Different share point
    One thing I've noticed on the HOME screen within WGM: for a user who is a member of that old primary GID, when I click on the newly shared home path in Where, at the top of the screen it only shows
    Home: afp://myservername.mydomain.com/school/username
    where as a faculty member (different primary GID) clicking on the SAME home dir will get:
    Home: afp://myservername.mydomain.com/school/username
    /Network/Servers/myservername.mydomain.com/
    right now I have 658 user with the NONE home selected and they can at least login, onece only they can actually network share to their home but I need them mounting correctly
    TIA

    Tim,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Archive dir path in inbound file adapter

    I run in an XI2.0 system with a central (on our XI system) inbound fileadapter.
    We need to retrieve inbound interface files from a BW SEM system. I specified the fpt settings and am able to retrieve the file from the specified ftp directory.
    In my file.archiveDir I specified /tmp. What happens now, is that I retrieve the file from the BW SEM system, path, file.sourceDir=/ftpbw/inbound, but that the archived files get stored on the XI system /tmp, and NOT on the BW SEM system /tmp.
    Is there a way I can use the Archive directory on the BW SEM system via FTP ?

    Hi Jan,
    The archiveDir cannot use ftp to archive the files, and it takes the directory on the local drive where the file adapter resides.
    You may try to map the BW system drive from xi system so that BW file system can be accessed directly, or you need to install the file adapter on BW machine.
    In XI2.0, it is recommended to install the adapters close to the business systems (in this case BW system) other than the xi system.
    Regards,
    Hart

  • Current Dir path

    I want to be able to load Images into my Swing app from a standard directory. Is there such a thing as relative paths in Java ImageIcon class? Basically I don't want to hard code the path names. For obvious reasons.
    What is the starting path?

    Cabaal,
    Would you be so kind as to post your solution? I am encountering the same issue, and cannot for the life of me figure it out. I'm new to Java, and am using Forte, if that makes a difference. My CLASSPATH appears to be correct (it includes the "." path), but I still cannot load images from the "images" directory of the current project/class.
    Thank you!

  • Utl_file.invalid_path exception shown, even when dir path  given

    hello all,
    I am facing an issue while accessing server-file on my server machine throught the package UTL_FILE.
    my procedure gives UTL_FILE.INVALID_PATH exception, where as i have given the path in the UTL_FILE_DIR (INIT.ORA) file. The whole scenario is that i connect to that folder using USER/PASSWORD. so my questions are simple:
    1. Before accessing the path, should i authenticate i.e. give user id/password or
    2. Should i just access the file as
    f_hdlr := utl_file.fopen('/myserver/myfolder','test.txt','R');
    Rest of the code is as follows:
    declare
    f_hdlr utl_file.file_type; -- File Handler
    s varchar2(200); -- String to Store Text Data
    f_dir varchar2(200):= '\\myserver\myfolder'; -- File Directory
    f_name varchar2(200):= 'mohsin.dat'; -- File Name
    f_mode varchar2(1):= 'R'; -- File Mode
    begin
    f_dir := '//myserver/myfolder';
    dbms_output.put_line(f_dir);
    f_hdlr := utl_file.fopen(f_dir,f_name,f_mode);
    loop
    utl_file.get_line(f_hdlr,s);
    dbms_output.put_line(s);
    end loop;
    exception
    -- File Read Exceptions
    when NO_DATA_FOUND then
    dbms_output.put_line(' No data Found in '||f_name);
    utl_file.fclose(f_hdlr);
    -- Utl_File Exceptions
    when utl_file.invalid_path then
    dbms_output.put_line(' UTL Exception: File Access not allowed/Invalid Path. ');
    utl_file.fclose(f_hdlr);
    -- General Exception
    when OTHERS then
    dbms_output.put_line(' Other Error ');
    utl_file.fclose(f_hdlr);
    end;
    NOTE: I am using Windows XP, and my machine is not server machine, i am accessing the server-file from my server machine available on network path.
    Kindly guide me, if any one have a clear idea about it.

    The whole scenario is that i connect to that folder using USER/PASSWORD. You can connect to the folder using the userid/password, but the OS user under which the Oracle database software is running may not be able to access the folder.
    You MUST make sure that the operating system user under which the Oracle database software is running has access to the folder you are trying to read/write from within Oracle connected session.

  • How to get the path of my java dir in java?

    Hi,
    I want to get dir path in java.
    I want to know from where I'm runing in the computer
    somthing like this?
    String osUserName = System.getenv("????????");
    Thanks and have a good day!

    Hi,
    I have "deploy" directory, and I whant to be able to import it to every computer with out to define things in class path.
    in my deploy I have my jar, lib directory, bech file to run (ther I have script with the libs path..), I want to put in deploy the db.properties file.
    then just ask "from where I'm running" -->
    String osWorkDir = System.getProperty("user.dir");then just to add this path "/db.properties"
    The problem with it:
    osWorkDir = C:\MyJava\deploy
    and I need:
    C:/MyJava/deploy
    Thanks :)
    I want to import my

  • Get current path in Java LINUX?

    Hi,
    I m trying to get the current path of file using the getAbsolutePath.Its works fine (gets the current working directory) in Windows both in debug & release mode.Whereas, in LINUX ,It is not working.
    i.e.,It gets home path instead current path while running in release(by clicking jar file).
    File objfile = new java.io.File("SampleCloud.txt").getAbsoluteFile();
    JOptionPane.showMessageDialog(null, objfile.getAbsolutePath());
    Message box display home path instead of current path on linux.
    I dont know why its so.Ur help would be appreciated.
    System.getProperty("user.dir")
    I used it but its also taking the home dir path on linux
    Sonal
    Edited by: 850979 on 13-Apr-2011 06:04

    Thanks for your reply.
    I have copied the .jar file in a new directory under <user name>/Documents. The SampleRTLCloud.txt is also in the same directory. How do I get the path of the directory where the application is run from?
    Your help will be much appreciated.
    Sonal

  • Configuring directory path for fileappender in log4j.properties

    I want to write log data to a file where the directory path of the file should be picked from a unix environmental variable. How can you configure this in log4j.properties?
    log4j.rootLogger=INFO, A
    # A is set to be a FileAppender.
    log4j.appender.A=org.apache.log4j.FileAppender
    # A uses PatternLayout.
    log4j.appender.A.File=$UNIX_ENV_VARIABLE/A.log <= This is what I want. The dir path should be picked from some env path
    log4j.appender.A.layout=org.apache.log4j.PatternLayout
    log4j.appender.A.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n
    Or if this should be done in code, then please guide me on that.
    Thanks in advance

    Hi,
    i am facing one problem,
    where today's log and yesterday log has log statements for today with same date.. but different data. any one pls help.
    this is the properties i configured
    # Logger for A messages
    log4j.logger.A=debug, A_R1
    log4j.appender.A_R1=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.A_R1.File=/var/opt/wmeaidata/app_data/log4j/logs/eai_a.log
    log4j.appender.A_R1.MaxFileSize = 5MB
    log4j.appender.A_R1.MaxBackupIndex = 3
    log4j.appender.A_R1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A_R1.layout.ConversionPattern=%d{MMM dd, yyyy hh:mm:ss a}|%c-%X{host}|%m%n
    Thanks
    venkat

  • How to change/apply new home folder path to 350+ users?

    quick intro:
    ...had a screwy server, planned a rebuild.
    added all active users to a specific group.
    Exported said group, exported ALL users, exported anything I could think of!
    Have vanilla built 10.4.10 server, few teething probs with a DNS glitch, think I'm over it...
    not 100 percent sure, but 4 users I've tested appear to be working.
    imported specific group, didnt show any members.
    Had to import ALL users before they populated, unfortunatley ALL users appear to have active accounts, only want specific group active
    (was I expecting to much?)
    In a bid to tidy up home dirs, correct privelages etc.
    is there a simple way to apply the same privs to hundreds of folders rather than selecting each one?
    I basically want <user> as the owner, <admin> as the group, everyone else none.
    Also need to change/apply a new home dir path to 350plus users
    What is the easiest way to do this?
    TIA
    a very tired and frustrated system admin :-\

    eeeff wrote:
    quick intro:
    ...had a screwy server, planned a rebuild.
    added all active users to a specific group.
    Exported said group, exported ALL users, exported anything I could think of!
    Have vanilla built 10.4.10 server, few teething probs with a DNS glitch, think I'm over it...
    not 100 percent sure, but 4 users I've tested appear to be working.
    imported specific group, didnt show any members.
    Had to import ALL users before they populated, unfortunatley ALL users appear to have active accounts, only want specific group active
    (was I expecting to much?)
    Use the Search feature in WGM (upper right icon). If you want to apply a setting to say all users in the group "Teachers" and the GID is 100 then you would search and "Group ID IS 100. Check the box preform a batch edit. Now make any changes you want and save. WGM will prompt you with a list of users the change will apply to. Also if you don't check the box you will see a list of all users in that group, you can use this to delete all the members of another group OR export only the members in a group (highlight them all after a search).
    In a bid to tidy up home dirs, correct privelages etc.
    is there a simple way to apply the same privs to hundreds of folders rather than selecting each one?
    I basically want <user> as the owner, <admin> as the group, everyone else none.
    The following terminal command will apply privileges to every folder inside the current folder. Note that the folder name and the short name for the user must match exactly. cd to the directory with home folders first.
    sudo for i in `ls`;do chown -R $i $i;done
    (cut and paste to reduce the chance of devastating typo
    Also need to change/apply a new home dir path to 350plus users
    What is the easiest way to do this?
    TIA
    a very tired and frustrated system admin :-\

  • Error with System.loadLibrary(...) with java.library.path set

    I'm trying to get my feet wet with JavaMonkeyEngine using netbeans (on Windows XP SP3, Java 1.6).
    When I try to run a simple example program, I'm getting
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl.dll in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
    My runtime arguments include: -Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/:etc
    I'm pretty sure that the path is correct, because I tried the following code:
    String [] dirs = System.getProperties().getProperty("java.library.path").split(":");
    for(int i = 0; i < dirs.length; i++ ){
    String path = dirs[i] + java.io.File.separatorChar + "lwjgl.dll";
    if( (new java.io.File(path)).exists()) {
    System.out.println("found in dir " + dirs);
    path = (new java.io.File(path)).getAbsolutePath();
    System.load(path);
    System.out.println("was able to load library manually");
    and the System.load method was reached and didn't throw an exception.
    However, the below call does throw an exception.
    System.loadLibrary("lwjgl.dll");
    Presumably, I shouldn't need to put the dlls into my Path (otherwise whats the purpose of the -D argument).
    I would appreciate some brilliant illuminating thought about now, something like "you forgot the magical snafu parameter" or such.
    Thanks in advance.
    Eric.

    My runtime arguments include:
    -Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/:{code}So, you're on a Windows OS, and looking for a Windows DLL?
    I'm pretty sure that the path is correct, because I tried the following code:
    {code}String [] dirs = System.getProperties().getProperty("java.library.path").split(":");{code}So, you're specifying a path using the UNIX separator ':', instead of the Windows one ';'?
    Your test code has the knowledge to parse a LINUX-like path, but the Windows VM doesn't have this knowledge (I admit the misleading part is that the VM generally accepts '/' as a file separator (instead of the Windows-standard '\' one), but doesn't recognize the ':' separator). Try using ';' to separate multiple pathes in your command line:
    {code}-Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/;<noticeTheSeparators>;...    J.
    Edited by: jduprez on Jan 12, 2010 1:39 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 10G datapump and external tab on XP

    Hi,
    A. I used expdp to extract a table data & metadata;
    B. I successfully created a DIR & gave associated GRANTS.
    C. I successfully created an external using oracle_datapump access driver on the step A dump (a desc cmd is OK).
    D. I issue a select * from ext_tab, and got :
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-06512: at line 1
    A log is generated with contents :
    LOG file opened at 10/02/04 11:03:56
    KUP-11010: unable to open at least one dump file for load
    I have 10.1.0.2 on XP SP1.
    Could anyone help ?
    Thank u in advance.
    Bernie.

    Thanks for your reply.
    I am always logged on as the XP administrator (since I do not know how to make a shared-install - i.e., shared among different users/logins on the same local PC; O.U.I does not accept blanks in the install dir path, making it impossible to install in the ...\All Users\... path).
    By the way, the log file is properly generated at the dump location.
    Any idea ?

  • Reading .log file & Sorting input

    Hello all
    Currently I'm working on a projekt were I have to read a "in.log" file, sort it and save it to another "out.log" file, the contents of the in.log file is:
    [204.0.44.73]: Dir: path
    [204.0.44.73]: Dir: path
    [204.0.44.74]: Dir: path
    [204.0.44.73]: Dir: path
    [204.0.44.74]: Dir: path
    and so on, now what I have to end up with is this in the out.log:
    #1
    [204.0.44.73]: Dir: path
    [204.0.44.73]: Dir: path
    [204.0.44.73]: Dir: path
    Count = 3
    #2
    [204.0.44.74]: Dir: path
    [204.0.44.74]: Dir: path
    Count = 2
    It's for the system administrator at school who doesn't want to do it himself but wants to pay an amount for me to do it (very small amount). I'll pay max duke dollars for a reply which can help me..
    Please help, thx in advance

    I must be really bored... Use it with "java Parser <logname>"
    import java.io.*;
    import java.util.*;
    public class Parser{
         public void splitLog( File input ){
              try{
                   FileInputStream fis = new FileInputStream( input );
                   BufferedReader br = new BufferedReader( new InputStreamReader( fis ) );
                   Hashtable hosts = new Hashtable();
                   String line;
                   while( ( line = br.readLine() ) != null ){
                        StringTokenizer st = new StringTokenizer( line, "]" );
                        if( st.hasMoreTokens() ){
                             String host = st.nextToken();
                             if( host.trim().startsWith("[") ){
                                  host = host.trim().substring(1);
                             if( !hosts.containsKey( host ) ){
                                  hosts.put( host, new Vector() );
                             Vector v = (Vector)hosts.get( host );
                             v.addElement( line );
                   Enumeration enum = hosts.keys();
                   while( enum.hasMoreElements() ){
                        String host = (String)enum.nextElement();
                        Vector v = (Vector)hosts.get(host);
                        FileOutputStream fos = new FileOutputStream( host + ".log" );
                        for( int i = 0; i < v.size(); i++ ){
                             line = (String)v.elementAt( i );
                             fos.write( (line + "\r\n").getBytes());
                        fos.close();
              catch( Exception e ){
                   e.printStackTrace();
         public static void main( String[] args ){
              File input = new File( args[0] );
              Parser parser = new Parser();
              parser.splitLog( input );
    }

  • Importing All the files from a folder at a time

    Hi....
    Can any body tell me how to import set of files from a folder into IDM.
    It is becoming very difficult to import the files one after other....
    Waiting for Reply....
    Thanks in advance..........

    We used an ant script to build an XML file that will contain the files. The script is configured to use the folder structure of our CVS repository.
    We'd checkout our XML module and then run the build script and import the resulting init file.
    Code to the script is below -- caveat emptor. You'll need to change the folder structure to suit your own environment.
    <?xml version="1.0" encoding="UTF-8"?>
    <project basedir="." default="all" name="MyInit">
        <target name="init">
            <property location="." name="src.dir"/>
            <property location="." name="dest.dir"/>       
            <property name="project.name" value="${ant.project.name}"/>
            <property location="${dest.dir}/MyInit.xml" name="MyInit.output"/>
            <property name="source.configuration" value="${dest.dir}/configuration"/>       
            <property name="source.emailTemplate" value="${dest.dir}/emailTemplate"/>
            <property name="source.forms" value="${dest.dir}/forms"/>
            <property name="source.reports" value="${dest.dir}/reports"/>               
            <property name="source.resource" value="${dest.dir}/resource"/>          
            <property name="source.rules" value="${dest.dir}/rules"/>
            <property name="source.workflow" value="${dest.dir}/workflow"/>
            <!-- get the source path -->
            <path id="configuration.path">
                <fileset dir="${source.configuration}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="cp" refid="configuration.path" />
             <path id="emailTemplate.path">
                <fileset dir="${source.emailTemplate}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="ep" refid="emailTemplate.path" />
             <path id="forms.path">
                <fileset dir="${source.forms}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="fp" refid="forms.path" />
            <path id="reports.path">
                <fileset dir="${source.reports}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="rptp" refid="reports.path" />                 
            <path id="resource.path">
                <fileset dir="${source.resource}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="rep" refid="resource.path" />        
            <path id="rules.path">
                <fileset dir="${source.rules}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="rp" refid="rules.path" />
            <path id="workflow.path">
                <fileset dir="${source.workflow}" >
                   <include name="*.xml" />
                </fileset>
             </path>
             <property name="wp" refid="workflow.path" />
            <!-- get the path prefix -->
             <path id="source.path">
                <pathelement location="${src.dir}" />
             </path>
             <property name="sp" refid="source.path" />       
        </target>
        <target depends="init"  name="win_init">
            <!-- change the path of xml files to windows path -->
            <property name="importfile.path" value="${sp}"/>                            
        </target>              
        <target depends="init" name="make">
        <!-- using XML character entity references to escape
        <  <
        >  >
        '  &apos;      -->    
            <echo file="${MyInit.output}" append="false"><?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    ${cp}
    ${ep}
    ${fp}
    ${rptp}
    ${rp}
    ${wp}
    </Waveset>
            </echo>
         <!-- replace path prefix with ImportCommand -->
         <replace file="${MyInit.output}"
                  token = "${sp}"
                  value = "<ImportCommand name='include' file='${importfile.path}" />
         <!-- deal with file and path separators in an os independent way -->
         <replace file="${MyInit.output}"
                  token = "${file.separator}"
                  value = "/" />        
        <replace file="${MyInit.output}"
                  token = "${path.separator}"
                  value = "${line.separator}" />
        <replace file="${MyInit.output}"
                  token = ".xml"
                  value = ".xml'/>" />
        </target>
        <target depends="init,win_init,clean,make" description="Build everything." name="all"/>
        <target depends="init" description="Clean all build products." name="clean">
            <delete file="${MyInit.output}"/>
        </target>
    </project>

Maybe you are looking for

  • How do I deal with flat out lie in an app review in another country?

    I just found out how to see reviews from other countries. So I picked Canada first and looked at one of my apps. There is one review - 1 star. The person claims I stole pictures from Flickr and used them in my app. This is flat out untrue. I have one

  • Help please (Urgent)

    hai all, When i click on the serach tab of the help window, the application quits by throwing the following exception. Exception while creating engine named com.sun.java.help.search.DefaultSearchEngine for view: javax.help.SearchView@86b4d5 java.lang

  • Macbook wants me to pick a drive and can't pick himself!

    Every time I turn off my macbook it gets stuck at the white screen and says no boot device. When I hold alt it shows my drive. Its fine once I click on the Drive but every time I restart I have to first press alt and pick the drive. Is my Hard Drive

  • Problems in VALUECHANGELISTNER in JSF

    I am developing a web application using IBMs RAD tool. with websphere 5.0 test environment. I am using JSF. Here I have a a selectone dropdown menu ,input text boxes followed by another selectone dropdown menu and then few checkboxes. I have a valuec

  • FAQ's for end to end IT support.

    Hi Its Ajit again. I'd appreciate help on this one especially. I need to know what kind of questions do i need to ask to a client if I approach them for end to end IT support. This is something that I'm currently working on. For example: 1) How big i