Mail attachment limitations (magic numbers)

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

sannc
Posts: 13
Joined: Tue Jul 01, 2008 1:23 pm
Location: Aschaffenburg

Post by sannc »

Hi!

Is there any news regarding this topic? The limit of 1 MB (or even less for pdfs is really annoying).

We also get the same error message with V 6.1:

Code: Select all

java.lang.IllegalStateException: forward() not allowed after buffer has
committed.
   at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:139)
   at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
   at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:363)
   at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:180)
   at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
   at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
   at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
   at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
   at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
   at java.lang.Thread.run(Unknown Source) 
Is there a fix?

Best regards
Carsten Sann
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

OpenEMM 6.2 will allow adjustment of the maximum size of attachments via a property in file emm.properties.
OpenEMM Maintainer
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

OpenEMM 6.2 has just been launched and allows you to define the maximum size of attachments yourself in file emm.properties.
OpenEMM Maintainer
mmenke
Posts: 30
Joined: Fri Jul 24, 2009 12:14 pm
Location: Germany
Contact:

Re:

Post by mmenke »

sannc wrote:Hi!

Is there any news regarding this topic? The limit of 1 MB (or even less for pdfs is really annoying).

We also get the same error message with V 6.1:

Code: Select all

java.lang.IllegalStateException: forward() not allowed after buffer has
committed.
   at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:139)
   at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
   at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:363)
   at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:180)
   at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
   at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
   at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
   at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
   at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
   at java.lang.Thread.run(Unknown Source) 
Is there a fix?

Best regards
Carsten Sann
Hello Carsten,

maybe you can fix this error by increasing the MySQL max_allowed_packet setting in your my.cnf. This solved it for me.

Just try max_allowed_packet=16M in the [mysqld] section of your my.cnf. Restart the MySQL server and off you go.

Cheers

Marco
Post Reply