Problem about using Oracle Form 6i to connect Oracle Database 10g express.
Sorry to interrupt all of you.
I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
As I would like to
I use Oracle Net8 Easy Config to create a connection.
According to "tnsnames.ora", the paramater of connection is as follows;
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA = (SID = XE))
Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
Connecting....
The test did not succeed.
ORA-03106: fatal two-task communication protocol error
There may be an error in the fields entered
or the server may not be ready for a connection.
You can check the server and retry, or continue.
After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
Thanks for your assistance in advance.
I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
XE=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=<<servername or IP address>>)
(PORT=1521)
(CONNECT_DATA=
(SERVER=dedicated)
(SERVICE_NAME=XE)
)Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Similar Messages
-
Unable to connect to database 10G express edition
With forms 6i I am unale to connect to oracle database 10G express edition
any known reason or remedy?the answer is here:
Forms 6i X 10g Database (the solution is here)
ALTER DATABASE CHARACTER SET INTERNAL_USE UTF8; -
Forms 6 not connecting with Database 10g
I can not connect Oracle forms 6 with database 10g
795192 wrote:
I can connect to sql plus but i cannot connect my forms 6 with database 10g. getting the following error:
ORA-12154: TNS: could not resolve service name=================================
ORA-12154: TNS:could not resolve the connect identifier specified
This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
===================================== -
Unable to connect to the 10g Express edition database in oracle forms
hi,
i have installed Oracle Database 10g Express Edition and oracle 10g developer suite. i need to work on oracle forms by connecting to the database of the 10g express edition but unable to do so as i am not aware of the database name or SID.
can any one tell me how to connect to the above database in oracle forms by specifying username, password and database name ?
Thanks,
Vidduspecifying username, passwordSet up your database user, easy way is to grant them the resource role (*strongly* suggest not using sys nor system for user data) here's one command line sqlplus method:
$ sqlplus /nolog
SQL> connect system -- or connect /as sysdba; if system credential is lost/forgotten
SQL> create user username identified by userpasswd default tablespace <tablespace> temporary tablespace <temp tablespace>;
SQL> grant connect, resource to username;
SQL> exit;
> the database name or SID
Its XE "out of the box", with a servicename is XE as well, using the default port 1521 on the host. The install should also set up a tns alias named, oddly enough, XE, with those connection details from the install. It comes with a USERS data tablespace, and TEMP temporary tablespace.
So after the user is created, i.e. with sqlplus:
SQL> connect username/passwd
or if your session is not on the host where the database is running, with a tns alias pointing to the XE install host in place:
SQL> connect username/passwd@xe
From a different client machine you will need a tnsnames.ora entry defining an alias, it could be any name you would prefer to use as long as the entry points the the database host and port with the correct ORACLE_SID or the database service name.
And don't forget to glance over the documentation, it is thorough and helpful as well http://www.oracle.com/pls/xe102/homepage -
Connecting form 6i to oracle database 10G express edition
I am unable to connect forms 6i to oracle database 10G express edition.
form builder closes without any message.Hi, i was try that solution, but have some problem.
1) I have stopped other database (Oracle 8i, OracleService + Listener), none Oracle service was running.
2) I was install Oracle XE Univ.
3) Run sqlplus from XE
"D:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus system/PASSWORD@xe as sysdba"
4) Shutdown immediate - OK
5) Startup mount - failed
SQL> startup mount
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
6) I was check registry "hkey_local_machine\software\oracle" and delete key "local" (walue was set to connection to 8i database).
7) I was checking status of Listener from XE (after shutdown).
"Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jacek)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully"
Have anyone suggestion how to connect "directly" to XE (without @CONNECTION string) ?
If source of problem can be having DB 8i installed on same machine ?
BBye. -
Connect Oracle Form Builder 10g to Oracle Database 10g Express
Hi,
I'm new to Oracle.
I've installed both form builder and database 10g express.
I tried to connect form builder to HR sample database in 10g express with the following:
user name: hr
password: hr
database: hr
but I received message: ora-12154: tns could not resolve the connect identifier specified.
Can anyone help me on that? Do I need to change the tnsnames.ora?
If yes, what should I need to change in order to connect to the HR sample?
Thank you.Yes you need to have an entry in the tnsnames.ora file for you database service name or sid. The service name or sid is usually XE unless you changed it when you installed 10g express.
-
Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition
G'Day Apex gurus,
I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
I went to the steps:
@apexins SYSAUX SYSAUX TEMP /i/
Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
@apxchpwd
with not problems
Then I connected to SQL*Plus as SYS by:
sqlplus /nolog
CONNECT SYS as SYSDBA
Enter password: xxxxxxxxxxx
but when I tried to run:
@APEX_HOME/apex/apxldimg.sql APEX_HOME
where APEX_HOME is Apex3.2.1 in my case
SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
PL/SQL procedure successfully completed.
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
Directory created.
declare
*+
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.17
Directory dropped.
Can anyone help me in how to trouble shout this?
I tried to continue by following the steps document
@APEX_HOME/apex/apxxepwd.sql password
(where password is the password of the Application Express internal ADMIN account)
but when I tried to login in:
http://localhost:8080/apex/f?p=4550:1
when I type the credentials
system
system
systempassword
nothing happens
or even If I try:
http://localhost:8080/apex/f?p=4550:10
admin
adminpassword
nothing happens here too.
I appreciate any help
Kind regards
CarlosMy database version is 10.2.0.1.0 Oracle express.
Operating system is Windows Vista.
I started installing using the following commands.
@ C:\temp\apex\apexins.sql
it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
If I supply the value for images the sqlplus window closes after scrolling a lot of info.
Enroute it also prompts me for a value for 9:
I don't know what the input shall be.
Then it again stops at enter value for version:
I used 3.2.1.0
The window scrols a while and closes.
later I changed the password and ran the command.
@c:\temp\apex\apxldimg.sql c:\temp
but no success with installation.
the output is as following.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect system/sairam as sysdba;
Connected.
SQL> @ c:\temp\apex\apxchpwd
Enter a value below for the password for the Application Express ADMIN user.
Enter a password for the ADMIN user []
Session altered.
...changing password for ADMIN
wwv_flow_security.g_security_group_id := 10;
ERROR at line 3:
ORA-06550: line 3, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
ORA-06550: line 4, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
ORA-06550: line 4, column 5:
PL/SQL: Statement ignored
ORA-06550: line 5, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 5, column 5:
PL/SQL: Statement ignored
ORA-06550: line 8, column 23:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 7, column 15:
PL/SQL: SQL Statement ignored
ORA-06550: line 13, column 32:
PLS-00364: loop index variable 'C1' use is invalid
ORA-06550: line 12, column 9:
PL/SQL: Statement ignored
ORA-06550: line 19, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 19, column 5:
PL/SQL: Statement ignored
Commit complete.
SQL> @c:\temp\apex\apxldimg.sql c:\temp
PL/SQL procedure successfully completed.
Directory created.
if wwv_flow_utilities.db_version_is_at_least('11') then
ERROR at line 32:
ORA-06550: line 32, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 32, column 3:
PL/SQL: Statement ignored
PL/SQL procedure successfully completed.
if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
ERROR at line 16:
ORA-06550: line 16, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 16, column 3:
PL/SQL: Statement ignored
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.32
Directory dropped.
SQL>
Does this require XE 11 or anything else.
This will happen even if I supply as following(closing of sqlplus in the begining).
@ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
Any help. -
Hello Friends
I have Installed Oracle Database 10g Express Edition in "Ubuntu Linux" but i have Following Problems:
1.) After i installed Oracle Database 10g Express Edition i gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Run SQL Command Line"
SQL Window has been opened there i have typed "SELECT * FROM tab;" here i got Warning Messg of
"SP2-0640: Not connected"
2.) From There i have Again gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Start Database"
i got Warning Messg of "Operation Failed. venu is not a Member of DBA Group"
3.) Finally i want Solution For "How to get Connected in "Oracle Database 10g Express Edition"
Please Post the Answer As Soon As Possible ...
From Venu(INDIA)Was the oracle-xe configure completed successfully?
Are the pmon and listener processes running ... set your environment and connect via sqlplus if so. If no processes, the instance needs a startup.
$ ps -ef |egrep pmon
oracle ... ora_pmon_XE
$ ps -ef |egrep lsnr # can also check the listener status, see below
oracle ... /usr/.../tnslsnr ...
$ lsnrctl status
Endpoints Summary ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname>)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=http) ... (PORT=8080)))
...In the ORACLE_HOME/bin directory there is a shell script you can source to set up your environment variables for connecting to the database. The full path to the .sh should be revealed by the tnslsnr process, /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
$ /usr/.../oracle_env.sh
$ sqlplus /nolog
SQL> connect system
Password: ...
Connected.
SQL> select status from v$instance;
STATUS
OPENThe oracle user created by the configure won't have a known password set. Set it and switch user to the oracle login. If you don't want to muck about with the oracle user, at least add your user to the dba group so that you can connect with the sysdba privilege when needed.
Edited by: clcarter on Feb 22, 2011 7:06 AM -
Problems with Oracle Database 10g Express Edition and JBoss
Hi all,
I try to use Oracle Database 10g Express Edition and JBoss, but sometimes i have a connection problems.
Sometimes i have starnge warning:
WARN [JBossManagedConnectionPool] Unable to fill pool
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
and:
org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
Oracle Database 10g Express Edition support Distributed Transaction Processing (DTP) XA interface or not?
Some ideas?
Thanks in advance!
StoyanHi,
yes, it will work, but only with the Western European Edition, not the Unicode release.
See this thread for details:
Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
Regards,
~Dietmar. -
Problem connecting developer 6i with database 10g express edition
i have installed developer 6i on windows xp
then installed database 10g express edition in different folders
i am able to connect to the database 10g from the sql command line
but i cannot connect from the form builder in 6i
as soon as i try to connect the form builder shuts down
i have copied tnsnames.ora from the 10g to the 6i and it doesn't connect
does anyone know why this is happening ?
please help me solve this issue ???then installed database 10g express edition in different foldersWhich version ? Universal or Western European ?
Universal version uses AL32UTF8 character set and Forms 6i does not work with it. -
How to Connect Oracle Database 10g Express Edition ?
From example
http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
using Oracle.DataAccess.Types;
string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
OracleConnection conn = new OracleConnection(oradb); // C#
conn.Open(); <== Connect Error
Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
I used
Visual Studio 2005
Oracle Database 10g Express Edition
setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
Best Regards,
Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.I search "tnsnames.ora" in my computer. I found 3 file
1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
How to entry in your tnsnames.ora file File1, File2, File3
How to called "ORCL"?
Please Help Me Step by Step
Thank You.
: ) -
Registering oracle forms and reports in oracle apps 11i
Hi all
I am a newbie to oracle apps
could someone please help me with registering oracle forms and reports in oracle apps 11i
thanking in advance
regards
oracle userHi,
regarding adding (Add (C:\ABC) to FORMS60_PATH in the registry) could you please explain
compilation is by f60gen @ (is this right?)Correct, the syntax of using f60gen is explained in (Note: 130686.1 - How to Generate Form, Library and Menu for Oracle Applications).
The place where i am working has apps installed in IBM AIX server .. so how do i access Apps
or can i access Apps via TOAD.You will have to access the server using ftp to download the pll files to your local machine. TOAD can be used to access the database objects only (not the physical application files).
Regards,
Hussein -
Oracle Database 10g Express Edition and Forms 6i
Hello
Is it possible to combine those two in an application? I mean...can i make an application in Forms&Reports 6i with Oracle Database 10g Express Edition?
Sorry if that sounded silly but i didnt found a phrase on this subject on Oracle's forums
Thanks,
OanaHi,
yes, it will work, but only with the Western European Edition, not the Unicode release.
See this thread for details:
Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
Regards,
~Dietmar. -
Download problems Oracle Database 10g Express Edition
Completed download.
Attempted to start application but cannot find the server.
Removed the software using add/remove programs.
Attempted to reinstall but it seems that some applications are still on my system.
Attempted to remove the application but the add/remove program does not recognized the application
What can I do.Hello,
I need to install "Oracle database 10g Express Edition" with different database name example dev but it is taking
default name that is XE and there is no option come during installation where i can put the name of database as per my desire.First, note that you can't install more than one instance of XE per server. Changing the instance name won't help you with that.
As you've already found out, the installer always creates a database instance with default names. That's part of the "Express" concept: As little configuration as necessary to get a Oracle Database installed with just a few clicks. The second advantage is, that you can also simplify the documentation, as you can forget about several aspects when you don't have to configure them...
Since you don't have tools like dbca in XE, your only option would be to rename the database once it's created. There are a few threads on that topic in this forum, e. g. {thread:id=403056}.
But before you start working on that, could you explain why exactly you have to use a different database/instance name?
And also explain why we use "Oracle database 10g Express Edition" instead of Oracle database 10g. what is the meaning of Express Edition.Why and how should we answer why you picked a certain edition? The most likely cause is license costs: XE is available for free, all others are just free as long as you use the OTN license...
For an overview, there is a [url http://www.oracle.com/us/products/database/enterprise-edition/comparisons/index.html]Comparison Matrix for Oracle Database Editions.
I'd furthermore ask why you still use 10g XE instead of the current 11g XE?
-Udo -
Oracle database 10g express edition-database home page problem.
I've installed Oracle database 10g express edition.
When I try to launch to the database home page,a login pops up saying "connecting to 127.0.0.1" expecting an user and password.
I tried my system and sys login,but both were unsuccessful.
Could someone help me please.?
Thanks,
BhagatFeel free to join us in the XE forum at Oracle Database Express Edition (XE)
If you're not registered there, do so using http://www.oracle.com/technology/xe/registration
Also feel free to use the documentation at http://www.oracle.com/pls/xe102/homepage, specifically the "Getting Started Guide"
You need to log in using SYSTEM and the password you supplied during install.
Maybe you are looking for
-
Hi I have installed coheI have installed coherence server "fmw_12.1.3.0.0_coherence_Disk1_1of1.zip" along with Examples on windows machine and C++ client coherence-cpp-12.1.3.0.0b51709-windows-x86-vs2012.zip on the same machine. I have built the "con
-
I am trying to sync my new iPad with iTunes on my iMac but when I attach the iPad to the computer via USB it still doesn;t show up as a device in iTunes. What am I doing wrong? I have checked all the tech specs and all seem ok. I bought the iPad in t
-
I want to change the infotype 0002 field position(first name & lasname)
Dear Freinds, I have requirement where i have to change the positions of the first name and last name , as pe standard we will see is the lastname under that field we will se the first name . As per the user he wanted first name and then
-
I would like to know how to go about configuring the SAP journal entry approval process and the business scenarii in which it makes sense to use this functionality. If you could explain a business scenario for which you have used this functionality,
-
Hi Guru's, i am planning to take certification and need Certification test papers ... where can i get it ? is there a site available... also can SAP Marketplace help me in this hr_user