Oracle Installation with out GUI?
we got new Solaris box and we don't have Sun Monitor. So, we are using telnet sessions to connect.
Now we need install Oracle 9i/10g on the box. Is Universal installer require X-Windows ??
Is it possible to install from Command line prompt? If Yes -- Please let me know the steps.
Sampath
I believe you are going to require an X Windows session regardless if you are trying to install 9i. My recollection is that a silent install of Oracle 10g may not require an X Windows session, though I haven't tried that personally.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Similar Messages
-
Please help to call oracle procedure with out paramter from shell script
Hi
I want to call a process with out parameter from shell script. I am calling process in shell script in below way
function Process_loads {
( echo 'set serveroutput on size 1000000 arraysize 1'
echo "set pagesize 0 term on verify off feedback off echo off"
echo "BEGIN"
echo " dbms_output.put_line('Before Calling The package'); "
echo " x ( '$1', '$2', '$2', '$4', '$5', '$error_code'); "
echo " dbms_output.put_line('After Calling The package'); "
echo "EXCEPTION "
echo " WHEN OTHERS THEN "
echo " dbms_output.put_line('BIN_LOAD_ERROR' || SQLERRM); "
echo " ROLLBACK;"
echo "END;"
echo "/" ) | sqlplus -s $USER/$PASSWORD@$SID
Here $error_code is out paramter. All varaibles passed in process are declared with export command.
When executing .sh it gives below error
"sh ERROR at line 3: ORA-06550: line 3, column 99: PLS-00363: expression '' cannot be used as an assignment target ORA-06550: line 3, column 3: PL/SQL: Statement ignored".
Please help to get rid from this error or please suggest how to call a oracle procedure with out paramter from unix shell script.
Thanks in advanceYou can try this:
From sql*plus
SQL> ed
1 create or replace procedure my_proc(p_id in int, p_result out int)
2 as
3 begin
4 select 10 * p_id
5 into p_result
6 from dual;
7* end my_proc;
SQL> /
Procedure created.
SQL> set serveroutput on
SQL> declare
2 v_r int;
3 begin
4 my_proc(10,v_r);
5 dbms_output.put_line(v_r);
6 end;
7 /
100
PL/SQL procedure successfully completed.
from bash:
testproc.sh:
#!/bin/bash
(echo 'set serveroutput on';
echo 'declare';
echo 'v_r int;';
echo 'begin';
echo 'my_proc(10,v_r);';
echo 'dbms_output.put_line(v_r);'
echo 'end;';
echo '/';) | sqlplus -s u1/u1
Console:
oracle@mob-ubuntu:~$ chmod u+x testproc.sh
oracle@mob-ubuntu:~$ ./testproc.sh
100
PL/SQL procedure successfully completed.With kind regards
Krystian Zieja -
Calling a procedure from Oracle Forms with OUT parameter
HI,
Can anyone tell me in detail how to call a procedure with OUT parameters from Oracle Forms 6i ?
Thanks in advance.Hello,
Just provide the out parameter in the call:
Declare
amount number; -- OUT number argument populated by the procedure
Begin
-- call the X procedure --
x( amount ) ;
End;Francois -
Oracle Function with out parameters
Hi, I'm trying to access a stored function on an oracle server with 2 out parameters, 2 in parameters and an out ref cursor.
PL/SQL looks like this
nStatusCode OUT INTEGER,
sStatusMsg OUT VARCHAR2,
sUsrNr IN VARCHAR2,
sPassword IN VARCHAR2,
crsReturn OUT pck_cursor.retRecordSet
I drag the function onto dataset designer and it successfully maps the results to the datatable, it maps datatypes for first out parameters to decimal and string.
the method genearated for fill by looks like (out decimal?,out string,string, string, out object)
problem is, everytime i try to call this function it gives me casting exceptions for the first 2 out parameters, for the decimal it's not specified in more detail. for the other one it says there was an exception casting from OracleString to string. If I change the PL/SQL function to leave the first 2 out parameters away it works fine. Do I manually need to change the TableAdapter definitions??Hi,
I think I found the problem but not a good solution. It seems to be a problem with auto code generation for TableAdapters in the Dataset wizard. In the Parameter Definition for the Command I set DbType.Decimal and DbType.Sting for the SqlDbtype Property of the out params. The GetData and Fill Method is generated with Fill(out decimal? out1, out string out2). When I look in the generated code ith first sets the SqlDbtype as written but after this also the OracleDbtype to OracleDbType.Decimal and OracleDbType.Varchar2. The casting these types before returning the throws the exception. Any idea how to change this behavior? -
Oracle installation with 2 instance
Hi,
We had one instance installed on the system. We are now installing the new instance for CE 71 on hp with oracle.
The database installation is conplete, and SAP installation is still in progress.
While running the OUA, the runInstaller gave me
1) issues with the permission mode of /oracle/oraInventory (orainst.loc, oraInstroot.sh and locks directory). I did change the permissions and continued with the DB installation.
2) When runInstaller asked me to run root.sh, it asked for the local path of the bin directory (usr/local/bin, which had files for oraenv, dbhome and coraenv for new user ora<OLDSID>).
I specified it as a new folder /usr/local/newbin (where it created the files for oraenv, dbhome and coraenv for new user ora<NEWSID>)
Could you please create let me know whether I followed a wrong step? Also, is there a need to add the new directory to /usr/local/newbin to path?
please advise.
Thanks,
Antarpreet> We had one instance installed on the system. We are now installing the new instance for CE 71 on hp with oracle.
> The database installation is conplete, and SAP installation is still in progress.
Did you read the installation guide? Usually your start with sapinst and start the installation. SApinst stops and request you to install the database using the script RUNINSTALLER (you don't use runInstaller or DBCA or other Oracle tools) and then you move on with the installation.
If you follow all those steps it's not necessary to adapt any environments or to change settings.
This is thoroughly described in the installation guide.
Markus -
Script to archive content with out GUI
Hi Friends,
I have new requirement to Archive. Instead of GUI base archive, I need Script to archive content, Tables, sitebackup and move to DR system within same network. This should be in a programmatic mode.
Once support team will run that script those archives and sitebackup will place in DR environment.
Any one has any idea please share.
adv Thanks.Use IdcCommand with a script to call the archive service and call it from cron or windows scheduler.
http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/idc_command_reference_10en.pdf
Tim -
Excel Plugin installation with out admin rights
Hi,
We have developed an excel plugin which is a combination of dll written in c# and VBA project(.xla file). We have created .msi to ship the plugin using Install Shield and the settings in it had Require admin privileges set to NO.
The installation seems to be seamless regardless of whether it was installed on a PC with admin rights or without admin rights.
However the plugin loads fine only on the PC where it was installed with admin rights.
When installed with user without admin rights, Opening excel comes up with an error "Compile error in hidden module: ". The same message appears when closing excel as well.
I have searched through internet and found couple of ways it can it can be resolved
1. By manually registering mscomctl.ocx but cannot be done as the user don't have admin rights
2. Deleting .exd files in USER_HOME\AppData\Roaming\Microsoft\Forms dir (Tried this but no success)
I ran out of ideas and couldn't find anything more on this. Can anyone please let me know what I should be doing to resolve this?
Additional Info:
The location where registry entries are written is HKEY_CURRENT_USER\Software\VB and VBA Program Settings
I am deploying all my files to C:\Program Files\<Project Name> dir
and Interop.Excel.dll is one of the files am shipping along with my dll and .xla file
So don't think any of the above needs admin rights. Please let me know if I am wrong?
Many thanks for your help!!!Hi Kittu1201,
>>which is a combination of dll written in c# and VBA project(.xla file).
What do you mean by “a combination of dll written in c#”? Do you use VSTO? If yes, is it application level or document level?
>> We have created .msi to ship the plugin using Install Shield and the settings in it had Require admin privileges set to NO.
As far as I know, Install Shield is a third party product and I'm not very familiar with it. For questions about Install Shield, I will suggest you going to the Install Shield official site for help.
>> Opening excel comes up with an error "Compile error in hidden module: ".
I made a research about this error, it could be caused by a specific *.xla file and the KB below might be useful to you:
# You receive a "Compile error in hidden module" error message when you start Word or Excel
https://support.microsoft.com/en-us/kb/307410
If the issue keeps existing, can you share a us very simple sample to help us to reproduce this issue.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
Want to load excel data into oracle table with out changing it to CSV
Hello all,
I have a requirement in dumping excel data into oracle database table without changing it to CSV file and this has to be used in normal sql/plsql environment i.e., pkg/procedure cant be used in the forms also...
so, can u guys can help me out in this
thanks.............The link Pavan provided discusses Oracle Heterogeneous Services. This allows you (using ODBC) to create a database link from Oracle to a non-Oracle data source like Excel. This would allow you to query the Excel data source from SQL*Plus or any other client tool. But that is probably going to require that your Oracle database is running on Windows since I'm not aware of any Excel ODBC drivers for Unix.
Another potential option would be to write a Java stored procedure that parsed the file. There are a few different Java libraries that can read and write Excel data files. You could load one of those libraries into the database's JVM and then write Java code that parsed the file. You would then be able to call your Java stored procedure from PL/SQL.
Justin -
Oracle query with out using self join
hi friends,
i have one table for exeample PERSTATUS
pk/fK STUDENT NUMBER SUBJECT MARKS STATUS
1 ACCOUNTS 15 RED
1 MATHS 35 YELLOW
1 SCINECE 45 GREEN
2 ACCOUNTS 55 BROWN
2 MATHS 35 YELLOW
2 SCINECE 45 GREEN
3 ACCOUNTS 15 RED
3 MATHS 35 YELLOW
3 SCINECE 45 GREEN
i want students how status is both red and yellow so i am using self join
i want students status is both red and yellow so i am using self join
SELECT PS.STUDENTNUMBER,PS.STATUS,PS.STATUS1 FROM PERSTATUS PS ,PERSTATUS PS1
WHERE PS.STUDENTNUMBER-PS1.STUDENTNUMER
PS.STATUS='RED' AND PS1.STAUTS='YELLOW'
i want students status is both RD and YELLOW AND GREEN so i am using self join( two self joinS}
SELECT PS.STUDENTNUMBER,PS.STATUS,PS.STATUS,PS2.STATUS FROM PERSTATUS PS ,PERSTATUS PS1,PERSTATUS PS2
WHERE PS.STUDENTNUMBER-PS1.STUDENTNUMER AND PS.STUDENTNUMBER-PS2.STUDENTNUMBER
PS.STATUS='RED' AND PS1.STAUTS='YELLOW' AND PS2.STAUTUS='GREEN'
if i require MORE STATUS then more self joins required, is there any alternative to achive this
and if results comes in multiple rows are accepted (since with the above query result will come in single row)
i tried to use group by (studentnumber,status) with status='red' and status='yellow'
but it is not possible could you povidet he solutionHi,
Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, and the exact results you want from that data. Explain how you get those results from that data.
See the forum FAQ {message:id=9360002}
Here's an example of how to post the sample data:
CREATE TABLE perstatus
( studentnumber NUMBER
, subject VARCHAR2 (10)
, marks NUMBER
, status VARCHAR2 (10)
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (1, 'ACCOUNTS', 15, 'RED');
INSERT INTO perstatus (studentnumber, subject , marks, status)
VALUES (1, 'MATHS', 35, 'YELLOW');
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (1, 'SCINECE', 45, 'GREEN');
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (2, 'ACCOUNTS', 55, 'BROWN');
INSERT INTO perstatus (studentnumber, subject , marks, status)
VALUES (2, 'MATHS', 35, 'YELLOW');
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (2, 'SCINECE', 45, 'GREEN');
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (3, 'ACCOUNTS', 15, 'RED');
INSERT INTO perstatus (studentnumber, subject , marks, status)
VALUES (3, 'MATHS', 35, 'YELLOW');
INSERT INTO perstatus (studentnumber, subject, marks, status)
VALUES (3, 'SCINECE', 45, 'GREEN');You were on the right track, thinking about GROUP BY. You're interested in something about the whole group of rows that has the same studentnumber. Looking at any individual row won't tell you if that row is part of the group you're interested in or not.
If you want to see information about the group as a whole, you can do the whole job with GROUP BY. In this case, studnetnumber is the only thing that an entire group has in common. If you wanted to see the studentnumbers that had both RED and YELLOW, that is:
STUDENTNUMBER
1
3here's one way you could do it:
SELECT studentnumber
FROM perstatus
WHERE status IN ('RED', 'YELLOW')
GROUP BY studentnumber
HAVING COUNT (DISTINCT status) = 2 -- That is, both RED and YELLOW
ORDER BY studentnumber
;But say you wanted to see details about individuals in the group; for example, say we want to see all the columns for students that have all 3 of RED, YELLOW and GREEN, like this:
STUDENTNUMBER SUBJECT MARKS STATUS
1 SCINECE 45 GREEN
1 ACCOUNTS 15 RED
1 MATHS 35 YELLOW
3 SCINECE 45 GREEN
3 ACCOUNTS 15 RED
3 MATHS 35 YELLOWWe used the aggregate COUNT function earlier, but aggregate functions require collapsing the results down to one row per group.
However, most of the aggregate functions, like COUNT, have analytic counterparts, that can give the same results without collapsing the result set. Here's one way to get the results above, using the analytic COUNT function:
WITH got_cnt AS
SELECT studentnumber, subject, marks, status
, COUNT ( DISTINCT CASE
WHEN status IN ('RED', 'YELLOW', 'GREEN')
THEN status
END
) OVER (PARTITION BY studentnumber) AS cnt
FROM perstatus
SELECT studentnumber, subject, marks, status
FROM got_cnt
WHERE cnt = 3
ORDER BY studentnumber
, status
; -
Y2K bug in Oracle installer = v3.3.1.1.???
In newsgroup comp.databases.oracle.misc
I've read the following messages:
I've heard about a Y2K-Bug in the common Oracle-Installer for
NT. It was said, that installing any Oracle-product after the 1/1/2000
will cause system-errors and you will need to reinstall the operating
system. Is this true or is it nonsens? Does anybody know something
about it?
Yes, there is a Y2K-Bug in the Oracle Installer (v3.3.1.1.0 und
niedriger) You can download a Y2K-compliant Version
from http://metalink.oracle.com
Questions:
Does this bug really exists ?
Does it affects only NT or Windows95/98 as well ?
The Developer 6 Server, which you can download to date from Technet, contains an Oracle Installer with version >3.3.1.1 ??
How to handle the Y2K compliant version ?? (e.g: overwrite the existing version)
What is the size (in MB) of this Y2K compliant version ?
Any comments will be appreciated.
Thanks in advance
Martin VonkWell, heres my test (10g, for I dont have a 9.2.0.1.0, but I think it´d show the same result):
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select *
2 from t1;
ENO ENAME
1 KARTHIK
SQL> select *
2 from t2;
DNAME
VENKATRAMAN
SQL> select *
2 from t1
3 where eno in (select eno from t2);
ENO ENAME
1 KARTHIK
SQL> alter table t2 add (eno number);
Table altered.
SQL> select *
2 from t1
3 where eno in (select eno from t2);
no rows selected
SQL> alter table t2 drop (eno);
Table altered.
SQL> select *
2 from t1
3 where eno in (select t2. eno from t2);
where eno in (select t2. eno from t2)
ERROR at line 3:
ORA-00904: "T2"."ENO": invalid identifier
SQL>
But he is getting output of table T2 too se his last postI don´t think so, because he didn´t SELECT it. Would be nice to just copy & paste the output...
Regards,
Gerd -
Oracle installer dies with xp home edition on a laptop
I am trying to installe Oracle9i R2 on a windows laptop (256 megs ram)
running windows xp home editionn and i tried with installation
cd's and downloaded files with same results. Basically after
i select the database type the installer dies.
The interesting thing is i did get Oracle9i R1 running on the
laptop but i uninstalled it using the oracle installer. I even
tried cleaning out Oracle from the windows registry.
Interesting thing is i did get Oracle 9i R2 running on a windows
xp home edition desktop which never has an oracle product.
Anyone have any ideas how i can get the Oracle 9i R2 server running on the
laptop. One more tidbit of information. The Oracle 9i client
software installs without problems.
ted
ps. i have plenty of diskspace. root partition >1.5 gigs and
install directory > 5 gigs.Same issue as well. I've tried it on a Windows 2000 Server and .Net Server (RC). I select the type of Install (Enterprise Edition), then the installer exits memory at 36%. I posted this to the General database section a week or two ago and never got a response (I didn't know about the install forum until recently). Oracle 9i R1 installs fine on both. I've tried performing an upgrade, I've tried de-installing, etc. No difference. I am able to perform a 9iR2 client install, but the server always refuses to install. I've even downloaded the whole thing twice. Very frustrating.
-
Installation Of Solman 7.1 aix Oracle failed with Java Error
Dear All,
We are doing SOLMAN Installation 7.1 SR1 AIX Oracle.
Now the installation stopped at the 19th phase "IMport ABAP"as in the attached screenshot.
OS : AIX 6100-07-02-1150
Database: Oracle 11.2.0.3
Java Version currently maintained: java version "1.4.2"
When i checked in log File import_monitor.java.log ( /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS) ,
[root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] cat import_monitor.java.log
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 6.1.051)
SAP Java Server VM (build 6.1.051 23.5-b02, May 30 2013 05:04:21 - 61_REL - optU - aix ppc64 - 6 - bas2:197575 (mixed mode))
Required system resources are missing or not available:
Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' does not exist;
Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2' does not exist;
Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3' does not exist;
Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4' does not exist.
[root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS]
Also i checked all the above import Directories [
'/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1'
'/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2'
'/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3'
'/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4'
] and all the above import directories are present in my system.
Later from the above log, i compared the Java Version of our System
[root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20110630 (SR13 FP10) (JIT enabled: jitc))
[root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] which java
/usr/java14_64/jre/bin/java
Kindly clarify the below Queries.
1)Is the above Solman installation error was due to Java version? If so, do we need to install java version "1.6.0_45" in Solman Server to proceed with the installation.
2)Cant we proceed the Solman installation with the current Java version (java version "1.4.2") of our System .
3) What is the actual Prerequistes to be maintained for JAVA. I have downloaded the Installtion guide from SMP.
but in the installation guide, The exact java version to be maintained to proceed with the Solman Installation 7.1 SR1 is not mentioned anywhere.
4)If we install the Java 1.6, do we need to start Solman installation from the scratch . Any reboot required after installing java 1.6?
5)Because of the inconsistencies in java version in our System, The installation shows the Error " Import directory does not exist "?
6)Please tel the cause of the Error
Kindly assist to proceed with the installation
Regards,
Gayathri.KHello Gayathri
The import_monitor.java.log says the JRE used is 1.6 - java version "1.6.0_45"
There must be multiple JRE's installed on the system.
Run the below command and check the output
ls -lad /usr/java*
Few things I would try.
Is the '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' an NFS mount ? If yes use a local file system.
Create a directory called /SMINSTALL and move all from /cddumps/Solman_Export_Cds
It should look like /SMINSTALL/51042607_1/DATA_UNITS/EXP1
Start the installation.
Try to use Java 1.4 or 1.5 and see if that helps.
You need to set the environment variable JAVA_HOME before starting the installation.
export JAVA_HOME=/usr/java14_64/jre
Are there any files/directories under 51042607_*/DATA_UNITS/EXP* ?
Regards
RB -
SAP GUI 710 installation with BW 3.5 addon - BW Browser has disappeared
Dear all,
I hope someone can help with a BW 3.50 add-on problem following SAP GUI patching.
I'm doing a local installation of SAP GUI 710 Compilation 3.
I have selected the following three options:
1. SAP GUI for Windows 7.10 (Compilation 3)
2. BW 3.50 Add-On for SAP GUI 7.10
3. Business Explorer
(We require both BW add-ons for version reasons.)
Following this I have applied the SAP GUI Level 13 Patch (gui710_13-10002995.exe).
Up to this point, everything works as expected and I can still see the BW Browser at Start --> Programs --> Business Explorer --> Business Explorer (SAP BW 3.x) --> Browser (SAP BW 3.x)
However, when I apply the BW 3.50 Add-On Level 6 Patch (bw350gui710_6-10004473.exe) the Browser disappears from the menu and I can't locate it anywhere. A reboot wasn't required although I did this anyway with no visible effect.
I did try uninstalling everything and attempted the same process, but with SAP GUI Patch Level 12, and combinations with BW 3.50 Add-On Patch Level 4 but with the same result.
Has anyone else come across this issue, or know what has happened?
Thanks.We have a similar setup, utilizing all 3 as you do.
Since we are currently at Browser patch 4, eventually headed to patch 6, I threw your situation into our VM enviroment and tested the installation of Browser patch 6. Interesting enough, a clean install of Windows XP, Office 2003, and then GUI 7.10 with patch 13 and Browser 3.5 sp4 works as normal. Once I applied SP6 for the Browser, I still have the icon under the Start menu but the wdbbapp.exe is gone.
Thanks to the VM test enviroment, I was able to recreate the scenario in a few moments and this time prior to installing the patch 6 for the Browser, I set it up to catch all the changes the SAP installer makes when applying sp6.
The installation performed the following activity:
13 files added
4 files deleted
141 files updated
363 registry entries added
522 registry entries deleted
129 registry entries updated
Of the 4 files deleted, one of them is the BEx Browser (wdbbapp.exe) - which is why my shortcut won't work
Of the 13 added, none of them are the file being replaced.
Of the 141 modified, none are this file either.
I am still going through the log but have not seen anywhere it will make a difference if the file is not there.
Again, I am not saying there is a problem, perhaps they changed the way it is accessed, I am not fully up on the process of the BEx Browser. SAP may have something mentioned about it on their GUI/BEx site or a note, this is just my preliminary findings.
Regards,
Zecher -
Oracle 10g R2 installation with ASM+RAC
Gurus,
Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
1) Install CRS
2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
4) Create ASM database using DBCA -
5) Use dbca to create database.Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm -
PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem.PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem.
Maybe you are looking for
-
ITunes No Longer Synching With iPods, Not Connecting with iTunes Store
iPods: both iPod touch, 2nd Generation, 8GB iTunes: (Most Recent Version) Issue: For a while, the iPods of myself and a family member have not been able to synch our iPods with iTunes anymore: when plugged in, it only appears to charge, does not show
-
Im on yosemite, and had this problem when I had Mavericks. I have a macbook pro 2014 retina 8gb ram 256gb ssd. Let me explain my issue. When I am on google's search bar, I have some text written, i.e. "what is a mac" . When I try to highlight this an
-
Deski report using sdk....?????
Hi experts, Is there a way to create a deski report from a universe using sdk.... If so, please provide me some sample code... Regards, ksvsivam
-
Best practice in moving files from Downloads to other locations
I'm new to Mac and tend to download or get sent a fair few files, apps and so forth. Over the past few weeks the Download stack has started looking rather messy (full of logos from corporate emails and that sort of crap). So I thought I'd have my fir
-
my hp laptop 15 notebook i don't think the fan is running but i got no error warning when im watching a video it over heats i have coolsense running but i feel no heat coming from the vents it builds up and i am forced to shut it down for an