Re: JmsComponent issue with spring's JmsTransactionManager is used

2009-01-27 Thread Guillaume Nodet
Actually, I've hit another problem with DMLC when using XA transactions. It happens that the session exposed is not the one that is enlisted in the transaction :-( ANyway, for you problem, have you tried using CACHE_NONE and a pooled connection factory ? On Wed, Jan 28, 2009 at 01:06, chrajanirao

Re: JmsComponent issue with spring's JmsTransactionManager is used

2009-01-27 Thread chrajanirao
May be we shoud use CACHE_NONE when using JmsTransactionManager so that it creates a new connection/session/consumer for every message? That's bad! -- View this message in context: http://www.nabble.com/JmsComponent-issue-with-spring%27s-JmsTransactionManager-is-used-tp21697364s22882p21698182.ht

JmsComponent issue with spring's JmsTransactionManager is used

2009-01-27 Thread chrajanirao
Hi, It seems to me that Spring's DMLC implementation has a flaw/bug when JmsTransactionManager and CACHE_SESSION is used. It seems, spring is creating a session upfront once as we have cache session and a new session for every message in JmsTransactionManager. The cached session is being used fo

Re: How to expose a CXF WebService as an Endpoint with DSL ?

2009-01-27 Thread Guillaume Renault
Hi Willem, Thx for your answers, both you and Claus. I didn't have much time to test, but i managed to make it works perfectly. I'm now investigating on how to deal with the answers ... I'd like to point an issue then, according to the fact that i'm in an OSGi environment. As said before, i'

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Willem Jiang
No , the code can't be fromatted automatically during maven build processs of Camel project. But you can get some help from Eclipse ;) The camel-checkstyle.xml in the buildingtools , just for running the check style plugin for maven. Willem On Tue, Jan 27, 2009 at 8:49 PM, cmoulliard wrote: >

Re: cxf spring configuration (camel 1.5.0)

2009-01-27 Thread Willem Jiang
Hi William Thanks for clean up the mass that I made. Happy Chinese new year to you and your famaly :) Willem On Tue, Jan 27, 2009 at 12:12 PM, William Tam wrote: > Willem, nevermind. It's been fixed. > > On Sun, Jan 25, 2009 at 11:53 PM, William Tam > wrote: > > Hi Willem, > > Some cxf tes

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Ramon Buckland
I didn't thanks Willem. Hopefully this is the issue. I'll revisit it and "do the needful" on the issue / wiki. ta. On Wed, Jan 28, 2009 at 02:04, Willem Jiang wrote: > Hi , > > Did you run mvn install before running the mvn -Psetup.eclipse ? > Here are some instruction from CXF that you may ta

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Willem Jiang
Hi , Did you run mvn install before running the mvn -Psetup.eclipse ? Here are some instruction from CXF that you may take a look ;) [1] http://cwiki.apache.org/CXF/setting-up-eclipse.html Willem On Tue, Jan 27, 2009 at 10:11 PM, Ramon Buckland wrote: > Charles, (and others) > > I was just tr

Re: Websphere 6.1 Deployment Problem

2009-01-27 Thread Claus Ibsen
Hi You can use FUSE releases of Camel, Camel Enterprise http://fusesource.com/products/enterprise-camel/ The maven repo is at: http://repo.fusesource.com/maven2/ And just change the version to: 1.5.3.0-fuse To get a stable release of the 1.5.1-SNAPSHOT. A 1.5.4.0 release is to be released this

Re: Websphere 6.1 Deployment Problem

2009-01-27 Thread Carlo Camerino
Hi, actually i tried getting 1.5.1-SNAPSHOT from the internet and it worked already. i was able to deploy it on websphere. version 1.5.0 didn't work so i guess i'll wait for 1.5.1 to be properly released so that i can use spring 2.5.6 thanks carlo On Tue, Jan 27, 2009 at 2:05 PM, Claus Ibsen w

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Ramon Buckland
Charles, (and others) I was just trying to get it working but I did not have much success with trunk. I logged an issue, https://issues.apache.org/activemq/browse/CAMEL-1298 << workaround >> However, what I noticed was that, the Profile first sets up your workspace. When it starts running throu

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Gert Vanthienen
L.S., We could also configure the Maven Eclipse plugin to generate per-project code formatting rules while doing mvn eclipse:eclipse. The only drawback is that it overwrites the .settings/org.eclipse.jdt.core.prefs in the process, so we also have to specify the compiler compliance level ours

Re: Problem when deploying part 5 of Tutorial-Example-ReportIncident on Tomcat

2009-01-27 Thread Claus Ibsen
Hi Willem Jiang is the CXF export and he is celebrating chinese new year at the moment. Thanks for the hints about adding the cxf imports to the -config file. Can you hit the URL for the webservice, and see what happens http://localhost:2/part-five/webservices/incident It could be just the

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Jon Anstey
Spot on Ramon. You can also tell Maven where your Eclipse workspace actually is like so mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace On Tue, Jan 27, 2009 at 9:28 AM, Ramon Buckland wrote: > cc'd to dev@ > > Thanks Charles, I have/had the same question. > > Once it is in e

Re: Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread Ramon Buckland
cc'd to dev@ Thanks Charles, I have/had the same question. Once it is in email I'll volunteer to push that to the wiki. I know already that line width is set at 140 (thanks Claus). In Eclipse I am using Sun standard formatting with change of 140 line width. It seems, by inspecting the uber po

Re: Problem when deploying part 5 of Tutorial-Example-ReportIncident on Tomcat

2009-01-27 Thread cmoulliard
Hi, Can you provide the tomcat stack trace error generated when the web service has been called please ? Charles O. Baujard wrote: > > Hi, > > I'm currently playing with the Tutorial-Example-ReportIncident. I have a > problem when I try to deploy the war generated by maven on Tomcat. I > mana

Procedure to format AND checkstyle in Eclipse according to Camel rules ?

2009-01-27 Thread cmoulliard
Hi, I would like to know the procedure to follow in order to format code to be published to camel project in Eclipse ? Idem but to check style ? Is the code formatted automatically during maven build process of Camel project ? Remarks : - ActiveMQCodeFormatter.xml file exists under the folder

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-27 Thread Ramon Buckland
> Question: should we add this "feature in" ? I have answered this question myself unless others object. I will add in this "method" for username:password configuration. The reason is is that finally I am sinking my teeth into the commons-vfs and part of CAMEL-1241, and commons-vfs standard conf

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-27 Thread Ramon Buckland
I created a quick test (added a test method to camel-ftp/..UriConfigurationTest. As it turns out, the URI object passed to the RemoteConfiguration does not distinguish a seperate username / password. Currently the username is in uri.getUserInfo(). When you supply ftp://username:password@ you see u

Re: SFTP. HostKey verification error

2009-01-27 Thread Ramon Buckland
A rejection of a known_host under *nix ssh'ing is due to the "host key" of the remote server (where you are connecting to) differing to the one you have stored locally (thus a known host). Under ssh, if the remote system obtains a different host key (such as the server is rebuilt, or another takes

Re: SFTP. HostKey verification error

2009-01-27 Thread Claus Ibsen
What does google say? Maybe the remote SFTP server does not accept your IP or something. There are some parameters to SFTP to set a known hosts file etc. http://camel.apache.org/ftp.html On Tue, Jan 27, 2009 at 11:16 AM, Andriy Kro wrote: > > Hi, > > I use such a configuration to poll our sftp

SFTP. HostKey verification error

2009-01-27 Thread Andriy Kro
Hi, I use such a configuration to poll our sftp-server: ftp://t...@192.168.1.10/var/test/in?password=test&binary=true&consumer.delay=1000"/> When I try to use it I got such error: [sftp://t...@192.168.1.10/var/test/in]: reject HostKey: 192.168.1.10 com.jcraft.jsch.JSchException: reject Host

Re: Camel Remote File Producer / Recipient List Password Issue

2009-01-27 Thread Ramon Buckland
> Ramon do you mind creating a unit test with that kind of URI so we can > have it supported? > Consider it done. >