Hi Matteo,
Apologies for the lack of replies to this. I’m afraid that you hit the
beginning of the August vacation season!
The fundamental issue that you have is that it isn’t possible for you to mix an
external JTA TransactionManager with the Aries Transaction Control service.
Even if Aries a
To my knowledge this hasn’t been done yet. It shouldn’t be a big job to add it
if you wanted to submit a patch.
All the best,
Tim
> On 22 May 2019, at 16:16, Andrei Shakirin wrote:
>
> Hi,
>
> Does Aries support JPA 2.2 specification?
>
> I am trying to install Hibernate 5 under Karaf 4 wit
Hi,
To my knowledge nobody has done this in a reusable way yet, but if you’re
interested in doing so then adding it as a project in the integrations would be
great!
Tim
> On 18 Jun 2019, at 13:07, Oliver Schweitzer wrote:
>
> Hi,
>
> I’m successfully using the Jax-RS Whiteboard in Karat 4.
Hi,
I feel that the best place to ask this question would be the Apache Aries mail
list (given that it’s an Aries project). I’m therefore cross posting this back
to the Aries list.
In general repackaging a library is intended to shield users from the
underlying implementation details. In the
Hi Sebastian,
Maybe some feature of Async that i missed?
For the moment, no. The Aries Async project hasn’t had many calls for new
functionality, and so it hasn’t been updated to support OSGi R7. The Promises
support is mostly done, and with a day or two of effort I’m sure it would be
back u
This is something that will happen, but if you’re keen to muck in then patches
are always welcome!
Tim
> On 17 Oct 2018, at 21:57, Andrei Shakirin wrote:
>
> Hi Aries,
>
> Do you have any plans to support JDK 11 for all Aries subprojects (proxy,
> jpa, transaction, jndi, etc)?
>
> Regards,
Hi,
Sorry for the delay. There really aren’t very many bundles that you need!
As seen in
https://github.com/apache/aries-tx-control/blob/f7cd89eb49a99df841c3ab9c217dd678d5a18121/tx-control-providers/jpa/tx-control-jpa-itests/src/test/java/org/apache/aries/tx/control/itests/XAEclipseLink_2_6_0_Te
The Aries JPA container is a flexible implementation designed to be used with a
variety of JPA providers. It is tested across numerous versions of EclipseLink,
Hibernate and OpenJPA. Some of these versions only support JPA 2.0 (OpenJPA
only got JPA 2.1 support in June), as a result it can work w
to
be added/deleted (I don’t want updated case to be supported) after EMF is
created. Any idea?
// Kaja
From: Timothy Ward [mailto:timothyjw...@hotmail.com] On Behalf Of Timothy Ward
Sent: Tuesday, June 5, 2018 4:13 PM
To: user@aries.apache.org<mailto:user@aries.apache.org>
Subject
Hello,
Have you considered using Aries Transaction Control to manage your
transactions? This is a much more reliable way to deal with transactions that
run across module boundaries, and it is much clearer which resources have
“opted in” to the transaction.
Best Regards,
Tim
On 1 Jun 2018, at
The best option is, of course, to avoid using ServiceLoader as far as possible
and to use injection to obtain the services. This way your Java SE injection
container can use ServiceLoader (or whatever else it wants) and you can use
OSGi services when in OSGi…
Tim
On 18 May 2018, at 21:41, Raym
+1 for removing it. I disagreed with it as a solution in the first place - it
is up to the Topology Manager and RemoteServiceAdmin to generate an
EndpointDescription. Once it has been generated it should not be “fiddled with”
by the discovery layer as this could break a lot of things!
Tim
On 7
es but doesn't the independent start up order of DS require configuration of
start up order?
On Fri, Sep 2, 2016 at 11:30 AM, Timothy Ward
mailto:timothyjw...@apache.org>> wrote:
Hi Brad,
> On 27 Aug 2016, at 17:45, Brad Johnson
> mailto:brad.john...@mediadriver.com>> wrot
Hi Brad,
> On 27 Aug 2016, at 17:45, Brad Johnson wrote:
>
> While I understand the benefits of DS I'm wondering if it makes much
> difference for end users. I mean if I were creating a library for commons,
> XStream, Beanio or something else then it makes a lot of sense to expose it
> via DS
mpositeRegistry in the AbstractCamelRunner and
perhaps that should always be the one used. If one boots up and an OSGi
service registry is created both it and the SimpleRegistry are added to the
CompositeRegistry but one can access the SimpleRegistry in order to add one's
local depend
Hi Erwin,
Sent from my iPhone
> On 25 Jul 2016, at 15:18, Erwin Hogeweg wrote:
>
> Hi Tim,
>
>> Have you considered using Aries Transaction Control?
> I definitely have, that was going to be my next step once I got this working.
> I just can’t stand that I can’t figure this out. It is not roc
Hi,
Have you considered using Aries Transaction Control? It's typically much
simpler to configure than the raw JDBC service, and it definitely gives you
connection pooling (again, without extra moving parts).
Best Regards,
Tim Ward
Sent from my iPhone
On 24 Jul 2016, at 21:51, Erwin Hogeweg
Hi Brad,
I’ve been watching this thread for a while, and you’ve finally managed to draw
me in :)
On 12 Jul 2016, at 17:42, Brad Johnson
mailto:brad.john...@mediadriver.com>> wrote:
Guillaume,
I'm still using Blueprint and have found Camel/SCR to be a pain to work with.
It provides no tangi
Hi Rolf,
In Java 7 the way in which javac reports warnings changed. This broke projects
using older versions of the maven compiler plugin (like Aries). The "errors"
are actually warnings, and go away when using a newer maven compiler plugin.
There's not much we can do about existing released ve
Hi Philipp,
Declarative Services is designed to be an ultra-lightweight injection runtime,
and so it doesn't include the proxying/interception capabilities necessary to
support Declarative Qualities of Service like transactions. This is one of the
primary drivers for choosing blueprint over DS.
Hi,
The default configuration for the samples
sets:org.ops4j.pax.logging.DefaultServiceLog.level=INFOThis can be changed to
limit the output there. Otherwise you'll need to set the relevant SLF4J
properties on your Eclipse run configuration.
I hope this helps.
Regards,
Tim Ward
-
A value of null means that the scope wasn't specified in the XML. We have to
return null because in the blueprint specification the default scope of a bean
is context specific. Top level beans default to being singleton. Inner beans
default to being prototype.
When we're parsing snippets we don
>From the list of bundles you supplied it doesn't look like you have the jpa or
>transaction namespace handlers installed. Any blueprint bundles you add that
>use those namespaces won't work without them.
You need org.apache.aries.jpa.blueprint.aries and
org.apache.aries.transaction.blueprint to
Hi Tom,
Blueprint declarative transactions follow the same rules as EJB transactions. A
declared (checked) exception is defined as a "normal" return from the method
and does not trigger a rollback.
Regards
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise
Hi,
There's no direct equivalent of the task namespace in OSGi blueprint, however
you can convert what you have to standard Java and blueprint very easily.
public class MyMethodRunner implements Runnable {
private final MyBean myBean;
public MyMethodRunner (MyBean myBean) {
thi
Hi Daniel.
I'm assuming that there was a stack trace from the
ComponentDefinitionException? This looks like a problem introduced by the
inter-bean proxying that Aries started doing some time around 0.4. If you could
put together the information from this thread in a bug in Aries JIRA then we
Do you want to pick just one of the services? Do you want access to both, but
the option to choose which you use? Do you want the newer version to take
precedence?
The solution Emily suggests ties your blueprint to a particular version of the
service. This may be what you want, but it will pre
is the prefered way to do this with Blueprint! Using
ServiceTracker doesn't fit with dependency injection at all.
There are examples in the unit tests, or in the Blueprint spec. You could also
write an example for the Aries documentation!
http://aries.apache.org/modules/blueprint.html
For a
x27;t work - I sent a
separate message on that.
Thank you.
Regards,
Anatoly.
On 20/10/2012 9:54 PM, Timothy Ward wrote:
Hi
The bit in bracke
.
On 21/10/2012 12:48 AM, Timothy Ward wrote:
This was in addition to changing your datasource
blueprint to:
wasn't it?
enlistment.
How do I achieve this?
Thanks!
Christian
Am 20.10.12 11:55, schrieb Timothy
Ward:
Hi,
I'm afraid I haven't had time to do a full review, but from the
log I see that your datasourc
rds,
Anatoly
On 20/10/2012 10:43 PM, Timothy Ward wrote:
Hi,
Have you set up your system packages to prevent people getting
wired to the split package in the JDK?
If you look at
https://svn.apache.org/repos/asf/
g framework JTA declarative support in non-OSGi
environment.
What do you think?
On 20/10/2012 9:25 PM, Timothy Ward wrote:
I'm glad I could help!
I'll check with Manning about the discount code, I wasn't aware
aStagingDb
xa=true)
datasource blueprint? : neither this
What's the correct syntax?
On 20/10/2012 9:25 PM, Timothy Ward wrote:
upon code you have entered has expired" I received
this message when applied the code.
On 20/10/2012 8:25 PM, Timothy Ward wrote:
Hi,
I'm afraid I haven't had time to do a full review, but from the
log I see
ual rollback is performed.
On 12/10/2012 9:40 PM, Timothy Ward wrote:
Hi Anatoly,
I'd be interested in seeing the configuration for the
transactions that failed to roll back, and in knowing what
version of Aries JPA you were us
Hi Anatoly,
I'd be interested in seeing the configuration for the transactions that failed
to roll back, and in knowing what version of Aries JPA you were using. If you
don't give the JPA container an auto-enlisting datasource then you can end up
with non-transactional behaviour.
This is why w
I'm pretty sure that Proxy 1.0.0 needs ASM 4.0, 3.3.1 won't work.
Regards,
Tim
From: xl...@talend.com
To: user@aries.apache.org
Subject: RE: UnableToProxyException with aries 1.0.0
Date: Tue, 25 Sep 2012 02:00:02 +
Hi,
I’ve checked the ASM but it already has been installed into th
nterrupting service with
> plain OSGi services by installing the updated bundle with the updated
> service alongside the old bundle first then then take away the old
> bundle.
>
> Cheers,
>
> David
>
> On 13 August 2012 11:24, Timothy Ward wrote:
> > Hi Martin,
> >
&
Hi Martin,
Quiesce support is an optional feature for a number of Aries components. In
order to use it you need to install the Quiesce API and Quiesce Manager. You
can then use the Quiesce service to shut down your blueprint bundles cleanly
even when they are still receiving requests. This allo
will drop a mail anyway to let others know what caused
the hangs.
Thanks and regards,Balazs
On Fri, Jul 20, 2012 at 6:01 PM, Timothy Ward wrote:
Hi,
Could you send the manifests of the three bundles, and the manifest of the
updated core bundle? I'd like to check for class-space is
Hi,
Could you send the manifests of the three bundles, and the manifest of the
updated core bundle? I'd like to check for class-space issues.
Regards,
Tim
Date: Fri, 20 Jul 2012 10:20:25 +0200
Subject: ReferenceRecipe waits although service is available again
From: balazs.zsol...@everit.biz
T
Hi Johan,
We always welcome patches and bugs! If you would like to contribute then the
best way would be to raise a bug against the JPA component of Aries in JIRA
http://issues.apache.org/jira - it would be great if you could include your
test case, and even better if your patch includes unit t
ite new to JPA, in fact I've simply copied &pasted the example from Aries
JPA page.I've removed type="EXTENDED" from the XML but I've experienced the
same problem: is there a way to achieve my goal ?
Regards
On Wed, Feb 1, 2012 at 09:52, Timothy Ward wrote:
Hi,
Hi Charlie,
We don't have any annotation-driven configuration for transactions, but it has
been on our to-do list for some time. We would be unlikely to tie ourselves to
spring-specific annotation classes, but we would definitely like to provide
similar function, preferrably with an OSGi speci
ng
level of the chosen JPA implementation).
Luca
On Tue, Jan 31, 2012 at 18:00, Timothy Ward wrote:
Hi,
That's not an error I have seen before, and it has me a little stumped. I can
look into it, but I can also warn you that EXTENDED scope EntityManagers are
only supported by
Hi,
That's not an error I have seen before, and it has me a little stumped. I can
look into it, but I can also warn you that EXTENDED scope EntityManagers are
only supported by the Aries EJB component (Extended scope is defined in terms
of Stateful Session Beans). What is it that you are tryin
All contributions are welcome!
I would imagine that the most practical approach would be to add a new
namespace handler called fluent, builder or similar. This could be provided as
a new bundle in the blueprint project.
Adding some XML along the lines of the following to your blueprint:
2
We could look at adding some better fluent support in Aries blueprint (although
it would be in a non-standard namespace). It might be a while before there was
anything actually in trunk though.
Regards
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise O
Hi,
It's not very concise, but this should work:
If you're interested in more information about advanced blueprint techniques
then you may find Enterprise OSGi in Action to be a useful resour
Hi Damien,
Will all of these customers need to run in the same OSGi framework, and do you
know what all of the databases are at build time? I can think of two possible
options, but they might not fit with your usage pattern:
Define multiple persistence units in your persistence bundle (a persi
Hi,
Sorry for the delay with this. We hit an issue with the Maven Release Plugin
when doing our last release. This meant that the blueprint binaries it
published weren't actually the binaries we voted on, and we've been trying to
sort that out.
I don't think that there would be a problem with
Hi,
That's the error Open JPA gives you when the DataSource fails. This is probably
because your JNDI lookup is failing. Is there a valid DataSource at
jdbc/dupcheckcts ?
Regards,
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http:/
Hi Martin,
Aries doesn't have a programmatic API for creating blueprint managed beans,
references or services. I assume that XML isn't appropriate for your use case?
Regards.
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http://www.m
Hi,
I'll try to find someone to follow up on this, but you might want to raise this
on the CXF list as well. There will be more DOSGi developers there than there
are on the Aries lists.
Regards,
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in
, Nov 15, 2011 at 3:04 AM, Timothy Ward wrote:
Hi Matt,
Without more context it is very difficult to debug remotely - did anything get
redeployed? It looks like you've hit ARIES-765 to me.
Regards
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Hi Matt,
Without more context it is very difficult to debug remotely - did anything get
redeployed? It looks like you've hit ARIES-765 to me.
Regards
Tim Ward
---
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http://www.manning.com/cummins)
m
[mailto:timothyjw...@hotmail.com] On Behalf Of Timothy
Ward
Sent: vrijdag 11 november 2011 16:33
To:
user@aries.apache.org
Subject: RE: Support for
interceptors?
Hi Frederik,
As Graham says, the way to implement this is
with a namespace handler. If you create your own namespace then you ca
Hi Frederik,
As Graham says, the way to implement this is with a namespace handler. If you
create your own namespace then you can add an element (or attribute) in the
service you want to be intercepted.
The namespace handler can then do something like this:
public Metadata parse(Element elt,
I have used DOSGi successfully with Aries, and there will be a discussion of
using in Enterprise OSGi in Action (http://www.manning.com/cummins)
DOSGi is really good for exposing OSGi services as Web Services, and for
consuming Web Services as OSGi services. I would definitely recommend it. The
vice is not a String, then I don't see how I can "add a
type of java.lang.String" because such a type indication is only
available with and not .
Regards,
David
Le 25/10/2011 13:19, Timothy Ward a écrit :
's only by chance, isn't it?
Thanks again,
Regards,
David
Le 24/10/2011 15:55, Timothy Ward a écrit :
Hi,
It is allowed to use a component instance as a service property,
however the following rules ap
Hi,
This probably means that you are shutting down your JPA runtime and there is no
longer any managed persistence support (i.e. you have stopped the aries JPA
container context bundle). That's the only time this message is issued.
Regards,
Tim
> Date: Mon, 24 Oct 2011 20:17:41 +0200
> Subj
Hi,
It is allowed to use a component instance as a service property, however the
following rules apply (from 121.6.6 of the enterprise specification)
Each service can optionally be registered with service properties. The
serviceProperties is a list of
MapEntry, see on page 236. This metadata
Hi,
Your approach sounds perfectly reasonable. There is no "start" equivalent in
blueprint, just init methods. This is obviously something new and proprietary
in Spring 3.x..
We could conceivably add something like this to blueprint, but in general the
Apache Aries blueprint container is an i
Hi,
I would expect this to work, have you tried specifying index parameters for the
constructor arguments?
Also, it would be worth opening a JIRA with some failing example code attached
(unless of course you want to supply some tests and a fix :)). Blueprint gets
fairly regular attention from
Hi Gareth
We are working toward a release of blueprint right now. Unfortunately getting
ready for this release has flagged some historical errors in the versioning
policy of our pom files, so we're also having to release a number of of other
projects with fixes for this. We hope to have a blue
Hi,
Are you still seeing this problem? Have you tried debugging to see why your
Persistence Provider service might be null?
Regards,
Tim
Date: Fri, 16 Sep 2011 18:17:33 -0500
Subject: KARAF and JPA Bundle issues - Urgent
From: mattmadha...@gmail.com
To: user@aries.apache.org; us...@felix.apac
rs
to use the class loader for the bundle containing the persistence.xml?
/Bengt
2011/9/6 Timothy Ward
This sort of problem is usually caused by a JPA provider using the wrong
classloader to try and find your class. If you import the
se.digia.maia.common.auditlog.impl package into your p
Hi,
>From the original question I would say "No, there is no way for a host bundle
>to receive a notification when a fragment attaches". Fragments only attach at
>resolution time, therefore the host bundle can never see the attachment
>because it is, by definition, not resolved yet!
What you
Hi,
The error stack you are showing indicates that the blueprint for the blog
persistence bundle failed to start because there was no EntityManagerFactory
service. This could be the case for a number of reasons, for example missing
DataSources, Databases, missing JPA container bundles etc.
Ar
This sort of problem is usually caused by a JPA provider using the wrong
classloader to try and find your class. If you import the
se.digia.maia.common.auditlog.impl package into your persistence bundle *and*
OpenJPA uses the Persistence Unit classloader (rather than its own) to load it
then e
Yes,
This is a slightly unpleasant issue which affects all our proxy instances going
back to 0.1 and before. The problem we have is that we can't unwrap the proxy
on its way into the ObjectOutputStream (there's nothing we can hook into). As a
result you end up with something that either breaks
Hi,
>From the logs things seem to be operating properly, but I do have two
>questions.
Is the transaction where the data is written actually committing before the
transaction that reads it? I don't see any log for "Clearing up EntityManager
as the transaction has completed.". If not then the
Hi,
I'm happy to look at getting a new release of the Aries JPA container. There
are a couple of hoops to jump through with the build, but now that Equinox 3.7
and the OSGi 4.3 API are available it should be possible for us to get the
build into a release-able state
Regards,
Tim
Date: Tue,
; provider specific properties) which is not part of my persistence
> bundle?
> Maybe using a selfwritten
> org.apache.aries.jpa.container.ManagedPersistenceUnitInfoFactory which
> has preconfigured properties/settings for a specific persistence unit
> and merges them?
>
> Re
The answer to your EntityManager question is both yes and no :)
The managed EntityManager instances from the Aries JPA container (the blueprint
injected ones, not ones you create yourself) are safe to use concurrently as
long as each thread has a different transaction context. We also inject a
Hi,
There is another much more important reason to use getEntry, the JPA container
processes persistence bundles as they are installed to prevent any classes
being able to be loaded before the metadata can be parsed. We then immediately
create an EntityManagerFactory as the bundle resolves. If
Hi,
If this code successfully gets EclipseLink working would you consider
contributing it to EclipseLink (or Aries, or perhaps both)?
It would be great to have more JPA providers that "just work".
Regards,
Tim
> Date: Mon, 13 Jun 2011 11:31:16 +0200
I forgot to add. This support isn't just for OpenJPA it should work with any
JPA provider.
Tim
> From: timothyjw...@apache.org
> To: user@aries.apache.org
> Subject: RE: Avoiding OpenJPA Build Time Enhancement with Aries?
> Date: Tue, 14 Jun 2011 10:35:4
David is correct
Aries JPA added load-time enhancement support and Classpath scanning support
(i.e. runtime detection of entity classes) in trunk about 2 months ago. There's
nothing you need to do to switch this on other than run in a 4.3 compatible
framework.
We test on Equinox 3.7 mileston
Hi,
Some comments in line, but broadly speaking I feel your pain. I've been trying
to implement automated EclipseLink tests for a long time but can't get them to
support EE mode. I'm tempted to provide a shim bundle in Aries to make it
work...
Regards,
Tim
--
Hi Matt,
I'm afraid there is currently no support for annotation-based configuration in
aries blueprint. We are prototyping annotation configuration for blueprint, but
this doesn't currently include support for custom namespaces like transactions.
If you have anything you'd like to contribute
Hi Kent,
What version of the Aries JPA container are you using? There were a number of
timing issues around JPA datasources that were improved through the use of a
delayed lookup in the JPA container, this passes a proxy datasource to OpenJPA
and only does the real lookup when the first Databa
Hi,
This occurs because the entire Aries JPA container is as lazy as possible, we
don't create an EntityManager until the first time the service is used. If the
EntityManagerFactory hasn't been used before then OpenJPA can take a while to
create the EntityManager. All I can suggest is that you
ative change?
>
> Alasdair Nottingham
>
> On 22 Feb 2011, at 22:21, Timothy Ward wrote:
>
> >
> > Hi,
> >
> > Just a query, but I'm assuming that we can't just new up an instance of the
> > Server and inject into the static methods
Hi,
Just a query, but I'm assuming that we can't just new up an instance of the
Server and inject into the static methods as if they were instance methods on a
normal bean? I don't believe we do any checking to see whether property setters
are static or not. This seems like it would be the sim
Hi Jamie,
Unfortunately what you want to do isn't part of the JPA spec (as I'm sure
you've noticed) and so there is no nice, simple way to make this
work.
Of the four options you outline:
1) This is an unpleasant solution, and realistically you would need to name all
of the persistence units
i...@gmail.com
> To: user@aries.apache.org
>
> Hi Timothy,
>
> How can I help you to improve Aries Documentation (wiki page, docbook, ) ?
>
> Regards,
>
> Charles
>
>
> On Thu, Feb 10, 2011 at 11:08 AM, Timothy Ward wrote:
> >
> > Hi Charl
Hi Charles,
I'm glad you found the problem here :). An empty "Meta-Persistence: " (note the
trailing space) would also do in this case because META-INF/persistence.xml is
the default location.
Regards,
Tim
> Date: Wed, 9 Feb 2011 14:57:49 +0100
> Subje
Hi Charles,
The element will make use of the
javax.transaction.TransactionManager service and will commit any transactions
that it begins as soon as the method invocation on the bean completes. If you
want the transaction to be created outside the bean you should really be using
a MANDATORY
Jan 2011 00:00:54 -0800
> Subject: Re: Aries interop with Spring?
> From: halcyon1...@gmail.com
> To: user@aries.apache.org
>
> Hi Tim-
>
> On Thu, Jan 6, 2011 at 2:58 AM, Timothy Ward wrote:
> >
> > Hi David,
> >
> > From what you are describin
ere are 22 method invocations
> between the source and when it actually hits the method across a ton
> of proxies, advice, interceptors, etc, which to me seems quite
> excessive.
>
> Thanks,
> David
>
> On Wed, Jan 5, 2011 at 3:02 AM, Timothy Ward wrote:
> >
> >
Hi David,
Your xml file is pretty simple to convert to standard blueprint:
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
The one caveat is that there is no standar
94 matches
Mail list logo