RSS feed
All(28) Eclipse(4) Java(5) JDBC(5) JSP(3) Maven(7) Personal (1) Spring(3) Tomcat(5)
<< Previous | Home | Next >>

How to handle redeploy of java WARs to tomcat5.5 on Windows and avoid jar file locking

Windows will lock files under Tomcat WEB-INF/lib and prevent redeploys of WARs

At some point recently I began having this problem where windows was locking the jar files in airweb/WEB-INF/lib every time.  Prior I would have 3-4 times while I could redeploy before getting tomcat permgen errors in tomcat before having to stop tomcat manually and delete web application files and restart tomcat and redeploy....

Read more...

Using the Maven SCM Plugin to integrate Maven2 and Subversion

How to configure your maven pom.xml to integrate subversion and maven using mvn-scm-plugin

I am using Maven’s SCM plugin to integrate Subversion and Maven.

mvn-scm-plugin is meant to be an abstraction layer over the top of several source control systems ...

Read more...

Eclipse Performance - JVM Setttings and Turning Paging Off in Windows

What are your settings in your eclipse.ini and have you ever thought of turning paging off in windows to make your ide performance improve?

First of all Im running Windows XP SP2 on Dell Latitude D820 which has 4GB of Ram and  Dual Core 1.66Mghz Processor.

My eclipse .ini settings are:

-showsplash
org.eclipse.platform
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx768m
-XX:MaxPermSize=256m
-XX:-UseParallelGC
-XX:+AggressiveOpts
-XX:-UseConcMarkSweepGC

Also recently I read these posts and turned off paging in windows and my ide performance has improved and I have had no wierd other problems with out of memory errors or anything like that.

eclipse.dzone.com/news/what-java-ide-vm-arguments-do-you-use

www.codinghorror.com/blog/archives/000422.html

alan.blog-city.com/windows_virtual_memory.htm

http://www.waltercedric.com/java-j2ee-mainmenu-53/107-eclipse/1298-boost-eclipse-speed-performances.html



Tags :

JavaRebel-Compiling and Reloading Java Code on the fly. Looks like its ready for Development Primetime To Me

We are running tomcat 5.5.25 on jdk 1.5.0_10. Java Rebel is supposed to allow changes to java classes on the fly and then use an IDEs built in background compilation to compile the code so that you can remove the step of having to redeploy a web application through standard apis such as tomcat undeploy and deploy.  

My experience with this overall was that initially I had some issues getting it setup but in response to my blog article I heard from Jevgini Kabanov a developer of javarebel and he helped me get it setup.

Read more...

Tags :

Avoiding Connection Leakage and Boiler Plate Code with Spring JdbcTemplate

With JDBC there is a alot of boilerplate code you must write in order to properly handle the closing of connections. See how to avoid writing this boilerplate code with Spring JdbcTemplate...

Read more...

Spring Aspect Oriented Programming - Adding a simple profiler to your services layer

Here are some simple steps to add a Spring/AspectJ Profiling Aspect to an eclipse java project

Read more...