I'm trying to upload pdfs into my newly installed Alfresco3.4.d. All works fine until I get to a secured pdf. Client browser hangs. Here's the relevant part of the log.
ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08270040 Unexpected error occured during upload of new content. org.springframework.extensions.webscripts.WebScriptException: 08270040 Unexpected error occured during upload of new content.
Cause: java.sql.SQLException: Incorrect string value: '\xC2\x9C!\xC2\x85\xC3…' for column 'string_value' at row 1; nested exception is com.ib atis.common.jdbc.exception.NestedSQLException: — The error occurred in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.node.parameter_NodeProperty. — Check the statement (update failed).
As I already had problems with secured pdf's in Alfresco 3.4.0 I have updated the pdfbox and fontbox jars from 1.2.1 to 1.5.0. Doesn't solve the problem.
Seems like Alfresco behaves rather randomly, I've installed the 3.4.d version three times now. First, secured pdf uploads worked fine, but I couldn't migrate the database from our old 3.4.0 installation. On second try the ldap-authentication-context.properties file disappeared which I had to update on first install and on 3.4.0 (Ok, this could be due to the reason that I tried out Alfresco after first install without activating LDAP first, on second install I immediately updated the config files before starting up Alfresco). On third installation now I could migrate the databases, but now the secured pdf upload hangs again (at least is doesn't kill the java process like it used to do in 3.4.0)
We are running Alfresco 3.4.d on Red Hat Enterprise Linux Server release 5.5 (Tikanga) and JRE 6.0_18 with LDAP authentication activated.