Alternatively download the test app I wrote to demonstrate a problem I'm having w/disconnecting from remote servers. There's a compiled concurrent.jar in there:
http://homepage.mac.com/chisarickd/jcstest.zip -----Original Message----- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 10:10 AM To: JCS Users List Subject: RE: NPE This class looks like it points to some guys home page: http://gee.cs.oswego.edu/ Is JCS for real? This all seems very un-apache like. -----Original Message----- From: Hoying, Ken Sent: Thursday, September 29, 2005 10:04 AM To: JCS Users List Subject: RE: NPE The leading slash did seems to do the trick. Although now I am getting the error: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Channel at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC acheManager.java:205) at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC acheManager.java:194) at org.apache.jcs.JCS.ensureCacheManager(JCS.java:103) at org.apache.jcs.JCS.getInstance(JCS.java:63) at CacheTest.main(CacheTest.java:40) Exception in thread "main" I did not see any other dependencies listed and this is a strange looking package name. Thanks, Ken -----Original Message----- From: Chisarick, Dan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 9:58 AM To: JCS Users List Subject: RE: NPE I'll guess because the file isn't in your classpath. Try putting a leading slash in front of the name: JCS.setConfigFilename("/testcache.ccf"); If that fails try using the default name first (cache.ccf) and see if there's a problem setting alternate config names. -----Original Message----- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 9:56 AM To: JCS Users List Subject: NPE I know this sounds ridiculous and should be simple, but I cannot figure out why I cannot get around this NullPointerException: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at java.util.Properties.load(Properties.java:266) at org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC acheManager.java:170) at org.apache.jcs.JCS.ensureCacheManager(JCS.java:103) at org.apache.jcs.JCS.getInstance(JCS.java:63) at org.tiaa.j2eeinfra.cache.impl.TiaaJCSCacheFactory.accessCache(Unknown Source) at CacheTest.main(CacheTest.java:37) Here is my code: JCS.setConfigFilename("testcache.ccf"); JCS cache = JCS.getInstance("TEST"); What am simple thing am I doing wrong? Thanks, Ken ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]