For those of you having problems with tomcat4 & SOAP in Debian... tomcat4 tries to create the file DeployedServices.ds in the _current directory_ when you deploy a new SOAP service. So it must be running on a directory writable by the 'tomcat4' user or it should find an already created DeployedServices.ds file where to write to.
I fixed this cd'ing to the $CATALINA_HOME/temp directory (which is writable by tomcat) BEFORE launching the tomcat daemon (just edit /etc/init.d/tomcat4 and place a 'cd "$CATALINA_HOME/temp"' line before the start-stop-daemon one), and creating a new '10soap.policy' file under /etc/tomcat4/policy.d/ containing: grant codeBase "file:${catalina.home}/work/localhost/soap/-" { permission java.io.FilePermission "DeployedServices.ds", "read,write"; }; This solved the problem. Services are being added to the newly created 'DeployedServices.ds' file when I do so from the SOAP web admin app. My system: Debian Woody (r0) Great work made whith this package by the maintainers... Except from this little problem with SOAP, everything worked seamlessly and... more important, quickly! --- > "Gerhard Pauls" <[EMAIL PROTECTED]> writes: > > > When i want to deploy a service the admin interface returns > > "javax.servlet.ServletException: Error saving services registry: access > > denied (java.io.FilePermission DeployedServices.ds write)". The log file > > /var/log/tomcat4/catalina.out says "SOAP Service Manager: Unable to read > > 'DeployedServices.ds': assuming fresh start". According to Documentation > > that should be just a warning and the file should be created. > > I also had a problem with file access and tomcat4. My problem was that > policies in /etc/tomcat4/policy.d didn't allow file access for my code. > > -- > Juha Autero > http://www.iki.fi/jautero/ > Eschew obscurity! -- José Carlos Ramírez Pérez Equipo de Linux/Oracle mailto:JoseCarlos.Ramirez@;isotrol.com ___________________________________________________ ISOTROL S.A. Avda. de la innovación nº 1, 3ª plta, 41020 Sevilla Tel.: 955 036 800 - Fax: 955 036 849 web: http://www.isotrol.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]