Hi Naren,

Tyler has code that does this (however, without a complete solution to integrate back into RIFE). He's planning on working on that. More info here: http://uwyn.com/drone/log/bevinbot/rife/20060414

I suppose he'll reply to this thread as soon as he has the time to do so.

Best regards,

Geert

On 17 Apr 2006, at 12:05, Naren wrote:

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.StoreContentDataErrorEx ceptio
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.StoreContentDataErrorEx ceptio
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.StoreContentDataErrorEx ceptio
n: Unexpected error while storing the content with the id '132'
.
        at
com.uwyn.rife.cmf.dam.contentstores.DatabaseImageStore._storeContentDa ta(Dat
abaseImageStore.java:139)
        at
com.uwyn.rife.cmf.dam.contentstores.imagestoredrivers.generic.storeCon tentDa
ta(generic.java:93)
        at
com.uwyn.rife.cmf.dam.contentmanagers.databasedrivers.com_mysql_jdbc_D river.
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._storeContentDa ta(Dat
abaseImageStore.java:135)
        ... 55 more
















_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin             Uwyn bvba               GTalk: [EMAIL PROTECTED]
"Use what you need"     Avenue de Scailmont 34  Skype: gbevin
http://www.uwyn.com     7170 Manage, Belgium      AIM: geertbevin
gbevin at uwyn dot com  Tel: +32 64 84 80 03   Mobile: +32 477 302 599

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to