[JBoss jBPM] - 3.2 scheduler in ear
by brittm
I'm feeling a bit stupid here. I'm running the 3.2 ear out of jbpm-jpdl-suite-3.2.GA under the example server, but the scheduler isn't running. And well, I don't know how to make it run.
Yes, the example server comes with the WAR configured to run independently--and the servlet starts the scheduler properly, but the EAR, naturally, doesn't use that particular WAR or the servlet, and doesn't process timers.
So, somebody please tell me that I accidentally deleted something or didn't configure something. If it really isn't working in the release, I'll create a JIRA issue.
Thanks,
Britt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034732#4034732
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034732
19 years
[JBoss Seam] - Re: ResourceServlet with injection
by tfvaida
Oops - nevermind - I figured out how to get around this:
First - you cannot inject anything other than the logger, PeristenceManager and such throw errors.
You will have the application context which as the example code shows can be grabbed from the static Contexts.getApplicationContext() function.
To get any other Seam objects you must go through a component - and it must be through the 'local' interface EJB style ie:
DocumentManager docManager = (DocumentManager) Component.getInstance("documentManager");
|
Where in this case the beans are a stateful session bean and the local interface like this:
@Name("documentManager")
| @Stateful(...)
| ...
| class DocumentManagerBean implements DocumentManager {
| ...
|
|
and
@Local
| interface DocumentManager {
| ...
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034720#4034720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034720
19 years