Menu

#292 Occasional ClassNotFoundException exception

v3.0.5
open
nobody
None
3
2015-01-22
2015-01-22
No

We are using Java Service Wrapper 3.0.5 (WrapperSimpleApp) in for Windows XP, Java 6. The application is a file watcher with read/write to database. Most of time it runs file but occasionally it throws error then it hung. We have to restart the service. Given the fact service runs fine most of the time, I am not sure why the exception complains the ClassNotFound. It is in the jar file specified in the config. Any help is highly appreciated.

Thanks,

Dansong

INFO | jvm 2 | 2015/01/20 15:19:40 | 1 file(s) moved.
INFO | jvm 2 | 2015/01/20 15:19:40 | 15:19:38.87 === \netapp3\ficmbsprd\install\MBSRisk\PolyBatchForDesk.bat Completed:
INFO | jvm 2 | 2015/01/20 15:19:40 |
INFO | jvm 2 | 2015/01/20 15:19:40 | 2015-01-20 15:19:39,142 [BatchFileCaller] INFO WindowsFileWatcher - STDERR:
INFO | jvm 2 | 2015/01/20 15:19:40 | 2015-01-20 15:19:39,142 [BatchFileCaller] INFO WindowsFileWatcher - '\netapp3\ficmbsprd\install\ PolypathWindowsFileWatcher\wrapper\wrapper_win32_3.0.5\bin'
INFO | jvm 2 | 2015/01/20 15:19:40 | CMD.EXE was started with the above path as the current directory.
INFO | jvm 2 | 2015/01/20 15:19:40 | UNC paths are not supported. Defaulting to Windows directory.
INFO | jvm 2 | 2015/01/20 15:19:40 |
INFO | jvm 2 | 2015/01/20 15:20:14 | Exception in thread "Timer-0" java.lang.NoClassDefFoundError: com/mchange/v2/resourcepool/BasicReso
urcePool$AsyncTestIdleResourceTask
INFO | jvm 2 | 2015/01/20 15:20:14 | at com.mchange.v2.resourcepool.BasicResourcePool.checkIdleResources(BasicResourcePool.java:14
81)
INFO | jvm 2 | 2015/01/20 15:20:14 | at com.mchange.v2.resourcepool.BasicResourcePool.access$2000(BasicResourcePool.java:32)
INFO | jvm 2 | 2015/01/20 15:20:14 | at com.mchange.v2.resourcepool.BasicResourcePool$CheckIdleResourcesTask.run(BasicResourcePool
.java:1964)
INFO | jvm 2 | 2015/01/20 15:20:14 | at java.util.TimerThread.mainLoop(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:14 | at java.util.TimerThread.run(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:14 | Caused by: java.lang.ClassNotFoundException: com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask
INFO | jvm 2 | 2015/01/20 15:20:14 | at java.net.URLClassLoader$1.run(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:14 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 2 | 2015/01/20 15:20:14 | at java.net.URLClassLoader.findClass(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:15 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:15 | at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:15 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2015/01/20 15:20:15 | ... 5 more
INFO | jvm 2 | 2015/01/20 15:20:38 | 2015-01-20 15:20:38,532 [BatchFileCaller] INFO WindowsFileWatcher - The numeric result of the command was: 0
INFO | jvm 2 | 2015/01/20 15:20:39 | 2015-01-20 15:20:39,251 [FileWatcher] INFO WindowsFileWatcher - Adding file winfits_trade_1426965_0_NEWFAN_20150120_1784850591.csv to processing queue
INFO | jvm 2 | 2015/01/20 15:22:09 | 2015-01-20 15:22:09,626 [FileWatcher] INFO WindowsFileWatcher - Adding file winfits_trade_1426996_0_NMTGTBA_20150120_1785329731.csv to processing queue

1 Attachments

Discussion


Log in to post a comment.