-
1. Re: deploying web service in WAR --> restart server and serv
stephanenicoll Oct 8, 2003 2:09 AM (in response to pedrosalazar)No, it is persistent.
The problem is that you web-app has been customized this is quite difficult to give you standard solution.
Why don't you use the default axis distro which is app server independent?
Put axis in debug mode in the log4j config and checks what's wrong. I am guessing a file permission issue (jboss cannot write to the config file containing services)
Regards,
Stephane -
2. Re: deploying web service in WAR --> restart server and serv
pedrosalazar Oct 15, 2003 3:34 AM (in response to pedrosalazar)Greetings,
Stephane,
I have another solution that appears to be working. In axis.jar there exist a file org/apache/axis/server/server-config.wsdd. By default, axis service will read this file to know what are the default services available.
I changed this file, and I put my service generated on deploy.wsdd, and included it inside my WEB-INF directory on my WAR file.
Another thing, I customized my web.xml to have the following content:
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
<servlet-name>AdminServlet</servlet-name>
<display-name>Admin Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AdminServlet
</servlet-class>
<load-on-startup>100</load-on-startup>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/axis/*.jws</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AdminServlet</servlet-name>
<url-pattern>/servlet/AdminServlet</url-pattern>
</servlet-mapping>
Now, I have sure that my axis web service will run in every servlet container, at least it's working!!
regards,
Pedro Salazar.