Apache Axis SOAP クライアント プロキシを Spring Bean としてインスタンス化する J2EE Web アプリケーションがあります。
初めてアプリケーションを Glassfish 3 サーバーにデプロイすると、成功します。ただし、アプリケーションをアンデプロイして再デプロイすると、次のエラーが発生します (Spring スタックトレースの下部)。
Instantiation of bean failed; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
[com.foo.bar.FooServicePortType com.foo.bar.config.ApplicationConfig.backendService()] threw exception;
nested exception is java.lang.RuntimeException:
java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource
[META-INF/services/org.apache.axis.EngineConfigurationFactory],
because it has not yet been started, or was already stopped
ドメインを再起動して再デプロイすると、再び成功します。
なぜこれが起こっているのですか?