JRebel vs ObjectDB compatibility problem

ZeroTurnaround Homepage Forums JRebel Support JRebel vs ObjectDB compatibility problem

This topic contains 5 replies, has 1 voice, and was last updated by  webel 11 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22992

    webel
    Participant

    This forum posting is forked from: How temporarily disable JRebel without complete uninstall

    The problem is described at the external (ObjectDB forum): JRebel integration feature

    Another related external forum posting (Netbeans forum):  Request help in adapting build.xml to perform ObjectDB enhancement when compile on save

    A ZeroTurnaround support suggestion for further information is outstanding:

    Arnel Pällo We’re interested in investigating the ObjectDB incompatibility. Could you turn on JRebel logging (in JRebel Agent Settings), reproduce the problem, and send the resulting jrebel.log file to support@zeroturnaround.com?”

    I am resuming investigation of this problem and will provide feedback here,

    Webel

    #60299

    webel
    Participant

    Resuming (after some years) with:

    JRebel 6.5.1
    ObjectDB-2.6.9_06 as JPA provider (with it own compile-time enhancement)
    NetBeans8.1 (but Glassfish4.1, because for some strange reason my large web app takes about 10 times longer to deploy on Glassfish4.1.1 or Payara4.1).

    In a relatively standard (but somewhat old) very large NetBeans web app, deployed over …/build/web.

    I am getting copious output (1000s of lines) in the Glassfish log on deployment.

    The basic form of the error (which repeats for many EJBs) seems to have something to do with a clash between ObjectDB’s enhancement and JRebel (at least as far as I can tell). For example (adapted Glassfish log output):

    Info:   [2016-10-29 20:16:46 #6 enhancer.agent] 
    Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type com.example.ejb.query.__EJB31_Generated__ExampleQuery__Intf__ is not found
    	at com.objectdb.o.MSG.e(MSG.java:108)
    	at com.objectdb.o.SCM.w(SCM.java:459)
    	at com.objectdb.o.JEW.aG(JEW.java:160)
    	at com.objectdb.JEnhancerAgent.transform(JEnhancerAgent.java:155)
    	at org.glassfish.persistence.jpa.ServerProviderContainerContractInfo$1.transform(ServerProviderContainerContractInfo.java:98)
    	at org.glassfish.web.loader.WebappClassLoader$3.preprocess(WebappClassLoader.java:3465)
    	at org.glassfish.web.loader.WebappClassLoader.process(WebappClassLoader.java)
    	at org.zeroturnaround.javarebel.integration.util.WeakUtil$WeakClassBytecodeProcessorAdapter.process(SourceFile:287)
    	at com.zeroturnaround.javarebel.rx.a(SourceFile:365)
    	at com.zeroturnaround.javarebel.rx.a(SourceFile:354)
    	at com.zeroturnaround.javarebel.rx.b(SourceFile:407)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.processManagedClass(SourceFile:43)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:35)
    	at com.zeroturnaround.javarebel.px.transform(SourceFile:94)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java)
    	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.zeroturnaround.javarebel.ps.a(SourceFile:96)
    	at com.zeroturnaround.javarebel.ps.a(SourceFile:85)
    	at com.zeroturnaround.javarebel.pz.a(SourceFile:440)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.defineReloadableClass(SourceFile:111)
    	at com.sun.ejb.codegen.EjbOptionalIntfGenerator.__define(EjbOptionalIntfGenerator.java)
    	at com.sun.ejb.codegen.EjbOptionalIntfGenerator.makeClass(EjbOptionalIntfGenerator.java)
    	at com.sun.ejb.codegen.EjbOptionalIntfGenerator.access$200(EjbOptionalIntfGenerator.java:65)
    	at com.sun.ejb.codegen.EjbOptionalIntfGenerator$1.run(EjbOptionalIntfGenerator.java:100)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.ejb.codegen.EjbOptionalIntfGenerator.loadClass(EjbOptionalIntfGenerator.java:97)
    	at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:753)
    	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:143)
    	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:137)
    	at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:61)
    	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:221)
    	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)
    	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)
    	at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:206)
    	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
    	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
    	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
    	at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
    	at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
    	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
    	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
    	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
    	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
    	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassNotFoundException: com.example.ejb.query.__EJB31_Generated__ExampleQuery__Intf__
    	at java.lang.ClassLoader.findClass(ClassLoader.java:530)
    	at com.objectdb.o.ACL.loadClass(ACL.java:131)
    	at com.objectdb.o.BCL.loadClass(BCL.java:63)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at com.objectdb.o.SCM.w(SCM.java:455)
    	... 76 more
    Severe:   [2016-10-29 20:16:46 #6 enhancer.agent] 
    
    • This reply was modified 11 months, 3 weeks ago by  webel.
    #60355

    webel
    Participant
    #60370

    webel
    Participant

    w.r.t https://zeroturnaround.com/software/jrebel/download/nightly-build/ from 2016-11-05:

    The original errors on the @EJBs are gone, replaced by info messages like this:

    Info: 2016-11-05 11:29:51 JRebel: Watching 'com.example.ejb.ExampleQuery' for changes.

    But there is (as far as I can tell) a completely new error on deployment of both my mini test web app and my real web app:

    Severe:   2016-11-05 11:29:51 JRebel: ERROR Class 'com.sun.ejb.codegen.EjbOptionalIntfGenerator' could not be processed by org.zeroturnaround.jrebel.glassfish.ejb.container.EjbOptionalIntfGeneratorCBP@sun.misc.Launcher$AppClassLoader@18b4aac2: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] ; is missing
    	at org.zeroturnaround.bundled.javassist.CtBehavior.insertAfter(SourceFile:877)
    	at org.zeroturnaround.bundled.javassist.CtBehavior.insertAfter(SourceFile:792)
    	at org.zeroturnaround.jrebel.glassfish.ejb.container.EjbOptionalIntfGeneratorCBP.addRedefineOptionalLocalInterface(EjbOptionalIntfGeneratorCBP.java:62)
    	at org.zeroturnaround.jrebel.glassfish.ejb.container.EjbOptionalIntfGeneratorCBP.process(EjbOptionalIntfGeneratorCBP.java:40)
    	at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:117)
    	at org.zeroturnaround.javarebel.integration.util.WeakUtil$WeakClassBytecodeProcessorAdapter.process(SourceFile:287)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:376)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:365)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:316)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:34)
    	at com.zeroturnaround.javarebel.pw.transform(SourceFile:94)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java)
    	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279)
    	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
    	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
    	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:696)
    	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:143)
    	at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:137)
    	at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:61)
    	at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:225)
    	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
    	at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:100)
    	at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:206)
    	at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:314)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:497)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
    	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:487)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
    	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
    	at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:224)
    	at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:466)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:169)
    	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
    	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
    	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
    	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
    	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: compile error: ; is missing
    	at org.zeroturnaround.bundled.javassist.compiler.Parser.parseDeclarators(SourceFile:626)
    	at org.zeroturnaround.bundled.javassist.compiler.Parser.parseDeclarationOrExpression(SourceFile:583)
    	at org.zeroturnaround.bundled.javassist.compiler.Parser.parseStatement(SourceFile:277)
    	at org.zeroturnaround.bundled.javassist.compiler.Parser.parseBlock(SourceFile:289)
    	at org.zeroturnaround.bundled.javassist.compiler.Parser.parseStatement(SourceFile:243)
    	at org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(SourceFile:567)
    	at org.zeroturnaround.bundled.javassist.CtBehavior.insertAfterAdvice(SourceFile:892)
    	at org.zeroturnaround.bundled.javassist.CtBehavior.insertAfter(SourceFile:851)
    	... 64 more

    Glad for updates, and thanks for persistence,

    Webel IT Australia

    #60371

    webel
    Participant

    I have found another error with the most recent nightly build on running my real web app. I’m afraid I don’t have a convenient test web app for this one, and I can’t provide the real web app:

    Not Enhanced: com/example/web/SheetNav$Proxy$_$$_WeldClientProxy: com.objectdb.o.TEX: Type com.example.web.SheetNav$Proxy$_$$_WeldClientProxy is not found
    	at com.objectdb.o.MSG.e(MSG.java:108)
    	at com.objectdb.o.SCM.w(SCM.java:459)
    	at com.objectdb.o.JEW.aG(JEW.java:160)
    	at com.objectdb.JEnhancerAgent.transform(JEnhancerAgent.java:155)
    	at org.glassfish.persistence.jpa.ServerProviderContainerContractInfo$1.transform(ServerProviderContainerContractInfo.java:98)
    	at org.glassfish.web.loader.WebappClassLoader$3.preprocess(WebappClassLoader.java:3517)
    	at org.glassfish.web.loader.WebappClassLoader.process(WebappClassLoader.java)
    	at org.zeroturnaround.javarebel.integration.util.WeakUtil$WeakClassBytecodeProcessorAdapter.process(SourceFile:287)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:376)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:365)
    	at com.zeroturnaround.javarebel.rw.b(SourceFile:418)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.processManagedClass(SourceFile:44)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:36)
    	at com.zeroturnaround.javarebel.pw.transform(SourceFile:94)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java)
    	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.zeroturnaround.javarebel.pr.a(SourceFile:96)
    	at com.zeroturnaround.javarebel.pr.a(SourceFile:85)
    	at com.zeroturnaround.javarebel.py.a(SourceFile:440)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.a(SourceFile:112)
    	at com.zeroturnaround.javarebel.f.defineReloadableClass(SourceFile:387)
    	at com.zeroturnaround.javarebel.f.defineReloadableClass(SourceFile:396)
    	at org.zeroturnaround.jrebel.weld2.helper.ProxyClassReloader.createReloadableProxy(ProxyClassReloader.java:57)
    	at org.zeroturnaround.jrebel.weld2.helper.ProxyClassReloader.defineReloadable(ProxyClassReloader.java:36)
    	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:491)
    	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:364)
    	at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:334)
    	at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:326)
    	at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:209)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:199)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:47)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:55)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:51)
    	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
    	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
    	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
    	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
    	at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
    	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
    	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
    	at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
    	at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:233)
    	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:736)
    	at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:842)
    	at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
    	at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
    	at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
    	at org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
    	at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:172)
    	at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:46)
    	at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72)
    	at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:121)
    	at org.glassfish.weld.services.JCDIServiceImpl.injectManagedObject(JCDIServiceImpl.java:285)
    	at org.glassfish.faces.integration.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:189)
    	at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:339)
    	at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:154)
    	at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:132)
    	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
    	at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
    	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439)
    	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
    	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394)
    	at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:744)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5963)
    	at com.sun.enterprise.web.WebModule.start(WebModule.java:692)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
    	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2296)
    	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1942)
    	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
    	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
    	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
    	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:353)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:501)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
    	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:487)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
    	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
    	at com.sun.enterprise.v3.ad
    Info:   min.AdminAdapter.onMissingResource(AdminAdapter.java:224)
    	at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:466)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:169)
    	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
    	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
    	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
    	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
    	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassNotFoundException: com.example.web.SheetNav$Proxy$_$$_WeldClientProxy
    	at java.lang.ClassLoader.findClass(ClassLoader.java:530)
    	at com.objectdb.o.ACL.loadClass(ACL.java:131)
    	at com.objectdb.o.BCL.loadClass(BCL.java:63)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at com.objectdb.o.SCM.w(SCM.java:455)
    	... 117 more
    Severe:   [2016-11-05 11:50:54 #1233 enhancer.agent] 
    Not Enhanced: com/example/web/SheetNav$Proxy$_$$_WeldClientProxy: com.objectdb.o.TEX: Type com.example.web.SheetNav$Proxy$_$$_WeldClientProxy is not found
    	at com.objectdb.o.MSG.e(MSG.java:108)
    	at com.objectdb.o.SCM.w(SCM.java:459)
    	at com.objectdb.o.JEW.aG(JEW.java:160)
    	at com.objectdb.JEnhancerAgent.transform(JEnhancerAgent.java:155)
    	at org.glassfish.persistence.jpa.ServerProviderContainerContractInfo$1.transform(ServerProviderContainerContractInfo.java:98)
    	at org.glassfish.web.loader.WebappClassLoader$3.preprocess(WebappClassLoader.java:3517)
    	at org.glassfish.web.loader.WebappClassLoader.process(WebappClassLoader.java)
    	at org.zeroturnaround.javarebel.integration.util.WeakUtil$WeakClassBytecodeProcessorAdapter.process(SourceFile:287)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:376)
    	at com.zeroturnaround.javarebel.rw.a(SourceFile:365)
    	at com.zeroturnaround.javarebel.rw.b(SourceFile:418)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.processManagedClass(SourceFile:44)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:36)
    	at com.zeroturnaround.javarebel.pw.transform(SourceFile:94)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java)
    	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.zeroturnaround.javarebel.pr.a(SourceFile:96)
    	at com.zeroturnaround.javarebel.pr.a(SourceFile:85)
    	at com.zeroturnaround.javarebel.py.a(SourceFile:440)
    	at com.zeroturnaround.javarebel.SDKIntegrationImpl.a(SourceFile:112)
    	at com.zeroturnaround.javarebel.f.defineReloadableClass(SourceFile:387)
    	at com.zeroturnaround.javarebel.f.defineReloadableClass(SourceFile:396)
    	at org.zeroturnaround.jrebel.weld2.helper.ProxyClassReloader.createReloadableProxy(ProxyClassReloader.java:57)
    	at org.zeroturnaround.jrebel.weld2.helper.ProxyClassReloader.defineReloadable(ProxyClassReloader.java:36)
    	at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:491)
    	at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:364)
    	at org.jboss.weld.bean.proxy.ProxyFactory.run(ProxyFactory.java:334)
    	at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:326)
    	at org.jboss.weld.bean.proxy.ClientProxyFactory.create(ClientProxyFactory.java:83)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:209)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.createClientProxy(ClientProxyProvider.java:199)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.access$100(ClientProxyProvider.java:47)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:55)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider$CreateClientProxy.load(ClientProxyProvider.java:51)
    	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
    	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
    	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
    	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
    	at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
    	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
    	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
    	at org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
    	at org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
    	at org.jboss.weld.bean.proxy.ClientProxyProvider.getClientProxy(ClientProxyProvider.java:233)
    	at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:736)
    	at org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:842)
    	at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)
    	at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:364)
    	at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:375)
    	at org.jboss.weld.injection.producer.ResourceInjector$1.proceed(ResourceInjector.java:70)
    	at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:172)
    	at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:46)
    	at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:72)
    	at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:121)
    	at org.glassfish.weld.services.JCDIServiceImpl.injectManagedObject(JCDIServiceImpl.java:285)
    	at org.glassfish.faces.integration.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:189)
    	at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:339)
    	at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:154)
    	at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:132)
    	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
    	at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
    	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:439)
    	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
    	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394)
    	at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:744)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5963)
    	at com.sun.enterprise.web.WebModule.start(WebModule.java:692)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
    	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2296)
    	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1942)
    	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
    	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
    	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
    	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:353)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:501)
    	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:220)
    	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:487)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at javax.security.auth.Subject.doAs(Subject.java:360)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
    	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
    	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:534)
    	at com.sun.enterprise.v3.ad
    Severe:   min.AdminAdapter.onMissingResource(AdminAdapter.java:224)
    	at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:189)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:466)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:169)
    	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
    	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
    	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
    	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
    	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassNotFoundException: com.example.web.SheetNav$Proxy$_$$_WeldClientProxy
    	at java.lang.ClassLoader.findClass(ClassLoader.java:530)
    	at com.objectdb.o.ACL.loadClass(ACL.java:131)
    	at com.objectdb.o.BCL.loadClass(BCL.java:63)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at com.objectdb.o.SCM.w(SCM.java:455)
    	... 117 more

    Where class SheetNav used @Named + @Inject not @ManagedBean + @ManagedProperty (unlike all other managed beans in the project):

    import javax.inject.Named;
    import javax.faces.view.ViewScoped;
    
    @Named(value = "sheetNav")
    @ViewScoped
    public class SheetNav extends All_ {
    ..

    And used elsewhere as:

        @Inject    
        private SheetNav sheetNav;
    #60382

    webel
    Participant

    Seems (based on one fresh deployment) to be fixed by nightly build:

    This error DID NOT happen:

    Not Enhanced: com/example/web/SheetNav$Proxy$_$$_WeldClientProxy: com.objectdb.o.TEX: Type com.example.web.SheetNav$Proxy$_$$_WeldClientProxy is not found

    Thanks for prompt attention to this, and excellent work JRebel support team !

    This means I can now use JRebel with CDI beans (instead of the older JSF managed beans) together with ObjectDB pure object database for JPA.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.