Hello, where can I add or change the License Key
in Linux Fedors6
I run ./startup.sh
but to no avail
JC
Hello, where can I add or change the License Key
in Linux Fedors6
I run ./startup.sh
but to no avail
JC
To change the license key edit conf/Server.license and just replace the old key with the new key.
Charlie
Are you getting an error message when you run ./startup.sh from the /usr/local/WowzaMediaServerPro/bin folder?
Charlie
It looks like you are running an older version of Java or the GNU version of Java. Wowza Pro requires at least Java 5 (aka 1.5) (we recommend the latest version of Java 6 (aka 1.6) – Java 6 Update 4). You can download the JDK from the java.sun.com website. When the installation is complete you should be able to execute the command:
java -version
It will return the current java version number. If it is still running the old version read this post for suggestions:
https://www.wowza.com/forums/showthread.php?t=520
Charlie
First, download and install JDK 6 Update 4 from the Sun web site. Go through the same process again. If it still doesn’t work, edit bin/setenv.sh change the the line:
from:
_EXECJAVA=java
to:
_EXECJAVA=/usr/bin/java
That will force it to use the Java defined at /usr/bin/java. You can verify that this is the correct version of Java by execute the command:
/usr/bin/java -version
Charlie
The conf/Server.license is not in
/usr/local/WowzaMediaServerPro/conf
or in
WowzaMediaServerPro-1.3.3/conf
jc
[root@ns5 bin]# ./startup.sh
Error parsing VHosts.xml (file:///usr/local/WowzaMediaServerPro/conf/VHosts.xml): java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.w3c.dom.NodeList
java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.w3c.dom.NodeList
at com.wowza.wms.bootstrap.Bootstrap.getServerInfo(Bootstrap.java:496)
at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:238)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:47)
Exception in thread “main” java.lang.NoClassDefFoundError: com.wowza.wms.server.Server
at java.lang.Class.initializeClass(libgcj.so.7rh)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:246)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:47)
Caused by: java.lang.ClassNotFoundException: java.util.concurrent.Executor not found in java.net.URLClassLoader{urls=[file:/usr/local/WowzaMediaServerPro/lib/wms-stream-file.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-server.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-commons-modeler.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-stream-live.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-bootstrap.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-plugin-bwcheck.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-ant.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-core.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-jlayer.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-mediareader-flv.jar,file:/usr/local/WowzaMediaServerPro/lib/log4j-1.2.14.jar,file:/usr/local/WowzaMediaServerPro/lib/jid3lib-0.5.4.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-stream-shoutcast.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-stream-record.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-mediawriter-flv.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-plugin-textchat.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-mediareader-mp3.jar,file:/usr/local/WowzaMediaServerPro/lib/wms-plugin-security.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/WowzaMediaServerPro/bin/wms-bootstrap.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.Class.initializeClass(libgcj.so.7rh)
…3 more
Hello, I try but could not get it to work, I cannot reinstall it.
/usr/sbin/alternatives --config java
There are 2 programs which provide ‘java’.
Selection Command
Enter to keep the current selection[+], or type selection number: 2
[root@ns5 ~]# java -version
-bash: java: command not found
[root@ns5 ~]# ln -sf /usr/java/jre1.6.0_03/bin/java /usr/bin/java
[root@ns5 ~]# java -version
-bash: java: command not found