Create directory object question ?

I have been given right to create directory object by my DBA.
The DBA has also created the folder specified in the create directory command.Now my Unix operating system user id is A and my Oracle user Id is B.The DBA is telling me that he has created the folder and has given all right to my unix user id.But my doubt is that it will not work because I am accessing that folder via Oralce PL-SQL procedure and not manually accessing that unix folder using unix id.
Please help.
Thanks
,m

Files you create will be owned by the database owner (oracle). The folder needs to have group rwx privs for the same group a oracle (usually DBA).

Similar Messages

  • Create directory object on a client machine

    hey guys .. can i craete a directory object on a different machine_that is connected to the network_ other than the server machine from where i run the em?
    & if so , how do i provide its path through the em?

    If it is on the machine where EM Agent is installed, this may be possible. You can create a job (using OSCommand command). As part of the OS Command job, you can do 'mkdir'. Ofcourse, you will need to provide EM Agent credentials.

  • Create directory / object name must NOT be case sensitive

    SQL Dev. 2.1 - the wizard, chosen from the left side navigator, submits a wrong create statement in which the object name becomes case-sensitive. This should not be so! Even if you write the new object name in small letters , the object name must end up in the data dictionary with capitals. kind regards Inger ([email protected])

    Which wizard? If I use a create table wizard, for example, and enter the table in lower case, this is indeed stored in the DB as upper case, as you require.
    Please provide more detail for your problem.
    Sue

  • Oracle 10g enterprise manager create directory

    Hi,
    I am new to using Oracle 10g on Linux and struggle with creating a new directory using the Enterprise Manager "wizard".
    I go to Database Instance > Directory Objects > Create Directory objects
    and try it with \home\oracle , then test the file system it says directory not available.
    pressing OK and continueing with my data dump does not work because I get the error "The directory does not exist"
    I wonder why it has not been created?
    moreover how do I delete the directory objects. I cant find a delete button using the enterprise manager browser ui ?
    Edited by: metalray on 10-Jul-2009 09:12

    metalray wrote:
    Hi EdStevens,
    thanks for your reply.
    I have heard this "read a book" a thousand times and gues what. I am
    reading a book and this is exercise 9.2 and it tells me (as part
    of the ultimate learning path) to use the enterprise manager
    after I have created the directory with sqlplus.
    I also tried the intuitiv DROP DIRECTORY in sqlplus as well but...
    the directory does apparently not exist (altough I can see it clearly there in the list).That could be an ownership issue. Who does the directory belong to? who are you logged on as?
    >
    >
    >
    Hence I came to the conlusion to create a directory using the good old enterprise manager and it did not work too well either.
    whatever I type in there I get file system does not exist. I guess I do something wrong with the PATH written into the textbox right?
    [directory creation does not work|http://metalray.redio.de/dokumente/linux01.jpg]
    Who are you connecting as when you log on to OEM? Try logging on with sysdba authority and you should see some more options available on the directory management page.
    >
    >
    @DMBS direct
    what I cant see is a delete button....
    [no delete button|http://metalray.redio.de/dokumente/linux02.jpg]

  • How to create an object for this Question...

    i want to create an object to Factorial.java, but the class is in String object... how can i do that
    please help me with code how to create an object
    String str = Factorial.java;
    i tried to do like this
    str s1 = new str();
    this way is not working...
    thank u

    yes sir am trying to instantiate and retrieve the metadata, am a student am asked to do Program Analyzer, while fullfilling the application requirements i came across this situation, like i have to find total number of public methods in any source file that is entered as input.
    Am taking the input in String variable, i can have the details of the source class only of i instantiate and create an Object to that....
    Please suggest me some way to do that... JAVA is so interesting am working on the project since 2 weeks am done with all other classes but struck here finding the total number of methods...
    Thank you

  • Create Objects Question

    Hi. Just curios.
    Lets say I have a class called MyClass. In that class I have an method called myMethod()
    I then create an Object of that with.
    MyClass mc = new MyClass();
    mc.myMethod(); Is that better then to do
    new MyClass().myMethod()What I think is the difference.
    1 with the first example I create an Object that stays "alive"
    2 in the second example the Object dies when myMethod() is complete.
    Have I understood this correctly ?

    MagnusT76 wrote:
    Hi. Just curios.
    Lets say I have a class called MyClass. In that class I have an method called myMethod()
    I then create an Object of that with.
    MyClass mc = new MyClass();
    mc.myMethod(); Is that better then to do
    new MyClass().myMethod()
    Neither one is inherently better. If you need to use the object other than for that one method call, you have no choice but to go with the first option. If that's all you need the object for, and the class name and method name and signature are short enough for it to be readable, you might prefer the second one.
    What I think is the difference.
    1 with the first example I create an Object that stays "alive"
    2 in the second example the Object dies when myMethod() is complete.Java doesn't really have a concept of objects being "alive."
    In the first case, you are retaining a reference to the object, and as long as you have that reference, it cannot be garbage collected.
    In the second case you are not directly retaining a reference to the object, but that doesn't mean that one didn't escape from the method. So the object may or may not be GC-eligible.
    public void myMethod() {
      someList.add(this);
    }If myMethod() does something like that, then the object is not eligible for GC after your call, even though you didn't explicitly retain a reference, because the list now has a reference to it.

  • How do I create an object store on JMQ 2.0?

    I have a question about creating an object store in JMQ 2.0 using the
    administration tool.
    The documentation doesn't explain it that clearly because it says for
    development purposes, you should be able to get away with the default
    configuration. The default configuration as far as I can see has no object
    store for JNDI lookup.
    What I need is an object store that I can connect with using an
    InitialContextFactory to the broker URL. I'd like to then use that
    Connection to lookup ConnectionFactories (topic and queue).
    Again, I thought the documentation would explain all of this, but haven't
    been able to find anything. Please advise.

    To answer your question, you can use the 'jmqadmin'
    (graphical interface) or 'jmqobjmgr' (command line interface)
    to configure administered objects that you store in a
    JNDI service provider. This object store has to be set up
    in advance which may mean creating a directory if a file store
    is used, or setting up an LDAP server.
    Here as the basic steps to add administered objects
    if you're using the graphical implementation ('jmqadmin'):
    1. Set up some sort of object store repository outside the admin
    tool (you can use LDAP or create a file system directory).
    2. Add an Object Store connection to the repository you
    just set up:
    - Run 'jmqadmin', click on the tree node "JMQ Object Stores".
    - Select Actions->Add Object Store.
    - Name this Object Store with a value in "Object Store Label".
    - Fill in the values for java.naming.factory.initial
    and java.naming.provider.url and any other necessary JNDI values.
    - Select OK
    3. To add objects to this object store you just set up:
    - First make a connection to this store:
    Select Actions->Connect to Object Store
    - Click on the "Destinations" or "Connection Factories" node
    under this object store.
    - Click on Actions->Add Destination Object or Add Connection Factory Object
    and fill in the values in the dialog.

  • PowerShell script : Directory object not found error in Get-ADGroupMember

    I am new in powershell scripting. I am writing a script to add users in different AD Groups. while doing so I do the following:
    Check if the user already exist in the group:
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    If user does not exist then add the user to the group.
    When I manually run the script its runs flawless, without any errors. But when I schedule the script to run it gives an error as follows:
    3/30/2015 8:32:15 AM Directory object not foundAt + $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error at Line:$mbr_exist = Get-ADGroupMember
    $grpname | Where-Object {$_.SamAccountName -eq $sam}
    The strange thing is the user for which it throws the error is present in the group.I am not sure why this error is occurring when scheduled. Can any one please help? All the suggestions will be appreciated
    Note: (The script is scheduled using Windows Task Scheduler)
    try
    # # Initialize the variables we will use
    $status = 'false'
    $drivename = "H:"
    $sysdate = Get-Date -UFormat "%m_%d_%Y"
    $foldername = $drivename + "\Script_Result\PowershellData"+ $sysdate
    $backup_folder = "$foldername\AD_Groups_Backup"
    $updatedGroup = "$foldername\Updated_AD_Groups_LogFiles"
    $LogFilePath = "$foldername\Log_Update_ADGroups"+$sysdate+".log"
    # # Initialize the arrays we will use
    $GroupArray = @()
    # # maintain log of program startup
    $logdate = get-date
    $logdate.ToString() + "`tStarted script to Update AD user Groups..." | Out-File -FilePath $LogFilePath
    # # Create a sub folder to store the backup files
    $fileexist = Test-Path $backup_folder -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $backup_folder
    # # Create a sub folder to store Updated AD group Log files
    $fileexist = Test-Path $updatedGroup -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $updatedGroup
    # # Take back up of the AD groups data
    Get-ADGroupMember -Identity "Group1" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group2" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group3" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group4" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    (an so on..... 11 such groups )
    # # Fetch AD Users data
    $ADusers = Get-ADUser -filter {(EmployeeNumber -gt 1) -and (EmployeeNumber -ne "N/A") -and (Enabled -eq $true)} -Properties * | Sort-Object -Property EmployeeNumber
    $ADusers.Count
    foreach($u in $ADusers)
    $sam = $u.SamAccountName
    $empnum = $u.EmployeeNumber
    $mgr = $u.mgr
    $fsal = $u.'fsalary-Hourly'
    $comp = $u.Company
    $ofc = $u.Office
    Write-Host "$sam : $empnum : $mgr :$fsal : $comp : $ofc" -ForegroundColor Yellow
    $GroupArray = @()
    # # Check if the user fits in any of the 11 scenarios
    if($comp -eq "US")
    # scenario 7
    write-host "7. Add to US Employees"
    $GroupArray += "US Employees"
    if($mgr -eq "Y")
    Write-Host "1. ADD to US MAnagers"
    $group = "US Managers"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -ne "Canton"))
    Write-Host "3. Add to US Hourly (excluding Canton)"
    $group = "US Hourly (excluding Canton)"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -eq "Canton"))
    write-host "4. Add to US Canton Hourly"
    $group = "US Canton Hourly"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2"))
    Write-Host "5. Add to US Salaried Corporate"
    $group = "US Salaried Corporate"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -ne "Corporate" -and $ofc -ne "Landis Lakes 1" -and $ofc -ne "Landis Lakes 2"))
    Write-Host "6. Add to US Salaried Plant"
    $group = "US Salaried Plant"
    $GroupArray +=$group
    elseif($comp -eq "canada")
    # scenario 9
    write-host "9. Canada Employees"
    $GroupArray += "Canada Employees"
    if($mgr -eq "Y")
    Write-Host "2. Add to Canada Managers"
    $group = "Canada Managers"
    $GroupArray += $group
    if($fsal -eq "Hourly")
    Write-Host "10. Add to Canada Hourly"
    $group = "Canada Hourly"
    $GroupArray += $group
    if($fsal -eq "Salaried")
    Write-Host "11. Add to Canada Salaried Plant"
    $group = "Canada Salaried Plant"
    $GroupArray += $group
    elseif($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2")
    Write-Host "8. Add to Corporate Employees"
    $GroupArray += "Corporate Employees"
    write-host "Final Group List" -ForegroundColor Green
    $grplen = $GroupArray.Length
    #$GroupArray
    $grplen
    for($i= 0; $i -lt $grplen; $i++)
    $grpname = $GroupArray[$i]
    write-host "$sam will be added to Group : $grpname" -ForegroundColor Magenta
    # # Check if the user is already present in the Group
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    if($mbr_exist -eq $null)
    # #Add user to US Managers group
    Add-ADGroupMember -Identity $grpname -Members $sam
    Write-Host "1. User $sam is added to $grpname group" -ForegroundColor Green
    # # documenting the user list that are added to this group
    $grpmbr = New-Object PSObject
    $grpmbr | Add-Member -MemberType NoteProperty -Name "EmployeeNumber" -Value $empnum
    $grpmbr | Add-Member -MemberType NoteProperty -Name "SamAccountName" -Value $sam
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Name" -Value $u.Name
    $grpmbr | Add-Member -MemberType NoteProperty -Name "DistinguishedName" -Value $u.DistinguishedName
    $grpmbr | Add-Member -MemberType NoteProperty -Name "mgr" -Value $mgr
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Company" -Value $comp
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Salary/Hourly" -Value $fsal
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Office" -Value $ofc
    $grpmbr | Add-Member -MemberType NoteProperty -Name "ADGroup" -Value $grpname
    $grpmbr | Export-Csv "$updatedGroup\ADUsers_To_Group($grpname)_$sysdate.csv" -Append -NoTypeInformation
    else
    Write-Host "Member $sam already exist in $grpname group" -ForegroundColor Red
    $logdate = get-date
    $logdate.ToString() + "`tCompleted script to Update Update AD Groups..." | Out-File -FilePath $LogFilePath -Append
    $status = 'true'
    return $status
    catch
    $err_lineno = $error[0].InvocationInfo.ScriptLineNumber
    $err_line = $error[0].InvocationInfo.Line
    $ExceptionMessage = $_.Exception.Message
    #$ExceptionMessage
    $error_info = $error[0].ToString() + $error[0].InvocationInfo.PositionMessage
    Write-Host "$error_info " -ForegroundColor Red
    $FailedItem = $_.Exception.ItemName
    if($ExceptionMessage)
    $logdate.ToString() + "`t $error_info " | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    "Line Number: $err_lineno . `nError at Line: $err_line" | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    #Invoke-Item "C:\ErrorLog.log"
    $status = 'false'
    return $status

    Hi mdkelly, Sorry for such a late reply (due to credential issues).
    I am using Windows task scheduler to schedule the task. I am given the administrator access to the server (Windows Server 2012). So I think I set to run the script under system account.
    My apologies for asking this, am I missing something while scheduling the script through task scheduler?  how to check if the scheduled task is running under who's credentials? How to pass my (admin) credentials, so that the script execution won't face
    a problem? Any suggestion on the above questions will be helpful. (I tried to search on net for the questions but didn't get any conclusive answers)  
    Thanks in advance.

  • CREATE DIRECTORY Does not Create Any Directory in My File System Hard Disk

    create or replace directory emp_dir
    as 'D:\emp_direc';
    Main Question:
    *1. Transaction succeeded, but i have not seen emp_direc created in my D: drive. I'm running Vista Home Edition x32. Any idea why directory does not show up?*
    Optional:
    Extra info:
    after creating a directory i did: - avoid comment sign
    --create table oldemp ( fname char(25), lname char(25) )
    --organization external
    --(type oracle_loader
    -- default directory emp_dir
    -- access parameters
    -- ( records delimited by newline
    -- nobadfile
    -- nologfile
    -- fields terminated by ','
    -- (fname position(1:20) char,
    -- lname position(22:41) char)
    -- location ('emp.dat')
    --parallel 5
    --reject limit 200;
    Table created successfully, then I did
    describe oldemp;
    Name NULL Type
    FNAME CHAR(25)
    LNAME CHAR(25)
    2 rows selected
    Extra questions:
    *2. emp.dat carries all the table data which can make data more portable to different oracle servers. However, it is one time operation, once table is populated, i can not update, insert, delete any rows. Thats what i know, if i'm wrong please let me know. If what i said is true, just confirm it if you don't mind...*
    *3. Parallel 5, allows five oracle servers to deal with the emp.dat file at the same time. So won't there be any conflict! Maybe one server wants to read a certain data while the other server wants to delete it. Can you clarify please....*

    user11164565 wrote:
    create or replace directory emp_dir
    as 'D:\emp_direc';
    Main Question:
    *1. Transaction succeeded, but i have not seen emp_direc created in my D: drive. I'm running Vista Home Edition x32. Any idea why directory does not show up?*
    <snip>
    From the fine SQL Reference Manual found a tahiti.oracle.com, in the prerequisites for the CREATE DIRECTORY command:
    For file storage, you must also create a corresponding operating system directory, an ASM disk group, or a directory within an ASM disk group.
    Your system or database administrator must ensure that the operating system directory has the correct read and write permissions for Oracle Database processes.
    Privileges granted for the directory are created independently of the permissions defined for the operating system directory, and
    the two may or may not correspond exactly. For example, an error occurs if sample user hr is granted READ privilege on the directory object but
    the corresponding operating system directory does not have READ permission defined for Oracle Database processes.

  • How to create connection objects in the NTDS settings container of a DC with LDIFDE

    The following link shows some examples of how to automate creating subnets without having to use the sites and services console: http://codeidol.com/active-directory/active-directory/Site-Topology/Creating-a-Subnet/
    My question is how can use LDIFDE to create connection objects? We don't use the defaultipsitelink and are creating the connections manaully. How can I use LDIFDE to create connection objects like this? I have not been able to find any examples on the internet.
    Thanks for any replies.

    KCC does the job of creating connection object automatically reading site/subnet/sitelink info, so why you need to create manually.
    http://blogs.technet.com/b/markmoro/archive/2011/08/05/you-are-not-smarter-than-the-kcc.aspx
    Regards
    Awinish Vishwakarma
    MY BLOG:
     http://awinish.wordpress.com/
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • BFILENAME and Directory object

    Hi, I have a question about BFILENAME function. I can't find any other multimedia related topic so I decide to post it here, please help if you know the answer.
    I have following procedure:
    PROCEDURE test
    (name IN varchar2:= 'a.jpg' )
    IS
    v_pix_source BFILE;
    BEGIN
    v_pix_source := BFILENAME('C_TEMP', name);
    IF DBMS_LOB.FILEEXISTS(v_pix_source) = 1
    THEN
    DBMS_OUTPUT.PUT_LINE('EXIST');
    ELSE
    DBMS_OUTPUT.PUT_LINE('NOT EXIST');
    END IF;
    END test;
    C_TEMP IS A DIRECTORY object WITH PATH 'c:\temp\' .
    I keep getting 'NOT EXIST' when I call this procedure while the jpg file is there. I have tried 'c:\temp' too but it didn't work either.
    But this does work:
    INSERT INTO lob_table
    VALUES(1, bfilename('c:\temp\','a.jpg'));
    So it seems that the directory object is giving me trouble. This has nothing to do with privileges because I am using a DBA account to run the procedure.
    Any help will be appreciated!
    null

    I don't know if a DBA account has the read directory privilege for directories that he didn't create. Try grnting the read directory privilege to the user.
    SQL> grant read on directory C_TEMP to my_user;
    null

  • Directory Association Questions

    I'm planning on upgrading my GW2012 server to 2014 this coming weekend and am in the final stages of working in my testing environment. My upgrade is going successful but I'm having a couple of behavioral questions in regards to the Directory Association step that I'm mildly concerned about.
    In my first upgrade attempts I discovered that my LDAP User Synchronization job was not configured correctly so that I had the warning post-upgrade indicating that directory association was not successful. I resolved this issue and now when I test my upgrade I do not get this notice. At this point immediately post-upgrade, if I look at my Users list I see the correct icon indicating that the user is associated with a directory account, but I can also go to Directory Associations, perform a search against eDirectory and the search results tell me that none of my users are associated. Should I believe the post-installation user's list or should I run the Directory Association just to be safe?
    That leads me to my second question, when I do run the Directory Association, each time I've run it I have the same 10 users experience an error, which when I click on the error's details I get a null javascript. At that point if I update the Association list it indicates that all of my users are now associated. Is this anything to worry about since it appears to associate accounts, or how would I find out what is causing my errors after closing the screen after the initial association? Thank you

    After an update, the users are only partially associated. GW admin knows what directory the user is associated to, in an update, it's edir. It also knows what the users eDir DN is. However, to be fully associated for 2014, GW needs the LDAP GUID from the eDir object as well. This is accomplished by the first MTA directory sync. The MTA will find the eDir object via the DN, the grab the LDAP GUID and write it to the GW object.
    So, for an update process, after the update, if you want to retain the user associations to eDir, it's a good idea to kick off a Sync process. You can do this by going to the directory object in GW admin console | System | LDAP Servers. Select the directory object that was created by the update, and there is a 'SYNC' button at the bottom. This fires off a msg to the MTA to perform a dir Sync outside of his normal Scheduled Events timeframe
    --Morris
    >>> marklar23<[email protected]> 8/26/2014 7:56 AM >>>
    I'm planning on upgrading my GW2012 server to 2014 this coming weekend
    and am in the final stages of working in my testing environment. My
    upgrade is going successful but I'm having a couple of behavioral
    questions in regards to the Directory Association step that I'm mildly
    concerned about.
    In my first upgrade attempts I discovered that my LDAP User
    Synchronization job was not configured correctly so that I had the
    warning post-upgrade indicating that directory association was not
    successful. I resolved this issue and now when I test my upgrade I do
    not get this notice. At this point immediately post-upgrade, if I look
    at my Users list I see the correct icon indicating that the user is
    associated with a directory account, but I can also go to Directory
    Associations, perform a search against eDirectory and the search results
    tell me that none of my users are associated. Should I believe the
    post-installation user's list or should I run the Directory Association
    just to be safe?
    That leads me to my second question, when I do run the Directory
    Association, each time I've run it I have the same 10 users experience
    an error, which when I click on the error's details I get a null
    javascript. At that point if I update the Association list it indicates
    that all of my users are now associated. Is this anything to worry
    about since it appears to associate accounts, or how would I find out
    what is causing my errors after closing the screen after the initial
    association? Thank you
    marklar23
    marklar23's Profile: https://forums.novell.com/member.php?userid=5123
    View this thread: https://forums.novell.com/showthread.php?t=478960

  • When we create an object, do we have to declare it as private?

    hi all i mjust a biginner
    the question is i got two classes
    Students, Marks
    when i create Marks object
    Marks marks;
    like this but do we have to put private before this?
    private Marks marks;
    like this? or not??
    have to??? what if i don't do

    You never have to declare a field or variable private but it's often a good idea.
    A variable, or class definition can have one of three access modifiers in front of it, or none.
    private - means can only be accessed in the same source file
    public - means can be accessed from anywhere in the program
    protected - means it can only be accessed by this class or one that extends it.
    None of the above allows it to be accessed from the same package or source directory.

  • Can't create DB objects

    I am trying to install Oracle 8.0.5.1EE on RedHat 5.2 from the
    tar file I downloaded from Oracle. The install software seemed to
    work using orainst. When I restarted orainst to create DB objects
    I never get to the create DB prompts I just get the software
    asset manager screen again.
    I gave these answers to the orainst prompts:
    custom install
    create/upgrade database objects
    create database objects
    answered yes to the path questions
    Then it puts me in the software asset manager without anyway to
    get to the create DB prompts.
    Anybody know what is I'm doing wrong here?
    Harvey
    null

    Harvey Berenberg (guest) wrote:
    : Harvey Berenberg (guest) wrote:
    : : I am trying to install Oracle 8.0.5.1EE on RedHat 5.2 from
    the
    : : tar file I downloaded from Oracle. The install software
    seemed
    : to
    : : work using orainst. When I restarted orainst to create DB
    : objects
    : : I never get to the create DB prompts I just get the software
    : : asset manager screen again.
    : : I gave these answers to the orainst prompts:
    : : custom install
    : : create/upgrade database objects
    : : create database objects
    : : answered yes to the path questions
    : : Then it puts me in the software asset manager without anyway
    to
    : : get to the create DB prompts.
    : : Anybody know what is I'm doing wrong here?
    : : Harvey
    I installed 8.0.5 standard and I was able to create DB objects
    without any problems.
    The previous attempted 8.0.5.1 install caused a core dump in the
    orainst directory with the following details. Maybe this was the
    source of the create DB problem.
    [oracle@fhm-lv orainst]$ file core
    core: ELF 32-bit LSB core file of 'orainst.cm' (signal 11), Intel
    80386, version 1
    [oracle@fhm-lv orainst]$ gdb orainst.cm core
    GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU
    support Copyright 1998 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License,
    and you are welcome to change it and/or distribute copies of
    it under certain conditions. Type "show copying" to see the
    conditions. There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "i386-redhat-linux"... Core was
    generated by `./orainst.cm'. Program terminated with signal 11,
    Segmentation fault.
    Reading symbols from /lib/libdl.so.2...done.
    Reading symbols from /lib/libm.so.6...done.
    Reading symbols from /lib/libc.so.6...done.
    Reading symbols from /lib/ld-linux.so.2...done.
    Reading symbols from /lib/libnss_files.so.1...done.
    #0 __libc_free (mem=0x4ed) at malloc.c:2854
    malloc.c:2854: No such file or directory.
    (gdb)
    null

  • File (Directory) object problem?

    Hi there. My problem is as follows. The method below is supposed to access an pre-existing directory with five previously saved test files, read in those files as account objects, add the objects to an ArrayList, then return the ArrayList. It seems to be able to create a file object representing the directory alright but it then insists that there are no files in the directory! Have I fouled up or is there some subtlety that I'm unware of? I was wondering if the fact that the account files have a .bac extenstion had something to do with it.
    Here's the method, with the two lines of code where I think the problem might lie in bold print:
    public ArrayList retrieveAccounts()throws IOException{
    ArrayList accounts = new ArrayList();
    File accDir = new File("C:" + File.separator + "accounts"); //creates a directory object
    //The following S.o.p statements are for test and maintenance purposes rather than user feedback
    System.out.println("Directory " + accDir.getCanonicalPath() + " opened");
    System.out.println("Confirm Accounts directory exists: " + accDir.exists());
    System.out.println("Directory: " + accDir.isDirectory());
    String [] accFiles = accDir.list(); //gets a list of files in the directory and saves it as a String array
    System.out.println("Number of files in directory: " + accDir.length());
    while(i < accDir.length()){
    filename = accFiles;
    try{
    //open layered input Streams to access the next account file in line
    ObjectInputStream in = new ObjectInputStream(new FileInputStream("C:"+ File.separator + "accounts" + File.separator + filename));
    account = (Account)in.readObject();
    accounts.add(account);
    in.close(); //closes Streams for that particular file
    }catch(IOException e){System.out.println("Filing error as follows: " + e);
                }catch(ClassNotFoundException e){System.out.println("Class not Found. Details: " + e); }
    filename = null; //frees up reference for next file
    i++;//counter increments by one
    return accounts;

    This is what I was trying to do minus the comments and maintence and test code:
    public ArrayList retrieveAccounts()throws IOException{
    ArrayList accounts = new ArrayList();
    File accDir = new File("C:" + File.separator + "accounts");
    String [] accFiles = accDir.list();
    while(i < accDir.length()){
    filename = accFiles;
    try{
    ObjectInputStream in = new ObjectInputStream(new FileInputStream("C:"+ File.separator + "accounts" + File.separator + filename));
    account = (Account)in.readObject();
    accounts.add(account);
    in.close();
    }catch(IOException e){System.out.println("Filing error as follows: " + e);
    }catch(ClassNotFoundException e){System.out.println("Class not Found. Details: " + e); }
    filename = null;
    i++;
    return accounts;
    By the way, your the first Java programmer that I've met that doesn't like comments! :)
    NOTE: Think I may have spotted where I went wrong in my code.
    filename = accFiles;
    Forgot to point it at the specific element of the array, like so:
    filename = accFiles[i];
    Thanks for your help!

Maybe you are looking for

  • How to enter a conference bridge code?

    I'm switching from Blackberry where I was able to enter a telephone number followed by the conference bridge code and all that I had to do to dial and enter the code was hit enter twice.  It looked like this: 1-999-999-9999, #99999999*. Is something

  • Import Cycle for India doing first Goods Receipt

    Hi Friends, We are going on upgrade from 4.0B to ECC 5.0. We are using TAXINN .  This is regd. the  Import pricing for India. Our client  is using 4.0B & thier sequence is : 0. Give advance to CHA agent for Customs clearing based on his estimation 1.

  • Problems with iTunes match

    I'm having problems with my iTunes account in my Macbook. None of the music I have in the cloud is accessable to me. A few days ago I tried to update music on my iPod and instead of adding music it erased almost everything on it. After that much of m

  • Workflow Step : Insert Outbox

    Hi, I want to know how we can make use of the Workflow Step : Insert Outbox. Would be nice if i can get some example for the same. Thanks.

  • Need code for multi data insert..to table

    Hi All, I have input parameter data like .. [email protected],b.gamil.com,c.gamil.com ... and need to insert to table T_TABLE...LIKE NAME A B C Please let me know how to implement...