How to Fix No MBean found for Worklight project?

℡╲_俬逩灬. 提交于 2019-12-01 16:39:30

I had the same issue using Worklight 6.2 CLI, but recreating the project did not work.

One issue that I had was that worklight did not build a .war-file properly, so I copied the .war-file from a backup.

Edit: This happens regularly in our project now, and we have no idea why. We fix it by invoking any procedure, which makes it work until you restart the server. Worklight must be building something when invoking a procedure that it does not do when building.

I Solved The problem by creating a new Worklight Project and copied all my files , it works just fine :) I used Worklight 6.1 instead of 6.2

I solved this by fixing a recently created security test in

server/conf/authenticationConfig.xml

The problem was I mispelled the Realm name I previously defined.

I solved this problem by deleting the application from the worklight server and rebuild it.

Delete WorklightServerConfig folder in workspace and rebuild your application.

I was able to fix this in MobileFirst 7.0 (Fka Worklight) by opening the Servers view, Window -> Show View -> Servers. Then expanding the MobileFirst Development Server and right click on the project in question, chose delete.

Once you do that go back to the applications' directory in the "apps" directory and right click -> Run As -> Run On MobileFirst Development Server

This should rebuild and deploy the project on the server.

I solved the problem by using ibm jdk not open jdk. My solution is to make sure the env parameters are correct

  • export JAVA_HOME = $your_ibm_jdk
  • export PATH + $your_ibm_jdk/bin:$PATH

run java -version to make sure the setting work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!