[xwiki-users] Upload does not work
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ". I'm staying at 4.0 since 4.1 refuses to upgrade (Oracle 11g) database. I'm using Glassfish on Windows. I have the same error on 3.5, Glassfish on Linux. What could possibly be wrong? -- View this message in context: http://xwiki.475771.n2.nabble.com/Upload-does-not-work-tp7579277.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On 05/30/2012 09:41 AM, Lars Lindwall wrote:
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ". I'm staying at 4.0 since 4.1 refuses to upgrade (Oracle 11g) database. I'm using Glassfish on Windows. I have the same error on 3.5, Glassfish on Linux. What could possibly be wrong?
Are you using Glassfish 3.1.2? -- Sergiu Dumitriu http://purl.org/net/sergiu/
Yes, I'm using Glassfish 3.1.2 and I have found the same problem when using MySQL as the data store. -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För Sergiu Dumitriu Skickat: den 30 maj 2012 17:45 Till: XWiki Users Ämne: Re: [xwiki-users] Upload does not work On 05/30/2012 09:41 AM, Lars Lindwall wrote:
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ". I'm staying at 4.0 since 4.1 refuses to upgrade (Oracle 11g) database. I'm using Glassfish on Windows. I have the same error on 3.5, Glassfish on Linux. What could possibly be wrong?
Are you using Glassfish 3.1.2? -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I found a solution to this problem: a bug in Glassfish 3.1.2. The file web-core.jar found in directory <glassfish-root>/glassfish/modules should be replaced by the one found here: http://java.net/jira/browse/GLASSFISH-18444 After the replacement everything works fine! Thanx, Sergiu, for the hint! -----Ursprungligt meddelande----- Från: [email protected] [mailto:[email protected]] För Sergiu Dumitriu Skickat: den 30 maj 2012 17:45 Till: XWiki Users Ämne: Re: [xwiki-users] Upload does not work On 05/30/2012 09:41 AM, Lars Lindwall wrote:
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ". I'm staying at 4.0 since 4.1 refuses to upgrade (Oracle 11g) database. I'm using Glassfish on Windows. I have the same error on 3.5, Glassfish on Linux. What could possibly be wrong?
Are you using Glassfish 3.1.2? -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Lars Lindwall -
Sergiu Dumitriu