What version are you using? WBR, Maxim (from mobile, sorry for the typos) On Apr 26, 2016 18:58, "Susheel Jalali" <[email protected]> wrote:
> Dear Maxim, > > Thank you for the pointer. We added "swf" to the list of extensions, and > also to "AsIs" list to skip the FLV converter (otherwise it gives FLV > related conversion error). > > Now uploaded goes further ahead without giving any error popup, but the > file does not appear, either in File Explorer or in whiteboard. What > additional modification is required to complete the upload of the file to > the file explorer so that it appears? > > DETAILS: > ----------- > On looking at runtime log, we find that the > "FileService/getFileExplorerByRoomSelfInternal" service endpoint reference > (EPR) is not found: > > DEBUG 04-26 07:24:21.027 AbstractUploadController.java 162448 90 > org.apache.openmeetings.servlet.outputhandler.AbstractUploadController > [http-nio-10.10.10.51-6060-exec-4] - uploading 17915 bytes > DEBUG 04-26 07:24:21.028 UploadController.java 162449 110 > org.apache.openmeetings.servlet.outputhandler.UploadController > [http-nio-10.10.10.51-6060-exec-4] - fileSystemName: > LabelTheContainers-2.swf > DEBUG 04-26 07:24:21.028 FileProcessor.java 162449 76 > org.apache.openmeetings.data.file.FileProcessor > [http-nio-10.10.10.51-6060-exec-4] - newFileExt: swf > DEBUG 04-26 07:24:21.030 FileProcessor.java 162451 89 > org.apache.openmeetings.data.file.FileProcessor > [http-nio-10.10.10.51-6060-exec-4] - isAsIs: true > DEBUG 04-26 07:24:21.030 FileProcessor.java 162451 101 > org.apache.openmeetings.data.file.FileProcessor > [http-nio-10.10.10.51-6060-exec-4] - writing file to: > <OMPATH>/dist/red5/webapps/openmeetings/upload/files/94e9e6db9e75462528232212fc6ed3e8.swf > DEBUG 04-26 07:24:21.045 FileExplorerItemDao.java 162466 54 > org.apache.openmeetings.db.dao.file.FileExplorerItemDao > [http-nio-10.10.10.51-6060-exec-4] - .add(): adding file > LabelTheContainers-2.swf roomID: 4 > DEBUG 04-26 07:24:21.050 FileExplorerItemDao.java 162471 78 > org.apache.openmeetings.db.dao.file.FileExplorerItemDao > [http-nio-10.10.10.51-6060-exec-4] - .add(): file LabelTheContainers-2.swf > added as 86 > DEBUG 04-26 07:24:21.057 FileProcessor.java 162478 142 > org.apache.openmeetings.data.file.FileProcessor > [http-nio-10.10.10.51-6060-exec-4] - fileExplorerItemId: 86 > DEBUG 04-26 07:24:21.057 FileProcessor.java 162478 146 > org.apache.openmeetings.data.file.FileProcessor > [http-nio-10.10.10.51-6060-exec-4] - canBeConverted: false > DEBUG 04-26 07:24:21.058 GenerateThumbs.java 162479 35 > org.apache.openmeetings.converter.GenerateThumbs > [http-nio-10.10.10.51-6060-exec-4] - generateThumb > DEBUG 04-26 07:24:21.062 ProcessHelper.java 162483 104 > org.apache.openmeetings.util.process.ProcessHelper > [http-nio-10.10.10.51-6060-exec-4] - START generateBatchThumbByWidth > ################# > DEBUG 04-26 07:24:21.062 ProcessHelper.java 162483 105 > org.apache.openmeetings.util.process.ProcessHelper > [http-nio-10.10.10.51-6060-exec-4] - /usr/lib64/ImageMagick-6.7.8/convert > -thumbnail 50x50 > <OMPATH>/dist/red5/webapps/openmeetings/upload/files/94e9e6db9e75462528232212fc6ed3e8.swf > <OMPATH>/dist/red5/webapps/openmeetings/upload/files/_thumb_94e9e6db9e75462528232212fc6ed3e8.swf > > DEBUG 04-26 07:24:21.081 ProcessHelper.java 162502 153 > org.apache.openmeetings.util.process.ProcessHelper > [http-nio-10.10.10.51-6060-exec-4] - exitVal: 1 > DEBUG 04-26 07:24:21.082 ProcessHelper.java 162503 111 > org.apache.openmeetings.util.process.ProcessHelper > [http-nio-10.10.10.51-6060-exec-4] - END generateBatchThumbByWidth > ################# > ERROR 04-26 07:24:22.325 AxisEngine.java 163746 219 > org.apache.axis2.engine.AxisEngine [http-nio-10.10.10.51-6060-exec-5] - The > service cannot be found for the endpoint reference (EPR) > /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=ffca2e14b29fcc106e866d7fd85a5d88&roomId=4&%5F%5Flzbc%5F%5F=1461673462775 > org.apache.axis2.AxisFault: The service cannot be found for the endpoint > reference (EPR) > /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=ffca2e14b29fcc106e866d7fd85a5d88&roomId=4&%5F%5Flzbc%5F%5F=1461673462775 > at > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78) > ~[axis2-jar-1.7.0-SNAPSHOT.jar:na] > at org.apache.axis2.engine.Phase.invoke(Phase.java:329) > ~[axis2-jar-1.7.0-SNAPSHOT.jar:na] > > Thank you. > > -- > > Regards, > > Susheel Jalali > Coscend Communications Solutions > www.Coscend.com > ---------------------------------------------------------------- > CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail > Messages from Coscend Communications Solutions' posted at: > http://www.Coscend.com/Terms_and_Conditions.html > > > > On 04/25/16 19:09, Maxim Solodovnik wrote: > >> You need to add swf to StoredFile.java >> I believe swf files are blocked due to it might be security hole >> >> On Mon, Apr 25, 2016 at 7:33 PM, Susheel Jalali < >> [email protected]> >> wrote: >> >> Dear OpenMeetings Developers, >>> >>> We want to upload SWF files to file explorer and display on whiteboard, >>> but the upload is failing with HTTP 500 Error. >>> However, all the other formats (PPT, PDF, DOC, PNG and other image >>> formats) are getting uploaded, and also displayed on whiteboard. >>> >>> We appreciate any pointer to help with this. >>> >>> Details: >>> ------- >>> Do we need to modify any program code (e.g. uploadWindowExplorer.lzx, >>> fileUpload.lzx or other) ? >>> For example, code to skip any file-type-verification or OO / Jod/ >>> conversion calls in the case where the file being uploaded is already in >>> SWF format. >>> >>> We noticed that "*.swf" is not mentioned in the lists of file types that >>> are setup in the "browse" method in "fileUpload.lzx", >>> Does this issue need addition of lines for SWF, like: >>> , swfExt = "*.swf" >>> . . . >>> , imgExt = <existing list> + ";" + swfExt; >>> . . OR . . >>> allExt = <existing list> + ";" + swfExt; >>> >>> >>> PS. Could not find related question/answer in past email archives; the >>> closest came to: >>> code.google.com/archive/p/openmeetings/issues/370 and 371, >>> but those deal with OpenOffice or JOD converter topics, after successful >>> upload. >>> >>> -- >>> >>> Sincerely, >>> >>> Susheel Jalali >>> Coscend Communications Solutions >>> www.Coscend.com >>> ---------------------------------------------------------------- >>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail >>> Messages from Coscend Communications Solutions' posted at: >>> http://www.Coscend.com/Terms_and_Conditions.html >>> >>>
