Re: JPA 2.2 support

2019-06-20 Thread Timothy Ward
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

Re: Jax-RS Whiteboard and OpenAPI

2019-06-19 Thread Timothy Ward
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

Re: Aries JAXRS whiteboard question

2019-06-17 Thread Timothy Ward
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

Re: Aries Async Service and Timeouts

2019-01-29 Thread Timothy Ward
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

Re: JDK 11 support

2018-10-18 Thread Timothy Ward
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,

Re: Aries Transaction Control on Karaf 4.2.1

2018-10-04 Thread Timothy Ward
Hi, Sorry for the delay. There really aren’t very many bundles that you need! As seen in

Re: Aries 2.7.0 -> JPA 2.0 or 2.1?

2018-08-24 Thread Timothy Ward
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

Re: Single Transaction across EntityManagers

2018-06-05 Thread Timothy Ward
tities 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

Re: Single Transaction across EntityManagers

2018-06-05 Thread Timothy Ward
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,

Re: Service Loader Mediator (spifly)

2018-05-21 Thread Timothy Ward
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,

Re: DS vs Blueprint

2016-09-05 Thread Timothy Ward
d.john...@mediadriver.com>> wrote: Yes 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 <timothyjw...@apache.org<mailto:timothyjw...@apache.org>> wrote: Hi Brad, > On 27 Aug 2016, at 17:45,

Re: blueprint:cm multiple bundle but same config file

2016-08-02 Thread Timothy Ward
the CompositeRegistry but one can access the SimpleRegistry in order to add one's local dependencies for Camel routes. On Wed, Jul 13, 2016 at 3:34 AM, Timothy Ward <timothyjw...@apache.org<mailto:timothyjw...@apache.org>> wrote: Hi Brad, I’ve been watching this thread for a whil

Re: Can't get MySQL non-jta connection pool with Aries-2.4.0 and EL-2.6.2 working - Looking for (more) example(s).

2016-07-25 Thread Timothy Ward
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

Re: Can't get MySQL non-jta connection pool with Aries-2.4.0 and EL-2.6.2 working - Looking for (more) example(s).

2016-07-25 Thread Timothy Ward
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

Re: blueprint:cm multiple bundle but same config file

2016-07-13 Thread Timothy Ward
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 > wrote: Guillaume, I'm still using Blueprint and have found Camel/SCR to be a pain to

Re: Aries installation requires Java 1.5?

2013-11-05 Thread Timothy Ward
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

RE: Aries JTA, JPA, and SCR

2013-07-19 Thread Timothy Ward
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.

RE: [Blueprint] how to set logging level ?

2013-07-09 Thread Timothy Ward
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

RE: BeanMetadata.getScope() returns null

2013-05-10 Thread Timothy 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

RE: Need Help: Handling multiple versions of same service

2013-01-24 Thread Timothy Ward
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

RE: Aries eclipselink.adapter

2012-10-20 Thread Timothy Ward
-properties /service What's the correct syntax? 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 that it had an expiry date

RE: Aries eclipselink.adapter

2012-10-20 Thread Timothy Ward
. On 21/10/2012 12:48 AM, Timothy Ward wrote: This was in addition to changing your datasource blueprint to: service id=xaDataSource ref=stagingXADataSource interface=javax.sql.XADataSource service

RE: ReferenceRecipe waits although service is available again

2012-07-27 Thread Timothy Ward
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 timothyjw...@apache.org 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

RE: ReferenceRecipe waits although service is available again

2012-07-20 Thread Timothy Ward
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

RE: PersistenceDescriptorParserImpl and handling namespaces in persistence.xml

2012-07-10 Thread Timothy Ward
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

RE: Aries and fluent builders

2011-12-16 Thread Timothy Ward
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: bean

RE: Aries and fluent builders

2011-12-15 Thread Timothy Ward
Hi, It's not very concise, but this should work: bean id=processEngineConfiguration1 class=org.activiti.engine.ProcessEngineConfiguration factory-method=createStandaloneInMemProcessEngineConfiguration/ bean id=processEngineConfiguration2 factory-ref=processEngineConfiguration1

RE: Aries/OpenJPA strange error - A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName?

2011-11-22 Thread Timothy Ward
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

RE: Strange OpenJPA and BP problem

2011-11-16 Thread Timothy Ward
, Nov 15, 2011 at 3:04 AM, Timothy Ward timothyjw...@apache.org 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

RE: Support for interceptors?

2011-11-14 Thread Timothy Ward
] 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 can add an element (or attribute

RE: Support for interceptors?

2011-11-11 Thread Timothy Ward
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,

RE: Exposing Services Remotely

2011-10-28 Thread Timothy Ward
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.

RE: Meaning of this message

2011-10-25 Thread Timothy Ward
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

RE: Service property assigned with a service reference

2011-10-25 Thread Timothy Ward
but it'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 apply (from

RE: Service property assigned with a service reference

2011-10-25 Thread Timothy Ward
, David Le 25/10/2011 13:19, Timothy Ward a écrit : I think that what you're doing should work fine (assuming the service is actually of type String) and this indcates a blueprint bug. If your service is actually not a String then if you add

RE: Service property assigned with a service reference

2011-10-24 Thread Timothy Ward
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 entry on page 236. This

RE: Generics And Aries Blueprint

2011-10-11 Thread Timothy Ward
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

RE: Aries Blueprint 0.4?

2011-10-10 Thread Timothy Ward
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

RE: KARAF and JPA Bundle issues - Urgent

2011-09-21 Thread Timothy Ward
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;

RE: OSGi (Blueprint) fragment and host bundle notification

2011-09-07 Thread Timothy Ward
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 can

RE: Auditor and OSGi

2011-09-07 Thread Timothy Ward
the class loader for the bundle containing the persistence.xml? /Bengt 2011/9/6 Timothy Ward timothyjw...@apache.org 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

RE: Problem with Aries JPA

2011-09-06 Thread Timothy Ward
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.

RE: Persisted record are not visible from 'outside'

2011-06-30 Thread Timothy Ward
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

RE: 0.4

2011-06-28 Thread Timothy Ward
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,

RE: Attaching jpa persistence.xml via fragments to a persistence bundle

2011-06-20 Thread Timothy Ward
unit and merges them? Regards, Marcel 2011/6/20 Timothy Ward timothyjw...@apache.org: 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

RE: Void factory method

2011-02-22 Thread Timothy Ward
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

RE: Spring Aries Tx Manager

2011-02-10 Thread Timothy Ward
Hi Charles, The tx:transaction... 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

RE: GRACE_PERIOD for bundle persistence-jpa-aries !!

2011-02-10 Thread Timothy Ward
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 Subject: