[jira] [Resolved] (ARIES-1271) EntityManager throws InvocationtargetException instead of original cause

2015-02-04 Thread Christian Schneider (JIRA)

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

Christian Schneider resolved ARIES-1271.

Resolution: Fixed

Test case is done too now

> EntityManager throws InvocationtargetException instead of original cause
> 
>
> Key: ARIES-1271
> URL: https://issues.apache.org/jira/browse/ARIES-1271
> Project: Aries
>  Issue Type: Bug
>Reporter: Christian Schneider
>Assignee: Christian Schneider
> Fix For: jpa-container-1.0.3, jpa-container-context-1.0.5
>
>
> See 
> https://issues.apache.org/jira/browse/ARIES-1251?focusedCommentId=14201908&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14201908



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Build failed in Jenkins: AriesWithSnapshotDependencies #624

2015-02-04 Thread Apache Jenkins Server
See 

Changes:

[dkulp] [ARIES-1293] Allow bean and references in custom namespace handlers via 
the ext namespace

[dkulp] Allow blueprint to (somewhat) come in via m2e

--
[...truncated 50298 lines...]
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Blueprint Core #623
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 432187 bytes
Compression is 0.0%
Took 0.22 sec
[JENKINS] Archiving 

 to 
org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.2-SNAPSHOT/org.apache.aries.blueprint.api-1.0.2-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.2-SNAPSHOT/org.apache.aries.blueprint.api-1.0.2-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Blueprint API #623
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 37300 bytes
Compression is 0.0%
Took 48 ms
[JENKINS] Archiving 

 to 
org.apache.aries.proxy/org.apache.aries.proxy/1.0.2-SNAPSHOT/org.apache.aries.proxy-1.0.2-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.proxy/org.apache.aries.proxy/1.0.2-SNAPSHOT/org.apache.aries.proxy-1.0.2-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Proxy Bundle #623
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 102677 bytes
Compression is 0.0%
Took 0.15 sec
[JENKINS] Archiving 

 to 
org.apache.aries.quiesce/org.apache.aries.quiesce.manager/1.0.1-SNAPSHOT/org.apache.aries.quiesce.manager-1.0.1-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.quiesce/org.apache.aries.quiesce.manager/1.0.1-SNAPSHOT/org.apache.aries.quiesce.manager-1.0.1-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Quiesce Manager #623
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 26627 bytes
Compression is 0.0%
Took 70 ms
[JENKINS] Archiving 

 to 
org.apache.aries.subsystem/subsystem/1.0.0-SNAPSHOT/subsystem-1.0.0-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Subsystem #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2272 bytes
Compression is 0.0%
Took 87 ms
[JENKINS] Archiving 

 to 
org.apache.aries.spifly.examples/org.apache.aries.spifly.examples.client1.jar/1.0.1-SNAPSHOT/org.apache.aries.spifly.examples.client1.jar-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Example SPI Client Jar 1 #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 1993 bytes
Compression is 0.0%
Took 0.17 sec
[JENKINS] Archiving 

 to 
org.apache.aries.samples.blueprint.helloworld/org.apache.aries.samples.blueprint.helloworld.eba/1.0.1-SNAPSHOT/org.apache.aries.samples.blueprint.helloworld.eba-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
Blueprint HelloWorld EBA #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2983 bytes
Compression is 0.0%
Took 0.15 sec
[JENKINS] Archiving 

 to 
org.apache.aries.samples.blog/org.apache.aries.samples.blog.api/1.0.1-SNAPSHOT/org.apache.aries.samples.blog.api-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies » Apache Aries 
blog sample API #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 1954 bytes
Compression is 0.0%
Took 0.14 sec
[JENKINS] Archiving 


Build failed in Jenkins: AriesWithSnapshotDependencies #623

2015-02-04 Thread Apache Jenkins Server
See 

Changes:

[cschneider] Improve error message

[cschneider] ARIES-1271 added test

--
[...truncated 50319 lines...]
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Blueprint Core #622
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 430176 bytes
Compression is 0.0%
Took 0.22 sec
[JENKINS] Archiving 

 to 
org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.2-SNAPSHOT/org.apache.aries.blueprint.api-1.0.2-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.2-SNAPSHOT/org.apache.aries.blueprint.api-1.0.2-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Blueprint API #622
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 37300 bytes
Compression is 0.0%
Took 58 ms
[JENKINS] Archiving 

 to 
org.apache.aries.proxy/org.apache.aries.proxy/1.0.2-SNAPSHOT/org.apache.aries.proxy-1.0.2-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.proxy/org.apache.aries.proxy/1.0.2-SNAPSHOT/org.apache.aries.proxy-1.0.2-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Proxy Bundle #622
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 102677 bytes
Compression is 0.0%
Took 60 ms
[JENKINS] Archiving 

 to 
org.apache.aries.quiesce/org.apache.aries.quiesce.manager/1.0.1-SNAPSHOT/org.apache.aries.quiesce.manager-1.0.1-SNAPSHOT.pom
[JENKINS] Archiving 

 to 
org.apache.aries.quiesce/org.apache.aries.quiesce.manager/1.0.1-SNAPSHOT/org.apache.aries.quiesce.manager-1.0.1-SNAPSHOT.jar
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Quiesce Manager #622
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 26627 bytes
Compression is 0.0%
Took 61 ms
[JENKINS] Archiving 

 to 
org.apache.aries.subsystem/subsystem/1.0.0-SNAPSHOT/subsystem-1.0.0-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Subsystem #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2272 bytes
Compression is 0.0%
Took 39 ms
[JENKINS] Archiving 

 to 
org.apache.aries.spifly.examples/org.apache.aries.spifly.examples.client1.jar/1.0.1-SNAPSHOT/org.apache.aries.spifly.examples.client1.jar-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Example SPI Client Jar 1 #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 1993 bytes
Compression is 0.0%
Took 98 ms
[JENKINS] Archiving 

 to 
org.apache.aries.samples.blueprint.helloworld/org.apache.aries.samples.blueprint.helloworld.eba/1.0.1-SNAPSHOT/org.apache.aries.samples.blueprint.helloworld.eba-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
Blueprint HelloWorld EBA #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2983 bytes
Compression is 0.0%
Took 84 ms
[JENKINS] Archiving 

 to 
org.apache.aries.samples.blog/org.apache.aries.samples.blog.api/1.0.1-SNAPSHOT/org.apache.aries.samples.blog.api-1.0.1-SNAPSHOT.pom
Sending artifact delta relative to AriesWithSnapshotDependencies ? Apache Aries 
blog sample API #448
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 1954 bytes
Compression is 0.0%
Took 18 ms
[JENKINS] Archiving 


[jira] [Commented] (ARIES-1293) Help custom namespace handlers that would like bean references..

2015-02-04 Thread Daniel Kulp (JIRA)

[ 
https://issues.apache.org/jira/browse/ARIES-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305532#comment-14305532
 ] 

Daniel Kulp commented on ARIES-1293:


Actually, they should use the "bp:Tinlined-*" versions of the blueprint types

> Help custom namespace handlers that would like bean references..
> 
>
> Key: ARIES-1293
> URL: https://issues.apache.org/jira/browse/ARIES-1293
> Project: Aries
>  Issue Type: Bug
>  Components: Blueprint
>Reporter: Daniel Kulp
>
> In some cases, custom namespace handlers may have a schema element like:
> {code:xml}
> 
> 
> 
> 
> 
> 
> {code}
> where they intend to allow the user to define some sort of bean or other 
> object to be defined by the user.   This works well in Spring/Spring-DM as 
> you can define an object there via the normal Spring "bean" element.   
> However, blueprint.xsd does NOT have a top level bean element that can be 
> referenced.Thus, with the above schema, you can only use objects that can 
> be created via custom namespaces.
> The proposal would be to add two elements to the blueprint-ext namespace:
> {code:xml}
> 
> 
> {code}
> to fill the gap that Spring-DM provides that we cannot do with Blueprint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ARIES-1293) Help custom namespace handlers that would like bean references..

2015-02-04 Thread Daniel Kulp (JIRA)

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

Daniel Kulp updated ARIES-1293:
---
Description: 
In some cases, custom namespace handlers may have a schema element like:
{code:xml}






{code}

where they intend to allow the user to define some sort of bean or other object 
to be defined by the user.   This works well in Spring/Spring-DM as you can 
define an object there via the normal Spring "bean" element.   However, 
blueprint.xsd does NOT have a top level bean element that can be referenced.
Thus, with the above schema, you can only use objects that can be created via 
custom namespaces.

The proposal would be to add two elements to the blueprint-ext namespace:

{code:xml}


{code}
to fill the gap that Spring-DM provides that we cannot do with Blueprint.

  was:

In some cases, custom namespace handlers may have a schema element like:
{code:xml}






{code}

where they intend to allow the user to define some sort of bean or other object 
to be defined by the user.   This works well in Spring/Spring-DM as you can 
define an object there via the normal Spring "bean" element.   However, 
blueprint.xsd does NOT have a top level bean element that can be referenced.
Thus, with the above schema, you can only use objects that can be created via 
custom namespaces.

The proposal would be to add two elements to the blueprint-ext namespace:

{code:xml}


{code}
to fill the gap that Spring-DM provides that we cannot do with Blueprint.


> Help custom namespace handlers that would like bean references..
> 
>
> Key: ARIES-1293
> URL: https://issues.apache.org/jira/browse/ARIES-1293
> Project: Aries
>  Issue Type: Bug
>  Components: Blueprint
>Reporter: Daniel Kulp
>
> In some cases, custom namespace handlers may have a schema element like:
> {code:xml}
> 
> 
> 
> 
> 
> 
> {code}
> where they intend to allow the user to define some sort of bean or other 
> object to be defined by the user.   This works well in Spring/Spring-DM as 
> you can define an object there via the normal Spring "bean" element.   
> However, blueprint.xsd does NOT have a top level bean element that can be 
> referenced.Thus, with the above schema, you can only use objects that can 
> be created via custom namespaces.
> The proposal would be to add two elements to the blueprint-ext namespace:
> {code:xml}
> 
> 
> {code}
> to fill the gap that Spring-DM provides that we cannot do with Blueprint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ARIES-1293) Help custom namespace handlers that would like bean references..

2015-02-04 Thread Daniel Kulp (JIRA)
Daniel Kulp created ARIES-1293:
--

 Summary: Help custom namespace handlers that would like bean 
references..
 Key: ARIES-1293
 URL: https://issues.apache.org/jira/browse/ARIES-1293
 Project: Aries
  Issue Type: Bug
  Components: Blueprint
Reporter: Daniel Kulp



In some cases, custom namespace handlers may have a schema element like:
{code:xml}






{code}

where they intend to allow the user to define some sort of bean or other object 
to be defined by the user.   This works well in Spring/Spring-DM as you can 
define an object there via the normal Spring "bean" element.   However, 
blueprint.xsd does NOT have a top level bean element that can be referenced.
Thus, with the above schema, you can only use objects that can be created via 
custom namespaces.

The proposal would be to add two elements to the blueprint-ext namespace:

{code:xml}


{code}
to fill the gap that Spring-DM provides that we cannot do with Blueprint.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Commented out module jpa-container-eclipselink-adapter

2015-02-04 Thread Rodrigo Serra
Hello JB,

eclipselink don’t manager transaction well in generic OSGI container. The JTA 
adapter is still necessary and if no one is available and configured is only 
possible read. This project provides the adaptors (automatically change PU 
properties to add target server property) and JPA provider registration. Maybe 
need some changes or upgrades but is very nice to have.

Regards,
Rodrigo

> El 4/2/2015, a las 3:36, Jean-Baptiste Onofré  escribió:
> 
> AFAIR, it's an optional module, not really maintained as eclipselink already 
> provide OSGi support.
> 
> Regards
> JB
> 
> On 02/03/2015 10:39 PM, Rodrigo Serra wrote:
>> Hello,
>> 
>> I see "jpa-container-eclipselink-adapter” module commented out in pom.xml 
>> from jpa module.  some one know the reason?
>> 
>> Regards,
>> Rodrigo
>> 
>> 
> 
> -- 
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com