Hi there, if activemq can not lock the directory its very likely that you have an other instance of james running.
Check if thats the case and if so stop it first. Bye, Norman 2011/10/25 Garvice Eakins <[email protected]>: > 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? > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
