What version of STAF is on your Ubuntu 8.04 Server box and what version of 
STAF is on your Windows 2003 Server box?

    STAF machine MISC VERSION

Also, what interfaces (aka connection providers) do you have configured on 
these two machines?

    STAF machine MISC LIST INTERFACES

The problem is in the SSL connection provider (first added in STAF 
V3.3.0).  We have fixed the following bug in the STAF SSL connection 
provider in the next release of STAF (planned to be released at the end of 
June 2009) which may resolve the problem you are seeing.  I could provide 
you with a private version of this new STAF version for you to try to see 
if it resolves the problem you're seeing.  If you're interested in trying 
this version, also post the contents of the install.properties file in the 
directory where you installed STAF (e.g. C:\STAF or /usr/local/staf) on 
these two machines.

  - Fixed intermittent hangs that could occur submitting any STAF service 
request by changing SSL_connect() to use a non-blocking socket to prevent 
a SSL handshake from exceeding the connection timeout (Bug #2727266)

A workaround for this problem is to comment out the ssl interface line in 
the STAF.cfg files temporarily until this problem is resolved so that STAF 
would use the non-secure TCP/IP interface (e.g. tcp) instead of the SSL 
TCP/IP interface (e.g. ssl) to communicate to remote machines.  To comment 
out the ssl interface. insert a "#" at the beginning of the "interface 
ssl" line as follows:

# Enable TCP/IP connections
#interface ssl library STAFTCP option Secure=Yes option Port=6550
interface tcp library STAFTCP option Secure=No  option Port=6500

Note that it would be best to see if this problem has already been 
resolved or not by trying out the private version of STAF.  Let me know if 
you're interested in trying it out.  Thanks.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Raymond Kroeker <raykroe...@gmail.com> 
06/06/2009 10:48 AM
Please respond to
raykroe...@gmail.com


To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Staf IO Exception






I'm currently having an intermittent but repeatable issue where I get
an error when trying to read a remote staf variable on a Windows 2003
Server box from an Ubuntu 8.04 Server box.

Here is the trace from the WIndows box:
20090606-01:56:55;388;00002000;Caught STAFException in
HandleRequest(): Connection terminated unexpectedly. , Exception:
STAFConnectionIOException, Location:
c:\dev\autobuild\build\src\staf\stafif\STAFConnectionProviderInlImpl.cpp(251),
Text: STAFConnectionRead: Error reading from socket: SSL_read()
RC=10038 SSL error: error:00000000:lib(0):func(0):reason(0), Error
code: 22


Here is the stack from the Ubuntu box:
STAFConnectionReadUInt: Error reading from socket: other side closed 
socket: 22

Here is the request being issued:
staf4 var resolve system string {STAF/Config/Sep/File}

Can anyone shed any light as to why this may be happening?

-- 
---------------------------------------------------------
Raymond Kroeker

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to