12/7/12

Install Tomcat 7 on Ubuntu 12.04

Install Tomcat 7 on Ubuntu 12.04


Apache has officially launched version 7.0 of the servlet container for Java applications, Tomcat. Major changes in this version, you can highlight support for Servlet 3.0 and JavaServer Pages 2.2.


Install JDK
See this post: Install JDK 6 update 23 in Ubuntu 10.10

Installation

The first thing to do is download the package "apache-tomcat-7.0.6.tar.gz" from the NEXT link
http://tomcat.apache.org/download-70.cgi [tar.gz]
Now unpack it with the following command:
tar xvzf apache-tomcat-7.0.8.tar.gz

Then we let in a more appropriate directory, in our case in / usr/share/tomcat7, but can be in any directory. We do this with the command:
sudo mv apache-tomcat-7.0.8/ /usr/share/tomcat7

Now we define the environment variables JAVA_HOME and JRE_HOME. This file is in the "environment" in / etc. Command to edit the file:
sudo gedit /etc/environment

Here we record the routes where we have installed Java in my case this is as follows:

JAVA_HOME="/usr/local/jdk1.6.0_23"
JRE_HOME="/usr/local/jdk1.6.0_23/jre"
PATH="...(other path):$JAVA_HOME:$JRE_HOME"
( or we can configure it directly in /etc/environment )
IMPORTANT: Verify the routes where they have installed Java.

I have had some problems in defining these environment variables, as sometimes tomcat does not recognize, but a surefire way of recognizing that tomcat is to define the file paths inside "catalina.sh"located in tomcat7/bin. To modify this file use the command:
sudo gedit /usr/share/tomcat7/bin/catalina.sh

Now just insert the JAVA_HOME and JRE_HOME after the first line, so the file is as follows:
#!/bin/sh
JAVA_HOME="/usr/local/jdk1.6.0_23"
JRE_HOME="/usr/local/jdk1.6.0_23/jre"
# Licensed to the Apache Software Foundation (ASF)...
#...
#...
....

Now let's configure Tomcat users, this is done in the file "tomcat-users.xml"directory tomcat7/conf. Command to edit the file:
sudo gedit /usr/share/tomcat7/conf/tomcat-users.xml

Unlike previous versions where the administrator should own role "manager" now it should be "manager-gui"to operate on the web administration tomcat7. The file would be as follows:

















Now you should be all ready to try tomcat7.

First we must lift the server with the following command:
sudo /usr/share/tomcat7/bin/startup.sh

With this we get the following output on console:
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using JRE_HOME: /usr/local/jdk1.6.0_20/jre
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar

Verify that the JRE_HOME is where we define.

Now open your web browser and type the following url:
http://127.0.0.1:8080/

So we get the following page:

If we enter the administration Tomcat Manager we click on the menu or directly at URL:
http://127.0.0.1:8080/manager/html

Here we ask the user data from previous record in mind tomcat-users.xml.

I recommend testing the sample to make sure everything works ok, they are in the section "Miscellaneous" from the side menu or at the URL:
http://127.0.0.1:8080/examples/

Commands

Start server:
sudo /usr/share/tomcat7/bin/startup.sh

Stop server:
sudo /usr/share/tomcat7/bin/shutdown.sh

Automatic Starting

To make tomcat automatically start when we boot up the computer, you can add a script to make it auto-start and shutdown.


sudo gedit /etc/init.d/tomcat7

Now paste in the following:


# Tomcat auto-start
#
# description: Auto-starts tomcat
# processname: tomcat
# pidfile: /var/run/tomcat.pid

case $1 in
start)
sh /usr/share/tomcat7/bin/startup.sh
;;
stop)
sh /usr/share/tomcat7/bin/shutdown.sh
;;
restart)
sh /usr/share/tomcat7/bin/shutdown.sh
sh /usr/share/tomcat7/bin/startup.sh
;;
esac
exit 0

You’ll need to make the script executable by running the chmod command:


sudo chmod 755 /etc/init.d/tomcat7

The last step is actually linking this script to the startup folders with a symbolic link. Execute these two commands and we should be on our way.


sudo ln -s /etc/init.d/tomcat7 /etc/rc1.d/K99tomcat
sudo ln -s /etc/init.d/tomcat7 /etc/rc2.d/S99tomcat

Tomcat should now be fully installed and operational. Enjoy!

sudo /etc/init.d/tomcat7 restart

9/6/12

EMAIL SIGN-OFF CONSIDERATIONS


EMAIL SIGN-OFF CONSIDERATIONS

The topic of how to sign-off an email is one that has perplexed and concerned many a Netizen. Those who are concerned about being perceived favorably wonder how to sign-off with the appropriate tone, close with the intended meaning getting across as well as how not to look redundant by always including the same closing.
First things first. All sign-offs need to include your name. Whether you include your first name alone or first and last name is dependent on the level of formality in your email. For first time contacts you can include your last name, but in subsequent communications that isn’t necessary. If you have your email program setup properly, your last name is in the From: field.
Not only does how you sign your name set the tone of an email, so does how you choose to sign-off. Some have their own way of signing off that reflects individuality or their personality. For example I am known for signing off my emails with “At your service,” or “Virtually,”. If you see anyone else using these closings, you now know where they got it from!
Then there are the most popular:
Best,

Cheers,

Yours,

Cordially,

Regards,

Best regards,

Best wishes,

Sincerely,

Kindest regards,

Warmest regards,

I remain yours truly,

Warmly,

Thanks again,

My sincere thanks for your time and consideration,

Take care,

Continued success,
As with anything to do with email, use your discretion as to what is best for that particular message. For example, you wouldn’t use “I remain yours truly” in business communications, but you would use that closing with someone you admire, like or would like to have a friendly email relationship with. Whereas “Regards,” is the other end of the scale. Very professional, unemotional and depending on the content of the email could be perceived as a terse closing.
One must take the time to choose a sign-off that is indicative of the overall tone of your email. A sign-off that does not match the essence of the email’s text can be perceived as being sarcastic or down right rude. For example, I doubt if you were sending a professionally stern email that you would sign off with “Warmly!”
And that is the dilemma we all face when writing and closing our emails. Using our discretion to determine the best words to use to relay the exact tone and intent with clarity to avoid misunderstandings. From how you open your email with a salutation to the content and then the sign-off, all parts of your email are a component that contributes to the overall interpretation of your message.
Most onliners are not clear communicators. If you think about it we haven’t had to rely on communicating with the written word in decades. Just a mere century ago people wrote letters daily. This meant choosing their words carefully and thoughtfully to communicate the emotion and intent of their writings. Now, fast forward to this century and many emails appear to be written by someone who didn’t make it out of grade school!
The above examples are not the end-all-be-all either. Your sign-off isn’t exclusively the words above your name separated by a comma. You can also use phrases that reflect the purpose of your email as well. Some examples could be:
Good Job!

All the best of success!

Have a great day!

Happy Holidays!

Keep up the good work!

Thank you!

Thank you for your quick response.

Thank you for taking your time.

Looking forward to your reply.

Enjoy your weekend!

HTH! (Hope This Helps!)

Have a good one!
Your closing, while very important, is only the icing on the cake. It needs to be inline with the overall tone and demeanor of your email to ensure that your message is received as intended and leaves no room for misunderstandings or incorrect perceptions.
By taking your time and choosing your words carefully your sign-offs will just be one more indicator of what a pleasure it will be to communicate with you.
Help get the word out by sharing! ;-)

6/6/12

IPv6

What if the Internet ran out of room?
In fact, it's already happening.


Vint Cerf, Chief Internet Evangelist at Google, and a founding father of the Internet, discusses the next version of the Internet, IPv6, and why we need it.

Why is the internet running out of room?

Just as phones use a system of phone numbers in order to place calls, every Internet-connected device gets a unique number known as an "IP address" that connects it to the global online network.
The problem is that the current Internet addressing system, IPv4, only has room for about 4 billion addresses -- not nearly enough for the world's people, let alone the devices that are online today and those that will be in the future: computers, phones, TVs, watches, fridges, cars, and so on. More than 4 billion devices already share addresses. As IPv4 runs out of free addresses, everyone will need to share.
IPv6 Graph

How are we making space to grow?

Clearly the internet needs more IP addresses. How many more, exactly? Well, how about 340 trillion trillion trillion (or, 340,000,000,000,000,000,000,000,000,000,000,000,000)? That's how many addresses the internet's new "piping," IPv6, can handle. That's a number big enough to give everyone on Earth their own list of billions of IP addresses. Big enough, in other words, to offer the Internet virtually infinite room to grow, from now into the foreseeable future.

When is the transition happening?

At Google we believe IPv6 is essential to the continued health and growth of the Internet and that by allowing all devices to talk to each other directly, IPv6 enables new innovative services. Replacing the Internet's plumbing will take some time, but the transition has begun. World IPv6 Launch on June 6, 2012, marks the start of a coordinated rollout by major websites and Internet service and equipment providers.
You do not need to do anything to prepare, but if you're interested in learning more and supporting IPv6, check out a few frequently asked questions.

5/26/12

Awesome Duplicate Photo Finder

Awesome Duplicate Photo Finder

Awesome Duplicate Photo Finder is a free powerful tool, that helps you to find and remove duplicate photos on your PC. With this program you can easily clean up your photo collection from duplicates or even similar images.
Awesome Duplicate Photo Finder is a completely FREE Software. It contains absolutely NO ADWARE, NO SPYWARE, NO REGISTRATION, NO POPUPS, NO MALWARE or other unwanted software.

This program is very easy to use. You can do all you need with duplicate photos in just a couple of mouse clicks. Awesome Duplicate Photo Finder is able to compare pictures that was resized or pictures with corrected colors (black and white photos etc.). It supports all major image types: JPG, BMP, GIF, PNG.

To start playing just drag some folders from the Windows Explorer into the program's window and click "Start" button. And have fun!
Download Awesome Duplicate Photo Finder

5/23/12

Android Sync Manager WiFi

Software Download
For using Android Sync Manager, you must download the two software below:
1. Install Android Sync Manager WiFi on PC Android Sync Manager WiFi
(Latest Android Sync Manager WiFi Version: 2.2.1110.2763)
Please click "Help > About Android Manager" on your PC software to check the version of Android Sync Manager WiFi software"
2. Install Android Sync Manager WiFi Agent on your Android phone, you can download from any one of the download links below.
a. [Download from Android Market] Recommended
Please go to Apps > Tools to search and install the Android Sync Manager WiFi software.

(Latest Android Sync Manager WiFi agent Version: 2.2.1110.2763)
Please open Android Sync Manager WiFi agent on your Android phone, and then click "About" button to check the version of Android Sync Manager WiFi agent"

b. [Download from Mobile Action]
Please input the link below on your Android phone to download it
http://ds.mobileaction.com/android/amagentwifi.apk
(Latest Android Sync Manager WiFi agent Version: 2.2.1110.2763)
zoon-in when you click the this

Quick Installation Guide
 
Android Sync Manager can be easily set up within 5 simple steps:
Step1. Install Android Sync Manager on PC


Step2. Install Android Sync Manager Agent on handset
a. [Download from Android Market] Recommended
Please go to Apps > Tools to search and install the Android Sync Manager WiFi software.
b. [Download from Moible Action]

  • On your handset, please go to: Settings > Applications, and enable Unknown sources.



  • On your Android phone, open your browser and directly input the download link (http://ds.mobileaction.com/android/amagentwifi.apk) to download Android Sync Manager Agent.
  • Locate the downloaded file in "Download history", and click to start installation.




Step3. Launch Android Sync Manager Agent on handset

  • Open Android Sync Manager Agent after installation is completed.
  • On the Welcome page, click Next button to get into Android Sync Manager Settings page, and complete configurations required for WiFi connection:
PIN Code: Set up a PIN code for connection to PC. This code must be entered on both PC and handset to establish connection.
Idle timeout: Set up a time period to be waited before WiFi connection is turned off for power saving.




  • Return back to the main connection page, and make sure your handset is connected to a wireless access point.


Step4. Start connection with handset
On Android Sync Manager, go to: Settings > Connection, and enter the PIN code previously set up in your handset and the connected WiFi IP address.





Step5. Verify connection on handset
On your handset screen, verify whether connection between PC and handset is successfully established.

If WiFi Sync happens to be off, click it again to start establishing connection.
Accordingly, PC and handset should be connected immediately within a few seconds.




Note:Android Sync Manager Agent will turn off WiFi connection automatically after program has been idle for a while, for the sake of power saving. To resume WiFi connection, please return to your handset screen and press WiFi ON.

5/12/12

Webster Voice Package English

Webster Voice Package English 

http://www.mediafire.com/?ky1jynwviiz
http://www.mediafire.com/?tz1ql22zmdx
http://www.mediafire.com/?ytzemjzey5g

(http://www.lingoes.net/en/translator/speech.htm)

Install Natural Voice package
The way is very easy, open the folder named speech in "installation folder of Lingoes", and create a new folder in it with name of the natural voice, then unzip the downloaded natural voice package into the new folder.
If you want to uninstall some one package, just del the folder of the package.
Now we demonstrate the installation method to take Lingoes Basic English Voice Package for example:
1. First, create a new folder named "Lingoes English" in speech folder of installation folder of Lingoes, the path is:

    Installation folder of Lingoes\speech\Lingoes English\ 2. Download the zip file of Lingoes Basic English Voice Package, then unzip all files and folders in the zip file into the new folder.
3. Then choose "Lingoes English" in the list of "Configuration"→"Speech"→"Natural Voice Engine"→"Voice"
4. After install/change the package, remember to click the button "Rebuild Index file", so lingoes will rebuild a index file for every voice package correctly, it will improve and speed up rate of search and play the natural voice.

 

ETL tools comparison criteria

ETL Tools - general information

ETL tools are designed to save time and money by eliminating the need of 'hand-coding' when a new data warehouse is developed. They are also used to facilitate the work of the database administrators who connect different branches of databases as well as integrate or change the existing databases.
    The main purpose of the ETL tool is:
  • extraction of the data from legacy sources (usually heterogenous)
  • data transformation (data optimized for transaction --> data optimized for analysis)
  • synchronization and cleansing of the data
  • loading the data into data warehouse.
There are several requirements that must be had by ETL tools in order to deliver an optimal value to users, supporting a full range of possible scenarios.

Those are:
- data delivery and transformation capabilities
- data and metadata modelling capabilities
- data source and target support
- data governance capability
- runtime platform capabilities
- operations and administration capabilities
- service-enablements capability.

ETL tools comparison criteria

The research presented in this article is based on Gartner’s data integration magic quadrant, forrester researches and our professional experience. The etltools.org portal is not affiliated with any of the companies listed below in the comparison.

The research inclusion and exclusion criteria are as follows:
- range and mode of connectivity/adapter support
- data transformation and delivery modes support
- metadata and data modelling support
- design, development and data governance support
- runtime platform support
- enablement of service and three additional requirements for vendors:
- $20 milion or more of software revenue from data integration tools every year or not less than 300 production customers
- support of customers in not less than two major geographic regions
- have customer implementations at crossdepartamental and multiproject level.

ETL Tools Comparison

The information provided below lists major strengths and weaknesses of the most popular ETL vendors.

IBM (Information Server Infosphere platform)

    Advantages:
  • strongest vision on the market, flexibility
  • progress towards common metadata platform
  • high level of satisfaction from clients and a variety of initiatives
    Disadvantages:
  • difficult learning curve
  • long implementation cycles
  • became very heavy (lots of GBs) with version 8.x and requires a lot of processing power

Informatica PowerCenter

    Advantages:
  • most substantial size and resources on the market of data integration tools vendors
  • consistent track record, solid technology, straightforward learning curve, ability to address real-time data integration schemes
  • Informatica is highly specialized in ETL and Data Integration and focuses on those topics, not on BI as a whole
  • focus on B2B data exchange
    Disadvantages:
  • several partnerships diminishing the value of technologies
  • limited experience in the field.

Microsoft (SQL Server Integration Services)

    Advantages:
  • broad documentation and support, best practices to data warehouses
  • ease and speed of implementation
  • standardized data integration
  • real-time, message-based capabilities
  • relatively low cost - excellent support and distribution model
    Disadvantages:
  • problems in non-Windows environments. Takes over all Microsoft Windows limitations.
  • unclear vision and strategy

Oracle (OWB and ODI)

    Advantages:
  • based on Oracle Warehouse Builder and Oracle Data Integrator – two very powerful tools;
  • tight connection to all Oracle datawarehousing applications;
  • tendency to integrate all tools into one application and one environment.
    Disadvantages:
  • focus on ETL solutions, rather than in an open context of data management;
  • tools are used mostly for batch-oriented work, transformation rather than real-time processes or federation data delivery;
  • long-awaited bond between OWB and ODI brought only promises - customers confused in the functionality area and the future is uncertain

SAP BusinessObjects (Data Integrator / Data Services)

    Advantages:
  • integration with SAP
  • SAP Business Objects created a firm company determined to stir the market;
  • Good data modeling and data-management support;
  • SAP Business Objects provides tools for data mining and quality; profiling due to many acquisitions of other companies.
  • Quick learning curve and ease of use
    Disadvantages:
  • SAP Business Objects is seen as two different companies
  • Uncertain future. Controversy over deciding which method of delivering data integration to use (SAP BW or BODI).
  • BusinessObjects Data Integrator (Data Services) may not be seen as a stand-alone capable application to some organizations.

SAS

    Advantages:
  • experienced company, great support and most of all very powerful data integration tool with lots of multi-management features
  • can work on many operating systems and gather data through number of sources – very flexible
  • great support for the business-class companies as well for those medium and minor ones
    Disadvantages:
  • misplaced sales force, company is not well recognized
  • SAS has to extend influences to reach non-BI community
  • Costly

Sun Microsystems

    Advantages:
  • Data integration tools are a part of huge Java Composite Application Platform Suite - very flexible with ongoing development of the products
  • 'Single-view' services draw together data from variety of sources; small set of vendors with a strong vision
    Disadvantages:
  • relative weakness in bulk data movement
  • limited mindshare in the market
  • support and services rated below adequate

Sybase

    Advantages:
  • assembled a range of capabilities to be able to address a mulitude of data delivery styles
  • size and global presence of Sybase create opportunities in the market
  • pragmatic near-term strategy - better of current market demand
  • broad partnerships with other data quality and data integration tools vendors
    Disadvantages:
  • falls behind market leaders and large vendors
  • gaps in many aspects of data management

Syncsort

    Advantages:
  • functionality; well-known brand on the market (40 years experience); loyal customer and experience base;
  • easy implementation, strong performance, targeted functionality and lower costs
    Disadvantages:
  • struggle with gaining mind share in the market
  • lack of support for other than ETL delivery styles
  • unsatisfactory with lack of capability of professional services

Tibco Software

    Advantages:
  • message-oriented application integration; capabilities based on common SOA structures;
  • support for federated views; easy implementation, support andperformance
    Disadvantages:
  • scarce references from customers; not widely enough recognised for data integration competencies
  • lacking in data quality capabilities.

ETI

    Advantages:
  • proven and mature code-generating architecture
  • one of the earliest vendors on the data integration market; support for SOA service-oriented deployments;
  • successfully deals with large data volumes and a high degree of complexity, extension of the range of data platforms and data sources;
  • customers' positive responses to ETI technology
    Disadvantages:
  • relatively slow growth of customer base
  • rather not attractive and inventive technology.

iWay Software

    Advantages:
  • offers physical data movement and delivery; support of wide range of adapters and access to numerous sources;
  • well integrated, standard tools;
  • reasonable ease of implementation effort
    Disadvantages:
  • gaps in specific capabilities
  • relatively costly - not competitive versus market leaders

Pervasive Software

    Advantages:
  • many customers, years of experience, solid applications and support;
  • good use of metadata
  • upgrade from older versions into newer is straightforward.
    Disadvantages:
  • inconsistency in defining the target for their applications;
  • no federation capability;
  • limitated presence due to poor marketing.

Open Text

    Advantages
  • Simplicity of use in less-structured sources
  • Easy licensing for business solutions
  • cooperates with a wide range of sources and targets
  • increasingly high functionality
    Disadvantages:
  • limited federation, replication and data quality support; rare upgrades due to its simplicity;
  • weak real-time support due to use third party solutions and other database utilities.

Pitney Bowes Software

    Advantages:
  • Data Flow concentrates on data integrity and quality;
  • supports mainly ETL patterns; can be used for other purposes too;
  • ease of use, fast implementation, specific ETL functionality.
    Disadvantages:
  • rare competition with other major companies, repeated rebranding trigger suspicions among customers.
  • narrow vision of possibilities even though Data Flow comes with variety of applications.
  • weak support, unexperienced service.