Not able to connect with managed server using ssl connection
Hi Guys,
My weblogic server is running on linux. I have setup ssl connction bu using Demo Identity and Demo Trust.In server logs i can find the following infomation that server is running on secure port.
But once i try connect to managed server using client i m facing below error:
<May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<May 27, 2013 2:55:00 PM IST> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://host:port: Destination unreachable; nested exception is:
javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:767)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.InitialContext.<init>(InitialContext.java:216)
at com.akt.client.WLCLIENT.makeConnection(WLCLIENT.java:40)
at com.akt.client.WLCLIENT.main(WLCLIENT.java:60)
Caused by: java.net.ConnectException: t3s://host:port: Destination unreachable; nested exception is:
javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
... 9 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
javax.net.ssl.SSLHandshakeException: General SSLEngine problem; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 15 more
But in server logs i can see below message
opt/Oracle/Middleware/wlserver_12.1/server/lib/DemoIdentity.jks.>
<May 27, 2013 2:47:06 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/Oracle/Middleware/wlserver_12.1/server/lib/DemoTrust.jks.>
<May 27, 2013 2:47:06 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/jdk1.7.0_21/jre/lib/security/cacerts.>
<May 27, 2013 2:47:06 PM IST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on hostname:port for protocols iiops, t3s, ldaps, https.>
<May 27, 2013 2:47:06 PM IST> <Notice> <WebLogicServer> <BEA-000332> <Started the WebLogic Server Managed Server "Server-Test" for domain "base_domain" running in development mode.>
Please suggest
Edited by: 1008140 on May 27, 2013 2:37 AM
Welcome to OTN
This section related to Database question not fusion middle ware Post your question
Oracle Discussion Forums » Fusion Middleware
Similar Messages
-
Web Proxy Server 3.6 with Administration Server using SSL connection
In your manual: Administrator�s Guide Sun� ONE Web Proxy Server Version 3.6 SP3 for UNIX you wrote:
You should also make the administrative connection a mandatory SSL connection
Instead of using http://servername:port_number
I need to use:
https://servername:port_number
How can I do that?
Thanx
Gian MarioHI
To enable https for the admin,
Create a certifcate for the proxy admin
Next, From 'Admin Preferences', click on 'Encryption on/off'
From the 'Encryption on/off'; screen that appears, click on the 'on' radio button. Select the certficate from the alias list and click on OK to enable encryption for the cerficate you have installed for your admin server.
Now restart you admin server.
You wil now be able to connect to your admin using https
Thanks
Nagendra HK -
Not able to start SOA managed server first time with node manager by WLST
Hi all,
I have created a SOA11g domain. Then using WLST utility I have started the Node Manager.
Then from WLST prompt I have connected to the Node Manager & started the Admin Server successfully.
But when ever I am starting the SOA manager server using WLST it's throwing the following error in WLST page : -
Error Starting server soa_server1: weblogic.nodemanager.NMException: Exception while starting server 'soa_server1'
In server log file I am getting the following error : -
Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
weblogic.security.SecurityInitializationException: Authentication for user denied
I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.
Can anyone please tell me what can be the issue?
Thanks in Advance!!!
Edited by: 008 on Dec 6, 2012 7:53 PMHi,
I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.When you a server for the first time by using console or startManagedWeblogic.cmd, a file boot.properties is created under %DOMAIN_HOME%\servers\soa_server2\data\nodemanager...
The WLST/Nodemanager approach doesn't create the file so it won't work for the first start... But it will work just fine from the second on...
I've never tried, but you can try and create the boot.properties manually in your script with the following content... Password should be encrypted after the first successful start...
username=type-the-username-here
password=type-the-password-here
Cheers,
Vlad -
NodeManager not able to start second managed server in same machine
Hi,
I am facing an issue, I am not able start a second ManagedServer(MG2) using nodemanager (through AdminConsole)
My setup is as below:
Server 1
1) Admin Server + ManagedServer (MG1) (INSTALL LOCATION: /opt/web/MyServer1)
2) Second Managed Server (MG2) (INSTALL LOCATION: /opt/web/MyServer2)
Both belong a same Domain (MyDomain) and NodeManager runs from /opt/web/MyServer1
I can start MG1, but not MG2.
I did
1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
I see following error in nodemanager.log,
The domain 'MyDomain' at '/opt/web/MyServer2/domains/MyDomain' was not registered in the nodemanager.domains file and dy
namic domain registration is not supported. Please register the domain in the nodemanager.domains file.
I can start the MG2 if I manually edit nodemanager.domains to point /opt/web/MyServer2/domains/MyDomain.
Is there a way to configure multiple domains locations in nodemanager.domains, so Nodemanger can start managed server installed in different location?Your nmEnroll shows 2 different domain path values supplied - which means you have told NM to try to connect to 2 different domains
1) nmEnroll for (1) nmEnroll('/opt/web/MyServer1/domains/MyDomain','/opt/web/MyServer1/wlserver_10.3/common/nodemanager')
2) nmEnroll for (2) nmEnroll('/opt/web/MyServer2/domains/MyDomain','/opt/web/MyServer2/wlserver_10.3/common/nodemanager')
You also show 2 distinct node managers you are trying to configure.
nmEnroll enrolls a domain, not an individual server. If you have only 1 installation of nodemanager, and only 1 domain, then you would only need one nmEnroll command. -
Not able to work with multiple Databases using oracle.jdbc.driver.OracleDr
Hi all,
I am using the following Oracle Driver in Weblogic 6.1 sp 4
oracle.jdbc.driver.OracleDriver / jdbc:oracle:thin:
Driver. I am not able to select rows from two different table, which resides in two different Databases.
The Exception is :
SQL Exception Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create connection
nother pool: MultiTransactionTest
Start server side stack trace:
java.sql.SQLException: Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create c
on from another pool: MultiTransactionTest
at weblogic.jdbc.jts.Driver.getExistingConnection(Driver.java:288)
at weblogic.jdbc.jts.Driver.connect(Driver.java:123)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:214)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
Can any one help me to fix this issue?
-Thanks & Regards,
Shamil.SShamil S wrote:
Hi all,
I am using the following Oracle Driver in Weblogic 6.1 sp 4
oracle.jdbc.driver.OracleDriver / jdbc:oracle:thin:
Driver. I am not able to select rows from two different table, which resides in two different Databases.
The Exception is :
SQL Exception Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create connection
nother pool: MultiTransactionTestHi. You can't domultiple DBMSes in one transaction unless you use an XA driver and
an XA transaction. Your workarounds are:
1 - Use an XA driver, datasource, and tx
2 - If you're just reading, you can use non-transactional datasources. Do make sure you
always close your connections...
Joe
>
Start server side stack trace:
java.sql.SQLException: Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create c
on from another pool: MultiTransactionTest
at weblogic.jdbc.jts.Driver.getExistingConnection(Driver.java:288)
at weblogic.jdbc.jts.Driver.connect(Driver.java:123)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:214)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
Can any one help me to fix this issue?
-Thanks & Regards,
Shamil.S -
Connection with SQL Server using DBCO
Hi,
I want to connect to Misrosoft SQL Server using DBCO transaction. I have given the following fields.
DB Connection = test
DBMS = MSS
User Name = user02
password = test
Conn. info = MSSQL_SERVER=tcp:10.100.50.36 MSSQL_DBNAME=New_Wisdom
permanent selected
Connection Limit = 5
Optimum Conns = 2
while executing through the statement as follows,
EXEC SQL.
CONNECT :'TEST'
ENDEXEC.
I am getting the dump ' An SQL error occurred when executing Native SQL.
The error 900 occurred in the current database connection "DEFAULT".' Please suggest me what needs to be added or corrected.Hi Benito.
I'm not very familiar with MSS but maybe the following will help a little bit.
Depending on the version of your SAP system you can use the transaction DBACOCKPIT to add connections to non-SAP databases. There is an test connection button in that transaction, too. You will find some information about that transaction in some whitepapers here in the SDN. For example have a look at this one: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1062428c-f1df-2910-b08f-c322feddcd10
ADBC error 16 is just "something went wrong". Is your SAP system using MSS, too? If not you will need the matching DBSL for it on your SAP system.
If you have set up an connection you can use program ADBC_TEST_CONNECTION to check if everything is ok. If I remember it correctly in case of errors it allows you to jump into the trace file. There you should find some usefull information.
Perhaps asking in the Database&OS forum area (there is a MSS forum) might help, too.
Best regards,
Jan -
I am using DHCP/automatic running OS 10.4.11. I upgraded to 10.5 but this did not help.
Ping has started ...
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=1.158 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.941 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.911 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.924 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.995 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.971 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.964 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.937 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.894 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=0.874 ms
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.874/0.957/1.158/0.075 ms -
Problem starting managed server using Node Manager/WL 7
I have just configured Node Manager for the first time to start a managed server,
following the documentation 'Managing Server Availability with Node Manager'. However
when I attempt to start the managed server from the Administration Console I always
get the following exception:
<Jul 10, 2002 1:59:29 PM EDT> <Info> <[email protected]:5555> <Starting
Server webdevDomain::apps ...>
<Jul 10, 2002 1:59:29 PM EDT> <Info> <[email protected]:5555> <BaseProcessControl:
saving process id of Weblogic Managed server 'apps', pid: 15094>
Starting WebLogic Server...
Connecting to http://198.242.140.49:17043...
<Jul 10, 2002 1:59:32 PM EDT> <Critical> <WebLogicServer> <000364> <Server failed
during initialization. Exception:weblogic.management.configuration.ConfigurationException:
Exception encountered connecting to http://198.242.140.49:17043/wl_management_internal2/Bootstrap
- with nested exception:
[java.io.StreamCorruptedException: InputStream does not contain a serialized object]
java.io.StreamCorruptedException: InputStream does not contain a serialized object
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:844)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:163)
at weblogic.management.ManagedServerAdmin.bootstrapLocalServer(ManagedServerAdmin.java:212)
at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:122)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:665)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
at weblogic.Server.main(Server.java:31)
But I am able to start the managed server using the startApps.sh script with no problems.
I am running WL 7 on Solaris 2.8. All processes are running on the same host.
Any help is appreciated!
JohnRe-installing WL Server 7.0.0.1 resolved this problem.
- John -
Make connection with j2ee server
i am using j2me wireless toolkit. i installed j2ee also on my computer. i need to connect to this server using Generic Connection Framework(GCF) supported by j2me.
When i write the relevant code and execute it , i am getting no response. I am new to this field so plz help me.Well, then show us the relevant code (and error print), like this, we can only guess what's wrong..
-
Dispatcher stopped and not able to connect with sql server
Hi ,
In one of test system disp+work is started and then within no time its stopped.
I am able to connect with sql server 2005 database but while starting sap dispatcher is stopping.
Here is the log of dev_wo
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Thu Jan 05 07:24:02 2012
B create_con (con_name=R/3)
B Loading DB library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' ...
B Library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' loaded
B Version of 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' is "700.08", patchlevel (0.72)
B New connection 0 created
M sysno 11
M sid DE1
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 75
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 988
M
M kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 988) [dpxxdisp.c 1299]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 23936 (1408)
M DpShMCreate: sizeof(tm_adm) 3994272 (19872)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1440)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 07F90040, size: 4659000)
M DpShMCreate: allocated sys_adm at 07F90040
M DpShMCreate: allocated wp_adm at 07F91E40
M DpShMCreate: allocated tm_adm_list at 07F97BC0
M DpShMCreate: allocated tm_adm at 07F97BF0
M DpShMCreate: allocated wp_ca_adm at 08366E90
M DpShMCreate: allocated appc_ca_adm at 0836CC50
M DpShMCreate: allocated comm_adm at 0836EB90
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 083EFA50
M DpShMCreate: allocated gw_adm at 083EFA90
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 083EFAC0
M DpShMCreate: allocated wall_adm at 083EFAC8
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Thu Jan 05 07:24:03 2012
M ThInit: running on host sugarland
M
M Thu Jan 05 07:24:04 2012
M calling db_connect ...
C Warning: Env(MSSQL_SERVER) [SUGARLAND\DE1] <> Prof(dbs/mss/server) [SUGARLAND]. Profile value will be used.
C Thread ID:708
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 72
C patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
C np:(local) connection used on SUGARLAND
C CopyLocalParameters: dbuser is 'de1'
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:19 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:34 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:24:49 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn to np:(local).
C Retrying without protocol specifier: (local)
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:05 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:21 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C
C Thu Jan 05 07:25:37 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn. 0
B ***LOG BY2=> sql error 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Thu Jan 05 07:25:37 2012
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10354
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 988) [dpnttool.c 327]
Please help me on this
Thanks
SrikanthHi Amit,
I restarted the system but dispatcher still in same stage.
Here is the log for dev_w0
========================================
Fri Jan 06 03:41:06 2012
C OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn. 0
B ***LOG BY2=> sql error 0 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1411]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Fri Jan 06 03:41:06 2012
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10354
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3632) [dpnttool.c 327] -
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 -
i tried for update but when i saw the screen its showing an arrow with a USB cable towards itunes icon, and now i'm not able to do anything, i also tried to connect ipad through my laptop but no use
That message means that you have to restore the iPad now. There was a problem with the update. So connect the iPad to your computer and restore your iPad.
You can read bout it here.
http://support.apple.com/kb/ht1414
If that does not work you will need recovery mode. You can read about it here.
http://support.apple.com/kb/ht4097
Or you can follow these Recovery Mode Instructions
Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
Use iTunes to restore iPad. -
We have a number of users all of a sudden getting "No connectivity with the server. The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
just by clicking the link and selecting the "Read Only" option. If they select the "Check Out and Edit" option, they can open the document no problem. One of my customers gets the error on one document but not the other, in
the same document library! The older document (a weekly report) was copied and renamed as per standard procedure. She can read the older document, but not the new one.
It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error. We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
created profile does not experience the error for these people. Renaming the profile back restores all their personal settings but the error reappears. When we copied the old profile's folder structure into the new profile, many of the user settings
were restored (but not all, like Dreamweaver settings) but the error did not appear. We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy. We are rebooting between
logons to make sure all files are unlocked.
The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
2005 SP4. SharePoint is 64bit MOSS 2007 with the latest CU.
We've checked the logs on the client as well as on the server and there aren't any helpful entries. We've also run Process Monitor, also with no helpful entries. We're planning to run something like Fiddler next.
It's not everyone, because there are many people are accessing the SharePoint system and the same files. It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes. One person experiencing
the errors is a Site Collection Admin. That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file. They were able to open it Read Only no problems that day, but the next day, the same
file gave them an error. In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
We've tried lots of things including:
Deleting IE cache
Deleting SharePoint Drafts and webcache folder contents
Running IE without add-ons
Upgrading and Downgrading IE
Uninstalling and re-installing IE
Reinstalling our SSL certs
Repairing Office
Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool
Deleting all HKLM and HKLU Office registry settings
Toggling IE Compatibility Settings
Toggling the IE Automatic Logon option
Toggling the location of checked out files
Adding the site in the trusted sites list
Adding the site to the WebClient\Parameters registry locations
Making sure the WebClient service is started
Rebooting the machine (lol :)
This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing. There aren't
"check out" workarounds for some of those macros.
We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next. Thanks!
-Richard.
PS I think this needs to be in the "General" forum instead?It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes. It helped tremendously that my own machine was throwing the error. I have scheduled a couple of users to work with me to test the
various fixes, to see which one works best, so the story isn't over yet.
I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done. I made a copy of the profile folder and was using that for awhile,
but then made another copy where I had deleted a lot of content out of it so that the copies would go faster. Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
to get back to work. Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore. The concept was to keep as much as the users profile
in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error. I then tried xcopy, but got the "can't read file" error. Then I tried robocopy, and ran into the "junction" problem.
I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
So the process went as follows:
Reboot and log into the machine as another user
Delete the profile and associated registry key
Reboot and log into the machine as the affected user, creating a new profile, and there is no error
Reboot and log in as the other user
xcopy the contents of the skinned-down backed-up profile to the newly created profile
Reboot and log in as the affected user, and the error occurs
Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring. That was strange, because we've cleaned out the cache folders
before which didn't fix the issue.
So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
One way to do this was to:
Reboot and log in as another user
Rename the c:\users profile folder
Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
Reboot and log in as the affected user, confirm that there is no error
Reboot and log in as the other user
Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
Delete new profile folder, and rename the backup to be the production folder
Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
Reboot and log in as the affected user, confirm that there is no error
We've tried this on a couple machines and it works. I had to run Windows Explorer as Administrator to access the other profile's folders.
We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
We may attempt to script this, but the self-help instructions are only 5 lines long:
Reboot and log into the affected computer with another account
Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
Run Windows Explorer as Administrator
Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
Reboot and log into your normal account, and confirm the error is gone
I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it. -
Documents not Opening, No connectivity with the server
Morning,
Strange problem we are encountering that seems to be with a specific image build we have of Windows 7 Enterprise x64, with and without Service Pack 1 using IE8 x32 and Office 2010 x64. When we try to open Word, Excel, or specifically PowerPoint documents
on our new SharePoint 2010 server we get the following error: No connectivity with the server.
Here is a JPG of the error message:
http://www.gofsj.com/fsj/uploads/caa612c339cccaf12448e34a65c83d7d_erroropeningdocument.jpg
A "normal" install of Windows 7 Enterprise x64, with no custom configuration (but getting the domain group policies) can view the files on SharePoint 2010, no problems. Unfortunately, we've already deployed the "odd" image out to 50+
machines.
We have tried resetting Internet Explorer, uninstalling Office 2010 x64 and installing Office 2010 x32 with no luck.
What is really going on? Is it a SharePoint plugin that isn't installed? Is it Internet Explorer isn't configured correctly, or has DLLs that aren't registered? Or something with Office 2010? Is there a way to capture more than this
Error Message? This is what pretty much stamps in the Event Viewer too...This may be related to the Network and Sharing Center stating the computer is not connected to any network, and the Windows Firewall stating it is on a Public Network. Even though the machine is connected and running on the LAN.
I added SERVICE with full control (and pushed it down to registry subkeys) on HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList. Then I Enabled/Disabled the LAN Adapter. Could also reboot, or physically unplug the cable. Not
sure if restarting a specific service would accomplish the same thing or not.
In the Network and Sharing Center it came up as on the domain. Windows Firewall came up as being on a Domain. And I was able to open PowerPoint and Excel documents on the SharePoint site.
So for now, looks like this is fixed. -
Not Able to Promote DC to server even i am using built in Administrator Account.
hi,
i am facing below mentioned issue from last 4 to 5 days and i am very frustrating about this error and nobody give me a proper solution. if any anybody facing this kind of issue please give me a solution this will very helpful for me.
"Windows Server 2012 domain controllers have a default for the security setting named "Allow cryptography algorithms compatible with Windows NT 4.0" that prevents weaker cryptography algorithms when establishing security channel sessions."
Thanks & Regards,
Sushant Chavan.Hi Sushant,
>>Not Able to Promote DC to server even i am using built in Administrator Account.
I have seen your thread "Verification of prerequisites for Domain Controller promotion failed" and provided a reply.
Verification of prerequisites for Domain Controller promotion failed
http://social.technet.microsoft.com/Forums/en-US/23f33ffa-a847-47bc-81d4-569f8e195886/verification-of-prerequisites-for-domain-controller-promotion-failed?forum=winserver8gen
In the reply, it provides a step-to-step guidance for setting up a Windows Server 2012 Domain Controller. Have we followed it to promote the server?
Best regards,
Frank Shen
Maybe you are looking for
-
How can i see the previews of a folder's images from the Thumbnail View?
I mean, in windows XP if you set the Thumbnail View, inside the icon of the folder you can see the preview of the images inside ( like this http://mowd.idv.tw/LonghornPDC/folder_preview.JPG )... Is there a way to do it on Mac OS X? Maybe some plug-in
-
Hello, SPECS Dell XPS M1350 / 2.4 GHZ INTEL 4 / 3 GB RAM / 220 GB HD / NVIDIA GEFORCE M8000 SERIES PURCHASED Adobe Design Premium Edition. Three months ago. PROBLEM Just last night, I went to load Illustrator CS4 and it loaded just fine. I went to
-
Creating PDFs from documents with graphics having transparent background
I came across this problem when making PDFs of PowerPoint presentations but I have found that the same thing happens in Word. PDFs created from documents containing graphics having transparent backgrounds end up being very large (usually much larger
-
Cannot see zipped files in Windows Explorer
I used the code below to create a zip file. When I use Winzip to open a zip file named test.zip, I can see all the files (a.txt, b.class, etc.) that have been zipped. But, when I double-click on the test.zip in Windows Explorer (Windows XP Profession
-
Hi Experts Is there any BAPI for posting data of Change Master Transaction Code : CC01.