Hi all,

I am trying to implement a bundle with James and Bond and I am a little
stuck. So I am going to explain the situation just in case someone can give
me some guidance.

The Bond application is developed in GWT using Maven and currently has an
embedded Jetty. So that the pom.xml creates a war that can be deployed
directly.

I have seen that James uses Spring to create the ApplicationContext
injecting the necessary beans. So I believe that I have to make the
following changes in both applications:

- Bond: I have to modify the application so that it uses Spring and it
creates a jar instead of a war, similarly to this example [1].

- James:


* For Maven: I have to add the Bond module and dependency in james/pom.xml,
the dependency in james/app/pom.xml and the dependency
in james/container/spring/pom.xml


* For Spring: I have to import the bond-context.xml (the Bond Spring
configuration file)
into 
james/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml
and I might have to add a new BeanFactory in the package
org.apache.james.container.spring.bean.factory and in the file
james/container/spring/src/main/resources/META-INF/spring/loaders-context.xml,
if necessary.


Currently, when I add the next line to the spring-server.xml:

<import resource="classpath:META-INF/webapp/WEB-INF/bond-context.xml"/>


I obtain a BeanCreationException creating the
Bean org.apache.james.mailbox.MailboxManager in the wrapper.log. So
obviously I am missing something, but, since the log catches the Exception
in a completely different part of the code, I do not know how to continue.

Like I said, I am stuck. So I was wondering if any of you could help me, or
at least tell me if I am in the right track or there is a simpler way to
approach this.

Thank you in advance.


[1]
http://steveliles.github.io/setting_up_embedded_jetty_8_and_spring_mvc_with_maven.html



2014-04-29 12:36 GMT+02:00 Emma Sesmero <emmasesm...@gmail.com>:

> Thank you very much, Eric.
> I'll get right on it.
>
>
> 2014-04-29 5:53 GMT+02:00 Eric Charles <e...@apache.org>:
>
> Hi Emma,
>>
>> This is how it works.
>>
>> You will need also to look at the different spring files spread in the
>> other modules. These are responsible to inject the beans.
>>
>> Load the all the server module in your favorite IDE
>> http://james.apache.org/server/3/dev-build.html
>>
>> The modules are usually built upon a api/library/impl pattern.
>>
>> The unit tests are also a great place to start. Have a look for example
>> at the data-file: try to understand how the injection is made and run
>> the tests.
>>
>> You will also need to understand the difference between the mailbox
>> persistence and the mail repository (that's something we need to remove,
>> but we have to live with it for now)
>> http://james.apache.org/server/3/feature-persistence.html
>>
>> Hope this helps,
>>
>> Eric
>>
>>
>> On 04/25/2014 05:29 PM, Emma Sesmero wrote:
>> > Hi all,
>> >
>> > Currently I am studying how james is run, how it starts, to be able to
>> add
>> > Bond in the process, so it can start at the same time when it deploys.
>> >
>> > I have checked the class JamesAppSpringMain, that, if I am not
>> mistaken, is
>> > the start point, and seen the
>> > file META-INF/org/apache/james/spring-server.xml with the files imported
>> > for each server that start with james.
>> > I have seen that it uses the Spring framework, so I am working on
>> becoming
>> > familiar with it to be able to understand better how it works to be
>> able to
>> > modify it and add the Bond deployment to it.
>> >
>> > I was wondering if any of you has a better understanding of how this
>> works
>> > exactly and might be able to give me a hand.
>> >
>> > Thank you very much in advance.
>> > Kind regards.
>> >
>> > Emma
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>
>>
>
STATUS | wrapper  | 2014/06/17 20:55:42 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/06/17 20:55:42 | Launching a JVM...
INFO   | jvm 1    | 2014/06/17 20:55:43 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2014/06/17 20:55:43 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2014/06/17 20:55:43 | 
INFO   | jvm 1    | 2014/06/17 20:55:43 | INFO  20:55:43,415 | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@5015268b: startup date [Tue Jun 17 20:55:43 CEST 2014]; root of context hierarchy
INFO   | jvm 1    | 2014/06/17 20:55:45 | log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.ConfigurationUtils).
INFO   | jvm 1    | 2014/06/17 20:55:45 | log4j:WARN Please initialize the log4j system properly.
INFO   | jvm 1    | 2014/06/17 20:55:45 | log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,285 | 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   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,336 | james.mailrepositorystore | JamesMailStore init...
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,343 | james.mailrepositorystore | Registering Repository instance of class org.apache.james.mailrepository.file.FileMailRepository to handle file protocol requests for repositories with key file
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,343 | james.mailrepositorystore | Registering Repository instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle db protocol requests for repositories with key db
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,343 | james.mailrepositorystore | Registering Repository instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle dbfile protocol requests for repositories with key dbfile
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,344 | james.mailrepositorystore | Registering Repository instance of class org.apache.james.mailrepository.file.MBoxMailRepository to handle mbox protocol requests for repositories with key mbox
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,405 | james.dnsservice | Autodiscovery is enabled - trying to discover your system's DNS Servers
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,409 | james.dnsservice | Adding autodiscovered server 127.0.0.1
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,409 | james.dnsservice | Adding autodiscovered search path home.
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,410 | james.dnsservice | DNS Server is: 127.0.0.1
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,416 | james.dnsservice | Registered cache, resolver and search paths as DNSJava defaults
INFO   | jvm 1    | 2014/06/17 20:55:45 | 12  James  WARN   [WrapperSimpleAppMain] openjpa.Runtime - An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'James', root URL [file:/home/compile/james-server-app-3.0.0-beta5-SNAPSHOT/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.
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,660 | james.domainlist | Set autodetect to: true
INFO   | jvm 1    | 2014/06/17 20:55:45 | INFO  20:55:45,660 | james.domainlist | Set autodetectIP to: true
INFO   | jvm 1    | 2014/06/17 20:55:45 | 30  James  INFO   [WrapperSimpleAppMain] openjpa.Runtime - Starting OpenJPA 2.2.1
INFO   | jvm 1    | 2014/06/17 20:55:45 | 53  James  INFO   [WrapperSimpleAppMain] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary".
INFO   | jvm 1    | 2014/06/17 20:55:58 | WARN  20:55:58,781 | org.apache.activemq.broker.BrokerService | Store limit is 102400 mb, whilst the data directory: /home/compile/james-server-app-3.0.0-beta5-SNAPSHOT/bin/../var/store/activemq/brokers/james only has 1451 mb of usable space
INFO   | jvm 1    | 2014/06/17 20:55:58 | ERROR 20:55:58,782 | org.apache.activemq.broker.BrokerService | Temporary Store limit is 51200 mb, whilst the temporary data directory: /home/compile/james-server-app-3.0.0-beta5-SNAPSHOT/bin/../var/store/activemq/brokers/james/tmp_storage only has 1451 mb of usable space
INFO   | jvm 1    | 2014/06/17 20:55:59 | 13422  James  INFO   [WrapperSimpleAppMain] openjpa.Runtime - The Entity "org.apache.james.rrt.jpa.model.JPARecipientRewrite" was enhanced at level "2", but the current level of enhancement is "1,300,381". 
INFO   | jvm 1    | 2014/06/17 20:55:59 | 13423  James  INFO   [WrapperSimpleAppMain] openjpa.Runtime - A down level Entity was detected and logged. Please enable RUNTIME trace to see all down level Entities.
INFO   | jvm 1    | 2014/06/17 20:55:59 | WARN  20:55:59,548 | james.mailetcontext | The specified postmaster address ( postmaster@localhost ) is not a local address.  This is not necessarily a problem, but it does mean that emails addressed to the postmaster will be routed to another server.  For some configurations this may cause problems.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,692 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,702 | james.mailprocessor | Mailet PostmasterAlias instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,706 | james.mailprocessor | Matcher RelayLimit=30 instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,710 | james.mailprocessor | Mailet Null instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,713 | james.mailprocessor | Matcher SMTPAuthSuccessful instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,717 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,717 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:55:59 | INFO  20:55:59,718 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,150 | james.mailprocessor | Matcher SMTPAuthSuccessful instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,154 | james.mailprocessor | Mailet SetMimeHeader instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,158 | james.mailprocessor | Matcher RecipientIsLocal instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,162 | james.mailprocessor | Mailet RecipientToLowerCase instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,162 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,179 | james.mailprocessor | Mailet RecipientRewriteTable instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,180 | james.mailprocessor | Matcher RecipientIsLocal instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | org.apache.james.transport.mailets.LocalDelivery@3ee0e6d2
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,240 | james.mailprocessor | Mailet LocalDelivery instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,244 | james.mailprocessor | Matcher HostIsLocal instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,244 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,245 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,259 | james.mailetcontext | maxRetries is larger than total number of attempts specified.  Increasing last delayTime with 19 attempts 
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,260 | james.mailetcontext | Delay of 21600000 msecs is now attempted: 20 times
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,266 | james.mailprocessor | Mailet RemoteDelivery instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,875 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,890 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,890 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/error
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,891 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,891 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/error
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,891 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,891 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/error
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,892 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,892 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/error
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,892 | james.mailrepositorystore | added repository: file://var/mail/error/->org.apache.james.mailrepository.file.FileMailRepository
INFO   | jvm 1    | 2014/06/17 20:56:00 | INFO  20:56:00,892 | james.mailprocessor | Mailet ToRepository instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,951 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,953 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,953 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/spam
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,953 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,953 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/spam
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,953 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,954 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/spam
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,954 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,954 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/spam
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,954 | james.mailrepositorystore | added repository: file://var/mail/spam/->org.apache.james.mailrepository.file.FileMailRepository
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:00,954 | james.mailprocessor | Mailet ToRepository instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,013 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,014 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/address-error
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/address-error
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/address-error
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,015 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,016 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/address-error
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,016 | james.mailrepositorystore | added repository: file://var/mail/address-error/->org.apache.james.mailrepository.file.FileMailRepository
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,016 | james.mailprocessor | Mailet ToRepository instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,067 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,069 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,069 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/relay-denied
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,069 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,069 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/relay-denied
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentObjectRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/relay-denied
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailrepositorystore | Init org.apache.james.repository.file.FilePersistentStreamRepository Store
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailrepositorystore | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/relay-denied
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailrepositorystore | added repository: file://var/mail/relay-denied/->org.apache.james.mailrepository.file.FileMailRepository
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,070 | james.mailprocessor | Mailet ToRepository instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,123 | james.mailprocessor | Matcher All instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,142 | james.mailprocessor | Mailet DSNBounce instantiated.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,203 | james.mailspooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler init...
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,203 | james.mailspooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler uses 20 Thread(s)
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,205 | james.mailspooler | Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-1
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,206 | james.mailspooler | Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-2
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,206 | james.mailspooler | Queue=MailQueue:spool
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,206 | james.mailspooler | Queue=MailQueue:spool
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,224 | james.fetchmail | FetchMail Disabled
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,243 | james.smtpserver | SMTP Service bound to: 0.0.0.0:25
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | SMTP Service is running on: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | SMTP Service handler hello name is: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | SMTP Service handler connection timeout is: 360
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | SMTP Service connection backlog is: 200
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | This SMTP server requires authentication.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,244 | james.smtpserver | No maximum message size is enforced for this server.
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,395 | james.smtpserver | Init SMTP Service done
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,401 | james.lmtpserver | LMTP Service disabled by configuration
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,407 | james.pop3server | POP3 Service bound to: 0.0.0.0:110
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,407 | james.pop3server | POP3 Service is running on: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,407 | james.pop3server | POP3 Service handler hello name is: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,407 | james.pop3server | POP3 Service handler connection timeout is: 1200
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,407 | james.pop3server | POP3 Service connection backlog is: 200
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,459 | james.pop3server | Init POP3 Service done
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,622 | james.imapserver | IMAP Service bound to: 0.0.0.0:143
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,623 | james.imapserver | IMAP Service is running on: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,623 | james.imapserver | IMAP Service handler hello name is: emma-K55A
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,623 | james.imapserver | IMAP Service handler connection timeout is: 300
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,623 | james.imapserver | IMAP Service connection backlog is: 200
INFO   | jvm 1    | 2014/06/17 20:56:01 | INFO  20:56:01,628 | james.imapserver | Init IMAP Service done
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,160 | james.imapserver | Dispose IMAP Service
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,164 | james.imapserver | Dispose IMAP Service done
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,165 | james.pop3server | Dispose POP3 Service
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,167 | james.pop3server | Dispose POP3 Service done
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,168 | james.lmtpserver | Dispose LMTP Service
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,168 | james.lmtpserver | Dispose LMTP Service done
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,168 | james.smtpserver | Dispose SMTP Service
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,170 | james.smtpserver | Dispose SMTP Service done
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,171 | james.mailspooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler dispose...
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,171 | james.mailspooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler thread shutdown completed.
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,173 | james.mailspooler | Stop org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-2
INFO   | jvm 1    | 2014/06/17 20:56:02 | INFO  20:56:02,174 | james.mailspooler | Stop org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-1
INFO   | jvm 1    | 2014/06/17 20:56:03 | 
INFO   | jvm 1    | 2014/06/17 20:56:03 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exporter' defined in class path resource [META-INF/org/apache/james/spring-server.xml]: Cannot resolve reference to bean 'mailboxmanagermanagement' while setting bean property 'beans' with key [TypedStringValue: value [org.apache.james:type=component,name=mailboxmanagement], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailboxmanagermanagement': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.james.adapter.mailbox.MailboxManagerManagement.setMailboxManager(org.apache.james.mailbox.MailboxManager); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]
INFO   | jvm 1    | 2014/06/17 20:56:03 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exporter' defined in class path resource [META-INF/org/apache/james/spring-server.xml]: Cannot resolve reference to bean 'mailboxmanagermanagement' while setting bean property 'beans' with key [TypedStringValue: value [org.apache.james:type=component,name=mailboxmanagement], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailboxmanagermanagement': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.james.adapter.mailbox.MailboxManagerManagement.setMailboxManager(org.apache.james.mailbox.MailboxManager); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at java.lang.Thread.run(Thread.java:744)
INFO   | jvm 1    | 2014/06/17 20:56:03 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailboxmanagermanagement': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.james.adapter.mailbox.MailboxManagerManagement.setMailboxManager(org.apache.james.mailbox.MailboxManager); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	... 25 more
INFO   | jvm 1    | 2014/06/17 20:56:03 | Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.apache.james.adapter.mailbox.MailboxManagerManagement.setMailboxManager(org.apache.james.mailbox.MailboxManager); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	... 33 more
INFO   | jvm 1    | 2014/06/17 20:56:03 | Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.apache.james.mailbox.MailboxManager] is defined: expected single matching bean but found 3: [jpa-mailboxmanager, maildir-mailboxmanager, memory-mailboxManager]
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:828)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:735)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:551)
INFO   | jvm 1    | 2014/06/17 20:56:03 | 	... 35 more
STATUS | wrapper  | 2014/06/17 20:56:05 | <-- Wrapper Stopped
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to