Wednesday, January 2, 2013

Eclipse Throwing Errors running builder 'JavaScript Validator' on project

I have came across the Javascript validation throwing error everytime when i save any file in the project.

Below is the one to fix it.

Project -> Preferences -> builders -> you should see the Javascript Validator, you need to disable it..

Thats it... you are done.

Wednesday, November 21, 2012

Converting xml to xsd

I have been working on JAXB project and lots of time i come across converting the xml to XSD, I have found a few interesting sites which does that pretty simple on online.

1. Great and simple to use: http://www.freeformatter.com/xsd-generator.html

2. Copy and paste the XML document into the field

3. Click generate the XSD

Hope you enjoyed it...

All the best.

Facts of a nation in the world

A Largest democracy in the World.
A Nation found on top of Peace.
A Nation has a vibrant unbiased Mass Media.
A Nation always stands against the Killing and innocent woman or children that may be in any part of the world whether it is in Gaza or Pakistan or Afghanistan
A Nation which has the history of 12,000 Years in the face of the world

Yes you may be wondering which is the nation... Yes it is INDIA.

Today,

A woman who expressed her views on halting a city or state for a death of a person (no matter who he is or what he did) in a very very acceptable democratic way has been arrested saying some unjust reason. 

Interesting facts of India:
A bunch of college students has not been FIR'ed even for burning a Indian flag in the Indian soil for unjust reasons.

A bunch Terrorist(Kasab, Afsal Guru, etc) who committed killing of 100's of innocent Indians has been kept alive in India even after every India asked to hang him. Saying they have to be given rights to defend themselves because this is a democratic process.

I can extend this list for a long, but in indent to keep it short.

Two small little girls, has been arrested because of registering her thoughts in a very democratic way. Thank god, Media got into the act and stopped aggression against her.

DEMOCRACY NEEDS TO BE RESTORED IN INDIA
WELL DONE INDIA, 

Saturday, November 26, 2011

How to Change HOST file in Windows 7

Windows 7 and Windows Vista wont allow you to change the system specific files. But we do have one work around to change those files.

In this example we are going to see how to change the system specific file "host" which is present in the C:\windows\system32\drivers\etc\

1. Click the Start menu
2. Click All Programs
3. Click Accessories
4. Right Click on "Notepad"
5. Select "Run as Administrator"
6. Open the host file and now you are done and you can change the file content.

How to Change HOST file in Windows 7

Windows 7 and Windows Vista wont allow you to change the system specific files. But we do have one work around to change those files.

In this example we are going to see how to change the system specific file "host" which is present in the C:\windows\system32\drivers\etc\


Steps:
1. Click the Start menu
2. Click All Programs
3. Click Accessories
4. Right Click on Notepad and select "Run as Administrator"
5. Now open the "C:\windows\system32\drivers\etc\host" file


you are all set and now you should be able to change and save the file.

Integrating Apache HTTPD Server with Tomcat

Integrating the Apache HTTPD Server and Tomcat is common these days and i thought of sharing the step by step of how to do with the online community.

Step 1:
Download Apache 2.2.X from Apache Web Site:
Step 2:
Download Apache Tomcat 7.X from Apache Web Site
Step 3:
Download MOD_JK Connector from Apache Web Site:
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.32-windows-i386-httpd-2.2.x.zip

With the above said steps Download is complete



Step 4:
Install Apache HTTPD Server and Apache tomcat in Windows Maching

Step 5:
Unzip the Mod_JK file and rename the .so file to mod_jk.so

Step 6:
Save the renamed mod_jk.so file into /modules/


Step 7:
Load the MOD_JK Module /conf/httpd.conf file

>>>
LoadModule jk_module modules/mod_jk.so
<<<
Run Step 10 before proceeding to next step to Verify The below steps are performed Fine


Step 8: 
Mount and Configure JK Module in "conf/httpd.conf"
>>>>>>>>>>>>
# JK Module Configuration
JkWorkersFile conf/worker.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug

# JK Mount Configuration

JkMount /Or5e apj13
JkMount /Or5e/* apj13
<<<<<<<<<<<<<<

Step 9: 
Create the worker file "conf/worker.properties"
>>>>>>>>>>>>>>>>>

worker.list=apj13
# Check the Tomcat configuration to get this 8009 port
# In the tomcat conf/server.xml check for 
#
# USE THAT PORT HERE.
worker.apj13.port=8009
worker.apj13.host=localhost
worker.apj13.type=ajp13
<<<<<<<<<<<<<<<
Run Step 10 before proceeding to next step to Verify The below steps are performed Fine

Step 10: 
Restart the Apache and see if it works fine or not. If it works fine you are all set.

Step 11: 
Start the Tomcat "/bin/startup.bat

Step 12:
Open browser and type "http://localhost/Or5e, It should open the Application running in the tomcat

Happy reading and configuration.

Wednesday, June 8, 2011

iCloud - No need to have PC or MAC if you want to buy IPhone or IPod or IPad

Hello Guys,

This is one of the very busy announcement made by Apple. I am really exited to see how this iPod and iPhone and iPad work over the Air without the need to having a PC between them.

Looks like iCloud will replace the PC for syncing the Apple Post PC Devices and MAC as well. iCloud has been integrated to the below applications
1. App Store - Sync and download applications between every devices.
2. iTunes - Sync the music between devices
3. iBook - Sync the Books purchased between devices
4. Contacts - Sync the Contacts between devices
5. Mail - Sync the Mail and calendar between devices
6. Messaging - Sync the message between devices
7. Documents - sync the documents between devices
8. Camera - Sync the Photos between devices

Almost all the data is getting synced every now and then we have new changes in those. One more interesting topic, they are taking backup everyday.

From this fall, the next generation technology will be available in all the apple devices to face the challenge of the new Future.

Well done Apple Keep Going....