MetalnaS | Hi everyone | 20:59 |
---|---|---|
MetalnaS | I have a java/Mysql/tomcat problem on ubuntu is this an appropriate channel to ask for help ? | 21:00 |
nthykier | MetalnaS: Yeah, as long as it isn't programming related | 21:01 |
MetalnaS | <nthykier>: euuh what seriously ? | 21:02 |
nthykier | MetalnaS: It is the right channel for java/Mysql/tomcat problems on Ubuntu. As long as the problem is not how to write java code using Mysql or tomcat | 21:03 |
nthykier | MetalnaS: If you need help with coding you want to ask in ##java. They know more than we do | 21:06 |
MetalnaS | <nthykier>: hmm my web app is working fine on windows but on ubuntu i have an error when its trying to connect to Mysql so is this good ? | 21:06 |
nthykier | MetalnaS: Sure, what error does it give you? | 21:07 |
MetalnaS | okay great so here's the error http://pastebin.com/xvkcNd68 | 21:09 |
nthykier | NullPointer? and you are sure it is not just an unhandled case in your servlet? | 21:11 |
MetalnaS | and here's the BD class where the problem seems to occur http://pastebin.com/GuQgwbdn | 21:12 |
MetalnaS | I think so i have no errors in my servlet | 21:12 |
MetalnaS | and like i said the same code works fine on windows | 21:13 |
nthykier | well, I guess DriverManager.getConnection(...) must be returning NULL in the constructor | 21:13 |
nthykier | MetalnaS: Have you tried to use the Driver's connect? | 21:15 |
MetalnaS | that's what i thought but i tried everything and i'm sure i'm using the right username and pass .. | 21:15 |
nthykier | Store the return value of Class.forName(this.driver).newInstance(); + use the "connect" method listed here http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Driver.html | 21:16 |
nthykier | if that returns NULL, then the driver thinks it is the wrong kind of driver for the database | 21:16 |
MetalnaS | okay i'll do this | 21:16 |
MalditoFlanders | hello | 22:01 |
nthykier | hello | 22:01 |
MalditoFlanders | hi | 22:02 |
=== ShNaYkHs_ is now known as ShNaYkHs | ||
MalditoFlanders | anybody can help me to upload an applet into a SIM Card ? | 22:02 |
nthykier | I have no clue how that works | 22:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!