Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
gordon daniels
video file will not upload
February 8, 2013 10:43 AM
Answer

gordon daniels

Rank: Liferay Master

Posts: 649

Join Date: August 23, 2008

Recent Posts

I am using the latest 6.1.1ce-ga2. I have always been able to upload video but I am now getting an error msg: . Please enter a file with a valid file size no larger than 300000k. Is that really the limit?

I have read the documentation on setting up xuggler, properties file, and everything else I could find on wiki, docs, and forum. Anyone out there have an idea of what might be going on?

I've spent hours trying to solve this. Any help would be greatly appreciated.

thanks
Juan Gonzalez
RE: video file will not upload
February 8, 2013 10:51 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1848

Join Date: October 28, 2008

Recent Posts

Hi gordon,

2 questions:

Where did you configure that value?

Have you got a cluster? In that case, is it well configured?
Hitoshi Ozawa
RE: video file will not upload
February 9, 2013 3:15 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Change the following setting in portal-ext.properties

#
# Set the maximum file size and valid file extensions for documents. A value
# of 0 for the maximum file size can be used to indicate unlimited file
# size. However, the maximum file size allowed is set in the property
# "com.liferay.portal.upload.UploadServletRequestImpl.max.size".
#
#dl.file.max.size=307200
#dl.file.max.size=1024000
dl.file.max.size=3072000
gordon daniels
RE: video file will not upload
February 9, 2013 7:59 AM
Answer

gordon daniels

Rank: Liferay Master

Posts: 649

Join Date: August 23, 2008

Recent Posts

Juan: thanks for the attention. I changed sizes in Control Panel - Files and also in propertied-ext. file. I also read your links on another post and the wiki.

It has me stumped. I am using the latest pateched version.
gordon daniels
RE: video file will not upload
February 9, 2013 8:00 AM
Answer

gordon daniels

Rank: Liferay Master

Posts: 649

Join Date: August 23, 2008

Recent Posts

Hi Hitoshi: thanks for the reply. I have already done that. Still stumped - but I am working on it. :-)
Juan Gonzalez
RE: video file will not upload
February 9, 2013 9:59 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1848

Join Date: October 28, 2008

Recent Posts

Did you clear database cache? Did you check that values are in Portal properties table?

Did you restart tomcat to ensure values are obtained from DB?
gordon daniels
RE: video file will not upload
February 9, 2013 11:09 AM
Answer

gordon daniels

Rank: Liferay Master

Posts: 649

Join Date: August 23, 2008

Recent Posts

Juan: thanks for your help: did not restart tomcat will do so now. Portal properties table has data. Should be working.

thanks
Hitoshi Ozawa
RE: video file will not upload
February 10, 2013 3:10 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

You need to restart tomcat to get portal-ext.properties to take effect because the values are read during startup. Remember, portal-ext.properties are just default values.
gordon daniels
RE: video file will not upload
February 10, 2013 7:17 AM
Answer

gordon daniels

Rank: Liferay Master

Posts: 649

Join Date: August 23, 2008

Recent Posts

Hitoshi: thanks.