gpt4 book ai didi

tomcat - IBM MobileFirst Platform 7.0 Operation Console - 此服务器中未部署运行时环境

转载 作者:行者123 更新时间:2023-11-28 22:55:03 24 4
gpt4 key购买 nike

我的新服务器配置,

  • Windows Server 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 advantage)

安装一切。操作控制台加载正常。部署了使用studio构建并使用配置工具部署的Project WAR文件。重新启动应用程序服务器。使用不同的项目 war 文件尝试了两次。

操作台一直显示“此服务器未部署运行环境”。

Server.xml Tomcat Log

最佳答案

你看过日志了吗...?

日志中的几件事:

  1. 无法打开数据库:

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 等

  1. 您是否按照警告中的说明设置了以下...?

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.

  1. 您的服务器内存不足。

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/

关于tomcat - IBM MobileFirst Platform 7.0 Operation Console - 此服务器中未部署运行时环境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29605434/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com