« Return to Thread: Problem installing Red5 on Windows 2003 x64 Server

Re: Problem installing Red5 on Windows 2003 x64 Server

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View in Thread

seems to be a classpath issue.

can you try the following:

cd c:\Red5\
java -cp red5.jar:conf  org.red5.server.Bootstrap

what are your results?

On Wed, Jul 8, 2009 at 10:37 AM, Al <red5@...> wrote:
Hi
 
I have reinstalled Java version 1.6 as suggested and installed Red5 0.8 using the windows installer.
 
When I used the 64 bit Java SDK the service appeared to start fine, but the following appeared in the C:\Red5\logs\red5_service.log file:
"WrapperManager: Initializing...WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
One common cause of this problem is running a 32-bit version of the Wrapper with a 64-bit version of Java, or vica versa. This is a 64-bit JVM."
So I tried again with a 32 bit Java SDK, the service appears to start fine, and this time without the error in the log file.
However I still can't connect to http://localhost:5080/ or http://127.0.0.1:5080
 
When I stop the service and try to run C:\Red5\red5.bat I still get the following error:
 
Starting Red5
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.red5.server.Bootstrap.  Program will exit.
 
This is the same error whichever version of Java is installed
Please can someone explain to me what this error means and what might be causing it.
 
Any more hints on how to get Red5 installed on a 64 bit Windows Server 2003 would be really appreciated.
 
Thanks
Al
----- Original Message -----
From: dominick@...
Sent: Wednesday, July 08, 2009 2:04 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

A 64bit JVM will work just fine.

On Wed, Jul 8, 2009 at 7:41 AM, Al <red5@...> wrote:
 
Thanks for the instructions. Does the version of Java (JRE/JDK 32bit/64bit) not make any difference?
 
I will try again with this original combination but I think I am going to get the same problem again.
 
Any other suggestions would be really welcome.
 
From: mondain@...
Sent: Tuesday, July 07, 2009 10:36 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

Also, please do load a 1.6 version of Java on your server (32 or 64 bit). Once you have done that, the java.exe, jar.exe, and various java dll files will be in your windows/system directory (this dir varies from version to version). The last java version installed will be the active one (may require restart of os), so typing "java -version" at the command line will use the java.exe on your path.

Paul

On Tue, Jul 7, 2009 at 2:29 PM, Mondain <mondain@...> wrote:
Ok, so step one is to uninstall that really old version 0.6.x (~3 years old) and install 0.8.0 or later. Download links are here: http://code.google.com/p/red5/
After you have installed the newer version, start the server and open a browser and go here: http://localhost:5080/
There will be more directions there.

Paul
 

I'm protected by SpamBrave


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 « Return to Thread: Problem installing Red5 on Windows 2003 x64 Server