hello,

to ensure correct java is installed you need to run "java -version" command
According to the logs you have java1.6 installed

you can use any folder to install OM (/usr/local/red5 and /opt/red5 are OK)
the only thing you need to check after installation is /etc/init.d/red5
points to the correct folder

backup need to be made by OM itself (GUI or command line) due to DB changes
between versions



On 31 August 2014 06:53, Scott Woods I <[email protected]> wrote:

>  Thank you again for the expertise to this point.  :-)
>
> To the points below:
>
> 1)  Thank you, we're not seeing this issue any longer, but I will most
> likely be upgrading RAM as this OM gets used more.
>
> 2)  The previous web tech before me installed OM2 in the
> /usr/local/red5/webapps/openmeetings directory path, I believe so that all
> of the domains hosted on this server can use it simply by integrating other
> software with plugins, which I like.  So, if OM3 should serve it's
> application to all domains on the server if installed in the /opt/red5
> directory, I will try that.  But first, number 4 below.
>
> 3)   I was following the steps at,
> https://openmeetings.apache.org/Upgrade.html, so I can only believe I
> shut down Red5 as required.  I hope.  And I did make a backup of the .sql
> database in phpMyAdmin before starting any of this, outside of and
> independently of the OM backup tools.  If that may have ruined the
> database, I'm ready to scrap it and install a new.
>
> 4)  Java7, I'm pretty green when it comes to all this compiling of php,
> mysql, apache etc. so I've graciously requested JRE6+, and now JRE7 be
> upgraded on my VPS, and always received a pleasant response, but only this:
>
> From data center support:  "I have installed JDK/JRE 1.7 and your red5 is
> working fine. You can now go ahead and configure openmeetings as per link
> given below as:
> http://growitonline.com:5080/openmeetings/";
>
> How would I go about upgrading Java7?
>
> The above URL does not find a page, as you could see by visiting.
>
> When I visit the directory on the server via SSH where OM/Red5 is
> installed, and run the command 'sh red5.sh', I get the following error,
> consistently.
>
> Red5 is not running so cannot be shut down, so shutting down fails, but
> that's not the big issue, I think.  See the 'Bootstrap exception:
> /path/Launcher : Unsupported major.minor version 51.0' error note near
> bottom.
>
> -server [/usr/local/red5]# /etc/init.d/red5 stop
> Shutting down red5: [FAILED]
> -server [/usr/local/red5]# cd /usr/local/red5
> -server [/usr/local/red5]# dir
> ./ plugins/
> ../ README
> admin.bat red5.bat
> admin.sh* red5-debug.bat
> apache-openmeetings-3.0.3.r1620328-25-08-2014_1433.tar.gz red5-debug.sh*
> CHANGELOG red5-highperf.bat
> commons-cli-jar-1.2.jar red5-highperf.sh*
> conf/ red5-license.txt
> derby.log red5-server.jar
> lib/ red5-service.jar
> LICENSE red5.sh*
> log/ red5-shutdown.bat
> network_test.sh* red5-shutdown.sh*
> NOTICE webapps/
> openmeetings/ work/
> -server [/usr/local/red5]# sh red5.sh
> Running on Linux
> Starting Red5
> Red5 username: /usr/local/red5
> Configuation username: /usr/local/red5/conf
> Red5 server jar was found
> URL list: [file:/usr/local/red5/red5-server.jar]
> Selected libraries: (58 items)
> file:/usr/local/red5/red5-server.jar
> file:/usr/local/red5/lib/httpcore-4.2.1.jar
> file:/usr/local/red5/lib/quartz-2.1.7.jar
> file:/usr/local/red5/lib/cglib-nodep-2.2.2.jar
> file:/usr/local/red5/lib/spring-jdbc-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/spring-webmvc-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/logback-classic-1.1.2.jar
> file:/usr/local/red5/lib/jruby-1.6.8.jar
> file:/usr/local/red5/lib/jcl-over-slf4j-1.7.7.jar
> file:/usr/local/red5/lib/spring-orm-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/aspectjrt-1.7.4.jar
> file:/usr/local/red5/lib/spring-aspects-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/ehcache-core-2.5.0.jar
> file:/usr/local/red5/lib/groovy-2.0.4.jar
> file:/usr/local/red5/lib/commons-fileupload-jar-1.3.jar
> file:/usr/local/red5/lib/isoparser-1.0-RC-19-SNAPSHOT.jar
> file:/usr/local/red5/lib/spring-context-support-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/jul-to-slf4j-1.7.7.jar
> file:/usr/local/red5/lib/bcprov-jdk15on-1.50.jar
> file:/usr/local/red5/lib/geronimo-jpa_2.0_spec-bundle-1.1.jar
> file:/usr/local/red5/lib/spring-aop-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/xercesImpl-2.9.1.jar
> file:/usr/local/red5/lib/mina-integration-jmx-2.0.7.jar
> file:/usr/local/red5/lib/httpclient-4.2.1.jar
> file:/usr/local/red5/lib/antlr-3.1.3.jar
> file:/usr/local/red5/lib/red5-io-1.0.4-SNAPSHOT.jar
> file:/usr/local/red5/lib/commons-lang3-3.1.jar
> file:/usr/local/red5/lib/commons-pool-1.5.6.jar
> file:/usr/local/red5/lib/spring-tx-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/asm-jar-3.1.jar
> file:/usr/local/red5/lib/jython-standalone-2.5.3.jar
> file:/usr/local/red5/lib/logback-core-1.1.2.jar
> file:/usr/local/red5/lib/spring-web-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/commons-codec-1.6.jar
> file:/usr/local/red5/lib/commons-beanutils-1.8.3.jar
> file:/usr/local/red5/lib/mina-core-2.0.7.jar
> file:/usr/local/red5/lib/commons-collections-20040616.jar
> file:/usr/local/red5/lib/slf4j-api-1.7.7.jar
> file:/usr/local/red5/lib/log4j-over-slf4j-1.7.7.jar
> file:/usr/local/red5/lib/spring-beans-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/spring-expression-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/commons-io-jar-2.4.jar
> file:/usr/local/red5/lib/aopalliance-1.0.jar
> file:/usr/local/red5/lib/spring-context-support-jar-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/spring-core-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/spring-context-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/mina-integration-beans-2.0.7.jar
> file:/usr/local/red5/lib/spring-test-4.0.6.RELEASE.jar
> file:/usr/local/red5/lib/red5-client-jar-1.0.3-RELEASE.jar
> file:/usr/local/red5/conf/
> file:/usr/local/red5/plugins/
> file:/usr/local/red5/plugins/websocket-1.0.jar
> file:/usr/local/red5/plugins/tomcat-embed-logging-log4j.jar
> file:/usr/local/red5/plugins/ecj-4.4.jar
> file:/usr/local/red5/plugins/tomcat-embed-logging-juli.jar
> file:/usr/local/red5/plugins/tomcat-embed-core.jar
> file:/usr/local/red5/plugins/tomcat-embed-jasper.jar
> file:/usr/local/red5/plugins/tomcatplugin-1.7.jar
>
> Bootstrap exception: org/red5/server/Launcher : Unsupported major.minor
> version 51.0
> java.lang.UnsupportedClassVersionError: org/red5/server/Launcher :
> Unsupported major.minor version 51.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:121)
> at org.red5.server.Bootstrap.main(Bootstrap.java:48)
> Bootstrap exit
> -server [/usr/local/red5]#
>
> --------------End of sh red5.sh script result.
>
> Would anyone know the steps I would go through to be sure the correct JRE
> is installed?
>
> Thank you OM User List, Solomax, for your generous expertise.
>
> Regards...
>
> Scott
>
> On 8/27/2014 11:29 PM, Maxim Solodovnik wrote:
>
> you are welcome :)
>
>
> On 28 August 2014 10:28, Scott Woods I <[email protected]> wrote:
>
>>  Excellent.  Thank you, I will apply these tips/requirements very soon.
>> That was a lot of info to get through, I greatly, greatly appreciate your
>> time and expertise.
>>
>> Cheers...
>>
>> On 8/27/2014 11:23 PM, Maxim Solodovnik wrote:
>>
>> 1) extended memory limits were set for java due to lack of time to
>> determine what is wrong (OutOfMemory after ~24h of work), you reduce the
>> limits in red5*.sh scripts
>>
>>  2) I believe you should unpack to /usr/local/red5 (I usually use
>> /opt/red5) due to we provide the whole server)
>>
>>  3) you should perform backup/restore on stopped OM (red5+OM app) to
>> avoid possible data corruption
>>
>>  4) you need java7 for latest OM
>>
>>
>>
>
>
>  --
> WBR
> Maxim aka solomax
>
>
> --
> Best regards...
>
> Scott Woods
> 989-424-5424
>
> ***
>
> "Be Excellent to Each Other"
> -- Bill & Ted
>
> "All that is necessary for the triumph of evil is that good men do nothing."
> --  Edmund Burke
>
> "Never doubt that a small group of thoughtful committed people can change the 
> world; indeed, it is the only thing that ever has."
> -- Margaret Mead, anthropologist
>
> "Can't stop the spirits when they need you, this life is more than just a 
> read-though..."
> -- Red Hot Chili Peppers
>
> “I’m not in this world to live up to your expectations and you’re not in this 
> world to live up to mine.”
> -- Bruce Lee
>
> ===================================
>
>


-- 
WBR
Maxim aka solomax

Reply via email to