Hello.
I have a junit test that issues several wms GetMap requests using OpenMap wms. After updating from OpenMap svn trunk, this test fail with the following stacktrace.
java.lang.RuntimeException: Thread pool has already been initialized.
at com.bbn.openmap.util.TaskService.initialize(TaskService.java:30)
at com.bbn.openmap.PropertyHandler.init(PropertyHandler.java:551)
at com.bbn.openmap.PropertyHandler.<init>(PropertyHandler.java:264)
at com.bbn.openmap.PropertyHandler.<init>(PropertyHandler.java:243)
For some strange reason, the constructor of PropertyHandler now initializes a singleton TaskService. Can someone please fix this? It should be possible to call the PropertyHandler constructor more than once. Attached, you will find a patch with the fix I am using to work around the problem.
Regards,
- Tore.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Apr 20 2010 - 09:02:44 EDT