Question : Not able to acces the application

Hello, experts, can you please explain the below error and how to resolve it......
Code Snippet:
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:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
WebSphere Platform 5.1 [BASE 5.1.1.18 cf180813.02] [JDK 1.4.2.11 sol142hybrid-20080516a] [ND 5.1.1.18 cf180813.02]  running with process name ccgint\wasdvloh3
_ccg\ccg05-clone1 and process id 25036
Host Operating System is SunOS, version 5.10 Java version = 1.4.2_17, Java Compiler = null, Java VM name = Java HotSpot(TM) Client VM was.install.root = /opt/WebSphere/AppServer5_ccg user.install.root = /opt/WebSphere/AppServer5_ccg Java Home = /opt/WebSphere/AppServer5_ccg/java/jre
ws.ext.dirs = /opt/WebSphere/AppServer5_ccg/java/lib:/opt/WebSphere/AppServer5_ccg/classes:/opt/WebSphere/AppServer5_ccg/classes:/opt/WebSphere/AppServer5_ccg
/lib:/opt/WebSphere/AppServer5_ccg/lib/ext:/opt/WebSphere/AppServer5_ccg/web/help:/opt/WebSphere/AppServer5_ccg/deploytool/itp/plugins/com.ibm.etools.ejbdeplo
y/runtime
Classpath = /opt/WebSphere/AppServer5_ccg/properties:/opt/WebSphere/AppServer5_ccg/properties:/opt/WebSphere/AppServer5_ccg/lib/bootstrap.jar:/opt/WebSphere/A
ppServer5_ccg/lib/j2ee.jar:/opt/WebSphere/AppServer5_ccg/lib/lmproxy.jar:/opt/WebSphere/AppServer5_ccg/lib/urlprotocols.jar
Java Library path = /opt/WebSphere/AppServer5_ccg/java/jre/lib/sparc/client:/opt/WebSphere/AppServer5_ccg/java/jre/lib/sparc:/opt/WebSphere/AppServer5_ccg/jav
a/jre/../lib/sparc:/opt/WebSphere/AppServer5_ccg/bin:/opt/mqm/java/lib:/opt/wemps/lib:/export/home/db2inst1/sqllib/lib:/usr/lib
************* End Display Current Environment *************
[11/23/09 0:00:07:637 EST]   272111 WebGroup      E SRVE0026E: [Servlet Error]-[BBXServiceServlet]: java.lang.NoClassDefFoundError: Error while defining class
: com.identify.aps.bbx.servlets.CustomBBXSerRPCProxyServlet
This error indicates that the class: Error while defining class: com.identify.aps.bbx.servlets.BBXSerRPCProxyServlet
This error indicates that the class: com.identify.aps.infra.transport.AbstractRPCProxyServlet
could not be located while defining the class: com.identify.aps.bbx.servlets.BBXSerRPCProxyServlet
This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    *** indicates classloader where the missing class could have been found ==>[0] com.ibm.ws.classloader.CompoundClassLoader@114441e
   Local ClassPath: .opt.WebSphere.AppServer5_ccg.installedApps.ccgint.AppSightRecorder.ear.AppSightRecorder.war.WEB-INF.classes:.opt.WebSphere.AppServer5_ccg
.installedApps.ccgint.AppSightRecorder.ear.AppSightRecorder.war.WEB-INF.lib.asm-identify.jar:.opt.WebSphere.AppServer5_ccg.installedApps.ccgint.AppSightRecord
er.ear.AppSightRecorder.war.WEB-INF.lib.bcel.jar:.opt.WebSphere.AppServer5_ccg.installedApps.ccgint.AppSightRecorder.ear.AppSightRecorder.war.WEB-INF.lib.jaka
rta-regexp.jar:.opt.WebSphere.AppServer5_ccg.installedApps.ccgint.AppSightRecorder.ear.AppSightRecorder.war
   Delegation Mode: PARENT_FIRST
   [1] com.ibm.ws.classloader.JarClassLoader@21728289 Local Classpath:  Delegation mode: PARENT_FIRST
   [2]
com.ibm.ws.classloader.ExtJarClassLoader@1d11b79
   Local ClassPath: .opt.IBM.db2.V8.1.java.db2java.zip:.opt.WebSphere.AppServer5.sybdriver
   Delegation Mode: PARENT_FIRST
   [3]
com.ibm.ws.classloader.ExtJarClassLoader@162b333
   Local ClassPath: .opt.WebSphere.AppServer5_ccg.lib.app
   Delegation Mode: PARENT_LAST
   [4] com.ibm.ws.classloader.ProtectionClassLoader@e2f8c1
   [5] com.ibm.ws.bootstrap.ExtClassLoader@13582d
   [6] sun.misc.Launcher$AppClassLoader@53c015
   [7] sun.misc.Launcher$ExtClassLoader@67ac19
---Original exception---
java.lang.NoClassDefFoundError: com.identify.aps.infra.transport.AbstractRPCProxyServlet
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:454)
        at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:406)
        at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:314)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
"SystemOut.log" [Read only] 676048 lines, 51349836 characters
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:454)
        at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:406)
        at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:314)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.beans.Beans.instantiate(Beans.java:187)
        at java.beans.Beans.instantiate(Beans.java:48)
        at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
        at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)
        at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:781)
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:245)
        at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.(WebAppRequestDispatcherInfo.java:116)
        at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1627)
        at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1586)
        at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:316)
        at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
        at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:254)
        at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
        at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
        at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:657)
        at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:453)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)
 
--- end Original exception----
 
could not be located while defining the class: com.identify.aps.bbx.servlets.CustomBBXSerRPCProxyServlet
This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    *** indicates classloader where the missing class could have been found ==>[0] com.ibm.ws.classloader.CompoundClassLoader@114441e
   Local ClassPath: /opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/classes:/opt/WebSphere/AppServer5_ccg
/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/lib/asm-identify.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecord
er.ear/AppSightRecorder.war/WEB-INF/lib/bcel.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/lib/jaka
rta-regexp.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war
   Delegation Mode: PARENT_FIRST
   [1] com.ibm.ws.classloader.JarClassLoader@21728289 Local Classpath:  Delegation mode: PARENT_FIRST
   [2]
com.ibm.ws.classloader.ExtJarClassLoader@1d11b79
   Local ClassPath: /opt/IBM/db2/V8.1/java/db2java.zip:/opt/WebSphere/AppServer5/sybdriver
   Delegation Mode: PARENT_FIRST
   [3]
com.ibm.ws.classloader.ExtJarClassLoader@162b333
   Local ClassPath: /opt/WebSphere/AppServer5_ccg/lib/app
   Delegation Mode: PARENT_LAST
   [4] com.ibm.ws.classloader.ProtectionClassLoader@e2f8c1
   [5] com.ibm.ws.bootstrap.ExtClassLoader@13582d
   [6] sun.misc.Launcher$AppClassLoader@53c015
   [7] sun.misc.Launcher$ExtClassLoader@67ac19
---Original exception---
java.lang.NoClassDefFoundError: Error while defining class: com.identify.aps.bbx.servlets.BBXSerRPCProxyServlet
This error indicates that the class: com.identify.aps.infra.transport.AbstractRPCProxyServlet
could not be located while defining the class: com.identify.aps.bbx.servlets.BBXSerRPCProxyServlet
This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    *** indicates classloader where the missing class could have been found ==>[0] com.ibm.ws.classloader.CompoundClassLoader@114441e
   Local ClassPath: /opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/classes:/opt/WebSphere/AppServer5_ccg
/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/lib/asm-identify.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecord
er.ear/AppSightRecorder.war/WEB-INF/lib/bcel.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war/WEB-INF/lib/jaka
rta-regexp.jar:/opt/WebSphere/AppServer5_ccg/installedApps/ccgint/AppSightRecorder.ear/AppSightRecorder.war
   Delegation Mode: PARENT_FIRST
   [1] com.ibm.ws.classloader.JarClassLoader@21728289 Local Classpath:  Delegation mode: PARENT_FIRST
   [2]
com.ibm.ws.classloader.ExtJarClassLoader@1d11b79
   Local ClassPath: /opt/IBM/db2/V8.1/java/db2java.zip:/opt/WebSphere/AppServer5/sybdriver
   Delegation Mode: PARENT_FIRST
   [3]
com.ibm.ws.classloader.ExtJarClassLoader@162b333
   Local ClassPath: /opt/WebSphere/AppServer5_ccg/lib/app

Answer : Not able to acces the application

It looks like Class Loader do not find
com.identify.aps.bbx.servlets.BBXSerRPCProxyServlet
and
com.identify.aps.bbx.servlets.CustomBBXSerRPCProxyServlet

Make sure that the corresponding class/jar files are available in classpath or lib folder of you application server for your application.
Random Solutions  
 
programming4us programming4us