• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Printing signed applet issue  RSS feed

 
Greenhorn
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 sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.fail(Unknown 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$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.print.PrintServiceLookup.getAllLookupServices(Unknown Source)
at javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)
at sun.print.RasterPrinterJob.getPrintService(Unknown Source)
at sun.awt.windows.WPrinterJob.getPrintService(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:188)
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:87)
at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:348)
at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:239)
at PrinterApplet$2.run(PrinterApplet.java:134)
at java.lang.Thread.run(Unknown 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!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!