embedded@glassfish.java.net

Re: [embedded] Exceptions during deployment

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Thu, 21 Jan 2010 13:29:55 +0100

sure,

wget http://anise.cz/~paja/jersey-embedded-issue.zip
unzip jersey-embedded-issue.zip
cd ./jersey-test-framework/
mvn clean install -Dmaven.test.skip=true
cd ../jacksonjsonprovider/
mvn clean install -Dmaven.test.skip=true
# jdk 1.6 required
mvn test
-Dtest.containerFactory=com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory
-Dcontainer.type=EmbeddedGF -DenableLogging

If you want to see how embedded glassfish is started and app deployed,
see
./jersey-test-framework/src/main/java/com/sun/jersey/test/framework/spi/container/embedded/glassfish/EmbeddedGlassFishTestContainerFactory.java


Regards,
Pavel

Siraj Ghaffar wrote:
> Can you give me steps to reproduce this?
>
> Thanks
>
> Pavel Bucek wrote:
>> no, I only added web container and disabled logging. My configuration
>> actually works for some samples, but not for this one (however thrown
>> exception doesn't look like applications fault).
>>
>>
>> Siraj Ghaffar wrote:
>>>
>>> Hi Paul,
>>> Did you turn monitoring on for any module?
>>>
>>> --Siraj
>>>
>>> Pavel Bucek wrote:
>>>>
>>>>
>>>> Hello,
>>>>
>>>> I managed to get few of jersey samples working with embedded gf but
>>>> there are still some problems. Maybe something is not supported yet..
>>>>
>>>> If anyone saw similar stack trace and already workarounded it, or
>>>> if someone can tell me what I'm missing, I would be grateful.
>>>>
>>>>
>>>> stack trace:
>>>>
>>>> Running com.sun.jersey.samples.jacksonjsonprovider.MainTest
>>>> Jan 15, 2010 12:31:38 PM
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer
>>>> <init>
>>>> INFO: Creating EmbeddedGlassFish test container configured at the
>>>> base URI http://localhost:1025/
>>>> Jan 15, 2010 12:31:40 PM
>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>> INFO: GlassFish v3 (74.2) startup time : Embedded(541ms) startup
>>>> services(431ms) total(972ms)
>>>> Jan 15, 2010 12:31:40 PM
>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
>>>> initDelegates
>>>> INFO: Using
>>>> com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
>>>> as the delegate
>>>> Jan 15, 2010 12:31:40 PM
>>>> org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
>>>> run
>>>> INFO: JMXStartupService: JMXConnector system is disabled, skipping.
>>>> Jan 15, 2010 12:31:40 PM AppServerStartup run
>>>> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>>>> Jan 15, 2010 12:31:40 PM org.hibernate.validator.util.Version <clinit>
>>>> INFO: Hibernate Validator null
>>>> Jan 15, 2010 12:31:40 PM
>>>> org.hibernate.validator.engine.resolver.DefaultTraversableResolver
>>>> detectJPA
>>>> INFO: Instantiated an instance of
>>>> org.hibernate.validator.engine.resolver.JPATraversableResolver.
>>>> Jan 15, 2010 12:31:41 PM
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1 call
>>>> SEVERE: Config Listener notification got interruped
>>>> java.util.concurrent.ExecutionException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableKeepAliveStats.getMaxKeepAliveRequests()I
>>>>
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
>>>> at java.util.concurrent.FutureTask.get(FutureTask.java:91)
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:255)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1.call(Transactions.java:236)
>>>>
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>> at
>>>> org.jvnet.hk2.config.Transactions$Notifier$1.run(Transactions.java:158)
>>>>
>>>> at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>>>
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>
>>>> at java.lang.Thread.run(Thread.java:637)
>>>> Caused by: java.lang.NoSuchMethodError:
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableKeepAliveStats.getMaxKeepAliveRequests()I
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableKeepAliveStats.<init>(MonitorableKeepAliveStats.java:64)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableEmbeddedHttp.createKeepAliveStats(MonitorableEmbeddedHttp.java:94)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableEmbeddedHttp.<init>(MonitorableEmbeddedHttp.java:66)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.monitor.MonitorableServiceListener.createEmbeddedHttp(MonitorableServiceListener.java:67)
>>>>
>>>> at
>>>> com.sun.grizzly.config.GrizzlyServiceListener.initializeListener(GrizzlyServiceListener.java:83)
>>>>
>>>> at
>>>> com.sun.grizzly.config.GrizzlyServiceListener.configure(GrizzlyServiceListener.java:71)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.GrizzlyListener.configure(GrizzlyListener.java:73)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy.configureGrizzly(GrizzlyProxy.java:135)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy.<init>(GrizzlyProxy.java:120)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:369)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.DynamicConfigListener.processNetworkListener(DynamicConfigListener.java:131)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.DynamicConfigListener.access$100(DynamicConfigListener.java:66)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.DynamicConfigListener$1.changed(DynamicConfigListener.java:88)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:271)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.DynamicConfigListener.changed(DynamicConfigListener.java:78)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:365)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:355)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:248)
>>>>
>>>> at
>>>> org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:246)
>>>>
>>>> ... 5 more
>>>> Jan 15, 2010 12:31:41 PM com.sun.jersey.api.client.Client <init>
>>>> INFO: Adding the following classes declared in
>>>> META-INF/services/jersey-client-components to the client
>>>> configuration:
>>>> class com.sun.jersey.multipart.impl.MultiPartConfigProvider
>>>> class com.sun.jersey.multipart.impl.MultiPartReader
>>>> class com.sun.jersey.multipart.impl.MultiPartWriter
>>>> Jan 15, 2010 12:31:42 PM
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer
>>>> start
>>>> INFO: Starting the EmbeddedGlassFish instance...
>>>> Jan 15, 2010 12:31:42 PM
>>>> com.sun.common.util.logging.LoggingConfigImpl openPropFile
>>>> INFO: Cannot read logging.properties file.
>>>> Jan 15, 2010 12:31:42 PM com.sun.enterprise.web.WebContainer
>>>> createHttpListener
>>>> INFO: Created HTTP listener embedded-listener on port 1025
>>>> Jan 15, 2010 12:31:42 PM com.sun.enterprise.web.WebContainer
>>>> configureHttpServiceProperties
>>>> WARNING: pewebcontainer.invalid_http_service_property
>>>> Jan 15, 2010 12:31:42 PM com.sun.enterprise.web.WebContainer
>>>> createHosts
>>>> INFO: Created virtual server server
>>>> Jan 15, 2010 12:31:43 PM com.sun.enterprise.web.WebContainer
>>>> loadSystemDefaultWebModules
>>>> INFO: Virtual server server loaded system default web module
>>>> Jan 15, 2010 12:31:43 PM org.apache.catalina.core.ContainerBase
>>>> startChildren
>>>> SEVERE: PWC1240: Container
>>>> StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]
>>>> has not been started
>>>> org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5159)
>>>>
>>>> at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
>>>>
>>>> at
>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
>>>> at
>>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
>>>>
>>>> at
>>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
>>>> at
>>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
>>>> at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
>>>> at
>>>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:583)
>>>>
>>>> at
>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
>>>>
>>>> at
>>>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
>>>>
>>>> at
>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>>>> at
>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>
>>>> at
>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>> at
>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>
>>>> at
>>>> org.glassfish.web.embed.impl.EmbeddedWebContainer.start(EmbeddedWebContainer.java:207)
>>>>
>>>> at org.glassfish.api.embedded.Server.start(Server.java:558)
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:136)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Caused by: java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3181)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3112)
>>>>
>>>> at
>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureStandardContext(TomcatDeploymentConfig.java:462)
>>>>
>>>> at
>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:134)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:277)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:176)
>>>>
>>>> at
>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5151)
>>>>
>>>> ... 48 more
>>>> Jan 15, 2010 12:31:46 PM
>>>> com.sun.enterprise.security.SecurityLifecycle <init>
>>>> INFO: security.secmgroff
>>>> Jan 15, 2010 12:31:46 PM com.sun.enterprise.security.ssl.SSLUtils
>>>> checkCertificateDates
>>>> SEVERE: java_security.expired_certificate
>>>> Jan 15, 2010 12:31:47 PM
>>>> com.sun.enterprise.security.SecurityLifecycle onInitialization
>>>> INFO: Security startup service called
>>>> Jan 15, 2010 12:31:47 PM com.sun.enterprise.security.PolicyLoader
>>>> loadPolicy
>>>> INFO: policy.loading
>>>> Jan 15, 2010 12:31:47 PM
>>>> com.sun.enterprise.security.auth.realm.Realm doInstantiate
>>>> INFO: Realm admin-realm of classtype
>>>> com.sun.enterprise.security.auth.realm.file.FileRealm successfully
>>>> created.
>>>> Jan 15, 2010 12:31:47 PM
>>>> com.sun.enterprise.security.auth.realm.Realm doInstantiate
>>>> INFO: Realm file of classtype
>>>> com.sun.enterprise.security.auth.realm.file.FileRealm successfully
>>>> created.
>>>> Jan 15, 2010 12:31:47 PM
>>>> com.sun.enterprise.security.auth.realm.Realm doInstantiate
>>>> INFO: Realm certificate of classtype
>>>> com.sun.enterprise.security.auth.realm.certificate.CertificateRealm
>>>> successfully created.
>>>> Jan 15, 2010 12:31:47 PM
>>>> com.sun.enterprise.security.SecurityLifecycle onInitialization
>>>> INFO: Security service(s) started successfully....
>>>> classLoader = WebappClassLoader (delegate=true;
>>>> repositories=WEB-INF/classes/)
>>>> SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_7bcf6f61
>>>> Jan 15, 2010 12:31:47 PM org.apache.catalina.core.ContainerBase
>>>> removeChild
>>>> SEVERE: ContainerBase.removeChild: stop:
>>>> org.apache.catalina.LifecycleException: PWC2769: Manager has not
>>>> yet been started
>>>> at
>>>> org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.stop(StandardContext.java:5383)
>>>>
>>>> at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1057)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2144)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1714)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Jan 15, 2010 12:31:47 PM org.apache.catalina.core.ContainerBase stop
>>>> INFO: PWC1240: Container StandardWrapper[:default] has not been
>>>> started
>>>> Jan 15, 2010 12:31:47 PM com.sun.enterprise.web.WebContainer
>>>> unloadWebModule
>>>> WARNING: WEB0155: Unable to destroy web module deployed at context
>>>> root [] on virtual server [server] during undeployment
>>>> org.apache.catalina.LifecycleException: PWC1644: Loader has not yet
>>>> been started
>>>> at
>>>> org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:724)
>>>> at
>>>> org.apache.catalina.core.StandardContext.stop(StandardContext.java:5455)
>>>>
>>>> at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1329)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.destroy(StandardContext.java:5508)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2159)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1714)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Jan 15, 2010 12:31:47 PM org.apache.catalina.core.ContainerBase
>>>> addChildInternal
>>>> SEVERE: ContainerBase.addChild: start:
>>>> org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5159)
>>>>
>>>> at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
>>>> at
>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
>>>>
>>>> at
>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Caused by: java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3181)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3112)
>>>>
>>>> at
>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureStandardContext(TomcatDeploymentConfig.java:462)
>>>>
>>>> at
>>>> com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:134)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:277)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:176)
>>>>
>>>> at
>>>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5151)
>>>>
>>>> ... 41 more
>>>> Jan 15, 2010 12:31:47 PM com.sun.enterprise.web.WebApplication start
>>>> WARNING: java.lang.IllegalStateException: ContainerBase.addChild:
>>>> start: org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> java.lang.IllegalStateException: ContainerBase.addChild: start:
>>>> org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
>>>>
>>>> at
>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Jan 15, 2010 12:31:47 PM org.glassfish.api.ActionReport failure
>>>> SEVERE: Exception while invoking class
>>>> com.sun.enterprise.web.WebApplication start method
>>>> java.lang.Exception: java.lang.IllegalStateException:
>>>> ContainerBase.addChild: start:
>>>> org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> Jan 15, 2010 12:31:47 PM org.glassfish.api.ActionReport failure
>>>> SEVERE: Exception while loading the app
>>>> java.lang.Exception: java.lang.IllegalStateException:
>>>> ContainerBase.addChild: start:
>>>> org.apache.catalina.LifecycleException:
>>>> java.lang.NoSuchMethodError:
>>>> com.sun.grizzly.util.http.mapper.Mapper.addWrapper(Ljava/lang/String;Ljava/lang/Object;ZZ)V
>>>>
>>>> at
>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
>>>> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
>>>> at
>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
>>>>
>>>> at
>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.spi.container.embedded.glassfish.EmbeddedGlassFishTestContainerFactory$EmbeddedGlassFishTestContainer.start(EmbeddedGlassFishTestContainerFactory.java:142)
>>>>
>>>> at
>>>> com.sun.jersey.test.framework.JerseyTest.setUp(JerseyTest.java:264)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>>>>
>>>> at
>>>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>>>
>>>> at
>>>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
>>>>
>>>> at
>>>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
>>>>
>>>> at
>>>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
>>>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
>>>> at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
>>>> at
>>>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>>>
>>>> at
>>>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>>>>
>>>> at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
>>>> at
>>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>>>
>>>> at
>>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>>
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>>>>
>>>> at
>>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>>>>
>>>> classLoader = WebappClassLoader (delegate=true;
>>>> repositories=WEB-INF/classes/)
>>>> SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7_at_7bcf6f61
>>>>
>>>> my env:
>>>> mvn -v
>>>> Maven version: 2.0.9
>>>> Java version: 1.6.0_17
>>>> OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
>>>>
>>>> $ java -version
>>>> java version "1.6.0_17"
>>>> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
>>>> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
>>>>
>>>> I can create reproducible testcase if needed.
>>>>
>>>> Thanks,
>>>>
>>>> Pavel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>