Hello,

I am installing openmeetings by following this instruction: Openmeetings installation

Can anyone help me guess what may cause the error? I have the following error after installing openmeetings: Step 10: Run Openmeetings!

--------------------

Openmeetings
Error while running installer, please check your installation

org.dom4j.DocumentException: languages/languages.xml (No such file or directory) Nested exception: languages/languages.xml (No such file or directory)
    at org.dom4j.io.SAXReader.read(SAXReader.java:266)
    at org.apache.openmeetings.installation.ImportInitvalues.getLanguageFiles(ImportInitvalues.java:709)
    at org.apache.openmeetings.web.pages.install.InstallWizard$LangDropDown.<init>(InstallWizard.java:500)
    at org.apache.openmeetings.web.pages.install.InstallWizard$ParamsStep2.<init>(InstallWizard.java:211)
    at org.apache.openmeetings.web.pages.install.InstallWizard.<init>(InstallWizard.java:97)
    at org.apache.openmeetings.web.pages.install.InstallWizardPage.<init>(InstallWizardPage.java:38)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
    at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
    at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
    at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
    at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
    at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
    at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:269)
    at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
    at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
    at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
    at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
    at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
    at org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:59)
    at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
Nested exception: 
java.io.FileNotFoundException: languages/languages.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at org.dom4j.io.SAXReader.read(SAXReader.java:243)
    at org.apache.openmeetings.installation.ImportInitvalues.getLanguageFiles(ImportInitvalues.java:709)
    at org.apache.openmeetings.web.pages.install.InstallWizard$LangDropDown.<init>(InstallWizard.java:500)
    at org.apache.openmeetings.web.pages.install.InstallWizard$ParamsStep2.<init>(InstallWizard.java:211)
    at org.apache.openmeetings.web.pages.install.InstallWizard.<init>(InstallWizard.java:97)
    at org.apache.openmeetings.web.pages.install.InstallWizardPage.<init>(InstallWizardPage.java:38)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
    at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
    at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
    at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
    at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
    at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
    at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:269)
    at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
    at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
    at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
    at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
    at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
    at org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:59)
    at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)

Dani AI

Generated

The installer failure points to the webapp being unable to read its localization file (the languages XML). Typical causes are: the OpenMeetings WAR was not fully exploded by the servlet container, the language file is missing or corrupted inside the deployed app, the running container is using a different deployment directory, or the container process lacks permission to read the file. was right to flag the JVM (vendor/version) because different JVMs and container setups can change deployment behaviour; was also right to prefer native Linux packages over Windows binaries for helper tools.

Quick diagnostics (run as root or with appropriate privileges):

find / -name languages.xml 2>/dev/null
jar tvf /path/to/openmeetings.war | grep languages
ls -l /path/to/webapps/openmeetings/languages
java -version
command -v ffmpeg sox convert soffice

If languages.xml is missing inside the exploded webapp but present inside the WAR, remove the exploded openmeetings directory so the container will re-extract the WAR on restart; if the file is missing from the WAR, get the correct release for the exact OpenMeetings version and redeploy. If the file exists but is unreadable, make sure the webapp files are owned and readable by the servlet user (tomcat/red5) and clear the container work/temp directories before restarting. Also check container logs during startup for errors while expanding the WAR.

For external tool paths (ImageMagick, ffmpeg, SoX, JOD/OpenOffice/LibreOffice) point OpenMeetings at the actual binary (for example the soffice or soffice.bin binary provided by LibreOffice) found with command -v or your package manager file-listing. Do not use Windows zips on Linux; install the native package or build SoX/FFmpeg from source if your distribution does not supply a compatible version.

Recommended Answers

All 7 Replies

I think I did all of them correctly.

Well, if I have to reinstall it, how to reinstall it? Can I just reinstall it on top of my other installation that I did correctly?

Note: I did this on VM.

Are you sure you are running the appropriate version of java for this application? Are you running the OpenJVM or a certified Oracle Java version? If Oracle Java, what version? You do know that you can install more than one version on your system? I have 1.5, 1.6, and 1.7 on mine (find the official releases installed in /usr/java). Some applications I run require 1.6, and others 1.7... :-)

Step 2

You are about to add the following PPA to your system:
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK6 / JDK7 / JDK8). There are no actual Java files in this PPA.

Install Oracle Java6: sudo apt-get install oracle-java6-installer

------------

Step 10 #7

I reinstall it and now I can move on, now how to find the path of the following:

ImageMagick Path?

FFMPEG Path?

SoX Path?

JOD Path?

OpenOffice/LibreOffice Path for jodconverter?

I try using the locate command (ex locate imagemagick) yet there is bunch of them, I cannot tell which path to use.

----------------

root@ubuntu:~# locate imagemagick
/etc/bash_completion.d/imagemagick
/usr/lib/mime/packages/imagemagick
/usr/share/doc/imagemagick
/usr/share/doc/imagemagick-common
/usr/share/doc/imagemagick/NEWS.Debian.gz
/usr/share/doc/imagemagick/README.Debian
/usr/share/doc/imagemagick/README.txt.gz
/usr/share/doc/imagemagick/TODO.Debian
/usr/share/doc/imagemagick/changelog.Debian.gz
/usr/share/doc/imagemagick/copyright
/usr/share/doc/imagemagick-common/NEWS.Debian.gz
/usr/share/doc/imagemagick-common/changelog.Debian.gz
/usr/share/doc/imagemagick-common/copyright
/usr/share/menu/imagemagick
/var/cache/apt/archives/imagemagick-common_8%3a6.6.9.7-5ubuntu3.3_all.deb
/var/cache/apt/archives/imagemagick_8%3a6.6.9.7-5ubuntu3.3_amd64.deb
/var/lib/dpkg/info/imagemagick-common.conffiles
/var/lib/dpkg/info/imagemagick-common.list
/var/lib/dpkg/info/imagemagick-common.md5sums
/var/lib/dpkg/info/imagemagick.list
/var/lib/dpkg/info/imagemagick.md5sums
/var/lib/dpkg/info/imagemagick.postinst
/var/lib/dpkg/info/imagemagick.postrm

root@ubuntu:~# locate FFMPEG
/home/davy/.local/share/Trash/files/webapps/openmeetings/docs/FFMPEGVersionSwitch.html
/usr/lib/red52/webapps/openmeetings/docs/FFMPEGVersionSwitch.html

Also, how to install SoX in linux:

http://code.google.com/p/openmeetings/wiki/InstallationOpenMeetings

Install SoX http://sox.sourceforge.net/. You should install SoX in a up to date copy! SoX 12.xx will NOT work!

----------------------

This is what I have tried:

root@ubuntu:/# cd /opt
root@ubuntu:/opt# wget sourceforge.net/projects/sox/files/sox/14.4.1/sox-14.4.1a-win32.zip/download
--2014-04-01 02:42:00-- http://sourceforge.net/projects/sox/files/sox/14.4.1/sox-14.4.1a-win32.zip/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/project/sox/sox/14.4.1/sox-14.4.1a-win32.zip?r=&ts=1396345322&use_mirror=cznic [following]
--2014-04-01 02:42:02-- http://downloads.sourceforge.net/project/sox/sox/14.4.1/sox-14.4.1a-win32.zip?r=&ts=1396345322&use_mirror=cznic
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2014-04-01 02:42:02--
Resolving cznic.dl.sourceforge.net (cznic.dl.sourceforge.net)... 217.31.202.30, 2001:1488:ffff::30
Connecting to cznic.dl.sourceforge.net (cznic.dl.sourceforge.net)|217.31.202.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2885822 (2.8M) [application/octet-stream]
Saving to: `download'

100%[=============================================================>] 2,885,822 6.32M/s in 0.4s

2014-04-01 02:42:45 (6.32 MB/s) - `download' saved [2885822/2885822]

root@ubuntu:/opt# unzip sox-14.4.1a-win32.zip
unzip: cannot find or open sox-14.4.1a-win32.zip, sox-14.4.1a-win32.zip.zip or sox-14.4.1a-win32.zip.ZIP.
root@ubuntu:/opt# unzip sox-14.4.1a-win32.zip
unzip: cannot find or open sox-14.4.1a-win32.zip, sox-14.4.1a-win32.zip.zip or sox-14.4.1a-win32.zip.ZIP.

---------------------------

It still does not work!

I think I just going to open another forum title: Find File Path

To install sox in ubuntu, you can just use:
sudo apt-get install sox
According to the Package lists maintained by Ubuntu.com, Ubuntu 12.04 currently uses version 14.3.31. Which is newer than v12.xx of sox. So the version which is currently in the Ubuntu repos should be good enough!

But if you REALLY want to get the latest version of sox, you'll have to go here to download the source package and then go through the usual configure and build process. And if you have any missing dependencies for building sox, you'll have to go through the process of getting them installed before you can build sox.
Personally, I'd try installing the version in the Ubuntu repos first.

Note:
When attempting to install any program on Linux, your first port of call should always be your distros repositories.
You can search for packages on the command line in Ubuntu using:
apt-cache search xxxx
Once you've identified some packages you want to install, you can use sudo apt-get install xxxx yyyy zzzz to install the packages (again, where xxxx, yyyy and zzzz are the names of the packages you want to install)

By default, apt-cache search searches through the names and descriptions of all packages for the specified search term.
This can sometimes yield a lot of irrelevant results. If you want to cut down the number of irrelevant results, you can use the --names-only switch.
So in order to track down sox you could use:
apt-cache search --names-only sox

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.