Author Archives: nitingautam

About nitingautam

I am Sr. Developer Analyst (Java/J2EE) with a MNC located @ Gurgaon.

Rename log4j.properties

Some time the need arises to have our log4j.properties with different name. By default, if no other configuration is given, log4j will search your classpath for a 'log4j.properties' file. Now to use your own named log4j property add the following … Continue reading

Posted in HowTo, Java, log4j | Leave a comment

HSQLDB : java.sql.SQLException: User not found: SA

While running HSQLDB in standalone mode you may face the error   java.sql.SQLException: User not found: SA This is because while creating the DB using script file you are not creating the user CREATE USER SA PASSWORD "" The above … Continue reading

Posted in Database, hsqldb, Java, Troubleshoot | Leave a comment

Nokia E71 Memory card not detected as disconnects from PC Suite

Few days back I purchased a New E71. I face a weired issue with the phone when ever I connect to PC Suite via USB and after work  disconnects it from USB It stop reading Memory card. After restart the … Continue reading

Posted in Mobile, Troubleshoot | 2 Comments

org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV

Today while running following  JSP <%@ page session="false"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <c:redirect url="/index.htm"/> I was hitting a error  org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV  I checked my classpath and found … Continue reading

Posted in Java, Troubleshoot | Leave a comment

DB2 SQL0407N : Assignment of a NULL value to a NOT NULL column “TBSPACEID=2, TABLEID=26, COLNO=0″ is not allowed.

SQL0407N Assignment of a NULL value to a NOT NULL column name is not allowed. If you encounter this error and If the value for name is of the form “TBSPACEID=n1, TABLEID=n2, COLNO=n3”, you can determine the table name and … Continue reading

Posted in Database, DB2 | Leave a comment

: bad interpreter: No such file or directory

Today I was running a Shell Script on linux server that I uploaded from windows OS to Solaris machine.When I initiated that script I get ": bad interpreter: No such file or directory" error on the command line. Some History … Continue reading

Posted in linux, Troubleshoot | Leave a comment

Spring cross site scripting XSS issues solution

XSS (Cross-site Scripting) is one of the most common vulnerabilities with a web-application. And, it can be exploited by hackers very easily without using any sophisticated tool. How does it work? Most web-applications have forms (text-box etc.) to receive input-data … Continue reading

Posted in Articles, Java | 5 Comments

How To: Read web/META-INF/MANIFEST.MF in Web Application

Hi All,  As you all know In web application inside web directory there is a META-INF directory. Inside which we have MANIFEST.MF that holds version information. I have to read the MANIFEST.MF from this directrory. Need the manifest info for … Continue reading

Posted in HowTo, Java | 2 Comments

svnant: java.lang.NoClassDefFoundError: com/trilead/ssh2/InteractiveCallback

Today I was integrating svn with ant using svnant plugin. I encountered the error java.lang.NoClassDefFoundError: com/trilead/ssh2/InteractiveCallback  Basically I was operating on SSH layer so it needs a additional support for connecting to the server. this is looking for trilead-ssh2-build213.zip that … Continue reading

Posted in Java, Troubleshoot | 2 Comments

How to Delete .SVN folders in Linux and Windows

Hi all, Yesterday I got a code for study that was actually maintained inside Subversion. The code I get was not a exported copy of subversion, because of this I get a deep hierarchy of code included ".svn" folder in … Continue reading

Posted in Articles, HowTo | Leave a comment