[GitHub] karaf pull request: [KARAF-2395] Make karaf-maven-plugin usable wi...

2014-03-10 Thread grgrzybek
Github user grgrzybek closed the pull request at:

https://github.com/apache/karaf/pull/24


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Apache James in Karaf3

2014-03-10 Thread Dimitar Dimitrov

Hi again Jean.
No, in the Karaf log there are nothing related to exception.
All of the logs are in severity INFO, so it seems like a James is up and 
running, but there are no TCP ports on which it listens for incoming 
connections.
Now I will find bundle by bundle which is responsible to activate the 
services, and will try to produce a ConfigAdmin view related to every 
bundle.

Thank you for helping me on this problem.

BR
Dimitar

On 03/10/2014 12:38 PM, Jean-Baptiste Onofré wrote:

Hi Dimitar,

you don't have any exception or message from James ?

I like your idea about both support of James and implement some 
"backend" engine to ConfigAdmin using James.

Let me find the interfaces/services that you should implement.

Regards
JB

On 03/10/2014 11:24 AM, Dimitar Dimitrov wrote:

Hi team.
For several days I am trying to install and configure apache
James-3.0.0.beta5-SNAPSHOT to run into Apache Karaf (v3.0.0) but
unsuccessfully.
I tried with the last version of the Apache Karaf from the SVN
repository where I found the Apache James bundles and features file.
With little changes in the feature file I managed to install the core
James bundles. My features.xml includes the following artifacts:

bundle:install mvn:com.google.guava/guava/13.0.1
feature:install -v james-server-dnsservice-dnsjava
bundle:install
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_1 



feature:install -v james-server-protocols-smtp

bundle:install mvn:org.apache.httpcomponents/httpcore-osgi/4.3.2
bundle:install mvn:org.apache.httpcomponents/httpclient-osgi/4.3.2
feature:install -v james-server-mailets

after that I have compiled the following artifacts

apache-jsieve-core-0.6-SNAPSHOT.jar
apache-mime4j-core-0.8.0-SNAPSHOT.jar
apache-mime4j-dom-0.8.0-SNAPSHOT.jar

and put it manually in the deploy folder.

So now James bundles are up and running as expected without errors, but
there are not a processes listened on TCP/25 or TCP/143, no matter that
I am starting the Karaf with Root user.

176 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: Library
177 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: API
178 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Mailet API
180 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: Implementation
181 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Lifecycle API
202 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Common Utilities
203 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Mail Queue :: API
204 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Filesystem API
205 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Manager API
207 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Data  :: API
209 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Core
210 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Basic
Mailet Toolkit
212 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Protocols Library
213 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: API
214 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: Netty Implementation
216 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
SMTP
217 | Resolved |  80 | 1.6.3| Apache James :: Protocols
:: SMTP
232 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Mailets
234 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Data :: Library
235 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Mailet
236 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: Mailbox ::
API
247 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j 
:: DOM

248 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j ::
Core
249 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Core
269 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: IMAP
270 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
IMAP

Is there something that I'm missing? How I can configure James when it
is included in Karaf.
I cannot find Configuration Admin Service or blueprint config related to
James, so I suppose that the James configuration is in somewhere in the
bundles.
Could you give me some points from where I can start to develop my own
configration for theApache James in Karaf.
My idea is to develop Config Admin Service interface for the SMTP and
IMAP implementation of Apache James.

Thanks in advance.
Dimitar







Re: Apache James in Karaf3

2014-03-10 Thread Jean-Baptiste Onofré

Hi Dimitar,

you don't have any exception or message from James ?

I like your idea about both support of James and implement some 
"backend" engine to ConfigAdmin using James.

Let me find the interfaces/services that you should implement.

Regards
JB

On 03/10/2014 11:24 AM, Dimitar Dimitrov wrote:

Hi team.
For several days I am trying to install and configure apache
James-3.0.0.beta5-SNAPSHOT to run into Apache Karaf (v3.0.0) but
unsuccessfully.
I tried with the last version of the Apache Karaf from the SVN
repository where I found the Apache James bundles and features file.
With little changes in the feature file I managed to install the core
James bundles. My features.xml includes the following artifacts:

bundle:install mvn:com.google.guava/guava/13.0.1
feature:install -v james-server-dnsservice-dnsjava
bundle:install
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_1

feature:install -v james-server-protocols-smtp

bundle:install mvn:org.apache.httpcomponents/httpcore-osgi/4.3.2
bundle:install mvn:org.apache.httpcomponents/httpclient-osgi/4.3.2
feature:install -v james-server-mailets

after that I have compiled the following artifacts

apache-jsieve-core-0.6-SNAPSHOT.jar
apache-mime4j-core-0.8.0-SNAPSHOT.jar
apache-mime4j-dom-0.8.0-SNAPSHOT.jar

and put it manually in the deploy folder.

So now James bundles are up and running as expected without errors, but
there are not a processes listened on TCP/25 or TCP/143, no matter that
I am starting the Karaf with Root user.

176 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: Library
177 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: API
178 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Mailet API
180 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
DNS Service :: Implementation
181 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Lifecycle API
202 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Common Utilities
203 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Mail Queue :: API
204 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Filesystem API
205 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Manager API
207 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Data  :: API
209 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Core
210 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Basic
Mailet Toolkit
212 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Protocols Library
213 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: API
214 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: Netty Implementation
216 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
SMTP
217 | Resolved |  80 | 1.6.3| Apache James :: Protocols
:: SMTP
232 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Mailets
234 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
Data :: Library
235 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Mailet
236 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: Mailbox ::
API
247 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j :: DOM
248 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j ::
Core
249 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve ::
Core
269 | Active   |  80 | 1.6.3| Apache James :: Protocols
:: IMAP
270 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server ::
IMAP

Is there something that I'm missing? How I can configure James when it
is included in Karaf.
I cannot find Configuration Admin Service or blueprint config related to
James, so I suppose that the James configuration is in somewhere in the
bundles.
Could you give me some points from where I can start to develop my own
configration for theApache James in Karaf.
My idea is to develop Config Admin Service interface for the SMTP and
IMAP implementation of Apache James.

Thanks in advance.
Dimitar



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Apache James in Karaf3

2014-03-10 Thread Dimitar Dimitrov

Hi team.
For several days I am trying to install and configure apache 
James-3.0.0.beta5-SNAPSHOT to run into Apache Karaf (v3.0.0) but 
unsuccessfully.
I tried with the last version of the Apache Karaf from the SVN 
repository where I found the Apache James bundles and features file.
With little changes in the feature file I managed to install the core 
James bundles. My features.xml includes the following artifacts:


bundle:install mvn:com.google.guava/guava/13.0.1
feature:install -v james-server-dnsservice-dnsjava
bundle:install 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_1

feature:install -v james-server-protocols-smtp

bundle:install mvn:org.apache.httpcomponents/httpcore-osgi/4.3.2
bundle:install mvn:org.apache.httpcomponents/httpclient-osgi/4.3.2
feature:install -v james-server-mailets

after that I have compiled the following artifacts

apache-jsieve-core-0.6-SNAPSHOT.jar
apache-mime4j-core-0.8.0-SNAPSHOT.jar
apache-mime4j-dom-0.8.0-SNAPSHOT.jar

and put it manually in the deploy folder.

So now James bundles are up and running as expected without errors, but 
there are not a processes listened on TCP/25 or TCP/143, no matter that 
I am starting the Karaf with Root user.


176 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
DNS Service :: Library
177 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
DNS Service :: API

178 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Mailet API
180 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
DNS Service :: Implementation
181 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Lifecycle API
202 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Common Utilities
203 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Mail Queue :: API
204 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Filesystem API
205 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve :: 
Manager API
207 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Data  :: API
209 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Core
210 | Active   |  80 | 2.5.1.SNAPSHOT   | Apache James :: Basic 
Mailet Toolkit
212 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Protocols Library
213 | Active   |  80 | 1.6.3| Apache James :: Protocols 
:: API
214 | Active   |  80 | 1.6.3| Apache James :: Protocols 
:: Netty Implementation
216 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
SMTP
217 | Resolved |  80 | 1.6.3| Apache James :: Protocols 
:: SMTP
232 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Mailets
234 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: 
Data :: Library
235 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve :: 
Mailet
236 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: Mailbox :: 
API

247 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j :: DOM
248 | Active   |  80 | 0.8.0.SNAPSHOT   | Apache James :: Mime4j :: 
Core
249 | Active   |  80 | 0.6.0.SNAPSHOT   | Apache James :: jSieve :: 
Core
269 | Active   |  80 | 1.6.3| Apache James :: Protocols 
:: IMAP

270 | Active   |  80 | 3.0.0.beta5-SNAPSHOT | Apache James :: Server :: IMAP

Is there something that I'm missing? How I can configure James when it 
is included in Karaf.
I cannot find Configuration Admin Service or blueprint config related to 
James, so I suppose that the James configuration is in somewhere in the 
bundles.
Could you give me some points from where I can start to develop my own 
configration for theApache James in Karaf.
My idea is to develop Config Admin Service interface for the SMTP and 
IMAP implementation of Apache James.


Thanks in advance.
Dimitar


Issues with Attachments: week of 2014-03-10

2014-03-10 Thread jb
 
KARAF - Monday, March 10, 2014
 
  26 Issues with Attachments
 
  (sorted oldest to newest)
 
[KARAF-132] The user name for the main console session is always "karaf"
  (2010-07-21 - Bug - Guillaume Nodet)
  https://issues.apache.org/jira/browse/KARAF-132
 
[KARAF-222] Provide karaf:run, karaf:deploy, karaf:client Maven goals
  (2010-09-25 - New Feature - james strachan)
  https://issues.apache.org/jira/browse/KARAF-222
 
[KARAF-334] At startup, Karaf does not support urls like mvn:, obr:.
  (2010-12-20 - Improvement - Stephane Chomat)
  https://issues.apache.org/jira/browse/KARAF-334
 
[KARAF-639] Karaf Plug-in validate goal doesn't support various aspects of 
PAX MVN/URL
  (2011-05-13 - Bug - David Valeri)
  https://issues.apache.org/jira/browse/KARAF-639
 
[KARAF-666] Update site to scalate 1.5.0
  (2011-06-03 - Dependency upgrade - Jamie goodyear)
  https://issues.apache.org/jira/browse/KARAF-666
 
[KARAF-688] Ability to retrieve a available list of a specific maven 
artifact's versions via ( with given groupId and artifactId ) 
  (2011-06-26 - New Feature - Dan Tran)
  https://issues.apache.org/jira/browse/KARAF-688
 
[KARAF-1018] using auto-complete (TAB key) on commands that don't take 
Arguments/Options throws IndexOutOfBoundsException. 
  (2011-11-16 - Bug - Adam Lavie)
  https://issues.apache.org/jira/browse/KARAF-1018
 
[KARAF-1333] Support for M2E workspace resolution via reference: protocol
  (2012-04-06 - Improvement - Tuomas Kiviaho)
  https://issues.apache.org/jira/browse/KARAF-1333
 
[KARAF-1512] enhancement: add self to generated feature in 
"features-generate-descriptor" goal
  (2012-05-30 - New Feature - Benjamin Reed)
  https://issues.apache.org/jira/browse/KARAF-1512
 
[KARAF-1514] Improve feature file generation to be able to create features 
out of special feature poms
  (2012-05-31 - Improvement - Christian Schneider)
  https://issues.apache.org/jira/browse/KARAF-1514
 
[KARAF-1545] Jar files in lib directory require "karaf-" prefix in order to 
be loaded
  (2012-06-13 - Bug - James Carman)
  https://issues.apache.org/jira/browse/KARAF-1545
 
[KARAF-1560] config:update throws ClassCastException when used on a 
Configuration with boolean fields created in the web console
  (2012-06-18 - Bug - Hugh Rodgers)
  https://issues.apache.org/jira/browse/KARAF-1560
 
[KARAF-1972] karaf-maven-plugin should respect scope
  (2012-10-24 - Bug - Andrei Pozolotin)
  https://issues.apache.org/jira/browse/KARAF-1972
 
[KARAF-2100] Use HashCodeBuilder and EqualsBuilder in 
org.apache.karaf.eik.workbench
  (2013-01-07 - Task - filippo balicchia)
  https://issues.apache.org/jira/browse/KARAF-2100
 
[KARAF-2103] use internal api
  (2013-01-08 - Bug - Filippo Rossoni)
  https://issues.apache.org/jira/browse/KARAF-2103
 
[KARAF-2395] karaf:features-generate-descriptor fails with Maven 3.1.0 : No 
implementation for org.sonatype.aether.RepositorySystem was bound
  (2013-07-16 - Bug - Robert Munteanu)
  https://issues.apache.org/jira/browse/KARAF-2395
 
[KARAF-2420] blueprint deployer: redeploy untouched blueprint xml in deploy 
folder after restart
  (2013-07-30 - Bug - Uwe Barthel)
  https://issues.apache.org/jira/browse/KARAF-2420
 
[KARAF-2468] karaf-maven-plugin to support creation of partialbundlelists 
for sling launchpad
  (2013-09-11 - Improvement - Reto Bachmann-Gmür)
  https://issues.apache.org/jira/browse/KARAF-2468
 
[KARAF-2630] GenerateDescriptorMojo does not resolve conflicts
  (2013-12-17 - Bug - Maarten Winkels)
  https://issues.apache.org/jira/browse/KARAF-2630
 
[KARAF-2688] Karaf info - Add memory details about perm gen pool
  (2014-01-16 - Improvement - Claus Ibsen)
  https://issues.apache.org/jira/browse/KARAF-2688
 
[KARAF-2742] karaf-maven-plugin can not include filtered resources in a 
custom distribution
  (2014-01-29 - Bug - Partha Roy)
  https://issues.apache.org/jira/browse/KARAF-2742
 
[KARAF-2743] karaf-maven-plugin can not create custom Karaf with Apache 
Camel
  (2014-01-29 - Bug - Partha Roy)
  https://issues.apache.org/jira/browse/KARAF-2743
 
[KARAF-2792] shared cm-properties empty for second bundle
  (2014-02-25 - Bug - Alexey Markevich)
  https://issues.apache.org/jira/browse/KARAF-2792
 
[KARAF-2796] Update EIK manual
  (2014-02-26 - Task - filippo balicchia)
  https://issues.apache.org/jira/browse/KARAF-2796
 
[KARAF-2807] Unable to have multiple subshells in one bundle
  (2014-03-06 - Bug - Rebecca Chan)
  https://issues.apache.org/jira/browse/KARAF-2807
 
[KARAF-2812] Possible deadlock in tooling/exam/container at the end of itest
  (2014-03-06 - Bug - Grzegorz Grzybek)
  https://issues.apache.org/jira/browse/KARAF-2812