Community
 
 
 

CloudPortal Business Manager 2.x

324 followers
 
Avatar
Pankaj Paliwal

CPSM service after upgrade

Avatar

CPSM service after upgrade

Hello,

 

I have just finnishing the upgraded for CPBM 2.1 to 2.2. Before the upgrade I had the pre-version of CPSM connector enabled. After the upgrade I can still see the old CPMS connector enabled, not the new one? CPBMUI shows the version as 0.0.9 which is the old one? 

 

Any indeas how can I make the new CPSM connector available?

 

Cheers,

 

-Mika


Mika Övermark MEMBERS
5 comments
0

Please sign in to leave a comment.

 
 

Previous 5 comments

Avatar
Pankaj Paliwal
Avatar

CPSM service after upgrade

Hi Mika,

 

Can you check the version of the CPSM connector jar in the "/usr/share/vts3/connectors/" directory?

And also check the version of "com.citrix.cpsm" artifact in file "/usr/share/vts3/connectors/com.citrix.cpbm.connector.plan".

 

For CPBM 2.2.0 you should see version 1.0.1 for com.citrix.cpsm.

 

Thanks,

Manish


Manish Agarwal CITRIX EMPLOYEES
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hello Manish,

 

the connector version is correct. File names are  com.citrix.cpsm-1.0.0.jar and com.citrix.cpsm.framgent-1.0.1.jar. Also the com.citrix.cpbm.connetor.plan config file includes these both files.

 

Any other things to check?

 

Thanks

 

-Mika


Mika Övermark MEMBERS
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hi Mika,

 

If you see right jars then it could be some caching problem. Can you try deleting all of the content under "/usr/share/vts3/work/" directory and restart the CPBM server.

And once CPBM is restarted, access it from browser after clearing the browser cache.

 

Thanks,

Manish


Manish Agarwal CITRIX EMPLOYEES
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hello Manish,

 

Thanks for your response. I tried to clear out the work directory content and also browser cache. It did not help on the issue. When looking on cpbm-server.log I noticed this:

 

[2014-03-26 07:04:09.138] ERROR workerBootStrapThread        c.c.c.platform.admin.service.impl.ConnectorManagementServiceImpl  Update Service Failed..hostURL=Service Configuration Property: cannot be required field 
[2014-03-26 07:04:09.403] ERROR workerBootStrapThread        com.citrix.cpbm.platform.bootstrap.service.impl.BootstrapThread   Error validating bundle service xml for bundle:com.citrix.cpsm_1.0.1 ERROR:ConnectorManagementServiceException [getErrorMessage()=Update Service Failed, getException()=java.lang.IllegalArgumentException: hostURL=Service Configuration Property: cannot be required field
at org.springframework.util.Assert.isTrue(Assert.java:65)
at com.citrix.cpbm.platform.admin.service.impl.ConnectorManagementServiceImpl.checkAndUpdateServiceConfigurationMetadata(ConnectorManagementServiceImpl.java:2624)
at com.citrix.cpbm.platform.admin.service.impl.ConnectorManagementServiceImpl.updateService(ConnectorManagementServiceImpl.java:1879)
at com.citrix.cpbm.platform.admin.service.impl.ConnectorManagementServiceImpl.validateServiceXml(ConnectorManagementServiceImpl.java:443)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy229.validateServiceXml(Unknown Source)
at com.citrix.cpbm.platform.bootstrap.service.impl.BootstrapThread.run(BootstrapThread.java:113)
at java.lang.Thread.run(Thread.java:701)
[2014-03-26 07:04:09.406] ERROR workerBootStrapThread        com.citrix.cpbm.platform.bootstrap.service.impl.BootstrapThread   Stopping bundle com.citrix.cpsm 
[2014-03-26 07:04:09.411] INFO  workerBootStrapThread        org.eclipse.virgo.medic.eventlog.default                         DE0010I Stopping bundle 'com.citrix.cpsm' version '1.0.1'. 
[2014-03-26 07:04:09.490] INFO  workerBootStrapThread        org.eclipse.virgo.medic.eventlog.default                         DE0011I Stopped bundle 'com.citrix.cpsm' version '1.0.1'. 
 

Any Ideas what could cause this exception?

 

Thanks,

-Mika


Mika Övermark MEMBERS
Comment actions Permalink
Avatar
Pankaj Paliwal
Avatar

Hi Mika,

 

The previous CPSM connector (version 0.0.9) was an experimental connector. Hence the upgrade to CPBM connector 1.0.1 is not provided. I would suggest you to delete the CPSM service and service instance from CPBM database using the utility described at http://support.citrix.com/proddocs/topic/cpbm-22-map/cpbm-remove-service-completely-con.html, and then verify the CPSM connector version in CPBM UI.

 

Thanks,

Manish


Manish Agarwal CITRIX EMPLOYEES
Comment actions Permalink

Top Contributors