Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing signed applet issue  RSS feed

Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have an applet built to print some information in the default client printer. It's a signed applet, and its an extra functionality of a major j2ee application.
The application used to work and run on a WAS 5.0(jdk 1.3), a couple of weeks ago we migrated the application to a WAS 5.1.1(jdk 1.4.1)...since the migration the applet seems to be failing.
This is the stackTrace in the Java Console when i try to execute the printing:
sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: http://server/app/applets/META-INF/services/javax.print.PrintServiceLookup:1: Illegal configuration-file syntax at Source)
at Source)
at sun.misc.Service.parseLine(Unknown Source)
at sun.misc.Service.parse(Unknown Source)
at sun.misc.Service.access$100(Unknown Source)
at sun.misc.Service$LazyIterator.hasNext(Unknown Source)
at javax.print.PrintServiceLookup$ Source)
at Method)
at javax.print.PrintServiceLookup.getAllLookupServices(Unknown Source)
at javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)
at sun.print.RasterPrinterJob.getPrintService(Unknown Source)
at Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(
at net.sf.jasperreports.engine.JasperPrintManager.printPages(
at net.sf.jasperreports.engine.JasperPrintManager.printReport(
at PrinterApplet$
at Source)

I've look for the error in google and i've found some information and many similar cases, but none of the solutions seems to fix my problem.
It would be great if anyone can help me with this issue, thank you very much.

best regards!
Curse your sudden but inevitable betrayal! And this tiny ad too!
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!