Subject: RE: Deploying an Xindice GDSF - query 230
- Next message: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Previous message: Tom Sugden: "FW: Deploying an Xindice GDSF - query 230"
- Next in thread: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Maybe reply: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Maybe reply: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
From: Tom Sugden (tom@epcc.ed.ac.uk)
Date: Nov 10, 2004 11:29
Hi Gerson,
This is puzzling because the log file still shows no record of the
GridDataServiceFactoryXindice, although it appears to be deployed correctly
in your "server-config.wsdd" file. There have been some reports of similar
problems caused by a synchronization problem between the GDSF and the
DAI-SGR (the registry). To solve this, you must edit the following file:
<TOMCAT>/webapps/ogsa/WEB-INF/etc/registrationList.xml
Comment out all the child elements, leaving the root element of the
document. This will disable registration. i.e. any GDSF services using this
registration file will not automatically register themselves with any
registries. Also, to help us focus on the Xindice GDSF, please comment out
the service elements named "ogsadai/DAIServiceGroupRegistry" and
"ogsadai/GridDataServiceFactory" from your "server-config.wsdd" file.
After doing this, again follow these steps:
1. Stop Tomcat
2. Delete your ogsa-dai log file
3. Restart Tomcat
4. Visit
http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactoryXindice?ws
dl
(assuming Tomcat is running locally and on port 8080, otherwise correct
this part of the URL)
Please let me know whether you see the service WSDL or an error message. If
the WSDL is displayed, you can try creating and GDS and querying a
collection using the attached example. You may need to amend the package
statement of the class, and adjust the Xpath query string to suit your data.
If your Tomcat is not running on port localhost:8080 you will need to pass
in the correct URL for GridDataServiceFactoryXindice as an argument.
Good luck!
Tom Sugden
The OGSA-DAI Project Team
-----Original Message-----
From: Gerson Galang [mailto:gerson.sapac@gawab.com]
Sent: 09 November 2004 23:21
To: Tom Sugden
Cc: 'OGSA-DAI Support'
Subject: Re: Deploying an Xindice GDSF - query 230
Thanks Tom,
I tried your suggestion but it still did not work. The reason why I did not
modify OGSADAI.PROPERTIES.DIR is because I tried "grep"ing for an instance
on where this property might be specified and I saw (from the install.in
file) that it references the location I want it to point to.
"${catalina.home}/${etc.dir}"
where "etc.dir" equals "${ogsa.dir}/WEB-INF/etc"
Anyway, attached are the files that you requested for including the
ExampleDatabaseRoles.xml document.
Thanks,
Gerson
Tom Sugden wrote:
> Hi Gerson,
>
> Thanks for sending the files. Your log file shows that two GDSF are
> being created successfully, but both of these are configured with
> "activityConfig.xml" and "dataResourceConfig.xml" rather that
> "activityConfigXML.xml" and "dataResourceConfigXML.xml". This prompted
> me to examine your "server-config.wsdd" file which includes the
> deployment descriptors for all your OGSA-DAI services. As expected,
> the deployment descriptors for the services named
> "ogsadai/GridDataServiceFactory" and
> "ogsadai/SecureGridDataServiceFactory" looked fine, but the deployment
descriptor for the service named "ogsadai/GridDataServiceFactoryXindice"
> contains some strange paths for three of the service parameters. These
> are shown below:
>
> <service name="ogsadai/GridDataServiceFactoryXindice" provider="Handler"
> style="wrapped" use="literal">
> ...
> <parameter name="ogsadai.gdsf.registrations.xml.file"
> value="OGSADAI.PROPERTIES.DIR/registrationList.xml"/>
> <parameter name="ogsadai.gdsf.activity.xml.file"
> value="OGSADAI.PROPERTIES.DIR/activityConfigXML.xml"/>
> ...
> <parameter name="ogsadai.gdsf.config.xml.file"
> value="OGSADAI.PROPERTIES.DIR/dataResourceConfigXML.xml"/>
> </service>
>
> You should ammend your "server-config.wsdd" file to specify the full
> path to the registration list file, the activity config file, and the
> data resource config file. You can refer to the
> "ogsadai/GridDataServiceFactory" and
> "ogsadai/SecureGridDataServiceFactory" services, which both contain
correct paths.
>
> After doing this, please follow the steps below:
>
> 1. Stop Tomct
> 2. Delete your ogsa-dai log file
> 3. Restart Tomcat
> 4. Visit
> http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactoryXind
> ice?ws
> dl
> (assuming Tomcat is running locally and on port 8080, otherwise
> correct this part of the URL)
>
> If you see the generated WSDL rather than an error message, things are
> looking good and you can experiment with one of the supplied clients.
> If you see an error message, please send me the new ogsadai log file,
> along with your ammended "server-config.wsdd" file and also your
> "TOMCAT/webapps/ogsa/WEB-INF/etc/ExampleDatabaseRoles.xml" file.
>
> I hope this helps.
>
> Cheers,
> Tom Sugden
> The OGSA-DAI Project Team
>
>
> -----Original Message-----
> From: Gerson Galang [mailto:gerson.sapac@gawab.com]
> Sent: 08 November 2004 22:57
> To: Tom Sugden
> Cc: 'OGSA-DAI Support'
> Subject: Re: Deploying an Xindice GDSF - query 230
>
> Hi Tom,
>
> Attached are the log files you requested for.
>
> Cheers,
> Gerson
>
> Tom Sugden wrote:
>
>>Hi Gerson,
>>
>>We have only tested OGSA-DAI using Xindice 1.1. However, another user
>>has successfully deployed a GDSF for a Xindice 1.1 database, so it
>>should be possible. To try and get to the bottom of the problem,
>>please could you first enable logging and then email me the log file.
>>Instructions for enabling logging can be found in:
>>
>> <OGSA-DAI>/doc/installconfig/Logging.html
>>
>>Also, could you please email me the following files:
>>
>> <TOMCAT>/webapps/ogsa/WEB-INF/server-config.wsdd
>> <TOMCAT>/webapps/ogsa/WEB-INF/etc/<activity-config-file>
>> <TOMCAT>/webapps/ogsa/WEB-INF/etc/<data-resource-config-file>
>>
>>where <activity-config-file> and <data-resource-config-file> are your
>>configuration files set-up for Xindice 1.1.
>>
>>Thanks,
>>Tom Sugden
>>The OGSA-DAI Project Team
>>
>>-----Original Message-----
>>From: OGSA-DAI Support [mailto:support@ogsadai.org.uk]
>>Sent: 08 November 2004 08:52
>>To: Tom Sugden
>>Cc: support@ogsadai.org.uk
>>Subject: Deploying an Xindice GDSF - query 230
>>
>>
>>Hi,
>> Congratulations Tom, as our local xindice expert you have been
>>nominated to sort out this query. Let me know if there are any
>>problems. Please remember to cc things back to support.
>>
>> Mario
>>
>>--
>>OGSA-DAI Support provided by the UK Grid Support Centre
>>email: support@ogsadai.org.uk
>>www: http://www.ogsadai.org.uk/support/
>>UK GSC: http://www.grid-support.ac.uk/
>>
>>---------- Forwarded message ----------
>>Date: Mon, 08 Nov 2004 12:25:06 +1030
>>From: Gerson Galang <gerson.sapac@gawab.com>
>>To: users@ogsadai.org.uk
>>Subject: Deploying an Xindice GDSF
>>
>>Hi,
>>
>>I deployed an xindice GDSF into my ogsadai installation and followed
>>all the instructions you've written in the
>>ogsadai/doc/installconfig/DeployGDSF.html
>>documentation but I still couldn't see the wsdl of the factory I deployed.
>>
>>I'm not sure if I missed a step because whenever I try to access
>>http://localhost:8080/ogsa/services/ogsadai/GridDataServiceFactoryXind
>>ice?ws
>>dl,
>>I get this in return.
>>
>>Fault - ; nested exception is:
>> java.rmi.RemoteException: [OGSI12] Could not find path
>>ogsadai/GridDataServiceFactoryXindice
>>
>>AxisFault
>> faultCode:
>
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>
>> faultSubcode:
>> faultString: java.rmi.RemoteException: [OGSI12] Could not find path
>>ogsadai/GridDataServiceFactoryXindice
>> faultActor:
>> faultNode:
>> faultDetail:
>>
>>One thing to note though,
>>http://localhost:8080/ogsa/servlet/AxisServlet
>>lists GridDataServiceFactoryXindice.
>>
>>Any suggestions on how I can fix this problem?
>>
>>Thanks,
>>Gerson
>>
>>PS, I am using xindice1.1.
>>
>>
>>
>
>
>
- application/octet-stream attachment: SimpleXPathQueryExample.java
- Next message: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Previous message: Tom Sugden: "FW: Deploying an Xindice GDSF - query 230"
- Next in thread: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Maybe reply: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"
- Maybe reply: Tom Sugden: "RE: Deploying an Xindice GDSF - query 230"