No error when deployment of default server-config.wsdd fails
------------------------------------------------------------
Key: AXIS-2575
URL: http://issues.apache.org/jira/browse/AXIS-2575
Project: Apache Axis
Issue Type: Bug
Components: Deployment / Registries
Affects Versions: 1.4
Environment: Windows, Tomcat 5.5 with Securitymanager , Using
java.util.logging
axis.jar found in tomcat/common/lib
Axis webapp configurend in tomcats/conf/server.xml as
<Context path="/axis"
docBase="../../axis-1_4/webapps/axis"
reloadable="false" debug="0" />
Reporter: Klaus Halfmann
The binary deployment available at
http://www.apache.org/dyn/closer.cgi/ws/axis/1_4
does not include a
server-config.wsdd
in
webapps/axis/WEB-INF
The file is found in
/axis-1_4/src/org/apache/axis/server/server-config.wsdd
and in
axis.jar at org/apache/axis/server/server-config.wsdd
In the given Environment I get the message
19.10.2006 13:58:42
org.apache.axis.configuration.EngineConfigurationFactoryServlet
getServerEngineConfig
WARN: Unable to find config file. Creating new servlet engine config file:
/WEB-INF/server-config.wsdd
But the file is not actually created.
After registering a Service with the AdminClient it _IS_ written
(but since we want to deploy our services manually this did not happen for us
...)
Workarounds:
a) Copy default server-config.wsdd manually
b) deploy server-config.wsdd in webapps/axis
Fix:
Write back server-config.wsdd after
log.warn(Messages.getMessage("servletEngineWebInfWarn00"));
Test with SecurityManage enebaled a this may prevent the action from working
and issue a informative warning when it fails ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]