Mar 20
Subversion command line option to switch repository root:
Finally I found the simple way to switch svn repository root for any existing project & checked out using Subversion
Command Line Option:
commandline@yourname$ svn switch --relocate OLD_REPO_URL NEW_REPO_URL
Your are done 🙂
~Ruitu
Feb 04
Solved Solr Issue: FileNotFoundException : Too many open files
While running crawl using SOLR I ran into this issue where “Too Many Open Files” message appears in the logs.
Environment:
Linux: CentOS 4.5
Solr: 1.3
Tomcat: 6.0.10
Somehow this problem seems to be related number of file descriptors allotted to users on Linux system. You can check that by using command
ulimit -n
To change this settings:
- Login as root
- Edit /etc/security/limits.conf
- Add the following entry
“USERNAME” soft nofile 4096
“USERNAME” hard nofile 32768
You are done 🙂
February 4th, 2009 in
Development Tools,
Linux,
Systems |
No Comments |
4,484 views
Jan 22
Nutch 0.9 org.apache.jasper.JasperException:
Development Environment:
Tomcat: 6.0.18
Nutch: 0.9
OS: Mac OS X 10.5.5
JDK: 1.6.07
I did fresh install of Nutch 0.9 and tried to deploy war file under Tomcat. I ran into issue where it started throwing the following exception:
org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value language + “/include/header.html” is quoted with ” which must be escaped when used within the value
Solution:
Edit search.jsp & escape quotes on line 151.
\”/include/header.html\”
And you are done 🙂
January 22nd, 2009 in
Java,
Mac OS,
Nutch - (Crawler),
Tomcat |
No Comments |
2,956 views
Jan 17
I ran into weird issue on Mac OS X with Eclipse
My environment:
OS: Mac OS X 10.5.5
Eclipse: 3.4
JDK: 1.6
I changed my default JDK from 1.5 to 1.6 under (/System/Library/Frameworks/JavaVM.framework/Versions).
Then I tried to open Eclipse & threw the following error
NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjvm.dylib
Finally I found the solution:
Somehow JDK 1.6 is not supported in Apple’s native format for Java. To resolve this issue
Edit the eclipse/Eclipse.app/Contents/Info.plist;
Uncomment the line which points to -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java. And you are done 🙂
January 17th, 2009 in
Eclipse,
Java,
Mac OS |
No Comments |
2,178 views
Dec 11
Enable Colors in Mac OS X Terminal:
By default Mac OS X Terminal doesn’t have color support enabled for differentiating file types. If you are coming from Linux background this is really frustrating thing.
In general Unix system support ls –color option to enable console colors. But I found out that the underlying BSD system for Mac OS X doesn’t support this option. Instead of the color they have -G option.
Finally you can fix this color issue by using following command in the terminal
alias ls=’ls -G’
December 11th, 2008 in
BASH,
Mac OS,
Systems |
No Comments |
2,123 views
Dec 07
Some Unix/Linux users might find it difficult to work without ‘locate’ command on Mac OS X.
Somehow Mac OS (10.5.5) doesn’t have updated database for ‘locate’. You will get following error:
`/var/db/locate.database’: No such file or directory
Here is the solution for enabling locate on Mac OS
sudo /usr/libexec/locate.updatedb
Wait for few minutes & your done.
~Ruitu
December 7th, 2008 in
Mac OS,
Other |
No Comments |
1,838 views
Nov 23
Solved: MP3 Support for XMMS:
Simple way to add MP3 support for XMMS Linux Audio Player:
You are done 🙂
November 23rd, 2008 in
Linux,
Open Source,
Other |
No Comments |
2,599 views
Nov 23
IE4Linux: -Internet Explorer on Linux Under Wine:
I always wanted to access IE on Linux considering some applications are just compatible with IE. Finally I found the simple way to install Internet Explorer on Linux using Wine.
I followed this simple steps for installing internet explorer on Fedora Core 9.
You are done 🙂
November 23rd, 2008 in
Linux,
Other |
No Comments |
6,737 views
Nov 20
KDE EMail Storage Location On Hard Disk
I always wondered from where I can backup or recover my mails accessed using KMail. Here is the location of KMail inbox on your hard drive.
~/.kde/share/apps/kmail/mail/
November 20th, 2008 in
Linux |
No Comments |
1,484 views
Nov 19
Google Voice Search Out for iPhone
Please check out
http://www.google.com/mobile/apple/app.html
November 19th, 2008 in
Free Services,
Random Picks.. |
No Comments |
1,641 views