avillagra
2009-Jun-29 22:04 UTC
[Wine] java application with db2 fail with:A communication error ..
I am new user of wine. I have centos 2.6.18-128.el5 x86_64 GNU/Linux and wine-1.0.1. I installed jre for windows in wine and run .bat program that run a java SWT application taht access a database db2. After running for a few moments an error is generated, this error occurs only under wine. DB2 use port 50000. Application.commit Text : [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP. Communication API being used: SOCKETS. Location where the error was detected: Reply.fill(). Communication function detecting the error: InputStream.read(). Protocol specific error codes Read timed out, *, 0. Message: Read timed out Error Code : -4499 SQLState : null com.ibm.db2.jcc.c.DisconnectException: [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP. Communication API being used: SOCKETS. Location where the error was detected: Reply.fill(). Communication function detecting the error: InputStream.read(). Protocol specific error codes Read timed out, *, 0. Message: Read timed out. Thank for help.
vitamin
2009-Jun-30 04:50 UTC
[Wine] Re: java application with db2 fail with:A communication error ..
avillagra wrote:> I have centos 2.6.18-128.el5 x86_64 GNU/Linux and wine-1.0.1. > > I installed jre for windows in wine and run .bat program that run a java SWT application taht access a database db2.First, why are you running java app under Wine? Run it under native java for Linux. Second, your Wine version is too old, upgrade.
avillagra
2009-Jun-30 13:04 UTC
[Wine] Re: java application with db2 fail with:A communication error ..
1) The applucation use SWT and "look & feel" is poor and very different compared with run in windows. Test this application in gneme and kde, controls (buttons, text, combo box) are mounted on each other in linux. 2) This applications use 3 DLL to generate reports. The most important is the point 1.