How to set the oracle oci8 driver?

hello all:
I've set up the oracle thin driver and it works. but when I change to
oci8.it don't work
below is config and errors:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="ocipool"
Properties="user=yanji;password=yanji"
Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
Could not load 'oracle.jdbc.driver.OracleDriver
If this is a type-4 JDBC driver, it could occur if the JDBC
driver is not in the system CLASSPATH.
If this is a type-2 JDBC driver, it may also indicate that
the Driver native layers(DBMS client lib or driver DLL)
have not been installed properly on your system
or in your PATH environment variable.
This is most likely caused by one of the following:
1. The native layer SO, SL, or DLL could not be found.
2. The file permissions on the native layer SO, SL, or DLL
have not been set properly.
3. The native layer SO, SL, or DLL exists, but is either
invalid or corrupted.
For more information, read the installation documentation
for your JDBC Driver, available from:
http://e-docs.bea.com
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
ectionEnvFactory.java:208)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
ectionEnvFactory.java:131)
at weblogic.common.internal.ResourceAllocator.makeResources(Resource
ator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
va:282)
best regards

Hello, Jenny I am glad you found your resolution. I too am having problems isung
the oracle 0CI8 driver. My connection pool is creating fine, but my server is
crashing with JVM errors.
Here are my configurations.
DBase=Oracle 8.1.7,OS=Win2000, running 6.1 with Portal 4.0
pool config =
<JDBCConnectionPool CapacityIncrement="0"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="5" Name="ccConPool"
Properties="jdbc.url=jdbc:oracle:oci8:@servername:1521:orcl;user=XXXXX;password=XXXXXX;dll=ocijdbc8;server=orcl;protocol=oci8;dll=ocijdbc8;protocol=oci8"
RefreshMinutes="0" Targets="portalServer"
TestTableName="WIP_TABLE" URL="jdbc:oracle:oci8:@servername"/>
My classpath sets my classes12.zip file first. My path sets %WEBLOGIC_HOME%\bin\oci817_8
and %WLCS_ORACLE_HOME%\bin.
Am I setting the right dll and protocol in my .dll? Where can I find documentation
on these properties definitions?
"jenny" <[email protected]> wrote:
hello all:
I've got the answer. those all because weblogic.jar. this jar include
the
class "oracle.jdbc.driver.OracleDriver".
although I put the classes12.zip into the CLASSPATH.but the weblogic.jar
in
front of classes12.zip.so classloader
load the class from weblogic.jar. so I can use thin driver(weblogic
implements this function with class,but not for oci8 )
..this is really a big pitfall !
put the classes12.zip in front of weblogic.jar .all perfect!
"jenny" <[email protected]> wrote in message
news:[email protected]...
hello all:
below is some chapters of my config.xml and startWeblogic.cmd
the oci8 :
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="ocipool" Password="{3DES}J3XuQd6cvvw="
Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
Targets="myserver" TestTableName="test"
URL="jdbc:oracle:oci8:@pg01"/>
the thin :
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="citcpool" Password="{3DES}J3XuQd6cvvw="
Properties="user=yanji;password=yanji"
SupportsLocalTransaction="true" Targets="myserver"
URL="jdbc:oracle:thin:@sune250:1521:pg01"/>
:runWebLogic
echo on
set ORACLE_HOME=e:\oracle
set PATH=./bin;%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
set
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\dom.jar;.\lib\xml
4j.jar;.\lib\jecf.jar;%ORACLE_HOME%\jdbc\lib\classes12.zip
echo off
the thin driver is ok,but the oci driver can not work!
if I've set the wrong CLASSPATH or PATH , the thin driver and oci8driver
must have not worked. I confused!
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
Its not CLASS_PATH it should be CLASSPATH.
when you say oracle\bin and oracle\lib , on what driver is the oracle
folder?I meant to say 'on what drive' not 'on what driver'
you have to specify the full path.
post your startup script here.
sree
"jenny" <[email protected]> wrote in message
news:[email protected]...
hello all:
I've set the ORACLE_HOME,and CLASS_PATH,but nothing changed. I will
go
to
crazy!!!
when startup the weblogic,I've seen the oracle\bin and oracle\libin th
"path" and classes12.zip in the CLASS_PATH.but the errors stillappears!!
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
1. Dont copy this file oci8jdbc.dll, to bin folder. Make sure
you
place
<oracle_home>\lib in your PATH before starting the server. Make
sure
your
ORACLE_HOME environment varable is set to <oracle_home> folder.
eg. set ORACLE_HOME=c:\ora816 before starting the server.
so you must have done something like
set ORACLE_HOME=c:\ora816
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
2. double check if you set your CLASSPATH something like this,
CLASSPATH=%ORACLE_HOME%\jdbc\lib\classes12.zip;%CLASSPATH%
in the server startup script just before starting the server.
3. start the server the connection pool should work.
hth
sree
"jenny" <[email protected]> wrote in message
news:[email protected]...
hello All:
I've edited the StartWeblogic.cmd, set the classes.zip into CLASSPATH,and
copied the oci8jdbc.dll to the bea\wlserver6.1\bin. errors stillappears!
my weblogic version is 6.1 and oracle is 8.1.6 .
why the thin driver is ok but the oci driver can not work?
I logined in the oracle website and look for the jdbc.but I find
that
jdbc
all provide for jdk1.2 or jdk1.1. because the weblogic6.1 based
jdk1.3.
I
think i can not use those drivers.
I think my oracle driver is ok,because i installed the jboss and
bas4.5
in
my computer. they all can use oci8 driver properly.and they all
based
jdk1.3.
by the way. I 've tryed added the oracle\bin path inStartWeblogic.cmd,
nothing changed !
again below is my config : I want to know whether my config right?
(the property DLL and Protocal auto added by the weblogic)
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="ocipool"
Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
best regards
----- Original Message -----
From: "Mitesh Patel" <[email protected]>
Newsgroups: weblogic.developer.interest.jdbc
Sent: Thursday, December 13, 2001 4:00 AM
Subject: Re: how to set the oracle oci8 driver?
To use oracle oci8 driver:
You should have classes12.zip in weblogic classpath.
You should have ocijdbc8.dll in your weblogic path..
You can download ocijdbc8.dll from oracle website.
Mitesh Patel
jenny wrote:
hello all:
I've set up the oracle thin driver and it works. but when I
change
to
oci8.it don't work
below is config and errors:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="ocipool"
Properties="user=yanji;password=yanji"
Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
Could not load 'oracle.jdbc.driver.OracleDriver
If this is a type-4 JDBC driver, it could occur if the JDBC
driver is not in the system CLASSPATH.
If this is a type-2 JDBC driver, it may also indicate that
the Driver native layers(DBMS client lib or driver DLL)
have not been installed properly on your system
or in your PATH environment variable.
This is most likely caused by one of the following:
1. The native layer SO, SL, or DLL could not be found.
2. The file permissions on the native layer SO, SL, or DLL
have not been set properly.
3. The native layer SO, SL, or DLL exists, but is either
invalid or corrupted.
For more information, read the installation documentation
for your JDBC Driver, available from:
http://e-docs.bea.com
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
ectionEnvFactory.java:208)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
ectionEnvFactory.java:131)
atweblogic.common.internal.ResourceAllocator.makeResources(Resource
ator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
va:282)
best regards
"jenny" <[email protected]> wrote in message
news:[email protected]...
hello all:
I've set up the oracle thin driver and it works. but when I change
to
oci8.it don't work
below is config and errors:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
Name="ocipool"
Properties="user=yanji;password=yanji"
Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
Could not load 'oracle.jdbc.driver.OracleDriver
If this is a type-4 JDBC driver, it could occur if the JDBC
driver is not in the system CLASSPATH.
If this is a type-2 JDBC driver, it may also indicate that
the Driver native layers(DBMS client lib or driver DLL)
have not been installed properly on your system
or in your PATH environment variable.
This is most likely caused by one of the following:
1. The native layer SO, SL, or DLL could not be found.
2. The file permissions on the native layer SO, SL, or DLL
have not been set properly.
3. The native layer SO, SL, or DLL exists, but is either
invalid or corrupted.
For more information, read the installation documentation
for your JDBC Driver, available from:
http://e-docs.bea.com
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
ectionEnvFactory.java:208)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
ectionEnvFactory.java:131)
atweblogic.common.internal.ResourceAllocator.makeResources(Resource
ator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
va:282)
best regards

Similar Messages

  • How to use the oracle jdbc driver

    hi all,
    i have use the jdbc driver for oracle before but this time i<m under a hp-ux system and it seems to be different
    the dba here said the odbc driver and the jdbc driver where install but i get this error when i compile the code
    Class oracle.jdbc.driver.OracleDriver not found in type declration.
    if i try to use a odbc driver i can compile(since the classes are in jdk1.3) but i get this error at run time
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at TestOracle.<init>(TestOracle.java:33)
    at TestOracle.main(TestOracle.java:126)
    can someone help me out to better understand what is wrong
    it seems the drivers are not install but again the dba assures me they are
    import java.sql.*;
    import java.io.*;
    public class TestOracle {
    public TestOracle()
    // Load the Oracle JDBC driver
    // Connect to the database
    // search the dossiers numbers in the right table depending on criteria
    // if demands comes from extranet verify to only send back the dossier
    // numbers that are linked to the customer
    // Load the Oracle JDBC driver
    try
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         //Class.forName("oracle.djbc.driver.OracleDriver");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    catch( Throwable t ){t.printStackTrace();}
    //SQLException,IOException,ClassNotFoundException,
    //IllegalAccessException,InstantiationException
    try
         // Connect to the database
         // You can put a database name after the @ sign in the connection URL.
         Connection conn =
              //DriverManager.getConnection ("jdbc:oracle:oci8:@COLDDEV", "USER", "PPP");
              DriverManager.getConnection("jdbc:odbc:COLDDEV","USER", "PPP");
         Statement stmt = conn.createStatement ();
         ResultSet r = stmt.executeQuery("select * from Dossier");
         stmt.close();
         System.out.println("trouver:" + r.getString("Dossier_Number"));
    catch (SQLException e){e.printStackTrace();}
    public static void main(String[] args)
    TestOracle testOracle1 = new TestOracle();
    here is the code iuse

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • How to install the Oracle ODBC driver for all NT users

    I need to schedule a task on a SQL server running on NT to access an Oracle DB.
    I have installed the Oracle ODBC driver on it and it is working well under my NT account.
    But the SQL scheduler runs on another NT account and the task failed.
    How is it possible to install the Oracle ODBC Driver for all NT users ???
    Thanks for your inputs...

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • How to set the default boot drive

    I have three boot drives on my Power Mac G5. One is Tiger on the internal factory installed drive. The second one is Tiger on an external SATA drive. The third is Leopard on the second external SATA drive.
    When I boot the Power Mac, by default, I want to always boot Tiger on the external SATA drive, but when I boot the Power Mac the system seems to want to always default to the Leopard drive.
    I've booted using the startup disk choice in System Preferences, but is that the correct way to set the default boot drive or is there some other way to set the boot drive preference?
    My only other idea is to just reformat the Leopard drive, but I would still like to have a bootable Leopard just in case I want to use that.
    Any advice?
    Message was edited by: kae

    The Startup Disk Pref Pane should make it permanent!?
    Might try Resetting your Mac's PRAM, then set the Startup Disk Pref Pane again.
    http://docs.info.apple.com/article.html?artnum=2238

  • How set the oracle 10g path in xp environment variables

    am new to java.
    am practicing the jdbc, but while running the program it compied, but it does not execute the program.
    it says
    package oracle.jdbc.driver does not exist
    DriverManager.getregister(new oracle.jdbc.driver.OracleDriver());
    then how to set the path of oracle 10g in xp environment variables.
    plz send any body the answer.
    its urgent.

    tster wrote:
    sunnyyld wrote:
    then how to set the path of oracle 10g in xp environment variables.right click on my computer -> properties -> advanced -> environment variables.
    Not that it would work, as the kid doesn't seem to understand what exactly it's doing wrong.
    Had it worked through some basic tutorials it would have understood so I'm not going to tell it, just tell it to work through some basic tutorials.

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • How to set the focus to a first element in oracle apex 3.2.1  and 3.1.2.00

    Hello ,
    I am using oracle apex 3.2.1 in development env. How to set the focus to a first element of a page.
    thanks/mahesh

    Hi,
    This might help
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/bldr_pgs.htm#CJGJDHCI
    Find "Cursor Focus" from page Display Attributes
    Br,Jari

  • How to set the debug port for Eclipse for OracleAS 10g Enterprise

    Hello All,
    I am using OracleAS 10g Enterprise, and using dcmctl to startup the server.
    But i do not know how to set the debug port in the startup script for debugging with Eclipse.
    I have tried to add the following options to the dcmctl.bat, but still failed:
    -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
    i.e in the dcmctl.bat script:
    set jvmargs=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
    set ex=%ohome%\jdk\bin\java -Djava.net.preferIPv4Stack=true %jvmargs%
    Do anyone know how to configure the debug port setting?
    Thank you for your great help!.

    Hi, have you double checked that your oc4j is started with Sun's JVM or any other JVM that recognizes the kind of remote debug option as above? You can find the JVM used by oc4j in the ORACL_HOME/opmn/conf/opmn.xml.
    To double check that your oc4j is started in debug mode, you can test with another remote debugger. Say, with the jdb in sun's jdk jdb -connect com.sun.jdi.SocketAttach:hostname=yourHost,port=4000 (Personally, I also use Jdeveloper or Jswat to double check.) If you can connect with jdb, then you have to check your Eclipse. Can its remote debugger connect to any java application at all?

  • How to set the root path of XML document when calling Inserting procedure

    Hi,
    I was create a procedure to insert XML Document in to DBMS Tables, but i am not able to set the Start root element in calling procedure.
    My calling procedure is
    exec insXmldoc('pmc_sample.xml', 'pmc')
    When i am calling this procedure i got this error
    11:23:54 Error: ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 8
    ORA-06512: at line 2
    I am checking my XML file using XML Validator. My XML file was parsed with out errors.
    Please give the solution,and tell me where i did wrong in my calling procedure.
    suppose i have this XML file in local E drive ,how to set the path for that XML file in my calling procedure.

    Hi, I am doing the code likthis,please give the solution.
    SQL> create or replace procedure insProc(xmlDoc IN CLOB, tableName IN VARCHAR2) is
    2 insCtx DBMS_XMLSave.ctxType;
    3 l_ctx dbms_xmlsave.ctxtype;
    4 rows number;
    5 begin
    6 insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
    7 rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
    8 DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
    9 end;
    10 /
    Procedure created.
    SQL> begin
    2 insProc('/usr/tmp/ROWSET.xml', 'emp');
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException:
    Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 7
    ORA-06512: at line 2
    Kishore B

  • How to communicate the Oracle 8i?

    Hi Everybody,
    I'm new to Java, I'm trying to communicate with the DB. But i got some runtime errors.
    i'm displaying all errors. please any body solve my problem.
    <code>
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection<DriverManager.java:532>
    at java.sql.DriverManager.getConnection<DriverManager.java:171>
    at connect.main<connect.java:14>
    </code>
    how to set my oracle driver in my computer. i'm using Windows XP OS.
    Thank You

    First let say that the use of an Driver depend on the constructor
    Nomaly it is given with is own documentation so try to loock for the documentation of your driver.

  • ASM creation problem Initializing the Oracle ASMLib driver:  failed

    hi
    oel 5.6 64bit
    db 11gR2 64bit
    [root@rac-1 ASM]# rpm -qa | grep ora
    oracleasm-2.6.18-164.el5xen-2.0.5-1.el5
    libtheora-1.0alpha7-1
    oracleasm-2.6.18-164.el5debug-2.0.5-1.el5
    oracleasm-2.6.18-164.el5-2.0.5-1.el5
    oracle-logos-4.9.17-10
    oracle-validated-1.1.0-7.el5
    oraclelinux-release-5-6.0.1
    oracleasm-support-2.1.4-1.el5
    [root@rac-1 ASM]# rpm -qa | grep asm
    nasm-0.98.39-3.2.2
    oracleasm-2.6.18-164.el5xen-2.0.5-1.el5
    oracleasm-2.6.18-164.el5debug-2.0.5-1.el5
    oracleasm-2.6.18-164.el5-2.0.5-1.el5
    oracleasm-support-2.1.4-1.el5
    [root@rac-1 ASM]#
    [root@rac-1 ASM]# oracleasm configure
    ORACLEASM_ENABLED=true
    ORACLEASM_UID=oracle
    ORACLEASM_GID=asmadmin
    ORACLEASM_SCANBOOT=true
    ORACLEASM_SCANORDER=""
    ORACLEASM_SCANEXCLUDE=""
    [root@rac-1 ASM]# service oracleasm restart
    Dropping Oracle ASMLib disks:                              [  OK  ]
    Shutting down the Oracle ASMLib driver:                    [  OK  ]
    Initializing the Oracle ASMLib driver:                     [FAILED]
    [root@rac-1 ASM]#can anyone help??

    hi
    just another confirmation i need :
    i have some raw devices using /etc/rawdevices file and losetup to /dev/loop(n); can you say what are the udev rules to set so that all the permission and loop(n) devices come up before ASMLib driver initialization ?? eg.
    http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_20.shtml
    [root@rac-1 ~]# oracleasm listdisks
    VOL1
    [root@rac-1 ~]# oracleasm createdisk VOL2 /dev/loop1
    Unable to access device "/dev/loop1"
    [root@rac-1 ~]# losetup /dev/loop1 /oracle_ASM_SWAP/ASM/ASM_FILE1
    [root@rac-1 ~]# oracleasm createdisk VOL2 /dev/loop1
    Writing disk header: done
    Instantiating disk: done
    [root@rac-1 ~]# losetup /dev/loop2 /oracle_ASM_SWAP/ASM/ASM_FILE2
    [root@rac-1 ~]# oracleasm createdisk VOL3 /dev/loop3
    Unable to access device "/dev/loop3"
    [root@rac-1 ~]# oracleasm createdisk VOL3 /dev/loop2
    Writing disk header: done
    Instantiating disk: done
    [root@rac-1 ~]# losetup /dev/loop3 /oracle_ASM_SWAP/ASM/ASM_FILE3
    [root@rac-1 ~]# oracleasm createdisk VOL4 /dev/loop3
    Writing disk header: done
    Instantiating disk: done
    [root@rac-1 ~]# losetup /dev/loop4 /oracle_ASM_SWAP/ASM/ASM_FILE4
    [root@rac-1 ~]# oracleasm createdisk VOL5 /dev/loop5
    Unable to access device "/dev/loop5"
    [root@rac-1 ~]# oracleasm createdisk VOL5 /dev/loop4
    Writing disk header: done
    Instantiating disk: done
    [root@rac-1 ~]# losetup /dev/loop5 /oracle_ASM_SWAP/ASM/ASM_FILE5
    [root@rac-1 ~]# oracleasm createdisk VOL6 /dev/loop5
    Writing disk header: done
    Instantiating disk: done
    [root@rac-1 ~]# oracleasm listdisks
    VOL1
    VOL2
    VOL3
    VOL4
    VOL5
    VOL6
    [root@rac-1 ~]#http://admindba.com/forum.php?gcm=2&grid=115612
    assigning to /etc/rc.local making the disk available only VOL1 not others.
    can i still use ADVM ??
    [oracle@rac-1 dbs]$ . ~/.orcl_ASM.profile
    [oracle@rac-1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 4 11:34:51 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> !
    [oracle@rac-1 dbs]$ ls
    hc_orcl.dat   init.ora      lkORCL     spfileorcl.ora
    init+ASM.ora  initorcl.ora  orapworcl
    [oracle@rac-1 dbs]$ exit
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service
    SQL> startup pfile='/oracle_db/oracle/product/11.2.0/dbhome_1/dbs/init+ASM.ora';
    ORA-29701: unable to connect to Cluster Synchronization Service
    ORA-01078: failure in processing system parameters
    SQL> Disconnected
    [oracle@rac-1 dbs]$ cd /oracle_db/oracle/product/11.2.0/dbhome_1/bin/l
    lbuilder      ldapcompare   ldapsearch    loadpsp       lxchknlb
    lcsscan       ldapdelete    ldifmigrator  loadpspO      lxegen
    ldapadd       ldapmoddn     linkshlib     lsnodes       lxinst
    ldapaddmt     ldapmodify    lmsgen        lsnrctl
    ldapbind      ldapmodifymt  loadjava      lsnrctl0
    [oracle@rac-1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 4 11:47:18 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> create spfile from pfile='/oracle_db/oracle/product/11.2.0/dbhome_1/dbs/init+ASM.ora';
    File created.
    SQL> startup
    ORA-29701: unable to connect to Cluster Synchronization Service
    SQL> Disconnected
    [oracle@rac-1 dbs]$ vi .orcl_ASM.profile
    [oracle@rac-1 dbs]$ vi .orcl_ASM.profile
    [oracle@rac-1 dbs]$ . .orcl_ASM.profile
    [oracle@rac-1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 4 11:50:29 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORA-29701: unable to connect to Cluster Synchronization Service
    SQL> Disconnected
    [oracle@rac-1 dbs]$ ls
    hc_orcl.dat   init.ora      lkORCL     spfile+ASM.ora
    init+ASM.ora  initorcl.ora  orapworcl  spfileorcl.ora
    [oracle@rac-1 dbs]$ vi init+ASM.ora
    [oracle@rac-1 dbs]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 4 11:51:25 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>  create spfile from pfile='/oracle_db/oracle/product/11.2.0/dbhome_1/dbs/init+ASM.ora';
    File created.
    SQL> startup mount
    ORA-29701: unable to connect to Cluster Synchronization Service
    SQL>how to get rid of ORA-29071 for this new ASM instance creation??
    http://www.oracledba.org/10g/asm/asm_install.html
    this is 10g related.
    kind regards

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • How to set the timezone in a DATE datetype?

    How to set the timezone in a DATE datetype?
    Thanks
    Maximus

    10.5 Date, Time, and Timestamp
    The JDBC API follows the Java platform's approach of representing dates and times as a millisecond value relative to January 1, 1970 00:00:00 GMT. Since most databases don't support the notion of a time zone, the JDBC 2.0 API adds new methods to allow a JDBC driver to get/set Date, Time, and Timestamp values for a particular time zone using a Calendar. For example,
    ResultSet rs;
    Date date1 = rs.getDate(1);
    returns a Date object that wraps a millisecond value which denotes a particular date, like January 3, 1999, and a normalized time 00:00:00 in the default time zone. The time component of the Date is set to zero in the default time zone since SQL DATE values don't have a time component. Since a Calendar was not supplied explicitly to getDate() , the default time zone (really the default Calendar) is used by the JDBC driver internally to create the appropriate millisecond value assuming that the underlying database doesn't store time zone information.
    The following example retrieves a date value in GMT-Greenwich Mean Time.
    ResultSet rs;
    TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
    Calendar cal = Calendar.getInstance();
    Date date2 = rs.getDate(1, cal);
    In the example above, a Calendar is passed explicitly to getDate() to inform the JDBC driver how to calculate the appropriate millisecond value. Note that the same result could have been achieved by simply changing the default time zone, and not passing the Calendar explicitly since the JDBC driver will use the default time zone by default.
    Note that the two Date objects created above will not compare as equal assuming that the default time zone is not GMT, even if they represent the `same' date.
    if (date1.equals(date2))
    //never get here
    This is because each Java language Date object really just wraps a normalized millisecond time value and these millisecond values will differ across time zones. If an application wishes to compare dates in different time zones it should first convert them to a Calendar.
    An application should create a Date object using a Calendar. The application is responsible for specifying the time as 00:00:00 on the desired date when using the Calendar since JDBC uses this convention. In addition when creating a Time value the application must specify a date of January 1, 1970 to the Calendar used to create the millisecond value for the Time as this is the convention specified by JDBC for time.
    Above from:
    http://java.sun.com/products//jdk/1.2/docs/guide/jdbc/spec2/jdbc2.0.frame10.html
    I hope it can help you!

  • How to Enable the Oracle BPM Worklist?

    Hi!
    Newbie here.
    So how do you enable the Oracle BPM Worklist?
    Sure there a tutorial for this found in http://docs.oracle.com/cd/E21764_01/doc.1111/e17366/chapter16.htm#BABHCICI
    and in section "16.2 How to Enable the Oracle BPM Worklist" it says
    "By default, Oracle BPM Worklist functionality is disabled. You can enable this functionality in AIAConfigurationProperties.xml.
    To enable the Oracle BPM Worklist:
    -Access AIAConfigurationProperties.xml located in <AIA_HOME>/aia_instances/$INSTANCE_NAME/AIAMetaData/config.
    -Set the EH.INVOKE.HWF property value to true.
    -Reload updates to the AIAConfigurationProperties.xml file."
    However upon searching for the file "AIAConfigurationProperties.xml" or even the directory "aia_instances" in our servers, I could not find them. Please help me!

    If you are talking about 11g Worklist app, then you won't be able to do that, since the source code is not shipped with the product. The better way is to create the custom worklist application using the Worklist APIs. Refer to the SOA Developers Guide.
    In case of 10g, you can access the source code of Worklist app, even in that case, you can do your requirement using the exposed APIs.

  • How to set the width for a selectManyShuttle component

    Hi,
    I'm using selectManyShuttle component from Oracle ADF Core and some of the items in the showing list are long, therefore the width of selectManyShuttle expands the page. How to set the width property for selectManyShuttle component? After that does selectManyShuttle provide horizontal scrollbar as well?
    Thanks in advance,
    lapi
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Solution here:
    Re: ADF Faces Scrollable Panel or Scroll Bar inside a component
    Regards
    Grant

Maybe you are looking for

  • Message from Disk Utility:  iBook HD "Volume needs repair"

    I just ran the "Verify Disk" routine and got this error message: "First Aid Failed" because "the underlying task reported failure on exit". In verifying my "iBook HD" volume, the following errors were reported: (1) "incorrect number of thread records

  • Loading date in delivery

    Hello SAP gurus in sales order we have 10 line items with different loading dates for each line item and loading date in the slaes order is at item level.while creating a delivery for these line items the loading date is at header level in the delive

  • Best way to handle large number video files for a project..

    Hey, I was looking at getting some insight from the community here. Bascially there is a project that is being worked on that requires large amount of footage to be sifted through that only a small percentage will be used. These are mostly HD files a

  • Failed to evaluate correlation query

    Hi, can anyone help me in resolving this error even after giving all the correlation properly. i am getting the following error message Failed to evaluate correlation query. Failed to evaluate the correlationAlias Query /esa:processServiceOrder/esa:S

  • IPS with HTTPS traffic

    Hi, Is there a way, if I have the private key for an SSL certificate , that I can load this into the ASA with an AIP SSM module and be able to see if there attacks over SSL to one of my web servers? Thanks, Brantley