I checked the code. Since you have an absolute path, there should be no getRealPath() conversion. If the files are in the right place, it seems to me this should work.
Did you deploy a war or did you explode the war yourself? Scott Nichol ----- Original Message ----- From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 6:58 PM Subject: Re: URJENT -- Deploy descriptor problem with apache soap > My guess: the file names in web.xml and soap.xml passed through > getRealPath, so try leaving off the start of the file path > (/export/enterprise-docs/riskmast/). So, in web.xml, configFile would > be "config/local/soap.xml" and in soap.xml filename would be > "rmsoapsvc/WEB-INF/jsp/DeployedServices.ds" > > Scott Nichol > > ----- Original Message ----- > From: "Sinha, Madhukar [IT]" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 10, 2002 6:16 PM > Subject: URJENT -- Deploy descriptor problem with apache soap > > > > > > > > I am having problems with deploy descriptors . The config manger is > not > > bieng able to locate it registry file and is looking at wrong place. > > > > Here is the - > > > > soap.xml file (/export/enterprise-docs/riskmast/config/local/soap.xml) > > > > > > <!-- Apache SOAP Server Configuration File --> > > <soapServer> > > <configManager value="org.apache.soap.server.DefaultConfigManager"> > > <option name="filename" > > > value="/export/enterprise-docs/riskmast/rmsoapsvc/WEB-INF/jsp/DeployedSe > rvic > > es.ds"/> > > </configManager> > > </soapServer> > > > > web.xml file of the webapp "rmsoapsvc" > > > > > > <?xml version="1.0"?> > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application > > 2.2//EN" " <http://java.sun.com/j2ee/dtds/web-app_2_2.dtd> > > http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > > <web-app> > > <display-name>RMSOAPSVC</display-name> > > <description>RiskMaster SOAP Service</description> > > <session-config> > > <session-timeout>30</session-timeout> > > </session-config> > > <mime-mapping> > > <extension>txt</extension> > > <mime-type>text/plain</mime-type> > > </mime-mapping> > > <mime-mapping> > > <extension>html</extension> > > <mime-type>text/html</mime-type> > > </mime-mapping> > > <welcome-file-list> > > <welcome-file>index.jsp</welcome-file> > > <welcome-file>index.html</welcome-file> > > </welcome-file-list> > > <servlet> > > <servlet-name>rpcrouter</servlet-name> > > > > > <servlet-class>org.apache.soap.server.http.RPCRouterServlet</servlet-cla > ss> > > <load-on-startup>1</load-on-startup> > > <init-param> > > <param-name>faultListener</param-name> > > > > <param-value>org.apache.soap.server.DOMFaultListener</param-value> > > </init-param> > > <init-param> > > <param-name>ConfigFile</param-name> > > > > > <param-value>/export/enterprise-docs/riskmast/config/local/soap.xml</par > am-v > > alue> > > </init-param> > > </servlet> > > <servlet-mapping> > > <servlet-name>rpcrouter</servlet-name> > > <url-pattern>/soap/servlet/rpcrouter</url-pattern> > > </servlet-mapping> > > <servlet> > > <servlet-name>messagerouter</servlet-name> > > > > > <servlet-class>org.apache.soap.server.http.MessageRouterServlet</servlet > -cla > > ss> > > <load-on-startup>2</load-on-startup> > > <init-param> > > <param-name>faultListener</param-name> > > > > <param-value>org.apache.soap.server.DOMFaultListener</param-value> > > </init-param> > > </servlet> > > <servlet-mapping> > > <servlet-name>messagerouter</servlet-name> > > <url-pattern>/soap/servlet/messagerouter</url-pattern> > > </servlet-mapping> > > </web-app> > > > > > > error on web based deploy tool when i use DEPLOY option > > ------------------------------------ > > > > > > javax.servlet.ServletException: Exception thrown on line '437' from > page > > '/export/enterprise-docs/riskmast/rmsoapsvc/admin/deploy.jsp'. > > [SOAPException: faultCode=SOAP-ENV:Server; msg=Error saving services > > registry: /export/enterprise-docs/riskmast/DeployedServices.ds > (Permission > > denied)] > > at > > > org.apache.soap.server.DefaultConfigManager.saveRegistry(DefaultConfigMa > nage > > r.java:151) > > at > > > org.apache.soap.server.BaseConfigManager.deploy(BaseConfigManager.java:1 > 19) > > at > org.apache.soap.server.ServiceManager.deploy(ServiceManager.java:238) > > at > > > jrun__rmsoapsvc__admin__deploy2ejsp1b._jspService(jrun__rmsoapsvc__admin > __de > > ploy2ejsp1b.java:171) > > at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40) > > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) > > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) > > at > > > allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.jav > a:34 > > ) > > at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175) > > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) > > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925) > > at > > > allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher > .jav > > a:88) > > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) > > at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) > > at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367) > > at allaire.jrun.ThreadPool.run(ThreadPool.java:272) > > at allaire.jrun.WorkerThread.run(WorkerThread.java:75) > > > > ------------------ > > > > error on STDERR of app server > > ------- > > > > Operating System: SunOS Version 5.6 > > Java Virtual Machine: mixed mode from Sun Microsystems Inc. > > JRun 3.0 3.01.5870 Starting riskmast... > > Current Locale: en > > Loading scheduler > > Loading logging > > SOAP Service Manager: Unable to read 'DeployedServices.ds': assuming > fresh > > start > > > > > > > > > > WHY IS IT LOOKING AT WRONG PLACE .. THOUGH I HAVE SPECIFIED PATH IN > soap.xml > > file.. > > its now looking for DeployedServices.ds file in my JRUN root > > (/export/enterprise-docs/riskmast) instead of looking at place > specified in > > soap.xml file. > > > > Please help ASAP its urjent > > > > > > > > > > ~ > > ~ > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>