quality@glassfish.java.net

Re: GF b28b : GRAVE: Class [ javax/interceptor/InvocationContext ] not found. Error while loading

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Mon, 20 Oct 2008 18:16:01 -0700

Following is addition info I got from Survivant. It is a big application
(6 megs).

"I start GF from Eclipse, but I don't think this one is releated to
elicpseplugins.
my project if using Spring webflow 2 and struts2, and the framework is
using anotation. I think the problem is there.
I'll post my project on mediafire. I can't post it on the issue
tracker.. it's 6 megs."

Thanks Survivant so much for reporting many issues to us, all are good
catch :-)

Judy

Survivant 00 wrote:
> 2008-10-20 19:33:25 org.glassfish.apf.impl.DefaultErrorHandler error
> GRAVE: Class [ javax/interceptor/InvocationContext ] not found. Error
> while loading [ class
> org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor ]
> 2008-10-20 19:33:25 com.sun.enterprise.deployment.archivist.Archivist
> readAnnotations
> ATTENTION: Error in annotation processing:
> java.lang.NoClassDefFoundError: javax/interceptor/InvocationContext
>
>
> here the complete log
>
> 2008-10-20 19:32:47 com.sun.enterprise.admin.launcher.GFLauncherLogger
> info
> INFO: JVM invocation command line:
> C:\jdk\bin\java.exe
> -cp
> C:/glassfishv3-prelude/glassfish/modules/glassfish.jar;C:/glassfishv3-prelude/glassfish;C:/Program
> Files/Java/jre1.6.0_03/lib/ext/QTJava.zip
> -XX:+UnlockDiagnosticVMOptions
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=C:\glassfishv3-prelude\glassfish\domains\domain1/logs/jvm.log
> -Xmx512m
> -client
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -Djavax.net.ssl.trustStore=C:\glassfishv3-prelude\glassfish\domains\domain1/config/cacerts.jks
> -Djavax.net.ssl.keyStore=C:\glassfishv3-prelude\glassfish\domains\domain1/config/keystore.jks
> -Djava.security.policy=C:\glassfishv3-prelude\glassfish\domains\domain1/config/server.policy
> -Dcom.sun.aas.instanceRoot=C:\glassfishv3-prelude\glassfish\domains\domain1
> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
> -Djava.security.auth.login.config=C:\glassfishv3-prelude\glassfish\domains\domain1/config/login.conf
> -Djava.endorsed.dirs=C:\glassfishv3-prelude\glassfish/lib/endorsed
> -Dcom.sun.aas.installRoot=C:\glassfishv3-prelude\glassfish
> -Djava.ext.dirs=C:\jdk/lib/ext;C:\jdk/jre/lib/ext;C:\glassfishv3-prelude\glassfish\domains\domain1/lib/ext;C:\glassfishv3-prelude\javadb/lib
> com.sun.enterprise.glassfish.bootstrap.ASMain
> -domainname
> domain1
> -instancename
> server
> -verbose
> true
> -debug
> false
> -domaindir
> C:/glassfishv3-prelude/glassfish/domains/domain1
> 2008-10-20 19:32:48 com.sun.enterprise.admin.launcher.GFLauncherLogger
> info
> INFO: Successfully launched in 31 msec.
> 2008-10-20 19:32:51 com.sun.enterprise.glassfish.bootstrap.ASMain main
> INFO: Launching GlassFish on Apache Felix OSGi platform
>
> Welcome to Felix.
> =================
>
> 2008-10-20 19:33:00 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [9]
> 2008-10-20 19:33:00 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.core.kernel [79]
> 2008-10-20 19:33:00 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.common-util [59]
> 2008-10-20 19:33:01 OSGiModuleImpl start
> INFO: Started bundle GlassFish-Application-Common-Module [33]
> 2008-10-20 19:33:01 APIClassLoaderService createAPIClassLoader
> INFO: APIClassLoader = Class Loader for Bundle
> [GlassFish-Application-Common-Module [33] ]
> 2008-10-20 19:33:01 HK2Main$HK2ServiceTrackerCustomizer addingService
> INFO: registering service =
> org.apache.felix.framework.StartLevelImpl_at_1977b9b, contract =
> org.osgi.service.startlevel.StartLevel, name = null
> 2008-10-20 19:33:01 HK2Main$HK2ServiceTrackerCustomizer addingService
> INFO: registering service =
> org.apache.felix.framework.PackageAdminImpl_at_2e1f1f, contract =
> org.osgi.service.packageadmin.PackageAdmin, name = null
> 2008-10-20 19:33:01 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.branding.branding [37]
> no resource bundle found for version, using default GlassFish version
> 2008-10-20 19:33:01 AppServerStartup run
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> 2008-10-20 19:33:01 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.internal-api [61]
> 2008-10-20 19:33:01 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.admin.config-api [42]
> 2008-10-20 19:33:02 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.registration.glassfish-registration
> [73]
> 2008-10-20 19:33:02 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [19]
> 2008-10-20 19:33:02 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.deployment.deployment-common [69]
> 2008-10-20 19:33:03 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.flashlight.flashlight-framework [72]
> 2008-10-20 19:33:04 com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8080
> 2008-10-20 19:33:04 com.sun.enterprise.v3.services.impl.GrizzlyService
> postConstruct
> INFO: Network listener http-listener-2 on port 8181 disabled per
> domain.xml
> 2008-10-20 19:33:04 com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 4848
> 2008-10-20 19:33:04 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.container-common [83]
> 2008-10-20 19:33:05
> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
> INFO: The Admin Console is already installed, but not yet loaded.
> 2008-10-20 19:33:06
> com.sun.enterprise.v3.server.ApplicationLoaderService processApplication
> GRAVE: Application previously deployed is not at its original location
> any more :
> file:/C:/glassfishv3-prelude/glassfish/domains/domain1//eclipseApps/GrizzlyBuilder/
> 2008-10-20 19:33:06 com.sun.enterprise.v3.server.AppServerStartup run
> INFO: GlassFish v3 Prelude startup time : Felix(10672ms) startup
> services(4578ms) total(15250ms)
> 2008-10-20 19:33:10 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.persistence.jpa-connector [24]
> 2008-10-20 19:33:10 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [12]
> 2008-10-20 19:33:10 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.gf-web-connector [99]
> 2008-10-20 19:33:10 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.security.security [21]
> 2008-10-20 19:33:10 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.connectors.gf-connectors-connector [53]
> 2008-10-20 19:33:14 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.deployment.deployment-admin [41]
> 2008-10-20 19:33:14 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.war-util [100]
> 2008-10-20 19:33:14 org.glassfish.deployment.admin.UndeployCommand execute
> ATTENTION: Originally deployed application at
> file:\C:\glassfishv3-prelude\glassfish\domains\domain1\eclipseApps\GrizzlyBuilder
> not found
> 2008-10-20 19:33:15 com.sun.enterprise.security.SecurityLifecycle <init>
> INFO: security.secmgroff
> 2008-10-20 19:33:16 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.security.securitycommon [23]
> 2008-10-20 19:33:16 com.sun.enterprise.security.SecurityLifecycle
> onInitialization
> INFO: Security startup service called
> 2008-10-20 19:33:16 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.security.realms [39]
> 2008-10-20 19:33:16 com.sun.enterprise.security.SecurityLifecycle
> onInitialization
> INFO: Security service(s) started successfully....
> 2008-10-20 19:33:16 HK2Main$HK2ServiceTrackerCustomizer addingService
> INFO: registering service =
> org.glassfish.web.DirContextURLStreamHandlerService_at_391da0, contract =
> org.osgi.service.url.URLStreamHandlerService, name = null
> 2008-10-20 19:33:16 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.web-glue [91]
> 2008-10-20 19:33:18 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.glassfish-naming [65]
> 2008-10-20 19:33:18 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.glassfish-api [84]
> 2008-10-20 19:33:18 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.connectors.connectors-runtime [27]
> 2008-10-20 19:33:19 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.transaction.jta [7]
> 2008-10-20 19:33:20
> org.glassfish.admin.mbeanserver.ConnectorStartupService$ConnectorsStarterThread
> startConnector
> INFO: Started JMXConnector, JMXService URL =
> service:jmx:rmi:///jndi/rmi://FB07607.nbfg.ca:8686/jmxrmi
> <http://FB07607.nbfg.ca:8686/jmxrmi>
> 2008-10-20 19:33:20 com.sun.enterprise.web.WebContainer createHttpListener
> INFO: Created HTTP listener http-listener-1 on port 8080
> 2008-10-20 19:33:20 com.sun.enterprise.web.WebContainer createHttpListener
> INFO: Created HTTP listener admin-listener on port 4848
> 2008-10-20 19:33:20 com.sun.enterprise.web.WebContainer createHosts
> INFO: Created virtual server server
> 2008-10-20 19:33:20 com.sun.enterprise.web.WebContainer createHosts
> INFO: Created virtual server __asadmin
> 2008-10-20 19:33:20 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.deployment.dol [10]
> 2008-10-20 19:33:22 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.web-core [108]
> 2008-10-20 19:33:22 org.apache.catalina.loader.WebappLoader start
> INFO: Dual registration of jndi stream handler: factory already defined
> 2008-10-20 19:33:22 org.apache.catalina.loader.WebappLoader setClassPath
> INFO: Unknown loader 91.0 class
> org.apache.felix.framework.searchpolicy.ContentClassLoader
> 2008-10-20 19:33:22 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.jstl-connector [97]
> 2008-10-20 19:33:22 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.web.jsf-connector [104]
> 2008-10-20 19:33:23
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
> initDelegates
> INFO: Using
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate
> as the delegate
> 2008-10-20 19:33:23 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.connectors.work-management [45]
> 2008-10-20 19:33:23 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.glassfish-ee-api [70]
> 2008-10-20 19:33:23 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.connectors.connectors-internal-api [89]
> 2008-10-20 19:33:23 com.sun.enterprise.security.PolicyLoader loadPolicy
> INFO: policy.loading
> 2008-10-20 19:33:25 org.glassfish.apf.impl.DefaultErrorHandler error
> GRAVE: Class [ javax/interceptor/InvocationContext ] not found. Error
> while loading [ class
> org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor ]
> 2008-10-20 19:33:25 com.sun.enterprise.deployment.archivist.Archivist
> readAnnotations
> ATTENTION: Error in annotation processing:
> java.lang.NoClassDefFoundError: javax/interceptor/InvocationContext
> 2008-10-20 19:33:25 OSGiModuleImpl start
> INFO: Started bundle org.glassfish.security.websecurity [93]
> 2008-10-20 19:33:25 org.apache.catalina.loader.WebappLoader setClassPath
> INFO: Unknown loader
> org.glassfish.internal.api.DelegatingClassLoader_at_1de8aa8 class
> org.glassfish.internal.api.DelegatingClassLoader
> 2008-10-20 19:33:26 org.apache.catalina.core.ApplicationContext log
> INFO: PWC1412: WebModule[/GrizzlyBuilder]
> ServletContext.log():Initializing Spring root WebApplicationContext
> 2008-10-20 19:33:26 org.springframework.web.context.ContextLoader
> initWebApplicationContext
> INFO: Root WebApplicationContext: initialization started
> 2008-10-20 19:33:26
> org.springframework.context.support.AbstractApplicationContext
> prepareRefresh
> INFO: Refreshing
> org.springframework.web.context.support.XmlWebApplicationContext_at_1866417:
> display name [Root WebApplicationContext]; startup date [Mon Oct 20
> 19:33:26 EDT 2008]; root of context hierarchy
> 2008-10-20 19:33:26
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
> INFO: Loading XML bean definitions from ServletContext resource
> [/WEB-INF/applicationContext.xml]
> 2008-10-20 19:33:27
> org.springframework.context.support.AbstractApplicationContext
> obtainFreshBeanFactory
> INFO: Bean factory for application context
> [org.springframework.web.context.support.XmlWebApplicationContext_at_1866417]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1f0f8ff
> 2008-10-20 19:33:27
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> preInstantiateSingletons
> INFO: Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1f0f8ff:
> defining beans
> [flowExecutor,flowRegistry,struts2FlowAdapter,flowBuilderServices,mvcViewFactoryCreator,struts2ViewResolver];
> root of factory hierarchy
> 2008-10-20 19:33:27 org.springframework.web.context.ContextLoader
> initWebApplicationContext
> INFO: Root WebApplicationContext: initialization completed in 1359 ms
> 2008-10-20 19:33:27 org.apache.tiles.impl.BasicTilesContainer init
> INFO: Initializing Tiles2 container. . .
> 2008-10-20 19:33:27 org.apache.tiles.impl.BasicTilesContainer
> initializeDefinitionsFactory
> INFO: Tiles2 container initialization complete.
> 2008-10-20 19:33:27 org.apache.tiles.access.TilesAccess setContainer
> INFO: Publishing TilesContext for context:
> org.apache.catalina.core.ApplicationContextFacade
> 2008-10-20 19:33:30
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> INFO: Parsing configuration file [struts-default.xml]
> 2008-10-20 19:33:30
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> INFO: Parsing configuration file [struts-plugin.xml]
> 2008-10-20 19:33:31
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
> INFO: Parsing configuration file [struts.xml]
> 2008-10-20 19:33:31 org.apache.struts2.config.Settings getLocale
> ATTENTION: Settings: Could not parse struts.locale setting,
> substituting default VM locale
> 2008-10-20 19:33:31
> com.opensymphony.xwork2.config.impl.DefaultConfiguration$ContainerProperties
> setProperty
> INFO: Overriding property struts.i18n.reload - old value: false new
> value: true
> 2008-10-20 19:33:31
> org.apache.struts2.spring.StrutsSpringObjectFactory <init>
> INFO: Initializing Struts-Spring integration...
> 2008-10-20 19:33:31 com.opensymphony.xwork2.spring.SpringObjectFactory
> setAutowireStrategy
> INFO: Setting autowire strategy to name
> 2008-10-20 19:33:31
> org.apache.struts2.spring.StrutsSpringObjectFactory <init>
> INFO: ... initialized Struts-Spring integration successfully
> 2008-10-20 19:33:31
> com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
> INFO: Setting DefaultObjectTypeDeterminer as default ...
> 2008-10-20 19:33:31 com.sun.enterprise.web.WebApplication start
> INFO: Loading application GrizzlyBuilder at /GrizzlyBuilder
> 2008-10-20 19:33:31 org.glassfish.deployment.admin.DeployCommand execute
> INFO: Deployment of GrizzlyBuilder done is 17500 ms
>