It's all about the answers!

Ask a question

BF Can't start job after idle for a day or two


Jirong Hu (1.5k9295258) | asked Oct 07 '10, 10:39 a.m.
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



permanent link
Steven Vaughan (22111) | answered Oct 07 '10, 10:57 a.m.
JAZZ DEVELOPER
Hi

We have a BF 7.1.1 test system running on Windows 2003 ....


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.

permanent link
Jirong Hu (1.5k9295258) | answered Oct 07 '10, 11:16 a.m.
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

We have a BF 7.1.1 test system running on Windows 2003 ....


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.

permanent link
Steven Vaughan (22111) | answered Oct 07 '10, 11:31 a.m.
JAZZ DEVELOPER
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

We have a BF 7.1.1 test system running on Windows 2003 ....


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


Register or to post 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.