/srv/irclogs.ubuntu.com/2010/05/13/#ubuntu-java.txt

MetalnaSHi everyone20:59
MetalnaSI have a java/Mysql/tomcat problem on ubuntu is this an appropriate channel to ask for help ?21:00
nthykierMetalnaS: Yeah, as long as it isn't programming related21:01
MetalnaS<nthykier>: euuh what seriously ?21:02
nthykierMetalnaS: 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 tomcat21:03
nthykierMetalnaS: If you need help with coding you want to ask in ##java. They know more than we do21: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
nthykierMetalnaS: Sure, what error does it give you?21:07
MetalnaSokay great so here's the error http://pastebin.com/xvkcNd6821:09
nthykierNullPointer? and you are sure it is not just an unhandled case in your servlet?21:11
MetalnaSand here's the BD class where the problem seems to occur http://pastebin.com/GuQgwbdn21:12
MetalnaSI think so   i have no errors in my servlet21:12
MetalnaSand like i said the same code works fine on windows21:13
nthykierwell, I guess DriverManager.getConnection(...) must be returning NULL in the constructor21:13
nthykierMetalnaS: Have you tried to use the Driver's connect?21:15
MetalnaSthat's what i thought but i tried everything and i'm sure i'm using the right username and pass ..21:15
nthykierStore 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.html21:16
nthykierif that returns NULL, then the driver thinks it is the wrong kind of driver for the database21:16
MetalnaSokay i'll do this21:16
MalditoFlandershello22:01
nthykierhello22:01
MalditoFlandershi22:02
=== ShNaYkHs_ is now known as ShNaYkHs
MalditoFlanders anybody can help me to upload an applet into a SIM Card ?22:02
nthykierI have no clue how that works22:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!