My Oracle Support Banner

WLS 9.0 - WssConfiguration on WS based on EJB causes ClassCastException during deployment - CR241878 (Doc ID 776811.1)

Last updated on FEBRUARY 10, 2019

Applies to:

Oracle WebLogic Server - Version 9.0 to 9.0
Information in this document applies to any platform.
Information in this document applies to any platform


On exposing an EJB as a WebService you might run into the below issue.
When the JWS gets an annotation added for WssConfiguration, the deployment fails
with a ClassCastException like:

Unable to deploy EJB: de/foo/bar/webservice/MySystem.jar from de/foo/bar/webservice/MySystem.jar: weblogic.wsee.deploy.EJBDeployInfo
at weblogic.ejb20.deployer.EJBModule.prepare(
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(
at weblogic.application.internal.flow.DeploymentCallbackFlow$
at weblogic.application.utils.StateMachineDriver.nextState(
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(
Truncated. see log file for complete weblogic.wsee.deploy.EJBDeployInfo
at weblogic.wsee.deploy.WsEJBDeployListener.updateWssConfigInfo(
at weblogic.wsee.deploy.WsEJBDeployListener.doprepare(
at weblogic.wsee.deploy.WsEJBDeployListener.prepare(
at weblogic.ejb20.deployer.EJBDeployer.prepare(
at weblogic.ejb20.deployer.EJBModule.prepare(
Truncated. see log file for complete stacktrace


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.