Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chandrasekhar Aadhanapattu
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Don't we have anybody to help me?
 
Chandrasekhar Aadhanapattu
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow. This did help me. Thanks a lot Chandrasekhar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic