-r means the path points to a resource (a file packed into the jar). If
you want to use an external file, omit the -r. If you still have problems,
then check whether the file exists.
On Wed, 17 Dec 2014, McCormick, Jeremy I. wrote:
> Stupid question, but are you sure that file exists at that exact location?
>
> e.g.
>
> ls /Users/air/Documents/workspace/steering2/src/main/resources/org/hps/steering/recon/EngineeringRun2014ECalRecon.lcsim
>
> That would be the first thing to check.
>
> -----Original Message-----
> From: Holly Vance [mailto:[log in to unmask]]
> Sent: Wednesday, December 17, 2014 2:21 PM
> To: McCormick, Jeremy I.
> Cc: hps-software
> Subject: Re: Running recon
>
> Hi,
>
> I'm running:
>
> java -jar hps-distribution-3.1-SNAPSHOT-bin.jar -r /Users/air/Documents/workspace/steering2/src/main/resources/org/hps/steering/recon/EngineeringRun2014ECalRecon.lcsim -i /Users/air/Desktop/hps_003288.1.slcio -DoutputFile=recon_003288.1
>
> I was running this locally to test some files.
>
>
> On Wed, Dec 17, 2014 at 5:15 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
>
> Can you provide the exact command you're running?
>
> It looks more like a problem with the resource path to the steering file. Are you sure that the path to the recon steering is correct?
>
> The conditions system should be able to continue past that error, and the traceback is not from the conditions manager.
>
> -----Original Message-----
> From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Holly Vance
> Sent: Wednesday, December 17, 2014 2:09 PM
> To: hps-software
> Subject: Running recon
>
>
> Hi,
>
> I was trying to use the lcio files Matt posted, and I cannot seem to run reconstruction with them. It looks like I get a conditions database error, but I'm not sure. It's a malformed URL.
>
> I run:
> java -jar <distribution-bin.jar> -r <path.to.HPS2014OfflineRecon.lcsim> -i <input.slcio> -DoutputFile=blah
>
> I get this error:
>
> Wed Dec 17 16:54:15 EST 2014 :: DatabaseConditionsManager :: WARNING :: air: air: nodename nor servname provided, or not known
>
> Exception in thread "main" java.lang.RuntimeException: java.net.MalformedURLException
>
> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:508)
>
> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:482)
>
> at org.lcsim.job.JobControlManager.parseCommandLineOptions(JobControlManager.java:333)
>
> at org.lcsim.job.JobControlManager.run(JobControlManager.java:181)
>
> at org.hps.job.JobManager.main(JobManager.java:18)
>
> Caused by: java.net.MalformedURLException
>
> at java.net.URL.<init>(URL.java:619)
>
> at java.net.URL.<init>(URL.java:482)
>
> at java.net.URL.<init>(URL.java:431)
>
> at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:610)
>
> at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
>
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
>
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
>
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
>
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
>
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
>
> at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
>
> at org.jdom.input.SAXBuilder.build(SAXBuilder.java:807)
>
> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:506)
>
> ... 4 more
>
> Caused by: java.lang.NullPointerException
>
> at java.net.URL.<init>(URL.java:524)
>
> ... 16 more
>
>
>
>
>
>
>
>
>
> ________________________________
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
>
> --
> BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> NOTE: This message was trained as non-spam. If this is wrong,
> please correct the training as soon as possible.
>
> Teach CanIt if this mail (ID 03NsKfRiQ) is spam:
> Spam: https://www.spamtrap.odu.edu/canit/b.php?i=03NsKfRiQ&m=adbab3ab4007&t=20141217&c=s
> Not spam: https://www.spamtrap.odu.edu/canit/b.php?i=03NsKfRiQ&m=adbab3ab4007&t=20141217&c=n
> Forget vote: https://www.spamtrap.odu.edu/canit/b.php?i=03NsKfRiQ&m=adbab3ab4007&t=20141217&c=f
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
>
>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|