[Gvsig_english] tilerastercache utility program

Ioan Ferencik ioan.ferencik at aalto.fi
Thu Nov 24 10:56:15 CET 2011


Alberto,


I have done some changes (really minor) to the WMS renderer mainly added
EXCEPTIONS parameter to the layers config file and populate WMSStatus and
WMSRenderer. I could post it or just send you the files, whatever you think
is best. It should work because in WMS 1.X.X the EXCPETIONS is OPTIONAL
whereas in 1.3.0 is NOT.

I have one more issue ...the Main.java uses the WorkQueue class to manage
the threads.
But at one point it does just wait() instead of interrupting.
while (queue.isEmpty()) {
							try {
								queue.wait();
							} catch (InterruptedException ignored) {
								System.out
										.println("One of the worker threads was interrupted while it was
waiting.");
							}
						}

is there a specific reason for this?

the result is the program literally waits:))) which is awkward for a command
line utility
I guess it comes from the fact that it runs inside GVSIG so the control is
transferred to another thread (GVSIGMN)


What do you recommend? I was thinking to use some default ThrealPool instead
of yours. I suppose java 6 must have one or perhaps use Future?


Cheers


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/tilerastercache-utility-program-tp6987786p7027566.html
Sent from the gvSIG users mailing list archive at Nabble.com.


More information about the Gvsig_internacional mailing list