Error using server/jvm.dll and java.awt
843798Jun 12 2001 — edited Jun 14 2001Using 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.