Not able to connect to MS SQL 2005 Evaluation version
Hi,
I have installed MS SQL 2005 Evaluation version(downloaded from microsoft site) on my win2k3 Enterprise Edition I am writing a java application that connects to MS SQL 2005.
I have downloaded the MS SQL 2005 JDBC driver. And i unjarred the
I have unjarred the sqljdbc.jar file and kept the com folder and my .java file in the same folder.
When i am trying to connect, I am getting the following error:
com.microsoft.sqlserver.jdbc.SQLServerException: Failed Logon:com.microsoft.sqlserver.jdbc.SQLServerException: TCP/IP connection failed to host:155.35.54.160 java.net.ConnectException: Connection refused:connect
My code look like this:
try {
Class.forName ("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String fs = File.separator;
String conn_str = "jdbc:sqlserver://155.35.54.160:1433;user=sa;password=SA;databaseName=asdb";
conn = DriverManager.getConnection ( conn_str );
catch (Exception e) {System.out.println(e); }
Please reply.
Thanks and Regards,
Sudheer Gajula
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. You need to configure the database to accept TCP connections; read the documentation or google.
- Try "telnet server-host-name the-port-number" from the client, to see if firewalls are blocking it.
- If "telnet" fails: try telnet 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"?
Similar Messages
-
Am not able to connect to oracle sql developer first time
Hai all,
am not able to connect to oracle sql developer first time in my windows server.
in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
am first time working in windows env..
server : windows
database_version:11.2.0.3
please let me konw how to connect to the sql developer.
Thanks,
subbuam not able to connect to oracle sql developer first time in my windows server.
in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
am first time working in windows env..
server : windows
database_version:11.2.0.3
please let me konw how to connect to the sql developer.
Did you perhaps do a custom install? The DB software includes a version of sql developer and, by default, installs it in the sqldeveloper folder of the DB_HOME. Does that folder have sql developer in it?
I suggest that you NOT use the version of sql developer that ships with the database. That version will NOT be the current version.
Download the current version of SQL Developer, unzip it into a new folder and create a desktop icon for it.
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
The current version includes many, many bug fixes from that earlier DB version and you will have far fewer probems with it. -
Not able to connect to My SQL from CIM in ATG 10.2
Hi,
I have installed ATG10.2 and trying to configure MySQL database with cim. I have given all the details as per the documentation. After creating the database connection for production_core, i have tried to test the connection but it says that
>> Not able to connect to database jdbc:mysql://localhost:3306/production_core @prod
I started My SQL Server from ATG Tools before testing the connection.
Could you please help me to resolve this issue.
Regards,
RavinderThere can be multiple reasons:
mysqld.exe is not running(Start ATG\ATG10.2\MySQL\win32\bin\mysqld.exe)
It's the MySQL Daemon, the program that manages MySQL.This should be running if u wish to connect to mysql db.
While CIM database configuration, wrong connector jar(\ATG\ATG10.2\MySQL\mysql-connector-java-5.1.15-bin.jar) is given, So CIM is not able to connect.
Db details are wrong CIM
Refer ATG ENVIRONMENT SETUP ISSUE
Thanks,
Nitin. -
Hello friends..i m not able to connect MS SQL SERVER 2005 FROM cmd prompt
dear friends,
i m not able to connect MS SQL SERVER from command prompt..
do you know how to connect from command prompt or any other ways to connect to database only for delete SAP* user purpose.
thanks
zaheerHi,
you can use the SQLCMD tool:
Microsoft (R) SQL Server Command Line Tool
Version 10.50.1600.1 NT x64
Copyright (c) Microsoft Corporation. All rights reserved.
usage: Sqlcmd [-U login id] [-P password]
[-S server] [-H hostname] [-E trusted connection]
[-N Encrypt Connection][-C Trust Server Certificate]
[-d use database name] [-l login timeout] [-t query timeout]
[-h headers] [-s colseparator] [-w screen width]
[-a packetsize] [-e echo input] [-I Enable Quoted Identifiers]
[-c cmdend] [-L[c] list servers[clean output]]
[-q "cmdline query"] [-Q "cmdline query" and exit]
[-m errorlevel] [-V severitylevel] [-W remove trailing spaces]
[-u unicode output] [-r[0|1] msgs to stderr]
[-i inputfile] [-o outputfile] [-z new password]
[-f <codepage> | i:<codepage>[,o:<codepage>]] [-Z new password and exit]
[-k[1|2] remove[replace] control characters]
[-y variable length type display width]
[-Y fixed length type display width]
[-p[1] print statistics[colon format]]
[-R use client regional setting]
[-b On error batch abort]
[-v var = "value"...] [-A dedicated admin connection]
[-X[1] disable commands, startup script, enviroment variables [and exit]]
[-x disable variable substitution]
[-? show syntax summary]
You have to have the SQL Server tools installed on the box, to get sqlcmd.
You then can connect with SQL authentication
sqlcmd -S <Servername\Instancename> -U user -P password
or with windows authentication
sqlcmd -S <Servername\Instancename> -E
Best regards
Clas -
Borland C++ Delphi application is not able to connect to SQL Server as Non Admin user
Hi,
I am working on a Borland C++ and Delphi application. This application connects to SQL Server and returns database queries results. Once we migrated to windows Server 2003 we have started facing an issue.
1. IF we login to client application as admin user then this connects properly with SQL Server and returns database queries.But if we connect using Non- Admin users then application is not able to connect SQL Server.
SQL Server 2008
Windows Server 2003.
Can anybody help on this.
Thanks in Advance.
RakeshThis application is written in Borland C++ and Delphi running on Windows 2003 Server. This is a Windows GUI based small tool. Basic functionality of the tool is : 1) Once we invoke the tool it connects to DB(SQL Server 2005) and populates a list of
all the tables present in DB. 2) If we select any table from the list populated in step (1) and provide query parameters, this will return results from Database.
Issue: IF we login to the Windows machine as Administrator this application runs perfectly .This application populates the DB tables correctly and returns results from database when queries executed as in step (2)
But if we login as some other user (like hubapp) then this populates some different set of table which are not from the same database instance .Also the queries does not return any results. In the logs we get following error message : (TiltData is the instance
name for our Database)
Msg:Application Exception : Cannot locate or connect to SQL server.Unable to connect: SQL Server is unavailable or does not exist. Specified SQL
server not found.Alias:
TiltData1 occurred in main thread.
As for the connection string
'DATABASE NAME=tiltdata'
'SERVER NAME=SDV3'
'USER NAME=sa'
'OPEN MODE=READ ONLY'
'SCHEMA CACHE SIZE=8'
'BLOB EDIT LOGGING='
'LANGDRIVER='
'SQLQRYMODE=SERVER'
'SQLPASSTHRU MODE=NOT SHARED'
'DATE MODE=0'
'SCHEMA CACHE TIME=-1'
'MAX QUERY TIME=300'
'MAX ROWS=-1'
'BATCH COUNT=612'
'ENABLE SCHEMA CACHE=FALSE'
'SCHEMA CACHE DIR='
'HOST NAME='
'APPLICATION NAME=QueryTool'
'NATIONAL LANG NAME='
'ENABLE BCD=FALSE'
'TDS PACKET SIZE=65535'
'BLOBS TO CACHE=64'
'BLOB SIZE=32'
'PASSWORD=jstart')
Any help is appreciated. I have spent a lot of time on this issue with no results.
Regards
Rakesh -
Not able to connect with Sql Server Database
Hi,
I'm not able to connect with Sql Server database.during making connection I'm getting the following error:
"Status : Failure -I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property."
Please help
Regards,
Neeraj GoelHi,
I'm using Sql Server 2000.
I downloaded the driver from the given site and still having the same problem. Do I need to copy the driver file in some specific folder.
Regards,
Neeraj Goel -
Not able to connect as sysoper in sql*plus
Friends,
Why i am not able to connect as sysoper?
OS: win 2000
Oracle db: oracle 9i
tool is sql*plus
SQL> connect / as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> connect / as sysoper
ERROR:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
SQL>
where i am making mistake?
Thanks
SathyguyIn Linux i know to add.
But in windows....i dont know.
could you please tell me how to add this group.
Actually we will login to the os using our company name as a group. -
Not able to connect db using developers(plsql developer,sql developer)
Hi,
I used to work on plsql developer, but since from few days i am not able to connect to it, so i have installed sql developer still i am not able to connect to database.
I can connect to the database using sql*plus. dont know what happend suddenly i have not changed any settings.
I am getting the error when connecting sql developer: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
Please help.
Thanks,
VinodWrong forum - please repost in the SQL Developer forum, edit this post to include the link to the SQL Developer thread and then mark this as ANSWERED.
SQL Developer
>
when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
>
In you post on the other forum include your 4 digit Oracle version and the version of SQL Developer that you are using.
Also provide the step by step details of how you are trying to create the new connection.
The error message is telling you that you are using a server or host name that does not exist. -
I am not able to connect SQL(Open SQL) in EAS client machine
Hi Experts,
I have Installed Oracle Essbase 11.1.1.3.0 on Linux Environment.I am not able to connect SQL(Open SQL) in Essbase EAS Client machine.
Please let me know any scripts I have to run for SQL connection activation purpose.
Please provide the necessary paths and procedures.
waiting for your reply
Many Many Thanks.Have you created a database (or have one you connect to)?
Have you created the Net Service connections for SQL Developer to use?
Does SQL Developer have access to this Net Serviice name?
Have you created the connections from SQL Developer?
Can you post an error message?
See
<br>
Oracle Database FAQs
</br> -
Enterprice manager is not able to connect to the database instance
hello,
I have problem with EM. I have some databases, and I worked with Enterprice Manager on this databases. First DB when I have repository is ok and EM always connect with this, but I worked on another DB some time and was ok, but three days ago when I start EM I get message 'Enterprice Manager is not able to connect to the database instance'. When I couldn't resolve this problem, I make new DB and this worked two days ok, and today I get this same message. I don't make any changes in listener and tns files.
any idea?
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE)(PORT = 1521))
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
SZDTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = szdtest.localhost)
SZD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = szd)
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = test)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
This is strange because when I working on EM get in some event errors
500 Internal Server Error
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:182)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:289)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:261)
at oracle.sysman.db.util.DBJobController.getRepositoryConnection(DBJobController.java:458)
at oracle.sysman.db.util.DBJobController.initializeBean(DBJobController.java:326)
at oracle.sysman.db.util.rec.RecoveryController.getBean(RecoveryController.java:262)
at oracle.sysman.db.util.DBJobController.setPageSequence(DBJobController.java:384)
at oracle.sysman.db.util.DBJobController.resetPageSequence(DBJobController.java:404)
at oracle.sysman.db.util.DBJobController.handleStart(DBJobController.java:645)
....................yes DBConsole services are started:
OracleDBConsoleorcl running
OracleDBConsoleszd running
results emctl status and start
C:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ORACLE:5502/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory C:\oracle\product\10.2.0\db_1/ORACLE_szd/sysman/log
C:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ORACLE:5502/em/console/aboutApplication
Agent Version : 10.1.0.4.1
OMS Version : Unknown
Protocol Version : 10.1.0.2.0
Agent Home : C:\oracle\product\10.2.0\db_1\ORACLE_szd
Agent binaries : C:\oracle\product\10.2.0\db_1
Agent Process ID : 2960
Agent Process ID : 2960
Agent URL : http://ORACLE:1832/emd/main
Started at : 2010-06-25 09:58:05
Started by user : SYSTEM
Last Reload : 2010-06-25 09:59:53
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 244
Size of XML files pending upload(MB) : 1.56
Available disk space on upload filesystem : 55.04%
Agent is already started. Will restart the agent
This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :
but still I get this message
EM was started and I see this message and that database is open and listener is up and agent connection to instance is succed
Edited by: user515960 on 2010-06-25 01:08
view logs in emoms.log after emctl status dbconsole
2010-06-25 11:38:45,796 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
2010-06-25 11:38:58,437 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:00,968 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:00,984 [EMUI_11_39_00_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2010-06-25 11:39:01,078 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:01,093 [EMUI_11_39_01_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2010-06-25 11:39:02,015 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
2010-06-25 11:39:05,687 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:05,750 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:05,765 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
2010-06-25 11:39:05,812 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
2010-06-25 11:39:16,187 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:16,187 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2010-06-25 11:39:16,281 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
ORA-06550: linia 1, kolumna 7:
PL/SQL: Statement ignored
2010-06-25 11:39:16,281 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Edited by: user515960 on 2010-06-25 02:41 -
Not able to connect RAC database from client
Hi there
Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client. Error is as under :
C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter user-name:
myrac =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = racdb.testdb.com.bd)
Please give me your valuable suggestion to overcome the issue.
Regards
Jeweluser13134974 wrote:
ORA-12545: Connect failed because target host or object does not exist
This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead. -
Not able to connect after changing the password using ALTER VALUES clause
Hi,
Just now John explained about VALUES clause in below thread.
Expired Status
I created a new account called SURI and tried to use the user account HR's password using VALUES clause. I was able to alter the password but not able to connect SURI with hr password.
Please see the version details below. And the SQL statements which I have tried.
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 13 18:44:50 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> SELECT password
2 FROM dba_users
3 WHERE username = 'HR';
PASSWORD
4C6D73C3E8B0F0DA
SQL> ALTER USER SURI IDENTIFIED BY VALUES '4C6D73C3E8B0F0DA';
User altered.
SQL> SELECT password
2 FROM dba_users
3 WHERE username='SURI';
PASSWORD
4C6D73C3E8B0F0DA
SQL> conn suri/hr -- HR account's password is hr only
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL>Thanks,
SuriSuri wrote:
Hi,
Just now John explained about VALUES clause in below thread.
Expired Status
I created a new account called SURI and tried to use the user account HR's password using VALUES clause. I was able to alter the password but not able to connect SURI with hr password.
Please see the version details below. And the SQL statements which I have tried.
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 13 18:44:50 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> SELECT password
2 FROM dba_users
3 WHERE username = 'HR';
PASSWORD
4C6D73C3E8B0F0DA
SQL> ALTER USER SURI IDENTIFIED BY VALUES '4C6D73C3E8B0F0DA';
User altered.
SQL> SELECT password
2 FROM dba_users
3 WHERE username='SURI';
PASSWORD
4C6D73C3E8B0F0DA
SQL> conn suri/hr -- HR account's password is hr only
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL>Thanks,
SuriYou can only do it for the same user, as the password is a hashed value that includes the username as part of the hashing (It's either the username or some internal object id or something). So using the hashed value against another user won't work. -
Not able to connect to the database while configuring the Hyperion Planning
Hi all,
I am trying to configure Hyperion Planning, i am getting error while connection to the database,
and i am not able to connect to the sqlserver management studio using sql server authentication mode, while installing sql server i selected as windows authentication mode,
here is my environment:
OS: Windows Vista
Database: MS SQL Server 2005, with Windows authentication mode
Hyperion9.3.1: Planning, Essbase server, shared services.
can anyone let me know what is the error? or do am i missing any step,
appreciate your help.
Thanks
AfjalHi,
First of all Vista is not supported as O/S for Hyperion server products, so if you encounter any problems it may be due to that.
It is possible to use windows authentication mode but some have problems with it and end up going down the sql server authentication route.
It is possible to change SQL server to mixed mode.
Cheers
John
http://john-goodwin.blogspot.com/ -
Not able to connect to database some times
some times i am not able to connect to my database via sqlplus.
after entering this command, we don't receive any response. please help.
-bash-3.2$ sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 23 11:11:36 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: /as sysdbaHi Emran,
Set sufficient value of processes/sessions in init/spfile of database , might be session limit of DB is getting exceeded & restricting new connection.
Check alert log & below query o/p , CURRENT_UTILIZATION < MAX_UTILIZATION to get connection to DB
select * from v$resource_limit;Also , try to connect as sqlplus prelim & do hang analyze , refer below link
http://blog.tanelpoder.com/2012/05/08/oradebug-hanganalyze-with-a-prelim-connection-and-error-can-not-perform-hang-analysis-dump-without-a-process-state-object-and-a-session-state-object/
sqlplus -prelim "/as sysdba"
ORADEBUG HANGANALYZE 3Thanks,
Ajay More
http://www.moreajays.com -
Reporting Services not able to connect with sharepoint
HI
We have a Sql server instance where we are not able to install reporting services, so what we have done is we have created one more sql server instance on the same server with reporting services.
When we configured reporting services in sharepoint integrated mode and try to connect that web service url in sharepoint we are getting an error in sharepoint central administartion that not able to connect to the reporting services.
Request you to throw some light on the same.
Thanks
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.Hi Geeth,
Based on the limited information, I am not very clearly about you issue. In order to solve the problem more efficiently, I need to clarify some information. Could you post more detail information about “try to connect that web service url in sharepoint we
are getting an error in sharepoint central administartion”? For example, the detail steps about the action, the screenshot of the action, and what error message you received. I’m not sure which step are you trying to do. And could you tell me the edition of
your SQL Server and SharePoint? It is benefit for us to do further analysis.
References:
2008 R2:
http://technet.microsoft.com/en-us/library/bb283190(v=sql.105).aspx
http://sharepointtaskmaster.blogspot.in/2010/11/intergration-reporting-service-with.html
http://technet.microsoft.com/en-us/library/bb326213(v=sql.105).aspx
2012:
http://technet.microsoft.com/en-us/library/47efa72e-1735-4387-8485-f8994fb08c8c
http://denglishbi.wordpress.com/2011/07/22/configuring-sql-server-denali-reporting-services-sharepoint-2010-integration/
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
A friend asked me to do a clean install of XP Pro on his Satellite laptop. He does not have the original installation disks. His Windows Product Key is for XP Professional, so I used my own XP Pro disk for the install. When it gets to inserting th
-
I was trying to do a photo of mine like in this video but its not working help needed. thanks. http://www.youtube.com/watch?v=egyLY78H7nE When I tried the 3D I got an error message that said (could not complete the new 3D extrusion from selected laye
-
How to open a file with a specific program
I would like to do this in applescript instead of the terminal. I would like to pick the application and the file in the same command so to avoid opening a blank document. open -a textedit /Users/mac/Desktop/GNPRC.doc
-
Transferring contacts from iphone 4s to PC and then to new iphone5
I am getting a new iphone 5 and want to transfer my contacts from my work phone iphone 4S to my PC . when I get new iphone 5 I will then transfer contacts from PC to iphone 5. Can you advise best way for me to do this?
-
Hi, I am using Moto G with Lollipop. Recently i installed Firefox on this device. I tried to open Youtube video in browser itself but it just launched Youtube App and played the video. !!! Its quite weird because Chrome works fine. Kindly help me in