[kepler-dev] Ecogrid Web Services
David Sledge
dsledge at lternet.edu
Wed Apr 19 13:04:54 PDT 2006
I'm getting an exception every time I try to download metadata from
Metacat using the EcoGrid Services API.
In Kepler the exception is:
java.lang.ClassCastException: java.lang.String
at
org.ecoinformatics.ecogrid.queryservice.stub.EcoGridQueryLevelOneServiceStub.get(EcoGridQueryLevelOneServiceStub.java:310)
at
org.ecoinformatics.ecogrid.queryservice.EcogridGetToStreamClient.get(EcogridGetToStreamClient.java:81)
at
org.ecoinformatics.seek.datasource.EcogridDataCacheItem.getDataItemFromEcoGrid(EcogridDataCacheItem.java:285)
at
org.ecoinformatics.seek.datasource.EcogridMetaDataCacheItem.doWork(EcogridMetaDataCacheItem.java:67)
at
org.kepler.objectmanager.cache.DataCacheObject.run(DataCacheObject.java:455)
at java.lang.Thread.run(Unknown Source)
If I use the ecogrid webapp it's:
java.lang.ClassCastException: java.lang.String
at org.ecoinformatics.ecogrid.queryservice.stub.EcoGridQueryLevelOneServiceStub.get(Unknown Source)
at org.ecoinformatics.ecogrid.queryservice.EcogridGetToStreamClient.get(Unknown Source)
at org.ecoinformatics.ecogrid.web.recordfetchers.EML2RecordFetcher.get(EML2RecordFetcher.java:26)
at org.ecoinformatics.ecogrid.web.action.ShowRecordAction.execute(ShowRecordAction.java:80)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
I'm using the same version of Kepler as Deana and Laura (nightly build
20060419) and they're able to download the metadata. The version of the
ecogrid services API that the webapp uses is what was in CVS on 4/17.
David
More information about the Kepler-dev
mailing list