Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

netscape does not a load a JAI applet across SSL  RSS feed

 
KangN
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have an applet which displays a tiff image and allows the user to magnify , rotate , invert , zoom or print the displayed image . The applet uses JAI 1.1 API and jre plugin -1.3.0_0.1. It works fine when loaded in IE but with netscape (version 4.5/6.0) it throws the exception :-

com.sun.media.jai.util.ServiceConfigurationError: javax.media.jai.OperationRegistrySpi: https://xyz/javatiffviewer/META-INF/services/javax.media.jai.OperationRegistrySpi:1: Illegal configuration-file syntax
at com.sun.media.jai.util.Service.fail(Service.java:127)
at com.sun.media.jai.util.Service.fail(Service.java:133)
at com.sun.media.jai.util.Service.parseLine(Service.java:155)
at com.sun.media.jai.util.Service.parse(Service.java:204)
at com.sun.media.jai.util.Service.access$100(Service.java:118)
at com.sun.media.jai.util.Service$LazyIterator.hasNext(Service.java:255)
at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2031)
at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:620)
at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:371)
at javax.media.jai.JAI.<clinit>(JAI.java:382)
at javax.media.jai.OpImage.<init>(OpImage.java:230)
at javax.media.jai.PointOpImage.<init>(PointOpImage.java:374)
at javax.media.jai.PointOpImage.<init>(PointOpImage.java:404)
at javax.media.jai.NullOpImage.<init>(NullOpImage.java:108)
at javax.media.jai.NullOpImage.<init>(NullOpImage.java:156)
at TiffApplet.CReadImage.separateImages(CReadImage.java:185)
at TiffApplet.CReadImage.checkForNoOfImages(CReadImage.java:149)
at TiffApplet.CReadImage.<init>(CReadImage.java:68)
at TiffApplet.CTIFFViewer.showImage(CTIFFViewer.java:259)
at TiffApplet.CTIFFViewer.start(CTIFFViewer.java:191)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can you please, suggest a solution .It works with both netscape and IE when SSL is not used .Applet works with SSL with IE also but not with netscape
Regards ,
Navneet
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!