IBM MobileFirst 6.3 :Failed to obtain JMX connection to access an MBean - ibm-mobilefirst

When I tried to deploy my projects running on IBM MobileFirst 6.3 using JDK1.7 I am getting the following error in MobileFirst Server console in Eclipse kepler SR2:
[ERROR ] Failed to obtain JMX connection to access an MBean. There
might be a JMX configuration error: Connection refused: connect
[ATTENTION] No running mxbeans found
and also I get this error message shown in the MobileFirst console:
FWLSE3030E: The runtime "myproject" does not exist in the Worklight
administration database. The database may be corrupted.
Everything was just working fine till this error appears with all my projects .
I tried to create a new project but I get the same error each time.
I even tried to delete the MobileFirst development server and add it again but nothing is changed.
Full log:
Application Error SRVE0777E: Exception émise par la classe
d'application
'com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForSynchronization:607'
javax.servlet.ServletException: java.lang.RuntimeException: Timeout
while waiting for the management service to start up.120 secs.
at
com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForSynchronization(AuthenticationFilter.java:607)
at
com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:144)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]
Caused by: java.lang.RuntimeException: Timeout while waiting for the
management service to start up.120 secs.
at
com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:121)
at java.lang.Thread.run(Thread.java:745)
these is another error that appears in the eclipse console when i tried to run it on the Mobilefirst developpement server
[ERROR ] FWLSE3000E: A server error was detected.
FWLSE3012E: JMX connection error. Reason: "FWLSE3012E: JMX connection
error. Reason: "Connection refused: connect". Check the application
server logs for details.". Check the application server logs for
details.
[ERROR ] FWLSE0242E: Failed to synchronize application runtime
information. The servlet initialization failed and the servlet will
deny service due to a failure to communicate with the worklightadmin
service.
Common reasons are that the worklightadmin service is not started
correctly or that the ibm.worklight.admin.environmentid property has
not the same value for the worklightadmin service and the runtime.
[project myproject] Timeout while waiting for the management service
to start up.120 secs.
here is a the error log :
Application Error
SRVE0777E: Exception émise par la classe d'application 'com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForSynchronization:607'
javax.servlet.ServletException: java.lang.RuntimeException: Timeout while waiting for the management service to start up.120 secs.
at com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForSynchronization(AuthenticationFilter.java:607)
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:144)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]
Caused by: java.lang.RuntimeException: Timeout while waiting for the management service to start up.120 secs.
at com.worklight.core.init.WorklightServletInitializer$1.run(WorklightServletInitializer.java:121)
at java.lang.Thread.run(Thread.java:745)
these is another error that appears in the eclipse console when i tried to run it on the Mobilefirst developpement server
[ERROR ] FWLSE3000E: A server error was detected.
FWLSE3012E: JMX connection error. Reason: "FWLSE3012E: JMX connection error. Reason: "Connection refused: connect". Check the application server logs for details.". Check the application server logs for details.
[ERROR ] FWLSE0242E: Failed to synchronize application runtime information. The servlet initialization failed and the servlet will deny service due to a failure to communicate with the worklightadmin service.
Common reasons are that the worklightadmin service is not started correctly or that the ibm.worklight.admin.environmentid property has not the same value for the worklightadmin service and the runtime. [project myproject]
Timeout while waiting for the management service to start up.120 secs.

See this tech note: The Worklight Development Server times out.
Steps:
Open the Servers view.
Double-click the Worklight Development Server to open the Overview pane.
Expand the Timeouts section.
Increase the value in the Start (in seconds) field. The value that can be appropriate for your case depends on your startup environment. Consider starting with a value of 180 seconds (3 minutes).

Related

Exception when connect to the Oracle Weblogic Cloud 12c server in the OEPE

get the error message when connect to the weblogic cloud 12c from the OEPE Photon, when hit the test connection button, receive error message:
Connection failed
Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
t3://168.138.9.226:7001: Destination 168.138.9.226, 7001 unreachable.; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination.; nested exception is:
java.rmi.ConnectException: No available router to destination.
able to connect to the weblogic instance admin console from the browser: https://168.138.9.226:7002/console
JDK 1.8_211
OEPE Photon downloaded from OTN
weblogic instance created from the OCI Stack

How do I fix an "ERROR_PROXY_GATEWAY" error while deploying with Azure App Service deployment in combination with -useCHECKSUM

I have setup a self hosted release agent for releasing my software to an Isolated App Service. If I deploy this using the Azure App Service deployment task (V4), this works just fine. I want to use the -useCHECKSUM option but this breaks the release. I get an error stating: "Error: The remote server returned an error: (502) Bad Gateway."
I have tried google-ing for the error but I could not find any relation between the parameter and the Error. I suspect the -useCHECKSUM is using a different route to deploy the Application but I cannot find out what it is using.
More Information: Could not connect to the remote computer ("xxxxxxx") using the specified process ("Web Management Service"). This can happen if a proxy server is interrupting communication with the destination server. Disable the proxy server and try again. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROXY_GATEWAY.
Error: The remote server returned an error: (502) Bad Gateway.
Error count: 1.
2019-07-31T08:38:16.5670711Z ##[debug]task result: Failed
2019-07-31T08:38:16.5680985Z ##[error]Error: Error Code: ERROR_PROXY_GATEWAY

WinHttpException: A connection with the server could not be established

I have asp.net core application with identity server... when i try to run getting below error message.
WinHttpException: A connection with the server could not be established
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
HttpRequestException: An error occurred while sending the request.
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
IOException: IDX10804: Unable to retrieve document from: 'http://localhost:5000/.well-known/openid-configuration'.
Microsoft.IdentityModel.Protocols.HttpDocumentRetriever+d__8.MoveNext()
InvalidOperationException: IDX10803: Unable to obtain configuration from: 'http://localhost:5000/.well-known/openid-configuration'.
Microsoft.IdentityModel.Protocols.ConfigurationManager+d__24.MoveNext()
I have to run the Identity server application along with web application to connect with Identity server project.
As I'm not running IDP i got connection establish error :
"A connection with the server could not be established"

IBM Worklight 6.2: JMX configuration error. Unable to obtain MBeans Reason: "Unrecognized SSL message, plaintext connection

I have IBM Worklight 6.2 development environment with the following setup.
Oracle Java 1.7/ Eclipse 4.3/ IBM Worklight 6.2 Developer Edition
A sample Hybrid project had been created and deployed in the Worklight development server and app works fine in the Mobile Browser Simulator.
I am getting the following error in Worklight Server console in Eclipse:
Failed to deploy the application to Worklight server: : JMX configuration error. Unable to obtain MBeans.
Reason: "FWLSE3012E: JMX configuration error. Unable to obtain MBeans. Reason: "Unrecognized SSL message, plaintext connection?".".
According to this question, the error message means that a JMX connection over HTTPS is attempted, when in fact the server speaks the HTTP protocol on that port.
Review the settings that determine the protocol and port used for JMX. See the set of JNDI properties for Worklight administration and the set of JNDI properties for Worklight projects, and check their values.

Application error when deploying to Worklight Server

I'm using Worklight Studio 6.2, WebSphere Application Server 8.5 Liberty Profile and Worklight Server. Using IBM DB2, and a remote server where i've installed all this stuff.
When i deploy an app to the server that's what i get.
Application Error
SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized:422'
javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.ClassNotFoundException: Class org.hsqldb.jdbcDriver not found in Worklight platform or project /app1
at com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:422)
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:127)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]
Dunno what could be, hope you can help me :S
Thanks
The error message "Class org.hsqldb.jdbcDriver not found in Worklight platform or project /app1" effectively means that there is a problem with the data source definition, for the data source with JNDI name "app1/jdbc/WorklightDS" or "app1/jdbc/WorklightReportsDS". See the Worklight documentation for how to define these data sources.