I saw such error today. It was caused by incorrect DB encoding. I feel there is no need to examine 3rd party sources :) On Dec 10, 2012 6:55 PM, "Alexei Fedotov" <alexei.fedo...@gmail.com> wrote:
> One shoukd check line 942 in VelocityView file to get an insight on the > problem root cause > 10.12.2012 1:23 пользователь "BBS Technik" <dormiti...@gmx.de> написал: > >> Hello, >> >> I used the script to upgrade my Ubuntu OM2 installation with option 3 >> because my OM froze after a short time. >> After running the sript and after a restart of the ubuntu server I have >> this error message in the browser window: >> === >> type Exception report >> message >> description The server encountered an internal error that prevented it >> from fulfilling this request. >> exception >> java.lang.NullPointerException >> >> org.apache.velocity.tools.view.VelocityView.performMerge(VelocityView.java:942) >> >> org.apache.velocity.tools.view.VelocityView.merge(VelocityView.java:902) >> >> org.apache.velocity.tools.view.VelocityViewServlet.mergeTemplate(VelocityViewServlet.java:318) >> >> org.apache.velocity.tools.view.VelocityViewServlet.doRequest(VelocityViewServlet.java:220) >> >> org.apache.velocity.tools.view.VelocityViewServlet.doGet(VelocityViewServlet.java:182) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:621) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >> >> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) >> ==== >> Any idea to get my installation back running? >> >> Best regards Ed >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -------- Original-Nachricht -------- >> > Datum: Thu, 22 Nov 2012 06:39:25 +1000 >> > Von: "Stephen Cottham" <stephen.cott...@robertbird.com.au> >> > An: openmeetings-user@incubator.apache.org >> > CC: openmeetings-user@incubator.apache.org >> > Betreff: Re: Debian_Installer_Upgrader.sh >> >> > Jean-Marie, >> > >> > What are you trying to do? Looks like you used the upgrade option but if >> > this is a fresh Debian install like you said there is nothing to >> upgrade. >> > >> > You should use option 2, please also take note that this was an old >> > attempt at the installer and was for testing only, until I have time to >> amend and >> > update it a manual install using the guides would be the best option for >> > you. >> > >> > Best Regards >> > >> > Sent from my iPhone >> > >> > On 22 Nov 2012, at 02:54, "Jean-Marie Landri" < >> jeanmarielan...@gmail.com> >> > wrote: >> > >> > > Thank you Maxim, >> > > according... >> > > >> > > # sudo apt-get install dos2unix >> > > # dos2unix /usr/Ubuntu_Debian_Installer_Upgrader.sh >> > > # /usr/Ubuntu_Debian_Installer_Upgrader.sh >> > > >> > > Results - >> > > BUILD SUCCESSFUL >> > > Total time: 3 minutes 28 seconds >> > > mv: cannot move `red5/' to `/usr/lib/red5': Directory not empty >> > > Setting up permissions and creating start-up >> > scripts....................................... >> > > >> > > update-rc.d: using dependency based boot sequencing >> > > insserv: script vzquota: service vzreboot already provided! >> > > Setting up Om to use MYSQL >> > backend................................................ >> > > >> > > mv: cannot stat >> > >> `/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml': >> No such file or directory >> > > sed: can't read >> > >> /usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml: >> No such file or directory >> > > sed: can't read >> > >> /usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml: >> No such file or directory >> > > Openmeetings is now installed please open a browser to: >> > > http://<OMServerIPaddress>:5080/openmeetings/install >> > > ************************** >> > > * OpenMeetings Installer * >> > > ************************** >> > > * [1] Ubuntu Install >> > > * [2] Debian Install >> > > * [3] Upgrade >> > > * [0] Exit >> > > ************************** >> > > Enter your menu choice [1, 2, 3 or 4]: ^C >> > > root@vps-1117903-13600:~# /etc/init.d/red5 >> > > Usage: /etc/init.d/red5 >> > {start|stop|restart|force-reload|status|checkports} >> > > root@vps-1117903-13600:~# /etc/init.d/red5 status >> > > /etc/init.d/red5: line 50: below: command not found >> > > red5 is not running >> > > root@vps-1117903-13600:~# /etc/init.d/red5 restart >> > > >> > > >> > > >> > > >> > > >> > > On Wed, Nov 21, 2012 at 12:43 PM, Maxim Solodovnik >> > <solomax...@gmail.com> wrote: >> > > sudo apt-get install dos2unix >> > > >> > > On Nov 21, 2012 5:06 PM, "Jean-Marie Landri" < >> jeanmarielan...@gmail.com> >> > wrote: >> > > Hello maxim, >> > > Thanks for the reference, >> > > >> > > root@vps-11182555-13600:~# dos2unix >> > /usr/Ubuntu_Debian_Installer_Upgrader.sh >> > > -bash: dos2unix: command not found >> > > >> > > Thank you >> > > >> > > >> > > On Tue, Nov 20, 2012 at 6:05 AM, Stephen Cottham >> > <stephen.cott...@robertbird.com.au> wrote: >> > > Hey Jean-marie, >> > > >> > > >> > > >> > > Maxim is correct, this was an earlier attempt at the auto installer, I >> > will update this with the latest one when I get a chance. >> > > >> > > >> > > >> > > Best Regards >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > From: Maxim Solodovnik [mailto:solomax...@gmail.com] >> > > Sent: 20 November 2012 03:47 >> > > To: openmeetings-user@incubator.apache.org >> > > Subject: Re: Debian_Installer_Upgrader.sh >> > > >> > > >> > > >> > > The script seems to have Windows line endings >> > > >> > > try to >> > > >> > > dos2unix /usr/Ubuntu_Debian_Installer_Upgrader.sh >> > > >> > > >> > > >> > > before running it >> > > >> > > >> > > >> > > On Mon, Nov 19, 2012 at 10:33 PM, Jean-Marie Landri >> > <jeanmarielan...@gmail.com> wrote: >> > > >> > > Hello, >> > > I'm trying to install the auto script - >> > > >> > >> https://cwiki.apache.org/confluence/download/attachments/27838216/Ubuntu_Debian_Installer_Upgrader.sh?version=1&modificationDate=1343925089000 >> > > >> > > It is a fresh vps debian-6.0-x86_64 >> > > copied the file to /usr >> > > >> > > root@vps-1117903-13600:~# /usr/Ubuntu_Debian_Installer_Upgrader.sh >> > > -bash: /usr/Ubuntu_Debian_Installer_Upgrader.sh: /bin/bash^M: bad >> > interpreter: No such file or directory >> > > >> > > thank you >> > > >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > WBR >> > > Maxim aka solomax >> > > >> > > Stephen Cottham >> > > Group IT Manager (Associate) >> > > >> > > Robert Bird Group >> > > Level 5, 333 Ann St >> > > Brisbane, Queensland, 4000, Australia >> > > Phone: +6173 319 2777 (AUS) >> > > Phone: +44207 633 2880 (UK) >> > > Fax: +6173 319 2799 >> > > >> > > Mobile: +61400 756 963 (AUS) >> > > Mobile: +447900 918 616 (UK) >> > > Web: www.robertbird.com >> > > >> > > <rbglogo.gif> >> > > >> > > This email and any attachments are confidential and may contain >> legally >> > privileged information or copyright material. Unless expressly stated, >> > confidentiality and/or legal privilege is not intended to be waived by >> the >> > sending of this email. The contents of this email, including any >> attachments, >> > are intended solely for the use of the individual or entity to whom >> they are >> > addressed. If you are not an intended recipient, please contact us >> > immediately by return email and then delete both messages. You may not >> otherwise >> > read, forward, copy, use or disclose this email or any attachments. Any >> > views expressed in this email are those of the individual sender except >> where >> > the sender expressly, and with authority, states otherwise. It is your >> > responsibility to check any attachments for viruses or defects before >> opening or >> > sending them on. None of the sender or its related entities accepts any >> > liability for any consequential damage resulting from this email >> containing >> > computer viruses. >> > > >> > > <green.bmp> >> > > >> > > >> > > Disclaimer added by CodeTwo Exchange Rules >> > > www.codetwo.com >> > > >> > > >> > > >> > >> > Stephen Cottham >> > Group IT Manager (Associate) >> > >> > Robert Bird Group >> > Level 5, 333 Ann St >> > Brisbane, Queensland, 4000, Australia >> > Phone: +6173 319 2777 (AUS) >> > Phone: +44207 633 2880 (UK) >> > Fax: +6173 319 2799 >> > >> > Mobile: +61400 756 963 (AUS) >> > Mobile: +447900 918 616 (UK) >> > Web: www.robertbird.com >> > >> > >> > This email and any attachments are confidential and may contain legally >> > privileged information or copyright material. Unless expressly stated, >> > confidentiality and/or legal privilege is not intended to be waived by >> the >> > sending of this email. The contents of this email, including any >> attachments, are >> > intended solely for the use of the individual or entity to whom they are >> > addressed. If you are not an intended recipient, please contact us >> > immediately by return email and then delete both messages. You may not >> otherwise >> > read, forward, copy, use or disclose this email or any attachments. Any >> views >> > expressed in this email are those of the individual sender except where >> the >> > sender expressly, and with authority, states otherwise. It is your >> > responsibility to check any attachments for viruses or defects before >> opening or >> > sending them on. None of the sender or its related entities accepts any >> > liability for any consequential damage resulting from this email >> containing >> > computer viruses. >> > >> > Disclaimer added by CodeTwo Exchange Rules >> > http://www.codetwo.com >> > >> >