Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Varnish: org.xml.sax.SAXParseException: Premature end of file #26

Open
eben0 opened this issue Jun 4, 2014 · 3 comments
Open

Varnish: org.xml.sax.SAXParseException: Premature end of file #26

eben0 opened this issue Jun 4, 2014 · 3 comments

Comments

@eben0
Copy link

eben0 commented Jun 4, 2014

got this error when trying ti run the plugin,
jre ver 1.7.0_55
centos 6.5 32bit

java -jar plugin.jar
INFO: Using configuration file /opt/plugins/newrelic_3legs_plugin-2.0.0-varnish/config/newrelic.json
INFO: Using configuration file /opt/plugins/newrelic_3legs_plugin-2.0.0-varnish/config/plugin.json
INFO: New Relic monitor started
[Fatal Error] :1:1: Premature end of file.
[2014-06-04 22:36:04,635] ERROR ar.com.threelegs.newrelic.Varnish -
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) ~[na:1.7.0_55]
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347) ~[na:1.7.0_55]
at ar.com.threelegs.newrelic.Varnish.pollCycle(Unknown Source) [plugin.jar:2.0.0 April 10 2014]
at com.newrelic.metrics.publish.Runner$PollAgentsRunnable.run(Runner.java:199) [plugin.jar:2.0.0 April 10 2014]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_55]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_55]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_55]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_55]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_55]

@eben0 eben0 changed the title org.xml.sax.SAXParseException: Premature end of file Varnish: org.xml.sax.SAXParseException: Premature end of file Jun 4, 2014
@BarryCarlyon
Copy link

I also have this issue.

Same environment, but 64bit

I'm starting from NPI however.

@tinanguyent
Copy link

check this out: #18

@BarryCarlyon
Copy link

Thanks Tinanguyent solved!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants