Menu

#40 java.lang.NoClassDefFoundError: glassbox.agent.api.ApiType

open
nobody
5
2015-01-21
2009-02-27
Anonymous
No

I am trying ti install glassbox on was 6.1, after completing the installation set up and ocnfiguring the JVM arguments as suggested by installer, I am getting the following error during server startup. when i checked agentg.jar file and found glassbox.agent.api.ApiType class file is not present in the downloaded war file

[2/28/09 0:38:20:657 IST] 0000001e ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file c:\IBM\WebSphere\AppServer\profiles\AppSrv02\logs\ffdc\server1_59ec59ec_09.02.28_00.38.20_0.txt
[2/28/09 0:38:20:704 IST] 0000001e ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet initializer: java.lang.NoClassDefFoundError: Error while defining class: glassbox.agent.control.GlassboxServiceImpl
This error indicates that the class: Error while defining class: glassbox.agent.control.api.GlassboxService
This error indicates that the class: glassbox.agent.api.ApiType
could not be located while defining the class: glassbox.agent.control.api.GlassboxService
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@cc00cc0
Local ClassPath: C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\classes;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\activation.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\aspectjrt.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\backport-util-concurrent.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\bootstrap.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-beanutils-core.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-collections-3.1.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-dbcp-1.2.1.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-digester.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-logging-1.1.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\commons-pool-1.3.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\dwr.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\hsqldb.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\log4j-1.2.9.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\mail.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\mx4j-jmx.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\mx4j-remote.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\mx4j.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\spring.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\velocity-1.4.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war\WEB-INF\lib\xsltc.jar;C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\glassbox.war
Delegation Mode: PARENT_LAST
[1] com.ibm.ws.classloader.JarClassLoader@1406161872 Local Classpath: C:\IBM\WebSphere\AppServer\profiles\AppSrv02\installedApps\ma-India-Lt1039Node01Cell\glassbox_war.ear\lib\agent.jar Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ProtectionClassLoader@6a4a6a4a
[3] com.ibm.ws.bootstrap.ExtClassLoader@19f819f8
[4] org.eclipse.osgi.framework.adaptor.core.CDSBundleClassLoader@9860986
[5] sun.misc.Launcher$AppClassLoader@65206520
[6] sun.misc.Launcher$ExtClassLoader@3b403b4
---Original exception---
java.lang.NoClassDefFoundError: glassbox.agent.api.ApiType
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:222)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at glassbox.installer.web.helper.InstallValidationHelper.canLoadClass(InstallValidationHelper.java:84)
at glassbox.installer.web.helper.InstallValidationHelper.getErrorStatus(InstallValidationHelper.java:70)
at glassbox.installer.BaseGlassboxInstaller.isInstalled(BaseGlassboxInstaller.java:373)
at glassbox.web.ContextLoaderServlet.initializeAgent(ContextLoaderServlet.java:92)
at glassbox.web.ContextLoaderServlet.init(ContextLoaderServlet.java:36)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1119)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:149)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:479)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:274)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

Discussion


Log in to post a comment.