Utf7 and lucee for cfpop

Hi,

I try to install http://www.freeutils.net/source/jcharset/
or http://jutf7.sourceforge.net/
in lucee to be able to pop email in UTF7 (thanks hotmail).

but no luck for now, I tried in multiple LIB folders with a lucee restart
but none are working, I still get :

unicode-1-1-utf-7 java.nio.charset.UnsupportedCharsetException:
unicode-1-1-utf-7 at java.nio.charset.Charset.forName(Charset.java:531) at
lucee.commons.io.CharsetUtil.toCharset(CharsetUtil.java:51) at
lucee.runtime.net.mail.MailClient.getConent(MailClient.java:547) at
lucee.runtime.net.mail.MailClient.getMultiPart(MailClient.java:488) at
lucee.runtime.net.mail.MailClient.getContent(MailClient.java:426) at
lucee.runtime.net.mail.MailClient.getContentEL(MailClient.java:391) at
lucee.runtime.net.mail.MailClient.toQuery(MailClient.java:332) at
lucee.runtime.net.mail.MailClient.getMessages(MailClient.java:379) at
lucee.runtime.net.mail.MailClient.getMails(MailClient.java:277) at
lucee.runtime.tag._Mail.doStartTag(_Mail.java:218) at
pop_retour_mailing2_cfm$cf.call(/home/www/folieskado/pop_retour_mailing2.cfm:66)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:950) at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:56)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:36)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2257) at
lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2224) at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456) at
lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Any help would be greatly appreciate …

Stéphane

I just found out :

path where to add the .jar :

/opt/lucee/jvm/jdk1.8.0_60/jre/lib/ext

and then restart tomcat

StéphaneLe mercredi 7 octobre 2015 10:23:53 UTC+2, Stéphane MERLE a écrit :

Hi,

I try to install http://www.freeutils.net/source/jcharset/
or http://jutf7.sourceforge.net/
in lucee to be able to pop email in UTF7 (thanks hotmail).

but no luck for now, I tried in multiple LIB folders with a lucee restart
but none are working, I still get :

unicode-1-1-utf-7 java.nio.charset.UnsupportedCharsetException:
unicode-1-1-utf-7 at java.nio.charset.Charset.forName(Charset.java:531) at
lucee.commons.io.CharsetUtil.toCharset(CharsetUtil.java:51) at
lucee.runtime.net.mail.MailClient.getConent(MailClient.java:547) at
lucee.runtime.net.mail.MailClient.getMultiPart(MailClient.java:488) at
lucee.runtime.net.mail.MailClient.getContent(MailClient.java:426) at
lucee.runtime.net.mail.MailClient.getContentEL(MailClient.java:391) at
lucee.runtime.net.mail.MailClient.toQuery(MailClient.java:332) at
lucee.runtime.net.mail.MailClient.getMessages(MailClient.java:379) at
lucee.runtime.net.mail.MailClient.getMails(MailClient.java:277) at
lucee.runtime.tag._Mail.doStartTag(_Mail.java:218) at
pop_retour_mailing2_cfm$cf.call(/home/www/folieskado/pop_retour_mailing2.cfm:66)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:950) at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:56)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:36)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2257) at
lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2224) at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456) at
lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Any help would be greatly appreciate …

Stéphane

I know this post is more than a year old, but im working on a similar
project, does cfpop still work for you? do you use any special
configuration? mail tags wont work for me anymore.El miércoles, 7 de octubre de 2015, 2:23:53 (UTC-6), Stéphane MERLE escribió:

Hi,

I try to install http://www.freeutils.net/source/jcharset/
or http://jutf7.sourceforge.net/
in lucee to be able to pop email in UTF7 (thanks hotmail).

but no luck for now, I tried in multiple LIB folders with a lucee restart
but none are working, I still get :

unicode-1-1-utf-7 java.nio.charset.UnsupportedCharsetException:
unicode-1-1-utf-7 at java.nio.charset.Charset.forName(Charset.java:531) at
lucee.commons.io.CharsetUtil.toCharset(CharsetUtil.java:51) at
lucee.runtime.net.mail.MailClient.getConent(MailClient.java:547) at
lucee.runtime.net.mail.MailClient.getMultiPart(MailClient.java:488) at
lucee.runtime.net.mail.MailClient.getContent(MailClient.java:426) at
lucee.runtime.net.mail.MailClient.getContentEL(MailClient.java:391) at
lucee.runtime.net.mail.MailClient.toQuery(MailClient.java:332) at
lucee.runtime.net.mail.MailClient.getMessages(MailClient.java:379) at
lucee.runtime.net.mail.MailClient.getMails(MailClient.java:277) at
lucee.runtime.tag._Mail.doStartTag(_Mail.java:218) at
pop_retour_mailing2_cfm$cf.call(/home/www/folieskado/pop_retour_mailing2.cfm:66)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:950) at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:56)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:36)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2257) at
lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2224) at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456) at
lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:47) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Any help would be greatly appreciate …

Stéphane