We have 2 machines each with identical JBoss 4.0.4 Server and Oracle 10g installation.
We have an application (war file) installed on both the system.
When trying to insert data into oracle database from within the application, it works fine on one machine, however, on the 2nd machine we encountered the following error.
Oracle-ds.xml (for connection pooling) configuration on both the installation have identical configuration.
2007-08-07 11:15:43,078 DEBUG [org.jboss.web.tomcat.tc5.
Tomcat5] Saw org.jboss.system.server.st
arted notification, starting connectors
2007-08-07 11:15:43,093 INFO [org.apache.coyote.http11.
Http11Base
Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2007-08-07 11:15:43,218 INFO [org.apache.jk.common.Chan
nelSocket]
JK: ajp13 listening on /0.0.0.0:8009
2007-08-07 11:15:43,234 INFO [org.apache.jk.server.JkMa
in] Jk running ID=0 time=0/94 config=null
2007-08-07 11:15:43,234 INFO [org.jboss.system.server.S
erver] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 22s:297ms
2007-08-07 11:17:19,000 DEBUG [org.jboss.resource.connec
tionmanage
r.IdleRemo
ver] internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807
2007-08-07 11:17:19,000 DEBUG [org.jboss.resource.connec
tionmanage
r.IdleRemo
ver] internalRegisterPool: about to notify thread: old next: 1186457089000, new next: 1186457089000
2007-08-07 11:17:40,015 WARN [org.jboss.resource.connec
tionmanage
r.TxConnec
tionManage
r] Connection error occured: org.jboss.resource.connect
ionmanager
.TxConnect
ionManager
$TxConnect
ionEventLi
stener@3b9
a5f[state=
NORMAL mc=org.jboss.resource.adap
ter.jdbc.l
ocal.Local
ManagedCon
nection@1a
7d9e7 handles=1 lastUse=1186456656140 permit=true trackByTx=false mcp=org.jboss.resource.con
nectionman
ager.JBoss
ManagedCon
nectionPoo
l$OnePool@
d2ee5d context=org.jboss.resource
.connectio
nmanager.I
nternalMan
agedConnec
tionPool@1
f568f xaResource=org.jboss.resou
rce.connec
tionmanage
r.TxConnec
tionManage
r$LocalXAR
esource@16
c02df txSync=null]
java.sql.SQLException: No more data to read from socket
at oracle.jdbc.driver.Databas
eError.thr
owSqlExcep
tion(Datab
aseError.j
ava:112)
at oracle.jdbc.driver.Databas
eError.thr
owSqlExcep
tion(Datab
aseError.j
ava:146)
at oracle.jdbc.driver.Databas
eError.thr
owSqlExcep
tion(Datab
aseError.j
ava:208)
at oracle.jdbc.driver.T4CMARE
ngine.unma
rshalUB1(T
4CMAREngin
e.java:111
8)
at oracle.jdbc.driver.T4CMARE
ngine.unma
rshalSB1(T
4CMAREngin
e.java:107
0)
at oracle.jdbc.driver.T4C8Oal
l.receive(
T4C8Oall.j
ava:478)
at oracle.jdbc.driver.T4CPrep
aredStatem
ent.doOall
8(T4CPrepa
redStateme
nt.java:21
6)
at oracle.jdbc.driver.T4CPrep
aredStatem
ent.execut
eForRows(T
4CPrepared
Statement.
java:955)
at oracle.jdbc.driver.OracleS
tatement.d
oExecuteWi
thTimeout(
OracleStat
ement.java
:1168)
at oracle.jdbc.driver.OracleP
reparedSta
tement.exe
cuteIntern
al(OracleP
reparedSta
tement.jav
a:3316)
at oracle.jdbc.driver.OracleP
reparedSta
tement.exe
cuteUpdate
(OraclePre
paredState
ment.java:
3400)
at org.jboss.resource.adapter
.jdbc.Wrap
pedPrepare
dStatement
.executeUp
date(Wrapp
edPrepared
Statement.
java:251)
Any help is appreciated.
Thanks in advance.
Regards,
Start Free Trial