Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java Error on Oracle 10.2.0.2

Posted on 2008-06-26
12
Medium Priority
?
590 Views
Last Modified: 2013-12-18
Can anyone tell me what this error could be?  How to troubleshoot.  I am a dba, not a developer and this has me baffled.

java.sql.SQLException: No more data to read from socket
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
        at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1123)
        at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1075)
        at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:480)
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
        at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
        at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
        at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
        at com.salmonllc.sql.DSDataSourceJDBC.generatePrepStmt(DSDataSourceJDBC.java:1389)
        at com.salmonllc.sql.DSDataSourceJDBC.preRetrieve(DSDataSourceJDBC.java:1143)
        at com.salmonllc.sql.DataStore.retrieve(DataStore.java:2060)
        at com.salmonllc.sql.DataStore.retrieve(DataStore.java:1982)
        at com.salmonllc.sql.DataStore.retrieve(DataStore.java:2193)
        at com.amfnl.invest.AFGDataStore.retrieve(AFGDataStore.java:742)
        at com.amfnl.invest.AFGDataStore.retrieve(AFGDataStore.java:644)
        at com.amfnl.invest.AFGDataStore.retrieve(AFGDataStore.java:549)
        at com.amfnl.invest.dbservant.ledger.LedgerEntryDBServant.internalRetrieveLedgerLines(LedgerEntryDBServant.java:944)
        at com.amfnl.invest.dbservant.ledger.LedgerEntryDBServant.internalRetrieve(LedgerEntryDBServant.java:871)
        at com.amfnl.invest.dbservant.ledger.ReportingLedgerEntryDBServant.internalRetrieve(ReportingLedgerEntryDBServant.java:78)
        at com.amfnl.invest.dbservant.ledger.LedgerEntryDBServant.retrieveByLotValueIdsBetweenRealEventDates(LedgerEntryDBServant.java:1216)
        at com.amfnl.reporting.handler.common.BasisSheetRealizedGainLossProgressionReportHandler.extractReportData(BasisSheetRealizedGainLossProgressi
onReportHandler.java:98)
 
0
Comment
Question by:mjimison1956
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 

Author Comment

by:mjimison1956
ID: 21874542
Thanks in advance
0
 
LVL 3

Expert Comment

by:shaz_
ID: 21874600
your app is prolly using connection pooling... so when the app is trying to checkout a connection from the pool which is already timed out etc .. it throws that error....  
0
 

Author Comment

by:mjimison1956
ID: 21874667
We have DHCP.  Should the LOOPBACK ADAPTER BE ENABLED OR DISABLED?

Or what would be a method to troubleshoot.

Here is some of our trys thus far.
disabled the loopback adapter, updated listener.ora
-         ran  Report 9
o        this previously had a socket exception
o        NO ERROR
-         ran Basis Amortization Income Progression - still get socket error:

So one report ran and one did not


0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:mjimison1956
ID: 21874678
Here is listener.ora file
0
 
LVL 3

Expert Comment

by:shaz_
ID: 21874729
mmm if  u were using DBCP  and apache ...i would suggest looking at
http://commons.apache.org/dbcp/configuration.html

and the parametrs like testOnBorrow and testOnReturn

which if set true test the connection everytime the borrow form the pool etc and if the connection is not active no more.. the get another one etc...
0
 

Author Comment

by:mjimison1956
ID: 21875024
Why would one report run and one not run.  Are there settings in DHCP that I could change.  Should I use or not use Loopback Adapater?

htnaks
0
 
LVL 3

Expert Comment

by:shaz_
ID: 21875173
i dont see the reason of using a loopback adopter unless ure installing oracle on your own machine and developing on it as well... loopback adapters are outdated... if u remotely connect(network) to db there is no need for a loopback adapter.. or ofc if ure installing on a dhcp machine... which u are... mmm
0
 

Author Comment

by:mjimison1956
ID: 21875266
The application and the db are on the same machine.  I believe that is why the vendor is using a loopback adapter.  This vendor has asked for my help as the application dba as they can not solve the issue and it is holding up the next build of the application.

I recommended that they disbable the adapter and that failed.  I recommended they enable it and make sure the IP address of the server, not the server name, was in the listener.ora.  That failed.  I am at a loss.
0
 
LVL 3

Accepted Solution

by:
shaz_ earned 2000 total points
ID: 21875343
installed the db seprately on a seperate networked box... will get rid of the need for a loopback adapter
0
 

Author Comment

by:mjimison1956
ID: 21875387
Was a recommendation I gave them too.   they said had to keep on same due to hardware availabiltiy.

Could have them test app to another db not on same box and see if replicate error?
0
 
LVL 3

Expert Comment

by:shaz_
ID: 21875439
yeh that sounds like a plan.. even if they dont have another box for the db.. im sure they can put the app on another blade
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to take different types of Oracle backups using RMAN.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question