Problem creating JDBC dataview to oracle on Windows

Hi,
I'm trying to configure a JDBC dataview to an Oracle 10g database on DSEE 6.3.1 running Windows 2008
Here are the command I used:
dpconf create-jdbc-data-source -b MYDBSID -B jdbc:oracle:thin://dbhost:1510: \
     -J file://e:\dsee\ojdbc14.jar \
     -S oracle.jdbc.driver.OracleDriver mydb
echo "password" > e:\dsee\instances\mydb.pwd
dpconf set-jdbc-data-source-prop mydb db-user:myuser \
     db-pwd-file:e:\dsee\instances\mydb.pwd \
     is-enabled:true is-read-only:true \
dpconf create-jdbc-data-source-pool mypool
dpconf attach-jdbc-data-source mypool mydbAnd when trying to create the view with this command:
dpconf create-jdbc-data-view myview mypool o=example.comHere is what I get:
[LDAP: error code 1 - Unable to apply configuration changes:  Exception catched while initializing
JDBC driver oracle.jdbc.driver.OracleDriver in configuration entry cn=mydb,cn=data sources,cn=config --
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver. Check that [Ljava.lang.String;@100
bac2 is a valid URL to a jar file containing class oracle.jdbc.driver.OracleDriver]".
{code}
I guess that it doesn't find the jdbc driver for Oracle but the file is there in e:\dsee\ojdbc14.jar
I tried to copy it to e:\dsee\dps6\lib but it doesn't work better.
Any idea ?
Frederic.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

I found the solution by adapting the path to the jdbc jar file:
dpconf set-jdbc-data-source-prop ehldb driver-url:file:///e:/dsee/ojdbc14.jarAdding a third slash after file: and using backslashes instead of slashes solved my problem.
Frederic.

Similar Messages

  • Problem with JDBC driver for Oracle 10g

    Hi.
    I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
    Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
    It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
    Thanks in anticipation.
    Cheers.
    Jan

    I've successfully accessed a MySQL database via a
    DataSource from a servlet (that uses a DAO). However,
    when I try to do the same with an Oracle 10g
    Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    That's different from a ClassNotFoundException.
    >
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
    of which I downloaded this afternoon as the latest
    driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
    As with the
    MySQL driver, I've placed it in the commons\lib
    folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
    (I've also, of course, made the
    necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
    You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
    Upon examining the ReadMe file at the top of the
    Oracle download page, I found that the
    oracle.jdbc.driver package is now deprecated and all
    references to oracle.jdbc.driver should be replaced
    with oracle.jdbc.
    However, I got a similar error
    message when I tried this modification. Upon
    examining the contents of ojdbc.jar, I found that the
    driver was there and that it was, in fact, still
    oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
    It appears as though the Oracle site has not been
    updated with a driver that matches its latest
    documentation. That often happens with docs.
    However, this does not explain why the
    driver is not even being loacted when it is in the
    correct place. Can anybody shed any light on this?
    Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
    I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
    PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done.

  • Problem creating database during installation Oracle 8i

    Hi!
    When I was installing Oracle 8i a problem appeared. This problem was about Database creation, when the program of the Oracle installation was creating the database an error message was appeared : ORA-01034:ORACLE NOT AVAILABLE. I aborted the creation of the database and Oracle 8i was installed successfully.Now I'm trying to create the database with dbassist program but the same error is showed. Is there some solution?
    In addition, I'm installing Oracle 8.1.7 in a Sunblade 100 Sparc with Solaris 8.0.
    With best wishes, Jordi Carrasco.

    did you define the variable ORACLE_SID and ORACLE_HOME?

  • Problem with jdbc oci in oracle full installation

    Hi,
    My server has Oracle 10g R2 in full installation, and not run jdbc in oci,
    my java command:
    /usr/java/jre1.5.0_07/bin/java -Dlibrary.path=/oracle/product/10.2.0/db_1/lib -cp ... mypackage.myclass
    and its says:
    java.lang.UnsatisfiedLinkError: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: cannot open shared object file: No such file or directory
    but this file [ libocijdbc10.so ] there is in the path... however the file [ libclnstsh.so.10.1 ] not...
    what is the problem ?
    thanks a lot

    Hello!
    I hope that it wasn't late but if you see the note 293667.1 you will find that is necessary set two environment variables LIBPATH and LD_LIBRARY_PATH
    $export LIBPATH=$ORACLE_HOME/lib:$LIBPATH
    $export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    Ramiro Ortiz

  • Font problem creating WORD document with Oracle Reports 8i/9i

    I created a report using different Arial fonts. Once the report is generated from a .NET application, the fonts in the word document are changed apparently into Helvetica. This disarrange my lay-out completely. How can I solve this problem?
    (NB. when I generate a PDF, there is no problem!)

    By the way. I create the files in this way:
       private void createFile(String outFileName) {
          try {
             ByteArrayInputStream result = clientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
             File newFile = new File(outFileName);
             FileOutputStream output = new FileOutputStream(newFile);
             int bytesRead = 0;
             byte[] byteArray = new byte[10000];
             while ((bytesRead = result.read(byteArray)) != -1) {
                output.write(byteArray, 0, bytesRead);
             output.flush();
             output.close();
          } catch (Exception e) {
             e.printStackTrace();

  • Problem in jdbc connect thru oracle

    hi all
    i hv installed oracle 8i on win2k
    i wanna connect thru jdbc
    but i am getting error below
    i donno whr i got struck?
    plz help me
    thnx in advance
    bye
    ////////// details ///////////////////////
    import java.sql.*;
    ///win2000,oracle 8i
    /// try to fix whr i hv done mistake
    import java.io.*;
    class JDBC1
    public static void main(String[] args)
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver ");
    //// i tried all below connections
    Connection cn=DriverManager.getConnection("jdbc:odbc:santhu:PLSExtProc","scott","tiger"); /// oracle_sid=santhu hv given
    //Connection cn= DriverManager.getConnection("jdbc:odbc:PLSExtProc","scott","tiger"); /// PLSExtProc it is given in tnsnames.ora file
    //Connection cn=DriverManager.getConnection("jdbc:odbc:oracle:PLSExtProc","scott","tiger"); /// driver name i hv given as oracle and one more as santhu--both for oracle driver
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select * from dept");
    int dno;
    String dname;
    while(rs.next())
    dno=rs.getInt("deptno");
    dname=rs.getString("dname");
    System.out.println(dno+dname);
    catch(Exception e)
    System.out.println(e);
    /// compiled successfully
    /// but runtime error::SQLException---data source name not found no default driver specified
    //// saying tns-12538 error
    /// tnsping-----error is coming.........
    /// lsnrctl start --------is not working
    //// lsnrctl status ------is also not working
    /// in services i hv set oraclelistener to auotmatic start
    /// in net8 configuration assistent everything is ok
    /// try to do it today...ok na
    // i put classpath to home dir of oracle
    ///////////listener.ora file //////////////////////////////
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Vaman)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vaman)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = santhu)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = santhu)
    /////////////////tnsnames.ora file///////////////////
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Vaman)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vaman)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = santhu)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = santhu)
    ////////////////////////////////////////////////

    Class.forName("oracle.jdbc.OracleDriver");
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@<hostname>:1521:<database name>", "scott", "tiger");
    You can find OracleDriver in classes12.jar (<ORA_HOME>/jdbc).
    Check your tnsnames.ora file for <hostname> and <database name>. For example, if you had a following entry in tnsnames.ora file:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SOMEHOST)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    you would write:
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@SOMEHOST:1521:XE", "scott", "tiger");

  • Problem creating a repository in Oracle from Visual studio Load test

    Hi,
    I have an issue which will be greatly appreciated if answered soon. I have created a load test using Visual studio 2010 Ultimate in Oracle 11 g environment . I just want to create a load test repository in Oracle db to store results of the load test results. I have read on MSDN the method to do so for SQL server(at http://msdn.microsoft.com/en-us/library/ms182600.aspx) but not Oracle. Please respond asap. Thanks

    912605 wrote:
    Hi,
    I have an issue which will be greatly appreciated if answered soon. I have created a load test using Visual studio 2010 Ultimate in Oracle 11 g environment . I just want to create a load test >repository in Oracle db to store results of the load test results. I have read on MSDN the method to do so for SQL server(at http://msdn.microsoft.com/en-us/library/ms182600.aspx) but not >Oracle. Please respond asap. Thanks
    I could be wrong, but I believe to achieve this you will need to buy a third party tool that supports the Load Testing project with Oracle like "Toad Extension for Visual Studio".

  • Problems with JDBC Connection, invalid Oracle-URL

    H,
    i can't use a JBDC Connection. Maybee i tried a wrong oracle url syntac
    This Url jdbc:oracle:thin@bilent:1521:bilent throws an error
    java.sql.SQLException: invalid Oracle-URL
    The following parameter worked
    Driver :thin
    hostname:bilent
    JDBC Port:1521
    SID:bilent
    What is wrong in the oracle url?
    THANKS

    Hi,
    You are missing ":" after thin and host name. Your URL should be
    jdbc:oracle:thin:@bilent:1521:bilent-Arun

  • Problem creating Bootable Windows 10 USB drive with Bootcamp 5.1

    Hi all,
    I have read quite a number of threads (here and elsewhere on the internet) with problems creating a Bootable USB installation for Windows 10 on OSX Mavericks.    The usual response is "make sure your .ISO is unmounted".    With that being said, it appears that for most users on OSX Mavericks, this alone does not fix the issue.
    The specific error I get is:
    "Boot Camp only supports Windows 7 or later installation on this platform. Please use an ISO file for Windows 7 or later installation."
    As mentioned I have double checked that the ISO is not mounted.    Anyone happen to have any solutions?    Also, would creating a bootable drive from a windows machine still work with my Mac the same way it would if it was created with bootcamp?
    System specs are:     OSX 10.9 Mavericks, Early 2011 Macbook Pro, (MacBookPro8,3).
    Cheers,
    Jonathan

    W10 is not officially supported. BC Assistant checks available software signatures on ISO images to verify that it can be used. This checking is not always 100% fool-proof, though. You are using a 2011 MBP, which is also a factor in this. One option you can try is to install an evaluation version of W8+ and then upgrade to W10. The upgrade does not require BC Assistant, once Windows is fully installed.

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • Installation Problem Developer 6i/Oracle 8/Windows NT4 Please help.

    Hi,
    I am trying to install Oracle Developer 6i and Oracle 8
    under Windows NT platform. I had several kind of problem. Atlast
    I found the installation tips very help and followed it step by
    step. Still I am facing the problem. Let me explain what i did,
    step by step,
    1.downloaded the Oracle forms self extract file. Unzipped. Ran
    the Setup.exe.
    2.This prepared for Oracle Developer installation. I selected
    default path and home(d:\ORANT and home_Default). Selected
    oracle forms and installed it.
    3.Repeated step 2 to install reports 6i.
    4.Restarted the system.
    5.Created another directory d:\orantnew
    6.Used the Oracle 8 CD and installed using the Autorun.Selected
    different path and oracle Home this time.(D:\orantnew and
    home_New).
    7. Selected the Oracle Enterprise Edition option and did the
    installation.Rebooted the system.
    8. Did the TCP/IP changes explained in the Step (5) and Step (6)
    given below in Mr.Krishna's reply.
    9. Tried to start the listner by following Step (7) the listener
    won't start.
    10. Went ahead and copied the TNSNAMES.
    Connected to SQL*Plus using Start/Program/Oracle-OracntNew using
    SCOTT/TIGER and connect went thru.
    Then tried "CONNECT" from form builder, won't connect. I think
    the error message was some thing related to TNS..(Since I have
    uninstalled all the Oracle components now i can't give the exact
    error.Sorry). I would like to know if there is anything I am
    doing wrong or missing out something.
    Note : While uninstalling the oracle components i had problem
    removing the bin directory. So I had to stop some of the
    services
    (OracleServiceORC1 and OracleStartORC1 from
    start/controlpanel/services option) in order to delete the
    oracle components.
    Please someone let me know how can I install Oracle 8 and Oracle
    Developer 6i,in windows NT platform.
    Incase if i am doing anything wrong in the above given step or
    missing out something pl let me know.
    Thanks.
    Extracted from another thread
    Hi, >Try these steps, but you need to change a few things for Win2000 even I am trying, but Listener does'nt start there is a
    problem I am looking into it, If you find the solution pl let me
    know, these work fine on Win95/98 I have tried and they all work
    fine.>-------------------------------------------->Installing
    Personal Oracle 8. 1. 6. 0. 0 with Developer v6i (Reports 6. 0.
    8. 8. 3, Forms 6. 0. 8. 0. 9)>On Windows 98>Note: All other
    combinations may or may not work.> If you want to install
    designer as well, do it now.
    ** Clean all Oracles off the computer using the following instructions. (Windows 95 and
    Windows 98)
    1. In regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
    2. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE
    3. Delete the ORACLE key.
    4. Delete HKEY_LOCAL_MACHINE\SOFTWARE\ODBC pertaining to Oracle.
    5. Delete HKEY_CURRENT_USER\SOFTWARE\ODBC pertaining to Oracle.
    6. Edit your AUTOEXE.BAT file and remove your %ORACLE_HOME%\bin and JRE paths from the path settings.
    7. From the Windows Explorer (or from the command prompt), delete the Oracle Directory
    (Oracle Base).
    8. Delete < System_Drive > C:\Program Files\Oracle (from the Windows NT Explorer or from the command
    prompt).
    9. Delete Icons from < System_Drive> C:\Windows\StartMenu\Programs\Oracle - <HOME> and <System_Drive>
    C:\Windows\StartMenu\Oracle Installation Products. Where<HOME>
    is the previous HOME name.
    10. Reboot the system.
    Installing Developer 6i(Forms and Reports)
    1. Download the file from OTN site or Install from the CD. Install the installer. It will go
    into a new default Oracle home that it will create. When you go
    to install your Developer CD, close the installer that comes up
    with the CD autorun. Go to the programs menu and Oracle for
    Windows 95 and click on the installer there. Once it is open,
    browse to the CD you wish to install. (installr/install/us)
    2. Start installer. Install Developer 6i first to default directory, Orawin95 How? Start installer, follow the prompts
    that appear on the screen, you may have to do this twice, once
    for Oracle Forms and once for Oracle Reports, after the
    installation is successful reboot the system.
    3. If you want to install Designer 6 as well, do it now. (But I have not installed
    the Designer ) Designer has to be installed before PO 8. 1. 6,
    because PO816 can detect only one Oracle_home.
    4. Create a new folder on your root directory called Orawin98. Start the installer set-up from where you downloaded it and
    select Orawin98 to install it in this time. You also need to
    give this second home a name whatever you want, but through out
    the process, you have to use the identical name, that is
    critical. Orawin98 indicates this name in these instructions. Do
    not reboot. Install Oracle 8.1.6 to the directory Orawin98 using
    the installer. Reboot the system.
    5. Go to Start/Setting/Control Panel/Network, if you do not have TCP/IP installed, install it
    now, if you do, highlight TCP/IP, click properties. Select DNS
    tab, select enable DNS, at the host area, type "Orawin98", leave
    domain empty. Go to Identification Tab and enter your database
    name, in this case BBM. Reboot the system after you finish.
    6. Configure your database listener. Go to Start/Programs/Oracle- Orawin98/Network Admistration/Net8
    Assistant, a window will pop
    up, at the window expand Local and expand Listeners and double
    click it, you will see a new window, go through all the tab
    menus. At location address 1, Host name: use "Orawin98", Port
    use: 1521 (default). And at location address 2, Host name:
    use "Orawin98", Port use: 2481, go to the file/ save, close Net8
    Assistant.
    7. Start listener how? Go to Dos Window, type LSNRCTL, return, at LSNRCTL>, type Start. Listener should start
    successfully, if not, you need to go back to Net8 Assistant to
    check configuration.
    8. Copy file "TNSNAMES" in directory C:\Orawin98\Net80\Admin to C:\oraein95\Net80\Admin.
    9. You are finished.
    10. To connect Forms/Reports/SQLPLUS to database - First start the
    Listener, then start the database. Next, go to File menu in
    Forms/Reports and select Connect. Type in user name and password
    (system/manager or whatever) in this case it is SCOTT/TIGER and
    the database name is your "DATABASENAME". When you want to quit
    you need to exit from file menu of Forms/Reports, then you need
    to stop Listener and then shut down database.
    11. You can rename your computer name in your original name. (for local networks)
    Let me know if it is working.>null

    Install Forms in one directory (You can have reports in the same
    directory).
    Install oracle DB in another directory.
    Don't change any file and reboot.
    The listener will start automatically as a service.
    (If not from a command line write "lsnrctl start" to start it).
    To connect from forms/report to the DB you need to activate the
    sqlnet easy config tool from the directory where forms is.
    Follow the wizard to define an entry in the tnsnames.ora file
    automatically.
    Then you can use your forms with the DB.
    (IF you get problems it usually helps to let us know the error
    code you get so we can direct you in the correct direction).

  • Problems with creating a USB boot device for Windows 8.1

    My iMac (late 2012) running OSX Mavericks is encountering problems creating a Windows 8.1 install disk via a USB thumbdrive. The drive has 8gb of space available, which is enough to fit windows. But when I choose my ISO image and select the drive I recieve an error message. The error is 'Bootcamp only supports 64-bit Windows installation on this platform. Please use a ISO file for 64-bit Windows installation.
    I'm certain this ISO definately contains 64-bit, so I'm slightly confused.
    I've followed instructions found in other discussions talking about adding an extra line of information to 'info.plist' found inside the Package Contents for bootcamp, but that has also not worked. If I try that, Bootcamp crashes upon being clicked every time.
    Any help is appreciated

    First up: a question. How did you fix the crashing Bootcamp Utility? It would help out this guy: https://discussions.apple.com/message/23523783?ac_cid=tw123456#23523783
    Next up: A possible solution (also posted here:https://discussions.apple.com/message/23523783?ac_cid=tw123456#23523783)
    =====================
    It's possible you have a Windows ISO for both 32- and 64-bit. In this case it's probably detecting the presence of the 32-bit installer and forgets to look for another 64-bit version.
    A way to work around this is to not use the Bootcamp Assistant utility by following the listed steps:
    The way installing Windows should work either way using the Legacy BIOS mode:
    - Get a Windows ISO or DVD and copy the contents over to a freshly fat32 formatted USB stick of at least 4GB.
    - Download the Apple Bootcamp Support Software (4.x or 5.x, 5.x only supports 64-bit, get that if you are going 64-bit);
    - Copy the content of the Support Software folder over the the same USB stick from the first step. It should fit just right (it did on my 4GB stick with 2MB te spare!);
    - Use disk utility to partition your disk. Make sure the partition for Windows is Fat32 and at least 30GB;
    - Reboot your machine while holding Option/Alt at the chime;
    - You should be able to select either your OSX HDD or your USB stick labeled "Windows" -> Select Windows and press enter or click the arrow;
    - The Windows installer should now load, format the previously made Windows partition to NTFS;
    - Continue on your way.
    Can you try what I typed above? If it doesn't work, can you let me know at what step things go differently than described?
    Edit: This is based on the logical conclusion that any Mac that was shipped without ODD should be able to boot from USB.
    Edit2:
    One other note is that Mac's have trouble booting from USB when multiple USB storage devices are attached. So make sure you connect only one storage device.
    =====================
    Best of luck to you!

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • Problem in creating jdbc-data-vew to oracle10g

    I have installed DSEE7.0 and setup the directory proxy server successfully
    my oracle environment:
    ip=202.205.16.93
    sid=nicdbs
    table: CAMPUS.CAMPUS_USER { USERID, NAME, TEL, EMAIL }
    my steps (refer to the administrator guide a reference):
    dpconf create-jdbc-data-source -b nicdbs -B jdbc:oracle:thin://202.205.16.93:1521: -J file:///opt/sun/dsee7/var/jdbc/ojdbc14.jar -S oracle.jdbc.driver.OracleDriver oracleds
    dpconf set-jdbc-data-source-prop oracleds db-vendor:oracle
    dpconf set-jdbc-data-source-prop oracleds db-pwd-file:/etc/oraclepass.txt
    dpconf create-jdbc-data-source-pool oraclepool
    dpconf attach-jdbc-data-source oraclepool oracleds
    dpconf create-jdbc-data-view oracleview oraclepool o=oracle
    dpconf create-jdbc-table user CAMPUS.CAMPUS_USER
    dpconf add-jdbc-attr user uid USERID
    dpconf add-jdbc-attr user cn NAME
    dpconf add-jdbc-attr user telephoneNumber TEL
    dpconf add-jdbc-attr user mail EMAIL
    dpconf create-jdbc-object-class oracleview person user uid
    every thing return succefully
    but when I test the view by
    ldapsearch -b o=oralce -x uid=1422
    it returns:
    ldap_search: DSA is unavailable
    ldap_search: additional info: Unable to process the search request. Reason: [Original error=52] No JDBC server available.
    i cant get any help from this error message.I want some help, Maybe some steps were left.
    thanks in advace.

    thanks but it didn't solve it,
    ldapsearch -b o=oracle uid=1422
    ldap_search: DSA is unavailable
    ldap_search: additional info: Unable to process the search request. Reason: [Original error=52] No JDBC server available.
    i also have tried:
    db-name: (CONNECT_DATA =(SERVICE_NAME = nicdbs))
    db-url: jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 202.205.16.93)(PORT = 1521)))
    but it still didnt work.
    #[root@dsee7 ~]# dpconf get-jdbc-data-source-prop oracleds
    db-name : nicdbs
    db-pwd : {3DES}+j6AoBZNIGx+7st/KDPgSmzVMlDcL6zs
    db-url : jdbc:oracle:thin:@202.205.16.93:1521:
    db-user : campus
    db-vendor : oracle
    description : -
    driver-class : oracle.jdbc.driver.OracleDriver
    driver-url : file:///opt/sun/dsee7/var/jdbc/ojdbc14.jar
    is-enabled : true
    is-read-only : false
    monitoring-inactivity-timeout : 2m
    monitoring-interval : 30s
    monitoring-mode : reactive
    num-connection-incr : 5
    num-connection-init : 5
    num-connection-limit : 30
    #dpconf get-jdbc-data-view-prop oracleview
    Enter "cn=Proxy Manager" password:
    alternate-search-base-dn : ""
    attr-name-mappings : none
    base-dn : o=oracle
    contains-shared-entries : false
    custom-distribution-algorithm : none
    description : -
    distribution-algorithm : none
    dn-join-rule : none
    dn-mapping-attrs : none
    dn-mapping-source-base-dn : none
    excluded-subtrees : -
    filter-join-rule : none
    is-enabled : true
    is-read-only : false
    is-routable : true
    jdbc-attr-date-format : yyyy-MM-dd
    jdbc-attr-time-format : hh:mm:ss
    jdbc-attr-timestamp-format : yyyy-MM-dd hh:mm:ss
    jdbc-data-source-pool : oraclepool
    lexicographic-attrs : all
    lexicographic-lower-bound : none
    lexicographic-upper-bound : none
    non-viewable-attr : none
    non-writable-attr : none
    numeric-attrs : all
    numeric-default-data-view : false
    numeric-lower-bound : none
    numeric-upper-bound : none
    pattern-matching-base-dn-regular-expression : all
    pattern-matching-base-object-search-filter : all
    pattern-matching-dn-regular-expression : all
    pattern-matching-one-level-search-filter : all
    pattern-matching-subtree-search-filter : all
    process-bind : -
    replication-role : master
    viewable-attr : all except non-viewable-attr
    writable-attr : all except non-writable-attr
    Edited by: mickypc1979 on Mar 1, 2010 4:31 PM

  • Creating Domain at 0% - Oracle PFRD 11g - Windows Server 2008 64-bit

    1.I want to install and configure Oracle FMW version 11.1.1.2.0 in Windows server 2008 64 bit.
    2.I have followed the steps too as described here in these two forum links:
    1.http://cn.forums.oracle.com/forums/thread.jspa?threadID=2245015
    2.Creating Domain at 0% - Oracle PFRD 11g - Windows Server 2008 64-bit
    3.I am giving my installtion steps..
    I have installed JDK: 1.7.0.
    I have succesfully installed web logic version wls1035_generic.jar.
    I have also installed the FMW version 11.1.1.2.0 using all four disks(Install and donot configure.)
    I have also installed patch version 11.1.1.3.0.
    But When I am trying to run config.bat then It Stops at Creating Domain at 0%,nothing happens, process is sleeping:
    It creates domain of size 9.23 mb and after a long time of approx 900 min It displays "DOMAIN CREATION FAILS".
    I have also checked the path ..It doesnt contains any special characters.
    Any ideas???

    Hi John,
    As per ur suggestion , I have successfully installed FMW 11g in Windows server without Domain Fail.
    1). Installed JDK 1.6u29
    2). Installed WebLogic 10.3.3
    3). Installed FMW 11.1.1.2
    4). Installed FMW 11.1.1.3 Patch
    Now According to the Business need ,I want to install FMW 11.1.1.2 in Linux 32 Environment. Can U please guide me the versions of Java, Weblogic, FMW and its patch so that I can Install it in Linux 32 bit without Domain Fail.
    Deepak Jha

Maybe you are looking for

  • Gnome 3.2 notification bar behaviour

    in gnome 3.0, the notification bar was always placed on the primary display. which was nice (the secondary display acting as an empty screen). in gnome 3.2 the notification bar is placed on the bottom of the virtual desktop. which actually ruins the

  • Buddies are not visible until they come online.

    I'm having a problem on my iBook. When I log into iChat on buddies online are shown. All the other are hidden from sight. It isn't that big of a deal, but it is slightly annoying. Is there anyway to fix this problem without having to re-install the O

  • Help needed with Elements 11 reinstallation.

    ???  The hard drive on my new computer with Windows 8.1 is being replaced because it is defective.  How do I reinstall Photoshop Elements 11 ?  I Have a disc but was told it will only download one time  ---  which I did in January. Also, why can't I

  • Why FIOS isn't available?

    I live in Lowell, Massachusetts. I have listened and watched ads on TV about FIOS for nearly 12 years now. Every year I have called up Verizon and asked about getting FIOS and each year I get the same answer, "FIOS isn't available in your area yet."

  • IPhone 4 vibrated whilst mid chat, now won't turn on, or charge

    Hi, I have had my Iphone 4 16GB for just over 18 months.  I am a fairly heavy user.  Whilst talking on the phone a couple of days ago, it vibrated for a good 5 seconds, then cut off.  I tried to power the phone back on again, but it would not start,