Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Web-Admin Deployment Issues

Subject: perfsonar development work

List archive

Re: [pS-dev] Web-Admin Deployment Issues


Chronological Thread 
  • From: Mario Reale <>
  • To: Prodromos Gerakios <>
  • Cc: " developers" <>, Nicolas Simar <>
  • Subject: Re: [pS-dev] Web-Admin Deployment Issues
  • Date: Tue, 09 Dec 2008 09:45:38 +0100
  • Organization: GARR

Hi,

I just stepped again into this very same issue ( I re-installed everything just this morning)

[root@grid-4 WEB-INF]# pwd
/var/lib/tomcat5/webapps/exist/WEB-INF
[root@grid-4 WEB-INF]# ls -la
total 236
drwxr-xr-x  8 root tomcat  4096 2008-12-09 08:33 .
drwxr-xr-x 20 root tomcat  4096 2008-12-09 08:33 ..
drwxr-xr-x  2 root tomcat  4096 2008-01-26 14:49 attachments
-rw-r--r--  1 root tomcat   441 2008-01-16 16:08 backup.properties
-rw-r--r--  1 root tomcat   697 2008-01-16 16:10 catalog.xml
drwxr-xr-x  2 root tomcat  4096 2008-12-09 08:33 classes
-rw-r--r--  1 root tomcat  1194 2008-02-23 11:57 client.properties
-rw-r--r--  1 root tomcat 53914 2008-01-16 16:10 cocoon.xconf
-rw-r--r--  1 root tomcat 31992 2008-05-13 16:16 conf.xml
drwxrwx---  2 root tomcat  4096 2008-12-09 08:34 data
-rw-r--r--  1 root tomcat  3644 2008-03-26 12:46 descriptor.xml
drwxr-xr-x  2 root tomcat  4096 2008-12-09 08:33 entities
-rw-r--r--  1 root tomcat   963 2008-01-16 16:10 exist.tld
-rw-r--r--  1 root tomcat  1940 2008-01-16 16:10 instrumentation.xconf
drwxr-xr-x  2 root tomcat  4096 2008-12-09 08:33 lib
-rw-r--r--  1 root tomcat  4913 2008-02-23 11:14 log4j.dtd
-rw-r--r--  1 root tomcat  6369 2008-05-26 14:50 log4j.xml
-rw-r--r--  1 root tomcat  6288 2008-01-16 16:10 logkit.xconf
drwxrwx---  2 root tomcat  4096 2008-12-09 08:33 logs
-rw-r--r--  1 root tomcat 10388 2008-02-23 11:57 mime-types.xml
-rw-r--r--  1 root tomcat  9024 2008-01-16 16:10 server-config.wsdd
-rw-r--r--  1 root tomcat  2744 2008-02-23 11:57 server.xml
-rw-rw----  1 root tomcat  6621 2008-12-09 08:34 TMPfile.xml
-rw-r--r--  1 root tomcat   154 2008-01-16 16:10 user.roles
-rw-r--r--  1 root tomcat 21208 2008-01-30 22:26 web.xml


when I tried to install I had:



Then I followed Prodromos's suggestion and I chnaged the ownership ot the client.properties file


[root@grid-4 WEB-INF]# id tomcat
uid=91(tomcat) gid=91(tomcat) groups=91(tomcat) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

[root@grid-4 WEB-INF]# chown tomcat:tomcat client.properties

[root@grid-4 WEB-INF]# ls -la
total 236
drwxr-xr-x  8 root   tomcat  4096 2008-12-09 08:33 .
drwxr-xr-x 20 root   tomcat  4096 2008-12-09 08:33 ..
drwxr-xr-x  2 root   tomcat  4096 2008-01-26 14:49 attachments
-rw-r--r--  1 root   tomcat   441 2008-01-16 16:08 backup.properties
-rw-r--r--  1 root   tomcat   697 2008-01-16 16:10 catalog.xml
drwxr-xr-x  2 root   tomcat  4096 2008-12-09 08:33 classes
-rw-r--r--  1 tomcat tomcat  1194 2008-02-23 11:57 client.properties
-rw-r--r--  1 root   tomcat 53914 2008-01-16 16:10 cocoon.xconf
-rw-r--r--  1 root   tomcat 31992 2008-05-13 16:16 conf.xml
drwxrwx---  2 root   tomcat  4096 2008-12-09 08:34 data
-rw-r--r--  1 root   tomcat  3644 2008-03-26 12:46 descriptor.xml
drwxr-xr-x  2 root   tomcat  4096 2008-12-09 08:33 entities
-rw-r--r--  1 root   tomcat   963 2008-01-16 16:10 exist.tld
-rw-r--r--  1 root   tomcat  1940 2008-01-16 16:10 instrumentation.xconf
drwxr-xr-x  2 root   tomcat  4096 2008-12-09 08:33 lib
-rw-r--r--  1 root   tomcat  4913 2008-02-23 11:14 log4j.dtd
-rw-r--r--  1 root   tomcat  6369 2008-05-26 14:50 log4j.xml
-rw-r--r--  1 root   tomcat  6288 2008-01-16 16:10 logkit.xconf
drwxrwx---  2 root   tomcat  4096 2008-12-09 08:33 logs
-rw-r--r--  1 root   tomcat 10388 2008-02-23 11:57 mime-types.xml
-rw-r--r--  1 root   tomcat  9024 2008-01-16 16:10 server-config.wsdd
-rw-r--r--  1 root   tomcat  2744 2008-02-23 11:57 server.xml
-rw-rw----  1 root   tomcat  6621 2008-12-09 08:34 TMPfile.xml
-rw-r--r--  1 root   tomcat   154 2008-01-16 16:10 user.roles
-rw-r--r--  1 root   tomcat 21208 2008-01-30 22:26 web.xml

And things worked







we should really make sure this is fixed !   it's a deployment issue.

Mario




Prodromos Gerakios wrote:

Hi all,

A long time ago we decided that WA should automatically check and modify eXist's default port. In particular it requires *read/write permissions* to the  following file:

$CATALINA_HOME/webapps/exist/WEB-INF/client.properties

Mario and Fausto recently discovered a WA bug in XML-LS and RRDMA services. This is not a WA bug but a deployment issue. In particular, the deployment should ensure that WA was read/write permission to the client.properties file.
I hope this helps.

Kind regards,
Prodromos.




Archive powered by MHonArc 2.6.16.

Top of Page