部署mobilefisrt工件时出现数据库错误(服务器错误)

时间:2016-10-21 09:06:16

标签: ibm-mobilefirst websphere-8 mobilefirst-server

我已使用服务器配置工具在IBM mobilefirst服务器上部署了IBM mobilefirst 7.1应用程序。我的应用程序服务器是具有单个节点集群的Websphere应用程序服务器8.0(网络部署)。

当我尝试在Mobilefirst控制台上部署应用程序时,Ii给了我错误:

FWLSE3000E:检测到服务器错误 FWLSE3010E:检测到数据库错误。

我在同一台机器上使用localhost访问mobilefirst控制台。

我的服务器日志:

ServiceProxy  E   Received status 500 for POST https://localhost:9443/wladmin/management-apis/1.0/runtimes/MYMobile71/applications?async=true
                                 java.io.IOException: Server returned HTTP response code: 500 for URL: https://localhost:9443/wladmin/management-apis/1.0/runtimes/MYMobile71/applications?async=true
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1536)
    at java.security.AccessController.doPrivileged(AccessController.java:453)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1530)

Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://localhost:9443/wladmin/management-apis/1.0/runtimes/MYMobile71/applications?async=true
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:390)
    at com.ibm.net.ssl.www2.protocol.https.b.getResponseCode(b.java:51)
    at com.ibm.worklight.management.ui.servlet.ServiceProxy.service(ServiceProxy.java:164)
    ... 30 more

ServiceProxy  E   Exception Server returned HTTP response code: 500 for URL: https://localhost:9443/wladmin/management-apis/1.0/runtimes/MYMobile71/applications?async=true while redirecting request to https://localhost:9443/wladmin/management-apis/1.0/runtimes/MYMobile71/applications?async=true

项目wlapp和适配器部署都给出了相同的错误。 是否需要配置mobilefirst工件?

1 个答案:

答案 0 :(得分:1)

一开始它似乎是一个安装问题。看起来管理服务失败,可能与数据库连接(FWLSE3010E - 上面提到)等有关...

您可以通过登录WAS管理控制台验证相同内容并验证数据源(testconnection),还可以查看服务(管理员/运行时)是否正在运行。

除非我们看到完整的日志,否则我们无法查明问题。