Hi Garvice,
Does James work well with default embedded derby before you tried to
configure mysql?
If the last line is 'Waiting to Lock the Store
../var/store/activemq/brokers/james' and it wait forever, it seems
activemq is blocked for whatever reason... One non orthodox way to solve
this is to simply remove the var/store/activemq/brokers/james and to
restart.
Btw, you can simply add the jar in the lib folder without changing the
setenv.sh
Thx,
Eric
On 25/10/11 00:21, Garvice Eakins wrote:
OK not sure where I am going wrong or even if I did this right.
added this line to setenv.sh
*CLASSPATH_PREFIX=/etc/james3/conf/lib/mysql-connector-java-3.1.14-bin.jar*
*export CLASSPATH_PREFIX*
and I added these lines to database.properties
*database.driverClassName=com.mysql.jdbc.Driver*
*database.url=jdbc:mysql://localhost/james*
*database.username=root*
*database.password=<database user password>*
*vendorAdapter.database=MYSQL*
*openjpa.streaming=false*
*
*
Then I tried running run.sh and got the following
*high5software@ubuntu:/etc/james3/bin$ sudo bash run.sh*
*INFO 14:50:16,516 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@403ef810:
startup date [Mon Oct 24 14:50:16 PDT 2011]; root of context hierarchy*
*log4j:WARN No appenders could be found for logger
(org.apache.commons.configuration.ConfigurationUtils).*
*log4j:WARN Please initialize the log4j system properly.*
*log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.*
*INFO 14:50:23,543 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Bean 'logprovider' of type [class
org.apache.james.container.spring.lifecycle.LogProviderImpl] is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)*
*INFO 14:50:25,331 | james.mailrepositorystore | JamesMailStore init...*
*INFO 14:50:25,337 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.FileMailRepository to
handle file protocol requests for repositories with key file*
*INFO 14:50:25,350 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to
handle db protocol requests for repositories with key db*
*INFO 14:50:25,350 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to
handle dbfile protocol requests for repositories with key dbfile*
*INFO 14:50:25,351 | james.mailrepositorystore | Registering Repository
instance of class org.apache.james.mailrepository.file.MBoxMailRepository to
handle mbox protocol requests for repositories with key mbox*
*WARN 14:50:25,484 | org.apache.activemq.store.amq.AMQPersistenceAdapter |
Waiting to Lock the Store ../var/store/activemq/brokers/james*
*
*
it stayed on this message for about 45 min and I finally stopped it with a
CTRL+C command
what am I doing wrong?
--
Eric
http://about.echarles.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]