Got this at the very end of the java file.
I have solved this one only by removing and reentering new line sign after class definition in that file.
Many other strange errors can be solved this way.
Wednesday, 1 July 2009
Friday, 6 February 2009
Eclipse Tomcat in more than 45 seconds
Do you have some web application that cannot be started in Eclipse's Tomcat in 45s, and you get that annoying time out message?
- Go to Windows > Preferences in Eclipse
- Search for Server
- Set Server timeout delay at you're own will
Preference TimeOutSource: https://bugs.eclipse.org/bugs/show_bug.cgi?id=151993
Shorter 11s
Short 22s
Normal 45s
Long 90s
Longer 180s
Unlimited unlimited
Friday, 16 January 2009
Debugging log4j itself
Problem: You cannot find out which log4j.properties file is used.
Try running VM with parameter
-Dlog4j.debug
You'll get info about log4j properties in console.
See: http://logging.apache.org/log4j/1.2/manual.html
Try running VM with parameter
-Dlog4j.debug
You'll get info about log4j properties in console.
See: http://logging.apache.org/log4j/1.2/manual.html
Saturday, 29 November 2008
Window's hosts file
For Vista it is: C:\Windows\System32\drivers\etc\hosts
Write in IP adress map it to some symbolic address of your choice. One IP can have many lines - so it can has many different symbolic adresses.
Or you can download HostsXpert from this page:
http://www.mvps.org/winhelp2002/hosts.htm#Related
Write in IP adress map it to some symbolic address of your choice. One IP can have many lines - so it can has many different symbolic adresses.
Or you can download HostsXpert from this page:
http://www.mvps.org/winhelp2002/hosts.htm#Related
Friday, 21 November 2008
Install SVN on Debian
adduser subversion
apt-get install subversion
mkdir /var/svn-repos
svnadmin create --fs-type fsfs /var/svn-repos/directory
chown -R www-data:subversion /var/svn-repos/*
chmod -R 770 /var/svn-repos/*
Then create users for SVN, and set their default group to subversion.
apt-get install subversion
mkdir /var/svn-repos
svnadmin create --fs-type fsfs /var/svn-repos/directory
chown -R www-data:subversion /var/svn-repos/*
chmod -R 770 /var/svn-repos/*
Then create users for SVN, and set their default group to subversion.
Subscribe to:
Posts (Atom)

