thank you for your quickly answer!
I've already included the .jar file for the JDBC, and it already compiles! i
got this error in the red5.log file:

"Caused by: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
INFO   | jvm 1    | 2007/02/09 19:16:23 |     at
org.red5.webapps.ejemplo.Application.DameDatosAux(Application.java:69)
INFO   | jvm 1    | 2007/02/09 19:16:23 |     at
org.red5.webapps.ejemplo.Application.DameDatosBd(Application.java:58)"

so the problem is that inside it doesn't catch the references (i think)...
any suggestion?
if it compiles, it should catch the reference in run mode, cause i put this
code in the top of the file:
"import oracle.jdbc.driver.OracleDriver;"

but when i declare a new object of that class.....BOOM! it gives the above
error!

thanx!

2007/2/9, Dan Rossi <[EMAIL PROTECTED]>:

Gday, sorry i meant u can simply import the project into eclipse from
the source of red5 and it has the debugger option enabled it just loads
the standalone class or whatever. As for JDBC you never sent the error i
guess make sure its in the build path of eclipse. If you goto the
properties of the project then build path there is an option to add jar
files.

Miguel Amez wrote:
> hi Dan!
> thank you for your response. I'm not close to the SVN environment, I use
> eclipse by now. My real problem is that I'm trying to connect the red5
> java
> side (server side) with oracle to convert the streaming accesses that
now
> are implemented reading from local files stored on the red5 server
> into xml
> queries to xmltype columns. That way i will be able to have the
> advantage of
> direct indexing to data that oracle gives with xmltype columns and the
> streaming concurrency power of red5. But this has some troubles,
> because i
> cannot get access to the oracle database with jdbc. So im trying to
debug
> the server side to get close to the problem, but it's impossible right
> now.
> I've tried to have a "separate-from-red5" project and the jdbc
connection
> makes with no troubles. I think that the problem is that the function "
> DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());"
> throws an unhandled exception and red5 has some troubles with it,
> because it
> returns null to the flash side...
> Any ideas?
> thank you
>
> 2007/2/9, Dan Rossi <[EMAIL PROTECTED]>:
>>
>> Im not sure about the tarball release, but under SVN u have the
.project
>> file within the source, i would then import existing project into your
>> working directory.  It would already be setup with a debugger, so u
just
>> have to click the debug icon :D
>>
>> Miguel Amez wrote:
>> > Hi all!
>> > this is my first post. I'm trying to debug a new red5 application(the
>> > java
>> > side). I use eclipse, but I don't know how to do it. should I debug
>> > all the
>> > red5 server? or is it posible to attach a red5 application to an
>> active
>> > process (red5 process) in eclipse like a code is attached to a
running
>> > process in the traditional c/c++ programming?
>> >
>> > thanks in advance,
>> > villalvilla
>> >
>> >
>>
------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > 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
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

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

Reply via email to