You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by George Kirkham <gk...@co2crc.com.au> on 2012/05/15 08:16:31 UTC
RE: System Import HTTP-ERROR:500 - Could not find key in configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
Sebastian,
There might be a bug. When I had more time to check the log files I
found the message "Could not find key in configuration CONF_KEY:
DEFAULT_MAX_UPLOAD_SIZE", however in my configuration table there is a
setting for "max_upload_size", but not for "DEFAULT_MAX_UPLOAD_SIZE"
DEBUG 05-13 16:44:17.943 AppointmentLogic.java 2717993 408
org.openmeetings.app.data.calendar.management.AppointmentLogic
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- doScheduledMeetingReminder : no Appointments in range
DEBUG 05-13 16:45:49.330 HandlerMethodInvoker.java 2809380 173
org.springframework.web.bind.annotation.support.HandlerMethodInvoker
[http-0.0.0.0-5080-5] - Invoking request handler method: public void
org.openmeetings.servlet.outputhandler.BackupImportController.service(ja
vax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletRespon
se) throws javax.servlet.ServletException,java.io.IOException
DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 47
org.openmeetings.servlet.outputhandler.AbstractUploadController
[http-0.0.0.0-5080-5] - Starting validate
DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 54
org.openmeetings.servlet.outputhandler.AbstractUploadController
[http-0.0.0.0-5080-5] - sid: 30662dc60090358d260c872daac42089
DEBUG 05-13 16:45:49.338 AbstractUploadController.java 2809388 58
org.openmeetings.servlet.outputhandler.AbstractUploadController
[http-0.0.0.0-5080-5] - userId = 1, userLevel = 3
DEBUG 05-13 16:45:49.339 AbstractUploadController.java 2809389 72
org.openmeetings.servlet.outputhandler.AbstractUploadController
[http-0.0.0.0-5080-5] - publicSID: bde999bf315d82237e40fac9f4b7291a
WARN 05-13 16:45:49.340 Configurationmanagement.java 2809390 103
org.openmeetings.app.data.basic.Configurationmanagement
[http-0.0.0.0-5080-5] - Could not find key in configuration CONF_KEY:
DEFAULT_MAX_UPLOAD_SIZE
DEBUG 05-13 16:45:49.340 AbstractUploadController.java 2809390 81
org.openmeetings.servlet.outputhandler.AbstractUploadController
[http-0.0.0.0-5080-5] - uploading 1273848358 bytes
DEBUG 05-13 16:45:57.941 MeetingReminderJob.java 2817991 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9]
- MeetingReminderJob.execute
DEBUG 05-13 16:45:57.943 AppointmentDaoImpl.java 2817993 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9]
- startStamp 2012-05-13 16:45:57.943
DEBUG 05-13 16:45:57.948 AppointmentDaoImpl.java 2817998 938
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9]
- stopStamp 2012-05-13 17:00:57.943
DEBUG 05-13 16:45:57.950 AppointmentLogic.java 2818000 408
org.openmeetings.app.data.calendar.management.AppointmentLogic
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9]
- doScheduledMeetingReminder : no Appointments in range
DEBUG 05-13 16:47:37.941 MeetingReminderJob.java 2917991 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10]
- MeetingReminderJob.execute
DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10]
- startStamp 2012-05-13 16:47:37.943
DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 938
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10]
- stopStamp 2012-05-13 17:02:37.943
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Monday, 14 May 2012 10:29 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: System Import HTTP-ERROR:500
That is no really issue then :)
You just need to goto the Administration > Configuration and adjust a
higher value for the max_upload_size variable.
Sebastian
2012/5/14 George Kirkham <gk...@co2crc.com.au>
Sebastian,
1) Tomorrow when I have more time I will see if I can capture the
error logs. Below is what I found from today's log file.
2012-05-13 16:45:49,461 [http-0.0.0.0-5080-5] ERROR
o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet
spring-mvc threw exception
javax.servlet.ServletException: Maximum upload size: 1073741824
exceeded: 1273848358
at
org.openmeetings.servlet.outputhandler.AbstractUploadController.validate
(AbstractUploadController.java:83) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:467) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
2) I am not familiar with the "the CLI command", and will follow
the instructions from the Upgrade page.
3) You need OpenMeetings 2.x or later to have the command line
interface (CLI) feature available
4) Alternatively to the Web-Installer you can also export and
import via the command line.
You should shutdown the Red5-Service while doing CLI export or import
operations
Cd to your red5-home directory, type "admin" and hit enter. You will get
options available.
A typical export would be:
admin -b -file backup_today.zip
A typical import would be:
admin -r -file backup_yesterday.zip
You can also combine the installation with a backup, that way you will
create exactly the user table that existed in the backup.
A typical install from backup would be:
admin -i -file backup_yesterday.zip
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Monday, 14 May 2012 6:29 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: System Import HTTP-ERROR:500
Hi George,
please share your log files for the error 500. I am pretty sure there
must be some kind of exception.
yes this was the intend for the checkbox.
In theory you can copy the folders:
webapps/openmeetings/streams/
webapps/openmeetings/upload/
However when doing that you should use the CLI command to install and
import the backup so that the user Ids are the same.
Sebastian
2012/5/14 George Kirkham <gk...@co2crc.com.au>
Hi,
When performing a system backup with "Include uploaded files and
recordings in backup", and then doing a System restore, the restore
fails with a "HTTP-ERROR:500", with I believe is because the backup file
(backup_13_05_2012_16_05_04.zip) is now 1.2 GB in size.
Is it possible to do a system backup/restore without the option to
"Include uploaded files and recordings in backup", and then just copy a
specific folder or two back in, for example;
After doing a compile after checking out the svn code for
singlewebapp...
#mv /usr/lib/red5/usr/lib/red5.001
# mv dist/red5 /usr/lib/red5/
# cp -R /usr/lib/red5.001/webapps/openmeetings/upload/files
/usr/lib/red5/webapps/openmeetings/upload/
# cp -R /usr/lib/red5.001/webapps/openmeetings/upload/profiles
/usr/lib/red5/webapps/openmeetings/upload/
Thanks,
George Kirkham
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
RE: System Import HTTP-ERROR:500 - Could not find key in configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
Posted by George Kirkham <gk...@co2crc.com.au>.
Thanks, Maxim. That was fast.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Tuesday, 15 May 2012 4:27 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: System Import HTTP-ERROR:500 - Could not find key in configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
Corrected rev. 1338553
On Tue, May 15, 2012 at 1:25 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Hello George,
the configuration should be "max_upload_size"
I'll double check.
On Tue, May 15, 2012 at 1:16 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
There might be a bug. When I had more time to check the log files I found the message “Could not find key in configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE”, however in my configuration table there is a setting for “max_upload_size”, but not for “DEFAULT_MAX_UPLOAD_SIZE”
DEBUG 05-13 16:44:17.943 AppointmentLogic.java 2717993 408 org.openmeetings.app.data.calendar.management.AppointmentLogic [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - doScheduledMeetingReminder : no Appointments in range
DEBUG 05-13 16:45:49.330 HandlerMethodInvoker.java 2809380 173 org.springframework.web.bind.annotation.support.HandlerMethodInvoker [http-0.0.0.0-5080-5] - Invoking request handler method: public void org.openmeetings.servlet.outputhandler.BackupImportController.service(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws javax.servlet.ServletException,java.io.IOException
DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 47 org.openmeetings.servlet.outputhandler.AbstractUploadController [http-0.0.0.0-5080-5] - Starting validate
DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 54 org.openmeetings.servlet.outputhandler.AbstractUploadController [http-0.0.0.0-5080-5] - sid: 30662dc60090358d260c872daac42089
DEBUG 05-13 16:45:49.338 AbstractUploadController.java 2809388 58 org.openmeetings.servlet.outputhandler.AbstractUploadController [http-0.0.0.0-5080-5] - userId = 1, userLevel = 3
DEBUG 05-13 16:45:49.339 AbstractUploadController.java 2809389 72 org.openmeetings.servlet.outputhandler.AbstractUploadController [http-0.0.0.0-5080-5] - publicSID: bde999bf315d82237e40fac9f4b7291a
WARN 05-13 16:45:49.340 Configurationmanagement.java 2809390 103 org.openmeetings.app.data.basic.Configurationmanagement [http-0.0.0.0-5080-5] - Could not find key in configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
DEBUG 05-13 16:45:49.340 AbstractUploadController.java 2809390 81 org.openmeetings.servlet.outputhandler.AbstractUploadController [http-0.0.0.0-5080-5] - uploading 1273848358 bytes
DEBUG 05-13 16:45:57.941 MeetingReminderJob.java 2817991 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - MeetingReminderJob.execute
DEBUG 05-13 16:45:57.943 AppointmentDaoImpl.java 2817993 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - startStamp 2012-05-13 16:45:57.943
DEBUG 05-13 16:45:57.948 AppointmentDaoImpl.java 2817998 938 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - stopStamp 2012-05-13 17:00:57.943
DEBUG 05-13 16:45:57.950 AppointmentLogic.java 2818000 408 org.openmeetings.app.data.calendar.management.AppointmentLogic [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - doScheduledMeetingReminder : no Appointments in range
DEBUG 05-13 16:47:37.941 MeetingReminderJob.java 2917991 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] - MeetingReminderJob.execute
DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] - startStamp 2012-05-13 16:47:37.943
DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 938 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] - stopStamp 2012-05-13 17:02:37.943
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Monday, 14 May 2012 10:29 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: System Import HTTP-ERROR:500
That is no really issue then :)
You just need to goto the Administration > Configuration and adjust a higher value for the max_upload_size variable.
Sebastian
2012/5/14 George Kirkham <gk...@co2crc.com.au>
Sebastian,
1) Tomorrow when I have more time I will see if I can capture the error logs. Below is what I found from today’s log file.
2012-05-13 16:45:49,461 [http-0.0.0.0-5080-5] ERROR o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet spring-mvc threw exception
javax.servlet.ServletException: Maximum upload size: 1073741824 exceeded: 1273848358
at org.openmeetings.servlet.outputhandler.AbstractUploadController.validate(AbstractUploadController.java:83) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:467) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
2) I am not familiar with the “the CLI command”, and will follow the instructions from the Upgrade page.
3) You need OpenMeetings 2.x or later to have the command line interface (CLI) feature available
4) Alternatively to the Web-Installer you can also export and import via the command line.
You should shutdown the Red5-Service while doing CLI export or import operations
Cd to your red5-home directory, type "admin" and hit enter. You will get options available.
A typical export would be:
admin -b -file backup_today.zip
A typical import would be:
admin -r -file backup_yesterday.zip
You can also combine the installation with a backup, that way you will create exactly the user table that existed in the backup.
A typical install from backup would be:
admin -i -file backup_yesterday.zip
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Monday, 14 May 2012 6:29 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: System Import HTTP-ERROR:500
Hi George,
please share your log files for the error 500. I am pretty sure there must be some kind of exception.
yes this was the intend for the checkbox.
In theory you can copy the folders:
webapps/openmeetings/streams/
webapps/openmeetings/upload/
However when doing that you should use the CLI command to install and import the backup so that the user Ids are the same.
Sebastian
2012/5/14 George Kirkham <gk...@co2crc.com.au>
Hi,
When performing a system backup with “Include uploaded files and recordings in backup”, and then doing a System restore, the restore fails with a “HTTP-ERROR:500”, with I believe is because the backup file (backup_13_05_2012_16_05_04.zip) is now 1.2 GB in size.
Is it possible to do a system backup/restore without the option to “Include uploaded files and recordings in backup”, and then just copy a specific folder or two back in, for example;
After doing a compile after checking out the svn code for singlewebapp…
#mv /usr/lib/red5/usr/lib/red5.001
# mv dist/red5 /usr/lib/red5/
# cp -R /usr/lib/red5.001/webapps/openmeetings/upload/files /usr/lib/red5/webapps/openmeetings/upload/
# cp -R /usr/lib/red5.001/webapps/openmeetings/upload/profiles /usr/lib/red5/webapps/openmeetings/upload/
Thanks,
George Kirkham
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: System Import HTTP-ERROR:500 - Could not find key in
configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
Posted by Maxim Solodovnik <so...@gmail.com>.
Corrected rev. 1338553
On Tue, May 15, 2012 at 1:25 PM, Maxim Solodovnik <so...@gmail.com>wrote:
> Hello George,
>
> the configuration should be "max_upload_size"
> I'll double check.
>
>
> On Tue, May 15, 2012 at 1:16 PM, George Kirkham <gk...@co2crc.com.au>wrote:
>
>> Sebastian,****
>>
>> ** **
>>
>> There might be a bug. When I had more time to check the log files I
>> found the message “Could not find key in configuration CONF_KEY:
>> DEFAULT_MAX_UPLOAD_SIZE”, however in my configuration table there is a
>> setting for “max_upload_size”, but not for “DEFAULT_MAX_UPLOAD_SIZE”****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> DEBUG 05-13 16:44:17.943 AppointmentLogic.java 2717993 408
>> org.openmeetings.app.data.calendar.management.AppointmentLogic
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>> doScheduledMeetingReminder : no Appointments in range****
>>
>> DEBUG 05-13 16:45:49.330 HandlerMethodInvoker.java 2809380 173
>> org.springframework.web.bind.annotation.support.HandlerMethodInvoker
>> [http-0.0.0.0-5080-5] - Invoking request handler method: public void
>> org.openmeetings.servlet.outputhandler.BackupImportController.service(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
>> throws javax.servlet.ServletException,java.io.IOException****
>>
>> DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 47
>> org.openmeetings.servlet.outputhandler.AbstractUploadController
>> [http-0.0.0.0-5080-5] - Starting validate****
>>
>> DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 54
>> org.openmeetings.servlet.outputhandler.AbstractUploadController
>> [http-0.0.0.0-5080-5] - sid: 30662dc60090358d260c872daac42089****
>>
>> DEBUG 05-13 16:45:49.338 AbstractUploadController.java 2809388 58
>> org.openmeetings.servlet.outputhandler.AbstractUploadController
>> [http-0.0.0.0-5080-5] - userId = 1, userLevel = 3****
>>
>> DEBUG 05-13 16:45:49.339 AbstractUploadController.java 2809389 72
>> org.openmeetings.servlet.outputhandler.AbstractUploadController
>> [http-0.0.0.0-5080-5] - publicSID: bde999bf315d82237e40fac9f4b7291a****
>>
>> WARN 05-13 16:45:49.340 Configurationmanagement.java 2809390 103
>> org.openmeetings.app.data.basic.Configurationmanagement
>> [http-0.0.0.0-5080-5] - Could not find key in configuration CONF_KEY:
>> DEFAULT_MAX_UPLOAD_SIZE****
>>
>> DEBUG 05-13 16:45:49.340 AbstractUploadController.java 2809390 81
>> org.openmeetings.servlet.outputhandler.AbstractUploadController
>> [http-0.0.0.0-5080-5] - uploading 1273848358 bytes****
>>
>> DEBUG 05-13 16:45:57.941 MeetingReminderJob.java 2817991 34
>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
>> MeetingReminderJob.execute****
>>
>> DEBUG 05-13 16:45:57.943 AppointmentDaoImpl.java 2817993 937
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
>> startStamp 2012-05-13 16:45:57.943****
>>
>> DEBUG 05-13 16:45:57.948 AppointmentDaoImpl.java 2817998 938
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
>> stopStamp 2012-05-13 17:00:57.943****
>>
>> DEBUG 05-13 16:45:57.950 AppointmentLogic.java 2818000 408
>> org.openmeetings.app.data.calendar.management.AppointmentLogic
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
>> doScheduledMeetingReminder : no Appointments in range****
>>
>> DEBUG 05-13 16:47:37.941 MeetingReminderJob.java 2917991 34
>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
>> MeetingReminderJob.execute****
>>
>> DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 937
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
>> startStamp 2012-05-13 16:47:37.943****
>>
>> DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 938
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
>> stopStamp 2012-05-13 17:02:37.943****
>>
>> ** **
>>
>> ** **
>>
>> Thanks,****
>>
>> ** **
>>
>> George Kirkham****
>>
>> ** **
>>
>> ** **
>>
>> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com<se...@gmail.com>]
>>
>> *Sent:* Monday, 14 May 2012 10:29 PM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: System Import HTTP-ERROR:500****
>>
>> ** **
>>
>> That is no really issue then :)
>> You just need to goto the Administration > Configuration and adjust a
>> higher value for the max_upload_size variable.
>>
>> Sebastian****
>>
>> 2012/5/14 George Kirkham <gk...@co2crc.com.au>****
>>
>> Sebastian,****
>>
>> ****
>>
>> 1) Tomorrow when I have more time I will see if I can capture the
>> error logs. Below is what I found from today’s log file.****
>>
>> ****
>>
>> 2012-05-13 16:45:49,461 [http-0.0.0.0-5080-5] ERROR
>> o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet
>> spring-mvc threw exception****
>>
>> javax.servlet.ServletException: Maximum upload size: 1073741824
>> exceeded: 1273848358****
>>
>> at
>> org.openmeetings.servlet.outputhandler.AbstractUploadController.validate(AbstractUploadController.java:83)
>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at
>> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:467)
>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> ~[na:1.6.0_26]****
>>
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> ~[na:1.6.0_26]****
>>
>> ****
>>
>> 2) I am not familiar with the “the CLI command”, and will follow
>> the instructions from the Upgrade page.****
>>
>> 3) *You need OpenMeetings 2.x or later to have the command line
>> interface (CLI) feature available *****
>>
>> 4) Alternatively to the Web-Installer you can also export and
>> import via the command line.
>> *You should shutdown the Red5-Service while doing CLI export or import
>> operations*
>> Cd to your red5-home directory, type "admin" and hit enter. You will get
>> options available.
>>
>> A typical export would be:
>> admin -b -file backup_today.zip
>>
>> A typical import would be:
>> admin -r -file backup_yesterday.zip
>>
>> You can also combine the installation with a backup, that way you will
>> create exactly the user table that existed in the backup.
>> A typical install from backup would be:
>> admin -i -file backup_yesterday.zip ****
>>
>> ****
>>
>> Thanks,****
>>
>> ****
>>
>> George Kirkham****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
>> *Sent:* Monday, 14 May 2012 6:29 PM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: System Import HTTP-ERROR:500****
>>
>> ****
>>
>> Hi George,
>>
>> please share your log files for the error 500. I am pretty sure there
>> must be some kind of exception.
>>
>> yes this was the intend for the checkbox.
>> In theory you can copy the folders:
>> webapps/openmeetings/streams/
>> webapps/openmeetings/upload/
>>
>> However when doing that you should use the CLI command to install and
>> import the backup so that the user Ids are the same.
>>
>> Sebastian****
>>
>> 2012/5/14 George Kirkham <gk...@co2crc.com.au>****
>>
>> Hi,****
>>
>> ****
>>
>> When performing a system backup with “Include uploaded files and
>> recordings in backup”, and then doing a System restore, the restore fails
>> with a “HTTP-ERROR:500”, with I believe is because the backup file
>> (backup_13_05_2012_16_05_04.zip) is now 1.2 GB in size.****
>>
>> ****
>>
>> Is it possible to do a system backup/restore without the option to
>> “Include uploaded files and recordings in backup”, and then just copy a
>> specific folder or two back in, for example;****
>>
>> ****
>>
>> After doing a compile after checking out the svn code for singlewebapp…**
>> **
>>
>> #mv /usr/lib/red5/usr/lib/red5.001****
>>
>> # mv dist/red5 /usr/lib/red5/****
>>
>> # cp -R /usr/lib/red5.001/webapps/openmeetings/upload/files
>> /usr/lib/red5/webapps/openmeetings/upload/****
>>
>> # cp -R /usr/lib/red5.001/webapps/openmeetings/upload/profiles
>> /usr/lib/red5/webapps/openmeetings/upload/****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> [image: cid:image001.jpg@01CD326A.EF0AD880]****
>>
>> ****
>>
>> Thanks,****
>>
>> ****
>>
>> George Kirkham****
>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com****
>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com****
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
Re: System Import HTTP-ERROR:500 - Could not find key in
configuration CONF_KEY: DEFAULT_MAX_UPLOAD_SIZE
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello George,
the configuration should be "max_upload_size"
I'll double check.
On Tue, May 15, 2012 at 1:16 PM, George Kirkham <gk...@co2crc.com.au>wrote:
> Sebastian,****
>
> ** **
>
> There might be a bug. When I had more time to check the log files I found
> the message “Could not find key in configuration CONF_KEY:
> DEFAULT_MAX_UPLOAD_SIZE”, however in my configuration table there is a
> setting for “max_upload_size”, but not for “DEFAULT_MAX_UPLOAD_SIZE”****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> DEBUG 05-13 16:44:17.943 AppointmentLogic.java 2717993 408
> org.openmeetings.app.data.calendar.management.AppointmentLogic
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> doScheduledMeetingReminder : no Appointments in range****
>
> DEBUG 05-13 16:45:49.330 HandlerMethodInvoker.java 2809380 173
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker
> [http-0.0.0.0-5080-5] - Invoking request handler method: public void
> org.openmeetings.servlet.outputhandler.BackupImportController.service(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
> throws javax.servlet.ServletException,java.io.IOException****
>
> DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 47
> org.openmeetings.servlet.outputhandler.AbstractUploadController
> [http-0.0.0.0-5080-5] - Starting validate****
>
> DEBUG 05-13 16:45:49.331 AbstractUploadController.java 2809381 54
> org.openmeetings.servlet.outputhandler.AbstractUploadController
> [http-0.0.0.0-5080-5] - sid: 30662dc60090358d260c872daac42089****
>
> DEBUG 05-13 16:45:49.338 AbstractUploadController.java 2809388 58
> org.openmeetings.servlet.outputhandler.AbstractUploadController
> [http-0.0.0.0-5080-5] - userId = 1, userLevel = 3****
>
> DEBUG 05-13 16:45:49.339 AbstractUploadController.java 2809389 72
> org.openmeetings.servlet.outputhandler.AbstractUploadController
> [http-0.0.0.0-5080-5] - publicSID: bde999bf315d82237e40fac9f4b7291a****
>
> WARN 05-13 16:45:49.340 Configurationmanagement.java 2809390 103
> org.openmeetings.app.data.basic.Configurationmanagement
> [http-0.0.0.0-5080-5] - Could not find key in configuration CONF_KEY:
> DEFAULT_MAX_UPLOAD_SIZE****
>
> DEBUG 05-13 16:45:49.340 AbstractUploadController.java 2809390 81
> org.openmeetings.servlet.outputhandler.AbstractUploadController
> [http-0.0.0.0-5080-5] - uploading 1273848358 bytes****
>
> DEBUG 05-13 16:45:57.941 MeetingReminderJob.java 2817991 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
> MeetingReminderJob.execute****
>
> DEBUG 05-13 16:45:57.943 AppointmentDaoImpl.java 2817993 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
> startStamp 2012-05-13 16:45:57.943****
>
> DEBUG 05-13 16:45:57.948 AppointmentDaoImpl.java 2817998 938
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
> stopStamp 2012-05-13 17:00:57.943****
>
> DEBUG 05-13 16:45:57.950 AppointmentLogic.java 2818000 408
> org.openmeetings.app.data.calendar.management.AppointmentLogic
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] -
> doScheduledMeetingReminder : no Appointments in range****
>
> DEBUG 05-13 16:47:37.941 MeetingReminderJob.java 2917991 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
> MeetingReminderJob.execute****
>
> DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
> startStamp 2012-05-13 16:47:37.943****
>
> DEBUG 05-13 16:47:37.943 AppointmentDaoImpl.java 2917993 938
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] -
> stopStamp 2012-05-13 17:02:37.943****
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com<se...@gmail.com>]
>
> *Sent:* Monday, 14 May 2012 10:29 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: System Import HTTP-ERROR:500****
>
> ** **
>
> That is no really issue then :)
> You just need to goto the Administration > Configuration and adjust a
> higher value for the max_upload_size variable.
>
> Sebastian****
>
> 2012/5/14 George Kirkham <gk...@co2crc.com.au>****
>
> Sebastian,****
>
> ****
>
> 1) Tomorrow when I have more time I will see if I can capture the
> error logs. Below is what I found from today’s log file.****
>
> ****
>
> 2012-05-13 16:45:49,461 [http-0.0.0.0-5080-5] ERROR
> o.a.c.c.C.[.[.0.0.0.[.[spring-mvc] - Servlet.service() for servlet
> spring-mvc threw exception****
>
> javax.servlet.ServletException: Maximum upload size: 1073741824 exceeded:
> 1273848358****
>
> at
> org.openmeetings.servlet.outputhandler.AbstractUploadController.validate(AbstractUploadController.java:83)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:467)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_26]****
>
> ****
>
> 2) I am not familiar with the “the CLI command”, and will follow the
> instructions from the Upgrade page.****
>
> 3) *You need OpenMeetings 2.x or later to have the command line
> interface (CLI) feature available *****
>
> 4) Alternatively to the Web-Installer you can also export and import
> via the command line.
> *You should shutdown the Red5-Service while doing CLI export or import
> operations*
> Cd to your red5-home directory, type "admin" and hit enter. You will get
> options available.
>
> A typical export would be:
> admin -b -file backup_today.zip
>
> A typical import would be:
> admin -r -file backup_yesterday.zip
>
> You can also combine the installation with a backup, that way you will
> create exactly the user table that existed in the backup.
> A typical install from backup would be:
> admin -i -file backup_yesterday.zip ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> ****
>
> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
> *Sent:* Monday, 14 May 2012 6:29 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: System Import HTTP-ERROR:500****
>
> ****
>
> Hi George,
>
> please share your log files for the error 500. I am pretty sure there must
> be some kind of exception.
>
> yes this was the intend for the checkbox.
> In theory you can copy the folders:
> webapps/openmeetings/streams/
> webapps/openmeetings/upload/
>
> However when doing that you should use the CLI command to install and
> import the backup so that the user Ids are the same.
>
> Sebastian****
>
> 2012/5/14 George Kirkham <gk...@co2crc.com.au>****
>
> Hi,****
>
> ****
>
> When performing a system backup with “Include uploaded files and
> recordings in backup”, and then doing a System restore, the restore fails
> with a “HTTP-ERROR:500”, with I believe is because the backup file
> (backup_13_05_2012_16_05_04.zip) is now 1.2 GB in size.****
>
> ****
>
> Is it possible to do a system backup/restore without the option to
> “Include uploaded files and recordings in backup”, and then just copy a
> specific folder or two back in, for example;****
>
> ****
>
> After doing a compile after checking out the svn code for singlewebapp…***
> *
>
> #mv /usr/lib/red5/usr/lib/red5.001****
>
> # mv dist/red5 /usr/lib/red5/****
>
> # cp -R /usr/lib/red5.001/webapps/openmeetings/upload/files
> /usr/lib/red5/webapps/openmeetings/upload/****
>
> # cp -R /usr/lib/red5.001/webapps/openmeetings/upload/profiles
> /usr/lib/red5/webapps/openmeetings/upload/****
>
> ****
>
> ****
>
> ****
>
> [image: cid:image001.jpg@01CD326A.EF0AD880]****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com****
>
--
WBR
Maxim aka solomax