Oracle Connectivity to progress Database
Hi,
We have to make a direct connection between Oracle and Progress database on unix machines?
Does anybody know how the connectivity can be configured/set up using ODBC drivers.
Thanks in advance,
null
Yes you can use the free oracle database feature called Generic Connectivity. It is available on Solaris, NT, AIX, HP and Linux.
You will need to obtain an ODBC driver for Progress and install it on the machine where the Oracle database is installed.
For more info refer to Chap 7 (http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10764/gencon.htm#1005900) of the Heterogeneous Connectivity Administrator's Guide
Similar Messages
-
JDBC connectivity with Progress database from Linux OS
Can somebody help with the configurations to be done for connecting to Progress database through JDBC in Linux OS.Below is the environment details and the other files added.
OS : Linux
Java version "1.6.0_45"
Driver jars used : progress.jar,progress_jdbc.jar,progress_messages.jar
libJdbcProgress.so, libprosqljava.so, libprocli92.so file in LINUX environment
Database : Progress 9.1D
I couldn't get a successful connection to database by doing this and getting exception
Exception: No suitable driver found for jdbc:jdbcProgress:T:sun3899:28409:DISP at java.sql.DriverManager.getConnection(DriverManager.java:602) at java.sql.DriverManager.getConnection(DriverManager.java:185) at SQLService.main(SQLService.java:21)
Note: I could connect successfuly to this database from Windows and Solaris OS.1. WHAT you are doing
2. HOW you are doing it
3. WHAT results you get
4. WHAT results you expect to get
WHAT &HOW : I am trying to run a Java code in Linux OS that connects to the Progress database and do a DML statement while it works perfectly when run in Windows and Solaris OS.
Class.forName("com.progress.sql.jdbc.JdbcProgressDriver");
conn = DriverManager.getConnection("jdbc:jdbcProgress:T:sun3899:28409:DISP","USER","PASS");
THE RESULT I GET: is what I have specified before:
No suitable driver found for jdbc:jdbcProgress:T:sun3899:28409:DISP
at java.sql.DriverManager.getConnection(DriverManager.java:602)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at SQLService.main(SQLService.java:21)
EXPECTED RESULT: is it should connect to the database successfully -
HS connectivity to Progress database
Hi,
Is there any way to establish connectivity between Oracle and Progress database, other than PEERDIRECT (Progress tool)?
Thanks,
KumarYes you can use the free oracle database feature called Generic Connectivity. It is available on Solaris, NT, AIX, HP and Linux.
You will need to obtain an ODBC driver for Progress and install it on the machine where the Oracle database is installed.
For more info refer to Chap 7 (http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10764/gencon.htm#1005900) of the Heterogeneous Connectivity Administrator's Guide -
Connecting to Progress database remotely
We are hosting an online membership application that must tie
in to a client's database. The database is called Progress. Does
anybody have experience hooking up to this? I'm using CF7. It seems
I could set up an ODBC datasource on my windows server, but none of
the standard driver types seem correct. Is there one I should use,
or do I need to get one specific to Progress? Will I then be able
to enter an IP address and port number and connect across the
internet? Any suggestions? Or can I do it through SQLserver? Can my
SQLserver contact their Progress and get the info that way? The web
app will use our database, but then needs to contact theirs so that
they stay up to date.Have you checked out the Merant 3.6 ODBC Driver? I am in the
process of getting some info on this so i can use progress and php,
so i can't help you much. Hopefully this will help though, or
anyone with info or links that may help me with php and progress
please send info my way also,
Cheers -
Oracle or progress database?
Is there someone who can give me some objective comments why i should take oracle instead of progress Database?
many thanks
Frank<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kkirk:
Oh my, Progress is still around?
What a religious question, you might have well asked why not use Informix or Interbase. grin.
Powers that Be's call - just point out Progress revenues declined by 30%+ last quarter.. that they are less than 3% of the size of Oracle.
Sure they may be cheaper... remember you usually get exactly what you pay for. ( caveat - I haven't looked at Progress in over 6 years )
Do you want to drive a Yugo, a Ford, or a Mercedes? Which one will have less problems? Which one will still be around in 20 years?
Haven't seen many Yugo's lately.
Cheers and Good Luck<HR></BLOCKQUOTE>
null -
Problems by connecting to a progress database with MII
Hello Forum!
I'm using MII V 12.1.4. I am trying to create a connection to a progress database V9.1E.
I have uploaded and deployed the jar-file containing the jdbc driver. After activating the new connection the status of it is on error. In the log viewer of MII are this entries:
- Warning: Unable to fill connection pool for jdbc:jdbcprogress:T:mefass:9920:fcheck
- Warning: Unable to detemermine maximum number of connections from JDBC driver
- Warning: Unable to fill connection pool for jdbc:jdbcprogress:T:mefass:9920:fcheck
- Warning: Created Connection pool [jdbc:jdbcprogress:T:mefass:9920:fcheck]:
- Error: Unable to get a connection from the pool
- Error: Unable to get a connection from the pool
[EXCEPTION]
java.lang.NullPointerException: while trying to invoke the method java.sql.Connection.createStatement() of an object loaded from local variable 'conn' ...
I am sure that the settings of the connection aren't false because I have checked them many times.
Does anyone has an idea what can cause this error messages? Has anyone allready tried to connect to a progress database?
Thanks for your help!
Frank<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Badea Dragos Codrut ([email protected]):
Hello to everyone
I must access a Progress Database from an Oracle Database, but I dont want to use some extra files (like .txt or something like that).
I found to solutions:
- to make some changes using Heterogeneous Services agents;
- to use ODBC its seems to me to strange.
Do you have any recommendations?
Somebody have an alternative idea?
all best<HR></BLOCKQUOTE>
I'm trying to do the same thing. I should have a answer by friday but I'm having a hard time getting information on how to configure the gateway.
null -
How to create a database link to connect to Progress
I using 10g (10.2.0.4) and want to connect to progress 9.x using a databaselink.
Which are the steps, examples to acomplish this?.You have to use the 11g Database Gateway for ODBC (DG4ODBC) to connect from Oracle 10.2.0.4 to Postgres.There's a note on My Oracle Support how to configure the gateway - please have a look at:
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
I would recommend you to use the latest gateway release (11.2.0.3) which can be downloaded from My Oracle Support portal as well. Just click on Patches and Updates and look for the 11.2.0.3 patch set:
Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
Although it is a patch set this software can also be used to install the gateway from scratch.
Check out the readme as it lists which ZIP file contains the gateway software you have to download.
The DG4ODBC gateway is for free and its license is included in the Oracle database license. You only need to make sure you have a suitable ODBC driver which is able to connect to your Postgres database.
Best regards,
Klaus -
Connecting to Remote Database using Debian w/Oracle XE
Hello.
I have managed to install Oracle XE on a Debian box.
I am trying to connect to a remote server located on my network.
I am using the following connection string:
# sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
However, I was given both a SID and a Service_name.
I tried connecting with both.
Is it possible to parametrize both? I checked and the remote server is up, and that is the existing port.
Thanks a lot!user603592 wrote:
Hello.
I have managed to install Oracle XE on a Debian box.
I am trying to connect to a remote server located on my network.
I am using the following connection string:
# sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
However, I was given both a SID and a Service_name.
I tried connecting with both.
Is it possible to parametrize both? yes, see below
bcm@bcm-laptop:~$ sqlplus -h
SQL*Plus: Release 11.2.0.1.0 Production
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: {<username>[/<password>][@<connect_identifier>] | / }
[AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [//]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Session Edition.
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
bcm@bcm-laptop:~$ -
Error while connecting to Access Database from Oracle
Dear All,
I'm trying to connect Oracle 9i to Access Database.
but im getting the below error while executing query.
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYSQLi did the following thing through to connect the database.
1) First i made odbc driver called ODBC1
2) I create the following file on oracle server C:\oracle\ora9I\hs\admin\initodbc1.ora
i edit the below thing in initodbc1.ora
HS_FDS_CONNECT_INFO =ODBC1
HS_FDS_TRACE_LEVEL = ON3) I made some changes in sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES= NONE
before it was *NTS*4) Below are the entries in tnsnames.ora i changed the port from 1521 to 1522 cos 1521 already exists.
ODBC1.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ODBC1)
ODBC1.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
(CONNECT_DATA =
(SID = ODBC1)
(HS=OK)
)5) Listener file code
ODBC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = orcl)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = ODBC1)
)6) after that i created
SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
Database link created.7) Listener Status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 04-MAR-2012 20:52:33
Uptime 0 days 0 hr. 33 min. 44 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "ODBC1" has 1 instance(s).
Instance "ODBC1", 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...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfullyi did exactly what documentation says and it will not through any error but atlast when i try to access the access database tables it give me the below error
SELECT * FROM DBO_COMPANY@MYSQL
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYSQLi'm using Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will appreciate.
Regards
Moazam
Edited by: Moazam Shareef on Mar 4, 2012 10:25 AMfirst of all thanks for your support Mr. Kgronau
I did what u said but still its giving me below error.
SQL> SELECT * FROM DBO_PATINS@MYSQL
2 ;
SELECT * FROM DBO_PATINS@MYSQL
ERROR at line 1:
ORA-12154: TNS:could not resolve service namei re-check the service, and restart the listener as you said below are the logs could you help me to solve this issue plz.
TNSNAMES.ORA
# TNSNAMES.ORA Network Configuration File: C:\oracle\ora9I\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
ODBC1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ODBC1)
INST1_HTTP.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
EXTPROC_CONNECTION_DATA.TADAWI.LOC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)LISTENER.ORA
# LISTENER.ORA Network Configuration File: C:\oracle\ora9I\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
ODBC1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
SID_LIST_ODBC1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = ODBC1)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = hsodbc)
(SID_DESC =
(GLOBAL_DBNAME = ODBC1)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = ODBC1)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora9I)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = C:\oracle\ora9I)
(SID_NAME = orcl)
)then i restart both listener entries (ie lsnrctl start ODBC1 and lsnrctl start ) and both are running fine without any error below are the status.
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:42:09
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 05-MAR-2012 18:32:15
Uptime 0 days 0 hr. 9 min. 56 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfullyLISTENER.ORA ODBC1 status
LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:41:52
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1522)))
STATUS of the LISTENER
Alias ODBC1
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
Start Date 05-MAR-2012 18:32:08
Uptime 0 days 0 hr. 9 min. 46 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora9I\network\admin\listener.ora
Listener Log File C:\oracle\ora9I\network\log\odbc1.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1522)))
Services Summary...
Service "ODBC1" has 1 instance(s).
Instance "ODBC1", status UNKNOWN, has 2 handler(s) for this service...
The command completed successfullyWhere hope i'm near to retrive the access data.
Regards
Moazam -
Oracle 8.0.5 on RH6.0, unable to connect to remote database
Hi Everybody,
I have this problem, i have running oracle 8.0.5 on RH6.0
everything works ok for me. But when i use sqlplus on box where
is my Oracle running and try to connect to another database on
my site (which is running on HPUX) I got resul ORA-01017 invalid
username/password. Tnsping to this machine is ok, so i have this
in my tnsname.ora When i create dabase link (with user which I
try to use to connect remote database) on my local datbase to
this database then link works sucessfully too. select * from
dual@remote_database Ok. What's wrong ??? Remote database is
Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
Oracle7 and 8 ???
nullTry putting
disable_oob = ON
in your sqlnet.ora file.
Anwar.
Radek Sedmak (guest) wrote:
: Hi Everybody,
: I have this problem, i have running oracle 8.0.5 on RH6.0
: everything works ok for me. But when i use sqlplus on box where
: is my Oracle running and try to connect to another database on
: my site (which is running on HPUX) I got resul ORA-01017
invalid
: username/password. Tnsping to this machine is ok, so i have
this
: in my tnsname.ora When i create dabase link (with user which I
: try to use to connect remote database) on my local datbase to
: this database then link works sucessfully too. select * from
: dual@remote_database Ok. What's wrong ??? Remote database is
: Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
: Oracle7 and 8 ???
null -
Hello Experts,
I have deployed an ADF application on Oracle Java Cloud Service - SaaS Extension and also deployed database objects from local environment to cloud using JDeveloper. I can see the cloud database has tables and data which I have deployed but when I access the application it seems it is not able to connect with cloud database.
I have followed below document and same sample application (HRSystem).
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart1/jdeveloperPart1.html
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart2/jdeveloperPart2.html
Please guide me what can be the issue.
Regards
Gulam DyerHi,
Can you give us more details about your issue? Any error messages?
Thanks,
Bogdan -
Need Help Connecting Crystal XI to Progress Database
Post Author: leomclaughlin
CA Forum: Data Connectivity and SQL
I am new to Crystal Reports and need some help figuring out how to connect to my database. I am using Crystal Reports XI and the database is Progress ver 91 (at least as best I can tell, anyway).
Thanks in advance!Post Author: elowell
CA Forum: Data Connectivity and SQL
First you need to make sure you have the proper OBDC driver installed so Windows knows where to look. What OS is on your desktop? -
Oracle Gateway Not Connecting to Sybase database
Hi,
I'm trying to setup an oracle gateway to connect to Sybase database. I followed in details the instructions but still can connect successfully. The Oracle database is in RAC environment. Below are the steps I took:
The oracle gateway and oracle database are in the same server while Sybase is on a separate unix box.
1. create an initdg4sybs.ora file
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
HS_FDS_CONNECT_INFO=[999.99.108.99]:4527/common ## IP address of sybase server
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
2. create a listener on the oracle gateway home
# listener.ora Network Configuration File: /u03/app/oracle/gateway/11.2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node A)
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.24)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node B)
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
3. create tnsnames.ora in oracle database home
dg4sybs =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)) #IP address of Node A
(CONNECT_DATA =
(SERVER = DEDICATED) #added for single node test
(SID = dg4sybs)
(HS=OK)
4. create database link
create database link dg4sybs connect to "user" identified by "password" using 'dg4sybs'
5. when testing the connection; i'm getting below error message. tried all the setup based my research and couldn't make it work.
SQL> select * from dual@dg4sybs
2 /
select * from dual@dg4sybs
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7427
Session ID: 495 Serial number: 787
I perform above settings on a standalone database running in windows and successfully connect to the sybase. In UNIX setup, been unsuccessful. Can someone please help.
Also, below is the trace file error message:
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.747
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.745
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
ODBCINST set to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/dg4sybs.loc"
RC=-1 from HOSGIP for "LD_LIBRARY_PATH_64"
Setting LD_LIBRARY_PATH_64 to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME_ICU" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libHGicu23.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME_INST" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbcinst.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbc.so"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using ro as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=20 ...
00: 53454C45 4354202A 2046524F 4D202244 [SELECT * FROM "D]
10: 55414C22 [UAL"]
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
SQL text from hgopars, id=2, len=57 ...
00: 53454C45 43542027 58272046 524F4D20 [SELECT 'X' FROM ]
10: 2264626F 222E2273 79737573 65727322 ["dbo"."sysusers"]
20: 20413120 57484552 45204131 2E226E61 [ A1 WHERE A1."na]
30: 6D65223D 2764626F 27 [me"='dbo']
Deferred open until first fetch.
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Read error.
Edited by: gonzroman on Oct 18, 2012 11:03 AM-=-=-=-=-=- tnsnames.ora on the UNIX side
GTW_C100_COMN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) #IP address of jrc1suvip01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) #IP address of jrc1sudb01a
(CONNECT_DATA =
(SERVER = DEDICATED) # added for single configuration
(SID = dg4sybs_comn_c100)
(HS=OK)
-=-=-=-=-=- listener.ora of the GATEWAY
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)(IP = FIRST)) #IP address of jrc1suvip01a
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)(IP = FIRST)) #IP address of jrc1sudb01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = jrc1suvip01a)(PORT = 1543))
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
(SID_DESC=
(SID_NAME=dg4sybs_comn_c100)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
-=-=-=-=- initdg4sybs_comn_c100.ora parameter
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
#HS_FDS_CONNECT_INFO=[glb0pod29.aexeo.citco.com]:4100/common
HS_FDS_CONNECT_INFO=[209.87.108.99]:4527/common
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
-=-=-=-=- gateway listener status
jrc1sudb01a:/u03/app/oracle/gateway/11.2/dg4sybs/admin $ lsnrctl status LISTENER_DG4SYSBS
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 20-OCT-2012 13:09:05
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1543)))
STATUS of the LISTENER
Alias LISTENER_DG4SYSBS
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 18-OCT-2012 13:16:24
Uptime 1 days 23 hr. 52 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u03/app/oracle/gateway/11.2/network/admin/listener.ora
Listener Log File /u03/app/oracle/gateway/11.2/log/diag/tnslsnr/jrc1sudb01a/listener_dg4sysbs/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.26)(PORT=1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.24)(PORT=1543)))
Services Summary...
Service "dg4sybs" has 1 instance(s).
Instance "dg4sybs", status UNKNOWN, has 1 handler(s) for this service...
Service "dg4sybs_comn_c100" has 1 instance(s).
Instance "dg4sybs_comn_c100", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
-=-=-=-=-=- tnsping output
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping dg4sybs
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:28
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs)) (HS=OK))
OK (10 msec)
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping GTW_C100_COMN
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:35
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs_comn_c100)) (HS=OK))
OK (0 msec) -
CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS
pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
now pls tell how to start listner and how to chage runtime preferences.
though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
thank you, you may be thinking such a long question.....sir
By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
all the clients are using same internet explorer as browser.
no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
thank you for your patience for reading the question -
Oracle command line to connect to a database directly from a client machine
Hi,
I need to connect from a Client machine to a database present on the Database server.
Client: Windows 7 32 bit/ 64 bit
Server where DB is installed: Windows 2008, Oracle 11.xg
I need a command line option that will connect to a database say 'Test' from the command line. I want to put that command in a batch file / exe and call it from there.
I have tools like SQL Developer and dbForge but was unable to do it. Could I have some help on this.
I am a fresher with Oracle and I would appreciate detailed steps. Thanks very much in advance.
VincentVincent,
There is a few steps you want to perform, first of all tell me where is your client database server and where you want command line to use Oracle SQL command line.
Regards,
Hunain Khanani
Maybe you are looking for
-
How do I identify OK Code in table control in BDC (scroll up/down)?
Hi. I have read a lot of very good posts and articles here in the forums about how to work with table controls when writing a BDC program. Unfortunately I haven't found any that address the specific issue that I'm having. I'm writing a program to upd
-
Hi, I am Leonardo and I am having problem with my CD/DVD drive. I have a HP dv6 pavilion 1320sl with HP AD-7561s dvd drive . I can read original and recordable CD's, original dvd's but I can't read/write recordable DVD's. The hardware drivers seems t
-
Message rcvd: iTunes has detected an iPad in recovery mode.
I plugged my iPad into an electrical outlet to charge it. It asked if I wanted to update. I replied yes. Now all that shows up on the screen is the image of the end of a charge cord that plugs into the iPad and an iTunes icon. Thinking that meant I s
-
Hi, In the beginning my iPhone 4 affinity was set to a laptop which is now defunct. I also had a computer which I used from time to time (and at some point possibly synced with) which I am now trying to set as the default machine for my iPhone. I h
-
I have installed icould on my new computer and have downloaded all my purchases from itunes. However, on each album in my library, there is an icon showing that the album is available in icloud for download. I have downloaded a couple of albums from