java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet

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 11.1.1.4.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.

Comments:

7897

Posted by guest on July 12, 2012 at 01:36 PM IST #

Hi Sreekanth,

i followed the steps you mentioned above.

But still iam getting the below error :

[09:37:41 PM] ---- Deployment started. ----
[09:37:41 PM] Target platform is (Weblogic 10.3).
[09:37:41 PM] Retrieving existing application information
[09:37:42 PM] Running dependency analysis...
[09:37:42 PM] Building...
[09:37:45 PM] Deploying profile...
[09:37:45 PM] Wrote Web Application Module to D:\sridhar\SampleADF\ADFWorld\ViewController\deploy\ADFWorld_ViewController_webapp1.war
[09:37:45 PM] Deploying Application...
[09:37:49 PM] [Deployer:149191]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' is initializing on 'ADFServer'
[09:37:49 PM] [Deployer:149193]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' has failed on 'ADFServer'
[09:37:49 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application ADFWorld_ViewController_webapp1 on ADFServer.: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'.
[09:37:49 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'
[09:37:49 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@6712785[app:ADFWorld_ViewController_webapp1 module:ADFWorld_ViewController_webapp1.war path:/ADFWorld spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false]
[09:37:49 PM] See server logs or server console for more details.
[09:37:49 PM] weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'
[09:37:49 PM] #### Deployment incomplete. ####
[09:37:49 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

Regards
Sridihar

Posted by sridhar yerram on July 21, 2012 at 09:38 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is my personal blog.All the information here reflects my own thoughts and feelings and should not be taken as official information from Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today