Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Fix No MBean found for Worklight project?

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'
like image 249
EL Kamel Avatar asked Jul 03 '14 10:07

EL Kamel


3 Answers

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.

like image 194
peternyc Avatar answered Oct 26 '22 11:10

peternyc


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

like image 1
EL Kamel Avatar answered Oct 26 '22 10:10

EL Kamel


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.

like image 1
samugi Avatar answered Oct 26 '22 10:10

samugi