[opencms-dev] "Could not initialize class sun.awt.X11GraphicsEnvironment" error on openCMS 8.5.1
Matthias Griselle
mgriselle at gmail.com
Wed Mar 5 11:16:14 CET 2014
Hi,
Did you restart the server with the right user ? Do you have right access
on your application ? (Just an idea ^^)
Regards,
Matthias
2014-03-04 10:06 GMT+01:00 Joseph <abena09 at gmail.com>:
> Hello,
>
> 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:
>
> *Could not initialize class sun.awt.X11GraphicsEnvironment*
>
>
> What is the reason of that ? how can we solve it ?
> Please help,
>
> full error details bellow.
>
> Regards
> Joseph
>
>
> *java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment*
> 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)
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140305/9c753574/attachment.htm>
More information about the opencms-dev
mailing list