How to Fix No MBean found for Worklight project?

2019-02-22 00:04发布

I have a problem when deploying my Worklight project on the server . It shows the following Error Message :

FWLSE3041E: No MBean found for Worklight project 'MyProject'. Possibly the Worklight runtime web application for Worklight project 'MyProject' is not running. If it is running, use JConsole to inspect the available MBeans.

and when I tried to preview my application it showed this message :

SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized:420'

7条回答
2楼-- · 2019-02-22 00:41

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

查看更多
仙女界的扛把子
3楼-- · 2019-02-22 00:47

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.

查看更多
我欲成王,谁敢阻挡
4楼-- · 2019-02-22 00:51

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.

查看更多
SAY GOODBYE
5楼-- · 2019-02-22 00:54

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

查看更多
等我变得足够好
6楼-- · 2019-02-22 00:59

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.

查看更多
何必那么认真
7楼-- · 2019-02-22 01:00

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

查看更多
登录 后发表回答