[xwiki-users] Need help! Attachments doesn't work
Please help! I have a vmware virtual machine with installed, configured and working XWiki 3.5 (Win2003, Glassfish, OracleXE 11.2). Today I copied this vm into another location. After starting - all working, except for the attachment functionality (directly from vm also). At any xwiki page, I pressed "Browse...", select file, push "attach" - after small time page refreshed - but my new attach-file didn't appear in a attachement list. All older attachments (attached before copying virtual machine) - working (I can download them, view using office_viewer ... In Glassfish domain log - no any specific issues ... Please help! What can be a problem? -- Thanks beforehand! Eugen -- View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-Attachments-doesn-t-work-tp73920... Sent from the XWiki- Users mailing list archive at Nabble.com.
Eugen Colesnicov wrote
I have a vmware virtual machine with installed, configured and working XWiki 3.5 (Win2003, Glassfish, OracleXE 11.2). Today I copied this vm into another location. After starting - all working, except for the attachment functionality (directly from vm also). At any xwiki page, I pressed "Browse...", select file, push "attach" - after small time page refreshed - but my new attach-file didn't appear in a attachement list. All older attachments (attached before copying virtual machine) - working (I can download them, view using office_viewer ... In Glassfish domain log - no any specific issues ...
Unfortunatly, I wrote incorrectly and didn't said all information. Also together with copying VM I made some upgrades: XWiki from 3.4 to 3.5, Glassfish from 3.0.x to 3.1.2, Java from 7.0.1 to 7.0.3. After situation happens, I started to investigate and found that this problem is not related with virtual machine - but related to my updates (or XWiki update or Glassfish update). Unfortunatly I haven't time for now - for this reason I didn't write to jira and didn't make more investigations. For me - I simpy revert VM to previos snapshot and continue to work with old versions of XWiki & glassfish. For now, I think that problem created in XWiki 3.5 (XWiki 3.4 working with any problems) and related only with Glassfish (not other application servers). As some other users wrote (http://xwiki.475771.n2.nabble.com/xwiki-3-5-default-xar-import-td7365205.htm...) - problem exists also at fresh 3.5 install on glassfish 3.1.2. -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-Attachments-doesn-t-work-tp73920... Sent from the XWiki- Users mailing list archive at Nabble.com.
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674 -- View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-Attachments-doesn-t-work-tp73920... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 03/30/2012 01:49 PM, Eugen Colesnicov wrote:
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674
Indeed, I could reproduce this. I'll look into it. -- Sergiu Dumitriu http://purl.org/net/sergiu/
On 03/30/2012 06:05 PM, Sergiu Dumitriu wrote:
On 03/30/2012 01:49 PM, Eugen Colesnicov wrote:
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674
Indeed, I could reproduce this. I'll look into it.
Looks like a GlassFish bug: http://java.net/jira/browse/GLASSFISH-18444 -- Sergiu Dumitriu http://purl.org/net/sergiu/
On 03/30/2012 06:59 PM, Sergiu Dumitriu wrote:
On 03/30/2012 06:05 PM, Sergiu Dumitriu wrote:
On 03/30/2012 01:49 PM, Eugen Colesnicov wrote:
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674
Indeed, I could reproduce this. I'll look into it.
Looks like a GlassFish bug: http://java.net/jira/browse/GLASSFISH-18444
It seems that this is a regression in version 3.1.2 of GlassFish. Upload works fine in earlier versions, including 3.1.1. The quickest solution is to just downgrade to the previous version. I know how to work around the problem, but the change would be too big to integrate in 3.5.1, so it will take a while until it becomes available in a stable release. -- Sergiu Dumitriu http://purl.org/net/sergiu/
On 03/30/2012 08:50 PM, Sergiu Dumitriu wrote:
On 03/30/2012 06:59 PM, Sergiu Dumitriu wrote:
On 03/30/2012 06:05 PM, Sergiu Dumitriu wrote:
On 03/30/2012 01:49 PM, Eugen Colesnicov wrote:
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674
Indeed, I could reproduce this. I'll look into it.
Looks like a GlassFish bug: http://java.net/jira/browse/GLASSFISH-18444
It seems that this is a regression in version 3.1.2 of GlassFish. Upload works fine in earlier versions, including 3.1.1. The quickest solution is to just downgrade to the previous version.
I know how to work around the problem, but the change would be too big to integrate in 3.5.1, so it will take a while until it becomes available in a stable release.
P.S.: If you don't know where to get 3.1.1, here it is: http://dlc.sun.com.edgesuite.net/glassfish/3.1.1/release/ -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Eugen Colesnicov -
Sergiu Dumitriu