Cannot Connect to DB2/AS400 Database
I have tried to connect using JDBC connection drivers to an AS/400 DB2 database (R5V4) in Topology. I was using the IBM Toolbax for Java and Hit JDBC/400 drivers without success. I am putting in the Host Name and Library with no other property. We do not have a port number to try the DB2 Universal JDBC Driver. Do we have to add any Jar file for DB2? Any help would be appriciated.
KG
This is on ODI 10.1.3.5
KG
Similar Messages
-
Error when connecting to DB2/AS400 as a Datasource
Hi All,
I have an issue when connecting to DB2/AS400 as w datasource with IR studio. I am able to create an OCE but when click on tables it throws an error saying ""INFORMATIC.DM3601PF" is an undefined name. SQLSTATEB704
sqlstate = 42S02
The drivers I used is the drivers provided by the IBM DB2 and also the Merant drivers provided for Hyperion by DB2. I used ODBC/DB2, ODBC/ODBC, ODBC/AS400 connection while creating an OCE but it did not help.
The exact version of the database is DB V5R4--AS400--OS. It is a 64 bit client.
Can anyone help!!!
Thanks,
SreeHi,
Connecting Hyperion with DB2 is simple. When we install DB2 client on the machine it adds a new entry in ODBC drivers, using that DB2 Driver create a system DSN by selecting the appropriate DB. Give the proper credentials.
Now open Hyperion IR select new Database option...Select ODBC/DB2 and choose the DSN name given by you while creating the system DSN. give the correct credentials to connect to DB.
After that it will ask for OCE creation...just create oce by giving app name and you are done with the connection. -
User Role empty - Cannot connect to DB2
Hello,
I'm having trouble with a WLSE 2.13 that we have installed. It doesn't let us access via web to the software; the error that appears when trying to do so is "User role is empty". There also appears a moving banner saying "Database failed to respond correctly" after trying to authenticate the user.
however, when trying t oaccess through SSH, it works OK.
This is what I get with a diag all command:
<<< Executing ALL Diagnostics (except SmartMonTools) >>>
DIAG: IMAGE -- [Mon Oct 9 08:27:07 UTC 2006]
(please wait) ... DONE.
*** PASS: Software image verification passed. ***
DIAG: BIOS -- [Mon Oct 9 08:28:03 UTC 2006]
*** Drive model ST340014A, FwRev does not require BIOS patch. ***
DIAG: DMA -- [Mon Oct 9 08:28:03 UTC 2006]
Checking disk for DMA errors (please wait) ...
*** PASS: NO DMA IO errors found. ***
Checking disk sectors for errors (please wait) ...
*** PASS: NO disk sector errors found. ***
DIAG: DB2CLEAN -- [Mon Oct 9 08:32:48 UTC 2006]
*** PASS: No dump files found. ***
DIAG: DB2VERIFY -- [Mon Oct 9 08:32:48 UTC 2006]
*** FAIL: Cannot connect to DB2. Integrity verification failed. ***
DIAG: SERIALNO -- [Mon Oct 9 08:32:49 UTC 2006]
*** No Serial Number obtained for this appliance. ***
So it looks like the DB is corrupt for some reason. We have executed the initdb but no change in the error has been detected.
This is the result of the show version command:
(C) Copyright 2006 by Cisco Systems Inc.
WLSE 1130 Release 2.13.1FCS Mon Aug 14 12:16:20 UTC 2006
(build number 54)
Device Limit = 2550
Build Version (79) Fri Jan 6 23:20:15 UTC 2006
Uptime: 0 days 0 hours 34 mins
Linux version 2.4.32-8_WLSEsmp ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113
)) #1 SMP Wed Jan 25 13:16:55 PST 2006
I do think that there may be a sector in the hard drive that is not working (you can see why in the bootlog.txt file that I'm also attaching), but it looks a bit strange that it has only affected the access through the web...
Any ideas?Hi Fernando,
This might be related to few things:
- file anisnmp.conf corrupted preventing TomCat to start properly (# reset device-snmp would fix it)
- database corrupted and not accessible at all
(... reiniting the db might be the only solution)
- user roles corrupted
(would need to delete the user roles to reconstruct them)
Opening a shell and hit "#show tomcatlog" would give you a more accurate idea.
In case of broken anisnmp.conf, the error message is pretty explicit.
In case of other problems, that would need more investigation by TAC.
Before doing anything, remind to perform backups!
Pierre -
SharePoint 2007:Cannot connect to the configuration database.
The share point 2007 server under Windows Server 2008 R2 runs well formerly, but suddenly the user can't visit the site with error on page:
Cannot connect to the configuration database.
I also checked windows log with bellow main errors:
Log Name: Application
Source: Office Server Search
Date: 2015/2/28 22:30:47
Event ID: 10034
Task Category: Gatherer
Level: Error
Keywords: Classic
User: N/A
Computer: ***
Description:
Could not access the Search service configuration database.
Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
Details:
Unspecified error
(0x80004005)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Office Server Search" />
<EventID Qualifiers="49152">10034</EventID>
<Level>2</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-28T14:30:47.000000000Z" />
<EventRecordID>2323514</EventRecordID>
<Channel>Application</Channel>
<Computer>***</Computer>
<Security />
</System>
<EventData>
<Data>
Context: Application 'b9f7f366-4027-4923-b5ce-b93c132df7c3'
Details:
Unspecified error
(0x80004005)</Data>
</EventData>
</Event>
======================================
Log Name: Application
Log Name: Application
Source: Windows SharePoint Services 3
Date: 2015/2/28 22:30:50
Event ID: 5586
Task Category: Database
Level: Error
Keywords: Classic
User: N/A
Computer: ***
Description:
Unknown SQL Exception 64 occured. Additional error information from SQL Server is included below.
A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows SharePoint Services 3" />
<EventID Qualifiers="0">5586</EventID>
<Level>2</Level>
<Task>484</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-28T14:30:50.000000000Z" />
<EventRecordID>2323517</EventRecordID>
<Channel>Application</Channel>
<Computer>***</Computer>
<Security />
</System>
<EventData>
<Data>64</Data>
<Data>A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)</Data>
</EventData>
</Event>
==================================================
Source: Windows SharePoint Services 3
Date: 2015/2/28 22:31:00
Event ID: 27745
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: ***
Description:
The description for Event ID 27745 from source Windows SharePoint Services 3 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
#50071: Unable to connect to the database SP_Config on ***. Check the database connection information and make sure that the database server is running.
the message resource is present but the message is not found in the string/message table
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows SharePoint Services 3" />
<EventID Qualifiers="14130">27745</EventID>
<Level>2</Level>
<Task>1105</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-28T14:31:00.000000000Z" />
<EventRecordID>2323520</EventRecordID>
<Channel>Application</Channel>
<Computer>***</Computer>
<Security />
</System>
<EventData>
<Data>#50071: Unable to connect to the database SP_Config on ***. Check the database connection information and make sure that the database server is running.</Data>
</EventData>
</Event>
Please kindly support to find the root cause and guide how to fix it ASAP.
Many appreciations for your hellp in advance!
Note:
1)As checked, SQL server service is running well;
2)Web server log under the path C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS with bellow errors:
03/02/2015 11:25:53.28 mssearch.exe (0x0F0C) 0x08FC Search Server Common
GathererSql 0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx
Line:9654
03/02/2015 11:25:53.39 mssearch.exe (0x0F0C) 0x08FC Search Server Common Common
0 Monitorable Application b9f7f366-4027-4923-b5ce-b93c132df7c3, resource 1: pIDBInitialize->Initialize error. Failed to create a non fast load session. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp Line:608
03/02/2015 11:25:53.39 mssearch.exe (0x0F0C) 0x08FC Search Server Common Common
0 Monitorable CResourceManager::CreateSession Error creating non fastload session 'Provider=SQLOLEDB;Extended Properties='Server=***;Database=SP_SharedServices_Search;Trusted_Connection=yes;App=Windows SharePoint Services;Timeout=15';'. - File:d:\office\source\search\search\searchdll\resourcemanagerimpl.cpp
Line:658
03/02/2015 11:25:53.39 mssearch.exe (0x0F0C) 0x08FC Search Server Common UtilCommon
0 Monitorable Dumping error record [0]: Source: Microsoft OLE DB Provider for SQL Server HRESULT: 0x80004005 Code: 11 Description: [DBNETLIB][ConnectionRead (recv()).]General network error. Check
your network documentation. - File:d:\office\source\search\common\pkmutild\atldbext.cxx Line:1250
03/02/2015 11:25:53.39 mssearch.exe (0x0F0C) 0x08FC Search Server Common GathererSql
0 Monitorable CSqlCrawl::ExecuteCommand() Failed in GetSession, Error is 0x80004005 - File:d:\office\source\search\search\gather\server\gatherobj.cxx Line:9654Hi,
In this forum we mainly discuss questions and feedbacks about Office products, since your question is about SharePoint, I suggest you post the question in SharePoint forum to get further assistance:
https://social.technet.microsoft.com/Forums/office/en-US/home?category=sharepoint
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Reporting Services Server cannot connect to the DPM database. ( dpm 2010 )
Reporting Services Server cannot connect to the DPM database.
To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
ID: 3001
i can not try the Recommended action from error codes catalog because i did not found Change reporting
passwordHi,
We have had several customers report this after installing DPM 2012 R2.
To get past the below error while scheduling reports to be mailed.
Reporting Services Server cannot connect to the DPM database.
To repair the configuration, follow steps for repairing DPM from DPM Setup Help.
ID: 3001
Perform the following steps as necessary:
1. Created a new local group called "DPMDBReaders$<DPMServerName>"
2. Created a new user called, "DPMR$<DPMServerName>" and added this user to DPMDBReader group that we created on step 1.
3. Open SQL management studio and add the DPMDBReaders$<DPMServerName group to Logins under Security in SQL Management Studio.
4. Modify the properties and under General – change the default database to the current DPMDB name.
5. Under User Mapping – select the current DPMDB name and check the db_datareader checkbox.
6. In SQL Management Studio, navigate to the Databases > DPMDB > Security > Users > and select the DPMDBReaders$<DPMServerName>" group.
Right-click the DPMDBReaders$<DPMServerName>" group and select properties. Under the
Securables section, click on Search. On the add objects dialog, click OK.
On the Select Objects dialog, click the Objects type, then check the
stored procedure checkbox. Browse and add the following two stored procedures
“Prc_MOM_Heartbeat_Get” and “prc_MOM_ProductionServer_Get”. Grant the Execute permission for both of the stored procedures added.
7. In SQL Reporting Services Configuration manager, under Report Manager URL - click on the link to open the portal (http://localhost/Reports)
i. Click on the DPMReoprts_GUID to open the DPM reports.
ii. Click on the DPMReporterDataSource
iii. On the poperties page, enabled "Credentials stored securely in the report server" on DPMReporterDataSource configuration page and added “DPMR$<DPMServerName>” user account that we created in step 2.
iv. tick "Use as Windows credentials when connecting to the data source."
v. Click ‘Test connection’ on the same page to verify whether it can connect successfully.
8. In SQL Reporting configuration manager - change the Service Account to use build-in account: Network Service
9. Reboot the DPM Server.
10. You should then be able to schedule e-mailed reports.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
Cannot connect to the configuration database
I tried to configure my server with active directory after I have successfully configured sharepoint . For a mistake , they made me delete the active directory and now when I try to connect to the admin section or site page it me give the following error :
"Cannot connect to the configuration database"
Deleting the active directory ; I noticed that all the other users have disappeared and the service : SQL AGENT ( Sharepoint ) not run and the error is :
" This installation of SQL Server Agent is disabled. The edition of SQL Server that installed this service does not support SQL Server Agent." Thank you for the HelpWas the active directory server that you removed the last active directory server in the farm? If so then your only two real choices are to rebuild everything from scratch or restore everything from backup.
If it was just that you were trying to make the SharePoint server into a Domain Controller, then I still think you may need to rebuild. But you can try re-adding the SharePoint server to the Domain. It may have lost its Domain membership when you removed
AD from it and gone back to being a standalone server.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Cannot connect to the configuration database when App Server is down
Hi,
We had a App Server not come up after a restart.
When trying to access a site we get
the "Cannot connect to the configuration database"
We have now started the App Server and everything working again...
My problem, there are 2 WFE servers with NLB Configured apart of the App Server ....Why wont the site work and why cant i connect to config DB?
Something must be misconfigured? Sites should be connecting to the WFE servers and work if App server is down.
Yes, NLB Points to the WFE Servers.
Any ideas where i can look? This is a Project PWA Server, not sure if that will make a difference but the root SharePoint site had the same issue.
ThanksHi Danie,
is it possible that the SQL Server is running on the same box as the SharePoint (application) server? This would be the only thing that can explain the symptoms. Please check following:
IP address of the SharePoint Application server by typing nslookup AppServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
AppServerName with the FQDN of the application server, e.g. appserver.domain.local
IP address of the SQL server by typing nslookup SQLServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
SQLServerName with the FQDN of the SQL server, e.g. sqlserver.domain.local
SQL Server alias configuration by checking the entries in the cliconfg.exe on both SharePoint WFEs
In most cases, SQL server has nothing to do with the SharePoint Application server role and it is stored on the separate box. My guess here is that the farm started as one-server farm setup and over the time got expanded by additional 2 WFEs, moving
Web Server roles from the initial server, leaving it with the application role (service applications) and SQL server on the same box.
But, I am just making an educated guess here. Can you provide some additional information?
Hth,
Aleks -
Hi all,
In advance i`m thankful for your help,
I come across a problem while migrating the Active Directory from Windows Server 2003 to Windows Server 2008 R2,
SharePoint 2010 is getting this error Cannot connect to the configuration database. The same goes for the Administrative page,
Nothing is change in the MySql database, same log in, same server name, i guess it have something to do with the SharePoint Farm,
My question is will reinstalling the SharePoint do the job? Or is there an easy way to get back on my old track?
I`ve try to sync users... no good
PS C:\Users\administrator.SERVERM> if($configManager.IsSynchronizationRunning()
-eq $false)
>> {
>> $configManager.StartSynchronization($true)
>> Write-Host "Started Synchronizing"
>> }
>> else
>> {
>> Write-Host "Already Synchronizing"
>> }
>>
Can someone explain a little bit more about this:
6.
Can they talk to each other?
Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
nslookup command from the SharePoint Server.
Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
%systemroot%\system32\drivers\etc\Hosts
On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
Start, click Run, and then type cliconfg in the
open box.
Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
Open the SQL Server Configuration Manager (Start SQL Server 2008 Configuration Tools SQL Server Configuration Manager
Navigate to the SQL Server Network Configuration Protocols for MSSQLSERVER node in the tree view
Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down)
Aleksandar Delcevski, Web-administrator School of Journalism and Public Relations Jurij Gagarin 17-1/1, 1000 Skopje, R. Macedonia t: + 389 2 3090 004 mob: +38972 257 565 [email protected]; www.vs.edu.mk; www.medium.edu.mk; www.unescochair-vs.edu.mkHiya,
I don't think it is necessary to reinstall.
You should just confirm that your basic infrastructure is working.
1: On the SharePoint server, open cmd and write ping <SQL server name>
2: On the SharePoint server, open cmd and write nslookup <SQL server name>
Basically the steps outlined here, is the best way to start:
6.
Can they talk to each other?
Verify that SharePoint is using the correct IP address for the SQL server. To do this, run the ping command on the Windows SharePoint Services server.
Verify that the SharePoint server is obtaining the correct IP address for the SQL server from DNS. To do this, run the
nslookup command from the SharePoint Server.
Make sure that there are no incorrect entries for the SQL server. To do this, examine the Hosts file on the SharePoint server. This file is in the following location:
%systemroot%\system32\drivers\etc\Hosts
On the SharePoint server, look for SQL client aliases. To do this, follow these steps: Click
Start, click Run, and then type cliconfg in the
open box.
Click the Alias tab. By default, there are no SQL client aliases. If you have any aliases for the SQL server, verify that they are correct, or remove them.
Open the SQL Server Configuration Manager (Start SQL Server 2008 Configuration Tools SQL Server Configuration Manager
Navigate to the SQL Server Network Configuration Protocols for MSSQLSERVER node in the tree view
Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until the service is shut down) -
Cannot connect to the configuration database Error in HTTPS
Hi
We have a SharePoint 2010 farm ,with more then 20 web application running . I am getting "Cannot connect to the configuration database" error in one web application when we browse through https
The same application is working fine when we browse through http . I am using AAM i have 2 web server which is been network load balanced and the https traffic comes through F5
Kindly help to resolve the issue
PrabakarHI Prabakar,Check the below URL that exactly related to the issue.
http://expertsharepoint.blogspot.de/2014/05/cannot-connect-to-configuration-database.html
Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/ -
DUPLICATE DB : ORA-17629: Cannot connect to the remote database server
[oracle@ora11g1 ~]$ export ORACLE_SID=sales
[oracle@ora11g1 ~]$ rman target sys/sales@sales
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jun 5 13:00:15 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SALES (DBID=690066655)
RMAN> connect auxiliary sys/salestby2@salestby2
connected to auxiliary database: SALES (not mounted)
RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE SPFILE
2> SET DB_NAME= 'sales'
3> SET DB_UNIQUE_NAME= 'salestby2'
4> SET control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl'
5> SET DB_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/'
6> SET LOG_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/';
Starting Duplicate Db at 05-JUN-13
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=20 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales' auxiliary format
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora''";
executing Memory Script
Starting backup at 05-JUN-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=58 device type=DISK
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:26
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/05/2013 13:05:27
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:27
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database serverWelcome to the oracle forums!
Please take some time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535]FAQ PAGE
Always post 4 digit oracle version and OS details.
Post any query out put between \ \ tags
Mark your questions as answered if you get the answer
Password of SYS user on primary and standby must be same.Copy the password file from primary to standby server
scp $ORACLE_HOME/dbs/orapwv112 <oracle_user@auxiliary_host>:/u01/app/oracle/product/11.2/dbs/orapwdupv112 -
User with VPN Connections cannot connect to our Oracle Database
Hi Everyone,
I am facing a problem today with our Production Database.
User with our branches using VPN connection cannot connect to our Oracle Database.
As per checking the alert log, I saw this message
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 13-AUG-2013 13:08:42
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.100.131)(PORT=1137))
We are using Oracle 11gR2 Database running OEL 6
Kindly help us to solve this.
Thank youHi Dude,
My firewall is disable in my db host.
I also check the firewall on client end and it is also disabled.
I also talk to my Network Administrator for adjustment in Router and Firewall to allow port 1521 to accept connection but still unsuccessful.
What seems to be the problem ? -
I have a weird problem. I'm using a Type-2 JDBC driver for DB2. My development environment is on XP using VisualAge. On that platform, I cannot connect to the DB2 database. The environment this program runs on is an NT 4.0 machine. On there, the same code works fine.
The DB2 libs are in c:\sqllib\java and are contained in the zip files db2java.zip and runtime.zip. In both environments, (both DOS cmd line and VAJ) these zip files are in the classpath.
On XP, the line
Class.forName("COM.ibm..db2.jdbc.app.DB2Driver");
does load the class. However, when I go to register the driver I get the error:
"No suitable driver"
The alias I am trying to connect to is cataloged on my machine. I can access it through RapidSQL and the command line db2 client. Is it possible that the driver is not compatible with WinXP? Can anyone think of another reason why this would not work on XP but work on NT 4.0.
Thanks,
CurtHello,
I ran into a very similar problem when I upgraded to DB2 V7.2 in that my application could not find a Type 2 driver. I would recommend trying the same application using a Type1 driver just to see if you are running into the same bug I ran into.
To make the switch to a Type 1 driver go to c:\sqllib\java12 and issue the usejdbc1 command from the command line. You may have to back out of everything to avoid sharing violations. After I did this I was able to execute my application successfully. I am not sure if there is a fixpack available for this problem yet.
Please report your results.
Regards,
Bill -
** 911 ** Cannot connect to oracle 9i database No suitable Driver
All:
Any help rendered would be appreciated. (jdk 1.4.2_06, Tomcat 4.0,
Oracle DB 9i Windows XP)
I have a web app (Jasper report tool) and I cannot connect to a Oracle 9i database.
1)error received: "Apr 2, 2007 2:05:15 PM com.entDB.Enterprise_db connectToDatabase SEVERE: Function connectToDatabase() - Cannot load the driver, reason:java.sql.SQLException: No suitable driverCheck classpath for driver java.sql.SQLException: No suitable driver
2)CLASSPATH SETTING = C:\tomcat\common\lib\ojdbc14.jar
3)Source code:
protected boolean connectToDatabase() {
try {
// I tried this !!! Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection("URL,USER,PASSWORD ");
return true;
}catch (SQLException e) {
logger.error("Function connectToDatabase() - Cannot load the driver, reason:" + e.toString() + "Check classpath for driver ", e);
return false;
4.I placed a copy of the jar file in TOMCAT common lib, and server lib.
I have tried various solutions listed at different web sites without success. Has anyone had similiar problems? Can anyone assist?
thanks ......
******* Confused *********I used 911 because It is an emergency for me (I am
under a deadline) . You might want to read this: Urgent Questions
URL, PASSWORD, USER are strings
declared in another section of code.Yes, but in the code you posted the variable names are all inside double quotes? -
Cannot connect to Oracle 11gR2 database from SQL Server 2005
Both SQL Server (Windows) and Oracle (Linux) are in 64bit environments.
I have done the following on a Windows 2008 R2 with SQL Server 2005:
Install InstantClient from Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) to C:\Oracle
Install oledb from 64-bit ODAC 11.2 Release 3 (11.2.0.2.1) for Windows x64 by executing install.bat oledb c:\oracle odac
Note: Not sure whether 11.2.0.2.1 version of ODAC will cause any problem since I cannot find 11.2.0.1.0 version.
I have checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.
I have executed sp_addlinkedserver @server = 'ORACLE_TEST', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = '##.##.##.##:1521/TEST'
The ##.##.##.## is the ip address of the Linux server which has the Oracle 11gR2 database TEST.
I have executed sp_addlinkedsrvlogin @rmtsrvname = 'ORACLE_TEST', @useself = 'FALSE', @rmtuser = 'xxxx', @rmtpassword = 'yyyy'
The xxxx is the oracle username and yyyy is the password for the oracle user xxxx.
I know the oracle database TEST is up since I have setup connection in Oracle SQL Developer having:
##.##.##.## as the hostname
1521 as the Port
xxxx as the username
yyyy as the password
TEST as the service name
When I click Test Connection for the linked server ORACLE_TEST in SSMS, it just hang.
When I issue a query like select count(*) from oracle_test..xxxx.table1, it just run forever. I'm not so sure how to query an oracle table. I have also tried select count(*) from oracle_test.xxxx.xxxx.table1.
When I retype the password in the Linked Server Properties, it just run forever.
Do I need to create a tnsnames.ora on the Windows machine?
Do I need to change the tnsnames.ora on Linux machine?
I'm very new to Oracle.This forum is dealing with connections from an Oracle database to SQL Server - so the Oracle database is the driving site and this is the way round from your linked server set up.
As you're suing the instant client you might post your issue in the instant client forum:
Instant Client -
Cannot Connect to SQL 2008 Database Error
I am on Windows Server 2008 with SQL Server 2008 database and even after enabling the "TCP/IP" protocol and also "Named pipes" continue to get "EPMCFG-10368: Cannot connect to database..." error. Any additional troubleshooting steps would be greatly appreciated.
I am trying to connect to a SQL Server 2008 database. I provided the correct server name, port, db name, user and pswd. When using an ODBC connection I connect without issue. However, when trying to connect via the EPM System Configurator I get an error.
Maybe you are looking for
-
Satellite L300-1AQ - Connection to TV using 3RCA Component cable
Just got the above cable from EBAY - it has the 15 pin 'D' connector which fits the computer external monitor socket and on the other end 2 'phono' type plugs (red, green and blue). Problem is I can't get it to work. My medion 32" LCD has the coloure
-
Business Intelligence Setting Up BI in Netweaver 7.0 ABAP Trial version
Hi , I have installed NEtweaver 7.0 , successfully. I Logged in to client 000 with DDIC or BCUSER, change active client to 001 Run SE16, edit table RSADMINA, field BWMANDT = 001 ( or 1 ). This step is fine. Created the new user e.g. NWUSER and grant
-
Not able to deploy VIO 1.0.1 with NSX integration
Hello, Whenever I try to deploy VIO with NSX integration I stuck on "Configure Neutron networking" step. Edge Cluster drop-down menu does not contain any options and so I cannot proceed with the deployment. (DVS works fine) As this a POC deployment,
-
Activity Quantity & Value is Zero in CK11n
Dear Experts, When i run the ck11n, the activity quantity it is showing as Zero and correspondingly the value. 1) I have maintained the price in KP26 against the cost center which is assigned to the work center. 2) I have enabled the check box for co
-
HELP IN AWT Need to apply them within 6hrs
import java.awt.*; import java.awt.event.*; class Seethis implements ItemListener //Voting Screen Components Frame Voting; Panel p,p1,p2; Checkbox ABC, XYZ, PQR, MNO, DES; CheckboxGroup cbg; Label chosen; Button Vot