Timothy Mizas wrote:
> 
> I tried changing my driver to classes12 and that is letting it connect.
> But now I get
> 
> java.lang.NumberFormatException
>    at java.lang.Integer.parseInt(libgcj.so.7rh)
>    at java.lang.Integer.parseInt(libgcj.so.7rh)
>    at
> org.apache.roller.weblogger.business.startup.DatabaseInstaller.getDatabaseVersion(DatabaseInstaller.java:1169)
> ...
> 

My suggestion is, given that you can't get your java test program to connect
to the database, to try to get that working first before adding the
complexity of Tomcat, Roller etc.

What version of the JDK are you using? There are different versions of the
Oracle JDBC drivers and you might as well be using one of the recent ones
(classes12.jar is very old - for JDK 1.2 & 1.3). E.g. 10g R2 ojdbc14.jar is
for JDK 1.4 & 1.5 and in 11g the JDK5/6 ones are called ojdbc5.jar and
ojdbc6.jar respectively. The driver download page is here:
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html

Finally I assume your database is set up properly & works OK for other
people too? NLS, character sets and internationalisation are quite
specialised topics but I've never had trouble just using the defaults.

Hope this helps,

:Simon
-- 
View this message in context: 
http://www.nabble.com/Oracle-configuration-problem-tp17325911s12275p17445878.html
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to