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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] 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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users