Re: load on startup

2005-08-05 Thread Ming Han
You can use Singleton pattern, but care must be taken. For example if ( singleton == null ) { singleton = new SingletonObj(); } There might be a case where few thread running concurrently on the null checking, then multiple singleton object will be created more than one.

Technical Question regarding Tomcat .

2005-08-02 Thread Ming Han
Hi there, I have problem when starting up Tomcat. Here is the transcript of the starting tomcat process : Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28 Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp Using JAVA_HOME: C:\Program

Exception when starting Tomcat 4

2005-08-02 Thread Ming Han
Hi there, I have problem when starting up Tomcat. Here is the transcript of the starting tomcat process : Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28 Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp Using JAVA_HOME: C:\Program