Ragu
Ragu

Reputation: 412

IBM MobileFirst Platform 7.0 Operation Console - No runtime environment deployed in this server

My new server configuration,

Installed everything. Operation Console loaded fine. Deployed the Project WAR file builded using the studio and deployed using the configuration tool. Restarted the Application server. Tried twice with different project war file.

The operation console always shows "No runtime environment deployed in this server".

Server.xml Tomcat Log

Upvotes: 0

Views: 663

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

Have you looked at the log...?

Several things from the log:

  1. Unable to open the database:

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.

Verify your database name, username, password, URLs, etc.

  1. Have you set-up the below, per the instruction in the warning...?

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. Your server is out of memory.

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

Follow possible solutions: http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/

Upvotes: 1

Related Questions