CruiseControl log file errors

kenundrum <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello all,

I am having a slight 'irritation' occurring with CruiseControl. Here is a
bit of history:

I use the Dashboard application for viewing the results of builds. The log
files from the multiple projects that are built on the machine can get to be
very large. Because of this, I have configured the Dashboard application
(through the dashboard-config.xml file) to look in a different spot for all
log files and artifacts created from the build. This new location has LOTS
of space, so cleanup is not going to have to occur anywhere near as often.

Now for the irritation. Ever since I redirected the Dashboard, I have been
getting an error like the following after the completion of every build of
each project:

2011-03-23 08:18:21,360 [Thread-21] ERROR HTMLEmailPublisher - error
transforming with xslFile header.xsl
net.sf.saxon.trans.XPathException: java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:384)
	at net.sf.saxon.event.Sender.send(Sender.java:185)
	at net.sf.saxon.event.Sender.send(Sender.java:49)
	at net.sf.saxon.Controller.transform(Controller.java:1550)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
	at
net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
	at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
	at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
	at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
	at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
	at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
	... 14 more
---------
java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
	at net.sf.saxon.event.Sender.send(Sender.java:185)
	at net.sf.saxon.event.Sender.send(Sender.java:49)
	at net.sf.saxon.Controller.transform(Controller.java:1550)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
	at
net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
	at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
	at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
	at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
	at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
	at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
	at java.lang.Thread.run(Thread.java:619)
2011-03-23 08:18:21,626 [Thread-21] ERROR HTMLEmailPublisher - error
transforming with xslFile buildresults.xsl
net.sf.saxon.trans.XPathException: java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:384)
	at net.sf.saxon.event.Sender.send(Sender.java:185)
	at net.sf.saxon.event.Sender.send(Sender.java:49)
	at net.sf.saxon.Controller.transform(Controller.java:1550)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
	at
net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
	at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
	at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
	at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
	at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
	at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
	... 14 more
---------
java.io.FileNotFoundException: C:\Program
Files\CruiseControl\logs\Project1\log20110323081615Lbuild.1.xml (The system
cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:371)
	at net.sf.saxon.event.Sender.send(Sender.java:185)
	at net.sf.saxon.event.Sender.send(Sender.java:49)
	at net.sf.saxon.Controller.transform(Controller.java:1550)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transformFile(HTMLEmailPublisher.java:547)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.appendTransform(HTMLEmailPublisher.java:531)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.transform(HTMLEmailPublisher.java:490)
	at
net.sourceforge.cruisecontrol.publishers.HTMLEmailPublisher.createMessage(HTMLEmailPublisher.java:459)
	at
net.sourceforge.cruisecontrol.publishers.EmailPublisher.publish(EmailPublisher.java:342)
	at net.sourceforge.cruisecontrol.Project.publish(Project.java:761)
	at net.sourceforge.cruisecontrol.Project.build(Project.java:265)
	at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
	at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
	at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
	at java.lang.Thread.run(Thread.java:619)

It appears, and this is just a quick guess on my part, that the location for
the log files in regards to the HTML Email tag is possibly not getting the
new value supplied? Does this need to get set someplace else as well so it
knows to look in the correct spot for the log XML files?
-- 
View this message in context: http://old.nabble.com/CruiseControl-log-file-errors-tp31219391p31219391.html
Sent from the CruiseControl - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.