Problem in connecting to Oracle 8 database through Oracle 11g client ?
Database : Oracle 8
Client Machine :
Oracle 11g
Window7
Microsoft ODBC Driver for Oracle
Hi,
I am using Oracle 11g client to connect Oracle 8 database using Microsoft ODBC Driver for Oracle but I am getting error when after entered the password
Run-time error '40002':
IM006: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
I am using VB6 application on Windows 7 and I created DSN using Microsoft ODBC Driver for Oracle but I got the above error when I try to connect to Database.
Please help me out on this that why this error is coming
Thanks
Amit Panwar
Provided its a 32-bit application, possibly. Microsoft ODBC for Oracle is discontinued and has no 64-bit version, so a 64-bit application won't be able to use it at all.
I do see it listed as a 32-bit ODBC driver on my Windows 7. The problem is that I think it relies on having an Oracle client installed on the machine, and you've got the same problem of Oracle client 11 not working with 8 server. You could try it and see if it works I suppose, or try installing an older client and see if that makes it work.
If it's just for testing purposes though you could throw up an Oracle XE server and test against that.
Similar Messages
-
Java App connection to an Oracle Database through Oracle Stored Procedure
My team's access to its Databases (Oracle only) is restricted to access through Oracle Stored Procedures that are part of the Oracle Database. So, in my Java App I need to call the Stored Procedure that will give me the access to the table that I need, declare the right parameters and execute the command. The Stored Procedure will then hand me the data I need.
I am finding support on the web for creating Stored Procedures in Java, but that is not what I need.
Can anyone post here a class that addresses this, or point me to a link that will shed some light on it?
Thanks
user606303user606303 wrote:
Sorry this code is unformatted - I can't see how to format it.Use \ tags
I am looking for Java code that will do what this .NET code below does (connects to a database and writes data to the table through an Oracle stored procedure that is part of the Oracle Database.)
So learn Java, learn JDBC and translate the requirements; don't attempt to translate the code as the platforms are too different.
From a quick glance it looks like a JDBC CallableStatement can do the job. -
View pdf file stored in oracle database through oracle forms
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
I have created external directory and am able to load pdf files in oracle database table called test_blob.
CREATE TABLE test_blob (
id NUMBER(15)
, file_name VARCHAR2(1000)
, image BLOB
, timestamp DATE
I have 2 pdf files in the table. I want to view this pdf from forms when the user clicks on the button. On when-button-pressed trigger I want to show pdf on the screen. Any help is appreciated. Not on the designer. I want to run form application.
SELECT id, file_name,
DBMS_LOB.GETLENGTH(image) Length,
timestamp
FROM test_blob
ID|FILE_NAME|LENGTH|TIMESTAMP
1001|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:44:41 AM
1002|2011 HeartlandEmployeeReferralCard.pdf|353718|1/28/2013 11:51:07 AM
Edited by: user_anumoses on Jan 28, 2013 11:45 AMWe were able to do the same thing with Oracle Application Server and Oracle WebLogic Server. I cannot remember how different the processes were, but it seems like they were very similar. I am going to give you the instructions on how we implemented a "Read PDF" procedure on the WebLogic Server. If you are still on the Application Server you may have to do some Google searches, but it all boils down to the mod_plsql DAD Configuration file.
Our PDF was located in a table with the following structure:
CASE_DOCUMENTS
(id_document NUMBER NOT NULL,
doc_blob BLOB,
note VARCHAR2(240),
created_by VARCHAR2(20) NOT NULL,
created_dt DATE NOT NULL,
case_id NUMBER NOT NULL,
filename VARCHAR2(100) NOT NULL)Based on that table structure we created a procedure named READ_PDF which you will reference below in the dads.conf file below:
CREATE or REPLACE procedure read_pdf (p_id_document IN number)
is
view_file blob;
BEGIN
select doc_blob
into view_file
from case_documents
where id_document = p_id_document;
OWA_UTIL.MIME_HEADER ('APPLICATION/PDF', FALSE);
HTP.P ('CONTENT-LENGTH: ' || DBMS_LOB.GETLENGTH (view_file));
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (view_file);
END;
GRANT EXECUTE ON read_pdf TO financial_user_role -- Name of role to execute
/Basically, you are passing in one parameter and that is the primary key for your table. You are selecting the pdf stored in a BLOB for that primary key. The commands below that allow the pdf to open up so you can view it – we got this off some search we did a few years ago.
Now, you need to add logic to your Oracle Form that will call the procedure above, but the URL is based on the dads.conf file that we will set up below… Anyway, we created a button on the form module with a label of "View". In the WHEN-BUTTON-PRESSED trigger the logic looks like this:
-- The View logic uses the DAD (Database Access Descriptors) method to view a .pdf file from the form.
-- The DAD was created on WebLogic Server with the name findadgen. This allows an http request be made
-- to the database.
declare
v_file varchar2(400);
v_success boolean;
ret_val number;
v_http_link varchar2(400);
begin
-- The format of the link is as follows: hostname:port/pls/DAD_name/procedure_name
v_http_link := 'http://finas03:8888/pls/findadgen/read_pdf?p_id_document=' || :case_documents.id_document;
web.show_document(v_http_link, '_BLANK');
end;The name of our WebLogic Server is "finas03" so that is what is listed in the URL. The "findadgen" is the name of the <Location> in the dads.conf file below, the "read_pdf" is the name of the procedure we created above, the "p_id_document=" is the IN parameter listed in the READ_PDF procedure created above, and the ":case_documents.id_document" is the reference to the primary key in our Oracle Form.
For WebLogic, you can either go through Enterprise Manager (directions below) or update the dads.conf file on the filesystem directly (if you update the dads.conf file directly then skip to step 4 and ignore step 5):
1. Enterprise Manager -> Web Tier -> ohs1
2. Oracle HTTP Server (pull-down) – Administration – Advance Configuration
3. Select File – dads.conf
4. Add something similar:
# ============================================================================
# mod_plsql DAD Configuration File
# ============================================================================
# 1. Please refer to dads.README for a description of this file
# ============================================================================
# Note: This file should typically be included in your plsql.conf file with
# the "include" directive.
# Hint: You can look at some sample DADs in the dads.README file
# ============================================================================
<Location /pls/findadgen>
SetHandler pls_handler
Order allow,deny
Allow from All
AllowOverride None
PlsqlDatabaseUsername financial
PlsqlDatabasePassword sdo_3#d1
PlsqlDatabaseConnectString ffindbTNSFormat
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
PlsqlDefaultPage read_pdf
</Location>You are adding the <Location> section to your dads.conf file. The "finddadgen" is the name that you will reference in a change you fill make to your Oracle Form. The "financial" is the Schema, the "sdo_3#d1" is the password for that Schema, the "ffindb" is the database that the stored procedure is located on, and the "read_pdf" is a stored procedure you will have to create in order to read the pdf.
5. Press the "Apply" Button
6. Obfuscate the DAD password by running the dadTool.pl script located in $ORACLE_HOME/bin (This was done on Unix on our server with the following commands):
$> LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
$> cd $ORACLE_HOME/bin
$> perl dadTool.pl -f /u01/app/oracle/middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf
7. Restart the Oracle HTTP Server using Fusion Middleware Control:
Enterprise Manager -> Web Tier -> ohs1
Oracle HTTP Server – Control – Shutdown
Oracle HTTP Server – Control – Start Up
If you followed the instructions above, you should have created a stored procedure, added logic to your Oracle form to reference that stored procedure, and created an entry in the dads.conf file. Once you move the form onto the server and you restart the HTTP Service, you should be able to view a pdf that is stored in a table directly from your Oracle Form. -
How to connect Oracle database through Microsoft ODBC?
My ODBC Configuration:
DSN name is :db
Username : india
Server :db.world
Now, i am trying to connect with oracle database through SQL*plus or TOAD.
But, it is giving the following error.
ORA-03121: no interface driver connected - function not performed
Database version : 9.2.0.1.0
Operating System : Microsoft Windows XP
ODBC Version : 2.575.1117.00
I am trying to connect with the database like this:
Username : india
Password : india
Database : ODBC:db
Can i connect like this otherwise whether i need install any other supporting driver?Now, i am trying to connect with oracle database
through SQL*plus or TOAD.
But, it is giving the following error.
ORA-03121: no interface driver connected -
function not performed
I am trying to connect with the database like this:
Username : india
Password : india
Database : ODBC:db
As already stated, you can not use the DSN in SQL*Plus (nor TOAD, afaik)!
I can reproduce the error message with the following:
C:\>sqlplus a/b@ODBC:c
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Aug 4 21:34:58 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-03121: no interface driver connected - function not performedLooking up the message, it says:
Cause: A SQL*Net version 1 prefix was erroneously used in the connect string
Looks like this has nothing to do with your DSN - it is more a matter of not using a proper connection string.
If 'Test Connection' works then you should probably proceed to work with Crystal Reports, using the DSN in question.
However, you should note that the old MS ODBC driver for Oracle was designed for OCI 7 (and for databases 7.x-8.x) and is now considered obsolete by both MS and Oracle.
Deprecated MDAC components and MS KB Article 244661.
Use the Oracle ODBC driver included with a supported Client version instead.
Edit:
Clarifying and adding references.
Message was edited by:
orafad -
Connecting Oracle DataBase through WebDynpro
Hi,
I created a Dynamic table, now I should display the data from Oracle Database. I tried in many various ways to connect to database, but the data is not retrieving.
Can u explain the reasons and give necessary coding to retrieve the data.
Its very very urgent.Hi
I think you can do using the APIs provided by SAP.
Check this link
JDBC Reference
or
Try connectinc using lookup.
try{
InitialContext ctx=new InitialContext();
javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup("jdbc/SAPJ2EDB");
java.sql.Connection con=ds.getConnection();
java.sql.Statement stmt=con.createStatement();
con.close();
catch(Exception e)
wdComponentAPI.getMessageManager().reportException("Exception "+e,true);
Check this thread moreuseful.
WebDynpro and Oracle Connection
Please Check these threads
Re: I need a j2ee code for getting data from oracle database
Re: oracle connection
Re: problem with displaying records from the database in a table ui element
See this sample application and help
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
I hope these links will help u resolve your problem.
All The Best
Priyanka
Do Reward Points -
Connect Problems with Oracle Database Express Edition 11g Release 2
Hello,
I am a student trying to install Oracle Database Express Edition 11g Release 2 and SQL Developer on my home system, Win7 64Bit, in order to practice some things I've learned from me DBA class and Developer classes.
Anyway, I have everything installed, but I am having difficulty connecting as SYS or SYSDBA in the 'Run SQL Command Line', I keep getting the ORA-01017: invalid username/password: logon denied.
However, If i select the 'Start Database' I get this:
C:\oraclexe\app\oracle\product\11.2.0\server\bin>
and I can type sqlplus / as sysdba and it starts up just fine and show user lists me as "SYS".
but if I go back to 'Run SQL Command Line' I still cannot connect as SYS or SYSDBA...I find this both confusing and frustrating. I don't know if I am in different instances or something like that, but I seem to be limited to connecting only as "SYSTEM". I need SYS because I want to practice creating datafiles, instances and things like that, but I seem to be lost.
Also, I am trying to create a new DB connection with SQL Developer and I can only us SYSTEM for my login which, if I understand correctly, will limit my privileges. Again When I try to sign in with SYS or SYSDBA I get error'd out. When I installed Ora11gDBExpress I was prompted in input a single password that was supposed to grant me access as SYS or SYSTEM, but I am limited to only SYSTEM for some reason.
So, I am looking for help/guidance as to what to do.
Thanks in advance for any and all help,
WarrenGeneral rule of thumb, don't use sysdba unless you want to shut down the database, or grant a database user privileges on a sys object.
A SYSTEM connection is not "limiting", it has the DBA role which means a user with a system connection can do most anything needed, including select/update/delete/drop any user's objects as well as change parameters in the instance.
The system user can indeed add datafiles, tablespaces, etc. The instance and database should already be created as long as the installer completed all its chores correctly. For XE, per the license agreement only one instance can run on one host. If you want to try creating a database, it will require shutting down the XE instance and creating a new database service, creating the database, and installing the system catalog and any other optional components desired. Good practice indeed, but a bit advanced for the new user.
Do create users for schemas ... connect system; create user <username> identified by <password> and connect <username> for the schemas (a collection of objects) within the database. Grant the resource and create session privilege to <username> to allow the database user the ability to create tables, indexes, stored procedures, etc.
There is no "or" in a sys as sysdba connection, from 10g onwards a sys connection requires using the sysdba privilege. To enable a sysdba connection, add your host user to the ORA_DBA group on the host. To verify the OS users in the ORA_DBA group, this might work for win7, in a cmd box ...
$ net localgroup ora_dba
...If your OS user is in the ora_dba group the sys as sysdba password is not relevant, you can in fact type anything for a password. If you wish to connect with the sysdba privilege from a remote client, that is a bit different and requires knowing the password set in the instance password file. Which should be set the same as the system password defined in the installer, but you can change that by creating a new password file. Another slightly advanced topic.
In Windows IMHO its better to leave the listener and database set to Manual start (in the services applet, Start/Run/services.msc) and start the listener, then the database, when its needed. At least for an XE instance, as its intended for practice and learning RDBMS management.
Edited by: clcarter on Mar 2, 2012 6:19 PM
fix typos -
Connection setup from MSSQL through Oracle 11.2g
Hi folks,
I would like to query some data from MS SQL database through Oracle. In other forum I was pointed to Heterogenous Services, but unfortunatelly I'm having a problem with an initial set up.
Documentation I check:
http://docs.oracle.com/cd/E11882_01/server.112/e11050/admin.htm
http://docs.oracle.com/cd/B19306_01/server.102/b14232/admin.htm
Here is my scenario:
On the same server we are running Oracle database (11g release 11.2) and MS SQL (Microsoft SQL Server Express Edition (64-bit)).
Oracle database:
tnsnames.ora
# tnsnames.ora Network Configuration File: C:\Oracle\product\11.2.0\dbhome_dev\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV)
HELIOS =
(DESCRIPTION=
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = HELIOSDB)
(HS = OK)
listener.ora
# listener.ora Network Configuration File: C:\Oracle\product\11.2.0\dbhome_dev\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
ADR_BASE_LISTENER = C:\Oracle
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=HELIOSDB)
(ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_dev)
(PROGRAM=dg4odbc)
)I'm not sure whether a listener part is configured correctly.
Also, what next should be done?
Where is defined a connection to MS SQL database?
Please guide me with this initial configuration if possible.
Kind regards,
TomasOne more thing, as I made some modifications and maybe I skrewed it up :(
I've added 2 more SQL databases, so I modified my files as follows:
# tnsnames.ora Network Configuration File: C:\Oracle\product\11.2.0\dbhome_dev\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV)
HELIOS =
(DESCRIPTION=
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = HELIOSDB)
(HS = OK)
HELIOSSRO =
(DESCRIPTION=
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = HELIOSSRO)
(HS = OK)
HELIOSFO =
(DESCRIPTION=
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = HELIOSFO)
(HS = OK)
) listener
# listener.ora Network Configuration File: C:\Oracle\product\11.2.0\dbhome_dev\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = SERVER.AGT.local)(PORT = 1521))
ADR_BASE_LISTENER = C:\Oracle
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=HELIOSDB)
(ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_dev)
(PROGRAM=dg4odbc)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=HELIOSSRO)
(ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_dev)
(PROGRAM=dg4odbc)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=HELIOSFO)
(ORACLE_HOME=C:\Oracle\product\11.2.0\dbhome_dev)
(PROGRAM=dg4odbc)
) created 2 init files initHELIOSSRO.ora and initHELIOSFO.ora
Configured ODBC for each database, like in previous example
Created 2 db links:
CREATE PUBLIC DATABASE LINK heliossro CONNECT TO "usersro" IDENTIFIED BY "sropwd" USING 'HELIOSSRO';
CREATE PUBLIC DATABASE LINK heliosfo CONNECT TO "userfo" IDENTIFIED BY "fopwd" USING 'HELIOSFO';but when I run query ORA-28545 occures
SQL> select * from dual@HELIOSDB;
select * from dual@HELIOSDB
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from HELIOSDB
SQL> select * from dual@HELIOSSRO;
select * from dual@HELIOSSRO
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from HELIOSSRO -
Oracle Database 10.2 and Client 10.2 installation problem
Hi Everybody,
I am trying to install Oracle Databse 10.2g and Oracle Client 10.2 on the same server(windows 2003). I have few queries :
- Can we install both on Same Server
- Shall be install in the same directory or each in differenct directory
- Does each oracle database and oracle client has it's on oracle/home path
I installed the Oracle database and check it was working fine, I have also login through "sqlplus "/as sysdba". It was ok, all the oracle services were running perfectly. But when I installed the oracle client on the same server then all the oracle services were stopped and even when I tried to restarted manualy then got error, local user cannot start the service. Aslo not able to login thrugh sqlplus.
Could you please give your expert views.
Thanks in advance.
HarishYou can have as many Oracle Homes as your require, but you should be aware that each new Oracle Home modifies PATH environment variable, so the database could have been working fine until the client was installed, which has modified the reference to the database home.
You could modify it back from the server advanced properties at the windows control panel.
~ Madrid -
Connecting MS-Access database with Oracle Forms
Hai,
Can any one suggest as to how I can connect MS-Access database
with Oracle Developer Forms. What is the procedure ? Suggest me
if I need to install any drivers. Waiting for an early reply.
Warm Regards,
Raghav.
email:[email protected]Not possible as far as I know.
Probably because ODBC itself (the defined interface) doesn't support it.
There is a commercial MS Access (java only) driver that might support it. -
How to create an Oracle DATABASE through Java Programming Language.. ?
How to create an Oracle DATABASE through Java Programming Language.. ?
Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
So a certain amount of manual installation will always be required.
Typically you would supply the SQL scripts, and a detailled installation document too.
regards,
Owen -
I want to connect Visual foxpro database through forms6i.
Hi ,
I want to connect Visual foxpro database through forms6i.
actually i want to access Visual foxpro database in forms6i and retrive and update data from forms6i.
please help me urgently how can i do this in forms6i.
Thanks,
Md.Muniruzzaman Khan
Email : [email protected]do the following steps for hetrogenous service
Step 1
Create ODBC named Access1.
Step 2
Go to urs inithsodbc.ora file which reside at
ORACLE_HOME\hs\admin\inithsodbc.ora
and overrite by
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = Access1
HS_FDS_TRACE_LEVEL = off
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Step 3
Add the following entry to the tnsnames.ora file:
ACCESS1.WORLD =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=ACCESS1))
(HS=OK)
Step 4
Add the following entry into the listener.ora file:
(SID_DESC=
(SID_NAME=ACCESS1)
(ORACLE_HOME=D:\Oracle)
---Define urs oracle home path in mine case it is at D:\Oracle--
(PROGRAM=hsodbc)
Step 5
Reload the listener from contol panel services yours listener service
Step 6
Create a database link using:
CREATE DATABASE LINK access1.world CONNECT TO "MyUser" IDENTIFIED BY "MyPassword" USING 'ACCESS1.WORLD';
Step 7
Connect to scott/tiger
Query the table using:
SELECT *
FROM [email protected];
Step 8
Same you can connect to urs forms and write above sql in cursor
Acknowledge me.
Khurram Siddiqui -
Unable to connect to the database through OEM
Hi,
ORACLE VERSION: 10.2.0.1.0
OPERATING SYSTEM:LINUX
I was unable to connect to my database through OEM.It is showing error like this in my OEM .
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
The below is the list of errors written in the trace file .
2009-07-13 14:55:18,351 [EMUI_14_55_18_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2009-07-13 14:55:20,893 [HttpRequestHandler-25640626] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,925 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,926 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:20,959 [HttpRequestHandler-23946437] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,990 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:20,991 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:42,047 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,030 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,062 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,063 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:55:51,096 [HttpRequestHandler-28346522] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:56:21,162 [HttpRequestHandler-32110028] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,193 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,194 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
2009-07-13 14:56:21,227 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,258 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
2009-07-13 14:56:21,259 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
Don't say password is correct, if password is correct then tell us what last changes you did. did you change SYSMAN password throught alter user ...identified ... ?
Regards,
Taj -
Can i connect to the database through the internet
hi all
i installed a database oracle 8i enterprise edition on a pc that exists in a town far from me . i wonder can i connect to this database through the internet from my house
please i need a answer
thanks in advanceYou can connect from an Oracle client to any Oracle database in the world that meets certain requirements.
First you need an open network connection between the two points so either no firewall exists between the two stations or the firewall(s) have been configured to allow Oranet traffic. This means both databases must have access to the Internet and certain ports are open.
Second you will need the IP address and port for the remote listener, which in turn must be up and running on the target server.
Then you must have the Service Name or SID and a valid username/password combination for the target database. Plus the username must have create session privilege.
That should be about it.
HTH -- Mark D Powell -- -
Oracle Database Express Edition 11g Database home Page is not Displaying
As I am Java Developer and wanted to do JDBC connection for Java.....
So I Have Installed Oracle Database Express Edition 11g......
But the home page on url...http://127.0.0.1:8080/apex/f?p=4950
is Not Working.....
I am Using Windows Xp....SP 3.....
Help Me for this....
Thanks & In Advance.....
Jugal Thakkar972423 wrote:
As I am Java Developer and wanted to do JDBC connection for Java.....For Java, JDBC and JDeveloper related discussions, you'll find plenty of forums:
https://forums.oracle.com/forums/category.jspa?categoryID=285
https://forums.oracle.com/forums/category.jspa?categoryID=500
So I Have Installed Oracle Database Express Edition 11g......
But the home page on url...http://127.0.0.1:8080/apex/f?p=4950
is Not Working.....Just installed? Never worked before? Unreachable 'Get Started' page usually indicates that install was not completely successful, database creation failed because of OS misconfiguration.
Before even trying that url you should see a endpoint with port 8080 in Endpoints summary from lsnrctl stat command.
Use search and have a look through previous threads for this FAQ.
E.g. https://forums.oracle.com/forums/search.jspa?threadID=&q=%2Bpage+%2B4950&objID=f251&dateRange=thisyear&userID=&numResults=15&rankBy=10001 -
Hi,
I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
Thank you.In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server. Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation. We also have a doc on the different mobile clients. Chap 2 of that guide covers installs and integration of an android app.
thanks
mike -
Installing Oracle Database Express Edition 11g on UBUNTU
Hello everyone,
I want to install Oracle Database Express Edition 11g on UBUNTU. I followed the steps from this link created by Dude:
https://forums.oracle.com/thread/2303639?start=0&tstart=0
My problem becomes when I type in from the terminal:
sudo /etc/init.d/oracle-xe configure
I followed the instructions there, agreeing t HTTP port 8080, port database listener 1521, specifying a password for my database account, and wanting Oracle Express to be started on boot. This is what I'm getting:
Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directory
Done
Configuring database...
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
I have no idea what this means, so I went into the log's location and I found 4 of them, so I clicked on each of them, and this is what I'm getting:
1. cloneDBCreation.log:
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
ORA-00845: MEMORY_TARGET not supported on this system
Create controlfile reuse set database "XE"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter system enable restricted session
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database "XE" open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database rename global_name to "XE"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter system switch logfile
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter system checkpoint
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
2. CloneRmanRestore.log
ORA-00845: MEMORY_TARGET not supported on this system
select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
declare
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
3. postDBCreation.log
begin
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
File created.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
ORA-00845: MEMORY_TARGET not supported on this system
select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
BEGIN utl_recomp.recomp_serial(); END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
4. postScripts.log
CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/u01/app/oracle/product/11.2.0/xe/lib/libqsmashr.so';
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
BEGIN dbms_datapump_utl.replace_default_dir; END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
commit
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
create or replace directory XMLDIR as '/u01/app/oracle/product/11.2.0/xe/rdbms/xml'
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
DROP DIRECTORY ORACLE_OCM_CONFIG_DIR
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
DROP DIRECTORY ADMIN_DIR
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
DROP DIRECTORY WORK_DIR
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
commit
Can somebody that knows this, or has installed Oracle Express on Ubuntu, to please explain it to me what does it mean and why am I getting those errors. Please explain thoroughly as if I am an amateur person, IN DETAIL, STEP-BY-STEP. I want to run it and make it work! I heard that it encourages people to answer for points. I am open for your suggestions and experiences, as long as it's not 'use common sense', 'you're dumb', or an answer that is vaguely explained. Thank you for those that take the time to read it.
ec557fac-f825-4356-a220-1ec941ce7cd0Hi Pradeepcmst,
Thanks for your suggestion, but I found it sometimes misunderstanding on what he's trying to say - his instructions are not step-by-step and precise. Instead, I found this link that helped me a lot:
Installing Oracle 11gXE on Mint and Ubuntu | The Anti-Kyte
Maybe you are looking for
-
Using URL's to Display a picture in Crystal 10
Post Author: Fred Parker CA Forum: General I want to display a photo of an employee above some information about the employee on a Crystal Report. The firm stores the photos in a folder on the firm's website. We can get the URL for each person's phot
-
I have a situation where I need to monitor several dozen TCPIP connections for activity. I'm wondering if it is possible to, in effect, use the socket select function within Labview (I don't see this function directly available) to avoid polling all
-
On comcast and will not let me into e mail circle keep downloading
I downloaded firefox 6.0 after my old version crashed. but I do get all my bookmarks etc. and when I try to go to my e mail it just keep going around and never comes in. can you help? thanks Sid...
-
SOA AIA 2.5 (Siebel CRM and EBS R12 PIPs) Help
Hi Experts, I am looking for some expert to teach me the SOA and AIA (Siebel CRM PIPs) Adminstration part online. I will pay for your time and effort. Please send me email at [email protected] Thanks
-
HT1222 How can i get the 7.0 back instead of the 7.0.2
I dont like the 7.0.2 update. I would like to get the 7.0 back... Can I change it back????