Hi, I tried to coonect to a apache derby server using the DBManager class which is attached in the mail. I get the following error.
[2008-06-30 10:52:03,091] ERROR com.bupa.bqpmonitor.quartz.job.BQPHttpJob Insuff
icient data while reading from the network - expected a minimum of 6 bytes and r
eceived only -1 bytes. The connection has been terminated.
java.sql.SQLException: Insufficient data while reading from the network - expect
ed a minimum of 6 bytes and received only -1 bytes. The connection has been ter
at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
It is a simple Web application trying to insert data in the derby database, using the MonitorLogDao class.
I have done the following settings in server.xml placed in the following directory structure D:\jakarta-tomcat-3.3.2\conf
Please let me know if I need to make any additional settings or if my settings are incorrect.
Thanks and regards
Patni Computer Systems Ltd.
Building No.II, Sector No.2
Millennium Business Park, Mahape
Navi Mumbai 400 710.
Tel : +91 22 2778 3600 Ext: 2248