ODBC vs MSSQLServer sockets
We have identified that our problem lies with the ODBC Socket
DSN in Coldfusion MX 6. Using an MSSQLServer socket solves our
problem but our IT department forces us to use ODBC sockets (no
questions asked).
Our environment is: Coldfusion MX 6 and SQL Server 2000 on
IIS 5.
Collation for the databases is: SQL_Latin1_General_CP1_CI_AS
(I'm assuming that SQL signifies that it's SQL Server based which
could be causing the problem since we're using an ODBC socket?)
The problem in question, is pasting from MS Word into a form
textfield in a web app and inserting that into the database, will
corrupt certain special characters - they get replaced by boxes.
For instance, English double quotes (2 twirly up and 2 twirly down)
and single quote.
I'd like to know if there's any fix for this (server wise as
expecting users to massage their Word files before pasting is out
of the question - and should be IMO)?
Hi,
Below are some links 'differnce between oledb and odbc':
1]
http://www.dotnetspider.com/forum/156042-ODBC-OLEDB-difference.aspx
[In general, OLE DB provides a richer and more flexible interface for data access because it is not tightly bound to a
command syntax (like SQL in the case of ODBC). As Microsoft points out:
Whereas ODBC was created to access relational databases, OLE DB is designed for
relational and non-relational information sources, including mainframe ISAM/VSAM
and hierarchical databases; e-mail and file system stores; text, graphical, and
geographical data; custom business objects; and more.
ODBC on the other hand is a more established interface because it has been around longer; there are proven drivers
and applications available in the market place. OLE DB is creating a better known presence, but consumer support is
probably still considered limited. With the release of Windows 2000 Professional, OLE DB will be installed as part
of the operating system. In Microsoft Office2000 all member applications will be OLE DB consumers. When these
two major products ship, OLE DB will be much more ensconced in the marketplace.
2]
http://devlibrary.businessobjects.com/BusinessObjectsXI/en/en/BOE_SDK/boesdk_dotNet_doc/doc/boesdk_net_doc/html/CrystalEnterpriseReportPlugInLibrary252.html
Hope this help you.
Regards,
Deepti Bajpai
Similar Messages
-
Connection problem odbc socket
I made a odbc socket connection through a dsn to a foxpro
database (tables), cf made the connection. Dreamweaver sees all of
the tables, but cannot read the fields or data. Received this error
message:
[1]java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket][Microsoft][ODBC Visual FoxPro Driver]File
'ccdllc.actrec' does not exist.
even tho actrec was a listed table in the database panel.
Any ideas?
DavidThanks for spending your time on this. I'm brand new on CF,
have always used asp for database work, thought this would be a
breeze. Clearly there's some simple thing I'm not doing correctly.
I made the connection to the database in CF with the ODBC socket
driver, then verified the connection. Went into Dreamweaver, set up
the database connection, and read the table list in the database
panel. But Dreamweaver wasn't able to read the contents of the
tables (columns and data), nor was it able to make bindings. I
inserted the query into the html page and tried running the code
with the following results:
-1:[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Visual FoxPro Driver]File 'ccdllc.actrec'
does not exist.
java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket][Microsoft][ODBC Visual FoxPro Driver]File
'ccdllc.actrec' does not exist.
at
macromedia.sequelink.ssp.Diagnostic.toSQLException(Unknown Source)
at macromedia.sequelink.ssp.Chain.cnvDiagnostics(Unknown
Source)
at macromedia.sequelink.ssp.Chain.decodeDiagnostic(Unknown
Source)
at macromedia.sequelink.ssp.Chain.decodeBody(Unknown Source)
at macromedia.sequelink.ssp.Chain.decode(Unknown Source)
at macromedia.sequelink.ssp.Chain.send(Unknown Source)
at
macromedia.sequelink.ctxt.stmt.StatementContext.execDirect(Unknown
Source)
at
macromedia.jdbc.sequelink.SequeLinkImplStatement.execute(Unknown
Source)
at
macromedia.jdbc.slbase.BaseStatement.commonExecute(Unknown Source)
at
macromedia.jdbc.slbase.BaseStatement.executeQueryInternal(Unknown
Source)
at macromedia.jdbc.slbase.BaseStatement.executeQuery(Unknown
Source)
at
coldfusion.server.j2ee.sql.JRunStatement.executeQuery(JRunStatement.java:111)
at
coldfusion.rds.DbFuncsServlet$DbSqlStatementOperator.processCmd(DbFuncsServlet.java:409)
at
coldfusion.rds.DbFuncsServlet.processCmd(DbFuncsServlet.java:78)
at coldfusion.rds.RdsServlet.doPost(RdsServlet.java:57)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.rds.RdsFrontEndServlet.doPost(RdsFrontEndServlet.java:102)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Again, thanks for your help, looking forward to any ideas you
might have.
David -
Hi,
I am getting the above error when trying to connect to a database located on remote database. if the database is on same system no problem.
any clue???????pls help me.The full error msg is as follows and the back ground of the problem is decribed below...pls help me out.
I have written some perl programs to be called by java to execute some database related tasks. My database located at a remote win2K server and database is MSSql and my programs are executing on WIN2k server. The problem is with perl talking to remote database...the following error is displaying...
"ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied." -
ODBC Socket datasource not available on Mac install of ColdFusion 8
We are trying to download ColdFusion 8 on a Mac Intel Server
to connect to a FileMaker Pro 8 database. The datasources does not
include the ODBC Socket choice which is what I have to use to
connect to the database. Am I installing something wrong or what?
It does show up if I download it on a PC, but not on the Mac.
HELP!!The odbc client/server app that ColdFusion 8 ( and mx6 &
mx7) uses to make ODBC connections is a windows only application.
Therefore ODBC socket is only available on windows. You will not
find it on linux, unix or mac versions.
FileMaker 9 appears to supply both ODBC and JDBC drivers.
Perhaps earlier versions do, too. Use a JDBC connection to connect
to filemaker as described
here. -
Hi, I was having problems using MS Access with CF8 on my
Vista 64 machine. It was related to drivers not being there.
Anyway, I managed to follow a solution that allows me to setup a
DSN using the Windows ODBC Administrator...the driver appears in
the 64 bit version of Windows ODBC Administrator but not the 32 bit
version of Windows ODBC Administrator - they have BOTH on this
machine.
So, the rest of the solution was to then create an ODBC
Socket in the CF Administrator using the DSN I just created.
However, the DSN does not appear in the list. Could the CF
Administrator be looking at the wrong version of the Windows ODBC
Administrator???
I'm really really frustrated with this and can't seem to find
anyone else who has had similar problems.
Any help would be greatly appreciated.
Many thanks,
Michael.Hi,
Apps are bit-specific. Are you trying to run a 32 bit app or a 64 bit app? A 64 bit app needs a 64 bit odbc driver/client, a 32 bit app needs a 32 bit driver/client.
I checked Metalink and it states that for Vista AMD64/EM64T, 11gr1 64 bit and 10204 32 bit are certified clients.
To answer your question about why you dont see the ODBC driver in the admin, it's because you're looking in the 64 bit administrator. To look in the 32 bit administrator, invoke C:\Windows\SysWOW64\odbcad32.exe
Hope it helps,
Greg -
Oracle 11R2 TO MSSQLServer via ODBC Hangs
Hi everyone:
I'm trying to connect from an Oracle 11.2.0.3 on Solaris 10 (64 bit SPARC) to a MS SQL server 2000 using openlink odbc drivers 6.1 for SQL Server.
We can do a tnsping to the remore database and it works, but when we try to query any table from SQL Server connections hangs always in the same step.
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.750
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.749
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "CardHolders"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
rc=2147476520 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/26-11:20:26
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/sql_mt_lt.so"
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a170e68
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1724b0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18db90
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a172520
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dce0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dca0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191240
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182600
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182cc0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183270
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183988
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182d10
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e190
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ec8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1876d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187928
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc30
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc88
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1887a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e130
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dad8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ba0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ef0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a174560
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dea0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a156d60
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17f070
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1760a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c2f0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17db78
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184390
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ac0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1873f8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1906d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191038
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187dc8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a188048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1886c8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1883a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a176040
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190738
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c368
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18e280
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190b28
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Exiting hgolofn, rc=0 at 2012/11/26-11:20:26
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/11/26-11:20:26
Entered hgolgon at 2012/11/26-11:20:26
reco:0, name:SA, tflag:0
Entered hgosuec at 2012/11/26-11:20:26
Exiting hgosuec, rc=0 at 2012/11/26-11:20:26
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_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 SA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/26-11:20:26
HS_FDS_CONNECT_INFO = "CardHolders"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/11/26-11:20:26
dsn:CardHolders, name:SA
optn:
Entered hgocip at 2012/11/26-11:20:26
dsn:CardHolders
Exiting hgocip, rc=0 at 2012/11/26-11:20:26
Exiting hgogenconstr, rc=0 at 2012/11/26-11:20:26
We configured the odbc.ini, initDB.ora , listener.ora an tnsnmaes.ora as follows.
[ODBC Data Sources]
CardHolders = OpenLink SQL Server Lite Driver (multi threaded)
*** odbc.ini
[CardHolders]
Driver = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
ServerType = SQLServer 2000
Username = SA
Password = Passw0rd
Database = CardHolders
Options = -H 192.168.40.15 -P 1433 -V 9
FetchBufferSize = 99
ReadOnly = Yes
DeferLongFetch =
JetFix = No
Description = Sample SQLServer 2000 Lite Connection
MaxRows =
NoRowSetSizeLimit = No
InitialSQL =
NoAutoCommit = No
NoLoginBox =
SqlDbmsName =
QuotedId = Yes
AnsiNPW = No
*** initCardHolders.ora
HS_FDS_CONNECT_INFO=CardHolders
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_TRACE_FILE_NAME = CardHolders.trc
HS_FDS_SHAREABLE_NAME = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
HS_FDS_FETCH_ROWS=1
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
*** listener.ora (added)
(SID_DESC =
(SID_NAME = CardHolders)
(ORACLE_HOME= /apex01/oraapex/apexdb/11.2.0.2)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/apex01/oraapex/ODBC_64/lib:$ORACLE_HOME/lib)
*** tnsnames.ora (added)
CardHolders =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1530))
(CONNECT_DATA=(SERVICE_NAME=CardHolders))
(HS=OK)
Thanks in advance, any help would be appreciated.
Regards!!Hi Klaus:
Thank you for your response.
I changed the library from sql_mt_lt.so to libodbc.so for HS_FDS_SHAREABLE_NAME as you suggested, restarted all services, but it keeps behaving the sam, it still hangs
Here is the agent log:
Oracle Corporation --- WEDNESDAY NOV 28 2012 20:03:31.091
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- WEDNESDAY NOV 28 2012 20:03:31.091
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "CardHolders"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
rc=2147476408 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/28-20:03:31
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/libodbc.so"
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32f1c0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32c6b0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32b420
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a326520
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31cc70
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31a5b0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a337398
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31b5a0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31d1a8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32fa58
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a325148
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31dcc0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a330328
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a329950
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31e100
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32d458
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31c5d8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31c198
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32d130
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32fed0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335e30
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a336d90
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3101d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3179d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32db00
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a319278
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a31baa8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a310c38
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a334100
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a334950
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335780
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a323e58
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3225c0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a3290d0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a331620
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30d3e8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a32a2a8
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a311670
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a311f48
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a312830
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a333820
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a333088
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a335060
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30e540
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Entered hgolofns at 2012/11/28-20:03:31
symbol_peflctx=0x7a30eef0
hoaerr:0
Exiting hgolofns at 2012/11/28-20:03:31
Exiting hgolofn, rc=0 at 2012/11/28-20:03:31
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
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"
treat_SQLLEN_as_compiled = 0
Exiting hgoinit, rc=0 at 2012/11/28-20:03:31
Entered hgolgon at 2012/11/28-20:03:31
reco:0, name:SA, tflag:0
Entered hgosuec at 2012/11/28-20:03:31
Exiting hgosuec, rc=0 at 2012/11/28-20:03:31
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_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 SA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/28-20:03:31
HS_FDS_CONNECT_INFO = "CardHolders"
HS_FDS_CONNECT_STRING = "192.168.40.15:1433//CardHolders"
Entered hgogenconstr at 2012/11/28-20:03:31
dsn:CardHolders, name:SA
optn:192.168.40.15:1433//CardHolders
Entered hgocip at 2012/11/28-20:03:31
dsn:CardHolders
Exiting hgocip, rc=0 at 2012/11/28-20:03:31
Exiting hgogenconstr, rc=0 at 2012/11/28-20:03:31
An the unixx ODBC trace:
** iODBC Trace file
** Trace started on Wed Nov 28 20:03:31 2012
** Driver Manager: 03.52.0607.1008
[000000.000313]
Application 00000001 ENTER SQLAllocHandle
SQLSMALLINT 1 (SQL_HANDLE_ENV)
SQLHANDLE 0x0 (SQL_NULL_HANDLE)
SQLHANDLE * 100362318
[000000.000335]
Application 00000001 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 1 (SQL_HANDLE_ENV)
SQLHANDLE 0x0 (SQL_NULL_HANDLE)
SQLHANDLE * 100362318 (100369a20)
[000000.000356]
Application 00000001 ENTER SQLSetEnvAttr
SQLHENV 100369a20
SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
SQLPOINTER 3
SQLINTEGER * -6 (SQL_IS_INTEGER)
[000000.000425]
Application 00000001 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 100369a20
SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
SQLPOINTER 3
SQLINTEGER * -6 (SQL_IS_INTEGER)
[000000.000797]
Application 00000001 ENTER SQLAllocHandle
SQLSMALLINT 2 (SQL_HANDLE_DBC)
SQLHANDLE 100369a20
SQLHANDLE * 100362320
[000000.000896]
Application 00000001 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 2 (SQL_HANDLE_DBC)
SQLHANDLE 100369a20
SQLHANDLE * 100362320 (100369fc0)
[000000.000933]
Application 00000001 ENTER SQLSetConnectAttr
SQLHDBC 100369fc0
SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
SQLPOINTER 0x0
SQLINTEGER * -5 (SQL_IS_UINTEGER)
[000000.000981]
Application 00000001 EXIT SQLSetConnectAttr with return code 0 (SQL_SUCCESS)
SQLHDBC 100369fc0
SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
SQLPOINTER 0x0
SQLINTEGER * -5 (SQL_IS_UINTEGER)
[000000.001359]
Application 00000001 ENTER SQLDriverConnect
SQLHDBC 100369fc0
SQLPOINTER 0x0
SQLCHAR * 100351808
| DSN=CardHolders;UID=SA;PWD=******* |
SQLSMALLINT 34
SQLCHAR * 100350ad0
SQLSMALLINT 1024
SQLSMALLINT * ffffffff7fffe0b2
SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
Thank you for your time and comments
Regards! -
Oracle TO MSSQLServer vi ODBC Hangs
Hi everyone:
I'm trying to connect from an Oracle 11.2.0.3 on Solaris 10 (64 bit SPARC) to a MS SQL server 2000 using openlink odbc drivers 6.1 for SQL Server.
We can do a tnsping to the remore database and it works, but when we try to query any table from SQL Server connections hangs always in the same step.
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.750
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- MONDAY NOV 26 2012 11:20:26.749
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "CardHolders"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:CardHolders
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
rc=2147476520 attempting to get LANG environment variable.
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/26-11:20:26
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/apex01/oraapex/ODBC_64/lib/sql_mt_lt.so"
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a170e68
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1724b0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18db90
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a172520
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dce0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dca0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191240
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182600
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182cc0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183270
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183988
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a182d10
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e190
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ec8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1876d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187928
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc30
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18dc88
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1887a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17e130
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dad8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ba0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a173ef0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a174560
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17dea0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a156d60
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17f070
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a183048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1760a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c2f0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17db78
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184390
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a184ac0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1873f8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1906d8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a191038
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a187dc8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a188048
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1886c8
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a1883a0
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a176040
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190738
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a17c368
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a18e280
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Entered hgolofns at 2012/11/26-11:20:26
symbol_peflctx=0x7a190b28
hoaerr:0
Exiting hgolofns at 2012/11/26-11:20:26
Exiting hgolofn, rc=0 at 2012/11/26-11:20:26
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/11/26-11:20:26
Entered hgolgon at 2012/11/26-11:20:26
reco:0, name:SA, tflag:0
Entered hgosuec at 2012/11/26-11:20:26
Exiting hgosuec, rc=0 at 2012/11/26-11:20:26
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_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 SA as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/26-11:20:26
HS_FDS_CONNECT_INFO = "CardHolders"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/11/26-11:20:26
dsn:CardHolders, name:SA
optn:
Entered hgocip at 2012/11/26-11:20:26
dsn:CardHolders
Exiting hgocip, rc=0 at 2012/11/26-11:20:26
Exiting hgogenconstr, rc=0 at 2012/11/26-11:20:26
We configured the odbc.ini, initDB.ora , listener.ora an tnsnmaes.ora as follows.
[ODBC Data Sources]
CardHolders = OpenLink SQL Server Lite Driver (multi threaded)
*** odbc.ini
[CardHolders]
Driver = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
ServerType = SQLServer 2000
Username = SA
Password = Passw0rd
Database = CardHolders
Options = -H 192.168.40.15 -P 1433 -V 9
FetchBufferSize = 99
ReadOnly = Yes
DeferLongFetch =
JetFix = No
Description = Sample SQLServer 2000 Lite Connection
MaxRows =
NoRowSetSizeLimit = No
InitialSQL =
NoAutoCommit = No
NoLoginBox =
SqlDbmsName =
QuotedId = Yes
AnsiNPW = No
*** initCardHolders.ora
HS_FDS_CONNECT_INFO=CardHolders
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_TRACE_FILE_NAME = CardHolders.trc
HS_FDS_SHAREABLE_NAME = /apex01/oraapex/ODBC_64/lib/sql_mt_lt.so
HS_FDS_FETCH_ROWS=1
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
*** listener.ora (added)
(SID_DESC =
(SID_NAME = CardHolders)
(ORACLE_HOME= /apex01/oraapex/apexdb/11.2.0.2)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/apex01/oraapex/ODBC_64/lib:$ORACLE_HOME/lib)
*** tnsnames.ora (added)
CardHolders =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1530))
(CONNECT_DATA=(SERVICE_NAME=CardHolders))
(HS=OK)
Thanks in advance, any help would be appreciated.
Regards!!Hi Tony,
It would be better to ask this question in the Heterogeneous Connectivity Forum -
Heterogeneous Connectivity
Issues connecting from Oracle to non-Oracle databases using Gateways are handled in that forum. This forum is for problems using the Oracle ODBC drivers.
Regards,
Mike -
Create the ODBC for OBIEE -[nQSError: 12017] Unexpected socket read timeout
Hello Friends,
I have installed OBIEE 11.1.1.7 on vmware on my laptop. Im able to communicate via putty and local browsers successfully to all of the logins (console,em, analytics, bipublisher, etc.)
Now when i'm trying to create the DSN connection from setup odbc.
I'm getting the error as mentioned in subject.
Firewall of my laptop is off. IPTables of my linux OS is disabled.
analytics poet is 9704.
Screenshot is attached herewith.
Please help me in sorting this issue.
Regards,
DjayHi Srini,
I crosschecked it earlier only and both the tests were successful.
ping obiee.oracle.com : is able to connect.
telnet obiee 9704 : Shows blank screen.
I'm just stucked in troubleshooting and dont know what to do !
Regards,
Djay -
Creating ODBC socket connection to Excel
Hello, helpful people!
I installed CF8 without documentation. This caused the known
issue of not doing a full install of ODBC drivers. I was actually
doing fine (I could, for some reason, use MySQL drivers without an
issue) until I suddenly wanted an Excel driver.
I searched online, found my answer, and began following the
instructions:
http://www.adobe.com/go/kb402637
Unfortunately, I can't follow instruction #6, "Run
instODBC.cfm in a browser using the location you stored it to."
Every time I run it, I get a "The current user is not authorized to
invoke this method" error - even when I'm logged in as admin.
I've tried moving the installODBC.cfm file to a couple of
locations (including within CFIDE/administrator) to no avail.
I need to create access to Excel in order to finish my code!
Help?
Best wishes,
CatOguz and cfsearching,
Let's take an example. The software I'm developing is a way
of viewing a variety of survey results. Any one of 12 people may be
the one doing a bulk load of these results (as they don't want to
directly link to the survey software quite yet, and they "fiddle"
with the results a little to standardize them/clean them). Some of
the results have over 256 characters (which, if not within the
first 8 rows in a normal MS SQL import, will either error or cut
off the data, even if the field is defined as text 16 field, or the
data is imported to a temp table - yes, I've done this too many
times. Can you tell?).
Each of these surveys will have different numbers of
questions, different kinds of results, yadda yadda. You know, what
you'd expect.
What I'm hearing you say is that I should make an Access
database on the server that mimics my MS SQL database, then give
them each an excel file for their local machine that links to the
Access database, then have the Access database link to MS SQL?
That makes me nervous. These people are like any other
non-technical people, and prone to mistakes. Mistakes that could
break my front-end. Not to mention that maintaining this as
development continues (as it does - unfortunately not in clean-cut
phases) would be annoying. But, perhaps you mean something else?
My current (probably flawed) plan is to put the bulk of the
work in my cfcs. This will make things slower, of course, but I'm
thinking the benefits outweigh the speed issue. I feel that I have
more control over the data this way, and can give user-friendly
errors. I can kick back certain items to be fixed, but continue
processing the rest of the file, for instance.
Now, if I've completely misunderstood what you've said, or am
simply going about things the wrong way, please let me know. This
is my first time developing this type of functionality, and I trust
that y'all have more experience with it than me. So, please
enlighten me!
Best wishes,
Cat -
SQL Server 2000 Driver for JDBC - Error establishing sockets
Hi there
I am using Microsoft SQL Server 2000 Driver for JDBC to connect to SQL Sever 2000. It is just a test application to see if it would connect to the datacase successfully. But I got the following errors. I already set up the classpath and installed all SQL Server 2000 Driver for JDBC sp 3. Dont know why it still failed...can anyone help me out of this? Thanks.
When i am using simple JDBC-ODBC bridge Driver it's working fine.
For this Server Pack3 , i have checked every thing like--
TCP / IP Poart is Enable.
I am working in client machine, my MSSQLServer 2000 Placed in server Machine.
when i am giving Telnet ServerIP 1433 it's giving following response.
connecting to ServerIP ....... could not open connection to the host , on port 1433:connection Failed
My Sample Code is :--
String user="sa";
String password="imcindia";
Connection con1 = null;
CallableStatement cstmt = null;
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
con1=DriverManager.getConnection("jdbc:microsoft:sqlserver://ServerName:1433;DatabaseName=dmo1o2d",user,password);
Statement st=con1.createStatement();
st.execute("use dm0102d");
st.execute("setuser 'dm01012'");
cstmt = con1.prepareCall("{?=Call dms_ex_create_folder('ABC','18753','NB21','u')}");
cstmt.execute();
Here are Error Code :
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection refused: connect
at java.sql.DriverManager.getConnection(Unknown Source)
at TestConnection1.main(TestConnection1.java:24)
one can help me to over come this problm,
Thanks in advance.
venkathey i also have this problem i have been looking for solution for this problem for along time i tried every possible solution i tried every service pack for the SQL but it didn't connect to the port!!!
it's a network problem ur java code is correct dont worry about it.
finally i had to install MySQL and it's work fine now but if u insist on usning SQL u have to use the JDBC-ODBC Bridge it will work by :
first add data source database , follow these steps
1- go to Administrative tools
2-Data Sources(ODBC)
3-System DNS tab and add then choose SQL SERVER the last option then finish
4-write the name; Note: this name is the one that u will write in ur URL for example if u write Hello the URL will be "jdbc:odbc:Hello"
5- choose the server, its recommended to write "." or (local)
6-change the database to its an important step to choose the database that u want to use, choose northwind if u want to use it
finish
second
adding this code:
import java.sql.*;
class JdbcTest1 {
public static void main (String[] args) {
try {
// Step 1: Load the JDBC driver.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// Step 2: Establish the connection to the database.
String url = "jdbc:odbc:Hello";
Connection conn = DriverManager.getConnection(url,"user1","password");
} catch (Exception e) {
System.err.println("Got an exception! ");
System.err.println(e.getMessage());
it will work without any problems -
How do i fix "Error establishing socket" !!!
I get the following error:
SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
I have included the driver jar files in the classpath. How can i fix this?
Thank u all for your timeNo.. That's not the real answer.Which one?
If it can't create the socket then something is interferring with the socket creation.
I'm getting the same problem trying to connect to an
MSSQLServer box from JDBC.
I believe that my connect string is fine, as I use
jdbc on many databases - SWLServer being the only one
I can't connect to. Both machines are using TCP/IP,
and the server is accepting TCP/IP connections on port
1433. My connect URL is:
jdbc:microsoft:sqlserver://DBHOST:1433
This works on an NT box. This doesn't work on my
linux box.
I've attempted to use the IP address of the database
in the connect string, but that only produces a
different error from the driver "INVALID URL"
The only way I have been able to get this to work is
by bypassing JDBC and using the JDBC/ODBC bridge,
which STINKS. There must be a better answer.
Nope, don't think so. You said it doesn't work on linux. Are you claiming that you have a MS SQL Server ODBC driver for linux? If so you need to share it with the world.
Can you ping the SQL server box from your linux box? Can you telnet to the 1433 port (that tells you if it is open from the linux box.)
Presumably the SQL Server was NOT installed with NT authorization. Rather it was installed with Database authorization. -
Tnsping timed out using dg4odbc from Oracle to MYSQL through ODBC
Hi,
I encountered problem when trying to connect from Oracle to MYSQL using dg4odbc, hope you can shed some light
Oracle database is 11.1.0.7 on SUSE Linux 64-bit.
Since the application which runs on MYSQL DB only offers ODBC driver on Windows platform, so I installed the 32-bit ODBC driver (from ServiceNow) on a 32-bit windows server (driver download from http://wiki.service-now.com/index.php?title=ODBC_Driver) .
created system DSN: MYSQLDEV, The DSN connection works fine. I then installed Oracle 11.2.0.1 gateway for ODBC 32-bit on the same windows server, the following configurations were done:
On 32-bit Windows server:
in gatewayHome\hs\admin
initMYSQLDEV.ora:
# HS init parameters
HS_FDS_CONNECT_INFO = MYSQLDEV
HS_FDS_TRACE_LEVEL = DEBUG
in gatewayHome\network\admin:
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = abcdes.sda.sdva.com)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=MYSQLDEV)
(ORACLE_HOME=C:\product\11.2.0\tg_1)
(PROGRAM=dg4odbc)
ADR_BASE_LISTENER = C:\product\11.2.0\tg_1
stop and started listener on windows server and check listener status
C:\product\11.2.0\tg_1\bin>lsnrctl status listener
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2012 21:42:08
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=abcdes.sda.sdva.com)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 29-MAR-2012 21:11:36
Uptime 0 days 0 hr. 30 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\product\11.2.0\tg_1\network\admin\listener.ora
Listener Log File c:\product\11.2.0\tg_1\diag\tnslsnr\abcdes\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=abcdes.sda.sdva.com)(PORT=1521)))
Services Summary...
Service "MYSQLDEV" has 1 instance(s).
Instance "MYSQLDEV", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
On Linux server where Oracle DB resides.
Added the following tns entry "jelly" on the Linux server ORACLE_HOME/network/admin:
jelly =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)
(HOST=abcdes.sda.sdva.com)
(PORT=1521))
(CONNECT_DATA=(SID=MYSQLDEV))(HS=OK)
tnsping from Linux server (64-bit) failed with timeout error:
tnsping jelly
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 29-MAR-2012 21:12:38
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=abcdes.sda.sdva.com) (PORT=1521)) (CONNECT_DATA=(SID=MYSQLDEV))(HS=OK))
TNS-12535: TNS:operation timed out
tnsping from Windows server works fine: (added same tnsnames entry on windows server for testing purpose only)
C:\product\11.2.0\tg_1\bin>tnsping jelly
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 29-MAR-2
012 21:45:20
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\product\11.2.0\tg_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=abcdes.sda.sdva.com)(PORT=1521)) (CONNECT_DATA=(SID=MYSQLDEV)) (HS=OK))
OK (20 msec)
if listener is not listening to the service, then the tnsping on the windows server should fail as well.
I don't know why only the tnsping from Linux failed, is it due to the 32-bit ODBC uncompatibility with 64-bit oracle server? or my configuration problem?
Of course, when I created the DB link from oracle, the connection failed with
create database link mysqldev connect to xxxx identified by "xxxxx" using 'jelly';
Database link created.
select * from tab1;
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 MYSQLDEV
Thanks for your help,Hi Mike,
This is part of the tnsping.trc file which contains the error. IP address is in the tnsnames entry with this tnsping.
nsopen: opening transport...
nttcon: entry
nttcon: toc = 1
nttcnp: entry
nttcnp: creating a socket.
nttcnp: exit
nttcni: entry
nttcni: Tcp conn timeout = 0 (ms)
nttcni: trying to connect to socket 5.
ntt2err: entry
ntt2err: soc 5 error - operation=1, ntresnt[0]=505, ntresnt[1]=110, ntresnt[2]=0
ntt2err: exit
nttcni: exit
nttcon: exit
nserror: entry
nserror: nsres: id=0, op=65, ns=12535, ns2=12560; nt[0]=505, nt[1]=110, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsiocancel: entry
nsiofrrg: entry
nsiofrrg: cur = 53b9f8
nsbfr: entry
nsbaddfl: entry
nsbaddfl: normal exit
nsbfr: normal exit
nsiofrrg: exit
nsiocancel: exit
nsvntx_dei: entry
nsvntx_dei: exit
nsopenfree_nsntx: nlhthdel from mplx_ht_nsgbu, ctx=53a7e0 nsntx=53ade0
nsiocancel: entry
nsiofrrg: entry
nsiofrrg: exit
nsiocancel: exit
nsmfr: entry
nsmfr: 2712 bytes at 0x53ade0
nsmfr: normal exit
nsmfr: entry
nsmfr: 1528 bytes at 0x53a7e0
nsmfr: normal exit
nsopen: error exit
nscall: error exit
nscall: entry
nscall: connecting...
nsclose: entry
nsclose: normal exit
nladget: entry
nladget: exit
nsmfr: entry
nsmfr: 264 bytes at 0x528900
nsmfr: normal exit
nladtrm: entry
nladtrm: exit
nscall: error exit
nlse_term_audit: entry
nlse_term_audit: exit
Thanks, -
Jobs trying to access ODBC driver fails at a particular time of the day
Hi,
We have 3 jobs which fails at around from 10 PM to 6AM with the following message in the job history:
[SQLSTATE 42000] (Error 7320) OLE DB provider "MSDASQL" for linked server "mfglive" returned message "[DataDirect][ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Server crash likely.". [SQLSTATE 01000] (Error 7412)
OLE DB provider "MSDASQL" for linked server "mfglive" returned message "[DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Socket closed."
But the same jobs run perfectly when I schedule them to run at any time during the working hours.
I want to confirm if there can be something wrong with SQL/Linked server for this issue?
ThanksIt appears to me that that job conflicts with database maintenance activities during the night.
Related blogs:
http://knowledgebase.progress.com/articles/Article/P184190
http://knowledgebase.progress.com/articles/Article/P128908
http://knowledgebase.progress.com/articles/Article/000038541
http://www.sqlservercentral.com/Forums/Topic1149419-146-1.aspx
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
Accessing MS Sql Server with Java classes - problem connecting to socket
I found an example at this location which uses java classes to connected to MS Sql Server.
http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
--bummer - it is a login location - so I will include the article
Anyway, the example is using Websphere, but I am still on Jbuilder (will get wsad soon). So I planted the classes from the example in
C:\Borland\JBuilder\jkd1.4\jre\lib\ext\...the classes
Then I copied the code from the example to my jpx project and got an error that it could not connect to the socket. The only thing I changed in the code was the connection string:
--original string from example:
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
I was getting an error with the 2 argument version of DriverManager - and the second argument here was empty (properties argument). Here was my connection string:
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
I am only using the 1 argument version of DriverManager. Note that the password=" is blank because my RnD workstation is standalone - no one accesses the sql server except me - so no password. I also left out the last semicolon I noticed. Any suggestions appreciated how I could fix this.
Thanks
source of article:
http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
iSeries 400 Tips:
TIPS & NEWSLETTERS TOPICS SUBMIT A TIP HALL OF FAME
Search for: in All Tips All search400 Full TargetSearch with Google
PROGRAMMER
Sample code: Accessing MS SQL Server database from the iSeries
Eitan Rosenberg
09 Mar 2005
Rating: --- (out of 5)
Nowadays with the help of Java the iSeries can be integrated with other databases quite easy. This tip shows you how. The code included here uses the free Microsoft driver that can be downloaded from here. (SQL Server 2000 Driver for JDBC Service Pack 3)
If your SQL server does not include the Northwind Sample Database you can find it here.
http://www.microsoft.com/downloads/details.aspx?familyid=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
The download contains the following files:
msbase.jar
mssqlserver.jar
msutil.jar
Those files needs to be copied to the iSeries directories (/home/r_eitan/ExternalJARs).
Here's the directory structure (on the iSeries) for this sample:
/home/r_eitan/ExternalJARs - Microsoft files (msbase.jar,mssqlserver.jar,msutil.jar)
/home/r_eitan/JdbcTest02 - My code (Main.java,Main.class)
The Java code
import java.sql.*;
import java.io.*;
class Main {
* Connect to Microsoft SQL server and download file northWind.products as tab
* seperated file. (products.txt)
public static void main(String args[]) {
try {
PrintStream outPut = new PrintStream(new BufferedOutputStream(new FileOutputStream("products.txt")));
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
System.out.println("Connection Done");
connection.setCatalog("northWind");
String sqlCmdString = "select * from products";
Statement statement = connection.createStatement();
ResultSet resultSet = statement.executeQuery(sqlCmdString);
ResultSetMetaData resultSetMetaData = resultSet.getMetaData();
int columnCount = resultSetMetaData.getColumnCount();
// Iterate throught the rows in resultSet and
// output the columns for each row.
while (resultSet.next()) {
for (int index = 1; index <=columnCount; ++index)
String value;
switch(resultSetMetaData.getColumnType(index))
case 2 :
case 3 :
value = resultSet.getString(index);
break;
default :
value = """ + resultSet.getString(index) + """;
break;
outPut.print(value + (index < columnCount ? "t" : ""));
outPut.println();
outPut.close();
resultSet.close();
connection.close();
System.out.println("Done");
catch (SQLException exception)
exception.printStackTrace();
catch (Exception exception)
exception.printStackTrace();
--------------------------------------------------------------------------------------------------My guess is that the server's host name isn't right. It necessarily (or even usually) the "windows name" of the computer. Try with the numeric IP address instead (type "ipconfig" to see it).
First aid check list for "connection refused":
- Check host name in connect string.
- Check port number in connect string.
- Try numeric IP address of server host in connect string, in case name server is hosed.
- Are there any firewalls between client and server blocking the port.
- Check that the db server is running.
- Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
- Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
- If "telnet" fails: try it with the numeric ip address.
- If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
- Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"? -
Hi All,
We have snapshot replication . Job is failing in between due to below error.
Error messages:
The process could not connect to Subscriber 'XX:SD'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20084)
Get help: http://help/MSSQL_REPL20084
TCP Provider: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (Source: MSSQLServer, Error number: 10055)
Get help: http://help/10055
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
see SQL Server Books Online. (Source: MSSQLServer, Error number: 10055)
Get help: http://help/10055
Login timeout expired (Source: MSSQLServer, Error number: HYT00)
Get help: http://help/HYT00
Please suggestHi Khushi,
According to your description, your snapshot replication job fails and you come across the error related to TCP Provider. Based on my research, the issue could occur as the following two situations.
1. OS runs out of memory for TCP buffers. When people use the two switch: the /PAE switch in the c:\boot.ini file and the /3gb switch in the boot.ini file. If the applications require many OS resources, such as by opening many TCP connections, this can cause
the OS to run out of memory for resources like TCP buffers.
2.OS runs out of available TCP “ephemeral” ports. When the client machine is opening many TCP connections and is running Windows Server 2003, Windows XP, or any earlier version of Windows, it may run out of TCP “ephemeral” ports.
To work around the issue, please follow the two solutions as below.
1.Remove the /3gb switch from c:\boot.ini. The root problem in this case is memory pressure on the OS, so removing the /3gb switch will give more memory to the OS and will alleviate this problem.
2.Make more ephemeral ports available following the steps in the article:
http://support.microsoft.com/kb/196271
For more information about the process, please refer to the article:
http://blogs.msdn.com/b/sql_protocols/archive/2009/03/09/understanding-the-error-an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-sufficient-buffer-space-or-because-a-queue-was-full.aspx
Regards,
Michelle Li
Maybe you are looking for
-
How to use OUD as LDAP for single db user repository?
I have been assigned a project to add all the database users to OUD as a single repository for all our database users. This would be similar to using Active Directory. Could someone explain or point me in the right direction on how to add users and
-
Can You Create a Creative Cloud-specific DPS Level?
I have been a Creative Cloud subscriber for over a year now as both a student and an educator and I have noticed one glaring thing wrong with including a subscription for DPS Single Edition for students (and small design & publishing houses/freelance
-
How do I convert my old iPod into a voice recorder?
PART No. MA003FB/A iPod 60GB White Model A1136 Serial No. 4J547DUSSZA purchased in June 2007 iPod (5th generation)-also known as iPod with video or Fifth Generation iPod 2005/2010 click wheel. (It is not a nano, shuffle or touch, it may be a classic
-
E-REC: System is not following new Lead recruiter
Hi All, I have an issue with Requisition mgmt. We are using EHP4, issue can be reproduced like below... 1. Create a requisition. with your login. 2. Release it. 3. Again EDIT the requisition and change the Lead recruiter to new Lead recruiter. 4. Re
-
Primavera Expedition 8.5 standalone with Sybase database on windows 32 bits. We need to upgrade existing expedition to Oracle contract manager 13.1. We are unable to upgrade Sybase database version from 8.5 to 10.0 before migration to oracle dat