Blog

Insights, tutorials, and thoughts on web development and technology.

Difference between the Apache HTTP Server and Apache Tomcat?

Difference between the Apache HTTP Server and Apache Tomcat?

Apache Tomcat is used to deploy your Java Servlets and JSPs. So in your Java project you can build your WAR (short for Web ARchive) file, and just drop it in the deploy directory in Tomcat. So basi...

Apr 16, 2016 · Tushar
How to Start and Stop Solr Server on Localhost.

How to Start and Stop Solr Server on Localhost.

Starting the solr server. You can cd to /path/to/solr-5.0.0/bin and execute the following command: ./solr -p 8983 -s /path/to/solr/home path/to/solr/home is the path where you store your ind...

Mar 29, 2016 · Tushar
Import mysql dump to RDS Db Instance

Import mysql dump to RDS Db Instance

mysql -h host.address.for.rds.server -u rdsusername -p rdsdatabase < backupfile.sql host.address.for.rds.server = this will be what is referred to as the "end point" in your RDS descripti...

Mar 11, 2016 · Tushar
Argument list too long for mv,cp,rm commands (Bash)

Argument list too long for mv,cp,rm commands (Bash)

The reason this occurs is because bash actually expands the asterisk to every matching file, producing a very long command line. Solution find Path/to/source-folder/ -name '*.*' -exec mv {} Path/...

Jan 07, 2016 · Tushar
JNDI Datasource Settings for Amazon Beanstalk with RDS

JNDI Datasource Settings for Amazon Beanstalk with RDS

This post shows how you can configure Tomcat for JDBC Connection to MySQl through JNDI connection pooling. This post assumes that you have already created a site on Amazon Beanstalk and you have an...

Dec 17, 2015 · Tushar