Problem when starting camel-cxf in karaf

2011-02-02 Thread Christian Schneider
Hi all, I am trying to run Apache Camel (feature camel-cxf) in Apache Karaf. I am using a fresh Karaf 2.1.3 download. I start karaf and enter: >features:addurl mvn:org.apache.camel.karaf/apache-camel/2.6.0/xml/features >features:install camel-cxf I get an exception while starting org.apache.ser

Re: Problem when starting camel-cxf in karaf

2011-02-02 Thread Jean-Baptiste Onofré
Hi Christian, The problem is that the com.sun.org.apache.xerces should be provided by the JDK. If you take a look on the etc/config.properties, you will see that: 1/ com.sun.* is in the framework boot delegation 2/ the etc/jre.properties doesn't provide the com.sun.* package What you can try i

AW: Problem when starting camel-cxf in karaf

2011-02-02 Thread Christian Schneider
I think I was able to solve the problem. I had to change the jre.properties to exclude some packages from the system bundle export. The jre.properties from the Talend Service Factory seem to work: http://de.talend.com/products-application-integration/talend-service-factory-community-edition.php

Re: Patch - Aggregator EIP

2011-02-02 Thread Claus Ibsen
Hi Thanks for reporting. The link you found is for MR 1.5 (eg Camel 1.x). And that code is correct. The documentation for MR 2.x is having a minor issue, so I have created a ticket http://fusesource.com/issues/browse/MR-412 On Mon, Jan 31, 2011 at 6:59 PM, Hossein wrote: > > Hi, > Wanted to su

Re: AW: Problem when starting camel-cxf in karaf

2011-02-02 Thread Jean-Baptiste Onofré
Yeah, you can take a look on the ServiceMix one too :) Regards JB On 02/02/2011 10:26 AM, Christian Schneider wrote: I think I was able to solve the problem. I had to change the jre.properties to exclude some packages from the system bundle export. The jre.properties from the Talend Service Fa

AW: AW: Problem when starting camel-cxf in karaf

2011-02-02 Thread Christian Schneider
Are these adapted jre.properties only usefull for Servicemix and the Talend Service Factory or do you think it would make sense to change them in the karaf distribution. Best regards Christian -Ursprüngliche Nachricht- Von: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Gesendet: M

Re: AW: AW: Problem when starting camel-cxf in karaf

2011-02-02 Thread Jean-Baptiste Onofré
Claus already raised a Jira about that. Guillaume wasn't very ok to set the jre.properties by default. On the other hand, I launched a discussion thread about Karaf profiles. It's typically the kind of tuning which is part of a profiles. Waiting for the profiles design, we can provide a Karaf

Re: Memory leak in camel mail component

2011-02-02 Thread Sri
Hello, I have found the problem is with the RecipientList.The MailEndpoint instances are growing when I use this. it is working fine and no leak when I use with out recipient list . I have attached the sample test case file that used for. By the way I am usng smtp server for my mail test. R

Sftp component - host not set exception

2011-02-02 Thread watcher
I'm trying to consume a file from SFTP server that is triggered from a jms route. I've dont this successfully via ftp but it is complaining of missing host parameter when I try consuming from sftp. Here's my code. from("activemq:queue:sftpArchive").process(new Processor() { public void p

Camel startup

2011-02-02 Thread bdusauso
(Sorry if this message is a duplicate but it seems it wasn't sent properly last time, so I post it using Nabble instead of email). Hi, I have a standalone application that uses Spring and Camel. As suggested in the Camel in Action book, I do this in order to launch the application and make it la

Re: Camel startup

2011-02-02 Thread Claus Ibsen
You should use the run method instead of start. On Wed, Feb 2, 2011 at 3:13 PM, bdusauso wrote: > > (Sorry if this message is a duplicate but it seems it wasn't sent properly > last time, so I post it using Nabble instead of email). > > Hi, > > I have a standalone application that uses Spring an

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
Hello Sri! I will have a look later this day. If it's a bug, I will rais a JIRA for it. Cheers, Christian

Re: Memory leak in camel mail component

2011-02-02 Thread Claus Ibsen
So when you use the recipient list EIP is that because you use different mail endpoints every time? eg you dont have many duplicate endpoint uris? If uri is unique then Camel have to create a new endpoint every time and thus it will eat up memory. On Mon, Jan 31, 2011 at 5:47 PM, Sri wrote: >

Access File outside Jar package file

2011-02-02 Thread v.de...@gmail.com
Hello I created my routes, packaged it in jar file and installed it as Windows Service However in my code I am trying to send a mail but it does not work when my file is on an external disk (w:/ in my case) If file is on my drive it's ok! Do you know why? File f = new File("W:\\schedule.xls")

Re: Access File outside Jar package file

2011-02-02 Thread bfischer
I guess windows service aren't allowed to access shared or mapped drives. In windows service manager you can change the user, e.g. to your local one, the services is running with - maybe it helps. Greetings Bernd - Bernd Fischer GK Software AG bfisc...@gk-software.com -- View this message i

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
I think Sri means the recipient headers we have in camel-mail [1], right? [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java Christian

Rider Beta

2011-02-02 Thread Mark
Am I missing something, I thought Rider was billed as being 100% Web based - so how come the first beta release comes as a plugin for Eclipse ? It's still great to see a new IDE for camel Regards Mark

Camel webconsole in Karaf

2011-02-02 Thread Bengt Rodehav
I mostly use Karaf to deploy Camel routes. I also use Karaf's webconsole quite a lot since it's a useful management tool. Karaf has an api for extending the webconsole with "plugins" for different purposes. E g there is an iPOJO plugin that letes you monitor/manage iPOJO components via the webconso

Re: Memory leak in camel mail component

2011-02-02 Thread Christian Müller
Claus is right. I made a little test which shows that the number of endpoints grows until we reach 1000 cached endpoints... {code} import javax.mail.internet.AddressException; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; import org.jvnet.mock_javamail.Mailbox; pub

Re: Rider Beta

2011-02-02 Thread Rob Davies
It turns out that most folks wanted something in an IDE. The web based version is developed, but QA stopped to get the Eclipse version out. The web based version will still get released - just later in the year cheers, Rob Rob Davies follow me: http://twitter.com/rajdavies I work here: http:/

Re: General Camel WS client concern

2011-02-02 Thread mferris
Willem (or other gurus), Can you show me an example with the attached Eclipse project using a Camel route? I want to call an external web service (I think this WS will suffice for my understanding) and I'm struggling to make my endpoint a camel producer for moving significant data into and out of

After publish (OutOnly): Reply received for unknown correlationID

2011-02-02 Thread enalposi
Hi. We are sending a 'heart beat' on a JMS topic with am OutOnly publisher. This results in local log WARNs for related messages. Are we configuring this incorrectly or how can we avoid these problems? Many thanks. / m The route is defined/initialized as from(from).setExchangeP