Re: SRC not working after that upgrade SM7.10 to SM9.30 (745 Views)
Reply
Frequent Advisor
Luciano80RJ
Posts: 58
Registered: ‎07-29-2010
Message 1 of 6 (869 Views)

SRC not working after that upgrade SM7.10 to SM9.30

Hi,

 

I've upgraded the SM7.10 to SM9.30 and everything was perfectly did but when I give a start in the SRC1.30 in the browser occurs this message:

------------------------------------------------

HTTP Status 404 - /src

 

type Status report

message /src

description The requested resource is not available.

 

-------------------------------------------------

 

The tomcat log there are this message:

'SRC:name=SMconfig': registering with JMX server as MBean [SRC:name=SMconfig]
09 May 2013 16:11:58,617 INFO [localhost-startStop-1] (ServiceManagerConnector.java:311) - Completed configuration initialization for Node: srcStandaloneNode1
09 May 2013 16:11:58,742 DEBUG [localhost-startStop-1] (CatalogAuthenticationProvider.java:87) - authenticating org.springframework.security.authentication.UsernamePasswordAuthenticationToken@b397d0ce: Principal: falcon; Credentials: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities
09 May 2013 16:11:58,758 DEBUG [localhost-startStop-1] (SMWebServiceTemplate.java:38) - [SM] calling com.hp.service.catalog.connector.sm.ws.CreateSvcCatOperatorRequest
09 May 2013 16:11:58,789 DEBUG [localhost-startStop-1] (WebServiceAccessor.java:110) - Opening [org.springframework.ws.transport.http.CommonsHttpConnection@104e45f] to [http://localhost:13080/SM/7/ws]
09 May 2013 16:11:59,305 INFO [localhost-startStop-1] (AuthChallengeProcessor.java:101) - basic authentication scheme selected
09 May 2013 16:11:59,305 INFO [localhost-startStop-1] (HttpMethodDirector.java:722) - Failure authenticating with BASIC 'CASM'@localhost:13080
09 May 2013 16:11:59,305 DEBUG [localhost-startStop-1] (WebServiceTemplate.java:622) - Received error for request [SaajSoapMessage {http://schemas.hp.com/SM/7}CreateSvcCatOperatorRequest]
09 May 2013 16:11:59,321 ERROR [localhost-startStop-1] (CatalogAuthenticationProvider.java:95) - org.springframework.ws.client.WebServiceTransportException: Unauthorized [401]
09 May 2013 16:11:59,321 ERROR [localhost-startStop-1] (ReloadableObjectsManagerImpl.java:665) - Unable to authenticate and therefore load the catalog. Username used for authentication is - org.springframework.security.authentication.UsernamePasswordAuthenticationToken@b397d0ce: Principal: falcon; Credentials: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities. Please check your credential again.
09 May 2013 16:11:59,321 INFO [localhost-startStop-1] (AbstractSessionFactoryBean.java:246) - Closing Hibernate SessionFactory
09 May 2013 16:11:59,321 INFO [localhost-startStop-1] (SessionFactoryImpl.java:769) - closing
09 May 2013 16:11:59,367 INFO [localhost-startStop-1] (ExecutorConfigurationSupport.java:150) - Shutting down ExecutorService 'tasksSchedulerPool'
09 May 2013 16:11:59,367 ERROR [localhost-startStop-1] (ContextLoader.java:220) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean#0' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot create inner bean 'org.springframework.scheduling.concurrent.ScheduledExecutorTask#4dea5d' of type [org.springframework.scheduling.concurrent.ScheduledExecutorTask] while setting bean property 'scheduledExecutorTasks' with key [3]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.concurrent.ScheduledExecutorTask#4dea5d' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot create inner bean 'org.springframework.scheduling.support.MethodInvokingRunnable#1e73514' of type [org.springframework.scheduling.support.MethodInvokingRunnable] while setting bean property 'runnable'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.MethodInvokingRunnable#1e73514' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot resolve reference to bean 'smReloadableObjectsManager' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smReloadableObjectsManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Unrecoverable error: shutting down SRC application context; nested exception is java.lang.RuntimeException: Unable to authenticate
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:355)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.concurrent.ScheduledExecutorTask#4dea5d' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot create inner bean 'org.springframework.scheduling.support.MethodInvokingRunnable#1e73514' of type [org.springframework.scheduling.support.MethodInvokingRunnable] while setting bean property 'runnable'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.MethodInvokingRunnable#1e73514' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot resolve reference to bean 'smReloadableObjectsManager' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smReloadableObjectsManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Unrecoverable error: shutting down SRC application context; nested exception is java.lang.RuntimeException: Unable to authenticate
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
... 27 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.support.MethodInvokingRunnable#1e73514' defined in ServletContext resource [/WEB-INF/spring/applicationContext-task.xml]: Cannot resolve reference to bean 'smReloadableObjectsManager' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smReloadableObjectsManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Unrecoverable error: shutting down SRC application context; nested exception is java.lang.RuntimeException: Unable to authenticate
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
... 33 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smReloadableObjectsManager': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Unrecoverable error: shutting down SRC application context; nested exception is java.lang.RuntimeException: Unable to authenticate
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1405)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 39 more
Caused by: org.springframework.beans.factory.BeanInitializationException: Unrecoverable error: shutting down SRC application context; nested exception is java.lang.RuntimeException: Unable to authenticate
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.wireItUp(ReloadableObjectsManagerImpl.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
... 48 more
Caused by: java.lang.RuntimeException: Unable to authenticate
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.authenticate(ReloadableObjectsManagerImpl.java:668)
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.loadCatalog(ReloadableObjectsManagerImpl.java:243)
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.initCatalog(ReloadableObjectsManagerImpl.java:211)
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.wireItUp(ReloadableObjectsManagerImpl.java:168)
... 55 more
Caused by: org.springframework.security.authentication.AuthenticationServiceException: Authentication failed
at com.hp.service.catalog.server.security.CatalogAuthenticationProvider.retrieveUser(CatalogAuthenticationProvider.java:96)
at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:124)
at org.springframework.security.authentication.ProviderManager.doAuthentication(ProviderManager.java:130)
at org.springframework.security.authentication.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:48)
at com.hp.service.catalog.server.proxy.ReloadableObjectsManagerImpl.authenticate(ReloadableObjectsManagerImpl.java:657)
... 58 more
Caused by: org.springframework.ws.client.WebServiceTransportException: Unauthorized [401]
at org.springframework.ws.client.core.WebServiceTemplate.handleError(WebServiceTemplate.java:624)
at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:548)
at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:499)
at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:348)
at com.hp.service.catalog.connector.sm.SMWebServiceTemplate.marshalSendAndReceive(SMWebServiceTemplate.java:44)
at com.hp.service.catalog.connector.sm.ServiceManagerConnector.authenticate(ServiceManagerConnector.java:932)
at com.hp.service.catalog.server.security.CatalogAuthenticationProvider.retrieveUser(CatalogAuthenticationProvider.java:88)
... 62 more

 

There is someone that resolved this issue?

 

Thanks

 

Luciano

 

 

Esteemed Contributor
Leon_Van_Dongen
Posts: 278
Registered: ‎09-30-2008
Message 2 of 6 (794 Views)

Re: SRC not working after that upgrade SM7.10 to SM9.30

I've seen this message pop up a bit.  There's a few posts on these forums about it.  Are you connecting the SRC to the load balancer port? 

Frequent Advisor
Luciano80RJ
Posts: 58
Registered: ‎07-29-2010
Message 3 of 6 (778 Views)

Re: SRC not working after that upgrade SM7.10 to SM9.30

Hi,

 

No, there aren't any loadbalance, simply after upgrade the SRC not working =(

 

Thanks

 

Luciano

Honored Contributor
samg_1
Posts: 292
Registered: ‎09-24-2007
Message 4 of 6 (771 Views)

Re: SRC not working after that upgrade SM7.10 to SM9.30

Log shows authentication failed.

 

I would check few things,

 

1) Server and port settings are correct

2) User name and password is correct and you are able to login to SM client using those credentials

3) SSL is turned-off on that port and if turned on then appropriate settings are made in SRC to connect securely

4) Port is not firewalled from the SRC server.

Regards,
Shishir Gupta
Regular Advisor
ulto1
Posts: 140
Registered: ‎10-11-2012
Message 5 of 6 (760 Views)

Re: SRC not working after that upgrade SM7.10 to SM9.30

I am having the same problem. However I am not migrating from 7.10 to 9.30. I just installed it. We want to test this module... but we can't.
By the way we are using LoadBalancer, at first we have put the port of loadbalancing, but then changed it...& still it didn't work.
Frequent Advisor
Luciano80RJ
Posts: 58
Registered: ‎07-29-2010
Message 6 of 6 (745 Views)

Re: SRC not working after that upgrade SM7.10 to SM9.30

1) Server and port settings are correct
OK
2) User name and password is correct and you are able to login to SM client using those credentials
OK
3) SSL is turned-off on that port and if turned on then appropriate settings are made in SRC to connect securely
OK
4) Port is not firewalled from the SRC server.
OK

I did a test, when I turn on the SM930 database default, the SRC working normally, I've did it only for a test, but when I return for other database the problem return too.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.