If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix JDBC - System or internal error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-04, 23:55
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Informix JDBC - System or internal error

Dear All,

My java developers are trying to connect to my DB & are getting the error "java.sql.SQLException: System or internal error". What could be the problem. This error happens occassionally.

Below are the settings in the property file -

XXX.SQLConnectionPool.MinimumReadyConnections=50
XXX.SQLConnectionPool.MaximumReadyConnections=100
XXX.SQLConnectionPool.MaximumConnections=100
XXX.SQLConnectionPool.MaximumConnectionAge=3600000
XXX.SQLConnectionPool.MaximumConnectionWait=30000
XXX.SQLConnectionPool.MaximumWaiters=0

But i can connect to my DB using other 3rd party tools like Winsql.
Do i need to tune any of the above parameters or configure Informix Configuration parameters. Please advice.

Best Regards,

Lloyd
Reply With Quote
  #2 (permalink)  
Old 03-12-04, 10:33
Amit Dandekar Amit Dandekar is offline
Registered User
 
Join Date: Oct 2003
Posts: 29
Llyod ,

Can you gather more diagnostic information
about this ?

You can generate SQLI protocol trace and function trace and see
if you get any clue from that

1) Here is how you generate SQLI protocol trace
set these properties in connection URL

PROTOCOLTRACE=99;PROTOCOLTRACEFILE=c://tmp//ptrace
or you can use following methods
on an IfxDataSource object to set these properties
IfxDataSource::setIfxPROTOCOLTRACE();
IfxDataSource::setIfxPROTOCOLTRACEFILE()

or add these properties to your datasource properties file.


2) To generate function trace
set these properties.
TRACE=99;TRACEFILE=c://tmp//ftrace

or you can call
IfxDataSource::setIfxTRACE()
IfxDataSource::setIfxTRACEFILE()


or add these properties to your datasource properties file.

Make sure that you have ifxjdbc-g.jar and ifxjdbcx-g.jar in
your classpath . put them before other jdbc jars in CLASSPATH.
Reply With Quote
  #3 (permalink)  
Old 03-14-04, 22:06
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Quote:
Originally posted by Amit Dandekar
Llyod ,

Can you gather more diagnostic information
about this ?

You can generate SQLI protocol trace and function trace and see
if you get any clue from that

1) Here is how you generate SQLI protocol trace
set these properties in connection URL

PROTOCOLTRACE=99;PROTOCOLTRACEFILE=c://tmp//ptrace
or you can use following methods
on an IfxDataSource object to set these properties
IfxDataSource::setIfxPROTOCOLTRACE();
IfxDataSource::setIfxPROTOCOLTRACEFILE()

or add these properties to your datasource properties file.


2) To generate function trace
set these properties.
TRACE=99;TRACEFILE=c://tmp//ftrace

or you can call
IfxDataSource::setIfxTRACE()
IfxDataSource::setIfxTRACEFILE()


or add these properties to your datasource properties file.

Make sure that you have ifxjdbc-g.jar and ifxjdbcx-g.jar in
your classpath . put them before other jdbc jars in CLASSPATH.
Hi Amit,

Thanks for your feedback, i will work on the changes.

Regards,

Lloyd
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On