We are using tcServer in a maven environment to do software builds with Bamboo. Yesterday morning the builds were doing fine. Yesterday afternoon I started getting this error in the logs:
| [INFO] ------------------------------------------------------------------------ | |
| 05-Jan-2011 09:05:11 | [INFO] |
| 05-Jan-2011 09:05:11 | [INFO] [liquibase:tag {execution: default}] |
| 05-Jan-2011 09:05:11 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:12 | [INFO] Executing on Database: jdbc:mysql://wingshourly:3306/wings_qa |
| 05-Jan-2011 09:05:12 | Jan 5, 2011 9:05:12 AM liquibase.logging.jvm.JavaUtilLogger info |
| 05-Jan-2011 09:05:12 | INFO: Successfully acquired change log lock |
| 05-Jan-2011 09:05:12 | Jan 5, 2011 9:05:12 AM liquibase.logging.jvm.JavaUtilLogger info |
| 05-Jan-2011 09:05:12 | INFO: Reading from `DATABASECHANGELOG` |
| 05-Jan-2011 09:05:12 | Jan 5, 2011 9:05:12 AM liquibase.logging.jvm.JavaUtilLogger info |
| 05-Jan-2011 09:05:12 | INFO: Successfully released change log lock |
| 05-Jan-2011 09:05:12 | Jan 5, 2011 9:05:12 AM liquibase.logging.jvm.JavaUtilLogger info |
| 05-Jan-2011 09:05:12 | INFO: Successfully released change log lock |
| 05-Jan-2011 09:05:12 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:12 | [INFO] |
| 05-Jan-2011 09:05:13 | [INFO] [tomcat:redeploy {execution: tcserver-deploy}] |
| 05-Jan-2011 09:05:13 | [INFO] Deploying war to http://wingshourly/wings |
| 05-Jan-2011 09:05:13 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:13 | [ERROR] BUILD ERROR |
| 05-Jan-2011 09:05:13 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:13 | [INFO] Cannot invoke Tomcat manager |
| 05-Jan-2011 09:05:13 | |
| 05-Jan-2011 09:05:13 | Embedded error: Connection refused |
| 05-Jan-2011 09:05:13 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:13 | [INFO] For more information, run Maven with the -e switch |
| 05-Jan-2011 09:05:13 | [INFO] ------------------------------------------------------------------------ |
| 05-Jan-2011 09:05:13 | [INFO] Total time: 3 minutes 57 seconds |
| 05-Jan-2011 09:05:13 | [INFO] Finished at: Wed Jan 05 09:05:13 CST 2011 |
| 05-Jan-2011 09:05:14 | [INFO] Final Memory: 63M/181M |
| 05-Jan-2011 09:05:14 | [INFO] ------------------------------------------------------------------------ |
Hoping someone has an answer as to how to fix the issue. I have rebooted the server several times which usually fixes the issue but it is still occuring.
hi wtb1,
Looks like Bamboo is starting up a tomcat/tcserver instance, and then connecting to the manager application.
05-Jan-2011 09:05:13 [INFO] Cannot invoke Tomcat manager
05-Jan-2011 09:05:13
05-Jan-2011 09:05:13 Embedded error: Connection refused
The last line of this error, indicates that there is no process listening on this port. This could be because
1. The server it tried to start failed to start
Resolution: Look in the server logs and find out why the server failed to start
2. The build is failing to launch the server
Resolution: look at bamboo logs to see what is going on
3. The server is started, but listening on a different port
Resolution: Correct the port in the server or in bamboo
best
Filip
Popular Links
Comments
Post new comment