<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Calibri Light">Hello,<br>
<br>
I'are running OpenCMS wihout problem since one than a year. We
restarted our server for maintenance issue but since then we
cannot upload images using basic-upload or GWT-upload having the
following error: <br>
</font>
<pre><font face="Calibri Light"><b>Could not initialize class sun.awt.X11GraphicsEnvironment</b></font></pre>
<font face="Calibri Light">
<br>
What is the reason of that ? how can we solve it ?<br>
Please help, <br>
<br>
full error details bellow.<br>
<br>
Regards<br>
Joseph</font><br>
<br>
<br>
<pre><pre><b>java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment</b>
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1135)
at com.alkacon.simapi.Simapi.ensureImageIsSystemType(Simapi.java:342)
at com.alkacon.simapi.Simapi.read(Simapi.java:278)
at com.alkacon.simapi.Simapi.read(Simapi.java:250)
at org.opencms.loader.CmsImageScaler.<init>(CmsImageScaler.java:200)
at org.opencms.file.types.CmsResourceTypeImage$CmsImageAdjuster.adjust(CmsResourceTypeImage.java:104)
at org.opencms.file.types.CmsResourceTypeImage.createResource(CmsResourceTypeImage.java:292)
at org.opencms.file.CmsObject.createResource(CmsObject.java:750)
at org.opencms.workplace.explorer.CmsNewResourceUpload.actionUpload(CmsNewResourceUpload.java:784)
at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fupload_jsp._jspService(newresource_005fupload_jsp.java:130)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:565)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:493)
at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:618)
at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:903)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:523)
at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1183)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1669)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)
</pre></pre>
<br>
</body>
</html>