MediaSense Forums

« Back

RE: The mediasense sample application is corrupted and files are deleted by

Combination View Flat View Tree View
Threads [ Previous | Next ]
The version 9.0 sample application dont work and all the .js files have been removed by mcafee antivirus before uploading to the website.

Hi Rico,
When did you download the app?   The latest app posted in http://developer.cisco.com/web/mediasense/home is dated Jan 2nd, 2013.  Please confirm.

Thanks, Bruce

A few weeks ago.

Try downloading the file :
open the .war file
navigate to the js subdirs
you will find files called warning_xxx.txt

containing like this :
 

BLOCKED FILE ALERT

A file has been blocked due to the 'Filter Binaries and Executables' rule.
Context: 'grid.base.js'
Disallowed due to
Ticket Number: '0c18-50bd-23aa-0005'
See your system administrator for further information. Copyright 1999-2011 McAfee, Inc.All Rights Reserved.http://www.mcafee.com
 
 

Just want to make sure you have the latest code.  Not sure what that "Filter binaries and Executables" rule is.  If you use a windows machine, a simple workaround would be manually copy all .js files from WebContent directory (js, and jquery/js) to your webapp directory.  The zip file can be scp/sftp to a liinux webserver, and unzip over there, which is also a workaround.  I use Mac and I don't see this problem.  I'll engage the eng team to figure out what really causes this. 

Hi.
 
Let me repeat.

I dont have mcafee antivirus.
 
It's the file that is on the web that is corrupted.
if you download the file from the url, unzip it.
unzip the war file, (that is done by apache-tomcat when you move it to the webapps dir,
then look in the folders where the js files are supposed to be.
instead of the .js files there is a warning text for each .js file that is missing.
And yes, it's possible to copy the .js files from the Mediasense-source.zip file.
But the file on the web is still corrupted.
 

We'll post a new sample s&p app zip file in the CDN soon.  

Rico, We have updated the zip file on CDN and addressed the missing js files. Sorry for the inconvenience.