oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (3980)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: OODT 0.10 FileMgr Errors
Date Sun, 25 Oct 2015 17:33:29 GMT
Cynthia,

The:

"URI is not absolute”

error is a long standing configuration issue wherein which
an environment variable referenced in a config (likely
etc/filemgr.properties)
is not defined, and there is a file://[SOME_VAR] use of it, that is a
URI. In this case you get a non absolute URI an hence the error.

Please check your filemgr.properties and other configs as that is
the most likely cause of your problem.

Cheers,
Chris


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





-----Original Message-----
From: "Wong, Cynthia L (398G)" <cynthia.l.wong@jpl.nasa.gov>
Reply-To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Date: Thursday, October 22, 2015 at 4:15 PM
To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Subject: OODT 0.10 FileMgr Errors

>All,
>
>I¹m checking out OODT 0.10. Do you know if it works with JDK 1.7?
>
>I am able to ingest files but I can not perform the following commands to
>get info or delete them.
>
>% ./filemgr-client -url http://localhost:9000 -op -product -pn
>p1012850.15S
>% ./filemgr-client -url http://localhost:9000 -op -pbyn -pn p1012850.15S
>% ./filemgr-client -url http://localhost:9000 -op --deleteProductByName
>-pn p1012850.15S
>% ./filemgr-client -url http://localhost:9000 -op -dbyn -pn p1012850.15S
>% ./filemgr-client -url http://localhost:9000 -op -dbyid -pid
>68c41375-782d-11e5-808e-dd817024279f
>
>The error message onto console:
>
>ERROR: Failed to delete product
>'org.apache.oodt.cas.filemgr.structs.Product@27a8eaf7' :
>java.lang.Exception: java.lang.IllegalArgumentException: URI is not
>absolute
>
>
>And a list of files were ingested (in lucene):
>
>% ./filemgr-client -url http://localhost:9000 -op -page1 -ptn rinex
>Page: [num=1, totalPages=1, pageSize=20]
>Products:
>Product: 
>[id=68c41375-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=TRANSFERING]
>Product: 
>[id=ba7a0b76-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=TRANSFERING]
>Product: 
>[id=dadee437-782d-11e5-808e-dd817024279f,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=RECEIVED]
>Product: 
>[id=ce936405-782f-11e5-adf7-2f670ce93a4d,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=RECEIVED]
>Product: 
>[id=e01b7556-782f-11e5-adf7-2f670ce93a4d,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=RECEIVED]
>Product: 
>[id=2d6c0385-78e7-11e5-be8b-2f30a366015e,name=p1012850.15S,type=rinex,stru
>c
>ture=Flat, transferStatus=RECEIVED]
>
>
>
>
>
>
>
>
>FileMgr log contains the following errors that lead me think of
>compatibility issue.
>
>
>Oct 22, 2015 3:52:05 PM
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
>initHandlerMappings
>FINE: Ignoring namespace handler
>[org.springframework.scripting.config.LangNamespaceHandler]: handler class
>not found
>java.lang.ClassNotFoundException:
>org.springframework.scripting.config.LangNamespaceHandler
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>	at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.init
>H
>andlerMappings(DefaultNamespaceHandlerResolver.java:117)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:96)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:83)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaul
>t
>NamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReader
>C
>ontext(XmlBeanDefinitionReader.java:487)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBean
>D
>efinitions(XmlBeanDefinitionReader.java:468)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDe
>f
>initions(XmlBeanDefinitionReader.java:363)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:313)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:290)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:131)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:147)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:173)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:112)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:79)
>	at 
>org.springframework.context.support.AbstractRefreshableApplicationContext.
>r
>efreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>	at 
>org.springframework.context.support.AbstractApplicationContext.obtainFresh
>B
>eanFactory(AbstractApplicationContext.java:394)
>	at 
>org.springframework.context.support.AbstractApplicationContext.refresh(Abs
>t
>ractApplicationContext.java:324)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:124)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:68)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStore.<init
>>
>(SpringCmdLineOptionStore.java:45)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStoreFactor
>y
>.createStore(SpringCmdLineOptionStoreFactory.java:42)
>	at org.apache.oodt.cas.cli.CmdLineUtility.<init>(CmdLineUtility.java:94)
>	at 
>org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.main(XmlRpcFile
>M
>anagerClient.java:1349)
>
>
>Oct 22, 2015 3:52:05 PM
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
>initHandlerMappings
>FINE: Ignoring namespace handler
>[org.springframework.ejb.config.JeeNamespaceHandler]: handler class not
>found
>java.lang.ClassNotFoundException:
>org.springframework.ejb.config.JeeNamespaceHandler
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>	at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.init
>H
>andlerMappings(DefaultNamespaceHandlerResolver.java:117)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:96)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:83)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaul
>t
>NamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReader
>C
>ontext(XmlBeanDefinitionReader.java:487)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBean
>D
>efinitions(XmlBeanDefinitionReader.java:468)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDe
>f
>initions(XmlBeanDefinitionReader.java:363)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:313)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:290)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:131)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:147)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:173)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:112)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:79)
>	at 
>org.springframework.context.support.AbstractRefreshableApplicationContext.
>r
>efreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>	at 
>org.springframework.context.support.AbstractApplicationContext.obtainFresh
>B
>eanFactory(AbstractApplicationContext.java:394)
>	at 
>org.springframework.context.support.AbstractApplicationContext.refresh(Abs
>t
>ractApplicationContext.java:324)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:124)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:68)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStore.<init
>>
>(SpringCmdLineOptionStore.java:45)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStoreFactor
>y
>.createStore(SpringCmdLineOptionStoreFactory.java:42)
>	at org.apache.oodt.cas.cli.CmdLineUtility.<init>(CmdLineUtility.java:94)
>	at 
>org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.main(XmlRpcFile
>M
>anagerClient.java:1349)
>
>
>Oct 22, 2015 3:52:05 PM
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
>initHandlerMappings
>FINE: Ignoring namespace handler
>[org.springframework.aop.config.AopNamespaceHandler]: handler class not
>found
>java.lang.ClassNotFoundException:
>org.springframework.aop.config.AopNamespaceHandler
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>	at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.init
>H
>andlerMappings(DefaultNamespaceHandlerResolver.java:117)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:96)
>	at 
>org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<ini
>t
>>(DefaultNamespaceHandlerResolver.java:83)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaul
>t
>NamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReader
>C
>ontext(XmlBeanDefinitionReader.java:487)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBean
>D
>efinitions(XmlBeanDefinitionReader.java:468)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDe
>f
>initions(XmlBeanDefinitionReader.java:363)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:313)
>	at 
>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefi
>n
>itions(XmlBeanDefinitionReader.java:290)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:131)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:147)
>	at 
>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loa
>d
>BeanDefinitions(AbstractBeanDefinitionReader.java:173)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:112)
>	at 
>org.springframework.context.support.AbstractXmlApplicationContext.loadBean
>D
>efinitions(AbstractXmlApplicationContext.java:79)
>	at 
>org.springframework.context.support.AbstractRefreshableApplicationContext.
>r
>efreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>	at 
>org.springframework.context.support.AbstractApplicationContext.obtainFresh
>B
>eanFactory(AbstractApplicationContext.java:394)
>	at 
>org.springframework.context.support.AbstractApplicationContext.refresh(Abs
>t
>ractApplicationContext.java:324)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:124)
>	at 
>org.springframework.context.support.FileSystemXmlApplicationContext.<init>
>(
>FileSystemXmlApplicationContext.java:68)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStore.<init
>>
>(SpringCmdLineOptionStore.java:45)
>	at 
>org.apache.oodt.cas.cli.option.store.spring.SpringCmdLineOptionStoreFactor
>y
>.createStore(SpringCmdLineOptionStoreFactory.java:42)
>	at org.apache.oodt.cas.cli.CmdLineUtility.<init>(CmdLineUtility.java:94)
>	at 
>org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.main(XmlRpcFile
>M
>anagerClient.java:1349)
>
>
>Oct 22, 2015 3:52:05 PM
>org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
>registerBeanDefinitions
>FINE: Loading bean definitions
>Oct 22, 2015 3:52:05 PM
>org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
>parseBeanDefinitionElement
>FINE: Neither XML 'id' nor 'name' specified - using generated bean name
>[org.apache.oodt.cas.cli.option.handler.SetJavaPropertiesHandler#605514f9]
>
>Any help is appreciated.
>
>
>Cynthia
>

Mime
View raw message