Web Hosting Talk







View Full Version : Java Servlets - Alabanza???


nox
12-24-2000, 02:03 PM
Maybe another Alabanza host could kindly enlighten me here.

Which version of Java servlets and which version of JDK is supported? We have the OLD machine with php3 etc, if that makes a difference.

Is CLASSPATH changing supported(needed in order to install JDBC driver for MySQL)?

I have an enquiry for this and I'm afraid I have to admit, I don't know the answer here.

There appear to be no technical people, in my universe anyhow, who are sober or awake at this moment (5am Christmas morning in Oz)

Ha ha, it's always the sucker who pays the bills who does the 'graveyard shift'. Oh well Merry Christmas to anyone else who promised service 365 days a year...:)

mybiz
12-25-2000, 12:53 PM
Since you have the old machine I do not know.

I have a server with the newer versions and you use Apache Jserv. It does support changing the classpath, but YOU will have to do it because your client will not have access to the files. Check in /usr/local/jserv/etc for their file.

It will be something like: username.zone.properties

you will need to change the classpath there.

MattF
12-25-2000, 01:53 PM
If you do have an old version of JDK, go to java.sun.com, download the latest java JDK and install it. Is there something (a contract clause maybe) stopping Alabanza hosts from controlling their own servers? Why are people still running PHP3? Do you guys have root access?

Anyways,

Why not just dump the mysql jar file in jdk\lib directory (wherever that may be on the server /usr/local/java/lib maybe?), making it available to everyone and without the need to change the classpath. There are two mySQL drivers mm.mysql and Caucho mysql driver, Caucho's version is much faster, both have the same interface so all that needs changing is the load statement. Better yet dump both mm.mysql and Caucho mysql driver in the java lib directory.


Class.forName(caucho.mysql.driver);

replace caucho.mysql.driver with whatever it is.

MattF
12-25-2000, 01:58 PM
http://www.caucho.com/projects/jdbc-mysql/

It works with any Java app, not tied to Resin or anything.

:)

javapie
12-26-2000, 03:14 PM
test --



[Edited by javapie on 12-26-2000 at 02:17 PM]

nox
12-26-2000, 03:31 PM
Guys thank you,

The choice not to upgrade to the new features is based upon reliability.

I have now, with your help, had my question answered and my problem solved.

Thank you as always....:)