Author Topic: Flashchat working with Red5  (Read 1459 times)

odonel

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Flashchat working with Red5
« on: September 08, 2014, 08:31:00 AM »
Hi, I am using Joomla integration. It seems like the only way the chat works is if I install it all the times with sh 123flashchat.sh . If I do ./fcserver start or ./fcserver_console, nothing happens. I get an error with fcserver_console.

Here is what I tried with no success...
Code: [Select]
root@vmav:/usr/local/flash123# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
root@vmav:/usr/local/flash123# ./fcserver_console start
Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher
Caused by: java.lang.ClassNotFoundException: com.install4j.runtime.Launcher
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.install4j.runtime.Launcher.  Program will exit.
root@vmav:/usr/local/flash123# update-java-alternatives -s java-6-sun
root@vmav:/usr/local/flash123# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
root@vmav:/usr/local/flash123# ./fcserver start
Starting fcserver
root@vmav:/usr/local/flash123#

root@vmav:/usr/local/flash123# ./fcserver_console
Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher
Caused by: java.lang.ClassNotFoundException: com.install4j.runtime.Launcher
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.install4j.runtime.Launcher.  Program will exit.

I also added the chat folder to /usr/local/red5/webapps to no avail.  Please help me get the trial going in my server in both red5 and your server installation method so that I choose what's best for me...

studio243

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Flashchat working with Red5
« Reply #1 on: September 10, 2014, 11:03:36 AM »
Hi there
The demo version of 123flashchat comes with java and red5 already embedded into - you don't need to install either of these separately.

So, run these commands if you use 32 bit Linux and 123flashchat10.0:

Code: [Select]
wget http://www.123flashchat.com/download/123flashchat.sh
Code: [Select]
sh 123flashchat.sh
to start or stop the chat server (./fcserver start or ./fcserver stop), you need to be in the directory 123flashchat10.0/server

I hope this helps


odonel

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Flashchat working with Red5
« Reply #2 on: September 11, 2014, 12:40:18 PM »
Thanks studio..

How do  I get that to survive a reboot?  The install_service does not work for me...

studio243

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Flashchat working with Red5
« Reply #3 on: September 12, 2014, 06:42:23 AM »
you don't need to use the commands install_service or ./fcserver_console start

once you run sh 123flashchat.sh this should install the chatroom software on your server.
if you reboot your server, you will need to manually restart the chatroom software with ./fcserver start - you need to be in the sub directory /server to execute this command.
what operating system are you using and are you trying to install this on a VPS?

**edit** to see whether or not the service is running, use this command from within "yourchatdirectory/server"
Code: [Select]
./fcserver statusit should either say "the daemon is running" or " the daemon is stopped"
« Last Edit: September 12, 2014, 06:50:33 AM by studio243 »

 

Powered by Greek-Chat.gr