Q0 X Connection to client C of msg server closed as time exceeded
Hi ,
Getting the following message in my syslog..
Q0 X Connection to client C of msg server closed as time exceeded
Could you explain me why the reason for this mesaage in syslog..
Thanks,
Vikram.
Edited by: Vikram Kondapalli on Jul 22, 2009 8:25 AM
For Quick Reply..Post this in BASIS/NETWEAVER Forum.
Similar Messages
-
Issue with re-connecting a Client Computer to the Server Essentials R2 2012
I have an issue re-connecting a Client Computer to Server Essentials R2 2012. The Client Computer in question was connected to the Sever originally. I started getting Error Messages indicating that I was running out of storage room. I
had been wanting to re-configure this Server with additional Hard Drives for some time, but something else always came up first. Now, I was forced to address the problem. I shut down the Server and added additional Hard Drives and while I was at
it I replaced the original Hard Drive that the Server Operating System was on with a much smaller Hard Drive, and reinstalled Server Essentials on that Drive. Everything was working fine and the Server Back-up went fine to an external Hard Drive.
I was ready to re-install my Client Computers. I started with my primary Production Computer first. The Connector Software seemed to install fine, but as I moved through the Connection Wizard I received the following Error Message: "Cannot
connect this computer to the network. This computer is already connected to another Windows Server Network. Before connecting this computer to the Windows Server Essentials network, you must remove this computer from the current network.
To resolve this issue, contact the person responsible for your network". I am the Administrator. I removed the Connector Software following the instructions in the "Troubleshooting connecting computers to the Server", but I continue
to get the Error Message whenever I attempt to re-connect the Client Computer. I have not attempted to connect any of the other three Client Computers yet as I need to resolve this issue first on my primary production machine. Where am I going
wrong? Does anyone have any suggestions?Hi PARADOX-RED,
Based on the error messages that you provided, please remove the connector software from Control Panel completely. Then, in the problematic computer, please locate
to: Control Panel-> System-> select Change settings. And select the Computer Name tab in the System Properties dialog box, click
change button. Then in the Computer Name/Domain Changes dialog box, please take the computer out of the domain as a workgroup, and rejoin in new domain.
Please check if this issue can be solved. If it still exists, please don’t hesitate to let me know.
Hope this helps.
Best regards,
Justin Gu -
How to connect oracle client (xp) to database server
how to connect oracle client to database server
i have following information
--server ip
--port no
--database name.In addition to these parameters you need username and password.
Then you can connect with
sqlplus -L username@//server_ip:port_no/database_name
Yours,
Laurenz Albe -
How to refresh a client's browser from server without using Timer !
Hi,
can anyone have the code for refreshing the client's browser from server side with out setting the timer . U can do this by setting the Timer from server. but we need some other solution for this problem.
Thanks.There's a meta tag for it.
Kind regards,
Levi -
Connect linux 4 oracle 10g client to window 2003 server oracle 10g server
Hi,
I have my oracle 10g server installed on windows 2003 server.
On another system i have oracle 10g client is installed having RedHad enterprise edition 4.
I want to connect my client to the database server.
I check using oracle universal installer it shows in installed products i.e.
oracle 10g client is installed on linex system.
but when i try to write any command like
[oracle@satish ~]$ sqlplus$
bash: sqlplus$: command not found
[oracle@satish ~]$ tnsping
bash: tnsping: command not foundand it doen't show any enty in applications for oracle which is strange.
as i am new to linux.
how to overcome this problem.
Thanks
Umeshthanks for quick reply
i work like
[oracle@satish ~]$ cd /home/oracle/oracle/product/10.2.0/client_1
[oracle@satish client_1]$ ./tnsping
bash: ./tnsping: No such file or directory
[oracle@satish client_1]$ ./sqlplus /nolog
bash: ./sqlplus: is a directory
[oracle@satish client_1]$ ls
assistants has jdbc nls oui root.sh wwg
bin hs jdk odbc owm root.sh.old xdk
cdata install jlib olap perl slax
cfgtoollogs install.platform jpub OPatch plsql sqlj
classes instantclient jre opmn precomp sqlplus
crs inventory ldap oracore racg srvm
css jar lib oraInst.loc rdbms sysman
diagnostics javavm network ord relnotes uix
[oracle@satish client_1]$
and
[oracle@satish ~]$ expot ORACLE_HOME=/home/oracle/oracle
bash: expot: command not found
[oracle@satish ~]$ expoRt ORACLE_HOME=/home/oracle/oracle
bash: expoRt: command not found
[oracle@satish ~]$ export ORACLE_HOME=/home/oracle/oracle
[oracle@satish ~]$ export ORACLE_SID=neo
[oracle@satish ~]$ export PATH=$PATH:/home/oracle/oracle/product/10.2.0/client_1[oracle@satish ~]$
[oracle@satish ~]$ ./sqlplus /nolog
bash: ./sqlplus: No such file or directory
[oracle@satish ~]$ ./tnsping
bash: ./tnsping: No such file or directory
[oracle@satish ~]$thanks
Edited by: Umesh Sharma on Feb 20, 2009 6:33 AM -
SAP Client to the SAP Server: internal Error (-1102)[Message 131-183]
Hi,
We are using Windows 2008 Server R2, SQL 2008 Standard, SAP B1 8.81 PL08.
When we trying to connect SAP Client to the SAP Server. There has internal Error (-1102) occurred. We can view the database on client, but we always get the same error message after enter the User ID and Password. We have checked the native client and it is installed and also opened the following ports: 1433, 30000, 30001. We have tried to open all of firewall, but itu2019s no use.
When I set a computer in to the engine room and set the network connection, this one can connect SAP Client to the SAP Server.
But when client connect to server by VPN, the IP address will not in the same section. Then We tried to set the IP address has the same network section with the server, but it's still disable.
I set a computer for SAP Server without firewall, complex network, virtual IP and no router in my office. And use a SAP Client which is in different network domain to connect to SAP Server by internet, not VPN, but the SAP Client still canu2019t connect to SAP Server. I get the same internal Error (-1102).
It can not only ping to SAP Server IP, but telnet to the port 1433, 30000, 30001, 445.
When I use a pc with server tools, it can connect to the SAP Server by the localhost license. But if I use a computer only install client and assign the server license. The latter one always got the error.
How could we solve this problem? Is there has another setting I am missing which might be blocking the connection?
Thanks in advance.Hi,
We are using VPN and using Terminal Licensing or Remote Desktop Conneciton.
The idea here is VPN will connect you to the network and when you are connected to the network
dont use the direct LAN IP connection use the Terminal Licensing to connect.
Again both are needed VPN and Terminal Licensing. VPN for the connection and if successfully connected
use or connect from Terminal Licensing or Remote Desktop connections.
Thanks.
Clint -
Probelm client auth from jsse client with open ssl server
I tried to connect jsse client with a openssl server.. with clientAuth
This is what i did ..
Using openssl req comand i created a X509 certificate for server and imported the same to java keystore..
The communication works fine without client authentication.
To enable client auth i create client private/public key pair using keytool and exported the public key to a file client.public. and used it in open ssl server .
This is how i invoke the client ..
java
-Djavax.net.debug=all
-Djavax.net.ssl.trustStore=cacerts
-Djavax.net.ssl.trustStorePassword=changeit
-Djavax.net.private -Djavax.net.ssl.keyStorePassword=password EchoClient
After which i get following error in server
SSL3 alert write:fatal:handshake failure
SSL_accept:error in SSLv3 read client certificate B
SSL_accept:error in SSLv3 read client certificate B
ERROR
17246:error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate:s3_srvr.c:1666:
shutting down SSL
CONNECTION CLOSED
The client debug says it is recieving a certificate request.. what could be the problem.. can anybody help...i also have that problem. I was trying to configure SSL in apache in Win XP machine, but this error occurs. Is there anyone, who can help on it?
-
Connecting Java client to SSL server with existing certificates
I am currently trying to connect my Java client to an existing server application
written in C++. I have been provided the needed certificates (root.pem, server.pem,
and client.pem). My code simply creates a SSLSocket and then attempts to read
from it. Something goes wrong during the handshake process and I get a SSLHandshakeException. The certificates have been added to the keystore
I am using, and I do not know any other action to take.
Here is the debug output:
setting up default SSLSocketFactory
use default SunJSSE impl class: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl is loaded
keyStore is :
keyStore type is : jks
keyStore provider is :
init keystore
init keymanager of type SunX509
trustStore is: keystore.jks
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: [email protected], CN=Employee, OU=test, O=company-USA, L=City, ST=AL, C=US
Issuer: [email protected], CN=company Employee, OU=test, O="company, Inc.", L=City, ST=AL, C=US
Algorithm: RSA; Serial number: 0xb40b909f74d167aa
Valid from Tue Sep 12 09:42:01 CDT 2006 until Thu Oct 12 09:42:01 CDT 2006
adding as trusted cert:
Subject: [email protected], CN=Employee, OU=test, O="company, Inc.", L=City, ST=AL, C=US
Issuer: [email protected], CN=ISAC Employee, OU=test, O="company, Inc.", L=City, ST=AL, C=US
Algorithm: RSA; Serial number: 0xb40b909f74d167ab
Valid from Tue Sep 12 09:49:12 CDT 2006 until Thu Oct 12 09:49:12 CDT 2006
adding as trusted cert:
Subject: [email protected], CN=company Employee, OU=test, O="company, Inc.", L=City, ST=AL, C=US
Issuer: [email protected], CN=company, OU=test, O="company, Inc.", L=City, ST=AL, C=US
Algorithm: RSA; Serial number: 0xf6e3ada87dc4004f
Valid from Tue Sep 12 09:40:32 CDT 2006 until Thu Oct 12 09:40:32 CDT 2006
init context
trigger seeding of SecureRandom
done seeding SecureRandom
instantiated an instance of class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
SSL socket created
%% No cached client session
*** ClientHello, TLSv1
RandomCookie: GMT: 1158089181 bytes = { 138, 112, 170, 91, 246, 86, 216, 146, 160, 188, 243, 154, 238, 132, 33, 219, 251, 3, 93, 25, 191, 247, 41, 14, 99, 135, 130, 23 }
Session ID: {}
Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
Compression Methods: { 0 }
[write] MD5 and SHA1 hashes: len = 79
0000: 01 00 00 4B 03 01 45 07 0A DD 8A 70 AA 5B F6 56 ...K..E....p.[.V
0010: D8 92 A0 BC F3 9A EE 84 21 DB FB 03 5D 19 BF F7 ........!...]...
0020: 29 0E 63 87 82 17 00 00 24 00 04 00 05 00 2F 00 ).c.....$...../.
0030: 35 00 33 00 39 00 32 00 38 00 0A 00 16 00 13 00 5.3.9.2.8.......
0040: 09 00 15 00 12 00 03 00 08 00 14 00 11 01 00 ...............
Client Thread, WRITE: TLSv1 Handshake, length = 79
[write] MD5 and SHA1 hashes: len = 107
0000: 01 03 01 00 42 00 00 00 20 00 00 04 01 00 80 00 ....B... .......
0010: 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 00 00 ..../..5..3..9..
0020: 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 00 13 2..8............
0030: 00 00 09 06 00 40 00 00 15 00 00 12 00 00 03 02 .....@..........
0040: 00 80 00 00 08 00 00 14 00 00 11 45 07 0A DD 8A ...........E....
0050: 70 AA 5B F6 56 D8 92 A0 BC F3 9A EE 84 21 DB FB p.[.V........!..
0060: 03 5D 19 BF F7 29 0E 63 87 82 17 .]...).c...
Client Thread, WRITE: SSLv2 client hello message, length = 107
[Raw write]: length = 109
0000: 80 6B 01 03 01 00 42 00 00 00 20 00 00 04 01 00 .k....B... .....
0010: 80 00 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 ....../..5..3..9
0020: 00 00 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 ..2..8..........
0030: 00 13 00 00 09 06 00 40 00 00 15 00 00 12 00 00 .......@........
0040: 03 02 00 80 00 00 08 00 00 14 00 00 11 45 07 0A .............E..
0050: DD 8A 70 AA 5B F6 56 D8 92 A0 BC F3 9A EE 84 21 ..p.[.V........!
0060: DB FB 03 5D 19 BF F7 29 0E 63 87 82 17 ...]...).c...
Client Thread, received EOFException: error
Client Thread, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Client Thread, SEND TLSv1 ALERT: fatal, description = handshake_failure
Client Thread, WRITE: TLSv1 Alert, length = 2
[Raw write]: length = 7
0000: 15 03 01 00 02 02 28 ......(
Client Thread, called closeSocket()
Error: Remote host closed connection during handshake
Thread-4, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake(I am the original poster of this message, I had to create a new username though).
The original problem had to do with incompatibilities with the protocol and/or cipher suites
used. Now, the client and server perform most of the handshake process, but something
goes wrong as the server requests the client certificate. In other words, the server requires
mutual authentication, but for some reason it seems like my JSSE client won't send over
it's client certificate. I don't get any type of bad certificate exceptions, so I'm not sure
where the source of the error lies.
Updated output:
setting up default SSLSocketFactory
use default SunJSSE impl class: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl is loaded
keyStore is : keystore
keyStore type is : jks
keyStore provider is :
init keystore
init keymanager of type SunX509
trustStore is: truststore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: [email protected], CN=Employee, OU=default, O="default Inc.", L=default, ST=AL, C=US
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Algorithm: RSA; Serial number: 0xb40b909f74d167ab
Valid from Tue Sep 12 09:49:12 CDT 2006 until Thu Oct 12 09:49:12 CDT 2006
adding as trusted cert:
Subject: [email protected], CN=default-Server, OU=HawkEye, O=default, L=default, ST=AL, C=US
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Algorithm: RSA; Serial number: 0xb40b909f74d167ac
Valid from Tue Sep 12 14:42:28 CDT 2006 until Thu Oct 12 14:42:28 CDT 2006
adding as trusted cert:
Subject: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Algorithm: RSA; Serial number: 0xf6e3ada87dc4004f
Valid from Tue Sep 12 09:40:32 CDT 2006 until Thu Oct 12 09:40:32 CDT 2006
init context
trigger seeding of SecureRandom
done seeding SecureRandom
instantiated an instance of class com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl
%% No cached client session
*** ClientHello, TLSv1
RandomCookie: GMT: 1158242806 bytes = { 71, 195, 185, 44, 86, 96, 14, 11, 171, 76, 105, 135, 136, 114, 53, 54, 137, 75, 202, 254, 112, 208, 240, 91, 199, 246, 175, 207 }
Session ID: {}
Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
Compression Methods: { 0 }
Client Thread, WRITE: TLSv1 Handshake, length = 79
Client Thread, READ: TLSv1 Handshake, length = 74
*** ServerHello, TLSv1
RandomCookie: GMT: 1158242807 bytes = { 63, 93, 48, 73, 98, 251, 160, 215, 61, 110, 246, 12, 5, 209, 95, 194, 152, 193, 0, 181, 135, 26, 150, 174, 52, 92, 56, 250 }
Session ID: {83, 31, 134, 30, 76, 200, 183, 120, 7, 94, 26, 65, 186, 91, 197, 25, 10, 193, 94, 220, 198, 250, 162, 153, 6, 89, 12, 250, 66, 105, 249, 211}
Cipher Suite: TLS_RSA_WITH_AES_128_CBC_SHA
Compression Method: 0
%% Created: [Session-1, TLS_RSA_WITH_AES_128_CBC_SHA]
** TLS_RSA_WITH_AES_128_CBC_SHA
Client Thread, READ: TLSv1 Handshake, length = 1903
*** Certificate chain
chain [0] = [
Version: V3
Subject: [email protected], CN=Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: Sun RSA public key, 1024 bits
modulus: 164546130673614659100546464587508805401937082626997447139358150641653094778762702643605529386963945060462618417820295217144739538713137107756847225226998964727905246706969036839701385553183842454061172884072035749790213037240682893878786969498404371282074360019097248835858617183835587887295684928062301303789
public exponent: 65537
Validity: [From: Tue Sep 12 09:49:12 CDT 2006,
To: Thu Oct 12 09:49:12 CDT 2006]
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
SerialNumber: [ b40b909f 74d167ab]
Certificate Extensions: 4
[1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene
0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat
0020: 65 e
[2]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: C8 EA 02 93 42 9E 44 D1 55 7D 2D 32 4B 9B 1C 6D ....B.D.U.-2K..m
0010: 63 6B 73 82 cks.
[3]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 2C BC 66 DC 06 BA 62 79 3B 1A 20 92 E0 81 71 A0 ,.f...by;. ...q.
0010: 0D 05 3C 95 ..<.
[[email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US]
SerialNumber: [ f6e3ada8 7dc4004f]
[4]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:false
PathLen: undefined
Algorithm: [SHA1withRSA]
Signature:
0000: BF 60 5A 67 3E E6 F0 92 4F E4 81 6D 71 0A 2E E8 .`Zg>...O..mq...
0010: F3 59 A1 87 7B D1 3A 7A CB FF D6 39 63 79 B6 82 .Y....:z...9cy..
0020: 2A 22 D0 46 51 30 6B 2A 61 6B A0 4C F0 3B CE 5B *".FQ0k*ak.L.;.[
0030: 9C 1D 46 CB D7 C2 B2 23 E2 A5 06 CD 12 F8 A9 CB ..F....#........
0040: B5 A2 43 B1 06 4C 42 B5 67 F2 DF 50 6B BC 8A 5E ..C..LB.g..Pk..^
0050: 95 0D F3 2A 73 A8 5A C8 55 77 D7 36 74 16 9E 05 ...*s.Z.Uw.6t...
0060: 85 C6 DC 3C 44 D3 06 5E 47 0C 1F 80 40 30 C7 D8 ...<D..^G...@0..
0070: 8C 27 FF B9 0C 71 EB D4 31 5C 1F 15 A1 23 6F A2 .'...q..1\...#o.
chain [1] = [
Version: V3
Subject: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: Sun RSA public key, 1024 bits
modulus: 140862286957037297158683104484469503810921697537964422595574798580128510755934413463045842414762254029728885690233847950678735782281077619629628663140568366247472189890316085560712610474766899389736269383565795688749374256479726939861138704211990111677657317335172626254520371267441364353295155431963634875809
public exponent: 65537
Validity: [From: Tue Sep 12 09:40:32 CDT 2006,
To: Thu Oct 12 09:40:32 CDT 2006]
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
SerialNumber: [ f6e3ada8 7dc4004f]
Certificate Extensions: 3
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 2C BC 66 DC 06 BA 62 79 3B 1A 20 92 E0 81 71 A0 ,.f...by;. ...q.
0010: 0D 05 3C 95 ..<.
[2]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 2C BC 66 DC 06 BA 62 79 3B 1A 20 92 E0 81 71 A0 ,.f...by;. ...q.
0010: 0D 05 3C 95 ..<.
[[email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US]
SerialNumber: [ f6e3ada8 7dc4004f]
[3]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:true
PathLen:2147483647
Algorithm: [SHA1withRSA]
Signature:
0000: AB 84 38 1F 7B 71 D8 87 FF 24 DB C2 7E DC D0 0B ..8..q...$......
0010: 60 60 14 A8 F8 D5 46 AD 6B FC 33 90 6F 43 08 17 ``....F.k.3.oC..
0020: AE 2B EE 6C 2B 29 85 E2 A6 67 EE 5D A4 61 F3 9E .+.l+)...g.].a..
0030: E7 CA B1 27 F9 11 36 ED 93 05 7B E1 20 90 57 B5 ...'..6..... .W.
0040: C6 F9 8A 9D 50 CD B3 4A 54 DC 1B 52 EC EA 7A 0B ....P..JT..R..z.
0050: B6 E6 95 FD DD 80 BE 66 F0 77 F4 E7 9A 8A A3 EF .......f.w......
0060: 9B 68 57 0C 9C 4B 4C C0 24 C5 34 16 D3 8E 45 27 .hW..KL.$.4...E'
0070: CA 23 F1 E0 C5 5E FB FB AA 1C 21 6E CB 5B 57 D9 .#...^....!n.[W.
Found trusted certificate:
Version: V3
Subject: [email protected], CN=Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: Sun RSA public key, 1024 bits
modulus: 164546130673614659100546464587508805401937082626997447139358150641653094778762702643605529386963945060462618417820295217144739538713137107756847225226998964727905246706969036839701385553183842454061172884072035749790213037240682893878786969498404371282074360019097248835858617183835587887295684928062301303789
public exponent: 65537
Validity: [From: Tue Sep 12 09:49:12 CDT 2006,
To: Thu Oct 12 09:49:12 CDT 2006]
Issuer: [email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US
SerialNumber: [ b40b909f 74d167ab]
Certificate Extensions: 4
[1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene
0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat
0020: 65 e
[2]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: C8 EA 02 93 42 9E 44 D1 55 7D 2D 32 4B 9B 1C 6D ....B.D.U.-2K..m
0010: 63 6B 73 82 cks.
[3]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 2C BC 66 DC 06 BA 62 79 3B 1A 20 92 E0 81 71 A0 ,.f...by;. ...q.
0010: 0D 05 3C 95 ..<.
[[email protected], CN=default Employee, OU=default, O="default, Inc.", L=default, ST=AL, C=US]
SerialNumber: [ f6e3ada8 7dc4004f]
[4]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:false
PathLen: undefined
Algorithm: [SHA1withRSA]
Signature:
0000: BF 60 5A 67 3E E6 F0 92 4F E4 81 6D 71 0A 2E E8 .`Zg>...O..mq...
0010: F3 59 A1 87 7B D1 3A 7A CB FF D6 39 63 79 B6 82 .Y....:z...9cy..
0020: 2A 22 D0 46 51 30 6B 2A 61 6B A0 4C F0 3B CE 5B *".FQ0k*ak.L.;.[
0030: 9C 1D 46 CB D7 C2 B2 23 E2 A5 06 CD 12 F8 A9 CB ..F....#........
0040: B5 A2 43 B1 06 4C 42 B5 67 F2 DF 50 6B BC 8A 5E ..C..LB.g..Pk..^
0050: 95 0D F3 2A 73 A8 5A C8 55 77 D7 36 74 16 9E 05 ...*s.Z.Uw.6t...
0060: 85 C6 DC 3C 44 D3 06 5E 47 0C 1F 80 40 30 C7 D8 ...<D..^G...@0..
0070: 8C 27 FF B9 0C 71 EB D4 31 5C 1F 15 A1 23 6F A2 .'...q..1\...#o.
Client Thread, READ: TLSv1 Handshake, length = 13
*** CertificateRequest
Cert Types: RSA, DSS,
Cert Authorities:
*** ServerHelloDone
*** Certificate chain
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
Random Secret: { 3, 1, 27, 159, 38, 131, 132, 24, 47, 148, 161, 90, 7, 39, 189, 28, 178, 156, 20, 151, 220, 192, 239, 182, 115, 234, 99, 225, 68, 250, 199, 173, 96, 181, 78, 180, 238, 37, 243, 72, 19, 91, 249, 11, 49, 83, 1, 150 }
Client Thread, WRITE: TLSv1 Handshake, length = 141
SESSION KEYGEN:
PreMaster Secret:
0000: 03 01 1B 9F 26 83 84 18 2F 94 A1 5A 07 27 BD 1C ....&.../..Z.'..
0010: B2 9C 14 97 DC C0 EF B6 73 EA 63 E1 44 FA C7 AD ........s.c.D...
0020: 60 B5 4E B4 EE 25 F3 48 13 5B F9 0B 31 53 01 96 `.N..%.H.[..1S..
CONNECTION KEYGEN:
Client Nonce:
0000: 45 09 62 F6 47 C3 B9 2C 56 60 0E 0B AB 4C 69 87 E.b.G..,V`...Li.
0010: 88 72 35 36 89 4B CA FE 70 D0 F0 5B C7 F6 AF CF .r56.K..p..[....
Server Nonce:
0000: 45 09 62 F7 3F 5D 30 49 62 FB A0 D7 3D 6E F6 0C E.b.?]0Ib...=n..
0010: 05 D1 5F C2 98 C1 00 B5 87 1A 96 AE 34 5C 38 FA .._.........4\8.
Master Secret:
0000: 0E 63 38 16 86 A1 84 72 33 2C D7 07 D7 C3 AC E0 .c8....r3,......
0010: AD 5B CD 3B 2E 2A 02 91 1E FE 17 97 4E 3B 56 C3 .[.;.*......N;V.
0020: 5D 0F 7A 99 90 0D 3D 4E 5F 39 C5 EB 6E AD DA 71 ].z...=N_9..n..q
Client MAC write Secret:
0000: 99 32 FA 60 0B 88 36 CD 88 02 D5 4A CA D2 A6 49 .2.`..6....J...I
0010: 69 60 42 B6 i`B.
Server MAC write Secret:
0000: 43 3F 85 72 FB 6D 28 1C BA 1E 8A 26 56 DE 18 FB C?.r.m(....&V...
0010: 01 83 20 7F .. .
Client write key:
0000: 6F 58 29 AB B3 8C F5 75 3C 70 04 DF 9D 01 43 F5 oX)....u<p....C.
Server write key:
0000: 4A D7 E9 63 53 32 78 DF E0 99 89 60 A4 1A 3C E7 J..cS2x....`..<.
Client write IV:
0000: 24 FB 0E 12 AB D2 70 6D 80 B1 B2 BC 78 1A 55 88 $.....pm....x.U.
Server write IV:
0000: E4 75 62 25 46 95 0F 7A 44 16 E2 39 38 AD 29 CD .ub%F..zD..98.).
HawkEye Client Thread, WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data: { 98, 254, 245, 75, 252, 23, 91, 164, 67, 197, 69, 44 }
Client Thread, WRITE: TLSv1 Handshake, length = 48
Client Thread, READ: TLSv1 Alert, length = 2
Client Thread, RECV TLSv1 ALERT: fatal, handshake_failure
Client Thread, called closeSocket()
Client Thread, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Error: Received fatal alert: handshake_failure
Thread-4, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure -
Question on connecting a client VPN ASA
Hi Guys,
i have a question about VPN Tunneling. I have one ASA 5505 with static PPPoE Adress outside and local 192.168.202.0/24 Network, acting as an EasyVPN Server. On the other side is another ASA 5505 without dynamic PPPoE outside interface acting as EasyVPN Client in client ode. Inside network is 192.168.1.0/24
This works pretty well! But now i have created another user that uses an software EasyVPN client to connect the EasyVPN Server. This works as well.
But how am i able to connect the client network 192.168.1.0/24 over the ASA connections?
Please give me some hint."But how am i able to connect the client network 192.168.1.0/24 over the ASA connections?"
Yes, if you set the split-tunnel ACL correctly you should be able connect to remote-client ASA.
Please follow the split-tunnel configuration method from Cisco doc, from below link.
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00808a61f4.shtml
Please rate helpful post.
Thanks
Rizwan Rafeek -
ASA Remote Access VPN: internal LAN cannot connect to connected VPN clients
Hi community,
I configured IPSec remote Access VPN in ASA, and remote client use Cisco VPN client to connect to the HQ. The VPN is working now, VPN clients can connect to Servers inside and IT's subnet, but from my PC or Servers inside LAN cannot ping or initial a RDP to connected VPN clients. Below is my configuration:
object-group network RemoteVPN_LocalNet
network-object 172.29.168.0 255.255.255.0
network-object 172.29.169.0 255.255.255.0
network-object 172.29.173.0 255.255.255.128
network-object 172.29.172.0 255.255.255.0
access-list Split_Tunnel remark The Corporation network behind ASA
access-list Split_Tunnel extended permit ip object-group RemoteVPN_LocalNet 10.88.61.0 255.255.255.0
ip local pool remotevpnpool 10.88.61.10-10.88.61.15 mask 255.255.255.0
nat (inside,outside) source static Allow_Go_Internet Allow_Go_Internet destination static remotevpnpool remotevpnpool
crypto ipsec ikev1 transform-set myset esp-aes esp-sha-hmac
crypto dynamic-map dyn1 1 set ikev1 transform-set myset
crypto map mymap 65000 ipsec-isakmp dynamic dyn1
crypto map mymap interface outside
tunnel-group remotevpngroup type remote-access
tunnel-group remotevpngroup general-attributes
address-pool remotevpnpool
authentication-server-group MS_LDAP LOCAL
default-group-policy Split_Tunnel_Policy
I don't know what I miss in order to have internal LANs initial connection to connected vpn clients. Please guide me.
Thanks in advanced.Hi tranminhc,
Step 1: Create an object.
object network vpn_clients
subnet 10.88.61.0 mask 255.255.255.0
Step 2: Create a standard ACL.
access-list my-split standard permit ip object RemoteVPN_LocalNet
Step 3: Remove this line, because I am not sure what "Allow_Go_Internet" included for nat-exemption.
no nat (inside,outside) source static Allow_Go_Internet Allow_Go_Internet destination static remotevpnpool remotevpnpool
Step 4: Create new nat exemption.
nat (inside,outside) source static RemoteVPN_LocalNet RemoteVPN_LocalNet destination static vpn_clients vpn_clients
Step 5: Apply ACL on the tunnel.
group-policy Split_Tunnel_Policy attributes
split-tunnel-policy tunnelspecified
split-tunnel-network-list value my-split
Step 6:
I assume you have a default route on your inside L3 switch point back to ASA's inside address. If you don't have one.
Please add a default or add static route as shown below.
route 10.88.61.0 mask 255.255.255.0 xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx = equal to ASA's inside interface address.
Hope this helps.
Thanks
Rizwan Rafeek -
I have what I believe to be a unique need;
I have a MacPro (1,1) running Lion with Server app.
I require that this particular machine be connected as a client to a VPN server, while at the same time acting as a VPN server for my network.
The PPTP connection configuration is such that "Send all traffic over VPN connection" is checked.
If PPTP client is NOT connected, I can connect to Lion as VPN server. As soon as I make the connection from Lion as a client, I can no longer
connect to Lion VPN server.
I understand this is because I am forcing all traffic out the virtual interface (tun0) and eth0 is no longer listening on the local network.
1. Is it possible to bind the VPN client (on Lion Server) to a particular interface? If I could tell the PPTP client to only use eth1 as the interface of choice, my assumption would be that eth0 would then be free to accept incoming connections.
2. Is it possible to bind the VPN service (on Lion Server) to a particular interface? if I could tell the vpn serviec to only listen on eth1, and in turn tell the PPTP client to NOT communicate on eth1 but only eth0 then perhaps I could separate the communications?
In my head, it seems as though both of the above options would be required in order to use Lion as both a VPN server and VPN client
Any and all help appreciated.This is a standard facet of most VPNs - the problem lies in your NAT router since both clients appear to come from the same IP address as far as the VPN server is concerned, and the router can't separate out the traffic.
There are a couple of solutions.
First, the built-in VPN server supports L2TP and PPTP protocols. You should be able to connect one system under each protocol, so that gets your two machines connected.
Second, you can replace your NAT router with one that supports multiple VPN clients (often termed 'VPN passthrough').
Third, setup a site-to-site tunnel so that your entire LAN is connected to the VPN (this saves you from having to run a separate VPN client on each machine, but is typically only worth it when you have more machines). -
How can I connect multiple clients to a single client ?
I am currently developing an instant messaging program.I created a server and connected multiple clients to it by using thread logic.However I do not know how to connect multiple client to a single client.
What shall I do for that?Does anybody know a good tutorial or sample program?Or shall anybody explain me what I shall do for building the Instant Messaging part of my chat program?
Thank u in advance.You may use UDP multicast socket. But since you are using the UDP protocol you might risk losing the data that you send since UDP does not guarantee the safe transfer of data.
Alternately, you might create a server that allows multiple client to connect to it whose connection Socket objects are then stored in a Vector <Socket> object. The server then sends back data to the connected client about the other clients connected to it. Now when the client wants to send data (like an IM) to another connected client, it has to send a request to the server specifying the client login name and the server in turn streams that particular client's Address and Port to the requesting client. The requesting client then initiates the connection with the other client and then starts a conversation. One more thing, when the client communicates it needs to send information to the server like the name by which it likes to be referenced. In this scenario the server acts like a central repository for clients to query the existence of other clients in the chat room. Each client here runs a thread that listens to incoming connections and when a connection is established, may be opens a IM window or something.
The third option is to make the server to relay the information from one client to another. Like say, I'm connected to whoopy server and i want to send "Hello" to jackson, then i send the message (ie, Hello) along with the name of the client to which i wish to send it to (ie, jackson). The server then performs a lookup in its Vector <Socket> object and then initiates a connection with jackson and sends the information. However, this method is pretty costly in that you will be wasting a lot of processing behind the server.
--Subhankar
P.s. If you stumble upon any other brilliant ideas let me know. -
Connect mac client to mac printer share across subnets
I need to share printers from a Mac. I need to connect
Mac clients on different subnets to the Mac shared printers. I installed
a Mac mini, connected to printers via HP JetDirect Socket (port 9100), and
shared them. I was able to print from the Mac mini, and connect Mac
clients on the same subnet to the shared printers with Bonjour and print.
I moved the Mac mini to its intended location on another subnet. I
immediately learned that Bonjour does not publish services across
subnets. I could not find documentation on how to connect to a Mac shared
printer across subnets, but I did find some third party documentation (only some incomplete
documentation from Apple) on how to implement DNS-SD Service Discovery. I
enabled DNS-SD and was able to publish the printer shares across subnets, but I
was still unable to connect to the printer shares from a Mac client. I
found some third party documentation (none from Apple) on how to manually connect to a Mac
printer share by specifying the IP address of the server, specifying the CUPS
default IPP protocol, and the print queue name. I was unable to connect
to the shared printers. I receive ping replies from my Mac mini, and port
scan reveals that port 631 for IPP, CUPS default, is open. Printer
sharing is configured so everyone can print. I am able to connect to the Mac
mini with VNC Screen Sharing. I don’t see how this can be a network
issue.
Macs don’t seem to like to connect to our Windows
shared printers because of our PaperCut software, and connecting Mac clients to
Windows printer shares and authentication is beyond the average user,
exacerbated by Macs not behaving the same as Windows when bound to an Active
Directory domain.
I called Apple support, they escalated to Apple Enterprise
support. Apple Enterprise support said they couldn’t help me beyond a
single network with no subnets, but Apple Engineering might be able to solve
the problem for $695.
Why do I need to pay $695 to learn how to connect Mac
clients to Mac shared printers, something that should be easy and intuitive and
have documentation readily available? Windows printer sharing is easy and
intuitive and documentation is readily available, and services are published
across subnets without have to implement DNS-SD.Thank you for your reply. I followed the instructions in the sybaspot.com site and in some of the included references to set up DNS-SD. DNS-SD worked, but I couldn't connect the Mac client to the Mac shared printers.
I also found http://www.papercut.com/products/ng/manual/ch-mac-printing-10-8-9.html#ch-mac-pr inting-10-8-9-sharing-printers.
I expanded my search and found this: http://support.apple.com/kb/PH13940, last modified May 8, 2014. I started work on my project February 2014. Apple Support could have told me about this document.
PH13940 says: "The computers must be on the same local network as your Mac". Apple must not consider multiple subnets one network.
PH13940 says: "Printer sharing is for printers attached directly to your Mac. You don’t need to share network printers, because they are already shared on the network."
Apple must define "network printers" as any printer with a network interface. Microsoft defines network printers as printers shared by another computer. TCP/IP ports are local ports on a Windows computer, so TCP/IP connected printers are local printers that can be shared. Multiple users on a Mac all see the same connected printers. Multiple users on Windows all see the same local printers, but network printer connections can be different for each user.
Apple must not see any value in accounting for printing and assigning the cost to the user or department. We need to account for printing and cannot have any users bypassing the system by printing directly to printers. I have created Access Control lists on the printers to limit connections to the specific IP addresses of our print servers.
The documents about setting up DNS-SD and IPP connections must have assumed USB connected printers on a Mac. The odd thing is that I was able to share a network printer from the Mac mini when the client Mac was on the same subnet. Is PH13940 wrong?
I am Microsoft Certified Systems Engineer 1999 and Apple Certified Technical Coordinator 2013. -
Error : Connecting to Client
Hi
While connecting to client using server and repository am getting an error : " WinSock error on connect ".
This is happening with particular reporsitory, kindly advise
1. what will be exact reason and
2. how to overcome the same?
thanks
AlexanderHi Alexander,
Whenever you get WinSock error, try to unload & unmount the repository, stop the server and start server and then mount & load the repository.
Whenever the connection to backend database is lost, this error pops up.
Good Luck.
Rajani Kumar -
RMI How can a Client reconnect to a server after connection(any)-error
I have the following problem:
My RMI-Server runs for ever. In a batch-queue I have a procedure which looks periodly wether rmiregistry
and RMI-Server exists. On error both processes are killed and restarted.
My client as a simple example is displaying the server time. If any communication-problem with the
server exists, I need an automatic reconnect to the server. I accept that into the time distanz of the
error the display is frozen. Its unacceptable to restart the client !!.
The following example demonstates my test-example:
Server:
1. Start
2. waits for connecting (factory)
3. answer time-requests
Client:
1. Start
2. create a time class initially 1.jan.1970 00:00:00
3. Start a timer displaying the time class every second
4. start a timer connecting/reconnecting to the server and ask the servers actual time every second
PS. Is the server to stubil programmed, so that a hang can exists?
It would be nice, if anybody could answer me !!
The following sources work correctly without solving the problem of the reconnect:
////////////// Echo.java
package emi.server;
import java.rmi.*;
import java.util.*;
public interface Echo
extends Remote
public Date getTime() throws RemoteException;
////////////// EchoClient.java
package emi.server;
//import emi.utility.basics.*;
public class EchoClient
public static void main(String args[]) throws Exception
EchoClient echoclient1 = new EchoClient();
//Check the argument count
if (args.length != 1)
System.err.println("Usage: EchoClient <server> --> EXIT");
System.exit(0);
// all of time relevant things
Etim acttim = new Etim();
// displaying continous the time
EchoClientDisplay disp = new EchoClientDisplay(acttim);
disp.StartTimer();
// transfering continous the time from the server
EchoClientTransfer trans = new EchoClientTransfer(acttim, args[0]);
trans.StartTimer();
////////////// EchoClientDisplay.java
package emi.server;
import java.awt.event.*;
import javax.swing.*;
// displaying every 750 Milliseconds the value of the time
public class EchoClientDisplay implements ActionListener
private Timer tim;
private Etim tact;
public EchoClientDisplay(Etim tact)
tim = new Timer(750, this);
this.tact = tact;
public void StartTimer()
tim.setRepeats(true);
tim.setInitialDelay(5);
tim.start();
public void actionPerformed(ActionEvent e )
System.out.println(tact.toString());
////////////// EchoClientTransfer.java
package emi.server;
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
import java.awt.event.*;
import javax.swing.Timer;
import java.util.Date;
// transferring the actual time from the server
public class EchoClientTransfer implements ActionListener
private Etim tact;
private String hostname;
private Timer tim;
private boolean init = false;
private Echo echoRef1 = null;
public EchoClientTransfer(Etim tact, String hostname)
this.tact = tact;
this.hostname = hostname;
this.tim = new Timer(500, this);
public void StartTimer()
tim.setRepeats(true);
tim.setInitialDelay(5);
tim.start();
public void actionPerformed(ActionEvent e )
//>>>>>>>>>>> this construction doesnt work correctly, its only good until the first
// network error
try
if( init == false )
// Create and install the security manager
System.setSecurityManager(new RMISecurityManager());
//get the remote factory object from the registry
String url = new String("rmi://"+ hostname +"/EchoFactory");
EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
//get references to new EchoImpl instances
echoRef1 = remoteFactory.getEcho("User Meyer");
init = true;
if( init = true )
//make the remote calls
Date d = echoRef1.getTime();
tact.setDate(d);
catch(Exception ee)
System.out.println(ee.toString());
init = false;
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
////////////// EchoFactory.java
package emi.server;
import java.rmi.RemoteException;
import java.rmi.Remote;
public interface EchoFactory extends Remote
Echo getEcho(String userName) throws RemoteException;
////////////// EchoFactoryImpl.java
package emi.server;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
public class EchoFactoryImpl extends UnicastRemoteObject implements EchoFactory
EchoFactoryImpl() throws RemoteException {};
public Echo getEcho(String userName) throws RemoteException
EchoImpl echoRef = new EchoImpl(userName);
return (Echo)echoRef;
////////////// EchoImpl.java
package emi.server;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.*;
public class EchoImpl extends UnicastRemoteObject implements Echo
private String userName;
public EchoImpl() throws RemoteException
public EchoImpl(String userName) throws RemoteException
this.userName = userName;
public Date getTime()
Etim e = new Etim();
e.setTimeAct();
return e.get();
////////////// EchoServer.java
package emi.server;
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
public class EchoServer
public static void main(String args[]) throws Exception
// Create and install the security manager
System.setSecurityManager(new RMISecurityManager());
// Create the servant instance for registration
EchoFactory factoryRef = new EchoFactoryImpl();
// Bind the object to the rmiregistry
Naming.rebind("EchoFactory", factoryRef);
System.out.println("Echo object ready and bound to the name 'EchoFactory'!");
////////////// Etim.java
package emi.server;
import java.util.*;
import java.text.*;
// this is my central class working up all time problems .. many hundred lines of code
// I think, you must not look at this code ist setting and reading time
// this is only a subset of methods for this example
public class Etim
private Date dat;
private Calendar cal;
public Etim()
cal = Calendar.getInstance(); // Gregorianischer Kalender
dat = new Date(0L); // January 1, 1970, 00:00:00
cal.clear();
* Zeit lesen.
public Date get()
return dat;
// setting the time
public void setDate( Date d )
dat.setTime( d.getTime() );
cal.setTime(dat);
// gets my time-class to the current system-clock
public void setTimeAct()
long millis;
millis = System.currentTimeMillis();
setMilli(millis);
* Zeit setzen.
public void setMilli(long millis)
dat.setTime(millis);
cal.setTime(dat);
// time in german format: day.month.year hour:minute:second:millisecond
public String toString()
return toStringTagMoJahr() + " " + toStringStdMiSek() +
":" + cal.get(Calendar.MILLISECOND);
* Ausgabeformat Tag.Monat.Jahr (z.B. 01.01.2001).
public String toStringTagMoJahr()
SimpleDateFormat s = new SimpleDateFormat("dd.MM.yyyy");
return s.format(dat);
* Ausgabeformat Stunde:Minute:Sekunde (00:00:00 - 23:59:59).
public String toStringStdMiSek()
SimpleDateFormat s = new SimpleDateFormat("HH:mm:ss");
return s.format(dat);Hello willy51,
Thank you for answering.
I think, your comment of the design is true - its a problem when starting up in a new enviroment and
you have nobody who shows you the right direction at the beginning. Talking personally together only
10 minutes is better than writing a noval.
I thing the following model of a client works better:
concept:
- visualize a personal time class continously evgery second
- if there is a connection to a server set the time-class with the server time
- if you loss connection, try to reconnect
question:
in which situation hangs connectToServer() ?
(whithout the simple errors : no rmiregistry, no rmi-server)
public class EchoClient
private String hostname;
public static void main(String args[]) throws Exception
// my internal TIME-Class
Etim acttim = new Etim();
// Create and install the security manager
System.setSecurityManager(new RMISecurityManager());
// remote call
Echo echoRef1 = null;
String url = new String("rmi://"+ servername:port +"/EchoFactory");
// displaying continous the time, technic = swing.timer
EchoClientDisplay disp = new EchoClientDisplay(acttim);
disp.StartTimer();
// transfering continous the time from the server, technic = swing.timer
// The state of transfer from server = offline
EchoClientTransfer trans = new EchoClientTransfer(acttim);
trans.StartTimer();
// Connect to server
connectToServer(url, echoRef1, trans);
// wait for ever, if connection failed, try every 5 seconds a reconnect to server
while(true)
// test, if connection failed. The connections fails if the Object EchoClientTransfer
// get a error, when it asks the server for the time ( remote call )
if(trans.getStatus() == false ) // test, if connection failed
connectToServer(url, echoRef1, trans);
// try it again after 5 seconds
Thread.sleep(5000);
private static void connectToServer(String url, Echo echoRef1, EchoClientTransfer trans)
System.out.println("Retry connection");
// Connect to server
while( true )
try
//get the remote factory object from the registry
EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
//get references to new EchoImpl instances
echoRef1 = remoteFactory.getEcho("User Meyer");
// reactivate Datatransfer because I have now a new connection to the server
trans.reactivateAfterConnectionError(echoRef1);
// end of initialisation
break;
catch( Exception e )
//>>>>>>> Error initialising connection to server. try again after 5 seconds"
Thread.sleep(5000); // retry after 5 seconds
Maybe you are looking for
-
MacBook Pro takes 7 minutes to restart. Is it ok?
I have a MacBook Pro: Nombre del modelo: MacBook Pro Identificador del modelo: MacBookPro9,2 Nombre del procesador: Intel Core i5 Velocidad del procesador: 2.5 GHz Cantidad de procesadores: 1 Cantidad total de núcleos: 2 Caché de nivel
-
Dear all' PO is craeted with a material and a specific batch for the material.Now the problem is the vendor sometimes delevers the material lot wise ..It is nedded to craete a separate batch at the time of the GR Against the particular PO each time.
-
Hi Experts, While executing consignment return process I noticed that the respective items are directed to unrestricted location....my reservation is when I am placing a consignment return order with order reason as demage it should either get placed
-
Safari reloads the page when I move the pointer?
Currently running 10.6.8 with Safari 5.1.7 on my 1.83 Macbook Pro... Several weeks ago I noticed an odd bit of behavior from Safari. If I click the back button (or hot-key back one page), and then move the pointer using my trackpad, the displayed pag
-
What is the role of a SRM functional consultant during SP15 upgradation?
Hi, We are currently on SRM server 5.5, support pack 11 and planning to upgrade to SP15. As a functional consultant, what are the checks need to be performed? Got OSS note's side effect report from SAP which consists of apprx 60 notes that need to be