Hi again!

I still have this same problem. So i've have been added more breakpoinst and 
try to different things.

A below is stacktrace of my eclipse when i startup my software, mayby it says 
something to you.


Stacktraces from eclipse when setting a class load breakpoint for 
javax.media.JAI:
NON-WORKING JAI:

Daemon System Thread [Finalizer] (Class load: JAI)
  SerializableRenderedImage.sendExceptionToListener(String, Exception) line: 
1444
  SerializableRenderedImage.connectToServer() line: 1172
  SerializableRenderedImage.closeClient() line: 1105
  SerializableRenderedImage.dispose() line: 1314
  SerializableRenderedImage.finalize() line: 1259
  Finalizer.invokeFinalizeMethod(Object) line: not available [native method]
  Finalizer.runFinalizer() line: not available
  Finalizer.access$100(Finalizer) line: not available
  Finalizer$FinalizerThread.run() line: not available

WORKING JAI:
Thread [Worker-0] (Class load: JAI)
  ParameterBlockJAI.<init>(String) line: 178
  RasterLayerResponse.prepareResponse() line: 599
  RasterLayerResponse.processRequest() line: 560
  RasterLayerResponse.createResponse() line: 519
  RasterManager.read(GeneralParameterValue[]) line: 951
  ImageMosaicReader.read(GeneralParameterValue[]) line: 421
  GridCoverageReaderRenderer.render(Graphics2D, IProgressMonitor) line: 181
  GridCoverageReaderRenderer.render(IProgressMonitor) line: 439
  RenderJob.startRenderering(Envelope, IProgressMonitor) line: 108
  RenderJob.run(IProgressMonitor) line: 213
  Worker.run() line: 54



- Juho Kokkonen



----- Original Message -----
From: "Juho Kokkonen" <[email protected]>
To: "User-friendly Desktop Internet GIS" <[email protected]>
Sent: Friday, July 27, 2012 5:22:53 PM
Subject: Re: [udig-devel] Map viewer and jai

Hi again

Today i stroucle a little with this same problem. 

I notice that my program load plugins always on same order (case when jai works 
and the case where it did not works).
I also notice that it will use always same jre.

Then i'll try to run program without to add geotiff layer automatically when my 
program starts and creates a mapviewer part.
but when i add geotiff layer automatically when my program starts and creates a 
mapviewer part then it throws javax.media.jai.JAI classdefnotfound (cannot 
initialize jai).

Could this happend when mapviewer loads crs on geotiff and add it to viewer?

- Juho 

 

----- Original Message -----
From: "Juho Kokkonen" <[email protected]>
To: "User-friendly Desktop Internet GIS" <[email protected]>
Sent: Wednesday, July 25, 2012 9:37:33 PM
Subject: Re: [udig-devel] Map viewer and jai

Hi Jody

a) yes i have JAI installed on my jre path jre/lib/ext, i use udig download 
section downloaded and extracted
 jre version.

b) no i haven't Jai on my system jre, but for me it looks that my application 
will always load jre under my
program folder ( and there is jre downloaded from udig site's).


- Juho




----- Original Message -----
From: "Jody Garnett" <[email protected]>
To: "User-friendly Desktop Internet GIS" <[email protected]>
Sent: Tuesday, July 24, 2012 9:47:16 AM
Subject: Re: [udig-devel] Map viewer and jai



uDig expects JAI to come from your JRE. 


In your application do you: 
a) have a "jre" folder with the JAI installed? or 
b) have JAI installed in your system JRE 


You can check what version of Java your application is running using the about 
dialog -> installation details and check the "configuration" tab. 






-- 
Jody Garnett 




On Thursday, 19 July 2012 at 5:24 PM, Juho Kokkonen wrote: 




Hello 


I have been using mapviewer on my rcp application. 
Now i have faced weird problem sometimes when i start my software i get 
noclassdeffound error on jai. 


I have added dosgi parentclassloader=ext on my product file 




Cheers 


Juho 
I've using udig 1.2 and 1.6.18 jre what i have been loaded on your site. 
_______________________________________________ 
User-friendly Desktop Internet GIS (uDig) 
http://udig.refractions.net 
http://lists.refractions.net/mailman/listinfo/udig-devel 


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to