You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by sravuri <ra...@gmail.com> on 2010/06/01 09:46:12 UTC

apache roller installation is failing with database error

HI,
    I am trying to install apache roller on my machine. I am using geronimo
server. I am running with database problem. I am getting the following
error.

##############################################

Cannot connect to database
What happened?

A database error occurred, probably because your database connection is
misconfigured. You will have to fix this problem and then restart or
redeploy Roller before you can proceed. Here's what happened when Roller
tried to establish a connection:

    * SUCCESS: Got parameters. Using configuration type JDBC_PROPERTIES
    * -- Using JDBC driver class: com.mysql.jdbc.Driver
    * -- Using JDBC connection URL:
jdbc:mysql://localhost:3306/rollerdb?createDatabaseIfNotExist=true
    * -- Using JDBC username: suman
    * -- Using JDBC password: [hidden]
    * ERROR: cannot load JDBC driver class [com.mysql.jdbc.Driver]. Likely
problem: JDBC driver jar missing from server classpath.

#############################################

I tried to login into mysql from command prompt, then things are working as
expected? can you please help in finding the problem.


Thanks,
Suman

-- 
View this message in context: http://old.nabble.com/apache-roller-installation-is-failing-with-database-error-tp28738663s12275p28738663.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: apache roller installation is failing with database error

Posted by Dave <sn...@gmail.com>.
Have you investigated the error message that you received?

   "ERROR: cannot load JDBC driver class [com.mysql.jdbc.Driver]. Likely
   problem: JDBC driver jar missing from server classpath."

You need to get the MySQL JDBC driver jar and figure out where to put
it to get it on the Geronimo classpath.

- Dave



On Tue, Jun 1, 2010 at 3:46 AM, sravuri <ra...@gmail.com> wrote:
>
> HI,
>    I am trying to install apache roller on my machine. I am using geronimo
> server. I am running with database problem. I am getting the following
> error.
>
> ##############################################
>
> Cannot connect to database
> What happened?
>
> A database error occurred, probably because your database connection is
> misconfigured. You will have to fix this problem and then restart or
> redeploy Roller before you can proceed. Here's what happened when Roller
> tried to establish a connection:
>
>    * SUCCESS: Got parameters. Using configuration type JDBC_PROPERTIES
>    * -- Using JDBC driver class: com.mysql.jdbc.Driver
>    * -- Using JDBC connection URL:
> jdbc:mysql://localhost:3306/rollerdb?createDatabaseIfNotExist=true
>    * -- Using JDBC username: suman
>    * -- Using JDBC password: [hidden]
>    * ERROR: cannot load JDBC driver class [com.mysql.jdbc.Driver]. Likely
> problem: JDBC driver jar missing from server classpath.
>
> #############################################
>
> I tried to login into mysql from command prompt, then things are working as
> expected? can you please help in finding the problem.
>
>
> Thanks,
> Suman
>
> --
> View this message in context: http://old.nabble.com/apache-roller-installation-is-failing-with-database-error-tp28738663s12275p28738663.html
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>