[jira] [Resolved] (DELTASPIKE-531) rename ExternalResource to InjectableResource

2014-03-06 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek resolved DELTASPIKE-531. - Resolution: Fixed > rename ExternalResource to InjectableResource > -

JPA PersistenceUnit - persistence.xml not being picked up

2014-03-06 Thread Ove Ranheim
Hi, I'm trying out DeltaSpike JPA, but my persistence.xml is not being picked up. I tried to place persistene.xml under META-INF and WEB-INF/classes/META-INF/. TransactionalInterceptor is configured in beans.xml. Here are my files. war-listing: 210031 03-

Re: JPA PersistenceUnit - persistence.xml not being picked up

2014-03-06 Thread John D. Ament
Looks like your issue is more JBoss related. Is this WildFly? Can you show the output of your WAR file in your test? On Thu, Mar 6, 2014 at 1:02 PM, Ove Ranheim wrote: > Hi, > > I'm trying out DeltaSpike JPA, but my persistence.xml is not being picked up. > I tried to place persistene.xml unde

Re: JPA PersistenceUnit - persistence.xml not being picked up

2014-03-06 Thread Ove Ranheim
This is standalone with arquillian-weld-ee-embedded-1.1. The arquillian war file is listed below. On 06 Mar 2014, at 19:11, John D. Ament wrote: > Looks like your issue is more JBoss related. Is this WildFly? > > Can you show the output of your WAR file in your test? > > On Thu, Mar 6, 2014

[jira] [Resolved] (DELTASPIKE-533) Introduce a global deltaspike qualifier

2014-03-06 Thread Thomas Andraschko (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-533. -- Resolution: Fixed > Introduce a global deltaspike qualifier > -

[jira] [Resolved] (DELTASPIKE-534) Replace @Web with @DeltaSpike

2014-03-06 Thread Thomas Andraschko (JIRA)
[ https://issues.apache.org/jira/browse/DELTASPIKE-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved DELTASPIKE-534. -- Resolution: Fixed > Replace @Web with @DeltaSpike > ---

@JsfPhaseListener - Alternative name?

2014-03-06 Thread Thomas Andraschko
Hi, as we introduced @DeltaSpike now and replaced the redundant @Web with it, maybe we can discuss @JsfPhaseListener, too. We could also use @DeltaSpike in this case but @JsfPhaseListener also contains an ordinal attribute. Gerhard mentioned that the idea was to combine it in one annotation as i

Re: JPA PersistenceUnit - persistence.xml not being picked up

2014-03-06 Thread John D. Ament
Well, I mean, @PersistenceContext/@PersistenceUnit are only enabled in EJB spec. You'll need to bootstrap in an SE type env, AFAIK. On Thu, Mar 6, 2014 at 1:15 PM, Ove Ranheim wrote: > This is standalone with arquillian-weld-ee-embedded-1.1. > > The arquillian war file is listed below. > > On 06

Re: JPA PersistenceUnit - persistence.xml not being picked up

2014-03-06 Thread Ove Ranheim
Thanks John! I guess this a good start: Persistence.createEntityManagerFactory("primary"); I usually use Wildfly, so bootstrapping is not something i do very often. Sorry for the silly question. On 06 Mar 2014, at 20:14, John D. Ament wrote: > Well, I mean, @PersistenceContext/@PersistenceUni

Re: @JsfPhaseListener - Alternative name?

2014-03-06 Thread Gerhard Petracek
-1, because you would get e.g.: @DeltaSpike @DeltaSpikeOrdinal(1) public class MyPhaseListener implements PhaseListener { //... } for sure it's a matter of taste, but imo it looks strange... (+ as mentioned earlier, it isn't consistent with other parts.) regards, gerhard 2014-03-06 20:11