How to give network path while creating oracle directory.

I have created
CREATE OR REPLACE DIRECTORY TESTDIR AS '\\168.176.33.117\TESTDIR';
but through this path i m not able to create text file.
create or replace procedure WriteTest is
f utl_file.file_type;
s varchar2(200) := 'this is some info';
begin
f := utl_file.fopen('TEST2DIR','sample2.txt','W');
utl_file.put_line(f,s);
utl_file.fclose(f);
end WriteTest;
Help how to give network path while creating oracle directory.
--when i give local machine path then it will create at local machine where oracle is installed. but not able to create at other machine.
Zakir

Well for starters your directory object is called TESTDIR and in your fopen statement you are referring to TEST2DIR.
On top of that I'm not sure oracle is happy to refer to network locations. I think you have to map it to a regular drive mapping (shared directory) type path. Can't say I've every tried to do it though.

Similar Messages

  • Specifying Directory path while creating Oracle Directory

    Hi All,
    I would like to know the restriction applies on directory path while creating oracle directories.
    shold directory exist on local server? What about remote locations?
    Please share your thoughts.
    _BR                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    B R wrote:
    Hi All,
    I would like to know the restriction applies on directory path while creating oracle directories.
    shold directory exist on local server? What about remote locations?It should, but it doesn't have to whilst you create the oracle directory object. It is only when oracle comes to use that directory object that it will need to exist otherwise you'll get an error. Oracle doesn't check the path upon creation of the directory object itself.
    The directory object should point to a path that is visible from the database server such that, if you were logged directly onto the server itself, you could access that directory from there (and preferably without UNC paths, as Oracle has been known to have issues with those in some versions). Typically the directory will be on the server itself, but if it must be on a remote location it will need to be mapped as if it is a local directory. You can't expect Oracle to hack across the security of a network and break into another machine to access it's directories without explicit permission having alreayd been granted at the operating system level.

  • Wrong path while creating Home-directory

    Hello,
    i hope i am in the right directory for my question!
    Under Leopard Server I set up an DNS Server wich works quite good so far...
    When i try to set up the Home-directory for an new user the networkpath is always wrong.
    My normal server adress is : "hale.school.private" the Usergroupmannager always set "afp://hale.private/user"!
    Where can i change this?

    _*Here an Copy of my changeip command:_*
    +hale:~ Administrator$ sudo changeip -checkhostname+
    Password:
    +Primary address = 192.168.2.107+
    +Current HostName = hale.school.private+
    +DNS HostName = hale.school.private+
    +The names match. There is nothing to change.+
    _*And here theproblem in the Workgroupmanager:*_
    Message was edited by: sykane

  • How to give commitment item while posting tax

    how to give commitment item while changing tax %.

    HI
    Commitment Item will be derived from the G/L account. You need not enter the commitment Item. Whenever u create a G/L account go to FMDERIVE and assign the G/L account to the commitment Item.
    Hope this helps. If it helps plz assign points.
    Regards
    Rajaram

  • How to add image file while creating addon...pathsetup?

    Hi friends,
    i have a problem while creating addon.
    while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
    --how to add image file while creating addon..?
    we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • How to give commitment item while changing tax %.

    how to give commitment item while changing tax %.

    Dear shahed
    Can you please be clear in your question??
    Thanks
    G. Lakshmipathi

  • "How to pass classification characteristics while creating batch" ?

    Hi,
        I am using FM's BAPI_BATCH_CREATE/CHANGE while creating/changing batch I have to maintain classification data aswell.But in FM docu i saw as shown below
    1.Create the classification of a batch in the background (object characteristics only)
    2. If the batch is to be classified, you must specify a class in the BatchControlFields parameter. Only single classification is possible.
      According to above statments I have passed class name in Batch Control Fields but I am unable to find " How to pass classification characteristics while creating batch". Please tell me how to pass classification characteristics in background?
    Edited by: Vijay Babu Dudla on Dec 16, 2008 3:24 AM

    Hi, You can update classification for a batch using the following code.
    But first, you'll need to find out that the batch management is cross-plant or plant dependant.
    If it is cross plant then plant(WERKS) is not part of the key to BAPI_OBJCL_CONCATENATEKEY.
    CLEAR: objectkey, objectkeytable, objectkeytable[],
               allocvaluesnumnew, allocvaluesnumnew[],
               return.
        objectkeytable-key_field = 'MATNR'.
        objectkeytable-value_int = matnr.
        APPEND objectkeytable.
        objectkeytable-key_field = 'CHARG'.
        objectkeytable-value_int = charg.
        APPEND objectkeytable.
    * Only if Batch management is Plant dependant
        objectkeytable-key_field = 'WERKS'.
        objectkeytable-value_int = werks.
        APPEND objectkeytable.
        CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
          EXPORTING
            objecttable    = objecttable
          IMPORTING
            objectkey_conc = objectkey
          TABLES
            objectkeytable = objectkeytable
            return         = return.
        allocvaluesnumnew-charact = "characteristic name goes here".
        allocvaluesnumnew-value_from ="characteristic value goes here".
        APPEND allocvaluesnumnew.
        allocvaluesnumnew-charact =  "characteristic name goes here".
        allocvaluesnumnew-value_from =  "characteristic value goes here".
        APPEND allocvaluesnumnew.
        CALL FUNCTION 'BAPI_OBJCL_CHANGE'
          EXPORTING
            objectkey                = objectkey
            objecttable              = 'MCHA' " MCH1 in case of cross-plant batch management
            classnum                 = classnum " Classification class number, as used in MSC2N
            classtype                = classtype " Classification class type, as used in MSC2N
    *   STATUS                   = '1'
    *   STANDARDCLASS            = STANDARDCLASS
    *   CHANGENUMBER             = CHANGENUMBER
    *   KEYDATE                  = SY-DATUM
    *   NO_DEFAULT_VALUES        = ' '
    * IMPORTING
    *   CLASSIF_STATUS           = CLASSIF_STATUS
          TABLES
            allocvaluesnumnew        = allocvaluesnumnew
            allocvaluescharnew       = allocvaluescharnew
            allocvaluescurrnew       = allocvaluescurrnew
            return                   = return
    * Do not forget to commit, otherwise changes would not take effect.
    commit work.
    Regards,
    Hashir Ahmed

  • How to control Doublicate Entry while creating GL Master

    HI every one,
    Can any one let me know, how to control Doublicate check while creating GL Master. And also for AR and AP if possible.
    Thank you
    Satish

    Hello Satish,
    You can implement the logic to control duplication of G/L Master records either in
    a) Function Exit EXIT_SAPMF02H_001 available within the SMOD enhancement SAPMF02H
    b) P/S BTE 00002310 (Master Record G/L Account: Save)
    The logic would be to identify if G/L Accounts with same Short/Long Texts already exist in the Company Code.
    Hope this resolves your problem. Please reward points.
    With Regards
    Vijay Gajavalli

  • How to capture an error while creating a purchase requisition

    Hello All,
    I append 50 line items while creating a PR using BAPI_REQUISITION_CREATE and I get an error in RETURN.
    So can I capture the line item which exactly has that error.
    I mean to say how to figure out the line item with error, if the BAPI gives an error.
    Please suggest.
    Thanks & Regards,
    Tarun Gambhir

    I could not find TEST_RUN option in these bapis
    Roundway will be
    1. Use BAPI_REQUISTION_CREATE with single line item  and create PR then take the requisiton number
    2. Use ME_UPDATE_REQUISITION. and add line by line into same PR (Within loop)
    BAPI_REQUISITION_CHANGE can only be possible to edit existing line and you cannot able to add new lines,
    a®s
    Edited by: a®s on Jul 29, 2009 11:13 AM

  • AIX 5.2 : how to pass password value while creating a user on AIX server

    Hi ,
    Test connection is successful with AIX server , I can successfully create a user on AIX server, with defualt password.
    I am not passing the any password value still some default value is being populated for the user...
    In AIX while creating the user , use get force to set the password...
    But while configuring the schema for AIX adapter ...if password attribute is given then it will give the error
    as invalid attribute...while creating a user if password value pass...
    how to set the password for the user..what attribute need to set for the password .
    thanks ..

    The default password might be the IdM account password of the user you are trying to provision. You don;t need to keep password in the resource schema. Just set password.password and password.confirmPassword and select AIX resource for password reset. Check the workflow-form-views document for more information on password view.

  • Problem while creating Oracle Content Server Identity plug-in  in SES

    Hi,
    I am Integrating Oracle SES with UCM.Both UCM and Oracle SES are installed on the same machine.
    I have installed SESCrawlerExport compoent on UCM and also taken Snapshot of Repository.
    But when i am trying to create Oracle Content server Identity plug-in in SES it gives following exception.
    Inputs:-
    1) HTTP endpoint for authentication- http://localhost:100/idc_new/idc
    2) Admin User - sysadmin
    3) Password - idc
    09/10/15 15:06:33 INFO     HTTPThreadGroup-7               URIHandler initialized for the URI http://localhost:100/idcnew/idcplg
    09/10/15 15:06:33 INFO     HTTPThreadGroup-7               StellentIdentityPlugin.autheticate: username=sysadmin
    09/10/15 15:06:33 FATAL     HTTPThreadGroup-7               EQP-80309: Exception while opening a stream to the URI: http://localhost:100/idcnew/idcplg
    09/10/15 15:06:33 FATAL     HTTPThreadGroup-7     EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt oracle.search.sdk.common.PluginException oracle.search.plugin.rss.HTTPHandler:getInputStream:302 java.lang.Thread:run:534
    09/10/15 15:06:33 ERROR     HTTPThreadGroup-7               EQP-80354: Exception while authenticating user sysadmin: EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt
    09/10/15 15:06:33 ERROR     HTTPThreadGroup-7     EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt oracle.search.sdk.common.PluginException oracle.search.plugin.rss.HTTPHandler:getInputStream:302 java.lang.Thread:run:534
    09/10/15 15:06:33 EQP-80353: Exception while validating parameters: EQP-80317: HTTP connect attempt failed after 3 attempts. Aborting connection attempt
    Please help me on the same.
    Regards,
    Nitin

    If the error message is correct, it means that no listener is running on port 100.
    Where did you get the URL http://localhost:100/idc_new/idc ?
    Is UCM using port 100 as it's standard port?
    What happens if you try to open this in a browser (running on the localhost machine)?

  • Problem while creating Oracle Content Server source  in SES

    Hi,
    I am Integrating Oracle SES with UCM.Both UCM and Oracle SES are installed on the same machine.
    I have installed SESCrawlerExport compoent on UCM and also taken Snapshot of Repository.
    But when i am trying to create Oracle Content server Source in SES, it gives following exception.
    13:05:46:562 INFO     main          Crawling started at 10/15/09 1:05 PM
    13:05:47:578 INFO     main          URL manager connecting to Oracle...
    13:05:47:843 INFO     main          connected
    13:05:47:984 ERROR     main          EQG-31209: No security attribute defined for source (id=70)
         at oracle.search.crawler.WebCrawler.init(WebCrawler.java:631)
         at ImtCrawler.run(ImtCrawler.java:1954)
         at ImtCrawler.main(ImtCrawler.java:534)
    13:05:47:984 ERROR     main          EQG-30249: Crawler process aborted
    Please help me on the same.

    Thanks very much, Roger. That's very kind of you. The answer was very helpful. I've changed the host and realm accordingly, and altered the Authentication Type to BASIC (previously NATIVE).
    When I now try a crawl of UCM, it fails and the log file provides the debugging info listed at the bottom of this message. I've tried to research the exception type and have experimented by altering a few configuration values, but have so far failed to resolve the issue. Are you able to hazard a guess as to what could be causing it?
    The parameters I am using are listed below (I have only entered/changed values under the three tabs listed; any fields under those tabs which are omitted below have been left blank):
    Source Configuration
    Configuration URL: http://<hostname>/ucm/idcplg?IdcService=SES_CRAWLER_DOWNLOAD_CONFIG&source=feeds
    Authetication Type: BASIC
    Realm: ucm
    User ID: sysadmin
    Password: <password for sysadmin>
    Max connections: 3
    Authentication
    Host: <hostname>
    Realm: ucm
    Username: sysadmin
    Password: <password for sysadmin>
    Authorization
    ACLs controlled by Source
    HTTP endpoint: http://<hostname>/ucm/idcplg
    Display URL prefix: http://<hostname>/ucm
    Administrator user: sysadmin
    Administrator pw: <password for sysadmin>
    Display crawled version: true
    Authorization user ID format: username
    Use cached user and role info to authorize results: false
    Authentication Type: BASIC
    Realm: ucm
    Debugging info:
    09/10/23 11:29:05 oracle.search.admin.exception.DBSetException
    09/10/23 11:29:05      at oracle.search.admin.util.AdminObject.handleBackEndException(AdminObject.java:297)
    09/10/23 11:29:05      at oracle.search.admin.users.InstanceManager.isOwnerOfInstance(InstanceManager.java:497)
    09/10/23 11:29:05      at schedules.schedules._jspService(_schedules.java:551)
    09/10/23 11:29:05      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    09/10/23 11:29:05      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    09/10/23 11:29:05      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/10/23 11:29:05      at java.lang.Thread.run(Thread.java:534)
    09/10/23 11:29:05 oracle.search.admin.exception.DBSetException
    09/10/23 11:29:05      at oracle.search.admin.util.AdminObject.handleBackEndException(AdminObject.java:297)
    09/10/23 11:29:05      at oracle.search.admin.users.InstanceManager.isOwnerOfInstance(InstanceManager.java:497)
    09/10/23 11:29:05      at control.error._jspService(_error.java:543)
    09/10/23 11:29:05      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    09/10/23 11:29:05      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    09/10/23 11:29:05      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    09/10/23 11:29:05      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    09/10/23 11:29:05      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    09/10/23 11:29:05      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    09/10/23 11:29:05      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    09/10/23 11:29:05      at java.lang.Thread.run(Thread.java:534)
    Thanks again.

  • How to assign a seq while creating a table

    Hi,
    How to assign a sequence such that i dont want to give the sequence while creation. i mean
    if employee table is there
    sl_no empname salary .....
    i dont want to give sequence while inserting the data, i want to give the sequence at creation of table level for sl_no
    i tried this
    create table seqtest1 (id number primary key default rajseq.nextval);
    but it is showing me the error
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    whats the solution
    please help me
    Thank you
    Raj deep.A

    Hi Raj,
    You can not assign a sequence to a column while creating a table. you have two options for this. (So you can also use one sequence for multiple tables)
    1. As Gasparotto said, you can create a before insert statement. OR
    2. you can assign new sequence number in the program code. for example.
    insert into xxx (user_id,name,surname) values (seq_userid.nextval,'Raj','Deep');
    Good Luck.
    Onur

  • Error while creating Oracle DB connection in Endeca Intergrator 3.1

    Hi All,
    I am facing an issue while creating a new Oracle DB connection using Inegtator in 3.1 version.
    I get the following exception:
    loader constraint violation in interface itable initialization: when resolving method "oracle.jdbc.OracleConnectionWrapper.setWrapper(Loracle/jdbc/OracleConnection;)V" the class loader (instance of org/jetel/util/classloader/GreedyURLClassLoader) of the current class, oracle/jdbc/driver/OracleConnection, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for interface oracle/jdbc/OracleConnection have different Class objects for the type oracle/jdbc/OracleConnection used in the signature
    we dont have SID but service name and we use like the following in earlier versions:
    jdbc:oracle:thin:@localhost:1556/xx_yy.us.oracle.com
    Not sure what is the issue... Any pointers are appreciated!!
    Thanks in Advance,
    Kartik P.

    Could you have installed Integrator ETL Server into the same Tomcat instance as Studio?  That's not a supported configuration per http://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/toc.htm#Installing%20Integrator%20ETL%20Server%20on%20Tomcat : "Integrator ETL Server must be installed on a standalone Apache Tomcat. Do not install Integrator ETL Server on a Tomcat server that is being used to host other applications. For example, do not install Integrator ETL Server on the Tomcat that is hosting Studio. ".

  • How to give relative path in web.xml?

    Hi All,
    Im creating a servlet which has to load the properties file.
    I don't want to give the location of the properties file as ABSOLUTE PATH. But I'm unable to provide the same as RELATIVE PATH.
    When I give the path is given as ABSOLUTE PATH (drive:/dir/) it is working. But if I give the RELATIVE PATH(../), the same is not working.
    Kindly help me in this.
    Regards,
    Kumar Madhavan.
    My web.xml file is:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
         <display-name>NGT - ASCII</display-name>
         <description>Application for Safety Critical Information vIew.</description>
         <welcome-file-list>
              <welcome-file>ASCII.html</welcome-file>
         </welcome-file-list>
         <context-param>
              <param-name>asciifiledir</param-name>
    <!-- This is the tag in which I would like to
              <param-value>../</param-value>
         </context-param>
    </web-app

    Hi.
    Exclude the directory path from the <param-value/> in
    the web.xml and just keep the property file name.
    Place the property file in the classpath and load it
    like this from the servlet:
    Properties props = new Properties();
    String propFileName = "" // Read param-value from web.xml
    try {
    InputStream is = TheServlet.class.getResourceAsStream(propFileName);
    props.load(is);
    } catch (Exception ex) {
    System.out.println("Prop file not in classpath!");
    /Jesper

Maybe you are looking for

  • My Classic developes two thin horizontal lines across the top third of the screen.

    After a day using my classic in the car, I plugged it into its speaked dock and niticed two thin horizontal lines all the way across the top third of the screen. Does anyone know how to get rid of them pleaase. Thx

  • Editing files in my catalog and then moving them back. Help.

    I want to take a folder of images in the LR catalog on my desktop with me while travelling so that I can edit them on my laptop but, the question I have is, if I export them as a catalog to a portable drive, how do I put them back in the catalog on m

  • Using Webservices in OAF Pages

    Hi all, Did any one try using Web services (Captcha) in the OAF Pages? Will this work, suggestions and Information related to this is very much appreciated. Please share any step by steps process to achieve this. Thanks in advance, Raja Edited by: 91

  • Navigate XML document as tree

    Hi Otn, Can you help me! if is possible to navigate a specifed XML document as editable Tree / table tree using ADF components or using any another JSF component. Thanks in advance :)))

  • ****Video Conversion For MACS, FINALLY!!!!!****

    The best program for video conversion on the mac is ffmpegX. www.homepage.mac.com/major4 Just download it and use the serial: Name : In Memory of Uwedizo Code : F00-1058-1369 However, i cant figure out how to work it, i am supplying this to people wh