Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 10:33:49 PM

Pages: [1]   Go Down
  Print  
Author Topic: MySQL driver problems  (Read 1070 times)
rabuabed
Newbie
*
Offline Offline

Posts: 1


WWW
« on: July 31, 2002, 06:45:00 AM »

I have developed my application on Tomcat 4 and I had no problems, but I seem to be getting problems with the server lunarpages is using.

I am receiving this error and I simply don't know what it means,
 beginning
Note: sun.tools.javac.Main has been deprecated.
/home2/coldfox1/public_html/WEB-INF/classes/org/gjt/mm/mysql/jdbc2/optional/MysqlPooledConnection.java:80:
class org.gjt.mm.mysql.jdbc2.optional.LogicalHandle is an abstract class.
It can't be instantiated.
            logicalHandle = new LogicalHandle(this, physicalConn);
end

You can take a look at it, go to www.coldfox.com and hit enter.........

These are the drivers specifically recommeded at www.mysql.com website.  What do I have to do????
Logged
Max
Über Jedi
*****
Offline Offline

Posts: 2534



WWW
« Reply #1 on: July 31, 2002, 07:21:00 AM »

Exile is looking thru your code as we speak, he will post an answer right here when he is done and figuared out a solution  "[Smile]"
Logged
Kelvin
Jabba the Hutt
*****
Offline Offline

Posts: 737



« Reply #2 on: July 31, 2002, 07:27:00 AM »

ok problem solved.

The problem was that there was both a .java and .class files, but the .java file was probably older than the class file.  if the .java is not the same as the .class (ie it has been modified or changed) then Resin will detect this and automatically recompile the .java ..

Please be aware of the above,  Having the ability to detect and adapt to changes is one of the best advantages that Resin has other Tomcat; cause it means the server does not need to be re-started with every change you make.

My advise here is that you save + recompile the servlets before you upload,  this will ensure that the .java and .class files match.
 
 [ July 31, 2002, 05:24 PM: Message edited by: EXiL3 ]
Logged

Kelvin

"Failure is not an option. It comes bundled with the software."
Pages: [1]   Go Up
  Print  
 
Jump to: