如何解决Worklight 6.2中未启动的管理服务 [英] How to solve management service not starting up in Worklight 6.2

查看:218
本文介绍了如何解决Worklight 6.2中未启动的管理服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Linux上使用Liberty 8.5.5和DB2 10.5安装了Worklight 6.2。为WRKLGHT和WLREPORT创建了DB2数据库。已执行服务器配置工具并成功创建了Worklight Server配置(在运行Ant任务时,Console视图中没有任何错误,表在数据库中成功创建,配置在SCT中显示已部署状态)。在SCT中创建了一个运行时环境,似乎也成功了(Console视图中没有错误,表创建/更新,运行时环境显示在SCT中部署)。停止并重新启动Liberty服务器。

I have installed Worklight 6.2 on Linux, using Liberty 8.5.5 and DB2 10.5. Created the DB2 databases for WRKLGHT and WLREPORT. Have executed the Server Configuration Tool and successfully created a Worklight Server configuration (did not have any errors in the Console view when running the Ant tasks, tables were created successfully in the database, and configuration shows deployed status in the SCT). Created a runtime environment in the SCT, also seemed to succeed (no errors in Console view, tables created/updated, runtime environment shows deployed in the SCT). Stopped and restarted the Liberty server.

可以在(/ worklightconsole)点击Worklight管理员并使用我的演示用户成功登录,但是它表示没有运行时环境。当尝试访问/ worklight / console中的运行时环境时(根据我使用Worklight项目WAR在SCT中创建运行时配置的方式应该是正确的URL),我会遇到各种错误:首先服务不可用,因为初始化尚未完成。 然后重试大约一两分钟后,我得到javax.servlet.ServletException:java.lang.RuntimeException:等待管理服务在com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForInitialization(AuthenticationFilter)启动时超时.java:561)。

Can hit Worklight admin at (/worklightconsole) and log in successfully using my demo user, however it then indicates there are no runtime environments. When trying to access runtime environment at /worklight/console (which should be the correct URL given how I created the runtime config in SCT using my Worklight project WAR), I get various errors: first "Service unavailable since initialization is not yet complete." then after retrying for about a minute or two I get "javax.servlet.ServletException: java.lang.RuntimeException: Timeout while waiting for the management service to start up at com.worklight.core.auth.impl.AuthenticationFilter.isWaitingForInitialization(AuthenticationFilter.java:561)".

似乎管理服务没有成功启动。在查看messages.log之后,我看到它之前出现以下错误:FWLSE0242E:无法同步应用程序运行时信息.servlet初始化失败,servlet将拒绝服务。最常见的原因是与'worklightadmin的JMX通信失败''service。你需要在修复问题后重新启动Web应用程序。[project worklight]这会创建一个FFDC日志。

Seems the management service is not starting up successfully. Upon reviewing the messages.log I see the following error precede it: "FWLSE0242E: Failed to synchronize application runtime information. The servlet initialization failed and the servlet will deny serve. The most common reason is a failure in JMX communication with the ''worklightadmin'' service. You need to restart the web application after fixing the problem. [project worklight]" and this creates an FFDC log.

我知道这很多信息,但试图完成。我应该检查什么来修复JMX通信问题并启动管理服务?

I know this is a lot of information but trying to be complete. Anything I should check to fix the JMX communication issue and get the management service starting?

推荐答案

感谢您的回复。事实证明,Liberty(我在8.5.5.0)和我正在使用的IBM JDK(1.7_64)存在问题。交换到Oracle JRE(1.7.0_60-b19),指向Liberty使用它,问题解决了。我正在通过IBM支持人员针对此问题与Liberty团队进行修复。

Thank you for the replies back. Turns out there is an issue with Liberty (I was on 8.5.5.0) and the IBM JDK I was using (1.7_64). Swapped out to the Oracle JRE (1.7.0_60-b19), pointed Liberty to use it, and the problem was solved. I am pursuing a fix with the Liberty team through IBM Support for this issue.

这篇关于如何解决Worklight 6.2中未启动的管理服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆