
Other links
CloudPortal Business Manager 2.x
CPBM 2.1 - Portal not starting up

CPBM 2.1 - Portal not starting up
Having started the server, CPBM 2.1 is not starting up. The following log extract shows where the error starts. Any idea what is causing this?
[2013-10-24 20:02:34.244] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0005I Started bundle 'vmops.admin' version '2.1.0'.
[2013-10-24 20:02:36.533] WARN deployer-recovery org.springframework.aop.framework.Cglib2AopProxy Unable to proxy method [public final java.lang.String org.springframework.context.support.AbstractMessageSource.getMessage(java.lang.String,java.lang.Object[],java.lang.String,java.util.Locale)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
[2013-10-24 20:02:36.534] WARN deployer-recovery org.springframework.aop.framework.Cglib2AopProxy Unable to proxy method [public final java.lang.String org.springframework.context.support.AbstractMessageSource.getMessage(java.lang.String,java.lang.Object[],java.util.Locale) throws org.springframework.context.NoSuchMessageException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
[2013-10-24 20:02:36.534] WARN deployer-recovery org.springframework.aop.framework.Cglib2AopProxy Unable to proxy method [public final java.lang.String org.springframework.context.support.AbstractMessageSource.getMessage(org.springframework.context.MessageSourceResolvable,java.util.Locale) throws org.springframework.context.NoSuchMessageException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
[2013-10-24 20:02:37.038] WARN deployer-recovery org.springframework.aop.framework.Cglib2AopProxy Unable to proxy method [public final void com.vmops.event.listeners.EventListenerJmsProducer.setJmsTemplate(org.springframework.jms.core.JmsTemplate)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
[2013-10-24 20:02:37.039] WARN deployer-recovery org.springframework.aop.framework.Cglib2AopProxy Unable to proxy method [public final void com.vmops.event.listeners.EventListenerJmsProducer.setDestinationqueue(java.lang.String)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
[2013-10-24 20:02:37.562] ERROR deployer-recovery org.eclipse.virgo.kernel.core.internal.BundleStartTracker Recording application context construction failure 'org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in URL [bundleentry://139.fwk2063246672/META-INF/spring/applicationContext-scheduler.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: Communications link failure
The last packet successfully received from the server was 26,044 milliseconds ago. The last packet sent successfully to the server was 125 milliseconds ago. [See nested exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 26,044 milliseconds ago. The last packet sent successfully to the server was 125 milliseconds ago.]' for bundle 'citrix.cpbm.custom.common_2.1.0 [139]'
[2013-10-24 20:02:37.564] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0010I Stopping plan 'com.citrix.cpbm.plan' version '2.1.0'.
[2013-10-24 20:02:37.566] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0010I Stopping configuration 'cloud' version '0.0.0'.
[2013-10-24 20:02:37.573] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0011I Stopped configuration 'cloud' version '0.0.0'.
[2013-10-24 20:02:37.575] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0010I Stopping bundle 'citrix.cpbm.model' version '2.1.0'.
[2013-10-24 20:02:37.579] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0011I Stopped bundle 'citrix.cpbm.model' version '2.1.0'.
[2013-10-24 20:02:37.587] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0010I Stopping bundle 'citrix.cpbm.service' version '2.1.0'.
[2013-10-24 20:02:37.590] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0011I Stopped bundle 'citrix.cpbm.service' version '2.1.0'.
[2013-10-24 20:02:37.600] INFO start-signalling-2 org.eclipse.virgo.medic.eventlog.default DE0010I Stopping bundle 'vmops.core' version '2.1.0'.
[2013-10-24 20:02:37.681] ERROR deployer-recovery org.eclipse.virgo.medic.eventlog.default AG0000E Application context creation failure for bundle 'citrix.cpbm.custom.common' version '2.1.0'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in URL [bundleentry://139.fwk2063246672/META-INF/spring/applicationContext-scheduler.xml]: Invocation of init method failed; nested exception is org.quartz.JobPersistenceException: Couldn't retrieve trigger: Communications link failure
Previous 5 comments



Hi,
yesterday my CPBM environment (CentOS 6.5 VM on VMware Workstation) was running successfully. I configured it using cloudportal webpage.
At the end of the day I shutdown my VM and wanted to go ahead this morning but CPBM is not running any more. MySQL server is running and DB user get access. When I start the cloud-portal service, the service is running but stopping a few minutes later, the output is:


Hi Tobi, Are you able to post/attach the contents of your portal log file? Regards


Hi Tariq,
Thanks for your assistance.


Hi Tobi,
Can you try restarting the CPBM again and provide us the first exception/error that you see after restart. I am suspecting that the above stacktrace may not be the real cause.
Another thing that you may try is restarting the MySql server. Sometime some lock on some table is not released when the VM is stopped.
Thanks,
Manish
Participate
Ask, Discuss, Answer