Forum Stats

  • 3,759,877 Users
  • 2,251,609 Discussions
  • 7,870,855 Comments

Discussions

Error using server/jvm.dll and java.awt

843798
843798 Member Posts: 24,864
edited Jun 14, 2001 2:35PM in Java Runtime Environment (JRE)
Using Java Advanced Imaging API to create PNG's

The servlet works with Tomcat running standalone, but when I try to run it with a tomcat service I get the following error:

java.lang.ExceptionInInitializerError: java.lang.IllegalArgumentException: Can't load standard profile
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:794)
at java.awt.color.ColorSpace.getInstance(ColorSpace.java:292)
at com.sun.media.jai.codec.ImageCodec.(ImageCodec.java:555)
at RotatedTextPngGenerator.processRequest(RotatedTextPngGenerator.java:84)
at RotatedTextPngGenerator.doGet(RotatedTextPngGenerator.java:92)

I'm thinking that this is a problem with the server/jvm.dll because it seems like if you run tomcat with the java command instead of the jvm.dll then it works properly.

Any help at all would be appreciated.

Comments

This discussion has been closed.