Friday, 26 July 2013


Tomcat and httpd configured in port 8080 and 80

When you install Tomcat in your server, by default it uses port 8080. Typically in a linux system, you can install apache2 or httpd as a web server that handles the default port 80 and then uses mod_proxy to send requests to Tomcat at port 8080 for sites hosted in Tomcat.
httpd (or apache2) are great for hosting multiple websites (multiple domains) in a single server. In this example, we will install, httpd in port 80 and Tomcat7 in port 8080 and then configure both of them to handle requests seamlessly.
Install and configure httpd
  • yum install httpdYou could ofcourse use apt-get instead of yum depending on your platform
  • vim /etc/httpd/conf/httpd.conf
    Look for the following modules and enable them if they are not already enabled
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so

    Then uncomment, the following line
    NameVirtualHost *:80

    Uncomment the following lines at the bottom and change it to point to your default domain.

    <VirtualHost *:80>
        ServerAdmin webmaster@yourdefaultdomain.com
        DocumentRoot /var/www/html
        ServerName www.yourdefaultdomain.com
        ErrorLog logs/default-error_log
        CustomLog logs/default-access_log common
    </VirtualHost>
    

    Save and close the file by pressing 'Esc' and the typing :wq! and Enter.
  • service httpd start
Intall and configure tomcat7
  • yum install tomcat7-webapps tomcat7-docs-webapp tomcat7-admin-webapps
  • under /etc/httpd/conf.d create a file named mytomcatapp.conf and copy the below code
  • <VirtualHost *:80>
    ServerName www.myanotherdomain.com
    ProxyPass         /  http://localhost:8080/
    ProxyPassReverse  /  http://localhost:8080/
    ProxyRequests     Off
    
    # Local reverse proxy authorization override
    # Most unix distribution deny proxy by default 
    # (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)
    <Proxy http://localhost:8080/*>
      Order deny,allow
      Allow from all
    </Proxy>
    </VirtualHost>
    
You have now installed both httpd and tomcat7 and configured them. You now have to start/restart both services
service httpd restart
service tomcat7 restart
Now when you goto your www.yourdefaultdomain.com in your browser, the request is direclty handled by httpd service and the index file from your /var/www/html folder will be returned to the browser.
If you goto www.myanotherdomain.com in your browser, the request will be forwarded by httpd service to the tomcat7 internally and your tomcat application will serve the pages.
The domains www.myanotherdomain.com and www.yourdefaultdomain.com are used for illustration purposes only. You have to use your own valid domains, and the DNS A records have to be created to point to the IP address of your server

PGECET/PGEC 2013 Admission/Counselling Notification (Detailed Notification For Web Based Counselling)

Counselling for M.Tech and M.Pharm courses from 30th July.Web counselling for admission into M.E., M.Tech, M.Pharm, M.Arch and Pharm-D (PB) courses will commence from July 30. Certificate verification will be done in 12 helpline centers across the state. All the eligible and registered candidates qualified in GATE-2012/ 2013, GPAT-2013 and candidates qualified in PGECET-2013 can attend the certificate verification at the designated helpline centers. The schedule and center details are available below.

About 540 colleges are offering ME and M.Tech programmes and about 280 colleges M.Pharm courses. The total intake for this year is about 36,700 in M.Tech course and 14,000 in M.Pharmacy and Pharm.D (PB) under convener quota. About 82,000 candidates have qualified in PGECET-2013 examination and about 7,000 GATE and GPAT qualified candidates have registered so far. The last date for registration of GATE/GPAT qualified candidates is July 25.

Detailed PGECET/PGEC 2013 Notification Download Here
Rank Wise Verification Schedule Download Here
Certificates to be Submitted Download Here
Procedure For Web Based Counselling Download Here
Instructions Download Here
Helpline Centers Download Here

View PGEC/PGECET Allotments (College Wise) - 2012 Here

Website : http://pgecet.apsche.ac.in/

Know your job

More than having soft skills, it is important for you to know the industry and understand what your job entails.

Only 20 per cent of India’s graduates are employable. The number is apparently even smaller for engineering graduates. A lot has been spoken and written about the lack of “soft skills” as the primary reason for this and many thousands of rupees spent in attempting to rectify the situation. But, there is one big factor that is as important if not more than soft skills in securing the job.

Saying it right

What you have to say to potential employers is as important as how you say it. If you have great soft skills (communication, team work, etc) but do not know the relevant information which is to be conveyed, you will end up looking ignorant. The information and knowledge expected by recruiters is different from what the syllabus includes.

Most people focus on soft and technical skills. But, what is it that really makes a candidate stand out when it comes to the interview? When you apply for a job, your employers are looking for the ideal candidate who possesses two fundamental characteristics — knowledge about the industry and an understanding of the job.

Understanding the industry starts with knowing the value chain of the particular sector and the different players/organisations involved. In the aerospace vertical, for example, what does Jet Airways or British Airways do? What does Boeing do? Who are the original equipment manufactures (OEMs) and who are the tier 1, tier 2, tier 3 suppliers? Where are they based? What are the key trends and important developments within this industry? These are critical aspects that the employer will expect you to know if you are looking for a role in their industry.

The second area of focus is the role that the candidate is looking for. Generically, roles can start from research and development, production planning, manufacturing, testing, marketing, sales and customer support. Within the same industry, one can look for any of the above roles. The choice of the role should be dependent on the skills that the candidate possesses. For example, for a research and development role, you require to have an in-depth understanding of the product. In sales or marketing, you need to have good communication skills for dealing with customers.

Once you have a good understanding of these areas, you can tailor your resume and approach to suit the requirements of the job you are applying to. This increases your chances of being shortlisted for interviews. You can also seek job opportunities on your own instead of relying only on career services in college.

During the interview, you can demonstrate that you really understand the nature of the industry, the challenges they are facing, etc. You can also show how your skill-set fits the role you are applying for. These aspects will make you stand out from the crowd and help you impress your employers and get that job.

Source : Hindu

Aegis to create over 5,000 jobs in US

Essar-owned Aegis, a global outsourcing and technology services company, today said it plans to create more than 5,000 jobs at its centres in the US over the next four months.

"We have expanded our engagements with existing clients, which will result in our hiring of more than 5,000 people. This hiring will take place in all US cities, in which we have operations," Aegis global chief executive Sandip Sen said in a release here.

In 2011, the company had joined the jobs4america Coalition and pledged to hire more than 4,000 workers in the US over the next two years, he said, adding Aegis have already accomplished this goal.

"In addition to creating these jobs, we are creating opportunities at many levels in our organization," he said.

The new hiring, in both temporary as well as permanent positions, will take place over the next four months in healthcare vertical, the release said.

Responsibilities of these positions will include presenting the options available to consumers so that they can make informed decisions regarding their healthcare.

Bilingual (English and Spanish) candidates as well as individuals with fluency in Russian, Mandarin, Cantonese and Korean languages will be encouraged, it said.

Aegis, founded 30 years ago in the US, has operations in 56 locations across 13 countries with more than 55,000 employees.

The company services over 300 clients from verticals like banking and financial services, insurance, technology, telecom, healthcare, travel and hospitality, consumer goods, retail and energy and utilities.

Source : TOI

Premier engineering firm reports large scale job fraud

NEW DELHI: The crime branch is probing a case of fraud on the complaint of a leading group of companies stating that job aspirants, including mechanical engineers, were duped and issued offer letters on company letterheads for Rs 1 lakh to Rs 2 lakh each, a police officer said.

The email communications were sent from the ID of the company's HR manager and the crooks even conducted telephonic interviews from the company's landline at the reception. Not just that, the accused probably conducted the interviews at the company premises as well, police and company officials suspect.

Interestingly, the letter also contained terms and conditions of employment, designation, compensation, termination and confidentiality leaving no scope for the aspirant to doubt its veracity. The catch, however, was that the letter asked the candidate to report to an address which does not have an office of the company and the letterhead and signature has been forged.

A case of criminal conspiracy and cheating has been registered and cops suspect at least one person from the organization to have connived with the accused. Two of the accused have already been identified, a source said.

In his complaint to the police, the company's territory manager said that the matter came to their notice on May 31 when one Vikas from Ghaziabad visited the company's office with an 'offer letter' alleged to have been issued to him by the company.

"He informed us that he had telephonic interview with one Amit on May 15 from the telephone number 66505*** which happens to be our office reception landline number. He had received an offer letter on his email ID subsequent to the interview and had paid Rs one lakh," he said.

The email ID from which the applicant had received the fraudulent offer letter belonged to the company's zonal human resource manager for northern region. The cops have found that Amit made calls to applicants from a number 8285038***. Another accused whose last name, cops say, is Upadhyay is on police radar as he has been found to have visited the company's office in June this year.

Source : TOI

  Technical employees in India upbeat about job prospects

Employees of the technology industry in India are the most optimistic about job opportunities compared with their non-technology and global counterparts.

But alongside, high pay expectations and low employee engagement levels still exist, according to advisory firmCEB's Employment Brand Monitor Report.

The survey covered 35,000 respondents globally. Anumeha Chaturvedi takes a look.





Source : EC

TCS: There is an unemployment issue

With the new US immigration bill posing long-term cost implications for the IT players, the country's largest software exporter TCS today said companies need to be receptive to the situations in any market.

"....there is an unemployment issue. Job growth is a major issue being faced by many nations. So you are seeing regulatory changes or discussions, dialogues about regulatory changes...," company MD & CEO N Chandrasekaran told reporters at the earnings announcement.

"It is happening not just in the US. In Canada, there is a discussion, in Australia there is also a discussion. So, we just have to be receptive of those situations and engage in the whole process and then see what changes we need to make to our business model as and when it is required," he said.

The US immigration bill proposes several changes including higher visa costs and increase in wages for H-1B visa holders. It will hurt the over $100 billion IT-ITeS industry in the country and domestic software firms like TCS and Infosys as their cost of operations could go up.

In June, the Senate approved the most far-reaching reforms to US immigration policy in 50 years.

Chandrasekaran said TCS is "extremely engaged" in all the countries it is present in. "We will do anything that we need to do in order that we have a very effective and agile business model," he said.

Asked if clients had expressed concerns around these proposals that could impact cost and the model of delivery of services for Indian outsourcers, Chandrasekaran answered in the negative.

"There is no impact on client spend (because of the regulatory changes). They today understand the environment and are working with that...There is no finality...So we all have to wait to see how it (Immigration bill) will proceed and take actions appropriately," he said.

Australia recently tightened its work visa programme with changes to the 457 visa programme (for skilled immigrants) that requires companies to prove that they have considered local hires and advertised in newspapers before sponsoring workers from outside of Australia.

Similarly, Canada is also taking steps to ensure that only genuine skill shortages are being filled by temporary overseas labour.

Source : TOI

IT professionals prefer job profile, brand image over salary: Survey

When it comes to employment, many aspirants give more weightage to the job profile and brand image of a company than the salary package, a survey shows.

The survey by Firstnaukri.com, a portal for campus hiring, also found that BE/B.Tech IT students prefer IBM for employment, followed by TCS and Infosys.

"Job profile and brand image of the company continue to rule the choice in comparison to salary package during placements," according to the survey.

The findings are based on questions e-mailed to jobseekers registered with the portal. It covered BE/B.Tech, BBA, BCA, B.Sc, non-IT engineers, finance and computer science graduates and post-graduate students.

"Infosys, TCS and IBM still remain the big giants in campus placements for IT students. It is interesting to note that the students are keener for a good job profile rather than a fat salary package," Firstnaukri.com Business Head Deepali Singh said.

For non-IT engineers, the Defence Research and Development Organisation (DRDO) and L&T are the most preferred brands, followed by Tata Motors and Tata Steel, the report said.

Among MBA and MCA students, it said that Coca-Cola and Bharti Airtel emerged as the preferred employers, followed by Pepsi & Samsung.

Source : TOI

MBA no longer a passport to a successful career, B-shool grads struggle to find good jobs

Rashmi Sanyal (name changed) completed her MBA in financial markets this May from the inaugural 2011-2013 batch of a Mumbai-based institute. She and 40% of her batchmates are yet to land a job.

"I am still hunting," says Sanyal, who spent 4.50 lakh for a two-year programme.

Saloni Kesarwani, who graduated from Amity International Business School last year, didn't have luck with placement either, but eventually landed a job at training and development firm Elements Akademia through personal reference. Many of her friends who managed to get placed started with salaries in the 3-4 lakh range. The MBA cost 9 lakh.

The MBA is no longer a passport to a successful career. Almost two-thirds of graduates passing out every year - barring the handful of top B-schools, including the IIMs - are struggling to find meaningful employment, according to multiple estimates. There is plenty of anecdotal evidence to back this up. Even the IIMs took longer than usual to place their entire batch this year.



Less than 4 lakh students sat for national-level B-School entrance tests (MAT, CAT, XAT, CMAT etc) in 2012-13, compared with a 2008-09 peak of 5 lakh plus, according to AIMA. It also said some estimates suggest that 400-odd startup B-Schools have shut shop during the past year or so.

With the economy in a prolonged slowdown, there is hardly any new job creation in many sectors. But that's not the only reason MBAs are losing sheen. Several surveys suggest the enormous gap between the top MBA colleges in the country and the tier-2, tier-3 and tier-4 colleges in terms of access to research, quality of faculty and their linkages with business and industry.

"Management education is supposed to be built on the strength of these factors and a robust industry interface is lacking at the tier-2, tier-3 colleges," says Naveen Narayanan, global head-talent acquisition at HCL Technologies.

Training and development firm Elements Akademia, which studied 4,000 students across 200 tier-2, 3 and 4 MBA colleges in 20 cities in April this year, found poor corporate interaction, inexperienced faculty members and dismal placements at these institutes.

Problem of Plenty

Several surveys suggest the enormous gap between the top MBA colleges in the country and the tier-2, tier-3 and tier-4 colleges in terms of access to research, quality of faculty and their linkages with business and industry.

"Management education is supposed to be built on the strength of these factors and a robust industry interface is lacking at the tier-2, tier-3 colleges," says Naveen Narayanan, global head-talent acquisition at HCL Technologies.

Training and development firm Elements Akademia, which studied 4,000 students across 200 tier-2, 3 and 4 MBA colleges in 20 cities in April this year, found poor corporate interaction, inexperienced faculty members and dismal placements at these institutes.

Most tier-2 B-schools managed to place only 30-40% graduates. A majority of those who did find jobs started off with a pay of only Rs 12,000-18,000 per month. In 197 of the 200 B-schools, students expressed regret at joining their college.

Source : ET

Bypass Right Click Block on Any Website

Bypass Right Click BlockYou might remember an experience where you tried to right-click on a web page but got a pop-up message saying that the “right-click functionality has been disabled”. Sometimes you may be trying to copy an image or view the source of a web page but when the right-click is disabled, these things would seem impossible. Bank websites and other sites that require a secure transaction such as a payment gateway are the ones to impose this kind of limited functionality on their pages. In this post, I will show you the ways by which you can easily bypass right-click block feature on any website.
In order to block the right-click activity, most websites make use of JavaScript which is one of the popular scripting languages used to enhance functionality, improve user experience and provide rich interactive features. In addition to this, it can also be used to strengthen the website’s security by adding some of the simple security features such as disabling right-click, protecting images, hiding or masking parts of a web page and so on.

How JavaScript Works?

Before you proceed to the next part which tells you how to disable the JavaScript functionality and bypass any of the restrictions imposed by it, it would be worthwhile for you to take up a minute to understand how JavaScript works.
JavaScript is a client side scripting language (in most cases), which means when loaded it runs from your own web browser. Most modern browsers including IE, Firefox, Chrome and others support JavaScript so that they can interpret the code and carry out actions that are defined in the script. In other words, it is your browser which is acting upon the instruction of JavaScript to carry out the defined actions such as blocking the right-click activity. So, disabling the JavaScript support on your browser can be a simple solution to bypass all the restrictions imposed by the website.

How to Disable the JavaScript?

Here is a step-by-step procedure to disable JavaScript on different browsers:

For Internet Explorer:

If you are using IE, just follow the steps below:
  1. From the menu bar, go to Tools -> Internet Options.
  2. In the “Internet Options” window, switch to Security tab and click on the button Custom level…
  3. IE Security Settings
  4. From the Security Settings, look for the option Active scripting and select the Disable radio button as shown above and click on “OK”.
  5. You may even select the Prompt radio button, so that each time a page is loaded, you will have the option to either enable or disable the scripting.

For Google Chrome:

If you are using Chrome, you can disable the JavaScript by following the steps below:
  1. Click on the Chrome “menu” button (on the top right corner) and select Tools.
  2. From the “Settings” page, click on Show advanced settings…
  3. Now under Privacy, click on the button Content settings…
  4. Chrome Content Settings
  5. Under the JavaScript, select the radio button which says “Do not allow any site to run JavaScript” and click on “Done”.

For Mozilla Firefox:

Steps to disable JavaScript on Firefox:
  1. From the menu bar, click on Tools -> Options.
  2. From the Options window, switch to Content tab, uncheck the option which says “Enable JavaScript” and click on “OK”.
  3. Firefox Content Options

How to Bypass the Right Click Block?

In order to bypass the right-click block or any other restriction imposed by JavaScript, all you need to do is just disable it in the browser and refresh the same page, so that it now reloads without JavaScript functionality. You are now free to right-click on the page, view its source or even copy any of the images that you may want to. Don’t forget to re-enable the JavaScript once again when your job is over. Otherwise lack of JavaScript support may result in unusual rendering of web pages.

Thursday, 18 July 2013

TCL

AWK Scripts for Normalized Routing Load/Overhead



Normalized Routing Load (or Normalized Routing Overhead) is defined as the total number of routing packet transmitted per data packet.

It is calculated by dividing the total number of routing packets sent (includes forwarded routing packets as well) by the total number of data packets received.

AWK Script to calculate Normalized Routing Load for Old trace format can be downloaded from the link given below:

AWK Script for Normalized Routing Load - Old Trace Format:


nrl_ot.awk


AWK Script to calculate Normalized Routing Load for New trace format can be downloaded from the link given below:

AWK Script for Normalized Routing Load - New Trace Format:


nrl_nt.awk


If there are any problems encountered in downloading above files, please visit the link given below:

http://www.mediafire.com/?z1c2cxdt1a31d

These scripts work for AODV, DSDV, DSR and OLSR. To use these scripts for other routing protocols, just add the name of that routing protocol in appropriate loop within this script.

Note: Please report any bugs if encountered.

Hope it helps.