BF Can't start job after idle for a day or two
Hi
We have a BF 7.1.1 test system running on Windows 2003 (not installed by me). I notice if I don't use it for a day or two (something like that), I can no longer run a project. It will just State: Waiting Date: Not Started. I have to re-start the service to make it work. The BF Mgmt Console is running as a services under Local System. We can't run as foreground because system will log the user off after a certain time. I attached some log files here. I also notice the db.log is 9G today. How can I get rid of it? How can I find the problem? Thanks Jirong ~~~~~~ from catalina.2010-10-07.log ~~~~~~ Oct 7, 2010 10:15:07 AM com.buildforge.services.server.dispatch.Dispatcher signal WARNING: !!! java.io.IOException: An existing connection was forcibly closed by the remote host. at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:52) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:267) at sun.nio.ch.IOUtil.read(IOUtil.java:240) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236) at com.buildforge.services.server.dispatch.handler.BufferedConnection.signal(BufferedConnection.java:205) at com.buildforge.services.server.dispatch.Dispatcher.signal(Dispatcher.java:238) at com.buildforge.services.server.dispatch.Dispatcher.run(Dispatcher.java:203) ~~~~~~~ from catalina.2010-10-06.log ~~~~~~~~~~ Oct 6, 2010 7:30:28 AM com.buildforge.services.server.db.DBConnection errorQueryFailed WARNING: SQL 1285049496 query failed com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: TCP/IP. Communication API being used: SOCKETS. Location where the error was detected: Reply.fill(). Communication function detecting the error: InputStream.read(). Protocol specific error codes Insufficient data, * , 0. Message: null at com.ibm.db2.jcc.a.a.a(a.java:365) at com.ibm.db2.jcc.a.ab.b(ab.java:219) at com.ibm.db2.jcc.a.ab.c(ab.java:237) at com.ibm.db2.jcc.a.ab.c(ab.java:348) at com.ibm.db2.jcc.a.ab.v(ab.java:1134) at com.ibm.db2.jcc.a.db.a(db.java:38) at com.ibm.db2.jcc.a.t.a(t.java:34) at com.ibm.db2.jcc.a.sb.f(sb.java:142) at com.ibm.db2.jcc.b.qh.m(qh.java:1187) at com.ibm.db2.jcc.b.rh.db(rh.java:1942) at com.ibm.db2.jcc.b.rh.d(rh.java:2380) at com.ibm.db2.jcc.b.rh.T(rh.java:426) at com.ibm.db2.jcc.b.rh.executeQuery(rh.java:409) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) at com.buildforge.services.server.db.DBConnection.query(DBConnection.java:1102) at com.buildforge.services.server.manager.EventManager.findReadyEvents(EventManager.java:122) at com.buildforge.services.server.event.EventEngine$EventThread.findReadyEvents(EventEngine.java:355) at com.buildforge.services.server.event.EventEngine$EventThread.run(EventEngine.java:238) Oct 6, 2010 7:30:28 AM com.buildforge.services.server.event.EventEngine$EventThread run SEVERE: Exception during event processing com.buildforge.services.common.db.DBException: Failed SQL query: => A communication error has been detected. Communication protocol being used: TCP/IP. Communication API being used: SOCKETS. Location where the error was detected: Reply.fill(). Communication function detecting the error: InputStream.read(). Protocol specific error codes Insufficient data, * , 0. Message: null] at com.buildforge.services.server.db.DBConnection.errorQueryFailed(DBConnection.java:1262) at com.buildforge.services.server.db.DBConnection.query(DBConnection.java:1104) at com.buildforge.services.server.manager.EventManager.findReadyEvents(EventManager.java:122) at com.buildforge.services.server.event.EventEngine$EventThread.findReadyEvents(EventEngine.java:355) at com.buildforge.services.server.event.EventEngine$EventThread.run(EventEngine.java:238) Caused by: com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: TCP/IP. Communication API being used: SOCKETS. Location where the error was detected: Reply.fill(). Communication function detecting the error: InputStream.read(). Protocol specific error codes Insufficient data, * , 0. Message: null at com.ibm.db2.jcc.a.a.a(a.java:365) at com.ibm.db2.jcc.a.ab.b(ab.java:219) at com.ibm.db2.jcc.a.ab.c(ab.java:237) at com.ibm.db2.jcc.a.ab.c(ab.java:348) at com.ibm.db2.jcc.a.ab.v(ab.java:1134) at com.ibm.db2.jcc.a.db.a(db.java:38) at com.ibm.db2.jcc.a.t.a(t.java:34) at com.ibm.db2.jcc.a.sb.f(sb.java:142) at com.ibm.db2.jcc.b.qh.m(qh.java:1187) at com.ibm.db2.jcc.b.rh.db(rh.java:1942) at com.ibm.db2.jcc.b.rh.d(rh.java:2380) at com.ibm.db2.jcc.b.rh.T(rh.java:426) at com.ibm.db2.jcc.b.rh.executeQuery(rh.java:409) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) at com.buildforge.services.server.db.DBConnection.query(DBConnection.java:1102) ... 3 more ~~~~~~~~~~ from catalina.2010-10-05.log ~~~~~ Oct 5, 2010 5:01:14 PM com.buildforge.services.server.lm.LicenseServer reportNoLicense WARNING: !!! com.buildforge.services.common.ServiceException: Build Forge license key is corrupt or missing. at com.buildforge.services.server.lm.LicenseServer.reportNoLicense(LicenseServer.java:609) at com.buildforge.services.server.lm.LicenseServer.reportStatus(LicenseServer.java:781) at com.buildforge.services.server.lm.LicenseServer.refresh(LicenseServer.java:765) at com.buildforge.services.server.lm.LicenseServer$MaintenanceTask.run(LicenseServer.java:985) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) |
3 answers
Hi From the logs you have posted, it appears that communication between the product and your DB2 database was interrupted (database was stopped, db host was restarted, or interstitial network failed). A product restart is necessary if the backing database goes away. |
From this post, seems I can try to increase the java heap, where can I change this setting? Which java?
Thanks Jirong http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14132763 Hi From the logs you have posted, it appears that communication between the product and your DB2 database was interrupted (database was stopped, db host was restarted, or interstitial network failed). A product restart is necessary if the backing database goes away. |
From this post, seems I can try to increase the java heap, where can I change this setting? Which java? Hi From the logs you have posted, it appears that communication between the product and your DB2 database was interrupted (database was stopped, db host was restarted, or interstitial network failed). A product restart is necessary if the backing database goes away. Java heap seems rather unlikely. On windows your heap is already set to 1GB, and you reported a rather large db.log file (written by Perl), meaning that Perl has likely lost contact with the database, too. Java heap will not affect the functionality of a separate Perl process. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.