You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by John Hartman <jh...@walrus.com> on 2000/08/01 06:38:48 UTC

Re: Error saving services registry: DeployedServices.ds

Hello all:

Has anyone else run across permission problems when using deploy.jsp? If
not...well, Sanjiva...where is ServiceManager trying to write the registry
to?

I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
using the contents of DeploymentDescriptor.xml as my guide in completing the
deployment. Submiting the form simply results in a server fault response.

I've only been able to determine that the following exception occurs within
org.apache.soap.server.ServiceManager (as indicated below in the stack trace
I've included).

I've installed JServ, running a relatively recent release of Apache, running
on a Linux platform. Xerces and Soap are current up to July 26th. I've given
world access to just about every directory I could guess the registry could
be written to.

Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
services registry: DeployedServices.ds (Permission denied)]
[SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
registry: DeployedServices.ds (Permission denied)]
        at
org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
        at
org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
        at
jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
        at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
        at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
        at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:475)



Re: Error saving services registry: DeployedServices.ds

Posted by Blaine Horrocks <bl...@cp.net>.
wrt Tomcat, I believe that the target directory is the startup directory for
the jvm that tomcat runs in.  Thus, for me, $TOMCAT_HOME is where the .ds file
is placed because I start using bin/startup.sh.   This is probably true for all
other cases too.  The start directory for the instance of the JVM running the
soap code is where the file would be written.

Cheers

"Steven J. McDowall" wrote:

> Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)
>
> For Jserv I am sure it is also in a similar place.. (does Jserv have
> a bin dir too?) ..
>
> In effect, it is whereever the CWD happens to be at Jserv start up time..
>
> -Steve
>
> -----Original Message-----
> From: John Hartman [mailto:jhartman@walrus.com]
> Sent: Monday, July 31, 2000 11:39 PM
> To: soap-dev@xml.apache.org
> Cc: Sanjiva Weerawarana
> Subject: Re: Error saving services registry: DeployedServices.ds
>
> Hello all:
>
> Has anyone else run across permission problems when using deploy.jsp? If
> not...well, Sanjiva...where is ServiceManager trying to write the registry
> to?
>
> I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
> using the contents of DeploymentDescriptor.xml as my guide in completing the
> deployment. Submiting the form simply results in a server fault response.
>
> I've only been able to determine that the following exception occurs within
> org.apache.soap.server.ServiceManager (as indicated below in the stack trace
> I've included).
>
> I've installed JServ, running a relatively recent release of Apache, running
> on a Linux platform. Xerces and Soap are current up to July 26th. I've given
> world access to just about every directory I could guess the registry could
> be written to.
>
> Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
> services registry: DeployedServices.ds (Permission denied)]
> [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
> registry: DeployedServices.ds (Permission denied)]
>         at
> org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
>         at
> org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
>         at
> jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
>         at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
>         at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
>         at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:475)


Re: Error saving services registry: DeployedServices.ds

Posted by George I Matkovits <ma...@uswest.net>.
Changing the 'save' address is easy! Just look into the code, since it is saving
it in the CWD (which happens to be Tomcat's startup directory)  you are able to
do it relatively or by an absolute file path. The 'relative' path might take a
little experimentation, depending on your servlet container.
Regards.

"Steven J. McDowall" wrote:

> Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)
>
> For Jserv I am sure it is also in a similar place.. (does Jserv have
> a bin dir too?) ..
>
> In effect, it is whereever the CWD happens to be at Jserv start up time..
>
> -Steve
>
> -----Original Message-----
> From: John Hartman [mailto:jhartman@walrus.com]
> Sent: Monday, July 31, 2000 11:39 PM
> To: soap-dev@xml.apache.org
> Cc: Sanjiva Weerawarana
> Subject: Re: Error saving services registry: DeployedServices.ds
>
> Hello all:
>
> Has anyone else run across permission problems when using deploy.jsp? If
> not...well, Sanjiva...where is ServiceManager trying to write the registry
> to?
>
> I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
> using the contents of DeploymentDescriptor.xml as my guide in completing the
> deployment. Submiting the form simply results in a server fault response.
>
> I've only been able to determine that the following exception occurs within
> org.apache.soap.server.ServiceManager (as indicated below in the stack trace
> I've included).
>
> I've installed JServ, running a relatively recent release of Apache, running
> on a Linux platform. Xerces and Soap are current up to July 26th. I've given
> world access to just about every directory I could guess the registry could
> be written to.
>
> Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
> services registry: DeployedServices.ds (Permission denied)]
> [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
> registry: DeployedServices.ds (Permission denied)]
>         at
> org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
>         at
> org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
>         at
> jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
>         at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
>         at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
>         at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:475)


Re: Error saving services registry: DeployedServices.ds

Posted by Blaine Horrocks <bl...@cp.net>.
wrt Tomcat, I believe that the target directory is the startup directory for
the jvm that tomcat runs in.  Thus, for me, $TOMCAT_HOME is where the .ds file
is placed because I start using bin/startup.sh.   This is probably true for all
other cases too.  The start directory for the instance of the JVM running the
soap code is where the file would be written.

Cheers

"Steven J. McDowall" wrote:

> Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)
>
> For Jserv I am sure it is also in a similar place.. (does Jserv have
> a bin dir too?) ..
>
> In effect, it is whereever the CWD happens to be at Jserv start up time..
>
> -Steve
>
> -----Original Message-----
> From: John Hartman [mailto:jhartman@walrus.com]
> Sent: Monday, July 31, 2000 11:39 PM
> To: soap-dev@xml.apache.org
> Cc: Sanjiva Weerawarana
> Subject: Re: Error saving services registry: DeployedServices.ds
>
> Hello all:
>
> Has anyone else run across permission problems when using deploy.jsp? If
> not...well, Sanjiva...where is ServiceManager trying to write the registry
> to?
>
> I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
> using the contents of DeploymentDescriptor.xml as my guide in completing the
> deployment. Submiting the form simply results in a server fault response.
>
> I've only been able to determine that the following exception occurs within
> org.apache.soap.server.ServiceManager (as indicated below in the stack trace
> I've included).
>
> I've installed JServ, running a relatively recent release of Apache, running
> on a Linux platform. Xerces and Soap are current up to July 26th. I've given
> world access to just about every directory I could guess the registry could
> be written to.
>
> Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
> services registry: DeployedServices.ds (Permission denied)]
> [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
> registry: DeployedServices.ds (Permission denied)]
>         at
> org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
>         at
> org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
>         at
> jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
>         at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
>         at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
>         at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:475)


Re: Error saving services registry: DeployedServices.ds

Posted by George I Matkovits <ma...@uswest.net>.
Changing the 'save' address is easy! Just look into the code, since it is saving
it in the CWD (which happens to be Tomcat's startup directory)  you are able to
do it relatively or by an absolute file path. The 'relative' path might take a
little experimentation, depending on your servlet container.
Regards.

"Steven J. McDowall" wrote:

> Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)
>
> For Jserv I am sure it is also in a similar place.. (does Jserv have
> a bin dir too?) ..
>
> In effect, it is whereever the CWD happens to be at Jserv start up time..
>
> -Steve
>
> -----Original Message-----
> From: John Hartman [mailto:jhartman@walrus.com]
> Sent: Monday, July 31, 2000 11:39 PM
> To: soap-dev@xml.apache.org
> Cc: Sanjiva Weerawarana
> Subject: Re: Error saving services registry: DeployedServices.ds
>
> Hello all:
>
> Has anyone else run across permission problems when using deploy.jsp? If
> not...well, Sanjiva...where is ServiceManager trying to write the registry
> to?
>
> I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
> using the contents of DeploymentDescriptor.xml as my guide in completing the
> deployment. Submiting the form simply results in a server fault response.
>
> I've only been able to determine that the following exception occurs within
> org.apache.soap.server.ServiceManager (as indicated below in the stack trace
> I've included).
>
> I've installed JServ, running a relatively recent release of Apache, running
> on a Linux platform. Xerces and Soap are current up to July 26th. I've given
> world access to just about every directory I could guess the registry could
> be written to.
>
> Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
> services registry: DeployedServices.ds (Permission denied)]
> [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
> registry: DeployedServices.ds (Permission denied)]
>         at
> org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
>         at
> org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
>         at
> jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
>         at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
>         at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
>         at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:475)


RE: Error saving services registry: DeployedServices.ds

Posted by "Steven J. McDowall" <sj...@uswest.net>.
Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)

For Jserv I am sure it is also in a similar place.. (does Jserv have
a bin dir too?) ..

In effect, it is whereever the CWD happens to be at Jserv start up time..

-Steve


-----Original Message-----
From: John Hartman [mailto:jhartman@walrus.com]
Sent: Monday, July 31, 2000 11:39 PM
To: soap-dev@xml.apache.org
Cc: Sanjiva Weerawarana
Subject: Re: Error saving services registry: DeployedServices.ds


Hello all:

Has anyone else run across permission problems when using deploy.jsp? If
not...well, Sanjiva...where is ServiceManager trying to write the registry
to?

I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
using the contents of DeploymentDescriptor.xml as my guide in completing the
deployment. Submiting the form simply results in a server fault response.

I've only been able to determine that the following exception occurs within
org.apache.soap.server.ServiceManager (as indicated below in the stack trace
I've included).

I've installed JServ, running a relatively recent release of Apache, running
on a Linux platform. Xerces and Soap are current up to July 26th. I've given
world access to just about every directory I could guess the registry could
be written to.

Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
services registry: DeployedServices.ds (Permission denied)]
[SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
registry: DeployedServices.ds (Permission denied)]
        at
org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
        at
org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
        at
jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
        at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
        at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
        at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:475)




RE: Error saving services registry: DeployedServices.ds

Posted by "Steven J. McDowall" <sj...@uswest.net>.
Well, for Tomcat it tries to store it in tomcat's bin directory.. :-)

For Jserv I am sure it is also in a similar place.. (does Jserv have
a bin dir too?) ..

In effect, it is whereever the CWD happens to be at Jserv start up time..

-Steve


-----Original Message-----
From: John Hartman [mailto:jhartman@walrus.com]
Sent: Monday, July 31, 2000 11:39 PM
To: soap-dev@xml.apache.org
Cc: Sanjiva Weerawarana
Subject: Re: Error saving services registry: DeployedServices.ds


Hello all:

Has anyone else run across permission problems when using deploy.jsp? If
not...well, Sanjiva...where is ServiceManager trying to write the registry
to?

I'm attempting to deploy the AddressFetcher "out of the box" so to speak,
using the contents of DeploymentDescriptor.xml as my guide in completing the
deployment. Submiting the form simply results in a server fault response.

I've only been able to determine that the following exception occurs within
org.apache.soap.server.ServiceManager (as indicated below in the stack trace
I've included).

I've installed JServ, running a relatively recent release of Apache, running
on a Linux platform. Xerces and Soap are current up to July 26th. I've given
world access to just about every directory I could guess the registry could
be written to.

Exception: [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving
services registry: DeployedServices.ds (Permission denied)]
[SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services
registry: DeployedServices.ds (Permission denied)]
        at
org.apache.soap.server.ServiceManager.saveRegistry(ServiceManager.java:127)
        at
org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:146)
        at
jsp__soap__deploy_2ejsp._jspService(jsp__soap__deploy_2ejsp.java:154)
        at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:908)
        at org.gjt.jsp.JspServlet.xservice(JspServlet.java:550)
        at org.gjt.jsp.JspServlet.service(JspServlet.java:436)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
        at org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:475)