File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Could not initialize JBossWorkManagerTaskExecutor because JBoss API is not available: java.lang.refl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Could not initialize JBossWorkManagerTaskExecutor because JBoss API is not available: java.lang.refl" Watch "Could not initialize JBossWorkManagerTaskExecutor because JBoss API is not available: java.lang.refl" New topic
Author

Could not initialize JBossWorkManagerTaskExecutor because JBoss API is not available: java.lang.refl

Chandrasekhar Aadhanapattu
Greenhorn

Joined: Feb 29, 2012
Posts: 16
I have a requirement to configure JBoss WorkManager in my application. Earlier the configuration was as follows:


The clas "WorkManagerTaskExecutor" is intended for WebSphere and WebLogc. But we are migrating our application from WebSphere to JBOss. So I have the following configuration.

web.xml
------------


jboss-web.xml
--------------------


applicationContext.xml
-------------------------------


Exception Log:
-----------------

Please help me regarding this to fix where I am struggling.

Thanks
Chandrasekhar Aadhanapattu
Greenhorn

Joined: Feb 29, 2012
Posts: 16

Don't we have anybody to help me?
Chandrasekhar Aadhanapattu
Greenhorn

Joined: Feb 29, 2012
Posts: 16
I am answering my question myself which may be helpful for somebody.

Removed configuration in web.xml and jboss.web.xml for this JBoss Work Manager.

Have the following configuration in applicationContext.xml



Hope it will help somebody.

Thanks, Chaandrasekhar Aadhanapattu
JP Estrada
Ranch Hand

Joined: Mar 21, 2006
Posts: 48
Wow. This did help me. Thanks a lot Chandrasekhar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not initialize JBossWorkManagerTaskExecutor because JBoss API is not available: java.lang.refl