james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raju Bitter <r.bitter.mailingli...@googlemail.com>
Subject 3.0 M1 with MySQL
Date Wed, 03 Nov 2010 15:02:31 GMT
Hi all,

I'm using 3.0 M1 with MySQL as my database. I can launch James - just
see this warning:
46  James  WARN   [main] openjpa.Runtime - An error occurred while
registering a ClassTransformer with PersistenceUnitInfo: name 'James',
root URL [file:/opt/james-3.0-M1/conf/]. The error has been consumed.
To see it, set your openjpa.Runtime log level to TRACE. Load-time
class transformation will not be available.


Everything seems to work fine. I can connect to the admin console
through telnet, but as soon as I start adding users, execute
"countusers" - probably anything accessing the database - the admin
console doesn't show me any output and doesn't execute any commands.

The jame-server log file shows these entries:
INFO  15:52:04,914 | james.remotemanager | Login for root successful
users org.apache.james.user.jpa.JPAUsersRepository@1bb60ad
29564  James  INFO   [New I/O server worker #4-1] openjpa.Runtime -
Starting OpenJPA 2.0.1
29664  James  INFO   [New I/O server worker #4-1] openjpa.jdbc.JDBC -
Using dictionary class "org.apache.openjpa.jdbc.sql.MySQLDictionary".


I'm using the following database properties:
# Use derby as default
database.driverClassName=com.mysql.jdbc.Driver
database.url=jdbc:mysql://localhost/james
database.username=jamesuser
database.password=*********

CLASSPATH_PREFIX
# Add every needed extra jar to this
CLASSPATH_PREFIX=../lib/mysql-connector-java-5.1.13-bin.jar

Software versions:
Ubuntu 8.04

mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486)

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)

When I use the default Derby database, everything works fine.

What should I do next? Thanks,

Raju

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message