• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Printing Problem - java.lang.InternalError: Error code 9:

Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone got the following error message before..

java.lang.InternalError: Error code 9:
at sun.awt.motif.CheckExitCodeRunnable.run(PSPrintControl.java:602)
at java.lang.Thread.run(Thread.java:479)

Our application has a functionality using which the application users can print manually something known as a worksheet through a print button available in the screen. Also it automatically prints the worksheet when the first activity is done in the worksheet. Our problem is that the application prints the worksheet automatically but when the user tries to manually print it we get the above error.

The application initially generates and keeps the document to be printed into a particular directory structure in the server and then it prints the document from directory structure. The application uses an Xsun process that is configured on the Solaris Box. We tried restarting the Xsun process and then the application server instance as some suggested over here. But that also did not solve the problem.

Initially we thought that the file permissions in the the directory structure would have been changed and had that checked. But it seems thati has not changed. Moreover, both the QA and the Prod environments (on different servers ) are configured to the same Printers but both of them are having the same problem. All this would point to some problem being on the Hardware (ie the Printer) but then it gets printed the first time.

Any pointers on where to look next would be really appreciated. Thanks a lot..

Posts: 27451
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't see any connection to either IBM or Websphere in the question. So I'm moving it to Java in General (Advanced).
They worship nothing. They say it's because nothing lasts forever. Like this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic