How to solve port conflict of glassfish Server in Netbeans 8.0.2

The  web developers or software developers might have faced issue of port conflicting.

When we installed the IDE(Integrated Development Environment) for the development of software , some of the IDE also installed the required applications required to run or test the program written. The one of the IDE required applications are local Server.

Some of the popular IDE Netbeans also allow the developer and engineers to install local Server like Glassfish, Tomcat , JBoss etc.By default while installing them certain Ports are assigned to them. In the same system , Developer may require the Database Server.

If we install them one after another ,Ports conflict can be resulted.Port conflicts are occurred when the one of the recently installed server may take the Port of another.

If we install the  GlassFish and Oracle Database  in the same system, it results in Port conflict. Because by default GlassFish and Oracle Server use same Port  8080.

Here we have the smart solution to resolve this conflict by changing the port number of Glass Fish Server at different port number to avoid Port Conflict.

Continue reading How to solve port conflict of glassfish Server in Netbeans 8.0.2

How to take 1 hour gym workout from Busy schedule ?

Its been nearly 1 month I moved to New Jersey from New York due to official work. I want to make myself busy and started to think of doing new thinks with this new place. After of couple of weeks the office start , I came to know that there is a free GYM facilities for the staff which is ABSOLUTELY FREE. So why shouldn’t I utilize this. So I thought of going to GYM to kill the time and this will have huge impact on my health too.Pedaling in 1 hour GYM WORKOUT

Its been two days since I started to go for GYM.This is my first GYM experience entire life. That’s why I want to memorize this.
One quote “Health is wealth” is always tumbling around my mind.Though We all are busy in our own busy life we must have to take care of our health.It is very important to join gym for our health.Though we are bg in whole day but we have to take 1 hours for the Fitness. I usually go to gym in evening.I spend nearly 1 hour in doing exercises.The first day was basic exercise but I learned a lot and I had well introduction to most of the equipment.Running Gym Equiment - New Jersey

I did pedaling  for 10 mins and covered 0.45 miles with average speed of 2.25.Then I did running for about 20:17 mins resulting 1.45 miles.The last exercise was bicycle for approximately 5 mins resulting distance of 0.80 miles .

I felt happy from today’s achievement and hope I will continue everyday.
Happy Blogging ! Happy Life and Stay Healthy !!!

How to count gameobjects by Tag in unity3D with C# ?

I was simulating the Monte Carlo Method for my assignment on course Game Based Simulation using Unity 3D.  I want to count the instantiated game objects. Though there are other methods like OnTriggerEnter(Collider other). But this method did not worked pretty well. The next method I want to try is to count the game object by their tag name. The process of implementing the code is like below.

First define game object class in public are like this

 

using UnityEngine;
using System.Collections;
using System.IO;
public class countfox : MonoBehaviour {
public int count_fox;
//public int count_rabbit;
public int count_rabbitNEW;
StreamWriter sw;
GameObject [] rabbit;
GameObject [] fox;

void Start(){
sw = new StreamWriter(“count_fox.txt”);
}

void Update(){

rabbit = GameObject.FindGameObjectsWithTag(“rabbit”);
count_rabbitNEW = rabbit.Length;
sw.WriteLine(” ” + count_fox+” “+ count_rabbitNEW+” “+System.DateTime.Now, true);
sw.Flush();

fox = GameObject.FindGameObjectsWithTag(“fox”);
count_fox= fox.Length;
if (count_fox == 0) {
Debug.Break ();

// Application.Quit ();
}
}

}

One of the Most popular programming language in USA

java-mini-logo-500x500

Although there are many  programming languages but in USA most popular one is JAVA. We can use this language even if we have little knowledge of C/C++ . The Syntax of JAVA is similar to C/C++. The OOPs concepts will definitely helps the beginners to  start their carrier  in the JAVA Program.

Continue reading One of the Most popular programming language in USA

How to Fix Authentication Failed for Gmail Account Error in Opera Mail Client (100 % working)

In this article I will explain how to fix “The server respinded:Please log in via your web browser: http://support.google.com/mail/accounts/bing/answer.py?answer=78754 (Failure)” error in Opera mail client.

This is the common you may get while trying to import your gmail email in third party email client. We know , Gmail is a great tool. I  have more than 15 gmail accounts which I need to check very often.I was using Microsoft Outlook as email client before. Due to high memory consumption by outlook I was searching for the extremely light weight email client. Googlging for few hours I planned to installed Opera Mail client. The download size is approximately 11 mb.

After installing Opera mail Client , I tried adding my gmail accounts but could not authenticate with the server even though all credentials are correct. I have enabled my IMAP as well as POP. The error thrown by the opera mail client looks like

Authentication failed Open gmail imap error

 

I googled to fix the error but was diffult to find the exact solution.The most of the solution found on the internet mention to try the following link.

https://accounts.google.com/b/0/DisplayUnlockCaptcha

For my case this link did not worked. And I digg more with different keywords and found the solution. The solution is very easy. Login your gmail account from the browser and navigate to the account settings. Then click on the Security tab followed by Settings in Account Permissions.

Enable third party app for gmail

The intial setting will be disable. So change this setting to enable. Doing so Opera Mail App now will be able to authenticate your gmail account from the app as well as from browser.

Access for less secure apps gmail

 

What’s new in HTML 5?

To know about HTML 5 , we  have to know first know general knowledge or concept  about the HTML.

HTML is a markup language for describing web documents (web pages).

  • HTML stands for Hyper Text Markup Language
  • A markup language is a set of markup tags
  • HTML documents are described by HTML tags
  • Each HTML tag describes different document content

HTML documents are made up by HTML elements.

HTML Elements

HTML elements are written with a start tag, with an end tag, with the content in between:

<tagname>content</tagname>

The HTML element is everything from the start tag to the end tag:

Example:<p>My first paragraph.</p>

Continue reading What’s new in HTML 5?

How to install Zend Framework 2 in xampp

Here are some new features find in Zend Framework 2.
Some highlights:
1.An entirely re-written event-driven MVC layer
2.Components practice dependency injection, supported by our Service Locator and DiC components
3.A powerful module management system
4.An EventManager, for writing event-driven systems, as well as for creating cut points in your software for introducing cross-cutting concerns.
5.A new view layer, architected around analyzing the request and generating a suitable response, be it plain old HTML, or Atom feeds or JSON.

Steps to install ZF2 in xampp .

1) Download the xampp server from apache website.

https://www.apachefriends.org/download.html
xampp

Continue reading How to install Zend Framework 2 in xampp

IPhone 6

iphone6

Apple has launched two new iPhones, the 4.7-inch iPhone 6 and the 5.5-inch iPhone 6 Plus. Along with larger screens and a completely new iPad-style design with an ultra thin body and rounded corners, the two new phones offer faster processors, better cameras, and Apple’s new Apple Pay payment system.

Apple’s new iPhones are available in Gold, Silver, and Space Gray, and are available in 16, 64, and 128 GB capacities. The iPhone 6 pricing starts at $199 on contract, while the iPhone 6 Plus pricing starts at $299. Continue reading IPhone 6

Manicure and Pedicure for both men and women in USA

Like a great new haircut or a terrific skin care , healthy, well-manicured nails are an integral part of a neat, pulled-together appearance – one that can work as an asset in both the social and the business world.Unfortunately, experts say both men and women fall prey to myths and old wives’ tales about how to care for nails. Another pitfall: many of us rely on the guidance of salons, some of which may not be doling out the best advice — or treatments.To help set the record straight — and get you on the road to beautiful nails — three top dermatologists offer these 12 tips for achieving healthy, well groomed, elegant nails.To make nails more delightful we have to use a regular manicure and pedicure for both men and women.We can get a different style for doing this type by their own ideas .Below is the picture for pedicure
.IMG_20140916_141200        IMG_20140916_141242      IMG_20140916_141151
There is a many types of pedicure like Regular pedicure , Jelly Pedicure and Aroma Pedicure.The most of people usually do the Regular Pedicure because it is cheap and affordable . It cost only $15.Other type of pedicure will cost high as $29 .