openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Bauer <techhu...@gmail.com>
Subject Re: [jira] Resolved: (OPENJPA-1774) Deployment on GlassFish 3 fails
Date Wed, 01 Sep 2010 16:04:58 GMT
Laird,

Sure.  No problem.  I'll post to the Glassfish issue to help nudge it along.

-Jeremy

On Tue, Aug 31, 2010 at 4:13 PM, Laird Nelson <ljnelson@gmail.com> wrote:

> Would you mind commenting on Glassfish issue 13111 which is indirectly
> responsible for the error?
>
> As the Glassfish guys have told me on a separate issue, there are two
> classloaders in play: one is the deployment classloader, which has the
> EarLibClassloader as its parent, and the other is, well, the
> EarLibClassloader which is used at runtime.
>
> The deployment classloader can be marked as being "done", and if it's
> called
> after that point--usually because it's been squirreled away somewhere by a
> utility library--it barfs out the warning you see below.  While often times
> the warning is harmless, it can lead to things being loaded by different
> classloaders.
>
> The link is here:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=13111
>
> Jagadish is actively working on this issue and would probably welcome other
> data points such as this OpenJPA issue.
>
> Thanks,
> Laird
>
> On Tue, Aug 31, 2010 at 5:02 PM, Jeremy Bauer (JIRA) <jira@apache.org
> >wrote:
>
> >
> >     [
> >
> https://issues.apache.org/jira/browse/OPENJPA-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> >
> > Jeremy Bauer resolved OPENJPA-1774.
> > -----------------------------------
> >
> >    Fix Version/s: 2.0.0
> >       Resolution: Not A Problem
> >
> > I've done some additional research and debugging of this issue and the
> > LDR5207 message coming from GlassFish is caused by
> > AnnotationPersistenceMetaDataParser.getSourceFile() attempting to load
> the
> > source location of a persistent java or class file with a classloader
> (the
> > EarLibClassLoader used for deployment) that was marked by the app server
> as
> > "done".    This is simply an ugly warning coming out of the app server
> and
> > does not cause issues at runtime.  OpenJPA never actually gets the
> > exception.  Besides this warning, OpenJPA 2.0 seems to be working fine
> with
> > GlassFish 3.0.1.
> >
> > > 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
> > >             Fix For: 2.0.0
> > >
> > >
> > > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message