Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 51774 invoked from network); 1 Dec 2008 01:44:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 01:44:35 -0000 Received: (qmail 8569 invoked by uid 500); 1 Dec 2008 01:44:39 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 8554 invoked by uid 500); 1 Dec 2008 01:44:39 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 8532 invoked by uid 99); 1 Dec 2008 01:44:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2008 17:44:39 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 01:43:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9393D234C2AA for ; Sun, 30 Nov 2008 17:44:05 -0800 (PST) Message-ID: <1556735303.1228095845603.JavaMail.jira@brutus> Date: Sun, 30 Nov 2008 17:44:05 -0800 (PST) From: "Ramon Buckland (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Issue Comment Edited: (SM-1700) unable to set connection URI on sender In-Reply-To: <727047794.1227300365422.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/SM-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47721#action_47721 ] rbuckland edited comment on SM-1700 at 11/30/08 5:42 PM: -------------------------------------------------------------- patch supplied to fix issue (see attachments above) To manually create your own 2008.01 replace (using this current 2008.02 version) 1. svn co http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-mail/trunk 2. mod pom.xml as follows Index: pom.xml =================================================================== --- pom.xml (revision 721938) +++ pom.xml (working copy) @@ -26,7 +26,7 @@ - 2008.02-SNAPSHOT + 2008.02 @@ -41,7 +41,7 @@ - 2008.02-SNAPSHOT + 2008.01 3. Now mvn clean install and copy the target/servicemix-mail-2008.02-installer.zip, replacing your 2008.01 version. (Not throroughly tested of course.) was (Author: rbuckland): patch supplied to fix issue To manually create your own 2008.01 replace (using this current 2008.02 version) 1. svn co http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-mail/trunk 2. mod pom.xml as follows Index: pom.xml =================================================================== --- pom.xml (revision 721938) +++ pom.xml (working copy) @@ -26,7 +26,7 @@ - 2008.02-SNAPSHOT + 2008.02 @@ -41,7 +41,7 @@ - 2008.02-SNAPSHOT + 2008.01 3. Now mvn clean install and copy the target/servicemix-mail-2008.02-installer.zip, replacing your 2008.01 version. (Not throroughly tested of course.) > unable to set connection URI on sender > -------------------------------------- > > Key: SM-1700 > URL: https://issues.apache.org/activemq/browse/SM-1700 > Project: ServiceMix > Issue Type: Bug > Components: servicemix-mail > Affects Versions: 3.3 > Environment: Linux 2.6.27 / JDK 6 > Reporter: Darren Davison > Assignee: Lars Heinemann > Fix For: servicemix-mail-2008.02 > > Attachments: servicemix-mail-diff.txt > > > Not sure whether the component is officially released yet, but I obtained it from the snapshot repo today to test it. I created the skeleton project from the archetype using: > mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-mail-service-unit -DarchetypeVersion=2008.01-SNAPSHOT -DartifactId=tutorial-mail-su -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository > I edited xbean.xml to look as follows for the sender endpoint (SMTP server needs no authorisation): > endpoint="sender" > sender="servicemix@example.com" > receiver="me@somewhere.else" > debugMode="false" > connection="smtp://mail.example.com" /> > When I try to deploy, I get the following within the error output: > Error creating bean with name 'org.apache.servicemix.mail.MailSenderEndpoint#0' defined in file [/opt/apache-servicemix-3.3/data/smx/service-assemblies/tutorial-sa/version_2/sus/servicemix-mail/tutorial-mail-su/xbean.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: > PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'connection' threw exception; nested exception is java.lang.NullPointerException -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.