Posts

Showing posts from 2016

Salesforce Missing Organization Feature: CommonPortal null

Issue in install package :        We got app managed package installation failed error like " Missing Organization Feature: CommonPortal  null" ,  and we received the below error mail  "Your request to install package "********" was unsuccessful. None of the data or setup information in your  salesforce.com organization was affected. If your install continues to fail, contact Salesforce CRM Support through your normal channels and provide the following information. Organization: ***************** User: ************* Package: *********** Problem: 1.  Missing Organization Feature: CommonPortal null" Solution :        After  done the much analysis (create number of packages in personal org and change the code snippets) , came to know that the issue is due to " IsportalEnabled " standard field in User object.                The issue has been resolved after we removed the field ( IsportalEnabled ) reference from the all the comp

Titan DB setup with Cassandra and Elastic search

Titan DB with Cassandra and Elastic search Setup What is titan db ?          Titan db is a scalable Graph and Transactional database . which can be optimized to store and querying graph data's using complex graph traversal with thousands of concurrent user access . It is using Cassandra, HBase  and Oracle Berkeley DB as back end storage. Titan DB Features: Elastic and linear scalability for a growing data and user base It uses data monitoring and replication techniques for avoid fault tolerance It support multiple data center and increase high data availability It support graph data analytic's  with integration on some other technologies. It support high data search with the help of Elastic search or solr or lucene It support ACID and Eventual consistency. Use below steps to install and setup titan with cassandra.  Step 1 :             Download Apache Cassandra : Apache cassandra               Download Titan DB :   titan-db both files

Running Multiple Instance of MYSQL in Same Machine

How to create single mysql server run on multiple port in a machine Description :   here , we are going to discuss on how can we run a multiple mysql instance on different port using single mysql version in same machine. If you not have mysql server in your local machine just follow step 1 else you can follow from step 2. Step 1: Installing MYSQL Server:    We need to install the mysql server in linux or windows. The below command to use to install in linux machine. 1. sudo apt - get install mysql - server Using this we can install latest version Mysql Server in linux machine. During installation process it prompt the root user password. Step 2:   Setting up mysqld_multi   : In order to manage two instances effectively in same machine, we need to use   mysqld_multi  . use this link to read about mysqld_multi . The mysqld_multi used to mange the mysql different group in the same machine. Now, we are going to discuss on how to create mysql group  

Salesforce data access via Java portal

Image
Java portal to Access Salesforce Data I am going to explain to access salesforce data through java portal via heroku. The following steps to consider before start work. The salesforce need to provide out side server access. Then only we can get salesforce data through Rest Api. In Java application what kind of service going to use whether WSDL lib or you can write your own login handshake code. Should know how to push and deploy in Heroku using  java application. In this example i am going to use my own custom login in example code. That will explain you how to log in using rest in java application. Before write java application, you should know which Http client lib you are going to use. In this example i am used the following libs, Maven 3.3.1 Java 1.7 Jersey rest Apache http client Jackson- json The first step to get salesforce gateway to allow us to connect with them. First create a salesforce account. Now i am using my developer account and explain you. Ho

Process Larger Log files Simple using Perl Script [ TimesTen In-Memory Database ]

       Using PERL script how can we process large log files easily. In this example i will explain you how we can process Oracle times ten in memory log files.We can make simple modification for that script and we can use to parse large files like size 5 GB. We can use this script for process Mysql, Sql, Psql  and all other database also. Before starting writing script i will explain you what is Times Ten DB.  TimesTen In-Memory Database         Oracle TimesTen In-Memory Database (TimesTen) is a full-featured, memory-optimized, relational database with persistence and recoverability. It provides applications with the instant responsiveness and very high throughput required by database-intensive applications. Deployed in the application tier, TimesTen operates on databases that fit entirely in physical memory (RAM). Applications access the TimesTen database using standard SQL interfaces. For customers with existing application data residing on the Oracle Database,