Problem installing Red5 on Windows 2003 x64 Server

View: New views
15 Messages — Rating Filter:   Alert me  

Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I really hope you can help.

I installed Red5 onto my Windows XP laptop by following these very clear
instructions:
http://www.flashpioneer.com/chat/help/RED5_install_w.htm

But now I have now been trying to install Red5 on a Windows 2003 Server for
many hours and I am getting nowhere.
The server is 64 bit (x64) with Service Pack 2 and all the latest patches.
It has IIS running on port 80 and Apache 2.2 running on port 8080

After installation I get this message in Internet Explorer when trying to
reach http://127.0.0.1:5080/admin:
"The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. "
Friendly HTTP errors are switched off in the IE advanced options and the
error message doesn't get any clearer than that.

When I try starting Red5 up from the command line, ie. C:\Red5\red5.bat I
get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
Caused by: java.lang.ClassNotFoundException: org.red5.server.Standalone
        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.Standalone.  Program will
exit.
Press any key to continue . . .

I have got this same message after installing different combinations of Java
and Red 5 windows installers.
After installation, the NT service sometimes appears to be running and
sometimes it will not start.
I have tried running C:\Red5\red5.bat with the NT service apparently
running, with the service not running and after unistalling the service.

These are the versions of Red5 Windows installers I have tried: 0.8, 0.7,
0.6.2
Version 0.6.2 gave me a lot more options during the installation, as shown
in the installation instructions I followed for the laptop.
The other two versions didn't show any options for setting up the NT
service.

The error sounds like it might be a class path issue or a problem with
compilation.
I didn't think that Red5 would need to be compiled when using the Windows
installation, but I tried unzipping the .tar version of Red 5 and running
red5.bat and I got the same error again.

These are the Java Environment Variables that have been set up:
CLASSPATH
.;C:\Java\jdk\lib;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;
JAVA_HOME C:\Java\jdk
PATH C:\Java\jdk\bin; (at end of existing PATH list)

Tried installing with the following versions of Java 1.6
JRE x64, JDK x64, JDK 32bit
Installed into C:\Java\jre and C:\Java\jdk respectively. Java unistalled and
machine rebooted before trying the next version.

When I test Java from the command line by entering "C:> java -showversion" I
get the same result after each installation:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I really appreciate any help you can give.

All the best
Al

I'm protected by SpamBrave


I'm protected by SpamBrave
http://www.spambrave.com/


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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

On Tue, Jul 7, 2009 at 2:14 PM, Al <red5@...> wrote:
Hi

I really hope you can help.

I installed Red5 onto my Windows XP laptop by following these very clear
instructions:
http://www.flashpioneer.com/chat/help/RED5_install_w.htm

But now I have now been trying to install Red5 on a Windows 2003 Server for
many hours and I am getting nowhere.
The server is 64 bit (x64) with Service Pack 2 and all the latest patches.
It has IIS running on port 80 and Apache 2.2 running on port 8080

After installation I get this message in Internet Explorer when trying to
reach http://127.0.0.1:5080/admin:
"The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. "
Friendly HTTP errors are switched off in the IE advanced options and the
error message doesn't get any clearer than that.

When I try starting Red5 up from the command line, ie. C:\Red5\red5.bat I
get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
Caused by: java.lang.ClassNotFoundException: org.red5.server.Standalone
      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.Standalone.  Program will
exit.
Press any key to continue . . .

I have got this same message after installing different combinations of Java
and Red 5 windows installers.
After installation, the NT service sometimes appears to be running and
sometimes it will not start.
I have tried running C:\Red5\red5.bat with the NT service apparently
running, with the service not running and after unistalling the service.

These are the versions of Red5 Windows installers I have tried: 0.8, 0.7,
0.6.2
Version 0.6.2 gave me a lot more options during the installation, as shown
in the installation instructions I followed for the laptop.
The other two versions didn't show any options for setting up the NT
service.

The error sounds like it might be a class path issue or a problem with
compilation.
I didn't think that Red5 would need to be compiled when using the Windows
installation, but I tried unzipping the .tar version of Red 5 and running
red5.bat and I got the same error again.

These are the Java Environment Variables that have been set up:
CLASSPATH
.;C:\Java\jdk\lib;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;
JAVA_HOME C:\Java\jdk
PATH C:\Java\jdk\bin; (at end of existing PATH list)

Tried installing with the following versions of Java 1.6
JRE x64, JDK x64, JDK 32bit
Installed into C:\Java\jre and C:\Java\jdk respectively. Java unistalled and
machine rebooted before trying the next version.

When I test Java from the command line by entering "C:> java -showversion" I
get the same result after each installation:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I really appreciate any help you can give.

All the best
Al

I'm protected by SpamBrave


I'm protected by SpamBrave
http://www.spambrave.com/


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



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

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

On Tue, Jul 7, 2009 at 2:14 PM, Al <red5@...> wrote:
Hi

I really hope you can help.

I installed Red5 onto my Windows XP laptop by following these very clear
instructions:
http://www.flashpioneer.com/chat/help/RED5_install_w.htm

But now I have now been trying to install Red5 on a Windows 2003 Server for
many hours and I am getting nowhere.
The server is 64 bit (x64) with Service Pack 2 and all the latest patches.
It has IIS running on port 80 and Apache 2.2 running on port 8080

After installation I get this message in Internet Explorer when trying to
reach http://127.0.0.1:5080/admin:
"The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. "
Friendly HTTP errors are switched off in the IE advanced options and the
error message doesn't get any clearer than that.

When I try starting Red5 up from the command line, ie. C:\Red5\red5.bat I
get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
Caused by: java.lang.ClassNotFoundException: org.red5.server.Standalone
      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.Standalone.  Program will
exit.
Press any key to continue . . .

I have got this same message after installing different combinations of Java
and Red 5 windows installers.
After installation, the NT service sometimes appears to be running and
sometimes it will not start.
I have tried running C:\Red5\red5.bat with the NT service apparently
running, with the service not running and after unistalling the service.

These are the versions of Red5 Windows installers I have tried: 0.8, 0.7,
0.6.2
Version 0.6.2 gave me a lot more options during the installation, as shown
in the installation instructions I followed for the laptop.
The other two versions didn't show any options for setting up the NT
service.

The error sounds like it might be a class path issue or a problem with
compilation.
I didn't think that Red5 would need to be compiled when using the Windows
installation, but I tried unzipping the .tar version of Red 5 and running
red5.bat and I got the same error again.

These are the Java Environment Variables that have been set up:
CLASSPATH
.;C:\Java\jdk\lib;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;
JAVA_HOME C:\Java\jdk
PATH C:\Java\jdk\bin; (at end of existing PATH list)

Tried installing with the following versions of Java 1.6
JRE x64, JDK x64, JDK 32bit
Installed into C:\Java\jre and C:\Java\jdk respectively. Java unistalled and
machine rebooted before trying the next version.

When I test Java from the command line by entering "C:> java -showversion" I
get the same result after each installation:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I really appreciate any help you can give.

All the best
Al

I'm protected by SpamBrave


I'm protected by SpamBrave
http://www.spambrave.com/


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



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



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

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Paul
 
Thanks for the instructions. Does the version of Java (JRE/JDK 32bit/64bit) not make any difference?
 
The very first installation I did was Java 1.6 64 bit JRE followed by Red5 0.8.
 
When I went to http://127.0.0.1:5080 and http://127.0.0.1:5080/admin/ I got the error message: "The webpage cannot be displayed...." as below, and that is when I started going through the other combinations.
 
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.
 
All the best
Al
 
 
----- Original Message -----
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

On Tue, Jul 7, 2009 at 2:14 PM, Al <red5@...> wrote:
Hi

I really hope you can help.

I installed Red5 onto my Windows XP laptop by following these very clear
instructions:
http://www.flashpioneer.com/chat/help/RED5_install_w.htm

But now I have now been trying to install Red5 on a Windows 2003 Server for
many hours and I am getting nowhere.
The server is 64 bit (x64) with Service Pack 2 and all the latest patches.
It has IIS running on port 80 and Apache 2.2 running on port 8080

After installation I get this message in Internet Explorer when trying to
reach http://127.0.0.1:5080/admin:
"The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. "
Friendly HTTP errors are switched off in the IE advanced options and the
error message doesn't get any clearer than that.

When I try starting Red5 up from the command line, ie. C:\Red5\red5.bat I
get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
Caused by: java.lang.ClassNotFoundException: org.red5.server.Standalone
      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.Standalone.  Program will
exit.
Press any key to continue . . .

I have got this same message after installing different combinations of Java
and Red 5 windows installers.
After installation, the NT service sometimes appears to be running and
sometimes it will not start.
I have tried running C:\Red5\red5.bat with the NT service apparently
running, with the service not running and after unistalling the service.

These are the versions of Red5 Windows installers I have tried: 0.8, 0.7,
0.6.2
Version 0.6.2 gave me a lot more options during the installation, as shown
in the installation instructions I followed for the laptop.
The other two versions didn't show any options for setting up the NT
service.

The error sounds like it might be a class path issue or a problem with
compilation.
I didn't think that Red5 would need to be compiled when using the Windows
installation, but I tried unzipping the .tar version of Red 5 and running
red5.bat and I got the same error again.

These are the Java Environment Variables that have been set up:
CLASSPATH
.;C:\Java\jdk\lib;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;
JAVA_HOME C:\Java\jdk
PATH C:\Java\jdk\bin; (at end of existing PATH list)

Tried installing with the following versions of Java 1.6
JRE x64, JDK x64, JDK 32bit
Installed into C:\Java\jre and C:\Java\jdk respectively. Java unistalled and
machine rebooted before trying the next version.

When I test Java from the command line by entering "C:> java -showversion" I
get the same result after each installation:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I really appreciate any help you can give.

All the best
Al

I'm protected by SpamBrave


I'm protected by SpamBrave
http://www.spambrave.com/


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



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



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


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

I'm protected by SpamBrave


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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A 64bit JVM will work just fine.


On Wed, Jul 8, 2009 at 7:41 AM, Al <red5@...> wrote:
Hi Paul
 
Thanks for the instructions. Does the version of Java (JRE/JDK 32bit/64bit) not make any difference?
 
The very first installation I did was Java 1.6 64 bit JRE followed by Red5 0.8.
 
When I went to http://127.0.0.1:5080 and http://127.0.0.1:5080/admin/ I got the error message: "The webpage cannot be displayed...." as below, and that is when I started going through the other combinations.
 
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.
 
All the best
Al
 
 
----- Original Message -----
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

On Tue, Jul 7, 2009 at 2:14 PM, Al <red5@...> wrote:
Hi

I really hope you can help.

I installed Red5 onto my Windows XP laptop by following these very clear
instructions:
http://www.flashpioneer.com/chat/help/RED5_install_w.htm

But now I have now been trying to install Red5 on a Windows 2003 Server for
many hours and I am getting nowhere.
The server is 64 bit (x64) with Service Pack 2 and all the latest patches.
It has IIS running on port 80 and Apache 2.2 running on port 8080

After installation I get this message in Internet Explorer when trying to
reach http://127.0.0.1:5080/admin:
"The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. "
Friendly HTTP errors are switched off in the IE advanced options and the
error message doesn't get any clearer than that.

When I try starting Red5 up from the command line, ie. C:\Red5\red5.bat I
get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
Caused by: java.lang.ClassNotFoundException: org.red5.server.Standalone
      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.Standalone.  Program will
exit.
Press any key to continue . . .

I have got this same message after installing different combinations of Java
and Red 5 windows installers.
After installation, the NT service sometimes appears to be running and
sometimes it will not start.
I have tried running C:\Red5\red5.bat with the NT service apparently
running, with the service not running and after unistalling the service.

These are the versions of Red5 Windows installers I have tried: 0.8, 0.7,
0.6.2
Version 0.6.2 gave me a lot more options during the installation, as shown
in the installation instructions I followed for the laptop.
The other two versions didn't show any options for setting up the NT
service.

The error sounds like it might be a class path issue or a problem with
compilation.
I didn't think that Red5 would need to be compiled when using the Windows
installation, but I tried unzipping the .tar version of Red 5 and running
red5.bat and I got the same error again.

These are the Java Environment Variables that have been set up:
CLASSPATH
.;C:\Java\jdk\lib;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;
JAVA_HOME C:\Java\jdk
PATH C:\Java\jdk\bin; (at end of existing PATH list)

Tried installing with the following versions of Java 1.6
JRE x64, JDK x64, JDK 32bit
Installed into C:\Java\jre and C:\Java\jdk respectively. Java unistalled and
machine rebooted before trying the next version.

When I test Java from the command line by entering "C:> java -showversion" I
get the same result after each installation:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I really appreciate any help you can give.

All the best
Al

I'm protected by SpamBrave


I'm protected by SpamBrave
http://www.spambrave.com/


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



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



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


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

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



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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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 -----
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.
 
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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Al try searching through the mailing list archives just to see if others have had the same issues.


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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The service wrapper that we use (free version) does not support 64 bit. As for why you cant run via red5.bat, I don't know since that should run just fine. I run both 32 and 64 bit here on my WindowsXP Pro x64 box. You may want to set the RED5_HOME environment variable, ensure red5.jar / boot.jar are within RED5_HOME, and also check the output on the logs / console to see what is shown when the server first starts up.

Paul

On Wed, Jul 8, 2009 at 8:14 AM, Dominick Accattato <dominick@...> wrote:
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




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

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just noticed what Dominick sent.. a better command line would be:

java -cp boot.jar;red5.jar;conf  org.red5.server.Bootstrap

This wont actually work very well but it should resolve Bootstrap.class 

Paul

On Wed, Jul 8, 2009 at 8:14 AM, Dominick Accattato <dominick@...> wrote:
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




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

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Dominick
 
Here are the results of
java -cp red5.jar:conf  org.red5.server.Bootstrap
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Boots
trap
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.
 
Looks like the same error.
All the best
Al
 
----- Original Message -----
Sent: Wednesday, July 08, 2009 4:14 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

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 -----
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.
 
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

I'm protected by SpamBrave


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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Dominick
Sorry if it is a silly question, but how/where do you search through the archives?
and the search form on http://osflash.org/red5 doesn't seem to search the list.
Do I need to download the archives first?
Thanks
Al
----- Original Message -----
Sent: Wednesday, July 08, 2009 4:08 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

Al try searching through the mailing list archives just to see if others have had the same issues.


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 -----
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.
 
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

I'm protected by SpamBrave


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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Mondain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recommend Nabble: http://www.nabble.com/Red5-f16328.html

Paul

On Wed, Jul 8, 2009 at 9:35 AM, Al <red5@...> wrote:
Hi Dominick
Sorry if it is a silly question, but how/where do you search through the archives?
and the search form on http://osflash.org/red5 doesn't seem to search the list.
Do I need to download the archives first?
Thanks
Al

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

Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Paul
 
Thanks. I tried running "java -cp boot.jar;red5.jar;conf  org.red5.server.Bootstrap" from the command line and got the same old:
 
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
     ...removed ..
Could not find the main class: org.red5.server.Bootstrap.  Program will exit.
 
However what I did work out from your message is that the RED_HOME environment variable is set to whatever the current directory is when red5.bat is run from the command line and I had been trying to start up Red5 by running
    C:\Red5\red5.bat
rather than
    cd C:\Red5
    red5.bat
 
Now I'm running red5.bat from within the correct directory I am getting a much more promising response though I'm still not getting any joy with http://localhost:5080
 
The relevant error in the red5.bat response seems to be:
 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.core' defined in class path resource [red5.xml]: Instanti
ation 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.factory.BeanCreationExcep
tion: Error creating bean with name 'rtmpTransport' defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception
 is java.net.BindException: Address already in use: bind
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:92
5)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835
)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
Is this helpful in fixing the issue? I can post the full response if it might help more.
 
If I was to set RED5_HOME as a permanent environment variable what should it be set to? Shold it be the directory I installed red5 into, ie. C:\Red5?
 
Thanks again
All the best
Al
================
Alastair Martindale
01273 774 773
alastair@...
================
 
----- Original Message -----
Sent: Wednesday, July 08, 2009 5:19 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

The service wrapper that we use (free version) does not support 64 bit. As for why you cant run via red5.bat, I don't know since that should run just fine. I run both 32 and 64 bit here on my WindowsXP Pro x64 box. You may want to set the RED5_HOME environment variable, ensure red5.jar / boot.jar are within RED5_HOME, and also check the output on the logs / console to see what is shown when the server first starts up.

Paul

On Wed, Jul 8, 2009 at 8:14 AM, Dominick Accattato <dominick@...> wrote:
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?

I'm protected by SpamBrave


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

Parent Message unknown Re: Problem installing Red5 on Windows 2003 x64 Server

by Al-90 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi
 
Sorry, please ignore my last post. I hadn't checked that the NT service wasn't still pretending to run.
I have restarted the server and stopped the Red5 NT service. I will unistall it so it doesn't automaticlly start up again on reboot.
 
When I now run red5.bat from the Red5 directory I am getting instructions to install demos on http://127.0.0.1:5080/
 
Paul and Dominic, thanks for you help.
 
All the best
Al
----- Original Message -----
From: red5@...
Sent: Wednesday, July 08, 2009 8:36 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

Hi Paul
 
Thanks. I tried running "java -cp boot.jar;red5.jar;conf  org.red5.server.Bootstrap" from the command line and got the same old:
 
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
     ...removed ..
Could not find the main class: org.red5.server.Bootstrap.  Program will exit.
 
However what I did work out from your message is that the RED_HOME environment variable is set to whatever the current directory is when red5.bat is run from the command line and I had been trying to start up Red5 by running
    C:\Red5\red5.bat
rather than
    cd C:\Red5
    red5.bat
 
Now I'm running red5.bat from within the correct directory I am getting a much more promising response though I'm still not getting any joy with http://localhost:5080
 
The relevant error in the red5.bat response seems to be:
 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.core' defined in class path resource [red5.xml]: Instanti
ation 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.factory.BeanCreationExcep
tion: Error creating bean with name 'rtmpTransport' defined in class path resource [red5-core.xml]: Invocation of init method failed; nested exception
 is java.net.BindException: Address already in use: bind
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:92
5)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835
)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
Is this helpful in fixing the issue? I can post the full response if it might help more.
 
If I was to set RED5_HOME as a permanent environment variable what should it be set to? Shold it be the directory I installed red5 into, ie. C:\Red5?
 
Thanks again
All the best
Al
================
Alastair Martindale
01273 774 773
alastair@...
================
 
----- Original Message -----
Sent: Wednesday, July 08, 2009 5:19 PM
Subject: Re: [Red5] Problem installing Red5 on Windows 2003 x64 Server

The service wrapper that we use (free version) does not support 64 bit. As for why you cant run via red5.bat, I don't know since that should run just fine. I run both 32 and 64 bit here on my WindowsXP Pro x64 box. You may want to set the RED5_HOME environment variable, ensure red5.jar / boot.jar are within RED5_HOME, and also check the output on the logs / console to see what is shown when the server first starts up.

Paul

On Wed, Jul 8, 2009 at 8:14 AM, Dominick Accattato <dominick@...> wrote:
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?

I'm protected by SpamBrave

I'm protected by SpamBrave


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