red5 installation problem

173 views
Skip to first unread message

red5newbie

unread,
Apr 27, 2014, 6:48:54 AM4/27/14
to red5in...@googlegroups.com

Hi,


im a newbie when it comes to server applications and also red5. im stuck at this guide "Red5 Media Server - Workspace Setup Guide - r4737"  Step:
"7. Run inside of eclipse"


    1. select the Classpath tab

    2. Select User Entries from the Classpath list

    3. from the right hand menu, select Advanced...

    4. from the Folder Selection dialog, drill down into the recently expanded distribution (See Step #5)

    5. select the conf directory

    6. select OK

    7. click Apply

                     click Debug

if you take a look at the screenshots, what have i set wrong? because eclipse can not resolve the path to red5.xml

this is the last point after that i can build the first application and move on with the tutorial. am i missing some plugins? has something not been installed correctly?

screen1.png
screen2.png
screen3.png
screen4.png
screen5.png
screen6.png
screen7.png

Mondain

unread,
Apr 28, 2014, 10:32:09 AM4/28/14
to red5in...@googlegroups.com
IMHO don't run it "inside" eclipse; if you want to trace processes use java debug. This guide should help you, but it is a little dated. http://sziebert.net/posts/remote-debugging-red5-applications/


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
http://gregoire.org/
http://code.google.com/p/red5/

Chris Allen

unread,
Apr 28, 2014, 10:48:17 AM4/28/14
to red5in...@googlegroups.com
I know that Dominick has a really good process for running Red5 within Eclipse. Perhaps he will have some time to write something up. There are certainly advantages to not having to remote debug the server.

-Chris

bobby1285

unread,
Apr 28, 2014, 10:50:55 AM4/28/14
to red5in...@googlegroups.com
hi,

thanks for the answers so far i will try java debug. but so far can you tell me which path or setting is wrong? why cant eclipse resolve the path to the "conf" folder.

Dominick Accattato

unread,
Apr 28, 2014, 10:57:51 AM4/28/14
to red5in...@googlegroups.com
There is an updated version of that document

against r4756, what revision of the server are you using?



On Mon, Apr 28, 2014 at 10:50 AM, bobby1285 <c.nv...@googlemail.com> wrote:
hi,

thanks for the answers so far i will try java debug. but so far can you tell me which path or setting is wrong? why cant eclipse resolve the path to the "conf" folder.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dominick Accattato
Red5 Co-Project Manager & Engineer
---

bobby1285

unread,
Apr 28, 2014, 1:40:22 PM4/28/14
to red5in...@googlegroups.com
ive checked out this svn path http://red5.googlecode.com/svn/java/server/trunk/

in the properties it says its the WC revision 4769

Dominick Accattato

unread,
Apr 28, 2014, 1:49:30 PM4/28/14
to red5in...@googlegroups.com
That should be good. Let me run through the steps to make sure it's all correct for that version


On Mon, Apr 28, 2014 at 1:40 PM, bobby1285 <c.nv...@googlemail.com> wrote:
ive checked out this svn path http://red5.googlecode.com/svn/java/server/trunk/

in the properties it says its the WC revision 4769

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 1:59:59 PM4/28/14
to red5in...@googlegroups.com

ive compared the old guide with the new one that you have posted. doesnt seem to be any different. i must have set something wrong, but i dont know where. am i missing some files in the project tree?

Dominick Accattato

unread,
Apr 28, 2014, 2:02:50 PM4/28/14
to red5in...@googlegroups.com
if you are the same user as "red5newbie" then your first screenshot shows that Maven didn't resolve your dependencies properly


On Mon, Apr 28, 2014 at 1:59 PM, bobby1285 <c.nv...@googlemail.com> wrote:

ive compared the old guide with the new one that you have posted. doesnt seem to be any different. i must have set something wrong, but i dont know where. am i missing some files in the project tree?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 2:23:13 PM4/28/14
to red5in...@googlegroups.com
if you look at screen7 you can see that the maven plugins are installed. i do remember now that i didnt do this step:

  1. Fix the Maven pom error

    1. expand the red5_server project

    2. open pom.xml

    3. right click on the maven error at the top in red

    4. select Permananently mark goal copy-dependencies in pom.xml as ignored

click OK on the confirmation dialog


because no error is shown in the pom.xml (see screenshot)

pom.png

bobby1285

unread,
Apr 28, 2014, 2:26:10 PM4/28/14
to red5in...@googlegroups.com
error messages.png

bobby1285

unread,
Apr 28, 2014, 2:30:49 PM4/28/14
to red5in...@googlegroups.com
maven_log_debug.txt

Dominick Accattato

unread,
Apr 28, 2014, 2:50:09 PM4/28/14
to red5in...@googlegroups.com
Do this for me:

  1. Right click on red5-server
  2. Click Properties
  3. Select Java Build Path from the left side menu
  4. From the Java Build Path click on the Libraries tab
  5. expand Maven Dependencies
What is listed there?


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 3:05:56 PM4/28/14
to red5in...@googlegroups.com

in case you wonder about the black box its C:\Users\my_computer_name...  and then it continues with the path

java build path maven.png

Dominick Accattato

unread,
Apr 28, 2014, 3:29:03 PM4/28/14
to red5in...@googlegroups.com
Ok, so based on that, you shouldn't be getting an error about FileSystemXMLApplicationContext in your errors/markers panel. Do you still have errors in your markers view?


On Mon, Apr 28, 2014 at 3:05 PM, bobby1285 <c.nv...@googlemail.com> wrote:

in case you wonder about the black box its C:\Users\my_computer_name...  and then it continues with the path

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 3:41:26 PM4/28/14
to red5in...@googlegroups.com

yes the exact same errors remain, ive extracted the .tar.gz to this folder "D:\server\target" (see new project tree) when i go to Run->Debug Configurations and hit the debug button i press "proceed" even though it says errors found and then i get this:

Red5 root: D:/server/target
Configuation root: D:/server/target/conf
Setting temp directory to C:\Users\\AppData\localLow
Red5 server jar was not found, using fallback.
URL list
: [file:/D:/server/target/red5.jar]
Selected libraries: (49 items)
file
:/D:/server/target/red5.jar
file
:/D:/server/target/lib/antlr-3.1.3.jar
file
:/D:/server/target/lib/aopalliance-1.0.jar
file
:/D:/server/target/lib/aspectjrt-1.7.4.jar
file
:/D:/server/target/lib/bcprov-jdk15on-1.47.jar
file
:/D:/server/target/lib/cglib-nodep-2.2.2.jar
file
:/D:/server/target/lib/commons-beanutils-1.8.3.jar
file
:/D:/server/target/lib/commons-codec-1.6.jar
file
:/D:/server/target/lib/commons-collections-20040616.jar
file
:/D:/server/target/lib/commons-lang3-3.1.jar
file
:/D:/server/target/lib/commons-pool-1.5.6.jar
file
:/D:/server/target/lib/ehcache-core-2.5.0.jar
file
:/D:/server/target/lib/groovy-2.0.4.jar
file
:/D:/server/target/lib/httpclient-4.2.1.jar
file
:/D:/server/target/lib/httpcore-4.2.1.jar
file
:/D:/server/target/lib/isoparser-1.0-RC-19-SNAPSHOT.jar
file
:/D:/server/target/lib/jaudiotagger-2.0.4-SNAPSHOT.jar
file
:/D:/server/target/lib/jboss-servlet-api_3.0_spec-1.0.2.Final.jar
file
:/D:/server/target/lib/jcl-over-slf4j-1.7.5.jar
file
:/D:/server/target/lib/jruby-1.6.8.jar
file
:/D:/server/target/lib/jul-to-slf4j-1.7.5.jar
file
:/D:/server/target/lib/jython-standalone-2.5.3.jar
file
:/D:/server/target/lib/log4j-over-slf4j-1.7.5.jar
file
:/D:/server/target/lib/logback-classic-1.0.13.jar
file
:/D:/server/target/lib/logback-core-1.0.13.jar
file
:/D:/server/target/lib/mina-core-2.0.7.jar
file
:/D:/server/target/lib/mina-integration-beans-2.0.7.jar
file
:/D:/server/target/lib/mina-integration-jmx-2.0.7.jar
file
:/D:/server/target/lib/quartz-2.1.6.jar
file
:/D:/server/target/lib/red5-io-1.0.2.jar
file
:/D:/server/target/lib/slf4j-api-1.7.5.jar
file
:/D:/server/target/lib/spring-aop-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-asm-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-beans-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-context-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-context-support-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-core-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-expression-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-test-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/spring-web-3.1.4.RELEASE.jar
file
:/D:/server/target/lib/xercesImpl-2.9.1.jar
file
:/D:/server/target/conf/
file
:/D:/server/target/plugins/
file
:/D:/server/target/plugins/ecj-4.3.1.jar
file
:/D:/server/target/plugins/tomcat-embed-core-7.0.50.jar
file
:/D:/server/target/plugins/tomcat-embed-jasper-7.0.50.jar
file
:/D:/server/target/plugins/tomcat-embed-logging-juli-7.0.50.jar
file
:/D:/server/target/plugins/tomcat-embed-logging-log4j-7.0.50.jar
file
:/D:/server/target/plugins/tomcatplugin-1.6.jar

Bootstrap exception: Unresolved compilation problems:
   
The import org.slf4j.Logger cannot be resolved
   
The import org.slf4j.bridge cannot be resolved
   
The import org.springframework cannot be resolved
    SLF4JBridgeHandler cannot be resolved
   
Logger cannot be resolved to a type
   
The method getLogger(Class<?>) from the type Red5LoggerFactory refers to the missing type Logger
   
FileSystemXmlApplicationContext cannot be resolved to a type
   
FileSystemXmlApplicationContext cannot be resolved to a type

java
.lang.Error: Unresolved compilation problems:
   
The import org.slf4j.Logger cannot be resolved
   
The import org.slf4j.bridge cannot be resolved
   
The import org.springframework cannot be resolved
    SLF4JBridgeHandler cannot be resolved
   
Logger cannot be resolved to a type
   
The method getLogger(Class<?>) from the type Red5LoggerFactory refers to the missing type Logger
   
FileSystemXmlApplicationContext cannot be resolved to a type
   
FileSystemXmlApplicationContext cannot be resolved to a type

    at org
.red5.server.Launcher.<init>(Launcher.java:23)
    at sun
.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun
.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun
.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java
.lang.reflect.Constructor.newInstance(Unknown Source)
    at java
.lang.Class.newInstance(Unknown Source)
    at org
.red5.server.Bootstrap.bootStrap(Bootstrap.java:121)
    at org
.red5.server.Bootstrap.main(Bootstrap.java:48)
Bootstrap exit



bobby1285

unread,
Apr 28, 2014, 3:42:52 PM4/28/14
to red5in...@googlegroups.com
new classpath.png
new project tree.png

Dominick Accattato

unread,
Apr 28, 2014, 3:54:43 PM4/28/14
to red5in...@googlegroups.com
can you try removing bootstrap.jar from your classpath in the run-time configuration and try to restart?

bobby1285

unread,
Apr 28, 2014, 4:00:07 PM4/28/14
to red5in...@googlegroups.com
i did, closed eclipse and opened it again but then when i hit debug it says the main class bootstrap is missing or could not be loaded.

bobby1285

unread,
Apr 28, 2014, 4:16:15 PM4/28/14
to red5in...@googlegroups.com
please take a look at the screenshot this folder is missing "springframework" has not been checked out. where can i get this, because thats why eclipse is complaining.

springframework.png

Dominick Accattato

unread,
Apr 28, 2014, 4:26:20 PM4/28/14
to red5in...@googlegroups.com
That should be listed in your maven dependencies. It is not a source folder of the red5 project. It's a JAR file that maven should have resolved for you. Check that.


On Mon, Apr 28, 2014 at 4:16 PM, bobby1285 <c.nv...@googlemail.com> wrote:
please take a look at the screenshot this folder is missing "springframework" has not been checked out. where can i get this, because thats why eclipse is complaining.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 4:47:48 PM4/28/14
to red5in...@googlegroups.com
i have found it under maven dependencies, so why cant eclipse resolve it? its in the classpath.

maven dependencies.png

Dominick Accattato

unread,
Apr 28, 2014, 5:05:29 PM4/28/14
to red5in...@googlegroups.com
Bobby, I'm unsure why you are saying eclipse can't resolve the spring dependency. Your earlier message showed that it was logback that eclipse was complaining about. I'm a little confused.


On Mon, Apr 28, 2014 at 4:47 PM, bobby1285 <c.nv...@googlemail.com> wrote:
i have found it under maven dependencies, so why cant eclipse resolve it? its in the classpath.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Screen Shot 2014-04-28 at 5.03.54 PM.png

bobby1285

unread,
Apr 28, 2014, 5:16:03 PM4/28/14
to red5in...@googlegroups.com
those errors are still there but in launcher.java it gives me that error from screen1.png thats why i said it cant be resolved.

are there any up to date videos that start from scratch and show you how to install red5 on windows ?

Dominick Accattato

unread,
Apr 28, 2014, 5:42:07 PM4/28/14
to red5in...@googlegroups.com
yeah there's definitely something wrong with your eclipse environment. It seems that the m2e plugin isn't resolving correctly. Unfortunately eclipse and it's plugin system can do this sometimes. You can always download a pre-built distribution and remotely debug it as paul pointed out. Have you tried that yet?


On Mon, Apr 28, 2014 at 5:16 PM, bobby1285 <c.nv...@googlemail.com> wrote:
those errors are still there but in launcher.java it gives me that error from screen1.png thats why i said it cant be resolved.

are there any up to date videos that start from scratch and show you how to install red5 on windows ?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bobby1285

unread,
Apr 28, 2014, 6:06:23 PM4/28/14
to red5in...@googlegroups.com
which one of these would you suggest (see screenshot) that work with remote debugging.

and is "mondain" = "paul"  ? and you mean i should try this one out:  http://sziebert.net/posts/remote-debugging-red5-applications/

red5.png

mrchri...@gmail.com

unread,
Apr 28, 2014, 11:56:02 PM4/28/14
to red5in...@googlegroups.com, red5in...@googlegroups.com
Yes, mondain and Paul are one and the same person. 

Sent from my iPad

On Apr 28, 2014, at 6:06 PM, bobby1285 <c.nv...@googlemail.com> wrote:

which one of these would you suggest (see screenshot) that work with remote debugging.

and is "mondain" = "paul"  ? and you mean i should try this one out:  http://sziebert.net/posts/remote-debugging-red5-applications/

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<red5.png>

bobby1285

unread,
Apr 29, 2014, 5:42:22 AM4/29/14
to red5in...@googlegroups.com
so which one would you suggest?

bobby1285

unread,
Apr 30, 2014, 12:26:58 PM4/30/14
to red5in...@googlegroups.com
so?

Mondain

unread,
Apr 30, 2014, 2:39:46 PM4/30/14
to red5in...@googlegroups.com
I'm lost here, what are you asking about? If its which debugging to use, I say follow Carls post.

Paul


On Wed, Apr 30, 2014 at 9:26 AM, bobby1285 <c.nv...@googlemail.com> wrote:
so?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dominick Accattato

unread,
Apr 30, 2014, 2:50:14 PM4/30/14
to red5in...@googlegroups.com
Sorry for the delay. You should try the latest installer here

Grab the 1.0.2 Release

Red5 1.0.2 Release (9 April 2014)

Windows Java7 Tarball ZIP



On Wed, Apr 30, 2014 at 12:26 PM, bobby1285 <c.nv...@googlemail.com> wrote:
so?

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

bobby1285

unread,
May 1, 2014, 6:31:49 AM5/1/14
to red5in...@googlegroups.com
hi, thanks for the link i now installed red5 but as you can see in the screenshot the red5 service is not listed so i cant activate it. during installation i was asked to tpye in IP and port, is used these: 127.0.0.1  and 5080

installation was succesfull but the test page doesnt load and the service is missing. after this is fixed i will continue with this remote debugging thing since eclipse is not working at all i deleted everything and started from scratch but eclipse always gives me the same errors

as posted in this thread, cannot resolve this and that. i hope this remote debugging works better.

P.S. my JAVA_HOME System variable is set to C:\Progra~1\Java\jdk1.8.0
services.png

Dominick Accattato

unread,
May 1, 2014, 10:35:06 AM5/1/14
to red5in...@googlegroups.com
Hi Bobby, I'm sorry that you're having this much trouble. Unfortunately, I don't believe that this can be solved via back and forth messaging. It's going to require some help. If you would like, you can send me a private email and we could set up a time to take a look at this together. 

subzero128 .

unread,
May 2, 2014, 12:20:37 PM5/2/14
to red5in...@googlegroups.com
did you get my emails?


--

---
You received this message because you are subscribed to a topic in the Google Groups "red5" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/red5interest/iuHdNRUz6nw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to red5interest...@googlegroups.com.

Dominick Accattato

unread,
May 2, 2014, 1:11:25 PM5/2/14
to red5in...@googlegroups.com
Yes I have. I will respond.
Reply all
Reply to author
Forward
0 new messages