[seek-dev] Problems when building metacat Ecogrid service

kaiyuan@decisci.com kaiyuan at decisci.com
Fri Oct 28 04:33:50 PDT 2005


Hi,tao

I want to build a metacat ecogrid service in my development group.
I have build ecogrid and deploy to Tomcat successfully.
I installed globus.3.2.1 and Tomcat5.

But I meet some errors when run EcogridQueryClient like this:
java -Djava.endorsed.dirs=./lib -cp $ECO_CP 
org.ecoinformatics.ecogrid.client.EcogridQueryClient 
query  ./tests/testfiles/query-test.xml  
http://127.0.0.1:8080/ogsa/services/org/ecoinformatics/ecogrid/EcoGridQueryInterfaceLevelOneService

How can I fixed that?
Can you please give me some sugguestions on building ecogrid?
Are there some documents for building and testing metacat ecogrid service?

Where can get that three stub files(ANDType.java, ORType.java and 
AnyContentType.java.)  mentioned in README.txt ?
If are they still matters?


Here are the Exceptions I got:

1)Exception is thrown from globus container(I start gloubs's WS container to 
try)

[10/28/2005 18:02:10:853 ] org.globus.ogsa.handlers.RPCURIProvider 
[processMessage:288] ERROR: [OGSI52] Failed to dispatch operation. Please 
make sure the operation 
{ecogrid://ecoinformatics.org/ecogrid-query-1.0.0beta1}query is correctly 
implemented by your service either as an OperationProvider or in your 
GridServiceBase object



2)Excetion is thrown out from Tomcat server
2005-10-28 17:06:02 StandardWrapperValve[OgsiServlet]: Servlet.service() for 
servlet OgsiServlet threw exception
java.lang.NoClassDefFoundError
        at 
org.globus.ogsa.impl.security.authentication.wssec.WSSecurityHandler.handleRequest(WSSecurityHandler.java:21)
        at 
org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:136)
        at 
org.apache.axis.handlers.JAXRPCHandler.invoke(JAXRPCHandler.java:82)







3)Exception is thrown from 
org.ecoinformatics.ecogrid.client.EcogridQueryClient
kaiyuan at kaiyuan:~/seek/projects/ecogrid> ./runClient
- Logging is working
- Date: Fri Oct 28 18:20:22 CST 2005
- Version: Apache-XML-Security-J 1.0.4
ERROR!
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Invalid element in 
org.ecoinformatics.ecogrid.queryservice.query.QueryType - returnfield
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: 
Invalid element in org.ecoinformatics.ecogrid.queryservice.query.QueryType - 
returnfield
        at 
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1031)
        at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:742)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
        at 
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:184)
        at 
org.globus.ogsa.handlers.RPCURIProvider.processMessage(RPCURIProvider.java:281)
        at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at 
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
        at org.globus.ogsa.server.ServiceThread.doPost(ServiceThread.java:438)
        at 
org.globus.ogsa.server.ServiceThread.process(ServiceThread.java:287)
        at org.globus.ogsa.server.ServiceThread.run(ServiceThread.java:185)


Thanks a lot.
kaiyuan


More information about the Seek-dev mailing list