openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1774) Deployment on GlassFish 3 fails
Date Fri, 27 Aug 2010 18:01:07 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903498#action_12903498
] 

Jeremy Bauer commented on OPENJPA-1774:
---------------------------------------

Thanks for the update, Radu.  I created a few sample EAR projects with Netbeans + GlassFish
3.0.1. I see one ugly OpenJPA exception (copied below) during the enhancement phase.  Container/classloader
based enhancement was successful.  My simple app (servlet calling EJB, EJB w/ injected persistence
context) ran without problems.  I also tried not listing my persistent classes in the persistence.xml
and they got enhanced.  This wasn't working on earlier versions of GlassFish.  I'm taking
a closer look at the exception below - other than it, OpenJPA 2.0.0 seems to be working fine
with GlassFish 3.0.1.  Please post again if you run into additional problems with this configuration,
with NetBeans project and/or ear if possible.

WARNING: LDR5206: ASURLClassLoader EarLibClassLoader : 
doneCalled = true
doneSnapshot = ASURLClassLoader.done() called ON EarLibClassLoader : 
urlSet = [URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/commons-collections-3.2.1.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/commons-lang-2.1.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/commons-pool-1.5.3.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/geronimo-jpa_2.0_spec-1.0.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/JPALibrary.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/openjpa-2.0.0.jar,
URLEntry : file:/C:/Users/Administrator/Documents/NetBeansProjects/JPAApplication/dist/gfdeploy/JPAApplication/lib/serp-1.13.1.jar]
doneCalled = false 
 Parent -> org.glassfish.internal.api.DelegatingClassLoader@ed4dd2d
 AT Fri Aug 27 12:36:40 CDT 2010 
 BY :java.lang.Throwable: printStackTraceToString
        at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:634)
        at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:170)
        at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:153)
        at org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarClassLoader.java:96)
        at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:212)
        at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:164)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:159)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:211)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:362)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185)
        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 com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
        at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)
 Parent -> org.glassfish.internal.api.DelegatingClassLoader@ed4dd2d
 was requested to find resource test/model/Employee.class after done was invoked from the
following stack trace
java.lang.Throwable
        at com.sun.enterprise.loader.ASURLClassLoader.findResource(ASURLClassLoader.java:456)
        at java.lang.ClassLoader.getResource(ClassLoader.java:1003)
        at org.apache.openjpa.lib.util.J2DoPrivHelper$13.run(J2DoPrivHelper.java:410)
        at org.apache.openjpa.lib.util.J2DoPrivHelper$13.run(J2DoPrivHelper.java:408)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.getSourceFile(AnnotationPersistenceMetaDataParser.java:797)
        at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.getMetaData(AnnotationPersistenceMetaDataParser.java:753)
        at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parseClassAnnotations(AnnotationPersistenceMetaDataParser.java:546)
        at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parse(AnnotationPersistenceMetaDataParser.java:416)
        at org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:260)
        at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:554)
        at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:374)
        at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:358)
        at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
        at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
        at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
        at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
        at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
        at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
        at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getMethod0(Class.java:2670)
        at java.lang.Class.getMethod(Class.java:1603)
        at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:693)
        at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
        at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
        at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
        at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
        at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
        at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
        at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:362)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185)
        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 com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
        at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
        at java.lang.Thread.run(Thread.java:619)

> Deployment on GlassFish 3 fails
> -------------------------------
>
>                 Key: OPENJPA-1774
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1774
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance
>    Affects Versions: 2.0.0
>         Environment: GlassFish 3.0.1, OpenJPA 2.0
>            Reporter: Radu B
>            Assignee: Jeremy Bauer
>
> Can not deploy application on GlassFish 3 as enhancement fails to load persistent classes.
> Listing the classes in persistence.xml did not solved the issue.
> The application is running fine if using eclipselink.
> openjpa jar files and dependencies from distribution are copied in domain1/lib directory.
> The error log is:
> SEVERE: 44  SimpleEnterpriseApplication2-ejbPU  INFO   [http-thread-pool-4848-(1)] openjpa.Runtime
- OpenJPA dynamically loaded a validation provider.
> INFO: JTS5014: Recoverable JTS instance, serverId = [3700]
> WARNING: LDR5207: ASURLClassLoader EarLibClassLoader : 
> doneCalled = true
> doneSnapshot = ASURLClassLoader.done() called ON EarLibClassLoader : 
> ...
> doneCalled = false 
>  Parent -> org.glassfish.internal.api.DelegatingClassLoader@173bb48
>  AT Thu Aug 26 16:33:32 EEST 2010 
>  BY :java.lang.Throwable: printStackTraceToString
>         at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:634)
>         at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:170)
>         at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:153)
>         at org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarClassLoader.java:96)
>         at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:212)
>         at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:164)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:159)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:211)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
>  Parent -> org.glassfish.internal.api.DelegatingClassLoader@173bb11
>  was requested to find class tests.domain.SimpleEntity after done was invoked from the
following stack trace
> java.lang.Throwable
>         at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:706)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:626)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:296)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at serp.util.Strings.toClass(Strings.java:162)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
>         at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
>         at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>         at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>         at java.lang.Class.getMethods(Class.java:1410)
>         at com.sun.ejb.codegen.RemoteGenerator.<init>(RemoteGenerator.java:108)
>         at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:499)
>         at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:598)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
>         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
> WARNING: LDR5207: ASURLClassLoader EarClassLoader : 
> doneCalled = true
> doneSnapshot = ASURLClassLoader.done() called ON EarClassLoader : 
> urlSet = [URLEntry : ...]
> doneCalled = false 
>  Parent -> org.glassfish.internal.api.DelegatingClassLoader@9332a3
>  AT Thu Aug 26 16:33:32 EEST 2010 
>  BY :java.lang.Throwable: printStackTraceToString
>         at com.sun.enterprise.util.Print.printStackTraceToString(Print.java:634)
>         at com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:170)
>         at com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:153)
>         at org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarClassLoader.java:93)
>         at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:212)
>         at org.glassfish.deployment.common.DeploymentContextImpl.getClassLoader(DeploymentContextImpl.java:164)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:159)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:211)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
>  Parent -> org.glassfish.internal.api.DelegatingClassLoader@9332f4
>  was requested to find class tests.domain.SimpleEntity after done was invoked from the
following stack trace
> java.lang.Throwable
>         at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:706)
>         at com.sun.enterprise.loader.ASURLClassLoader$DelegatingClassLoader.findClass(ASURLClassLoader.java:1347)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at serp.util.Strings.toClass(Strings.java:162)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
>         at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
>         at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>         at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>         at java.lang.Class.getMethods(Class.java:1410)
>         at com.sun.ejb.codegen.RemoteGenerator.<init>(RemoteGenerator.java:108)
>         at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:499)
>         at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:598)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
>         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
> SEVERE: 2920  SimpleEnterpriseApplication2-ejbPU  WARN   [http-thread-pool-4848-(1)]
openjpa.Enhance - An exception was thrown while attempting to perform class file transformation
on "tests/domain/SimpleEntity":
> java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: tests.domain.SimpleEntity
>         at serp.util.Strings.toClass(Strings.java:164)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
>         at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
>         at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>         at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>         at java.lang.Class.getMethods(Class.java:1410)
>         at com.sun.ejb.codegen.RemoteGenerator.<init>(RemoteGenerator.java:108)
>         at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:499)
>         at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:598)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
>         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
> SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method
> java.lang.RuntimeException: EJB Container initialization error
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:219)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: tests.domain.SimpleEntity
>         at serp.util.Strings.toClass(Strings.java:164)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
>         at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
>         at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>         at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>         at java.lang.Class.getMethods(Class.java:1410)
>         at com.sun.ejb.codegen.RemoteGenerator.<init>(RemoteGenerator.java:108)
>         at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:499)
>         at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:598)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
>         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
>         ... 32 more
> SEVERE: Exception while loading the app
> java.lang.RuntimeException: EJB Container initialization error
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:219)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:197)
>         at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63)
>         at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:175)
>         at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:216)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
>         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
>         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
>         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
>         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
>         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: tests.domain.SimpleEntity
>         at serp.util.Strings.toClass(Strings.java:164)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:256)
>         at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:227)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
>         at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
>         at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:312)
>         at org.glassfish.persistence.jpa.JPADeployer$ProviderContainerContractInfoImpl$1.transform(JPADeployer.java:202)
>         at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:672)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>         at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>         at java.lang.Class.getMethods(Class.java:1410)
>         at com.sun.ejb.codegen.RemoteGenerator.<init>(RemoteGenerator.java:108)
>         at com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:499)
>         at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:598)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:150)
>         at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:144)
>         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99)
>         at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:207)
>         ... 32 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message