Adding a dataset to Oracle database in C#
Hello,
I am reading a dataset from .csv files and now I want to write this dataset to an oracle database. I want to create these datatables in the database and every time after that the tables should be only updated. I started with open the oracle connection but I am not sure how to proceed further. Any ideas?
Thanks
Code:
public void Write(DataSet ds, string[] names)
string conStr = "User d=***;Password=***;DataSource=***";
Console.WriteLine("Exporting to datatable {0} ...", names[0]);
OracleConnection oraConnection = new OracleConnection(conStr);
try
oraConnection.Open();
Console.WriteLine("\nHello, Oracle Here!\n");
Console.WriteLine("Connection String: ");
Console.WriteLine(oraConnection.ConnectionString.ToString() + "\n");
Console.WriteLine("Current Connection State: ");
Console.WriteLine(oraConnection.State.ToString() + "\n");
Console.WriteLine("Oracle Database Server Version: ");
Console.WriteLine(oraConnection.ServerVersion.ToString());
catch (Exception ex)
Console.WriteLine("Error occured: " + ex.Message);
// create the command object
OracleCommand command = new OracleCommand(conStr);
foreach (DataTable table in ds.Tables)
.........
You should probably ask in the relevant forum ODP.NET
There's sample code for dml using datasets at http://www.oracle.com/technology/sample_code/tech/windows/odpnet/DMLOperOnDS/Readme.html and more sample code at http://www.oracle.com/technology/sample_code/tech/windows/odpnet/odpbasic.html
Niall Litchfield
http://www.orawin.info/
Similar Messages
-
Adding user to the oracle database using database link - is it possible?
Hi, i wolud like to manage my databases using one client. I easilly operate on my distriubuted tables but i have problem with creating users in distribiuted database. Is it possible to create users in distributed database using database links? or it have to be done locally using some stored procedures or sth similar?
The SQL syntax of the CREATE USER statement doesn't support DB links, the only way to do it would be with stored procedures. There might be an Oracle SP for that or for generic remote execution of SQL, but I'm not familiar with such.
-
Parser - CSV files to Oracle database
Hello all,
I wrote a csv parser that parse csv files to micorsoft access database. Now I need to parse the dataset to oracle database. This is part of my exporter class
class MdbExporter : IExporter
/// <summary>
/// Exportiert das DataSet in eine Mdb-Datei.
/// </summary>
/// <param name="ds">Zu exportierendes DataSet.</param>
public void Write(DataSet ds, string[] names)
string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + names[0] + ";";
Console.WriteLine("Exporting to database {0} ...", names[0]);
Any ideas how can I do that?
Thanks for any replay in advance.I wrote a parser that goes through several folders containing csv files, reads them and creates a dataset that contains 15 tables ( which I need for an intranet application after that). I succeed to write a MDB exporter that export this dataset to microsoft access database. Now I need an exporter that will export my dataset to ORACLE database. Below is the full code for my MDB exporter:
public void Write(DataSet ds, string[] names)
string conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + names[0] + ";";
Console.WriteLine("Exporting to database {0} ...", names[0]);
DbConnection connection = new OleDbConnection(conStr);
try
connection.Open();
catch (DbException e)
ConsoleEx.WriteException(true, e, "Unable to open database: {0}", names[0]);
throw;
DbCommand command = connection.CreateCommand();
foreach (DataTable table in ds.Tables)
Console.WriteLine("\tDeleting table: {0}", table.TableName);
// delete old tables
command.CommandText = string.Format("drop table {0}", table.TableName);
TryExecute(command, false);
// create new
Console.WriteLine("\tCreating new table: {0}", table.TableName);
string[] columnStrings = new string[table.Columns.Count];
for (int i = 0; i < table.Columns.Count; i++)
columnStrings[i] = "`" + table.Columns.ColumnName + "`" + " varchar";
command.CommandText = string.Format("create table {0} ({1})",
table.TableName, string.Join(", \n", columnStrings));
TryExecute(command, true);
// add rows
for (int row = 0; row < table.Rows.Count; row++)
for (int col = 0; col < table.Columns.Count; col++)
columnStrings[col] = "'" + Convert.ToString(table.Rows[row].ItemArray[col]) + "'";
command.CommandText = string.Format("insert into {0} values ({1})",
table.TableName, string.Join(", \n", columnStrings));
TryExecute(command, true);
connection.Close();
I need similar exporter to Oracle database. Starting with SQL LOADER from the beginning its really not a good in my opinion since I am almost done with this approach.
Any help would be appreciated.
Regards,
Sven -
Error while adding oracle database resource to the fail safe group
Hi,
we are installaing ERP 6.0 EHP4 , oracle10.2.04 in MSCS
During the step, Adding the oracle Database Resource to the fail safe
group , I am getting the error.
28 13:21:57 ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<SID>_OFS.ora is not located on a cluster disk
29 13:21:57 ** WARNING : FS-10404: The database uses a nonclustered disk in one of the system parameters. Value of parameter is C:\ORACLE\<SID>\102\RDBMS\AUDIT
30 13:21:58 ** ERROR : FS-10036: The resource uses disk SAP HDD, which is also used by cluster resource SAP VIP in another group
31 13:21:58 ** ERROR : FS-10778: The Oracle Database resource provider failed to configure the cluster resource <SID>.WORLD
32 13:21:58 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
33 13:21:58 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
34 13:21:58 FS-10488:<primary node name> : Starting rollback of operation
35 13:21:58 > FS-10090: Rolling back Oracle Net changes on node <primary node name>
I am having one local disk C: one shared disk Z: and quorum disk Q:
Shared disk Z: is already used for SAP<sid> group.
Regards,
JoelJoeldhanaraj wrote:>
> Hi,
>
> we are installaing ERP 6.0 EHP4 , oracle10.2.04 in MSCS
>
> During the step, Adding the oracle Database Resource to the fail safe
> group , I am getting the error.
>
> 28 13:21:57 ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<SID>_OFS.ora is not located on a cluster disk
> 29 13:21:57 ** WARNING : FS-10404: The database uses a nonclustered disk in one of the system parameters. Value of parameter is C:\ORACLE\<SID>\102\RDBMS\AUDIT
> 30 13:21:58 ** ERROR : FS-10036: The resource uses disk SAP HDD, which is also used by cluster resource SAP VIP in another group
> 31 13:21:58 ** ERROR : FS-10778: The Oracle Database resource provider failed to configure the cluster resource <SID>.WORLD
> 32 13:21:58 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
> 33 13:21:58 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
> 34 13:21:58 FS-10488:<primary node name> : Starting rollback of operation
> 35 13:21:58 > FS-10090: Rolling back Oracle Net changes on node <primary node name>
>
> I am having one local disk C: one shared disk Z: and quorum disk Q:
>
> Shared disk Z: is already used for SAP<sid> group.
Hi Joel,
how about following the advice given by the error message and moving the mentioned files/folder (init<sid>_OFS.ora, AUDIT folder) to a clustered resource disk?
just my 2 pence... -
Adding the Oracle Database Resource to the Fail Safe Group
Hi,
I am installtin MSCS cluster for my EP system. After Adding the Oracle Database Resource to the Fail Safe Group my CI jcontrol.exe has been stopped. I tried to connect my SAPSR3DB user by sqlplus but it is giving follwoing error.
SQL> conn SAPEPPDB
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Warning: You are no longer connected to ORACLE.
but DB startup is running properly and DB is coming in open state properly. After that I have perform R3trans -d. following error
C:\>R3trans -d
This is R3trans version 6.14 (release 700 - 12.06.09 - 15:20:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_o
ra_tnsname = 'EPP'"
R3trans finished (0012).
I added Oracle database resource to fail safe group as per installation guide.
Please help me out.
Regards,
Dinesh BhattC:\>lsnrctl status
LSNRCTL for 64-bit Windows: Version 10.2.0.2.0 - Production on 11-APR-2010 20:39
:38
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=192.1.20.7)(PORT
=1527))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 - Produ
ction
Start Date 11-APR-2010 20:39:23
Uptime 0 days 0 hr. 0 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File F:\oracle\EPP\102\network\admin\listener.ora
Listener Log File F:\oracle\EPP\102\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.1.20.7)(PORT=1527)))
The listener supports no services
The command completed successfully
listener start but without any instance.
listerer.ora file
This file is written by Oracle Services For MSCS
on Sun Apr 11 10:53:11 2010
LISTENER =
(ADDRESS_LIST=
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(HOST=192.1.20.7)
(PORT=1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
ADMIN_RESTRICTIONS_LISTENER = on
Fsloracleepp =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=EPP)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=EPP.WORLD)
(ADDRESS=
(COMMUNITY=SAP.WORLD)
(PROTOCOL=TCP)
(Host=192.1.20.43)
(Port=1527)
SID_LIST_Fsloracleepp =
(SID_LIST=
(SID_DESC=
(SID_NAME=EPP)
(ORACLE_HOME=F:\oracle\EPP\102)
STARTUP_WAIT_TIME_Fsloracleepp = 0
ADMIN_RESTRICTIONS_Fsloracleepp = on
TRACE_LEVEL_Fsloracleepp = OFF
CONNECT_TIMEOUT_Fsloracleepp = 10
dbms_sid added
please help.
Dinesh Bhatt -
Adding existing subversion project to an Oracle database project
Is there an easy way to add an existing set of files to a new ODT project? I'd like to be able to get the latest version from SVN and then place my oracle database project in the same directory. I can "add existing item.." just fine but the problem is the folder structure. There is no "show all files" button in the solution explorer so I can add existing folders that way. I can't create a new folder because I get a warning that it already exists. I'd like to be able to use visual studio without maintaining two sets of source control files on my local disk.
1.Dowbload ojdbc6,jar file.
2.Right click on project name > Properties > Libraries > Add Jar -
Oracle database 11g release 2 installation problem on windows 7 (64-bit)
First of all my windows is not genuine, but on my friend's desktop oracle download and installation worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
(Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w, deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
and
then
I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)" from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
The values I filled for
1) Global Database Name : orcl
2) System Identifier : orcl
3) I chose common password for both SYS and SYSTEM
4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
6) Then after few more nitty-gritty clicks, we are set to go !
Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
Username : sys/ as sysdba
Password : (its the one you created in step 3 stated above )
After this you are ready to write your first SQL command.Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
About Database Administrator Security and Privileges -
Can't mount oracle database on linux system
This is same as previous posting just added
e-mail and username info fo forum posting.
I am not able to mount an Oracle database.
I am new to Oracle and am working on an Oracle8i installation on an
Intel Linux Suse 6.3 platform. I am using only one harddrive and am
not using the 4 mount points as mentioned for efficiecy purposes in
the Oracle documentation..I am using the installation cd from Oracle8i
for Linux Starter Kit by Oracle Press. If anyone has this book they
can refer to pages 41-44 for the examples I followed.
As sysdba in sqplplus using the STARTUP command I can not Mount the
database -step 2 of the 3 stage process (Start, Mount and Open the
database) of opening an Oracle database.
I show the errors I encountered when I did the first 2 of the 3 steps
in the step-by-step mode (STARTUP NOMOUNT pfile=, ALTER DATABASE
MOUNT) in the sqlplus session and alert log respectively with startup
nomount and alter database mount for this sqlplus session.
Additionally I show the init.ora file lines referring to control file
which seem to be referred to by the sqlplus error messages and the
alert.log file. Perhaps some can give me some advice as what I can try
to fix this problem.
At the end of this e-mail I added several questions I had in regard to the control
files. Any help is appreciated.
Well, here are the sqlplus session results and its alert.log file:
Oracle sqlplus session usr/oracle as sysdba
oracle@CHESTNUT:~ > sqlplus
SQL*Plus: Release 8.1.6.0.0 - Production on Mon Mar 19 20:47:49 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: usr/oracle as sysdba
Connected to an idle instance.
SQL> startup nomount pfile=/usr/oracle/dbs/init.ora ;
ORACLE instance started.
Total System Global Area 24989680 bytes
Fixed Size 69616 bytes
Variable Size 24637440 bytes
Database Buffers 204800 bytes
Redo Buffers 77824 bytes
SQL> alter database mount ;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying controlfile, check alert log for more
info
SQL> shutdown immediate ;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> exit
Disconnected
oracle@CHESTNUT:~ >
alert.log file for above session
Mon Mar 19 20:48:38 2001
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
LICENSE_MAX_USERS = 0
Starting up ORACLE RDBMS Version: 8.1.6.1.0.
System parameters with non-default values:
processes = 50
shared_pool_size = 3500000
control_files = ora_control1, ora_control2
db_block_buffers = 100
log_buffer = 32768
log_checkpoint_interval = 10000
db_files = 80
db_file_multiblock_read_count= 8
global_names = TRUE
db_name = DEFAULT
parallel_max_servers = 5
max_dump_file_size = 10240
PMON started with pid=2
Load Indicator not supported by OS !
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Mon Mar 19 20:48:58 2001
alter database mount
Mon Mar 19 20:48:58 2001
ORA-00202: controlfile: 'ora_control1'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Mon Mar 19 20:49:01 2001
ORA-205 signalled during: alter database mount
Mon Mar 19 20:49:12 2001
Shutting down instance (immediate)
License high water mark = 1
Mon Mar 19 20:49:12 2001
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
archiving is disabled
init.ora control files
# define two control files by default
control_files = (ora_control1, ora_control2)
Here are my control file questions:
I need to know several points:
1) What are control files susposed to
contain and how would I recognize them?
I used the
unix find /usr/oracle \*ctl* -print
command to locate files with a ctl extension.
This resulted in about a dozen such files in
different directories as shown below:
./bin/lsnrctl
./bin/extractlib
./bin/agtctl
./bin/oidctl
./bin/lsnrctl0
./bin/agtctlO
./rdbms/demo/ulcase1.ctl
./rdbms/demo/ulcase10.ctl
./rdbms/demo/ulcase2.ctl
./rdbms/demo/ulcase3.ctl
./rdbms/demo/ulcase4.ctl
./rdbms/demo/ulcase5.ctl
./rdbms/demo/ulcase6.ctl
./rdbms/demo/ulcase7.ctl
./rdbms/demo/ulcase8.ctl
./rdbms/demo/ulcase9.ctl
./ldap/load/dn.ctl
./ldap/load/attr_store.ctl
./ord/ts/demo/tsquick/tsquick.ctl
./ord/ts/demo/usageutl/utildat.ctl
./ord/ts/demo/usage/stockdat.ctl
./ord/ts/demo/usage/stockinc.ctl
./ord/ts/demo/retrofit/sales.ctl
./ord/ts/demo/retrofit/sales2.ctl
./ord/ts/demo/applet/indexdemo.ctl
./javavm/admin/libjox8com_sun_jndi_ldap_ctl.so
./md/demo/examples/migctl.h
./md/demo/examples/migctl.c
2) On page 100 in the book Oracle 8i A Beginners's
by Oracle Press mention is made of a
CREATE CONTROLFILE command that can under
circumstances be used to re-create a control-file.
but that is all that is said about it. Perhaps
you might know something more about it.
3) Would you recommend any good text for
Oracle DBA's, especially for the problem of the sort
that I am encountering?
[email protected]
nullIt's probably not supported on RHEL5/Centos5/etc., but...
You can get the installer to function using the following steps:
- extract the cal_linux_*.tar.gz, and cd into the OracleCalendar_inst directory
In there is the actual installer, cal_linux.
- the cal_linux is shell script wrapped around some binary blobs. The installer's
problem is that Oracle is setting the LD_ASSUME_KERNEL=2.2.5 environment
variable, which is a mistake on RHEL5. You need to make it not set that variable,
but you need to do so in a way that the size of the shell script does not change at all,
and none of the binary blobs are impacted.
- the approach I took was
mv cal_linux cal_linux.BAK
sed -e 's/LD_ASSUME_KERNEL=2.2.5/LD_ASSUME_KERNEL= /g' < cal_linux.BAK > cal_linux
chmod a+rx cal_linux
cal_linux -i gui
Note: you must have exactly 5 spaces in the substitution part of the sed command, because you're replacing 5 characters (2.2.5), and the size of the shell script must not change.
If you do that, the installer should run (one warning from awk still) and you should be able to install the product.
Tim -
Multiple Oracle Databases in a Single Windows Server
Hi all,
I have Windows Server System which has oracle database created.
My question is:-
How can i create multiple databases on the same server without affecting the first created database & i want to use the both databases at a time?
Please give the steps to do multiple databases in the same server if possible..
Thanks in advance,
Venkatesh JVenkateshj wrote:
How can i create multiple databases on the same server without affecting the first created database & i want to use the both databases at a time?Yes, possible. No, invariable a a bad idea as this is not a scalable approach.
Oracle scales by adding more servers to a single physical database. This is called Oracle RAC.
You want to add more physical databases to a single server - doing the exact opposite of what Oracle offers as a scalable solution.
Please give the steps to do multiple databases in the same server if possible..No special steps. Run DBCA and create a new database instance. In other words, the exact same steps followed for creating the 1st database on that server.
Also make sure you fully understand WHAT you are doing and the IMPLICATIONS of that. An Oracle database is not the same as a mySQL or SQL-Server database. An Oracle Schema is a logical database - and compares to what a mySQL/SQL-Server database is.
And a single Oracle database can contain 1000s of logical databases (schemas). Each with their own dedicated storage, own security, own resource profile, etc.
Oracle is not mySQL/SQL-Server.
Understanding the differences is important. -
How many users/ schemas can we create in an oracle database?
How many users can we create in an oracle database? Or how many users can oracle handle?
Problem-
I have to store information of ontologies (I will use countries instead) in db.
I have to store information regarding countries.
I have 13 tables in all to maintain for each country.
Now there are two approaches:
1) keep only 13 tables. Have an extra column in each table to indicate that a particular
row stores information for which country.
2) create a new user/ schema for each country. So we can get rid of the extra column
needed in 1st approach.
I have used the second approach. This is because number of entries in each table for a
given country will be large.
So initially when the s/w is installed I create a central-user. Each time data for new
country has to be entered central-user creates a user/ schema, and creates tables for
this user/ schema. The central user can access the tables of all the countries by
country_name.table_name. By this approach I believe searching would be easy.
If there is any flaw in my approach kindly mention it.
Thank youThere is no (practical at least) limit to the number of users & schemas you can have in Oracle.
Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
Justin
One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
Message was edited by:
Justin Cave -
How To Store pdf or doc file in Oracle Database using Java Jdbc?
can any one help me out How To Store pdf or doc file in Oracle Database using Java Jdbc in JSP/Serlet? i tried like anything. using blob also i tried. but i am able 2 store images in DB not files. please if u know or else if u have some code like this plz send that to me, and help me out plz. i need that urgent.
Hi.. i am not getting error, But i am not getting the original contents from my file. i am getting all ASCII vales, instead of my original data. here i am including my code.
for Adding PDF in DB i used image.jsp
Database table structure (table name. pictures )
Name Null? Type
ID NOT NULL NUMBER(11)
IMAGE BLOB
<%@ page language="java" import="java.util.*,java.sql.*,java.io.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
PreparedStatement ps,pstmt,psmnt;
ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
File file =
new File("D:/info.pdf");
FileInputStream fs = new FileInputStream(file);
ps.setInt(1,4);
ps.setBinaryStream(2,fs,fs.available());
int i = ps.executeUpdate();
if(i!=0){
out.println("<h2>PDF inserted successfully");
else{
out.println("<h2>Problem in image insertion");
catch(Exception e){
out.println("<h2>Failed Due To "+e);
%>
O/P: PDF inserted successfully
i tried to display that pdf using servlet. i am giving the code below.
import java.io.IOException;
import java.sql.*;
import java.io.*;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class DispPDF extends HttpServlet {
* The doGet method of the servlet. <br>
* This method is called when a form has its tag value method equals to get.
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
public void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
//response.setContentType("text/html"); i commented. coz we cant use response two times.
//PrintWriter out = response.getWriter();
try{
InputStream sPdf;
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
PreparedStatement ps,pstmt,psmnt;
psmnt = con.prepareStatement("SELECT image FROM pictures WHERE id = ?");
psmnt.setString(1, "4"); // here integer number '4' is image id from the table.
ResultSet rs = psmnt.executeQuery();
if(rs.next()) {
byte[] bytearray = new byte[1048576];
//out.println(bytearray);
int size=0;
sPdf = rs.getBinaryStream(1);
response.reset();
response.setContentType("application/pdf");
while((size=sPdf.read(bytearray))!= -1 ){
//out.println(size);
response.getOutputStream().write(bytearray,0,size);
catch(Exception e){
System.out.println("Failed Due To "+e);
//out.println("<h2>Failed Due To "+e);
//out.close();
OP
PDF-1.4 %âãÏÓ 2 0 obj <>stream x+är á26S°00SIá2PÐ5´1ôÝ BÒ¸4Ü2KüsSSS4C²ê Pkø$VãGÒU×713CkW )(Ü endstream endobj 4 0 obj <>>>/MediaBox[0 0 595 842]>> endobj 1 0 obj <> endobj 3 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj xref 0 7 0000000000 65535 f 0000000325 00000 n 0000000015 00000 n 0000000413 00000 n 0000000168 00000 n 0000000464 00000 n 0000000509 00000 n trailer <<01b2fa8b70ac262bfa939cc786f8770c>]/Root 5 0 R/Size 7/Info 6 0 R>> startxref 641 %%EOF
plz help me out. -
Installation oracle database 10.2 on mac snow leopard server
Hi.,
I am trying to install oracle database 10.2 on mac server snow leopard but getting following error:
rsgsoftware:Disk1 oracle$ ./runInstaller
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-08-31_10-22-39AM. Please wait ...The Java RunTime Environment was not found at /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java. Hence, the Oracle Universal Installer cannot be run.
Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.
: No such file or directory
hence JRE is inbuilt with mac.
Can any one help me in this regard.
--SDdamorgan wrote:
I am trying to use my pet cat as a boat and it doesn't work either.That's because, just like the OP, you are not taking the right approach. You simply need to MODIFY the cat - in your case, by adding a few things: a keel, ribs, hull, mast, sails, rudder, tiller (to name a few).
Similarly, OP needs to MODIFY Snow Leopard by adding the appropriate infrastructure, executables, and configuration to meet the install requirements. Just because that implies a different kernel and system libs doesn't mean it can't be done.
Just don't let the animal rights people (or professional administrator) know about the mods. -
Oracle database 11g release 2 installation on windows 7 (64-bit)
I've downloaded Oracle 11g release2 for the first time on my laptop, but before it, I've worked on MySql database and oracle 10g too but they are uninstalled now. The problem is: it is not going as I saw in the video of installation. On my system, it asks for a proxy server, showing a "connection failed" dialog box. I doubt, the second file I downloaded doesn't get extracted to the same folder. But I am not sure, if this were the problem, it(setup) would have even started or not ? then I clicked on the setup and command line prompt appeared.
Then it asked to fill in the email address.
and Now comes the real problem, where it shown "connection failed" dialog box, asking for proxy server, proxy port, proxy username, proxy password. I don't know what values to fill in these columns.
Here I am copy pasting Log file created while installing Oracle database 11g on my system :
Using paramFile: C:\Users\rubbal bhusri\Downloads\Compressed\Oracle 11g release 2\database\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
The commandline for unzip:
C:\Users\rubbal bhusri\Downloads\Compressed\Oracle 11g release 2\database\install\unzip -qqqo ..\stage\Components\oracle.jdk\1.5.0.17.04\1\DataFiles/"*.jar" -d "C:\Users\RUBBAL~1\AppData\Local\Temp\OraInstall2013-07-29_10-32-10PM" INFO: Loading data from: jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Loading beanstore from jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Verifying target environment...
INFO: Checking whether the IP address of the localhost could be determined...
INFO: Completed verification of target environment.
INFO: Inventory exists: false
INFO: Registering setup bean
INFO: Building Flow
INFO: Building the flow graph
INFO: Loaded state prepInstall
INFO: Loaded state decideOCMInstall
INFO: Loaded state getOCMDetails
INFO: Loaded state installOptions
INFO: Loaded state getSystemClass
INFO: Loaded state nodeSelectionPage
INFO: Loaded state upgradeValidation
INFO: Loaded state installType
INFO: Loaded state quickInstallPage
INFO: Loaded state productLanguage
INFO: Loaded state inventoryPage
INFO: Loaded state getOracleHome
INFO: Loaded state dbEdition
INFO: Loaded state configurationType
INFO: Loaded state dbIdentifier
INFO: Loaded state configurationOption
INFO: Loaded state managementOption
INFO: Loaded state storageOption
INFO: Loaded state recoveryOption
INFO: Loaded state selectASMDiskGroups
INFO: Loaded state schemaPasswordDialog
INFO: Loaded state getPrivilegedOSGroups
INFO: Loaded state prereqExecutionDecider
INFO: Loaded state performChecks
INFO: Loaded state showSummary
INFO: Loaded state setup
INFO: Loaded state finish
INFO: Linking states
INFO: State[configurationOption]: route=success; to=managementOption
INFO: State[configurationType]: route=success; to=dbIdentifier
INFO: State[dbEdition]: route=oraclehome_location; to=getOracleHome
INFO: State[dbIdentifier]: route=success; to=configurationOption
INFO: State[decideOCMInstall]: route=ignoreOCM; to=installOptions
INFO: State[decideOCMInstall]: route=requireOCM; to=getOCMDetails
INFO: State[getOCMDetails]: route=success; to=installOptions
INFO: State[getOracleHome]: route=advanced_yes_createDB_yes; to=configurationType
INFO: State[getOracleHome]: route=advanced_yes_inventory_no; to=inventoryPage
INFO: State[getOracleHome]: route=advanced_yes_softwareDB_yes; to=prereqExecutionDecider
INFO: State[getOracleHome]: route=advanced_yes_upgrade_yes; to=prereqExecutionDecider
INFO: State[getPrivilegedOSGroups]: route=success; to=prereqExecutionDecider
INFO: State[getSystemClass]: route=desktop_class_yes; to=quickInstallPage
INFO: State[getSystemClass]: route=server_class_yes; to=nodeSelectionPage
INFO: State[installOptions]: route=advanced_yes_softwareDB_yes; to=nodeSelectionPage
INFO: State[installOptions]: route=migrate_yes_clusterware_no; to=upgradeValidation
INFO: State[installOptions]: route=migrate_yes_clusterware_yes; to=nodeSelectionPage
INFO: State[installOptions]: route=system_class; to=getSystemClass
INFO: State[installType]: route=advanced_yes; to=productLanguage
INFO: State[installType]: route=basic_yes; to=quickInstallPage
INFO: State[inventoryPage]: route=advanced_yes_createDB_yes; to=configurationType
INFO: State[inventoryPage]: route=advanced_yes_softwareDB_yes; to=prereqExecutionDecider
INFO: State[inventoryPage]: route=basic_yes; to=prereqExecutionDecider
INFO: State[managementOption]: route=success; to=storageOption
INFO: State[nodeSelectionPage]: route=create_and_configureDB; to=installType
INFO: State[nodeSelectionPage]: route=software_onlyDB; to=productLanguage
INFO: State[nodeSelectionPage]: route=upgradeDB; to=upgradeValidation
INFO: State[performChecks]: route=success; to=showSummary
INFO: State[prepInstall]: route=success; to=decideOCMInstall
INFO: State[prereqExecutionDecider]: route=executeprereqs; to=performChecks
INFO: State[prereqExecutionDecider]: route=ignoreprereqs; to=showSummary
INFO: State[productLanguage]: route=productlanguage_yes; to=dbEdition
INFO: State[quickInstallPage]: route=basic_yes_inventory_no; to=inventoryPage
INFO: State[quickInstallPage]: route=basic_yes_inventory_yes; to=prereqExecutionDecider
INFO: State[recoveryOption]: route=asm_chosen_asm_not_present; to=schemaPasswordDialog
INFO: State[recoveryOption]: route=asm_chosen_asm_present; to=selectASMDiskGroups
INFO: State[recoveryOption]: route=asm_not_chosen; to=schemaPasswordDialog
INFO: State[schemaPasswordDialog]: route=success; to=prereqExecutionDecider
INFO: State[selectASMDiskGroups]: route=success; to=schemaPasswordDialog
INFO: State[setup]: route=success; to=finish
INFO: State[showSummary]: route=success; to=setup
INFO: State[storageOption]: route=success; to=recoveryOption
INFO: State[upgradeValidation]: route=success; to=productLanguage
INFO: Successfully built the flow
INFO: Opening bean stores from which the beans can be loaded
INFO: Loading beanstore from a given input stream
INFO: Translating external format into raw format
INFO: Registering the flow data beans
INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'CLUSTER_NODES' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OSDBA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OSOPER' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_GlobalDBName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SID' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_StorageType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CustomInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_AllocatedMemory' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_AutoMemoryOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMCentralAgentSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_MountPointLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SecureConfigDisabled' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EnableAutoBackup' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LoadExampleSchemas' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ReceiveEmailNotification' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseDBControl' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseFileSystemForRecovery' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseSamePassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigTabSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CharSetOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallOptionSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupNameForASM' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMEmailAddress' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMSMTPServer' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpPassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpUsername' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ASMSNMPUserPassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminPasswords' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CharacterSet' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
INFO: [INS-07001] Value for property 'b_rdbmsInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'INVENTORY_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'UNIX_GROUP_NAME' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_RESPONSE_FILE' not found in the bean store.
INFO: [INS-07001] Value for property 'MYORACLESUPPORT_USERNAME' not found in the bean store.
INFO: [INS-07001] Value for property 'MYORACLESUPPORT_PASSWORD' not found in the bean store.
INFO: [INS-07001] Value for property 'DECLINE_SECURITY_UPDATES' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_HOST' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_PORT' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_USER' not found in the bean store.
INFO: [INS-07001] Value for property 'PROXY_PWD' not found in the bean store.
INFO: [INS-07001] Value for property 'SECURITY_UPDATES_VIA_MYORACLESUPPORT' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_FAILURES' not found in the bean store.
INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_CONFIGURATION' not found in the bean store.
INFO: [INS-07001] Value for property 'SELECTED_LANGUAGES' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOSTNAME' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
WARNING: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
WARNING: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
WARNING: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
WARNING: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
WARNING: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
WARNING: [INS-07001] Value for property 'b_rdbmsInstall' not found in the bean store.
WARNING: [INS-07001] Value for property 'COLLECTOR_RESPONSE_FILE' not found in the bean store.
WARNING: [INS-07001] Value for property 'COLLECTOR_IGNORE_FAILURES' not found in the bean store.
WARNING: [INS-07001] Value for property 'COLLECTOR_IGNORE_CONFIGURATION' not found in the bean store.
INFO: Set value for bean DBSetupBean
INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'CLUSTER_NODES' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OSDBA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OSOPER' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_GlobalDBName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SID' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_StorageType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CustomInstall' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_AllocatedMemory' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_AutoMemoryOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMCentralAgentSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_MountPointLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SecureConfigDisabled' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EnableAutoBackup' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LoadExampleSchemas' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ReceiveEmailNotification' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseDBControl' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseFileSystemForRecovery' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_UseSamePassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ConfigTabSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CharSetOption' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallOptionSelected' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupNameForASM' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMEmailAddress' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_EMSMTPServer' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpPassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpUsername' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_ASMSNMPUserPassword' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminPasswords' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CharacterSet' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
WARNING: Failed to load bean oracle.install.ivw.db.bean.DBInstallSettings. Reason: [INS-07001] Value for property 'DBInstallSettings' not found in the bean store.
INFO: Closing bean stores from which the beans can be loaded
INFO: Registering the flow views
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.PrereqGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.PrereqGUI added to View Type Registry with the key as [PrereqUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SummaryGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SummaryGUI added to View Type Registry with the key as [SummaryUI]
INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SetupGUI viewId: null uiType: null]
INFO: oracle.install.commons.base.interview.common.view.SetupGUI added to View Type Registry with the key as [SetupUI]
INFO: Adding View[type: oracle.install.ivw.common.view.InventoryUI viewId: null uiType: null]
INFO: oracle.install.ivw.common.view.InventoryUI added to View Type Registry with the key as [InventoryUI]
INFO: Adding View[type: oracle.install.ivw.common.view.ProductLanguageGUI viewId: ProductLanguageUI uiType: null]
INFO: oracle.install.ivw.common.view.ProductLanguageGUI added to View Type Registry with the key as [ProductLanguageUI]
INFO: Adding View[type: oracle.install.ivw.common.view.OCMDetailsGUI viewId: OCMDetailsUI uiType: null]
INFO: oracle.install.ivw.common.view.OCMDetailsGUI added to View Type Registry with the key as [OCMDetailsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationTypeUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ConfigurationTypeUI added to View Type Registry with the key as [ConfigurationTypeUI]
INFO: Adding View[type: oracle.install.ivw.db.view.DBIdentifierUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.DBIdentifierUI added to View Type Registry with the key as [DBIdentifierUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ConfigurationOptionsUI added to View Type Registry with the key as [ConfigurationOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ManagementOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.ManagementOptionsUI added to View Type Registry with the key as [ManagementOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.StorageOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.StorageOptionsUI added to View Type Registry with the key as [StorageOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.RecoveryBackupUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.RecoveryBackupUI added to View Type Registry with the key as [RecoveryBackupUI]
INFO: Adding View[type: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI viewId: ASMDiskGroupSelectionUI uiType: null]
INFO: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI added to View Type Registry with the key as [ASMDiskGroupSelectionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.SchemaPasswordUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.SchemaPasswordUI added to View Type Registry with the key as [SchemaPasswordUI]
INFO: Adding View[type: oracle.install.ivw.db.view.QuickInstallUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.QuickInstallUI added to View Type Registry with the key as [QuickInstallUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallOptionsUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.InstallOptionsUI added to View Type Registry with the key as [InstallOptionsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.SystemClassUI viewId: SystemClassUI uiType: null]
INFO: oracle.install.ivw.db.view.SystemClassUI added to View Type Registry with the key as [SystemClassUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallLocationUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.InstallLocationUI added to View Type Registry with the key as [InstallLocationUI]
INFO: Adding View[type: oracle.install.ivw.db.view.DBEditionGUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.DBEditionGUI added to View Type Registry with the key as [DBEditionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.NodeSelectionUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.NodeSelectionUI added to View Type Registry with the key as [NodeSelectionUI]
INFO: Adding View[type: oracle.install.ivw.db.view.FinishUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.FinishUI added to View Type Registry with the key as [FinishUI]
INFO: Adding View[type: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI viewId: null uiType: null]
INFO: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI added to View Type Registry with the key as [PrivilegedOSGroupsUI]
INFO: Adding View[type: oracle.install.ivw.db.view.InstallTypeGUI viewId: installTypeUI uiType: null]
INFO: oracle.install.ivw.db.view.InstallTypeGUI added to View Type Registry with the key as [installTypeUI]
INFO: Initial values of Setup Properties :
PROPERTY VALUE
CLUSTER_NODES {}
COLLECTOR_IGNORE_CONFIGURATION false
COLLECTOR_IGNORE_FAILURES false
COLLECTOR_RESPONSE_FILE
DECLINE_SECURITY_UPDATES false
FROM_LOCATION C:\Users\rubbal bhusri\Downloads\Compressed\Oracle
11g release 2\database\install\../stage/products.xm
l
INSTALL_TYPE EE
MYORACLESUPPORT_PASSWORD *Protected value, not to be logged*
MYORACLESUPPORT_USERNAME
ORACLE_BASE
ORACLE_HOME
ORACLE_HOSTNAME rubbalbhusri-PC
PROXY_HOST
PROXY_PORT
PROXY_PWD *Protected value, not to be logged*
PROXY_USER
SECURITY_UPDATES_VIA_MYORACLESUPPORT true
SELECTED_LANGUAGES {"en"}
b_rdbmsInstall true
oracle.install.db.isCCRAuthenticationUsed false
oracle_install_LaunchNetCA false
oracle_install_NoMigration false
oracle_install_OCR_PartitionLocation
oracle_install_RACInstall false
oracle_install_RDBMSInstalling true
oracle_install_client_OraMTSPortNumber 49157
oracle_install_db_ASMSNMPUserPassword *Protected value, not to be logged*
oracle_install_db_AutoMemoryOption false
oracle_install_db_CharSetOption 3
oracle_install_db_CharacterSet
oracle_install_db_ConfigTabSelected 0
oracle_install_db_ConfigurationType &General Purpose / Transaction Processing
oracle_install_db_CustomInstall false
oracle_install_db_DiskGroupName
oracle_install_db_DiskGroupNameForASM
oracle_install_db_EMCentralAgentSelected
oracle_install_db_EMEmailAddress
oracle_install_db_EMSMTPServer
oracle_install_db_EnableAutoBackup false
oracle_install_db_InstallEdition EE
oracle_install_db_InstallOption INSTALL_DB_AND_CONFIG
oracle_install_db_InstallOptionSelected 1
oracle_install_db_InstallType EE
oracle_install_db_LaunchDBCA false
oracle_install_db_LaunchODMA false
oracle_install_db_LoadExampleSchemas false
oracle_install_db_MountPointLocation
oracle_install_db_QuickInstallOption false
oracle_install_db_ReceiveEmailNotification false
oracle_install_db_RecoveryBackUpLocation
oracle_install_db_RecoveryBackUpPassword *Protected value, not to be logged*
oracle_install_db_RecoveryBackUpUsername
oracle_install_db_SID
oracle_install_db_SecureConfigDisabled false
oracle_install_db_SetOracleBase false
oracle_install_db_StarterDatabaseType GENERAL_PURPOSE
oracle_install_db_StorageType 0
oracle_install_db_SuperAdminPasswords *Protected value, not to be logged*
oracle_install_db_SuperAdminSamePasswdForAll *Protected value, not to be logged*
oracle_install_db_SystemClass DESKTOP_CLASS
oracle_install_db_Type 1
oracle_install_db_UseDBControl true
oracle_install_db_UseFileSystemForRecovery false
oracle_install_db_UseSamePassword false
INFO: Launching Oracle Database 11g Release 2 Installer
INFO: Started executing the flow in INTERACTIVE mode
INFO: Waiting for completion of background operations
INFO: Finishing all forked tasks at state prepInstall
INFO: Waiting for completion all forked tasks at state prepInstall
INFO: All forked task are completed at state prepInstall
INFO: Completed background operations
INFO: Executing action at state prepInstall
INFO: Completed executing action at state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <prepInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <prepInstall>
INFO: Completed validating view at state <prepInstall>
INFO: Validating state <prepInstall>
WARNING: Validation disabled for the state prepInstall
INFO: Completed validating state <prepInstall>
INFO: Verifying route success
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state decideOCMInstall
INFO: Completed executing action at state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <decideOCMInstall>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <decideOCMInstall>
INFO: Completed validating view at state <decideOCMInstall>
INFO: Validating state <decideOCMInstall>
WARNING: Validation disabled for the state decideOCMInstall
INFO: Completed validating state <decideOCMInstall>
INFO: Verifying route requireOCM
INFO: Get view named [OCMDetailsUI]
INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@675926d1
INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state getOCMDetails
INFO: Completed executing action at state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <getOCMDetails>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <getOCMDetails>
INFO: Completed validating view at state <getOCMDetails>
INFO: Validating state <getOCMDetails>
INFO: Terminating all background operations
INFO: Terminated all background operations
INFO: Completed validating state <getOCMDetails>
INFO: Transition aborted
INFO: Rolled back to state <getOCMDetails>
INFO: Pause Oracle Database 11g Release 2 Installer
INFO: Resume Oracle Database 11g Release 2 Installer
INFO: Exit Status is 0
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver956622 wrote:
I've downloaded Oracle 11g release2 for the first time on my laptop, but before it, I've worked on MySql database and oracle 10g too but they are uninstalled now. The problem is: it is not going as I saw in the video of installation.
I don't see any videos in the official Installation Guide ..Contents
On my system, it asks for a proxy server, showing a "connection failed" dialog box. I doubt, the second file I downloaded doesn't get extracted to the same folder. But I am not sure, if this were the problem, it(setup) would have even started or not ? then I clicked on the setup and command line prompt appeared.
Then it asked to fill in the email address.
and Now comes the real problem, where it shown "connection failed" dialog box, asking for proxy server, proxy port, proxy username, proxy password. I don't know what values to fill in these columns.
You don't need to give it an email address, and then you don't need to provide proxy server information. Try the installation without it.
<snip> -
How to install oracle database 11g express edition on Windows 7
Hi Guys,
i am trying to download and install Oracle database 11g express edition on windows7 and i can't seem to get it right. i did get the download but when i try to install, it keeps saying it appears to be an invalid archive.
Please help..Action - Refer to the logs or contact OracleFinding the problem is the key. "Refer to the logs" is the only option, XE has no oracle support offerings.
Which plugin failed, and why did it fail will be important clues. There should be error messages in the log that will be helpful.
Otherwise, we don't have much help to offer. Fixing a problem means identifying the problem and performing steps to correct it, if there a fix is available.
A MOS lookup on the ins-20802 error has snippets from one installer session, this one is from an x64 install. Not x86. To paraphrase the details:
... Created a new file <drive>:<OH path>\cfgtoollogs\configToolAllCommands
SEVERE: java.io.IOException: Access is denied
...So from those symptoms, the user trying to run the installer does not have appropriate rights on that drive and/or folder. The fix for that particular problem is adding the user to the local administrators group. And rerunning the install. After running the deinstall steps to clean up the installation. As specified in the XE install guide for Windows.
http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm
Also note the System Requirements, it specifies a System architecture Intel x86, which is not X64. There is no X64 installer for XE on Windows. So it might work. Or it might not if your host is x64.
So if that is your particular error, verify that your user is in the local admins group. Either use the local users and groups applet (Start/Run/lusrmgr.msc) and open up the Administrators group. Click the Add button. Find your user. If your OS user is a windows domain user, be sure you have authenticated to the domain.
Try the `net ...` list of the adminis group, that should reveal whom is indeed in the local administrators group:
net localgroup administrators
Administrator
<domain>\Domain Admins ... # ??? is the host in windows domain ???
<domain>\Local Admins
<domain>\<user1>
<user2>
<user3>
echo %USERNAME%
# if relevant:
echo %USERDOMAIN%Like it also states in the Windows install guide, under Permission Required quote:
... must be a member of the Administrators group on Windows to install Oracle Database XE. -
Oracle Database 11.2 Post-Upgrade error: ORA-01658: unable to create INITIA
Hi,
While upgrading of database 11.1.0 to 11.2.0, i am getting the below errors.
SQL> @$ORACLE_HOME/rdbms/admin/utlu112s.sql
Oracle Database 11.2 Post-Upgrade Status Tool 12-28-2011 23:26:45
Component Status Version HH:MM:SS
Oracle Server
. VALID 11.2.0.1.0 00:33:27
JServer JAVA Virtual Machine
. VALID 11.2.0.1.0 00:14:04
Oracle Real Application Clusters
. INVALID 11.2.0.1.0 00:00:01
OLAP Analytic Workspace
. VALID 11.2.0.1.0 00:00:40
OLAP Catalog
. VALID 11.2.0.1.0 00:02:00
Oracle OLAP API
. VALID 11.2.0.1.0 00:00:32
Oracle Label Security
. OPTION OFF 10.2.0.3.0 00:00:00
Oracle Enterprise Manager
. LOADING 00:00:00
Oracle XDK
. VALID 11.2.0.1.0 00:01:10
Oracle Text
. VALID 11.2.0.1.0 00:01:52
Oracle XML Database
. VALID 11.2.0.1.0 00:04:49
Oracle Database Java Packages
. VALID 11.2.0.1.0 00:00:28
Oracle Multimedia
. VALID 11.2.0.1.0 00:12:37
Spatial
. INVALID 11.2.0.1.0 00:09:51
Oracle Application Express
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-00942: table or view does not exist
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-00942: table or view does not exist
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-00942: table or view does not exist
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. ORA-01658: unable to create INITIAL extent for segment in tablespace HTMLDB
. INVALID 3.2.1.00.10 00:33:43
Gathering Statistics
. 00:44:43
Total Upgrade Time: 02:40:35
PL/SQL procedure successfully completed.
Please help me on this.
Thanks,Vinod Ranjan wrote:
Hi sb92075,
Thanks for quick update,
So is this related error is related to HTMLDB tablespace ?yes
>
Is this solution will workout?It depends upon actual size of new datafile added.
So do as directed & report the results.
What is current size of HTMLDB datafiles?
>
+ Use ALTER TABLESPACE ADD DATAFILE to add additional space to the+
+ tablespace or retry with a smaller value for INITIAL +
Thanks,
Edited by: Vinod Ranjan on 31 Dec, 2011 7:43 AM
Maybe you are looking for
-
How can I view all the videos available on the iTunes store?
I am trying to "select all" somehow that will let me see the whole library of videos available. From the main window I cant find a way to do this-just the 3 categories of "hot" "staff favs" etc. -todd
-
Quality of facetime camera is so bad
I got a new 27'' imac and I'm really diasappointed about the camera. apple announces it as "Get everyone in the picture with crisp, widescreen HD video. The built-in720p FaceTime HD camera lets you make video calls that are so clear, it seems like ev
-
Hello i have problem with set memory to 1866. Can u help me with it? This is my configuration: Samsung 500 GB SATA II 7200 RPM, 16 MB NCQ (HD502HJ) Good Ram GY1866D364L9/2G x2 Aerocool AEROPGSVP-450 SilentiumPC Pure Black BT-310 MSI A75MA-G55 AMD A
-
Want to see the inside of your Iphone?
https://gullfoss2.fcc.gov/prod/oet/forms/blobs/retrieve.cgi?attachmentid=766954&native_orpdf=pdf
-
Using WRT54G and WET11 with another router as the Gateway
I have a wired network in the house with access to the Internet through a router on the 2nd floor. I connect a ReplayTV DVR in the basement to the network with a Cat5 cable running across the floor between the DVR and a switch. I'd like to replace th