IBM MobileFirst Platform 7.0 Operation Console - 此服务器中未部署运行时环境
IBM MobileFirst Platform 7.0 Operation Console - No runtime environment deployed in this server
我的新服务器配置,
- Windows 服务器 2012 R2 64 位
- Apache Tomcat 32 位
- MySQL 社区服务器 5.6 32 位
- JDK 7u76 32 位
- JRE 7u76 32 位
- IBM 安装管理器 1.8.1 32 位
- IBM Mobile First Platform 消费者版 7.0
- IBM Mobile First Studio 7.0(来自 Passport 优势)
全部安装完毕。操作控制台加载正常。部署了使用工作室构建并使用配置工具部署的项目 WAR 文件。重新启动应用程序服务器。使用不同的项目 war 文件尝试了两次。
操作台一直显示"No runtime environment deployed in this server"。
你看过日志了吗...?
日志中的几件事:
- 无法打开数据库:
WARNING: Exception encountered during context initialization -
cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'registrationServiceFactory' defined in
ServletContext resource [/WEB-INF/spring-management-service.xml]:
Invocation of init method failed; nested exception is
java.lang.RuntimeException: Unable to open data base.
验证您的数据库名称、用户名、密码、URL 等
- 您是否按照警告中的说明设置了以下...?
SEVERE: The JVM is not properly configured to support JMX over RMI. If
the Tomcat instance is not running behind a firewall, the JVM property
com.sun.management.jmxremote.port must be defined (for example by
augmenting the CATALINA_OPTS variable in the setenv.bat script).
Otherwise, if the Tomcat instance is running behind a firewall, you
must define the "ibm.worklight.admin.rmi.registryPort" and
"ibm.worklight.admin.rmi.serverPort" JNDI properties to the values
reflecting the port numbers used to configure the JMX Remote Lifecycle
Listener.
- 您的服务器内存不足。
WARNING: Exception encountered during context initialization -
cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dataAccessService' defined in URL
[jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/Worklight/worklight/worklight-jee-library.jar!/conf/integration.xml]:
Cannot resolve reference to bean 'adapterManager' while setting bean
property 'adapterManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'adapterManager' defined in URL
[jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/Worklight/worklight/worklight-jee-library.jar!/conf/integration.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[com.worklight.integration.services.impl.AdapterManagerImpl]:
Constructor threw exception; nested exception is
java.lang.OutOfMemoryError: PermGen space
遵循可能的解决方案:http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/
我的新服务器配置,
- Windows 服务器 2012 R2 64 位
- Apache Tomcat 32 位
- MySQL 社区服务器 5.6 32 位
- JDK 7u76 32 位
- JRE 7u76 32 位
- IBM 安装管理器 1.8.1 32 位
- IBM Mobile First Platform 消费者版 7.0
- IBM Mobile First Studio 7.0(来自 Passport 优势)
全部安装完毕。操作控制台加载正常。部署了使用工作室构建并使用配置工具部署的项目 WAR 文件。重新启动应用程序服务器。使用不同的项目 war 文件尝试了两次。
操作台一直显示"No runtime environment deployed in this server"。
你看过日志了吗...?
日志中的几件事:
- 无法打开数据库:
WARNING: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registrationServiceFactory' defined in ServletContext resource [/WEB-INF/spring-management-service.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Unable to open data base.
验证您的数据库名称、用户名、密码、URL 等
- 您是否按照警告中的说明设置了以下...?
SEVERE: The JVM is not properly configured to support JMX over RMI. If the Tomcat instance is not running behind a firewall, the JVM property com.sun.management.jmxremote.port must be defined (for example by augmenting the CATALINA_OPTS variable in the setenv.bat script). Otherwise, if the Tomcat instance is running behind a firewall, you must define the "ibm.worklight.admin.rmi.registryPort" and "ibm.worklight.admin.rmi.serverPort" JNDI properties to the values reflecting the port numbers used to configure the JMX Remote Lifecycle Listener.
- 您的服务器内存不足。
WARNING: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataAccessService' defined in URL [jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/Worklight/worklight/worklight-jee-library.jar!/conf/integration.xml]: Cannot resolve reference to bean 'adapterManager' while setting bean property 'adapterManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adapterManager' defined in URL [jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/Worklight/worklight/worklight-jee-library.jar!/conf/integration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.worklight.integration.services.impl.AdapterManagerImpl]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
遵循可能的解决方案:http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/