[opencms-dev] i have a wrong

Michael Moossen m.moossen at alkacon.com
Sun Mar 26 22:07:57 CEST 2006


this is due to the new image processing capabilities of opencms.
you need to have a x server running or use the -Djava.awt.headless=true jvm
parameter (JAVA_OPTS) or set the 'image.scaling.enabled' parameter of the
CmsImageLoader to false (opencms-vfs.xml)

Kind Regards,
Michael
 
-------------------
Michael Moossen
 
Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org




Quoting ËÎÀ´ <qsonglai at gmail.com>:

> *what wrong whit[linux+xampp+jdk1.4+xampp_tomcat-5.0.27-addon-0.3]*
> *at setup:*
> 150: Admin at Offline>
> 149:  at org.opencms.setup.CmsSetupWorkplaceImportThread.run(
> CmsSetupWorkplaceImportThread.java:186)
> 148:  at org.opencms.main.CmsShell.start(CmsShell.java:663)
> 147:  at org.opencms.main.CmsShell.executeCommands(CmsShell.java:842)
> 146:  at org.opencms.main.CmsShell.executeCommand(CmsShell.java:767)
> 145:  at org.opencms.main.CmsShell$CmsCommandObject.executeMethod(
> CmsShell.java:246)
> 144:  at java.lang.reflect.Method.invoke(Method.java:324)
> 143:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> 142:  at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> 141:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 140:  at org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(
> CmsSetupBean.java:952)
> 139:  at org.opencms.setup.CmsSetupBean.importModuleFromDefault(
> CmsSetupBean.java:1724)
> 138:  at org.opencms.importexport.CmsImportExportManager.importData(
> CmsImportExportManager.java:610)
> 137:  at org.opencms.module.CmsModuleImportExportHandler.importData(
> CmsModuleImportExportHandler.java:359)
> 136:  at org.opencms.module.CmsModuleImportExportHandler.importModule(
> CmsModuleImportExportHandler.java:519)
> 135:  at org.opencms.importexport.CmsImport.importResources(CmsImport.java
> :325)
> 134:  at org.opencms.importexport.CmsImportVersion4.importResources(
> CmsImportVersion4.java:132)
> 133:  at
> org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(
> CmsImportVersion4.java:480)
> 132:  at org.opencms.importexport.CmsImportVersion4.importResource(
> CmsImportVersion4.java:316)
> 131:  at org.opencms.file.CmsObject.importResource(CmsObject.java:1658)
> 130:  at org.opencms.file.types.CmsResourceTypeImage.importResource(
> CmsResourceTypeImage.java:154)
> 129:  at org.opencms.file.types.CmsResourceTypeImage.getImageProperties(
> CmsResourceTypeImage.java:231)
> 128:  at org.opencms.loader.CmsImageScaler.<init>(CmsImageScaler.java:147)
> 127:  at com.alkacon.simapi.Simapi.read(Simapi.java:236)
> 126:  at com.alkacon.simapi.Simapi.read(Simapi.java:264)
> 125:  at com.alkacon.simapi.Simapi.ensureImageIsSystemType(Simapi.java:328)
> 124:  at java.awt.image.BufferedImage.createGraphics(BufferedImage.java
> :1041)
> 123:  at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
> GraphicsEnvironment.java:62)
> 122:  at java.lang.Class.forName(Class.java:141)
> 121:  at java.lang.Class.forName0(Native Method)
> 120: java.lang.NoClassDefFoundErro
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the opencms-dev mailing list