Hi all,

Magnolia - User mailing list wrote:
> 
> Was there a stacktrace in the log files or some more info? It would be
> also nice if you can provide info on the environment - what server OS,
> JDK version and app server are you using. What kind of configuration
> changes have you made to the default installation? Maybe attach the
> screenshot of current setting of the subscribers
> (expand /server/subsricbers and all its children and make the
> screenshot).
> Please create an issue in jira and provide all the information. 
> If this error is consistent and happens only on one piece of content it
> might be also helpful if you export this content and attach it to the
> issue.
> 

I'm experiencing the same problem when trying to activate some document in
DMS. 
My setup:

- Win XP, Tomcat 5.5.20, JDK 1.5.0, MySql repo for JackRabbit
- magnoliaAuthor and magnoliaPublic installed on the same Tomcat (from
available tomcat bundle download)
- Changes done: configure Magnolia to use MySql as repository
- extract from the log file:
ERROR  info.magnolia.module.exchangesimple.Transporter 14.09.2008 13:45:04
-- Simple exchange transport failed: too many bytes written
java.io.IOException: too many bytes written
        at
sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:2199)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1026)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
        at
info.magnolia.module.exchangesimple.Transporter.transport(Transporter.java:133)
        at
info.magnolia.module.exchangesimple.SimpleSyndicator.activate(SimpleSyndicator.java:168)
        at
info.magnolia.module.exchangesimple.SimpleSyndicator$1.run(SimpleSyndicator.java:75)
        at
info.magnolia.module.exchangesimple.ThreadPool$PooledThread.run(ThreadPool.java:116)
ERROR  info.magnolia.module.exchangesimple.SimpleSyndicator 14.09.2008
13:45:04 -- Failed to activate content.

Any hint?

- As a side note, a brief look at Transporter.java source code shows
FileInputStream (the source file that needs to be copied on activation) is
buffered. According to Commons IO best practices "If you use our CopyUtils
or IOUtils you don't need to additionally buffer the streams you use as the
code in there already buffers the copy process" because "...it does nothing
but slowing down your code".

-- 
View this message in context: 
http://www.nabble.com/Activation-problem-tp19330973p19479973.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to