By sreekanth on Jul 27, 2011
I am trying to create a simple ADF BC webservice and when I tried to deploy my application to the server , I got the below error message in JDeveloper Deployment Console:
[11:34:54 AM] [Deployer:149193]Operation 'deploy' on application 'Project1_bcProfile1' has failed on 'AdminServer'
[11:34:54 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Project1_bcProfile1 on AdminServer.: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'.
[11:34:58 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'
[11:34:58 AM] Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet
[11:34:58 AM] See server logs or server console for more details.
[11:34:58 AM] weblogic.application.ModuleException: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'
[11:35:00 AM] #### Deployment incomplete. ####
[11:35:00 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Its strange, since it worked with the same version of JDeveloper(Studio Edition Version 184.108.40.206.0), same target soa server and same Operating system(Ubuntu 11.04).I tried other versions of JDeveloper as well.But no luck until I posted in JDeveloper forums.
As it is obvious the issue is some class not found exception, but why that class is missing is still a mistery to me.Solution that worked for me is add
"<Middleware_HOME>/oracle_common/modules/oracle.webservices_11.1.1/wsserver.jar" to your projects classpath entries as shown in the below screen shot and then redeploy.