java application with db2 fail with:A communication error ..

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
avillagra
Newbie
Newbie
Posts: 2
Joined: Mon Jun 29, 2009 4:47 pm

java application with db2 fail with:A communication error ..

Post by avillagra »

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
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: java application with db2 fail with:A communication erro

Post by vitamin »

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
Newbie
Newbie
Posts: 2
Joined: Mon Jun 29, 2009 4:47 pm

Post by avillagra »

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.
Locked