Hello,
Has anyone implemented GIF write support in RIFE CMF? I am getting folowing
exception if I use MimeType.IMAGE_GIF.
Regards
SEVERE: Error on host localhost
com.uwyn.rife.engine.exceptions.EngineException:
com.uwyn.rife.database.exceptions.DatabaseException:
com.uwyn.rife.cmf.dam.contentstores.exceptions.StoreContentDataErrorExceptio
n: Unexpected error while storing the content with the id '132'.
at
com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:607)
at com.uwyn.rife.engine.RequestState.service(RequestState.java:212)
at
com.uwyn.rife.engine.ElementContext.processEmbeddedElement(ElementContext.ja
va:4055)
at
com.uwyn.rife.engine.ElementContext.processEmbeddedElementsEarly(ElementCont
ext.java:1159)
at
com.uwyn.rife.engine.EngineTemplateInitializer.initialize(EngineTemplateInit
ializer.java:37)
at
com.uwyn.rife.template.AbstractTemplate.initialize(AbstractTemplate.java:101
0)
at
com.uwyn.rife.template.TemplateFactory.get(TemplateFactory.java:422)
at
com.uwyn.rife.engine.ElementContext.getHtmlTemplate(ElementContext.java:1105
)
at
com.uwyn.rife.engine.ElementSupport.getHtmlTemplate(ElementSupport.java:494)
at
com.uwyn.rife.engine.ElementSupport.getHtmlTemplate(ElementSupport.java:380)
at com.portal.elements.MyPages.processElement(MyPages.java:14)
at
com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:590)
at com.uwyn.rife.engine.RequestState.service(RequestState.java:212)
at com.uwyn.rife.engine.Gate.handleRequest(Gate.java:418)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.uwyn.rife.database.exceptions.DatabaseException:
com.uwyn.rife.cmf.dam.contentstores.exceptions.StoreContentDataErrorExceptio
n: Unexpected error while storing the content with the id '132'.
at
com.uwyn.rife.cmf.dam.ContentQueryManager$1.useTransaction(ContentQueryManag
er.java:471)
at
com.uwyn.rife.cmf.dam.ContentQueryManager$1.useTransaction(ContentQueryManag
er.java:363)
at
com.uwyn.rife.database.DbQueryManager.inTransaction(DbQueryManager.java:2783
)
at
com.uwyn.rife.cmf.dam.ContentQueryManager.save(ContentQueryManager.java:362)
at com.portal.dam.banner.BannerManager.add(BannerManager.java:47)
at
com.portal.elements.banner.BannerDisplay.doAddbanner(BannerDisplay.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.uwyn.rife.engine.ElementContext.processContext(ElementContext.java:597)
... 42 more
Caused by:
com.uwyn.rife.cmf.dam.contentstores.exceptions.StoreContentDataErrorExceptio
n: Unexpected error while storing the content with the id '132'
.
at
com.uwyn.rife.cmf.dam.contentstores.DatabaseImageStore._storeContentData(Dat
abaseImageStore.java:139)
at
com.uwyn.rife.cmf.dam.contentstores.imagestoredrivers.generic.storeContentDa
ta(generic.java:93)
at
com.uwyn.rife.cmf.dam.contentmanagers.databasedrivers.com_mysql_jdbc_Driver.
storeContent(com_mysql_jdbc_Driver.java:259)
at
com.uwyn.rife.cmf.dam.ContentQueryManager$1.useTransaction(ContentQueryManag
er.java:460)
... 52 more
Caused by:
com.uwyn.rife.cmf.format.exceptions.UnsupportedTargetMimeTypeException:
Unsupported target mime type 'image/gif'
at
com.uwyn.rife.cmf.format.ImageFormatter.format(ImageFormatter.java:193)
at
com.uwyn.rife.cmf.format.ImageFormatter.format(ImageFormatter.java:53)
at
com.uwyn.rife.cmf.dam.contentstores.DatabaseImageStore._storeContentData(Dat
abaseImageStore.java:135)
... 55 more
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users