Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-30 Thread Abimaran Kugathasan
Hi Inshaf, This happens when you have not set the JAVA_HOME environment variable and pointed to the installed JRE location. This needs to be explicitly set in your environment. Refer [1] [1] :

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-30 Thread Inshaf Mahath
Hi, Thanks for the response. I have already added the JAVA_HOME environment variable which points to JDK 1.7. In my bash_profile I had the following parameter. export JAVA_HOME=$(/usr/libexec/java_home) - Points to /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home This seems to

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Lakshman Udayakantha
Hi Inshaf, You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation which is an old one. please try the right documentation[1]. [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath ins...@wso2.com wrote: Hi, I am trying

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Inshaf Mahath
Hi Lakshman, I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both occasion. On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha lakshm...@wso2.com wrote: Hi Inshaf, You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation which is an old one. please try the

Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-28 Thread Lakshman Udayakantha
Hi Inshaf, Did you set the JAVA_HOME in your machine by adding following lines to .bashrc or .bash_profile? JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home export JAVA_HOME Thanks On Fri, Nov 28, 2014 at 6:05 PM, Inshaf Mahath ins...@wso2.com wrote: Hi Lakshman,