You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Timothy Mizas <ti...@villanova.edu> on 2008/05/15 21:44:51 UTC

Trouble installing roller on Red Hat

Hi,
I'm trying to install roller on red hat and having some problems. I've set my db driver class value in both roller-custom.properties which is under catalina_home/common/classes and I've set the db value in context.xml which is under catalina_home/webapps/roller/META-INF/. I configured both according to the install directions. But when I star tomcat, in roller.log I get

INFO  2008-05-15 15:45:40,718 DatabaseProvider:successMessage - SUCCESS: Got par
ameters. Using configuration type JDBC_PROPERTIES
INFO  2008-05-15 15:45:40,737 DatabaseProvider:successMessage - -- Using JDBC dr
iver class: ---> <?????> <---
INFO  2008-05-15 15:45:40,742 DatabaseProvider:successMessage - -- Using JDBC co
nnection URL: <***dburl***>
INFO  2008-05-15 15:45:40,747 DatabaseProvider:successMessage - -- Using JDBC us
ername: <***username***>
INFO  2008-05-15 15:45:40,752 DatabaseProvider:successMessage - -- Using JDBC pa
ssword: [hidden]
ERROR 2008-05-15 15:45:40,757 DatabaseProvider:errorMessage - ERROR: cannot load
 JDBC driver class [---> <?????> <---]. Likely problem: JDBC driver jar missing from server class
path.

It loads the url and username correctly, but when it comes to even mentioning the driver class, it's left blank. I have ojdbc14.jar in both catalina_home/common/lib and shared/lib since I wasn't sure which it should go in. Why isn't it finding the driver class name to load?

Thanks for any help,
Tim

RE: Trouble installing roller on Red Hat

Posted by Timothy Mizas <ti...@villanova.edu>.
I found that I had a typo in roller-custom.properties. I had typed out driverclass instead of driverClass. So I have that issue fixed now.

-Tim
________________________________________
From: Dave [snoopdave@gmail.com]
Sent: Saturday, May 17, 2008 9:35 AM
To: user@roller.apache.org
Subject: Re: Trouble installing roller on Red Hat

What are the contents of your roller-custom.properties. Perhaps we can
spot the error if you post that fine (minus passwords of couse).

- Dave


On Thu, May 15, 2008 at 3:44 PM, Timothy Mizas
<ti...@villanova.edu> wrote:
> Hi,
> I'm trying to install roller on red hat and having some problems. I've set my db driver class value in both roller-custom.properties which is under catalina_home/common/classes and I've set the db value in context.xml which is under catalina_home/webapps/roller/META-INF/. I configured both according to the install directions. But when I star tomcat, in roller.log I get
>
> INFO  2008-05-15 15:45:40,718 DatabaseProvider:successMessage - SUCCESS: Got par
> ameters. Using configuration type JDBC_PROPERTIES
> INFO  2008-05-15 15:45:40,737 DatabaseProvider:successMessage - -- Using JDBC dr
> iver class: ---> <?????> <---
> INFO  2008-05-15 15:45:40,742 DatabaseProvider:successMessage - -- Using JDBC co
> nnection URL: <***dburl***>
> INFO  2008-05-15 15:45:40,747 DatabaseProvider:successMessage - -- Using JDBC us
> ername: <***username***>
> INFO  2008-05-15 15:45:40,752 DatabaseProvider:successMessage - -- Using JDBC pa
> ssword: [hidden]
> ERROR 2008-05-15 15:45:40,757 DatabaseProvider:errorMessage - ERROR: cannot load
>  JDBC driver class [---> <?????> <---]. Likely problem: JDBC driver jar missing from server class
> path.
>
> It loads the url and username correctly, but when it comes to even mentioning the driver class, it's left blank. I have ojdbc14.jar in both catalina_home/common/lib and shared/lib since I wasn't sure which it should go in. Why isn't it finding the driver class name to load?
>
> Thanks for any help,
> Tim
>

Re: Trouble installing roller on Red Hat

Posted by Dave <sn...@gmail.com>.
What are the contents of your roller-custom.properties. Perhaps we can
spot the error if you post that fine (minus passwords of couse).

- Dave


On Thu, May 15, 2008 at 3:44 PM, Timothy Mizas
<ti...@villanova.edu> wrote:
> Hi,
> I'm trying to install roller on red hat and having some problems. I've set my db driver class value in both roller-custom.properties which is under catalina_home/common/classes and I've set the db value in context.xml which is under catalina_home/webapps/roller/META-INF/. I configured both according to the install directions. But when I star tomcat, in roller.log I get
>
> INFO  2008-05-15 15:45:40,718 DatabaseProvider:successMessage - SUCCESS: Got par
> ameters. Using configuration type JDBC_PROPERTIES
> INFO  2008-05-15 15:45:40,737 DatabaseProvider:successMessage - -- Using JDBC dr
> iver class: ---> <?????> <---
> INFO  2008-05-15 15:45:40,742 DatabaseProvider:successMessage - -- Using JDBC co
> nnection URL: <***dburl***>
> INFO  2008-05-15 15:45:40,747 DatabaseProvider:successMessage - -- Using JDBC us
> ername: <***username***>
> INFO  2008-05-15 15:45:40,752 DatabaseProvider:successMessage - -- Using JDBC pa
> ssword: [hidden]
> ERROR 2008-05-15 15:45:40,757 DatabaseProvider:errorMessage - ERROR: cannot load
>  JDBC driver class [---> <?????> <---]. Likely problem: JDBC driver jar missing from server class
> path.
>
> It loads the url and username correctly, but when it comes to even mentioning the driver class, it's left blank. I have ojdbc14.jar in both catalina_home/common/lib and shared/lib since I wasn't sure which it should go in. Why isn't it finding the driver class name to load?
>
> Thanks for any help,
> Tim
>