部署 mobilefisrt 工件时数据库错误(服务器错误)
Database error (server error) while deploying mobilefisrt artifacts
我已经使用服务器配置工具在 IBM mobilefirst 服务器上部署了 IBM mobilefirst 7.1 应用程序。我的应用服务器是单节点集群的Websphere application server 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.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 工件是否需要配置?
一开始似乎是安装问题。看起来管理服务失败了,可能与数据库连接(FWLSE3010E — 上面提到的)等有关……
您可以通过登录到 WAS 管理控制台并验证数据源 (testconnection) 来进行验证,还可以查看服务 (Admin/Runtime) 是否 运行。
除非我们看到完整的日志,否则我们无法查明问题所在。
我已经使用服务器配置工具在 IBM mobilefirst 服务器上部署了 IBM mobilefirst 7.1 应用程序。我的应用服务器是单节点集群的Websphere application server 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.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 工件是否需要配置?
一开始似乎是安装问题。看起来管理服务失败了,可能与数据库连接(FWLSE3010E — 上面提到的)等有关……
您可以通过登录到 WAS 管理控制台并验证数据源 (testconnection) 来进行验证,还可以查看服务 (Admin/Runtime) 是否 运行。
除非我们看到完整的日志,否则我们无法查明问题所在。