Posts

Install Java Cryptography Extension (JCE) unlimited strength jurisdiction policy

Introduction How to over come "org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters" or "java.security.InvalidKeyException:illegal Key Size" error when invoking secured services These "org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters" or "java.security.InvalidKeyException:illegal Key Size" error usually occurs when we try to invoke a web services in a secured manner and your JVM is not provisioned for Java unlimited security jurisdiction. To provision for the Java unlimited security jurisdiction we have to install Java Cryptography Extension (JCE) unlimited strength jurisdiction policy files. How to Install JCE Windows - Go to the Oracle Java SE download page Scroll down ... Under "Additional Resources" section you will find "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy File" Download the

Solution to API’s OutOfMemory issue which stops creating thread

Introduction This article provides the solution/prevention to the API’s OutOfMemory error where operating system is unable to create new native thread. The operating system is limiting the number of threads your Mule process can spawn, or the memory settings are wrong (setting more memory than the physically available memory). Memory Calculation The usage of memory in Java is determined by the following formula:  Max memory = [-Xmx] + [-XX:MaxPermSize] + number_of_threads * [-Xss]  Most of the time the focus is in the Heap size determined by the JVM argument -Xmx and eventually, in Oracle JVMs, the Permanent Generation Space, specified by the argument -XX:MaxPermSize. However you must also consider how many threads will your Mule instance handle, as it also adds to the max memory usage. For Example Suppose you have the following parameters:  Max Heap size: 3072 MB  Max PermGen size: 512 MB If your system has in total 4GB RAM, then you would think that the 512 MB lef

MuleSoft Architecture Presentation using API Led

Image
This is one of my presentation to understand how to implement API Led Connectivity with the MuleSoft layered architecture. 

Integration with Amazon S3 using Mule ESB

Integration with Amazon S3 using Mule ESB from Sanjeet Pandey Integration with Amazon S3 using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. - Amazon S3 is cloud-based data-storage infrastructure that is accessible to the user programmatically via a MuleSoft Amazon S3 connector. - The Amazon S3 Mule connector allows developers to access any amount of data, at any time, from anywhere on the web. With connectivity to the Amazon S3 API, users can interface Amazon S3 to store objects, download and use data with other AWS services, and build applications that call for internet storage - all from within MuleSoft Anypoint Platform.  2. Prerequisites • Amazon Account • Amazon Access and Secret keys • Mule Anypoint Amazon Connector Creating Amazon S3 Bucket - Before you start integrating S3, you need to create an S3 Bucket. Every object in Amazon S3 is

Mule with salesforce push topic notification

Mule with salesforce push topic notification copy from Sanjeet Pandey Mule with salesforce push topic notification 1. Define Push Topic in SFDC The easiest way to do this is to either use the workbench at developerforce.com or the developer console. I'm going to use the developer console. In the console head to Debug -> Execute Anonymous Apex Code. We are essentially creating a SOQL query with a few extra parameters that watch for changes in a specified object. If the Push Topic is executed successfully then Salesforce is ready to post notification to MULE ESB if any changes made in the Account object in Salesforce, because the below Push Topic has been created for Salesforce’s Account object.  2. Mule SFDC Cloud Connector Select the MULE SFDC Cloud Connector and setup the following details by defining the Global element – • User Name • Password • Security Token • URL 3. Mule SFDC Inbound Endpoint To receive the Push Topic notifications from Salesforce, Salesfo

Hot Deployment of Mule licenses on running Production Server

Hot Deployment of Mule licenses on running Production Server from Sanjeet Pandey Hot Deployment of Mule licenses on running Production Server 1. Overview Before moving forward with the instructions, it is important to understand that as long as a Mule instance is running, the license which is currently installed will be used. This implies that it relies on the license’s information, such as expiration date, entitlements, etc.. The procedure mentioned below is for installing a license that will be picked up on the next restart of the Mule instance and is meant to be a prior step..  2. Commands If the given instructions are followed, then it is not necessary to use the following commands under Linux, Windows, Solaris and Mac – • To install a license : mule -installLicense ~/license.lic • To verify a license : mule –verifyLicense • To un-install a license : mule -unInstallLicense  3. Instruction – Step 1 • Go to the MuleSoft License Verifier application: http://mulelicen

Integration with Microsoft CRM using Mule ESB

Integration with Microsoft CRM using Mule ESB from Sanjeet Pandey Integration with Microsoft CRM using Mule ESB 1. Overview - MuleSoft provides the most widely used integration platform to connect any application, data service or API, across the cloud and on-premise continuum. -Microsoft CRM is cloud-based CRM (Customer Relationship Management) that is accessible to the user programmatically via a MuleSoft Microsoft Dynamics CRM connector. -The Microsoft Dynamics CRM Mule connector allows developers to manipulate customer data, at any time, from anywhere on the web. This connector lets you perform the following operations: • Create, update, and delete records • Retrieve a single record or query multiple records • Associate and disassociate records • Execute a request message  2. Prerequisites • Username and password for users granted access to CRM • Organization Service URL - usually in the format:https://crm.mycompany.com/MyOrganization/XRMServices/2011/Organization.sv