Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
469 views

SRC 9.50 deployment failing

To detail my issue I am simply trying to deploy SRC Out of Box setup, only difference is that I am setting to just use HTTP (port 80). It is deployed alongside a Out of Box HPSM 9.50 and Webtier-9.50. I want to get this working before I am start applying updates to 9.51.

It keeps failing in deployment in Tomcat (Tomcat 8.5.15) - Here are the logs from the localhost log file.

16-Jun-2017 10:24:25.974 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'catalogLifecycleManager' defined in ServletContext resource [/WEB-INF/spring/applicationContext-service.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: [sm] Unrecoverable error: shutting down SRC application context. *Root cause*: java.lang.NumberFormatException: null; nested exception is java.lang.NumberFormatException: null
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.BeanInitializationException: [sm] Unrecoverable error: shutting down SRC application context. *Root cause*: java.lang.NumberFormatException: null; nested exception is java.lang.NumberFormatException: null
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.wireItUp(CatalogLifecycleManagerImpl.java:394)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1640)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1581)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
	... 21 more
Caused by: java.lang.NumberFormatException: null
	at java.lang.Long.parseLong(Long.java:552)
	at java.lang.Long.valueOf(Long.java:803)
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.retrieveAndLoadVersionSuccessfully(CatalogLifecycleManagerImpl.java:862)
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.loadCatalog(CatalogLifecycleManagerImpl.java:573)
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.loadCatalog(CatalogLifecycleManagerImpl.java:561)
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.initCatalog(CatalogLifecycleManagerImpl.java:191)
	at com.hp.siberia.manager.CatalogLifecycleManagerImpl.wireItUp(CatalogLifecycleManagerImpl.java:390)
	... 28 more

I have been following the Service Manager SRC_Installation_Guide for 9.50, so I am rather confused as to why it would fail by default.

Any insight would be greatly appreciated.

 

Tags (3)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.