You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by ratatouille <ra...@bitclusive.de> on 2020/04/11 19:40:15 UTC

Question about OM5

Hello!

I try to run apache-openmeetings-5.0.0-M3 on a CentOS7-Server.
Is this also an Tomcat-embedded version? There is no ./red5.sh

$ ./admin.sh
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/openmeetings/cli/Admin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)

$ echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64

$ echo $JRE_HOME
<empty output>

yum does not find a JRE.

Kind regards

  Andreas

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Hello!

Allright, thank for that hint!

  Andreas

Alvaro <zu...@gmail.com> schrieb am 13.04.20 um 16:02:02 Uhr:

> ...it's necessary to compile ffmpeg to record right at rooms.
> 
> The nux ffmpeg version is 2.x.x and give error recordings.

> > Alvaro <zu...@gmail.com> schrieb am 13.04.20 um 10:16:48 Uhr:
> >   
> > > ...only can say to follow the tuto:
> > > https://cwiki.apache.org/confluence/download/attachments/27838216/I
> > > nsta
> > > llation%20OpenMeetings%205.0.0-M3%20on%20Centos%207.pdf
> > > ...so i will know to where is.
> > > With the information that is in this thread i can't sayamything.  
> > 
> > I read your manual. You also install VLC which I don't need on this
> > server.
> > The packages required by openmeetings I installed from the repos and
> > did not compile for example sox, it's in the repo.
> > 
> > ffmeg I installed via
> > rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-r
> > elease-0-5.el7.nux.noarch.rp
> > yum install ffmpeg ffmpeg-devel
> > 
> >   Andreas  


Re: Question about OM5

Posted by Alvaro <zu...@gmail.com>.
...it's necessary to compile ffmpeg to record right at rooms.

The nux ffmpeg version is 2.x.x and give error recordings.


...............

El lun, 13-04-2020 a las 13:00 +0200, ratatouille escribió:
> Hello!
> 
> Alvaro <zu...@gmail.com> schrieb am 13.04.20 um 10:16:48 Uhr:
> 
> > ...only can say to follow the tuto:
> > https://cwiki.apache.org/confluence/download/attachments/27838216/I
> > nsta
> > llation%20OpenMeetings%205.0.0-M3%20on%20Centos%207.pdf
> > ...so i will know to where is.
> > With the information that is in this thread i can't sayamything.
> 
> I read your manual. You also install VLC which I don't need on this
> server.
> The packages required by openmeetings I installed from the repos and
> did not compile for example sox, it's in the repo.
> 
> ffmeg I installed via
> rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-r
> elease-0-5.el7.nux.noarch.rp
> yum install ffmpeg ffmpeg-devel
> 
>   Andreas

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Hello!

Alvaro <zu...@gmail.com> schrieb am 13.04.20 um 10:16:48 Uhr:

> ...only can say to follow the tuto:
> https://cwiki.apache.org/confluence/download/attachments/27838216/Insta
> llation%20OpenMeetings%205.0.0-M3%20on%20Centos%207.pdf
> ...so i will know to where is.
> With the information that is in this thread i can't sayamything.

I read your manual. You also install VLC which I don't need on this server.
The packages required by openmeetings I installed from the repos and
did not compile for example sox, it's in the repo.

ffmeg I installed via
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rp
yum install ffmpeg ffmpeg-devel

  Andreas

Re: Question about OM5

Posted by Alvaro <zu...@gmail.com>.
...only can say to follow the tuto:
https://cwiki.apache.org/confluence/download/attachments/27838216/Insta
llation%20OpenMeetings%205.0.0-M3%20on%20Centos%207.pdf
...so i will know to where is.
With the information that is in this thread i can't sayamything.
Sorry

..........................

El lun, 13-04-2020 a las 10:42 +0700, Maxim Solodovnik escribió:
> Maybe you also have Tomcat installed via YUM?Usually ./bin/startup.sh
> do the job ...
> 
> @Alvaro Maybe you know what can be wrong with this CentOS?
> 
> On Mon, 13 Apr 2020 at 02:05, ratatouille <ra...@bitclusive.de>
> wrote:
> > Hello Maxim!
> > 
> > 
> > 
> > Maxim Solodovnik <so...@gmail.com> schrieb am 12.04.20 um
> > 19:42:31 Uhr:
> > 
> > 
> > 
> > > As it is stated on main page "IMPORTANT: Java 11 is required"
> > 
> > > https://openmeetings.apache.org/
> > 
> > > 
> > 
> > > To run this version use scripts from `bin` folder
> > 
> > 
> > 
> > Now I installed Java 11 in the CentOS 7 server.
> > 
> > 
> > 
> > $ java -version
> > 
> > openjdk version "11.0.6" 2020-01-14 LTS
> > 
> > OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
> > 
> > OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode,
> > sharing)
> > 
> > 
> > 
> > Executing ./start.sh says:
> > 
> > 
> > 
> > $ ./startup.sh
> > 
> > Cannot find /var/lib/tomcat/bin/setclasspath.sh
> > 
> > This file is needed to run this program
> > 
> > 
> > 
> > There is a setclasspath.sh in $OM5/bin only.
> > 
> > Don't know how to proceed.
> > 
> > 
> > 
> >   Andreas
> > 
> > 
> 
> -- 
> Best regards,
> Maxim

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Thanks!

Maxim Solodovnik <so...@gmail.com> schrieb am 13.04.20 um 17:49:39 Uhr:

> > It's not clear to me if I should have a Tomcat installed at all.
> > I don't need it anymore on this server. Should I install a Tomcat9
> > or is this not needed and openmeetings will run nevertheless?
> >  
> 
> OpenMeetings bundles Tomcat9
> Just uninstall your Tomcat7 and OM should start

Re: Question about OM5

Posted by Maxim Solodovnik <so...@gmail.com>.
On Mon, Apr 13, 2020, 17:38 ratatouille <ra...@bitclusive.de> wrote:

> Hello!
>
> It's not clear to me if I should have a Tomcat installed at all.
> I don't need it anymore on this server. Should I install a Tomcat9
> or is this not needed and openmeetings will run nevertheless?
>

OpenMeetings bundles Tomcat9
Just uninstall your Tomcat7 and OM should start


> Excuse my inexperience with java and tomcat please!
>
>   Andreas
>
> Maxim Solodovnik <so...@gmail.com> schrieb am 13.04.20 um 17:31:56
> Uhr:
>
> > Are you using this old Tomcat?
> > If not please remove it
> > If yes you need to provide additional environment parameters to startup
> > script
>
> > > Do you say I should remove the per yum installed tomcat?
> > >
> > > yum list installed |grep tomcat
> > > tomcat.noarch                         7.0.76-11.el7_7
> > > @updates
> > > tomcat-admin-webapps.noarch           7.0.76-11.el7_7
> > > @updates
> > > tomcat-docs-webapp.noarch             7.0.76-11.el7_7
> > > @updates
> > > tomcat-el-2.2-api.noarch              7.0.76-11.el7_7
> > > @updates
> > > tomcat-jsp-2.2-api.noarch             7.0.76-11.el7_7
> > > @updates
> > > tomcat-lib.noarch                     7.0.76-11.el7_7
> > > @updates
> > > tomcat-servlet-3.0-api.noarch         7.0.76-11.el7_7
> > > @updates
> > > tomcat-webapps.noarch                 7.0.76-11.el7_7
> > > @updates
>

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Hello!

It's not clear to me if I should have a Tomcat installed at all.
I don't need it anymore on this server. Should I install a Tomcat9
or is this not needed and openmeetings will run nevertheless?

Excuse my inexperience with java and tomcat please!

  Andreas

Maxim Solodovnik <so...@gmail.com> schrieb am 13.04.20 um 17:31:56 Uhr:

> Are you using this old Tomcat?
> If not please remove it
> If yes you need to provide additional environment parameters to startup
> script

> > Do you say I should remove the per yum installed tomcat?
> >
> > yum list installed |grep tomcat
> > tomcat.noarch                         7.0.76-11.el7_7
> > @updates
> > tomcat-admin-webapps.noarch           7.0.76-11.el7_7
> > @updates
> > tomcat-docs-webapp.noarch             7.0.76-11.el7_7
> > @updates
> > tomcat-el-2.2-api.noarch              7.0.76-11.el7_7
> > @updates
> > tomcat-jsp-2.2-api.noarch             7.0.76-11.el7_7
> > @updates
> > tomcat-lib.noarch                     7.0.76-11.el7_7
> > @updates
> > tomcat-servlet-3.0-api.noarch         7.0.76-11.el7_7
> > @updates
> > tomcat-webapps.noarch                 7.0.76-11.el7_7
> > @updates

Re: Question about OM5

Posted by Maxim Solodovnik <so...@gmail.com>.
Are you using this old Tomcat?
If not please remove it
If yes you need to provide additional environment parameters to startup
script

On Mon, Apr 13, 2020, 17:14 ratatouille <ra...@bitclusive.de> wrote:

> Hello Maxim!
>
> Do you say I should remove the per yum installed tomcat?
>
> yum list installed |grep tomcat
> tomcat.noarch                         7.0.76-11.el7_7
> @updates
> tomcat-admin-webapps.noarch           7.0.76-11.el7_7
> @updates
> tomcat-docs-webapp.noarch             7.0.76-11.el7_7
> @updates
> tomcat-el-2.2-api.noarch              7.0.76-11.el7_7
> @updates
> tomcat-jsp-2.2-api.noarch             7.0.76-11.el7_7
> @updates
> tomcat-lib.noarch                     7.0.76-11.el7_7
> @updates
> tomcat-servlet-3.0-api.noarch         7.0.76-11.el7_7
> @updates
> tomcat-webapps.noarch                 7.0.76-11.el7_7
> @updates
>
>   Andreas
>
> Maxim Solodovnik <so...@gmail.com> schrieb am 13.04.20 um 10:42:59
> Uhr:
>
> > Maybe you also have Tomcat installed via YUM?
> > Usually ./bin/startup.sh do the job ...
> >
> > @Alvaro <zu...@gmail.com> Maybe you know what can be wrong with this
> > CentOS?
>

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Hello Maxim!

Do you say I should remove the per yum installed tomcat?

yum list installed |grep tomcat
tomcat.noarch                         7.0.76-11.el7_7                @updates   
tomcat-admin-webapps.noarch           7.0.76-11.el7_7                @updates   
tomcat-docs-webapp.noarch             7.0.76-11.el7_7                @updates   
tomcat-el-2.2-api.noarch              7.0.76-11.el7_7                @updates   
tomcat-jsp-2.2-api.noarch             7.0.76-11.el7_7                @updates   
tomcat-lib.noarch                     7.0.76-11.el7_7                @updates   
tomcat-servlet-3.0-api.noarch         7.0.76-11.el7_7                @updates   
tomcat-webapps.noarch                 7.0.76-11.el7_7                @updates

  Andreas

Maxim Solodovnik <so...@gmail.com> schrieb am 13.04.20 um 10:42:59 Uhr:

> Maybe you also have Tomcat installed via YUM?
> Usually ./bin/startup.sh do the job ...
> 
> @Alvaro <zu...@gmail.com> Maybe you know what can be wrong with this
> CentOS?

Re: Question about OM5

Posted by Maxim Solodovnik <so...@gmail.com>.
Maybe you also have Tomcat installed via YUM?
Usually ./bin/startup.sh do the job ...

@Alvaro <zu...@gmail.com> Maybe you know what can be wrong with this
CentOS?

On Mon, 13 Apr 2020 at 02:05, ratatouille <ra...@bitclusive.de> wrote:

> Hello Maxim!
>
> Maxim Solodovnik <so...@gmail.com> schrieb am 12.04.20 um 19:42:31
> Uhr:
>
> > As it is stated on main page "IMPORTANT: Java 11 is required"
> > https://openmeetings.apache.org/
> >
> > To run this version use scripts from `bin` folder
>
> Now I installed Java 11 in the CentOS 7 server.
>
> $ java -version
> openjdk version "11.0.6" 2020-01-14 LTS
> OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
> OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
>
> Executing ./start.sh says:
>
> $ ./startup.sh
> Cannot find /var/lib/tomcat/bin/setclasspath.sh
> This file is needed to run this program
>
> There is a setclasspath.sh in $OM5/bin only.
> Don't know how to proceed.
>
>   Andreas
>


-- 
Best regards,
Maxim

Re: Question about OM5

Posted by ratatouille <ra...@bitclusive.de>.
Hello Maxim!

Maxim Solodovnik <so...@gmail.com> schrieb am 12.04.20 um 19:42:31 Uhr:

> As it is stated on main page "IMPORTANT: Java 11 is required"
> https://openmeetings.apache.org/
> 
> To run this version use scripts from `bin` folder

Now I installed Java 11 in the CentOS 7 server.

$ java -version
openjdk version "11.0.6" 2020-01-14 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)

Executing ./start.sh says:

$ ./startup.sh
Cannot find /var/lib/tomcat/bin/setclasspath.sh
This file is needed to run this program

There is a setclasspath.sh in $OM5/bin only.
Don't know how to proceed.

  Andreas

Re: Question about OM5

Posted by Maxim Solodovnik <so...@gmail.com>.
As it is stated on main page "IMPORTANT: Java 11 is required"
https://openmeetings.apache.org/

To run this version use scripts from `bin` folder

On Sun, 12 Apr 2020 at 02:40, ratatouille <ra...@bitclusive.de> wrote:

> Hello!
>
> I try to run apache-openmeetings-5.0.0-M3 on a CentOS7-Server.
> Is this also an Tomcat-embedded version? There is no ./red5.sh
>
> $ ./admin.sh
> Error: A JNI error has occurred, please check your installation and try
> again
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/apache/openmeetings/cli/Admin has been compiled by a more recent
> version of the Java Runtime (class file version 55.0), this version of the
> Java Runtime only recognizes class file versions up to 52.0
>
> $ java -version
> openjdk version "1.8.0_242"
> OpenJDK Runtime Environment (build 1.8.0_242-b08)
> OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
>
> $ echo $JAVA_HOME
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64
>
> $ echo $JRE_HOME
> <empty output>
>
> yum does not find a JRE.
>
> Kind regards
>
>   Andreas
>


-- 
Best regards,
Maxim