Thanks,
It fixed the problemm when I'm launching red5 with the wrapper - but with 
ANT I still get this issue. :/

----- Original Message ----- 
From: "Ruben Waitz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 13, 2007 1:23 AM
Subject: Re: [Red5] Problems with connecting to MySQL DB


> Hi,
>
> If Red5 uses the "wrapper"-method to run, add the mysql jar to the list in
> {RED5_HOME}\conf\wrapper.conf.
>
> Furthermore to avoid a hardcoded login/pass please check this page:
> http://www.red5tutorials.net/index.php/Howtos:Tomcat. Method 1b also works
> for Jetty and probably other java servers.
>
> Ruben
>
>
>> -----Oorspronkelijk bericht-----
>> Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
>> Stanislaw Fiedor
>> Verzonden: dinsdag 13 maart 2007 0:11
>> Aan: [email protected]
>> Onderwerp: [Red5] Problems with connecting to MySQL DB
>>
>> Hi!
>> I've got a problem while connecting from the fitcDemo application to a
>> MySQL
>> DB...
>> private Connection getConnection() throws Exception {
>>
>> Class.forName("com.mysql.jdbc.Driver");
>>
>> return
>> DriverManager.getConnection("jdbc:mysql://127.0.0.1/red5","user","pass");
>>
>> }
>>
>> I guess there is a problem with the DBconnector because I get this error:
>>      [java] java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
>>      [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>      [java]     at java.security.AccessController.doPrivileged(Native
>> Method)
>>      [java]     at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>      [java]     at
>> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppCl
>> assLoader.java:354)
>>      [java]     at
>> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppCl
>> assLoader.java:325)
>>      [java]     at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>
>>      [java]     at java.lang.Class.forName0(Native Method)
>>      [java]     at java.lang.Class.forName(Class.java:169)
>>
>> I've got in the build path of the fitcDemo the
>> Red5\lib\mysql-connector-java-5.0.5-bin.jar
>> so everything should work fine - but it doesn't - why?!
>> I've got the 1700 revision
>> I hope somebody will be able to help me;)
>>
>> BR
>> stf
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
> ------------------------------------
> www.red5tutorials.net: Tutorials - How tos - FAQ
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to