Restart of deployed Standalone EJB Web Service is failing
----------------------------------------------------------
Key: GERONIMO-2257
URL: http://issues.apache.org/jira/browse/GERONIMO-2257
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: webservices
Affects Versions: 1.1.x
Environment: Windows XP, Sun JDK 1.4.2_10
Reporter: Manu T George
Whenever restart is clicked from console for an ejb webservice the webservice
startup fails. After this failure occurs we cannot start the service without
restarting the server.
This happens because during restart the configurations are not
unloaded. They are just stopped. So the values in the Gbeans are not reset to
that persisted in config.ser. The problem occurs in WSContainer.java where the
statement
serviceDesc.setImplClass(serviceEndpointInterface);
throws an error as already a value will be set in the serviceDesc object for
the implClass variable and it cannot be set again. When the service is
restarted the same value is set again which throws an error. So the above
statement has been changed to
if(serviceDesc.getImplClass() == null) {
serviceDesc.setImplClass(serviceEndpointInterface);
}
which solves the issue
--
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