We are developing a connector for CPBM 2.6. Our current connector version is 1.1.1. Our version under development is 1.2.0. When version 1.1.1 is installed and configured etc, I can upgrade to version 1.2.0 by simply stopping cpbm, installing the 1.2.0 connector jar, updating the version in the map file and restarting cpbm. However, if I then need to make another code change, I can't simply rewrite the 1.2.0 jar file with a new one and restart. Doing so, it seems that the old connector code is still used (ie - even though the jar is different, older code seems to be used). I don't want to keep incrementing the version numbers as we are still testing and making changes. What are the correct steps to follow to replace a connector jar file with a new version of itself. My goal is to replace the 1.2.0 jar multiple times while testing various changes without having to re-install or use different version numbers. Thanks!
CloudPortal Business Manager 2.x
Other links
I'm Atsushi Midorikawa for IIJ.
I can't send email template that is "Orphaned VM Created".
ROOT USER => Administration => Content Templates => Emails => Orphaned VM Created => gear icon
I tried to use "Send test mail" function, but can't send it.
However, "Send test mail" function of other email templates are available. I can send it!
My environment: CPBM 2.4.x with Patch-G
The cpbm error log is as below.
[2017-06-14 10:09:26.411] WARN QueueListener-1 org.springframework.jms.listener.DefaultMessageListenerContainer Execution of JMS message listener failed, and no ErrorHandler has been set. org.springframework.jms.listener.adapter.ListenerExecutionFailedException: Listener method 'receive' threw exception; nested exception is java.lang.IllegalArgumentException: No enum constant com.vmops.internal.service.EmailService.EmailTemplate.ORPHANED_VM_CREATED
at org.springframework.jms.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:471)
at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:355)
at com.citrix.cpbm.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:59)
at org.springframework.jms.listener.adapter.MessageListenerAdapter.onMessage(MessageListenerAdapter.java:330)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:535)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:495)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: No enum constant com.vmops.internal.service.EmailService.EmailTemplate.ORPHANED_VM_CREATED
at java.lang.Enum.valueOf(Unknown Source)
at com.vmops.internal.service.EmailService$EmailTemplate.valueOf(EmailService.java:22)
at com.vmops.internal.service.impl.EmailServiceImpl.sendEmail(EmailServiceImpl.java:573)
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.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 $Proxy305.sendEmail(Unknown Source)
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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy417.sendEmail(Unknown Source)
at com.vmops.admin.event.listeners.EventListenerJmsConsumer.receive(EventListenerJmsConsumer.java:399)
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.util.MethodInvoker.invoke(MethodInvoker.java:273)
at org.springframework.jms.listener.adapter.MessageListenerAdapter.invokeListenerMethod(MessageListenerAdapter.java:463)
... 12 common frames omitted
Hi all,
Where can I find information about the new "tiered pricing model" in CPBM 2.5? I can't find anything in the admin guides. What is different to the current possible model and how can i use it?
Thank you for support in advance.
Best regards
Ingo
Hi all,
Is it possible to move an account to another channel. E.g. move account "xyz" from channel "abc" to channel "qwert"?
Best regards
Ingo

How to change CPBM root password?
We are trialling CPBM and installation went fine. We can login to root account using the default password. However, we get an error page when we tried to navigate to the MyProfile page. Can anyone help me with this?
ps . We can create new Service Provider users and their profile pages work just fine. The problem only happens with the Root account profile.
Much appreciated
J

Change Account Type
Hi,
is it possible to change the account type on an existing account like from Retail to Corporate?
Thanks
René
Hello, I have a many Channels with different price, and in the general catalog have other price the products and products bundle, is possible sync channels with the price in catalog.

Subscription Activation User Notification
Hy,
i got a problem with the Email Notifications. When i register a new account, everything seems to work. I recive the Welcome Mail, the user activation mail, the Launch notification mail and many more. But when i buy a subscription/ bundle there comes no mail.
Does anybody know how can i fix this?
Thanks
Rene

CPBM Custom Accounttypes
Hello Citrix community,
I found my next problem which I can't solve..
As described in the eDocs I added new account types to the CPBM software. I followed step two and added the required resources into custom application properties.
So i did it in the following files:
PortalCustomApplicationResources.properties (citrix.cpbm.custom.portal-2.3.0.jar)
CustomApplicationResources.properties (citrix.cpbm.custom.common-2.3.0.jar)
ApplicationResources.properties (portal.appresources-2.3.0.jar, here are the retail, corporate and trail defined)
However, there are no changes after a reboot... It's ignoring the language files (see attached image, yes I'm using the corporate icon)
Does anyone know, how to solve this issue?
Thanks
Thomas

CPBM with LDAP
Hi everyone, it's me again,

changestate BSS-API
Hello,
I'm trying to change a state in cpbm over the bss-api, however, I'm not able to get it working.
Updating an account, or creating a payment works well.
I always receive a '401 (Unauthorized)' error with the root account, and in the /var/log/coud/portal/cpbm-server.log is a AccessDeniedException described...
This Data I'm sending:
URL: http:// 10.225.0.61:8080/portal/api/accounts/69c37ae8-f46a-498e-a62b-fb00c5cbf90d/changestate.xml?signature=plfS9Sk9EzuRhbi0kVATGSyxKx8%3D
POST: _=1412855096472&apiKey=93GiESfjf2sqJcqVIKsNYH14XEBxkZZgbjQZ9ktP7mpPehoDZQZ611NpNTwG2gALTH72rNyydNOwXsNjTL3f6g&memo=test&newstate=ACTIVE&statechangecause=1
Any ideas??
Thanks a lot
Thomas
Attached Files
-
cpbmlog.txt 8.26K 3 downloads

New Accounttypes - payment_mode
Hello,
we have tried to add new Accounttypes in CPBM. Is there anywhere an extendet discription for every option?
I´ll need it for following Points:
- instantpay_required
- autopay_required
- extend_credit
- notional_billing
- deposit_required
and
payment_modes (i´ve found only in the eDocs, that 2 is for Credit Card Payment)
Thanks a lot
Hello, I have a Problem with table ACTIVEMQ_LOCK, because not possible create a dump for the database cloud_portalmq, but i stop the service for Cloud-Portal the database not have problem, additionally when the service is running not possible access a information or see the data in this table, please helpme, because not possible generate backups of database

CPBM BSS API - Payments
Dear everyone
I'm trying to create a new payment via the BSS API in CPBM. I followed the tutorial by Tariq Iqbal (Thank you for this nice tutorial!!) and reading the data works well.
However, when I try to create a payment, I always receive: [{"message":"User not found","code":400,"args":null}] Even via root, or via account.
Trying with root:
POST: /accounts/e64e403b-3341-4220-8fd8-8c8320f889a7/payments.json
DATA: _=1410854194165&apiKey=asdfDerTuasdfQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&uuid=185a0b85-67fb-4fdd-91af-9283f2e2383c&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D
Does the UUID in the post data mean a user uuid?
Trying with account:
POST: /account/payments.json
DATA: _=1410854372889&apiKey=anotherapikeyQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D
In both cases the log says:
[2014-09-16 10:01:05.272] INFO catalina-exec-4 com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter Entering into doFilterInternal()
[2014-09-16 10:01:05.272] INFO catalina-exec-4 com.citrix.cpbm.api.filters.ApiValidationHelper Entering into validateRequest()
[2014-09-16 10:01:05.576] INFO catalina-exec-4 com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter exiting from doFilterInternal()
Is there a bug in the api or do I need to consider something which is not described in the edocs?
We are using the CPBM v2.3.1
Thanks!

How to delete retire product in cpbm2.3
Dear everyone:
Today,I have retire product the product in cpbm2.3?but when the end user login the cpbm,he can still find the retire product in the Utility Rates?I want to delete the retire product,who can help me,Thans?
Hello Guys, please help me inform how unpublished or delete the product bundle that the Channel (catalog) specific, I need remove the bundle the one channel catalog, but need that the same bundle is publish in the other channels, thanks
Hello today have a problem when I sync the channel with catalog generate error Failed to sync the channel with the reference price book. And not possible add a new product bundle to catalog channels
Hello Please your collaboration, I need Create a Product Bundle that have charge for Hour, please send me the steps, thanks the version CPBM is 2.2.1
Hello, please your collaboration, when I create a new product bundle I select a Provisioning Constraints, but when the product is create I can add the Entitlements, what is the difference between Entitlements and Constraints, thanks
Hello, I need use the API to CPBM, the version is 2.2.1 and I see the information
http://support.citrix.com/proddocs/topic/cpbm-21-map/cpbm-21-bssapi-wrapper-con.html
http://shapeblue.com/citrix/working-with-the-citrix-cloudportal-business-manager-2-1-bss-api/
but not understand How generate the signature, please help me? is necesary create a script?? or for URL generate the signature??
thanks
Hello Guys, I need your collaboration inform where can change the parameter for account.suspension.alert account.termination.alert for the portal automatic suspend or restring the account if not receive the payment the version cpbm is 2.2.1

CloudPortal Business Manager cann't integrating the microsoft Active Directory
HI,all:
I user the cpbm integrating the microsoft Directory Server,but is donn't success.The log is [2014-
07-22 22:15:00.988] ERROR catalina-exec-10 com.vmops.persistence.ldap error creating user in LDAP org.springframework.ldap.NameAlreadyBoundException: [LDAP: error code 68 - 00000524: UpdErr: DSID-031A1261, problem 6005 (ENTRY_EXISTS), data 0
Determine Tenant UUID using BSS API
How do I use the BSS API to determine a tenant UUID give the name of a user for the tenant?
Hello, I have error in the CPBM she execute the JOB, I install service Usage in CCP and the error then he began to present the installation
Name: Manager
State: Partial Error
Warning: No usage records collected for service instance : 8572a73a-7db1-4d66-af39-2a28ca6abe2f.[com.vmops.service.exceptions.UsageException: java.lang.NullPointerException at com.citrix.cloudstack.usage.impl.TypeConversionFilter.process(TypeConversionFilter.java:30) at com.citrix.cloudstack.service.impl.UsageCollectorImpl.collect(UsageCollectorImpl.java:112) at com.vmops.billing.job.service.impl.UsageBatchProcessImpl.processUsageBatch(UsageBatchProcessImpl.java:121) 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:616) 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 $Proxy327.processUsageBatch(Unknown Source) 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:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy498.processUsageBatch(Unknown Source) at com.vmops.admin.jobs.DailyBillingJob.run(DailyBillingJob.java:221) at com.vmops.admin.jobs.AbstractPortalJob.execute(AbstractPortalJob.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) at com.vmops.billing.job.service.impl.UsageBatchProcessImpl.processUsageBatch(UsageBatchProcessImpl.java:157) 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:616) at org.springframework.aop.support.AopUtils.invokeJoinpoi

Calculating BSS API TimeStamp on Windows
The BSS API docs explain that REST requests need to include a timestamp.
The timestamp is the system clock in milliseconds. However, the system clock in Windows uses a different epoch than Linux / Unix.
Do you have any advice on how to calculate the timestamp from a Windows system clock?

Unable to provision VM - primary storage limit exceeded
Thanks
Tariq

Master user unable to add simple user
When i logged with a master user and try to create a account, there is a bug screen.
I can write informations for username,Email, and first name is impossible because there are no scroll bar or anything to click and next.
Have you ever seen this before ?
Regards
Jérôme

Create a Win 2012 Template wizard.. No OS template , only ISO template
In CPBM, under IAAS bundle, when I want to create a template using the bundle wizard, I choose in the following settings:
Category: Software OS
Product Details: Running VM
Madiation Rules: In this page, I should choose the OS template that I create in a previous step in CloudPlatform.
... and here the issue... what I get as options are the ISO templates and not the OS templates. I attach some screen from CloudPlatform and CPBM
How can I troubleshoot this ?
Many thanks for any hint
Hello, I have a CPBM 2.2.0 integrate with CCP 4.2.1, I need profile that permit administrate the VM exist in the account but not permite create, change or delete the VM or the other parameter in the account (example acquire IP public create network), I test with the profile "User" but this profile permit create the VM's or change the parameters. exist this profile or option ?
Participate
Ask, Discuss, Answer