AdamBien / connectorz

Useful JCA 1.6 Connectors. As Simple As Possible.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WorkExecutorFactory not able to inject

chandrasekhar4u opened this issue · comments

Hi Adam,

I am new to this concept, and using WorkExecutorFactory for threads.
and I try to run this project in eclipse, when I click on "Execute 5 blocking tasks", I am getting NPE from executorFactory instance.

@Resource(name="jca/ExampleDS")
WorkExecutorFactory executorFactory;

what do you mean by "jca/ExampleDS", should I need to configure any JNDI for threads, how it need to be done.(any examples available?)

http://stackoverflow.com/q/20698084/1213738

could you please let me know if I am missing anything.

I am able to deploy JCA module(RAR) in my server, when I try to execute client it's getting same exception (java.lang.NullPointerException at WorkExecutorFactory instance of ThreadsResource class) , could you please explain the way to deploy and run work-manager in connectorz using JBoss EAP 6.1