Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JVM_recv in socket input stream read error

4 views
Skip to first unread message

BlueHand

unread,
Oct 24, 2001, 10:09:03 PM10/24/01
to
when I make CMB entitybean with BAS4.5 / Oracle8i (contains a blob field)
if the size of this filed (blob) is bigger than about 3000 bytes, this error
occur
can anybody help me , thanx.

error message is :
-----------------------------------------
ERROR: java.sql.SQLException: Io 异常: Connection reset by peer: JVM_recv in
socket input stream read

>>>> EJB LOG >>>>

HeuristicHazard in commit_one_phase

exception org.omg.CosTransactions.HeuristicHazard {}

at
com.inprise.visitransact.jdbc1x.ConnectionParticipant.commit_one_phase(Conne
ctionProxy.java:152)

at com.inprise.ejb.jts.Transaction.commit(Transaction.java:251)

at org.omg.CosTransactions._TerminatorStub.commit(_TerminatorStub.java:27)

at com.inprise.ejb.jts.gen._TxStub.commit(_TxStub.java:46)

at
com.visigenic.services.CosTransactions.CurrentImpl.commit(CurrentImpl.java:2
55)

at
com.visigenic.services.CosTransactions.TSCurrentManager.commit(TSCurrentMana
ger.java:87)

at
com.inprise.visitransact.jta.UserTransaction.commit(UserTransaction.java:31)

at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1323)

at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:572)

at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:548)

at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:255)

at
com.alltobid.newsandbulletin.session.remote.NewsPOAInvokeHandler.addNews(New
sPOAInvokeHandler.java:69)

at
com.alltobid.newsandbulletin.session.remote.NewsPOAInvokeHandler.addNews(New
sPOAInvokeHandler.java:110)

at
com.alltobid.newsandbulletin.session.remote.NewsPOA._invoke(NewsPOA.java:82)

at
com.alltobid.newsandbulletin.session.remote.NewsPOA._invoke(NewsPOA.java:46)

at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2355)

at
com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:104)

at
com.inprise.vbroker.poa.ServerInterceptorManager$ARWrapper.invoke(ServerInte
rceptorManager.java:64)

at
com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.j
ava:492)

at
com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapt
er.java:64)

at
com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAda
pter.java:653)

at
com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.j
ava:99)

at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)

<<<< EJB LOG <<<<

Pontus Amberg

unread,
Oct 25, 2001, 1:47:54 PM10/25/01
to
Hi!

I know there's a VM parameter called EJBCmpMaxBlobSize that you can use to
set the max size of blobs for the CMP. But I'm almost sure the default max
was 10000 bytes and that the container would give a hint in the Exception
about
the EJBCmpMaxBlobSize if it had been exceeded. Well it probably doesn't hurt
to try EJBCmpMaxBlobSize to see if it helps.

If you are running the container in JBuilder you add it as a VM parameter
like this

-DEJBCmpMaxBlobSize=100000

These can be set it in the run configuration on the EJB tab or in project
properties in the Run -> EJB tab.

If you're running in the appserver then start the AppServer Console and
right click on your AppServer, chose Edit Properties and click on the
Configuration File
tab. You can now add a new line with

vmparam -DEJBCmpMaxBlobSize=100000

in the modifiable section of the configuration file.

/Pontus

"BlueHand" <Blue...@163.com> wrote in message news:3bd77443_1@dnews...

0 new messages