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,
Is it possible to move an account to another channel. E.g. move account "xyz" from channel "abc" to channel "qwert"?
Best regards
Ingo
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
CPBM with CPSM integration
We have been using CPSM for quite some time with App Orch, we are looking to get CPBM setup for reporting/billing purchases. I have two questions
1. when adding the CPSM integration do my existing tenants come over with the offering they have?
2. is there decent documentaion on how to add the integration to CPSM? I can't find anything useful. I am adding but when i add the service i get "Cloud service is down"
Hi all,
we use the Cloudportal Business Manager and Cloudplatform (new versions) and i'm interested in how to hand over the Master User rights to another user in an existing account. E.g. someone leaves the group/company and is no longer relevant for the account. How can i hand over the rights (as an opsadmin) to another user within the account or can i create a new user and give them the relevant Master User profile?
If this is not possible, what can we do?
Thanks for your answers in advance.
Best regards
Ingo
Dears,
We are running CPBM 2.3.1 and the certificate is about to expire, I did not find in the document how to renew an existing cert. Any thoughts?
Tamer
Adding CPSM Service Instance fails with error 'Your service configuration is invalid"
Hi,
I have an environment running DaaS environment running with following Citrix Products.
XenDesktop 7.5
App Orchestration 2.5
CloudPortal Services Manager 11.5
CloudPortal Business Manager 2.3
Integration among XenDesktop, App Orchestration, CPSm all works fine but the integration between CPSM and CPBM is failing. i am not able to Add the CPSM service instance to CPBM after enabling the CPSm connector in CPBM. it errors out saying "'Your service configuration is invalid"
Below is what i see in CPBM Server log when i try to add CPSm Service instance
Screenshot of the error and CPBm server log are attached here with
Could you please help me with any lead to troubleshoot this....
Thanks,
Hisham
Attached Files
- cpbm-server.log 1.45MB 3 downloads
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
Dears, could you please help in how to modify the tagline of CPBM 2.3.1?
Thanks in advance
Tamer
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?
Participate
Ask, Discuss, Answer