[jira] [Commented] (DELTASPIKE-578) org.apache.deltaspike.data.impl.meta.RepositoryComponent is not thread safe

2014-04-29 Thread Harald Wellmann (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984403#comment-13984403
 ] 

Harald Wellmann commented on DELTASPIKE-578:


Just ran into this issue while load testing my application. It's easy to 
reproduce and there's no obvious workaround for consumers, so the priority 
should be raised.

 org.apache.deltaspike.data.impl.meta.RepositoryComponent is not thread safe
 ---

 Key: DELTASPIKE-578
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-578
 Project: DeltaSpike
  Issue Type: Bug
  Components: Data-Module
Affects Versions: 0.6
Reporter: Stuart Douglas
Assignee: Thomas Hug
 Fix For: 0.7

 Attachments: DELTASPIKE-578.patch


 The lazy init process is not thread safe. In particular the code checks if 
 entityManagerResolverIsNormalScope is null to determine if the entity is 
 initialised, however this is set before the initialisation is actually 
 completed, meaning a thread can get an uninitialized component, which then 
 causes problems. 
 The initialize() call should be moved up to before 
 entityManagerResolverIsNormalScope is set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (DELTASPIKE-586) optional forward compatibility for javax.interceptor.InvocationContext

2014-04-29 Thread Gerhard Petracek (JIRA)
Gerhard Petracek created DELTASPIKE-586:
---

 Summary: optional forward compatibility for 
javax.interceptor.InvocationContext
 Key: DELTASPIKE-586
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-586
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Affects Versions: 0.6
Reporter: Jozef Hartinger
Assignee: Thomas Hug
 Fix For: 0.7
 Attachments: DELTASPIKE-586.patch





--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-586) optional forward compatibility for javax.interceptor.InvocationContext

2014-04-29 Thread Gerhard Petracek (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek updated DELTASPIKE-586:


Attachment: DELTASPIKE-586.patch

 optional forward compatibility for javax.interceptor.InvocationContext
 --

 Key: DELTASPIKE-586
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-586
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Affects Versions: 0.6
Reporter: Jozef Hartinger
Assignee: Thomas Hug
 Fix For: 0.7

 Attachments: DELTASPIKE-586.patch






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-578) org.apache.deltaspike.data.impl.meta.RepositoryComponent is not thread safe

2014-04-29 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984474#comment-13984474
 ] 

Gerhard Petracek commented on DELTASPIKE-578:
-

@harald:
it will be part of v0.7. it's planned to start with the release this week.

 org.apache.deltaspike.data.impl.meta.RepositoryComponent is not thread safe
 ---

 Key: DELTASPIKE-578
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-578
 Project: DeltaSpike
  Issue Type: Bug
  Components: Data-Module
Affects Versions: 0.6
Reporter: Stuart Douglas
Assignee: Thomas Hug
 Fix For: 0.7

 Attachments: DELTASPIKE-578.patch


 The lazy init process is not thread safe. In particular the code checks if 
 entityManagerResolverIsNormalScope is null to determine if the entity is 
 initialised, however this is set before the initialisation is actually 
 completed, meaning a thread can get an uninitialized component, which then 
 causes problems. 
 The initialize() call should be moved up to before 
 entityManagerResolverIsNormalScope is set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread Rafael Benevides (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael Benevides updated DELTASPIKE-543:


Attachment: DELTASPIKE-543-fix-dist-versions.patch

First we need to synch dist/* versions to 0.7-SNAPSHOT instead of 0.6-SNAPSHOT, 
otherwise the build will fail due to non-resolvable parent.

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (DELTASPIKE-582) BeanProvider produces 2 instances of the object java se

2014-04-29 Thread Barbier (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barbier updated DELTASPIKE-582:
---

Attachment: office.ui.fx.debug.zip

Hello Karl

Here under the trace that shows the double instance of both LoginModel  
LoginView in the javafx application

20:16:07.673 [main] DEBUG LoginControl -
20:16:07.674 [main] TRACE LoginModel -
20:16:07.674 [main] TRACE LoginView -
20:16:07.701 [main] TRACE LoginView -
20:16:07.702 [main] TRACE LoginModel -
20:16:07.708 [main] TRACE ApplicationControl - fireEvent:INIT
20:16:07.762 [JavaFX-Launcher] TRACE ApplicationMain -
20:16:07.781 [JavaFX Application Thread] TRACE ApplicationMain - start

This is visible when you start ApplicationMain in which the main method 
is defined

btw, I would like to let you know that the idea behind this framework is 
most according to me one of the best one. I hope it will be soon in a GA 
state.
regards,
Didier






 BeanProvider produces 2 instances of the object java se
 ---

 Key: DELTASPIKE-582
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-582
 Project: DeltaSpike
  Issue Type: Bug
  Components: CdiControl
Affects Versions: 0.6
 Environment: linux ubunutu, eclipse kepler, maven config, open web 
 beans
Reporter: Barbier
  Labels: BeanProvider
 Attachments: office.data.zip, office.service.zip, 
 office.ui.fx.debug.zip, office.ui.fx.zip


 the injection process with the following code produces 2 instances of the 
 object
 LoginModel model = BeanProvider.getContextualReference( ILoginModel.class );



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread John D. Ament (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984638#comment-13984638
 ] 

John D. Ament commented on DELTASPIKE-543:
--

[~rafabene] if you want to send a pull request via github, we can merge that.  
Better than a patch.

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread Rafael Benevides (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984641#comment-13984641
 ] 

Rafael Benevides commented on DELTASPIKE-543:
-

PR sent: https://github.com/apache/deltaspike/pull/4

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread Rafael Benevides (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984644#comment-13984644
 ] 

Rafael Benevides commented on DELTASPIKE-543:
-

I think the release steps should include the distribution profile too:

*mvn release:prepare -Pdistribution* 

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread John D. Ament (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984636#comment-13984636
 ] 

John D. Ament commented on DELTASPIKE-543:
--

Actually it looks like the underlying issue is that the steps for a release are 
wrong.  I'll update the site.

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984652#comment-13984652
 ] 

Gerhard Petracek commented on DELTASPIKE-543:
-

@john:
if so: please ensure that the needed steps are possible before the maven 
release-plugin creates the tag.

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (DELTASPIKE-543) org.apache.deltaspike.distribution is disconnected

2014-04-29 Thread Rafael Benevides (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984890#comment-13984890
 ] 

Rafael Benevides commented on DELTASPIKE-543:
-

It seems that maven-release-plugin (even the latest versions) are not 
compatible with Maven 3.1.x. We should also add a note on release steps about 
it.

 org.apache.deltaspike.distribution is disconnected
 --

 Key: DELTASPIKE-543
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-543
 Project: DeltaSpike
  Issue Type: Bug
  Components: Build
Affects Versions: 0.6
Reporter: Gerhard Petracek
Assignee: John D. Ament
 Fix For: 0.7

 Attachments: DELTASPIKE-543-fix-dist-versions.patch


 all 3 pom files are disconnected and don't get updated during the 
 release-process



--
This message was sent by Atlassian JIRA
(v6.2#6252)