Friday, February 10, 2017

Talend Startup Error

I have installed java 1.7 and 1.8 both on my machine and JAVA_HOME environment variable set to 1.7.
Here i am trying to start talend but it throws error:


"The Studio does not support Java 8. Java 7 is the recommended JVM version to be used"

Now how to start Talend on machine if both java version is installed on your machine

Solution

  • Open Cmd
  • Move to installed directory of Talend and run below command
  • TOS_DI-win32-x86.exe -vm "C:\Program Files (x86)\Java\jdk1.7.0_65\bin"

Friday, January 27, 2017

Xampp Starting Error

Try to start xampp on some day and getting below error


"Port 80 in use by "unable to open process" with PID 4:

How to proceed:
  • Open Task manager
  • Look for the PID with number 4, probable it will be "NT Kernel and system"
  • Open CMD and check the processes that are running with port number 80
netstat -o -n -a | findstr 0.0:80

  • After searching on google, came to know that the PID process is related to SQL server Reporting server. 
  • Go to services
  • Stop all services related to SQLServer
  • Stop and start services for apache and mysql
  • It Works!!!!


Other Possible Processes :

Skype
IIS
VMWork Station

Thursday, August 4, 2016

Java HotSpot(TM) Client VM warning: Cannot open file /cassandra37/logs/gc.log due to No such file or directory

Error
Java HotSpot(TM) Client VM warning: Cannot open file /cassandra37/logs/gc.log due to No such file or directory

Problem 
Log directory not exists

Solution
Create Log Directory at specified path

Problem
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

No single argument constructor found for class [Ljava.lang.String;; in 'reader', line 10, column 1:

No single argument constructor found for class [Ljava.lang.String;;  in 'reader', line 10, column 1:
   cluster_name: 'Test Cluster'

Problem:
While modification of cassandra.yaml file you might change the format of given directories

Solution:
Change directories path format as given below (it should be exactly same)

data_file_directories:
    - /cassandra/storage/data
commitlog_directory: /cassandra/storage/commitlog
saved_caches_directory: /cassandra/storage/saved_caches

Workaround
In my case i have written data_file_directories as below
data_file_directories: /cassandra/storage/data
When i change path as per given format, then it works fine for me.

Wednesday, August 3, 2016

WARNING! Powershell script execution unavailable.

Error

WARNING! Powershell script execution unavailable.
   Please use 'powershell Set-ExecutionPolicy Unrestricted'
   on this user-account to run cassandra with fully featured
   functionality on this platform.

 
Problem
PowerShell have four type of execution modes (Restricted, All Signed, Remote Signed, Unrestricted).
Currently your's machine Powershell Execution mode is set to Restricted.

Solution
Change powershell execution mode for this first open PowerShell with administrative rights "Run as Administrator".

Set-ExecutionPolicy Restricted


Check
Check status of execution mode of Powershell using below command
Unrestricted" goto runPowerShell
web stats