[seek-dev] Re: Wow- It works!
Jing Tao
tao at nceas.ucsb.edu
Tue Nov 25 08:55:38 PST 2003
Hi, Rod:
To me, I installed and run tomcat as globus. I tried as regular user and
changed the files permssion in tomcat for globus user. I can installed
everything successfully and start tomcat. But when I run client. I got
some error about "grim setuid program failed". I think this is because
the regular user doesn't have permission to call some globus files. I
gave up and still use globus as tomcat admin.
If you like, you may try deeper to figure it out.
Jing
On Mon, 24 Nov 2003, Rod Spears wrote:
> I decided to follow your directions from your mail msg instead of the readme. BUt I noticed these directions are different from the readme file.
>
> Specifically item #4, here it shows doing this:
> ant deployTomcat -Dtomcat.dir=/usr/local/devtools/jakarta-tomcat
>
> The readme.html says I should do this:
> ant deployTomcat -Dgar.name=/home/rods/seek/projects/ecogrid/build/lib/org.ecoinformatics.ecogrid.EcogridSoap.MetacatImpl.gar
>
> Plus, it appears that the "globus" user needs permission to copy the xalan.jar into my tomcat directory. How did you install your tools? Did you install tomcat
> when logged in as a globus user?
>
> Here is the what happened:
>
> [globus at localhost gt3]$ ant deployTomcat -Dtomcat.dir=/usr/local/devtools/jakarta-tomcat
> Buildfile: build.xml
>
> deployTomcat:
>
> deployTomcat:
>
> deployTomcatLibs:
> [copy] Copying 14 files to /usr/local/devtools/jakarta-tomcat/common/lib
>
> BUILD FAILED
> file:/usr/local/devtools/gt3/build-services.xml:343: Failed to copy /usr/local/devtools/gt3/lib/xalan.jar to
> /usr/local/devtools/jakarta-tomcat/common/lib/xalan.jar due to /usr/local/devtools/jakarta-tomcat/common/lib/xalan.jar (Permission denied) and I couldn't delete
> the corrupt /usr/local/devtools/jakarta-tomcat/common/lib/xalan.jar
>
> Total time: 2 seconds
>
>
> Rod
>
> Jing Tao wrote:
>
> Hi, Rod:
>
> Yes, I had one. But now I am messing it with the get method. I am not sure
> it works. But at least, the query method should work.
>
> 1) update your ecogrid directory.
> 2) in ecogrid directory run "ant gar" as a regular user.
> 3) in gt3 home directory run "ant deploy
> -Dgar.name=yourecogriddirectory/build/lib/
> org.ecoinformatics.ecogrid.EcogridSoap.MetacatImpl.gar" as globus user
> 4) in gt3 home directory run "ant deployTomcat
> -Dtomcat.dir=yourtomcathomedir" as globus user.
> 5) restart tomcat
> 6) create instance in gt3/lib by run "./ogsi-create-service
> http://localhost:8080/ogsa/services/org/ecoinformatics/ecogrid/MetacatFactoryService
> metacat"
> 7) in ecogrid dircotry run "ant runClient"
>
> Pretty complicated :). I tried to combine step 2, 3 and 4 into same
> build.xml file. But there is some permission issue I need to figure out. I
> will do it later.
>
> I am in the irs seek channel, if you have any question just let me know.
>
> Hope this is helpful.
>
> Jing
>
>
> On Fri, 21 Nov 2003, Rod Spears wrote:
>
>
>
> Well, I think it does. It shows zero documents, which is probably correct.
>
> Now, how do I build the new grid services work you are doing?
>
> Plus, I think you have a client for testing?
>
> Rod
>
> --
> Rod Spears
> Biodiversity Research Center
> University of Kansas
> 1345 Jayhawk Boulevard
> Lawrence, KS 66045, USA
> Tel: 785 864-4082, Fax: 785 864-5335
>
>
>
>
>
>
>
--
Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101
More information about the Seek-dev
mailing list