Sqlplus returns 0/SUCCESS on CONNECT failure
Consider ..
$ sqlplus /nolog <<EOF
connect sys as foobar
EOF$ echo $?
0
sqlplus returns success on a connect failure. I have tried to coax it to return non-0 exit code using
sqlplus /nolog<<EOF
whenever sqlerror exit 1
whenever oserror exit 1
connect sys as foobar
EOFBut this doesn't work, looks like sqlplus disconnects after the connect failure and both the 'whenever' clauses don't fire.
How can I get sqlplus to report a failure exit code. I understand I can parse the response from sqlplus, but that is not desirable at the moment.
-srp
srp
I wonder if this is port specific? I only have access to Windows at the moment so can't tell.
From the docs, it looks like expected behaviour; WHENEVER SQLERROR only fires if a SQL or PL/SQL fails - and CONNECT doesn't really count as SQL.
A workaround would be to explicitly EXIT with a success code != 0 when you safely get to the end of your script. Then you could assume that 0 means a failed login.
Alternatively, you can create a marker file when you successfully login; if the file isn't there, then you didn't log in:
rm -rf /tmp/mydiagfile
sqlplus /nolog <<EOF
connect sys as foobar
host touch /tmp/mydiagfile
SQL statements
EXIT
EOF
result=$?
if [ result -eq 0 ]
then
# did we get in
if [ ! -e /tmp/mydiagfile]
then
# login must have failed
echo ERROR - ... etc
fi
fiAny help? At least it's simpler than parsing the log file...
HTH
Regards Nigel
Similar Messages
-
No TNS after Migration. SQLPLUS returns 12545, DAD-Connect shows ora-12505
Hello World,
actually we're having some trouble after oracle migration.
Our HTMLDB HOME is located on Machine one named linux.mydomain.de ip x.x.16.83. ORACLE-VERSION is 9.2.0.7.
Our STANDALONE OHS-HOME is located on Machine two named linux2.mydomain.de. This one is comletely renewed.
After system change from Standalone OHS 9.x to 10.2.0.1 on machine two we do not get the connection to the ORACLE_HOME.
Trying to connect via SQLPLUS returns ORA-12545;
Connection attempt via DAD returns ora-12505, even the ohs-page is acceptet.
Before upgrading nearly everything went ok.
Badly the older version of OHS does not accept the new OS.
I'm not yet very well trained in 10g-Systems.
I guess, the main problem is in network area, but im not shure...
My primary question:
How can I establish an oracle-connection from machine two towards machine one?
hoping for some guidance
regards
Franz LangnerHello,
thank you for replying me.
1) Of course I had a close look into the local help before posting this into forum
- ORA-12505 = NLS_LANG ; settings are identical ;
but OHS-Standalone OS LANG shows AMERICA_AMERICAN.WEISO8815P15 instead of AMERICA_AMERICAN.WEISO8815P1 which is shown by the ORACLE NLS_PARAM.
- ORA-12545 = there is a problem with TNS.
This ones is from the beginning of the new system.
I copied TNSNAMES.ORA from the backup of the former installation ( Elder OS, elder version)
2) - hosts are known by each other
3) Unfortunately OHS Standalone 10.2.0.1 from Companion CD doesnt use tnsping. The tool isn't included neither from Install CD Set nor from the downloaded version.
So tnsping from OHS-Host to DB-Host does not work.
I'm not shure that there is tns on the OHS Standalone Host, there is no database instance, $ORACLE_HOME/network doesn't contain necessary files..
4)Posting tnsnames.ora and sqlnet.ora will do a little efford, caused by intranet location of both Hosts.
Here we are:
ENVIRONMENT of the Datatbase Host
HOSTNAME=linux
HOSTTYPE=i386
ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/product/9ir2
ORACLE_SID=oemrep
ORA_NLS33=/opt/oracle/product/9ir2/ocommon/nls/admin/data
OSTYPE=linux
PAGER=less
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:/opt/oracle/product/9ir2/bin
TNS_ADMIN=/opt/oracle/product/9ir2/network/admin
ENVIRONMENT of the OHS Host
## AGENT_HOME=/opt/oracle/product/agent
CLASSPATH=/opt/oracle/oracle/product/10.2.0/db/JRE:/opt/oracle/oracle/product/10.2.0/db/jlib:/opt/oracle/oracle/product/10.2.0/db/rdbms/jlib:/opt/oracle/oracle/product/10.2.0/db/network/jlib
HOSTNAME=linux2
HOSTTYPE=i386
LD_LIBRARY_PATH=/opt/oracle/oracle/product/10.2.0/db/lib:/opt/oracle/oracle/product/10.2.0/dbnetwork/lib
NLS_LANG=AMERICAN_AMERICA.WEISO8859P15
ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/oracle/product/10.2.0/db
ORACLE_SID=LKADB
ORA_NLS10=/opt/oracle/oracle/product/10.2.0/db/nls/data
ORA_NLS_33=/opt/oracle/oracle/product/10.2.0/db/nls/data
TNS_ADMIN=/opt/oracle/oracle/product/10.2.0/db/network/admin
/*** TNSNAMES.ORA of the DATABASE HOST
# TNSNAMES.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LKADB.LINUX.mydomain.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linux.mydomain.de)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = lkadb.lka.polizei.nrw.de)
# this one is in use for jobs that need exclusive privs
LKA_DED.LINUX.mydomain.DE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
(CONNECT_DATA =
(SID = lkadb)
(SERVER = DEDICATED)
/*** TNSNAMES.ORA of the OHS HOST
HTMLDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linux.mydomain.de)(PORT = 1521)
(CONNECT_DATA =
(SERVICE_NAME = lkadb)
/**** SQLNET.ORA of the DATABASE HOST
# SQLNET.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = linux.duesseldorf-lka.polizei.nrw.de
NAMES.MESSAGE_POOL_START_SIZE = 15
NAMES.DIRECTORY_PATH= (ONAMES, TNSNAMES, HOSTNAME)
NAMES.MAX_OPEN_CONNECTIONS = 5
/*** SQLNET.ORA of the OHS HOST ( copied from former version )
# SQLNET.ORA Network Configuration File: /opt/oracle/product/9ir2/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = lka.polizei.nrw.de
NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
regards
Franz Langner
Message was edited by:
[email protected] -
Java.io.IOException: Connection failure with 401
Hi all,
i recently moved an applet that uses JavaHelp on a new intranet server. I got an error during applet loading since i moved all the files.
The structure of files is:
-Tarish2Applet.html
-tarish2.jar
+Tarish2Help
ooooo|---helpset.hs
ooooo|---toc.xml
ooooo|---map.xml
ooooo|---index.xml
ooooo|--+HTML
+package
I use the following HTML code to call the applet in IE6:
Tarish2Applet.html:
<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.0 -->
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = "200" HEIGHT = "200" codebase="http://intranet/plugin/j2re-1.3.1_02-win-i.exe#Version=1,3,1,2">
<PARAM NAME = CODE VALUE = "tarish2.Tarish2Applet.class" >
<PARAM NAME = "cache_option" VALUE = "Plugin" >
<PARAM NAME = "cache_archive" VALUE = "tarish2.jar,package/jbcl.jar,package/rchartTarish2.jar,package/jhall.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
<COMMENT>
</OBJECT>
And i have the following output and error in the java console:
/*This first IOException seems to be due to the parameters cache_archive and cache_option in the applet call: if i remove them from the html file, this first exception disapears*/
java.io.IOException: Connection failure with 401
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown Source)
at sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown Source)
at sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown Source)
at sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown Source)
at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Dll detected //A Dll is loaded with success in the System
//Then, the Help system is loaded, and it gives:
java.io.IOException: Connection failure with 401
at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.java.help.impl.XmlReader.createReader(XmlReader.java:99)
at javax.help.HelpSet.parseInto(HelpSet.java:568)
at javax.help.HelpSet.<init>(HelpSet.java:129)
at tarish2.Tarish2Applet.init(Tarish2Applet.java:221)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Parsing failed for null
Got an IOException (Connection failure with 401)
Error during Helpset loading: javax.help.HelpSetException: Could not parse
HelpSet not found
Here is the code that loads the Helpset:
Source:
try
URL hsURL = HelpSet.findHelpSet(null, "helpset");
if (hsURL==null)
hsURL = new URL(getCodeBase(), "Tarish2Help/helpset.hs");
hs = new HelpSet(null, hsURL);
catch (Exception ee)
System.out.println("Error during Helpset loading: "+ee);
System.out.println("HelpSet not found");
return;
Has anybody an idea about this "Connection failure with 401" that happens on .jar caching and helpset loading????
What does it come from? Is it due to the http server configuration, the java.policy file?? The code???
If you have any clue, please help me...
RomainHi
I have the same problem but with the
java.io.IOException: Connection failure with 500:
Does anybody sorted this, please let me know, what is the cause???
Thanks in advance...
Saran -
Internet connection failure Power Mac G5 (tower)
Internet connection fails via HS cable to modem to ethernet configuration
G5 2.5, OSX 10.4.11, Safari .... also tried Firefox
Cable installer technician made several attempts to configure Network System Preferences
All wires and external modern are new
I am still able to connect to internet via phone; Dial up
Two PC laptops connected successfully via same HS cable to modem to ethernet config
Connection with laptops required only resetting modem, without Network System Pref adjustmentsInternet connection failure Part 2: Power Mac G5 (tower)
Thanks for the welcome and your assistance
About This Mac > More Info... > Network
Lots of data here, seems to match info:
System Prefs > Network > Built-in Ethernet >TCP/IP
Network > Network Status
• Built-Ethernet : Built-in Ethernet is currently active and has the IP address
71.239.164.212. You are connected to the Internet via Built-in Ethernet.
Safari :
sits blank to any http typed, with progress bar frozen
You are not connected to the Internet.
Safari can’t open the page “http://www.google.com/” because your computer isn’t connected to the Internet.
.... Activity Monitor reads: 2.35 KB/sec ( and is fluctuating ) to 6.88 KB/sec
Assist me .... > Network Diagnosis
Network Status ( all LED are green )
• Built-in Ethernet
• Network Settings
• ISP
• Internet
• Server
Proceeding through the navigation buttons, all is Green
Final Message Reads: Your Internet connection appears to be working correctly.
.... Activity Monitor reads: 2.56 KB/sec ( and is fluctuating )
Network Utility > Ping test
.... 10 packets transmitted, 7 packet received, 30% loss
I tried installing an Ethernet card into expansion slot,
absolutely No Response ( blank read-outs) in System Prefs > Networks < TCP/IP
• Encore Electronics ( $ 20.00 returnable )
• ENL832-TX-EN
• 10/100 Fast Ethertnet Network Adapte -
app store log in failure, message appears: Connection failure (in red). What should I do?
1/10/15 8:18:22.744 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: Received a start command from networkd[132]
1/10/15 8:18:22.744 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91] starting on demand from process iTunes (18071) matching hostname play.itunes.apple.com
1/10/15 8:18:22.744 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to connecting
1/10/15 8:18:22.744 PM nesessionmanager[267]: IPSec connecting to server skuhece.anuson.com
1/10/15 8:18:22.776 PM nesessionmanager[267]: IPSec Phase1 starting.
1/10/15 8:18:22.795 PM racoon[18761]: accepted connection on vpn control socket.
1/10/15 8:18:22.795 PM racoon[18761]: accepted connection on vpn control socket.
1/10/15 8:18:22.796 PM racoon[18761]: IPSec connecting to server 199.195.192.71
1/10/15 8:18:22.796 PM racoon[18761]: IPSec connecting to server 199.195.192.71
1/10/15 8:18:22.796 PM racoon[18761]: Connecting.
1/10/15 8:18:22.796 PM racoon[18761]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:18:22.796 PM racoon[18761]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:18:22.796 PM racoon[18761]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).
1/10/15 8:18:22.796 PM racoon[18761]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:18:22.796 PM racoon[18761]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:18:23.136 PM racoon[18761]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:18:23.136 PM racoon[18761]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:18:23.136 PM racoon[18761]: IKE Packet: receive success. (Initiator, Main-Mode message 2).
1/10/15 8:18:23.141 PM racoon[18761]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).
1/10/15 8:18:23.423 PM racoon[18761]: IKE Packet: receive success. (Initiator, Main-Mode message 4).
1/10/15 8:18:23.452 PM racoon[18761]: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
1/10/15 8:18:23.758 PM racoon[18761]: Error evaluating certificate.
1/10/15 8:18:23.758 PM racoon[18761]: Error evaluating certificate.
1/10/15 8:18:23.761 PM racoon[18761]: ---------------Returned error strings: ---------------.
1/10/15 8:18:23.762 PM racoon[18761]: ---------------Returned error strings: ---------------.
1/10/15 8:18:23.762 PM racoon[18761]: -----------------------------------------------------.
1/10/15 8:18:23.762 PM racoon[18761]: -----------------------------------------------------.
1/10/15 8:18:23.762 PM racoon[18761]: the peer's certificate is not verified.
1/10/15 8:18:23.762 PM racoon[18761]: the peer's certificate is not verified.
1/10/15 8:18:23.762 PM racoon[18761]: IKEv1 Phase 1 AUTH: failed. (Initiator, Main-Mode Message 6).
1/10/15 8:18:23.762 PM nesessionmanager[267]: IPSec Controller: IKE FAILED. phase 3, assert 0
1/10/15 8:18:23.762 PM racoon[18761]: IKE Packet: transmit success. (Information message).
1/10/15 8:18:23.762 PM racoon[18761]: IKEv1 Information-Notice: transmit success. (ISAKMP-SA).
1/10/15 8:18:23.762 PM racoon[18761]: IKE Packet: receive failed. (Initiator, Main-Mode Message 6).
1/10/15 8:18:23.762 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnecting
1/10/15 8:18:23.763 PM racoon[18761]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA 8012e95ec24af07d:4b3a70938bcc2897 isn't established.
1/10/15 8:18:23.763 PM racoon[18761]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA 8012e95ec24af07d:4b3a70938bcc2897 isn't established.
1/10/15 8:18:23.763 PM nesessionmanager[267]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:23.763 PM racoon[18761]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:23.763 PM racoon[18761]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:23.764 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnected, last stop reason 0
1/10/15 8:18:23.764 PM racoon[18761]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:18:23.764 PM racoon[18761]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:18:23.765 PM racoon[18761]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:23.765 PM racoon[18761]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:23.976 PM sandboxd[251]: ([396]) storedownloadd(396) deny mach-lookup com.apple.usymptomsd
1/10/15 8:18:23.984 PM sandboxd[251]: ([396]) storedownloadd(396) deny mach-lookup com.apple.usymptomsd
1/10/15 8:18:55.820 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: Received a start command from networkd[132]
1/10/15 8:18:55.820 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91] starting on demand from process iTunes (18071) matching hostname play.itunes.apple.com
1/10/15 8:18:55.820 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to connecting
1/10/15 8:18:55.821 PM nesessionmanager[267]: IPSec connecting to server skuhece.anuson.com
1/10/15 8:18:55.824 PM nesessionmanager[267]: IPSec Phase1 starting.
1/10/15 8:18:55.840 PM racoon[18762]: accepted connection on vpn control socket.
1/10/15 8:18:55.840 PM racoon[18762]: accepted connection on vpn control socket.
1/10/15 8:18:55.840 PM racoon[18762]: IPSec connecting to server 199.195.192.71
1/10/15 8:18:55.840 PM racoon[18762]: IPSec connecting to server 199.195.192.71
1/10/15 8:18:55.840 PM racoon[18762]: Connecting.
1/10/15 8:18:55.840 PM racoon[18762]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:18:55.840 PM racoon[18762]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:18:55.841 PM racoon[18762]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).
1/10/15 8:18:55.841 PM racoon[18762]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:18:55.841 PM racoon[18762]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:18:56.103 PM racoon[18762]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:18:56.103 PM racoon[18762]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:18:56.103 PM racoon[18762]: IKE Packet: receive success. (Initiator, Main-Mode message 2).
1/10/15 8:18:56.109 PM racoon[18762]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).
1/10/15 8:18:56.388 PM racoon[18762]: IKE Packet: receive success. (Initiator, Main-Mode message 4).
1/10/15 8:18:56.414 PM racoon[18762]: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
1/10/15 8:18:56.700 PM racoon[18762]: Error evaluating certificate.
1/10/15 8:18:56.700 PM racoon[18762]: Error evaluating certificate.
1/10/15 8:18:56.704 PM racoon[18762]: ---------------Returned error strings: ---------------.
1/10/15 8:18:56.704 PM racoon[18762]: ---------------Returned error strings: ---------------.
1/10/15 8:18:56.704 PM racoon[18762]: -----------------------------------------------------.
1/10/15 8:18:56.704 PM racoon[18762]: -----------------------------------------------------.
1/10/15 8:18:56.704 PM racoon[18762]: the peer's certificate is not verified.
1/10/15 8:18:56.704 PM racoon[18762]: the peer's certificate is not verified.
1/10/15 8:18:56.704 PM racoon[18762]: IKEv1 Phase 1 AUTH: failed. (Initiator, Main-Mode Message 6).
1/10/15 8:18:56.705 PM nesessionmanager[267]: IPSec Controller: IKE FAILED. phase 3, assert 0
1/10/15 8:18:56.705 PM racoon[18762]: IKE Packet: transmit success. (Information message).
1/10/15 8:18:56.705 PM racoon[18762]: IKEv1 Information-Notice: transmit success. (ISAKMP-SA).
1/10/15 8:18:56.705 PM racoon[18762]: IKE Packet: receive failed. (Initiator, Main-Mode Message 6).
1/10/15 8:18:56.705 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnecting
1/10/15 8:18:56.705 PM racoon[18762]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA 3f341f93b9d46df5:accbda1abf3b9b04 isn't established.
1/10/15 8:18:56.705 PM racoon[18762]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA 3f341f93b9d46df5:accbda1abf3b9b04 isn't established.
1/10/15 8:18:56.705 PM nesessionmanager[267]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:56.706 PM racoon[18762]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:56.706 PM racoon[18762]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:56.706 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnected, last stop reason 0
1/10/15 8:18:56.707 PM racoon[18762]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:18:56.707 PM racoon[18762]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:18:56.707 PM racoon[18762]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:18:56.707 PM racoon[18762]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:19:30.829 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: Received a start command from networkd[132]
1/10/15 8:19:30.829 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91] starting on demand from process iTunes (18071) matching hostname play.itunes.apple.com
1/10/15 8:19:30.829 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to connecting
1/10/15 8:19:30.830 PM nesessionmanager[267]: IPSec connecting to server skuhece.anuson.com
1/10/15 8:19:30.832 PM nesessionmanager[267]: IPSec Phase1 starting.
1/10/15 8:19:30.849 PM racoon[18763]: accepted connection on vpn control socket.
1/10/15 8:19:30.849 PM racoon[18763]: accepted connection on vpn control socket.
1/10/15 8:19:30.849 PM racoon[18763]: IPSec connecting to server 199.195.192.71
1/10/15 8:19:30.849 PM racoon[18763]: IPSec connecting to server 199.195.192.71
1/10/15 8:19:30.849 PM racoon[18763]: Connecting.
1/10/15 8:19:30.849 PM racoon[18763]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:19:30.849 PM racoon[18763]: IPSec Phase 1 started (Initiated by me).
1/10/15 8:19:30.849 PM racoon[18763]: IKE Packet: transmit success. (Initiator, Main-Mode message 1).
1/10/15 8:19:30.850 PM racoon[18763]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:19:30.850 PM racoon[18763]: >>>>> phase change status = Phase 1 started by us
1/10/15 8:19:31.118 PM racoon[18763]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:19:31.118 PM racoon[18763]: >>>>> phase change status = Phase 1 started by peer
1/10/15 8:19:31.118 PM racoon[18763]: IKE Packet: receive success. (Initiator, Main-Mode message 2).
1/10/15 8:19:31.124 PM racoon[18763]: IKE Packet: transmit success. (Initiator, Main-Mode message 3).
1/10/15 8:19:31.384 PM racoon[18763]: IKE Packet: receive success. (Initiator, Main-Mode message 4).
1/10/15 8:19:31.412 PM racoon[18763]: IKE Packet: transmit success. (Initiator, Main-Mode message 5).
1/10/15 8:19:31.703 PM racoon[18763]: Error evaluating certificate.
1/10/15 8:19:31.704 PM racoon[18763]: Error evaluating certificate.
1/10/15 8:19:31.707 PM racoon[18763]: ---------------Returned error strings: ---------------.
1/10/15 8:19:31.707 PM racoon[18763]: ---------------Returned error strings: ---------------.
1/10/15 8:19:31.708 PM racoon[18763]: -----------------------------------------------------.
1/10/15 8:19:31.708 PM racoon[18763]: -----------------------------------------------------.
1/10/15 8:19:31.708 PM racoon[18763]: the peer's certificate is not verified.
1/10/15 8:19:31.708 PM racoon[18763]: the peer's certificate is not verified.
1/10/15 8:19:31.708 PM racoon[18763]: IKEv1 Phase 1 AUTH: failed. (Initiator, Main-Mode Message 6).
1/10/15 8:19:31.708 PM racoon[18763]: IKE Packet: transmit success. (Information message).
1/10/15 8:19:31.708 PM nesessionmanager[267]: IPSec Controller: IKE FAILED. phase 3, assert 0
1/10/15 8:19:31.708 PM racoon[18763]: IKEv1 Information-Notice: transmit success. (ISAKMP-SA).
1/10/15 8:19:31.708 PM racoon[18763]: IKE Packet: receive failed. (Initiator, Main-Mode Message 6).
1/10/15 8:19:31.708 PM racoon[18763]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA a102f71f36b5acea:59fed533b03bb07e isn't established.
1/10/15 8:19:31.709 PM racoon[18763]: mode config 6 from 199.195.192.71[4500], but ISAKMP-SA a102f71f36b5acea:59fed533b03bb07e isn't established.
1/10/15 8:19:31.708 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnecting
1/10/15 8:19:31.709 PM nesessionmanager[267]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:19:31.709 PM racoon[18763]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:19:31.709 PM racoon[18763]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:19:31.710 PM nesessionmanager[267]: NESMLegacySession[IPSEC US San Jose 3:C7C727DF-D5DB-4887-B59D-DC6252C58F91]: status changed to disconnected, last stop reason 0
1/10/15 8:19:31.710 PM racoon[18763]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:19:31.710 PM racoon[18763]: glob found no matches for path "/var/run/racoon/*.conf"
1/10/15 8:19:31.710 PM racoon[18763]: IPSec disconnecting from server 199.195.192.71
1/10/15 8:19:31.711 PM racoon[18763]: IPSec disconnecting from server 199.195.192.71 -
How to Alert RFC connection failure via message mapping? Kindly Help!
Hi Experts,
I have a JMS - XI - RFC scenario.
JMS receives the Rosattenet PIP contents and sends it to RFC function module in remote SAP R/3 system.
I have a requirement where I have to monitor RFC connection failure because of the remote R/3 system being down. I have to send a email alert where the subject contains the PIP number to understand for which PIP the connection failed.
The PIP number exists in the PIP content at the interface.
If I use the Alert configuration in the runtime workbench for monitoring then I cannot dynamically pass the PIP number.
Only way I think of triggering alert is in the message mapping via a Java UDF.
But I am not sure how can I do this? How do I check in the UDF if RFC connection has failed? Is this the correct approach?
How to acheive my requirement? Note that my email subject content is dynamic bacause if PIP number.
Please help!
Thanks
Gopal
Message was edited by:
gopalkrishna baligaHi Gopal,
what version/sps of XI are u running?
The easiest way to do what u want inside a UDF is to
1. use JCo to try estabilish a connection to the remote SAP System
2. if that fails, use JavaMail to send an email message
Let your UDF work on the PIP number, accepting it as input, and (maybe) returning it as output if everything goes ok. Otherwise break the mapping execution as described by Michal in one of his last weblog (using Dynamic Configuration).
Note that the above method doesn't guarantee that the message will be actually delivered, as some seconds could last between your check and the real RFC delivery operated by the Adapter Engine...
I am evaluating a way to do the same with Alert Framework. I will let you know the result!
Cheers,
Alex -
Mail Connection Failures And EWS (Exchange Web Service) Errors
Hi,
I upgraded from Leopard to Snow Leopard on Friday, and was able to set up my Mail, iCal, and Address Book very quickly and easily. Everything has been working great until today, when I experienced an issue with emails with attachments. The company I work for uses Exchange 2007 hosted on Rackspace.
When sending an email with attachments, I sporadically receive a connection error. This is the same error that I usually get if a server goes offline or I lose my Internet connection - the one where you get the choice to either try again, send later, or use another server to send the email. I will receive this error over and over, and can then send an email with attachments a few minutes later without issue, so it is definitely a sporadic problem. I have not had this issue with emails that did not contain attachments. On at least one occasion, an email with attachments was delivered to the recipient successfully but failed to show up in my Sent Items either in Mail or on the Exchange Server's web mail client.
Rackspace was unable to diagnose the issue, but they have had several reports of the same problem. I looked in the console and saw several errors logged by Mail, all which appeared to happen around the same times that I had the connection failures for the messages with attachments.
8/31/09 1:17:00 PM Mail[1764] Error (null) occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
8/31/09 1:57:06 PM Mail[1764] Error (null) occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
8/31/09 2:32:14 PM Mail[1764] Error Error Domain=MFEWSErrorDomain Code=56 UserInfo=0x1179aa6f0 "The operation couldn’t be completed. (MFEWSErrorDomain error 56.)" occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
8/31/09 2:44:21 PM Mail[1764] Error Error Domain=MFEWSErrorDomain Code=56 UserInfo=0x116c0aa40 "The operation couldn’t be completed. (MFEWSErrorDomain error 56.)" occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
8/31/09 3:19:59 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
ComposeBackEnd does not support explicitly setting an account
0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Mail 0x00000001001442ec 0x0 + 4296295148
3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
4 Mail 0x00000001001428da 0x0 + 4296288474
5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
8/31/09 3:20:36 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
ComposeBackEnd does not support explicitly setting an account
0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Mail 0x00000001001442ec 0x0 + 4296295148
3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
4 Mail 0x00000001001428da 0x0 + 4296288474
5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
8/31/09 3:49:26 PM Mail[4279] * Assertion failure in -[EWSDelivery deliverSynchronously], /SourceCache/Message/Message-1075.2/Delivery.subproj/EWSDelivery.m:84
EWSDelivery doesn't have an EWSAccount, got (null) instead
0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Message 0x00007fff875f51e9 -[EWSDelivery deliverSynchronously] + 861
3 Mail 0x000000010007d120 0x0 + 4295479584
4 Mail 0x000000010007cc38 0x0 + 4295478328
5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
7 Message 0x00007fff87506b51 -[MonitoredInvocation invoke] + 214
8 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
9 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
10 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
11 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
12 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
13 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
14 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
15 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
8/31/09 4:00:06 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
ComposeBackEnd does not support explicitly setting an account
0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Mail 0x00000001001442ec 0x0 + 4296295148
3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
4 Mail 0x00000001001428da 0x0 + 4296288474
5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
Just wanted to report this issue in case this is something that other people are experiencing, and to see if Apple's engineers could look in to it. There is a simple workaround, which is to set up a regular SMTP server as the outgoing mail server for the Exchange account, and to use this instead of the outgoing Exchange server set up by Snow Leopard.
Thanks,
- maxHi MangeshDD,
Some other information for you:
Understanding Exchange Web Services Virtual Directories
If you still have other confused points, please feel free let us know.
Regards!
Gavin
TechNet Community Support -
Jon,
I believe that this error is similar to a "connection reset by peer". It is
a Window specific error. I believe it indicates that something has happened
on the other end of the socket such that the socket has gone bad.
I think that this should only occur when people reset their connection
before the reply is sent. I don't believe that it is indicative of any
serious problem other than this communication failure caused by the client.
I've opened an issue to catch and squelch these spurious exceptions rather
than logging them. For now I think it is safe to ignore them.
Regards,
Adam
"Jon Mountjoy" <[email protected]> wrote in message
news:[email protected]...
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does aselect,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser,say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stoppedIO
exceptions that were being raised by the servlet when it tried to outputto
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhzusing
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socketinput
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java,Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)We are seeing the same error since switching to sp11 (we had been using
sp10). Haven't seen it in Solaris though. What is causing it?
Wed May 08 12:01:48 EDT 2002:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=3640 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java:259)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java:178)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:280)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
"John Slaman" <[email protected]> wrote in message
news:[email protected]..
>
I'm getting a error as follows:
Mon Apr 22 19:04:10 EDT 2002:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=2368 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
I have no idea as to the cause. It's been posted in the archives before -but with
no particular solution.
I'm using WLS 5.1 SP11, JDK 1.2.2_007. Win2000.
Does anybody know the cause/solution?
Thanks.
"Jon Mountjoy" <[email protected]> wrote:
Hi,
I have noticed that applying the service pack helps things quite a bit.
I no longer get NT muxer errors etc etc. just the "connection reset by
peer"
every now and again.
As I am repeatedly hitting the server from one browser, your 'connection
going bad' scenario probably
applies quite well.
(btw. before the SP, the errors seemed to crop up more just before/during
a
GC.)
Jon -
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does a select,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser, say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stopped IO
exceptions that were being raised by the servlet when it tried to output to
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhz using
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socket input
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)I have exactly the same problem running on Windows NT 4.0 (SP4) Weblogic 5.1 and
JDK1.2.2-001.
java.net.SocketException: ReadFile on fd=1048 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java, Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled
Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Jon Mountjoy wrote:
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does a select,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser, say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stopped IO
exceptions that were being raised by the servlet when it tried to output to
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhz using
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socket input
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code) -
HTTP 200 response - Connection Failure - CF10 local Tomcat
Hello,
I am invoking a webService, FirstData to be exact. It's SSL. I am invoking properly, and FirstData is seeing my request as valid and successful, but the response comes back with a 200 and the filecontent is "Connection Failure". No SOAP structure in the response. I found that this was a bug with CF8 which I'd expect to be cleared up in CF10. Is there a workaround? I've attempted passing headers in various ways but it continues to fail.
<cfhttp url="XXX" method="POST" username="XXX" password="XXX" path="XXX" file="XXX" resolveurl="false" clientCert="XXX" clientCertPassword="XXX">
<cfhttpparam type="XML" value="#myXML#">
<cfhttpparam type="header" name="Accept-Encoding" value="deflate;q=0" />
<cfhttpparam type="header" name="TE" value="deflate;q=0" />
</cfhttp>
Response
struct
Charset
utf-8
ErrorDetail
[empty string]
Filecontent
Connection Failure
Header
HTTP/1.1 200 OK Date: Fri, 22 Mar 2013 19:25:10 GMT Server: Apache/2.4.2 X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1 Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Length: 852 Connection: close Content-Type: text/xml;charset=utf-8
Mimetype
text/xml
Responseheader
struct
Accept
text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection
close
Content-Length
852
Content-Type
text/xml;charset=utf-8
Date
Fri, 22 Mar 2013 19:25:10 GMT
Explanation
OK
Http_Version
HTTP/1.1
Server
Apache/2.4.2
Status_Code
200
X-Powered-By
Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Statuscode
200 OK
Text
YESHi
Might be you are processing huge data because of this you are getting this error.
Regards
Dheeraj Kumar -
Connection failures between iMac and Macbook Pro
I'm experiencing frequent connection failures over my wi-fi network between my iMac and Macbook Pro on an otherwise strong, stable network. I can connect both of my computers to the Airport Time Capsule that I use as my wireless router without a problem, but for some reason I get connection failures between the computers say, 50% of the time. Sometimes it works fine, others it just hangs before giving me an error message. Any suggestions?
OS 10.9.3 on both machines
Apple Airport Extreme Time Capsule
iMac, 3.06GHz i3 (2010)
Macbook Pro Retina, 2.4 GHz i7 (1st Gen)Hi jt in nyc,
Some checks:
Use Airport Utility on one of the machines
- Click on the Time Capsule ( enter password if prompted )
- Click on the Edit button
Under Airport Utility -> Wireless -> Wireless Options
Are the Time Capsule Wireless options set correctly?
- Country -> you know this, change if it is not
- 2.4GHz and 5GHz Channel set to Automatic
- Click on Cancel button to return to the Airport Utility graphic diagram.
- Click on the Time Capsule
- Click on your machines listed beside wireless clients
Are the machines reporting an excellent quality at different distances from the Time Machine? -
REGISTRATION CONNECTION FAILURE
Does anyone know why when I successfully install and activate
Fireworks CS3, the registration screen appears and gives me the
following message:
Registration - Connection Failure
We were unable to connect to Adobe to Register your product.
To proceed with Registration please check the following:
Make sure you're connected to the Internet.
Make sure JavaScript is enabled in your browser settings.
Click the Register Now button.
I make sure JavaScript is enabled and the internet is
obviously connected, but then I can't get out of this screen even
by clicking 'Register Now', 'Register Later', or 'Never Register'.
I just stay stuck there forever. I think it has something to do
with the FNPLicensingService.exe that comes up in Task Manager, but
I'm not sure what. Otherwise, I can see that Fireworks has
successfully loaded up and is ready to go, BUT THEN THE NAG
REGISTRATION SCREEN APPEARS and it gets stuck there!!!
Adobe has been useless in getting back to me with any
answers. Can anyone help? Thanks.I'm assuming you are on Windows as well.
I've been trying to figure this one out for Design Premium
CS3 for several days. The message isn't very clear, but I've
managed to get through it.
First it is not your browser that needs JavaScript enabled,
unless your browser is Internet Explorer.
After fiddling with my browser settings for a while I kinda
figured it might not be using my default browser. So I went over to
Internet Explorer's settings where I have everything locked down
for security sake and only allow sites in my trusted site list to
use it. I added *.adobe.com to the trusted sites list and found
that it is not trying to connect to a server at adobe.com.
After a bit more frustration I turned the security settings
in Internet Explorer for the Internet Zone to low.
To do this in IE7:
1. Open Internet Explorer.
2. Find the 'Tools' menu.
3. Select 'Internet Options'.
4. Select 'Security' tab.
5. Select 'Internet'.
6. Press 'default level' If available. - Registration might
work at this level, I didn't try.
7. Move slider to low.
8. Press apply.
Then the registration worked. After registration, I turned
Internet Explorers Internet Zone settings to high.
I would like to know what web address Adobe registration is
connecting to, so I could add it to my trusted site list, instead
of leaving things all wide open for this one thing. I'm hoping the
initial registration window was all I needed that open for. I don't
want to be forced to change those security settings on a regular
basis. -
TLS connection failure with Exchange 2013 (SEC_E_WRONG_PRINCIPAL)
Hi all -
I have Lync 2013 with a single front-end server and am trying to properly integrate with a single Exchange 2013 SP1 server. The Exchange server has certificate signed by GeoTrust, assigned to all roles - IIS, SMTP, POP, IMAP, UM, and UMcallrouter. I'm
seeing the below in my FE logs and am unsure as to why Lync is using the .local address when I have been specifying external FQDNs for the mail server in Lync.
TLS outgoing connection failures.
Over the past 1 minutes, Lync Server has experienced TLS outgoing connection failures 1 time(s). The error code of the last failure is 0x80090322(SEC_E_WRONG_PRINCIPAL) while trying to connect to the server "MAIL.xxxx.local" at address [172.16.3.14:5061],
and the display name in the peer certificate is "Unavailable".
Cause: Most often a problem with the peer certificate or perhaps the host name (DNS) record used to reach the peer server. Target principal name is incorrect means that the peer certificate does not contain the name that the local server used to connect. Certificate
root not trusted error means that the peer certificate was issued by a remote CA that is not trusted by the local machine.
Resolution:
Check that the address and port matches the FQDN used to connect, and that the peer certificate contains this FQDN somewhere in its subject or SAN fields. If the FQDN refers to a DNS load balanced pool then check that all addresses returned by DNS refer to
a server in the same pool. For untrusted root errors, ensure that the remote CA certificate chain is installed locally. If you have already installed the remote CA certificate chain, then try rebooting the local machine.
Any advice/pointers you can give are greatly appreciated.When integrate Lync and Exchange UM, you need to generate new certificate. The certificate should contain the server’s FQDN.
Lisa Zheng
TechNet Community Support -
ACE : Rserver connection failures ?
Hi,
In a productive environment, I observe rserver counters and I can read several connection failures. However, the site seems to work correctly.
What are the conditions under which he ACE increments the connection failures counter ?
Here is an extract of the show serverfarm command :
CH01AC03/P-115-A# sh serverfarm NCL_FARM_PROD
serverfarm : NCL_FARM_PROD, type: HOST
total rservers : 6
----------connections-----------
real weight state current total failures
---+---------------------+------+------------+----------+----------+---------
rserver: HQBUUN203
10.56.7.209:443 12 OPERATIONAL 11 2363414 334
rserver: HQBUUN205
10.56.7.210:443 12 OPERATIONAL 11 2321347 2055
rserver: HQBUUN221
10.56.7.94:443 8 OPERATIONAL 10 1611561 1270
rserver: HQBUUN222
10.56.7.93:443 8 OPERATIONAL 20 1608550 189
rserver: HQVEUN218
10.56.7.96:443 8 OPERATIONAL 15 1532865 1307
rserver: HQVEUN219
10.56.7.95:443 8 OPERATIONAL 12 1607162 304
Thank you for any hints
Yves HaemmerliYves,
normally only RST from the rserver or no response to SYN from the rserver are counted as failure.
However, we had issues with this as identified in CSCtd22008 "ACE- Client RST in End-to-End SSL generates Rserver conn-failures."
An old one is CSCsh14278 "sh serverfarm failure conn incremented for successful connection".
So, if you want to be sure, the only option is to capture a sniffer trace.
Gilles. -
Ultrasearch error : WKG17005: connection failure: User credentials doesn't
Hi,
I wonder if anyone can help with the following issue, i'd be eternally grateful if they could.
I'm the DBA on a site where our java developers have suddenly noticed that the ultrasearch element of a client web site no longer works.
The length of time that the ultrasearch functionality has been broken is unknown so i can't be certain when it occurred.
However the database was patched from 10.1.0.4.0 to 10.1.0.5.0 in sep 2007 so i'm wondering if its possible that the patching broke the ultrasearch functionality somehow.
Could anyone advise if they have ever encountered anything similiar after an upgrade from 10.1.0.4.0 to 10.1.0.5.0.
Also could the patching upgrade break or overwrite any ultrasearch configuration that i now need to recheck?
The specific error being returned when the developers try to use ultrasearch is the following one
WKG17005: connection failure: User credentials doesn't match the existing ones
Now i'm new to the ultrasearch technology area but i've looked at the ultrasearch.properties file in the directory $ORACLE_HOME/ultrasearch/webapp/config/
and another copy of the file deployed in a directory c:\webapps\app\WEB-INF\classes and the connection entries are as expected and as follows
ultrasearch.connection.driver=oracle.jdbc.driver.OracleDriver
ultrasearch.connection.url=jdbc:oracle:thin:@dev2:1521:mstest
ultrasearch.instance=msus
ultrasearch.user=wksys
ultrasearch.password=wksys
i have a couple of queries that i hope someone can answer
1) can you see any obvious issues or mistakes in the ultrasearch.properties file listed above?
2) the error message states "User credentials doesn't match the existing ones". This would imply that the user credentials supplied (wksys/wksys) don't match
a set of expected credentials held or cached somewhere? Any idea where this would be or how i could clear any cached credentials?
The code which tries to establish the connection with ultrasearch is as follows
Configuration props = new PropertiesConfiguration (PROPERTIES_FILE);
QueryInstance qi = new QueryInstance();
qi.setConnectionString("jdbc:oracle:thin:@server:1521:instance");
qi.setUser("user");
qi.setPassword("password ");
qi.setInstanceName("instance");
where PROPERTIES_FILE is the ultrasearch.properties file referenced above.
If i need to supply any other information around this query please advise.
Regards,
George JohnstonThanks for your response but command line authentication is the 1st thing i tried.
also the account is not locked or expired.
Regards,
George Johnston
Maybe you are looking for
-
How do o get my browsing history to show on the mozilla icon in the taskbar?
I'm not even sure if I'm using the correct terminology, but here's the problem. During a session, if I clicked on the Mozilla Firefox icon on the taskbar (bottom left of my screen), it would show all of the pages I'd been looking at, and I could just
-
How can I get the Icons at the bottom of an email to show so I can touch the reply icon to respond to an email?
-
I been using FormCentral for a couple of weeks now and I just wanted to share my thoughts on the features I personally miss the most. Design: Calculations: We use forms for lots of stuff, but one of them is ordering stuff internally between departmen
-
I sent a PDF file to someone via email, they were able to fill out the form but they cannot save the file to send back, I have checked the security properties and there were no restrictions. Do I need to save the PDF a specific way? I have sent it to
-
How to track my iphone4s after stolen?
today my iphone4s was stolen and I find Iphone canbe tracked by someway , could somebody instruct me ? then I can contact my location police to look for it .