Portal Home > Knowledgebase > Articles Database > error in installing red5


error in installing red5




Posted by jrmkr, 09-21-2012, 07:41 AM
hi I followed this tutorial - (http://nocreativity.com/blog/how-to-...complete-guide) - and i got following error when executing the ./red5.sh command is there anyone that can let me know what i should do? org.springframework.remoting.rmi.RmiRegistryFactoryBean - Unexporting RMI registry Exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.core' defined in class path resource [red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.FatalBeanException: Editor class not found; nested exception is java.lang.ClassNotFoundException: org.apache.mina.integration.beans.InetSocketAddressEditor pls help me thanks

Posted by BestServerSupport, 09-21-2012, 09:29 AM
The exception indicates that the port or IP address is already in use by another application, so I assume you have Red5 already running or another server.

Posted by jrmkr, 09-21-2012, 10:09 AM
How to check it? I am sure it is not used or run.

Posted by levelkro, 09-28-2012, 11:39 PM
Hi, I have same problem with new installation with Red5. I have already installed Red5 on other VPS, this VPS is now down and I have new one for continue my service. The previous Red5 server use the RC1 version, the new use the RC3. I have followed the same guide for the first Red5 server, but with the new I have this error; I need to fix them, my IP table is updated and red5.propreties have my IP to use.

Posted by jrmkr, 09-29-2012, 12:32 AM
In which directory you run the red5.sh ? If it is red5, then try to do it again in dist directory. you can find dist directory in red5 directory. go to red5 directory by cd command then type in, cd dist and type in ./red5.sh thats all after that you can vist http://yourip:5080 and red5 page should be appear if not open the port 5080 , 1935, 1936, 8088 by referring to this link: http://wiki.centos.org/HowTos/Network/IPTables because it will affect to locked yourself by runing one command in ipotables i gave you a detailed how tos page. so follow it and do all the commands in number 3 section of that page. that need to open ports and close ports ant the initial. that is you need to update your iptables including current settings. If you nned any help pls reply again.

Posted by levelkro, 09-29-2012, 01:58 AM
OK, it,s start, but can't use my webapp: The WebApps 'chat', 'chatroulette' and 'qcdchat' can't start. Is not mapped and not see in the installer (it normal !?) I don't understand the error, please help me!

Posted by jrmkr, 09-29-2012, 02:07 AM
Hi, Yoou have done! I think it is red5 default. because it can viewd by anyone and may attack to server. so let it be like it is currently is being. All the apps are works fine and you can stream now from red5 to your site. Recorded video should place in ofla demo directory and link rtmp://yourip:1935 in your script I dont know your target why use red5 if you tell me then i can help you

Posted by levelkro, 09-29-2012, 02:25 AM
I use 3 WebApp; chat, qcdchat and chatroulette; (chat and qcdchat are based on same java code, but not use the same webscope) On the previous server, This 3 app worked nice, I have a copy in /usr/local/red5/webapps and /usr/local/red5/dist/webapps Always on the previous config, I just need to compile the dist (with: ant dist) and after running the red5.sh from the main directory (not in /dist/ directory). Your solution is running red5 from the /dist/ folder. Ok, is run, but I can't use my 3 webapps. If you read the log, you can view at the begin some error with this webapps, I'm not understand what is wrong. My VPS is CentOS 5.7 X64 768MB with a clean install of Red5 with this guide: nocreativity.com/blog/how-to-install-red5-on-centos-5-the-complete-guide No apache, no webmin, absolutly nothing, excepted the default by CentOS install and the Red5 server. I known, I need to delete the '.persistent' folder on webapp for chat and qcdchat before running the server (it's the userlist in this directories) or a get an error. The Red5 Server start, I can reach the Web Site at port 5080, the installer are empty. But when I try to connect my Flash application to Red5, the server refuse the connection (handle is invalid). The error log can explain the reason, but I no have any idea to fix them. The webapps are exactly the same of my previous server, no editing. I can't remake the java for my app because I don't know the Java. The source is compiled by the red5chat.com .

Posted by jrmkr, 09-29-2012, 02:48 AM
To stream videos from red5 to your site following can be helped. These were done with jwplayer and you can see it is working at the time by going to this link PORTION TV Note: following should be placed within head tags of the pageYou can get that script by downloading jwplayer. it is available from Get jw player from here

Posted by levelkro, 09-29-2012, 02:55 AM
This not solve my problem, for streaming I known own it's work. I have also made an application to use live for that. The problem is for running 3 other apps not included by default with red5. Read my previous post.

Posted by jrmkr, 09-29-2012, 03:10 AM
By giving info like above may harmed your server by an attacker. Since it may hint that not configured security also. May be you have configured. if it is not just try to configure to protect your server first of all. And I didn't checked chat apps with red5 since am not doing it. however ill check it and update you if i was find a solution for u. you should look apps in dist folder. not in the red5 folder. if there is not your preferred folder then you should install it. here some tips at the bottom of this tutorial to get new apps works. but i didn't check it. http://www.webhostrepo.com/blog/inst...-centos-server Good luck!

Posted by levelkro, 09-29-2012, 05:40 PM
I got this error: I have fixed import from .java, but is not make effect.

Posted by jrmkr, 09-29-2012, 09:26 PM
You said your chat application downloaded from another site otherthan red5. so red5 has not defind a class for it. search from your chat application's site for this class file and place a new class path for ti. it will fix the issue. If you need your chat sessions can handled by live application. you need to define a database. and connect each other on it. if you need help besid to this alternative way, just tell me. Last edited by jrmkr; 09-29-2012 at 09:32 PM. Reason: another idea

Posted by kesav, 10-16-2012, 08:08 AM
I am new to Red5. I now want to create a basic sample application using red5.. i reffered some tutorials and created a basic app.. When i deploy it in red5/webapps i am getting the following error... Have any one experienced these errors.. Result on this is welcomed!!!

Posted by jrmkr, 10-16-2012, 08:18 AM
Have you install red5 yourself? if then try to install red5 in dist folder. that is execute red5.sh in dist folder . noty in red5 forlder dist folder can be find in red5 folder

Posted by kesav, 10-16-2012, 08:22 AM
Hi, I am using windows Operating system .. I have downloaded red5 0.9 rc2 zip file and extracted to c:\program files\Red5\... and i use red5.bat to start red5... I am Very new to Red5... i followed the tutorial from red5guide.com.. how to install and run red5 application... Last edited by kesav; 10-16-2012 at 08:24 AM. Reason: more information

Posted by jrmkr, 10-16-2012, 08:26 AM
oh then work is easy no. don't extract them and try to install using exe file. good luck

Posted by kesav, 10-16-2012, 08:41 AM
i have installed the .exe file... Nothing changed... i am getting the same error... but now i can't able to use the demo applications.. when i access the installer page it show empty list... not able to install the demo oflaDemo app... Kindly help on this..

Posted by kesav, 10-16-2012, 08:57 AM
i have installed the .exe file of red5... still facing the same issue...

Posted by jrmkr, 10-16-2012, 10:41 AM
Did you add class path? do you have installed java in your computer?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
PHP and Mysql help? (Views: 782)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.