openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Re: [jira] Commented: (OPENJPA-1774) Deployment on GlassFish 3 fails
Date Tue, 07 Sep 2010 14:26:01 GMT
FYI, they still don't get it...  The Glassfish issue has this remark in
it...

*------- Additional comments from jr158900 <jr158900@dev.java.net> Fri Sep 3
11:22:43 +0000 2010 -------*

techhusky :
As Sahoo stated, please create a separate issue with subcomponent as
entity-persistence.

Laird,
We're not familiar with how Glassfish addresses these issues.  According to
your earlier post to our forum, you didn't think that creating a separate
problem report with a sub-component of entity-persistence is the right way
to go.  So, I'm not sure how to get their attention that this problem exists
for JPA providers as well...

Thanks,
Kevin

On Wed, Sep 1, 2010 at 12:17 PM, Jeremy Bauer (JIRA) <jira@apache.org>wrote:

>
>    [
> https://issues.apache.org/jira/browse/OPENJPA-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905094#action_12905094]
>
> Jeremy Bauer commented on OPENJPA-1774:
> ---------------------------------------
>
> After a few exchanges with Laird on the OpenJPA mailing list, I relayed the
> OpenJPA issue on Glassfish forum and provided a link to a sample NetBeans
> project which can be used to reproduce the issue.  If it turns out to be an
> OpenJPA problem or something OpenJPA can easily code for/against, this JIRA
> will be reopened.
>
> > 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