[jira] [Created] (DELTASPIKE-406) PersistenceUnits#instance sinngleton does not work in EAR scenarios
Mark Struberg created DELTASPIKE-406: Summary: PersistenceUnits#instance sinngleton does not work in EAR scenarios Key: DELTASPIKE-406 URL: https://issues.apache.org/jira/browse/DELTASPIKE-406 Project: DeltaSpike Issue Type: Bug Components: Data-Module Affects Versions: 0.5 Reporter: Mark Struberg Priority: Minor Currently the info regarding the various persistence.xml files on the classpath only gets scanned once and stored in the static PersistenceUnits#instance. This does not work in EAR scenarios if one of the persistence.xml is in a webapp or if the deltaspike-data-impl is on any other shared ClassLoader. We should at least document this restriction it until it's properly fixed. A possible fix would be to have a (weak) Map which also looks up the parent ClassLodaer chain. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (DELTASPIKE-380) NPE in PartialBeanLifecycle if javassist not on classpath
[ https://issues.apache.org/jira/browse/DELTASPIKE-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg reopened DELTASPIKE-380: -- Assignee: Mark Struberg (was: Gerhard Petracek) we need to add javassist to the @Deployment for some containers. Otherwise quite a few tests fail. > NPE in PartialBeanLifecycle if javassist not on classpath > - > > Key: DELTASPIKE-380 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-380 > Project: DeltaSpike > Issue Type: Bug > Components: PartialBean >Affects Versions: 0.4 >Reporter: Jozef Hartinger >Assignee: Mark Struberg > Fix For: 0.5 > > > I am getting > java.lang.NullPointerException > at > org.apache.deltaspike.partialbean.impl.PartialBeanLifecycle.(PartialBeanLifecycle.java:73) > at > org.apache.deltaspike.partialbean.impl.PartialBeanBindingExtension.createPartialBean(PartialBeanBindingExtension.java:142) > at > org.apache.deltaspike.partialbean.impl.PartialBeanBindingExtension.createBeans(PartialBeanBindingExtension.java:109) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at > org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93) > at > org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:274) > at > org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121) > at > org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:261) > at > org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:240) > at > org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:171) > at > org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:130) > at > org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:104) > at > org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63) > at > org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:35) > at > org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:58) > at > org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:516) > at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:64) > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974) > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:722) > when javassist is not on the classpath. The corresponding code is: > Object proxyFactory = > ClassUtils.tryToInstantiateClassForName("javassist.util.proxy.ProxyFactory"); > Method setSuperclassMethod = > proxyFactory.getClass().getDeclaredMethod("setSuperclass", Class.class); > proxyFactory is null when javassist is not on classpath. > Also note that tests for partial beans do not bundle javassist within the > test archive which they should! Otherwise those tests won't pass on a > container that does not implicitly add javassist to the classpath (e.g. > WildFly). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DELTASPIKE-405) producer for JsfMessage does not match CDI-1.1 rules
[ https://issues.apache.org/jira/browse/DELTASPIKE-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg resolved DELTASPIKE-405. -- Resolution: Fixed > producer for JsfMessage does not match CDI-1.1 rules > > > Key: DELTASPIKE-405 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-405 > Project: DeltaSpike > Issue Type: Bug > Components: JSF-Module >Affects Versions: 0.4 >Reporter: Mark Struberg >Assignee: Mark Struberg > Fix For: 0.5 > > > Some containers don't find the JsfMessageProducer as it is of a generic type > . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still Unstable!
There's now a public link to the build in the e-mail reports from Jenkins. You can check the job configuration [1] if something doesn't seem right. As John has mentioned, the last few builds have failed only in ContainerControl TCK for OWB [2]. But some other problem (most likely something corrupt in the m2 repo) caused most of the tests not to run. Now with a clean repo, the job runs OK, cdictrl doesn't fail, but other things do [3] (build may take some time to get published). [1] http://hudson.jboss.org/hudson/job/DeltaSpike-incubator-jbossas-managed-7/configure-readonly/ [2] http://hudson.jboss.org/hudson/job/DeltaSpike-incubator-jbossas-managed-7/247/testReport/ [3] http://hudson.jboss.org/hudson/job/DeltaSpike-incubator-jbossas-managed-7/249/testReport/ On 28.8.2013 08:31, Mark Struberg wrote: Hi SeamQA folks! Could you please verify the build below? From reading the output it seems that the actual DeltaSpike build is really fine and there is only a problem with publishing the junit test results later. Guess it's as simple as a missing file permission or something similar as the build itself seems fine. txs and LieGrue, strub From:"ci-bui...@redhat.com" To:rsme...@redhat.com;seam-qa-l...@redhat.com;deltaspike-comm...@incubator.apache.org;strub...@apache.org Sent: Tuesday, 27 August 2013, 6:06 Subject: DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still Unstable! Public link to build: http://hudson.jboss.org/hudson/job/DeltaSpike-incubator-jbossas-managed-7/247 DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still Unstable: Check console output athttp://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/DeltaSpike-incubator-jbossas-managed-7/247/ to view the results. Changes: [struberg] DELTASPIKE-402 cdicontainer.version for tomee via arquillian -- [...truncated 4329 lines...] [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider --- T E S T S --- Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ deltaspike-jse-example --- [INFO] Building jar: /mnt/hudson_workspace/workspace/DeltaSpike-incubator-jbossas-managed-7/deltaspike/examples/jse-examples/target/deltaspike-jse-example-0.5-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ deltaspike-jse-example --- [INFO] [INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ deltaspike-jse-example >>> [INFO] [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ deltaspike-jse-example --- [INFO] [INFO] --- maven-antrun-plugin:1.6:run (javadoc.resources) @ deltaspike-jse-example --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ deltaspike-jse-example <<< [INFO] [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ deltaspike-jse-example --- [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] Building jar: /mnt/hudson_workspace/workspace/DeltaSpike-incubator-jbossas-managed-7/deltaspike/examples/jse-examples/target/deltaspike-jse-example-0.5-SNAPSHOT-sources.jar [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] META-INF already added, skipping [INFO] META-INF/DEPENDENCIES already added, skipping [INFO] META-INF/DISCLAIMER already added, skipping [INFO] META-INF/LICENSE already added, skipping [INFO] META-INF/NOTICE already added, skipping [INFO] [INFO] --- maven-ch
Re: DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still Unstable!
Shouldn't you disable OWB tests if you're running on AS7? Error Message org.apache.webbeans.corespi.scanner.AnnotationDB$CrossReferenceException: cannot resolve classes [org.jboss.errai.bus.server.annotations.Service] Stacktrace java.lang.RuntimeException: org.apache.webbeans.corespi.scanner.AnnotationDB$CrossReferenceException: cannot resolve classes [org.jboss.errai.bus.server.annotations.Service] at org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.crossReferenceBeans(AbstractMetaDataDiscovery.java:255) at org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.getBeanClasses(AbstractMetaDataDiscovery.java:200) at org.apache.webbeans.config.BeansDeployer.checkStereoTypes(BeansDeployer.java:734) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:162) at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:128) at org.apache.deltaspike.cdise.owb.OpenWebBeansContainerControl.boot(OpenWebBeansContainerControl.java:68) at org.apache.deltaspike.cdise.tck.ContainerCtrlTckTest.testContainerBoot(ContainerCtrlTckTest.java:45) On Wed, Aug 28, 2013 at 2:31 AM, Mark Struberg wrote: > Hi SeamQA folks! > > Could you please verify the build below? > From reading the output it seems that the actual DeltaSpike build is really > fine and there is only a problem with publishing the junit test results > later. Guess it's as simple as a missing file permission or something similar > as the build itself seems fine. > > txs and LieGrue, > strub > > > > >> >> From: "ci-bui...@redhat.com" >>To: rsme...@redhat.com; seam-qa-l...@redhat.com; >>deltaspike-comm...@incubator.apache.org; strub...@apache.org >>Sent: Tuesday, 27 August 2013, 6:06 >>Subject: DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still >>Unstable! >> >> >>Public link to build: >>http://hudson.jboss.org/hudson/job/DeltaSpike-incubator-jbossas-managed-7/247 >> >>DeltaSpike-incubator-jbossas-managed-7 - Build # 247 - Still Unstable: >> >>Check console output at >>http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/DeltaSpike-incubator-jbossas-managed-7/247/ >> to view the results. >> >>Changes: >> >>[struberg] DELTASPIKE-402 cdicontainer.version for tomee via arquillian >> >> >> >>-- >>[...truncated 4329 lines...] >>[INFO] Using configured provider >>org.apache.maven.surefire.junitcore.JUnitCoreProvider >> >>--- >>T E S T S >>--- >>Concurrency config is parallel='none', perCoreThreadCount=true, >>threadCount=2, useUnlimitedThreads=false >> >>Results : >> >>Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 >> >>[INFO] >>[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ deltaspike-jse-example --- >>[INFO] Building jar: >>/mnt/hudson_workspace/workspace/DeltaSpike-incubator-jbossas-managed-7/deltaspike/examples/jse-examples/target/deltaspike-jse-example-0.5-SNAPSHOT.jar >>[INFO] >>[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ >>deltaspike-jse-example --- >>[INFO] >>[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ >>deltaspike-jse-example >>> >>[INFO] >>[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ >>deltaspike-jse-example --- >>[INFO] >>[INFO] --- maven-antrun-plugin:1.6:run (javadoc.resources) @ >>deltaspike-jse-example --- >>[WARNING] Parameter tasks is deprecated, use target instead >>[INFO] Executing tasks >> >>main: >>[INFO] Executed tasks >>[INFO] >>[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ >>deltaspike-jse-example <<< >>[INFO] >>[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ >>deltaspike-jse-example --- >>[INFO] META-INF already added, skipping >>[INFO] META-INF/DEPENDENCIES already added, skipping >>[INFO] META-INF/DISCLAIMER already added, skipping >>[INFO] META-INF/LICENSE already added, skipping >>[INFO] META-INF/NOTICE already added, skipping >>[INFO] META-INF already added, skipping >>[INFO] META-INF already added, skipping >>[INFO] META-INF/DEPENDENCIES already added, skipping >>[INFO] META-INF/DISCLAIMER already added, skipping >>[INFO] META-INF/LICENSE already added, skipping >>[INFO] META-INF/NOTICE already added, skipping >>[INFO] META-INF already added, skipping >>[INFO] META-INF/DEPENDENCIES already added, skipping >>[INFO] META-INF/DISCLAIMER already added, skipping >>[INFO] META-INF/LICENSE already added, skipping >>[INFO] META-INF/NOTICE already added, skipping >>[INFO] Building jar: >>/mnt/hudson_workspace/workspace/DeltaSpike-incubator-jbossas-managed-7/deltaspike/examples/jse-examples/target/deltaspike-jse-example-0.5-SNAPSHOT-sources.jar >>[INFO] META-INF already added, skipping >>[INFO] META-INF/DEPENDENCIES already added, skipping >>[INFO] META-INF/DISCLAIMER already added, skipping >>[INFO] META-INF/LICENSE already added, skipping >>[INFO] META-INF/NOTICE already added, skip
[jira] [Created] (DELTASPIKE-405) producer for JsfMessage does not match CDI-1.1 rules
Mark Struberg created DELTASPIKE-405: Summary: producer for JsfMessage does not match CDI-1.1 rules Key: DELTASPIKE-405 URL: https://issues.apache.org/jira/browse/DELTASPIKE-405 Project: DeltaSpike Issue Type: Bug Components: JSF-Module Affects Versions: 0.4 Reporter: Mark Struberg Assignee: Mark Struberg Fix For: 0.5 Some containers don't find the JsfMessageProducer as it is of a generic type . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DELTASPIKE-404) BeanManagerProvider leaks in case of undeploy/redeploy
[ https://issues.apache.org/jira/browse/DELTASPIKE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau updated DELTASPIKE-404: -- Attachment: patch.diff No really proud of this patch, a better idea would be a spi to integrate with containers. OWB and Weld would use classloaders and TomEE, JBoss, WAS... could use their own storage > BeanManagerProvider leaks in case of undeploy/redeploy > -- > > Key: DELTASPIKE-404 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-404 > Project: DeltaSpike > Issue Type: Bug >Reporter: Romain Manni-Bucau >Assignee: Romain Manni-Bucau > Attachments: patch.diff > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira