Ah,
maybe a servletcontextlistener(?).
I'll check it out.
Thanks!
br hw
--
View this message in context:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/IllegalStateException-1-0-2-1-0-3-tp4659216p4659296.html
Sent from the Apache DeltaSpike Incubator Discussions mailing
You can alternatively use a "startup event" to create the timer.
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2014-10-28 22:18 GMT+01:00 hwaastad :
> Hi,
> just wanted to let you know I found out whats causing this part
Hi,
just wanted to let you know I found out whats causing this particular issue.
I had a @startup @singleton creating a intervaltimer in my war (part of ear)
which had a little too short initialduration, so it was firering during
container startup.
increasing the initial delay made the error messa
Hi,
I found out that I have issues with JMS aswell using repositories and CM
JTA.
https://github.com/hwaastad/DeltaDataTest.git
entitymanager obviously fails.
There is a test, JmsTest which just pushes a message to the queue and the
jmslistener uses a repository to write the object.
repository
Tried now to inject enittymanager and that works fine.
jta em.
br hw
--
View this message in context:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/IllegalStateException-1-0-2-1-0-3-tp4659216p4659249.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list
Hmm. Could be related to the way PartialBeans handle concrete method calls.
Those calls are not routed through the Repository extension code - maybe we
miss some initialization when calling entityManager(). The EM should be
found in a ThreadLocal.
Is injecting the EM in the repository and then usi
I really try to reproduce this:-|
anyway, did a try-catch around the createnamedquery:
Caused by: org.apache.deltaspike.data.api.QueryInvocationException: Failed
calling Repository:
[Repository=org.waastad.repository.ZoneLocaleTextRepository,entity=org.waastad.entity.TZoneLocaleText,method=entity
Missing transaction?
Le 26 oct. 2014 14:06, "Thomas Hug" a écrit :
> Sounds strange. If you get an Arquillian test project up on e.g. GitHub
> that would certainly help a lot.
>
> On Sun, Oct 26, 2014 at 1:53 PM, hwaastad wrote:
>
> > I think I finally figured it out.
> >
> > somewhere in my rep
Sounds strange. If you get an Arquillian test project up on e.g. GitHub
that would certainly help a lot.
On Sun, Oct 26, 2014 at 1:53 PM, hwaastad wrote:
> I think I finally figured it out.
>
> somewhere in my repositories I did a lookup like this:
>
> @repository
> public abstract extends abs
I think I finally figured it out.
somewhere in my repositories I did a lookup like this:
@repository
public abstract extends abstactentityrepository<>
public function(){
Query query = this.entityManager().createNamedQuery()
..
..
}
this one fails (silently)
EL Info]: 2014-10-26 13:48:17.
OK, another step forward.
I belive it might be caused by ear packaging.
My ear will have ds libs in /lib (not core-impl though)
I'm using tomee jars plugin so core-api/core-impl will also bee in web-app.
If I make make ear with "traditional" skinny wars it's with all jars is
ear/lib it's ok.
Now
I've made som progress.
It might be the result of a timerservice.
I'ts implemented as
@singleton
@startup
.
.
@Resource
private TimerService timerService;
@Inject @RemoteEJB thisEjb;
I'm producing remote ejbs, using ejb-refs in web.xml.
I will do some more testing.
Right now everything goes hay
Could it be linked to another ServletContextListener?
Le 25 oct. 2014 16:36, "hwaastad" a écrit :
> In my quest now to find this issue, i've noticed that in my project having
> this issue this is found in logs:
>
> org.apache.deltaspike.jsf.impl.config.view.ViewConfigPathValidator
> contextIniti
In my quest now to find this issue, i've noticed that in my project having
this issue this is found in logs:
org.apache.deltaspike.jsf.impl.config.view.ViewConfigPathValidator
contextInitialized
and then the error.
In my other project which I'm trying to reproduce the issue, I cannot see
this me
OK,
I'll try to reproduce my production code in a demo project.
br hw
--
View this message in context:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/IllegalStateException-1-0-2-1-0-3-tp4659216p4659218.html
Sent from the Apache DeltaSpike Incubator Discussions mailing lis
hi,
that part wasn't changed in v1.0.3.
-> please provide a link to a demo-app which illustrates the issue.
regards,
gerhard
2014-10-25 13:01 GMT+02:00 hwaastad :
> Hi,
> I have a project which fails when upgrading ds from 1.0.2 - > 1.0.3
>
> Does anyone have a clue why?
>
> primefaces 5.1.1
Hi,
I have a project which fails when upgrading ds from 1.0.2 - > 1.0.3
Does anyone have a clue why?
primefaces 5.1.1
tomee 1.7.1
br hw
java.lang.IllegalStateException: Could not find beans for Type=class
org.apache.deltaspike.jsf.api.config.JsfModuleConfig and qualifiers:[]
org.apache.deltasp
17 matches
Mail list logo