JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-17 Thread Don Doffe
Hi, Just wanted to double check if anyone is actually running Camel in JBoss 5.1.0 using Spring DSL and servlet endpoints. I have an opportunity to introduce camel as an integration technology used in our corporation but I'm having troubles with the simplest scenario (albeit the real one). JBoss

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-17 Thread Taariq Levack
Hi I haven't used jboss in some time now and none of these components together yet. I just want to point out that getting slf4j to work in an app server that ships a different version of slf4j takes a little bit of fiddling. What works on glassfish is to exclude slf4j in maven and add the jars

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-17 Thread Don Doffe
Thank you for your prompt answer. I have seen the link and tried to implement this. I did not manage to fix it. Recompiling is out of question as it goes against some of the internal requirements I need to satisfy. -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-1-0

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-17 Thread Jean-Baptiste Onofré
Hi Don, Could you try the following: 1/ in your JBoss server directory (for instance server/default), go to deployers/jbossweb.deployer 2/ edit META-INF/war-deployers-jboss-beans.xml 3/ search for a bean named WarClassLoaderDeployer 4/ add org.slf4j in the filteredPackages property Regards JB

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Jean-Baptiste, Thank you for the suggestion. I have done that. Though I no longer get complaints about the version mismatch it fails with NoSuchFieldError: log Despite the fact that that I have following jar in the lib dir: log4j-1.2.16.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar The deta

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Jean-Baptiste Onofré
Hi Don, just to be sure, could you try with Camel 2.6.0 ? Could you provide the code (at least where you define the CamelContext and RouteBuilder) of your camel-prototype-1-0.1 ? I'm gonna make a try on my side (deploying a camel route into JBoss using war packaging). Regards JB On 06/18/2

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Richard Kettelerij
Hi Don, I'm running Camel in JBoss 5.1.0 with multiple servlet endpoints. Although not with the latest Camel release (we're currently on 2.2.0 but plan to upgrade) so I can't comment on the SLF4J issue. Please keep us posted on this issue though, once resolved we can add some documentation describ

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Richard Kettelerij
Correction: ContextLoaderServlet is removed in Spring 3.x, not Camel 3.x :) On Sat, Jun 18, 2011 at 11:05 AM, Richard Kettelerij < richardkettele...@gmail.com> wrote: > Hi Don, > > I'm running Camel in JBoss 5.1.0 with multiple servlet > endpoints. Although not with the latest Camel release (we'r

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Jean Baptiste, thank you very much for that, much obliged. Attaching the project. http://camel.465427.n5.nabble.com/file/n4501000/camel-prototype-1.zip camel-prototype-1.zip Don. -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-1-0-Camel-Spring-Servlet-endpoint-Anyone

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Jean-Baptiste, I have tried camel 2.6.0, but as Richard noted it depends on the Spring 3, hence the issue with the Servlet loading order. -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-1-0-Camel-Spring-Servlet-endpoint-Anyone-succeded-tp4500558p4501033.html Sent from

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Richard, thank you. I downgraded to camel 2.2.0/ spring 2.5.6 and prototype works now. I'll continue with it to see if I can implement what's required and introduce it internally. Would be nice though to get the latest and greatest at some point. -- View this message in context: http://camel.

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Claus Ibsen
On Sat, Jun 18, 2011 at 11:55 AM, Don Doffe wrote: > Richard, > > thank you. > > I downgraded to camel 2.2.0/ spring 2.5.6 and prototype works now. > > I'll continue with it to see if I can implement what's required and > introduce it internally. > > Would be nice though to get the latest and grea

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Claus, I'm not sure JBoss 6 is an option for us. Our project goes live before 6.0 confirmed as the commercially supported platform and for me to introduce a technology it got to have vendor support. That brings me to the next question - what would be the best way to obtain a quote on technical an

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Claus Ibsen
On Sat, Jun 18, 2011 at 12:14 PM, Don Doffe wrote: > Claus, > > I'm not sure JBoss 6 is an option for us. Our project goes live before 6.0 > confirmed as the commercially supported platform and for me to introduce a > technology it got to have vendor support. > Yeah I assume upgrading a major rel

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Claus Ibsen
On Sat, Jun 18, 2011 at 12:14 PM, Don Doffe wrote: > Claus, > > I'm not sure JBoss 6 is an option for us. Our project goes live before 6.0 > confirmed as the commercially supported platform and for me to introduce a > technology it got to have vendor support. > > That brings me to the next questio

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
Claus, I got it downloaded and deployed. It seems to present the same issue with the servlets - i.e. Spring Context being instantiated by a listener before the CamelServlet is available. Searching the database for the JIRA number. BTW, does Fuse 2.7 use slf4j ? -- View this message in context:

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Don Doffe
I believe the issue is https://issues.apache.org/jira/browse/CAMEL-3549 CAMEL-3549 -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-1-0-Camel-Spring-Servlet-endpoint-Anyone-succeded-tp4500558p4501295.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-18 Thread Claus Ibsen
On Sat, Jun 18, 2011 at 2:59 PM, Don Doffe wrote: > Claus, > > I got it downloaded and deployed. It seems to present the same issue with > the servlets - i.e. Spring Context being instantiated by a listener before > the CamelServlet is available. > > Searching the database for the JIRA number. > >

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-19 Thread Don Doffe
Thanks. I guess in my situation using Fuse distribution is more preferrable (enterprise affiliation is an important question for our management). Do you think you could find time to look if anything can be done about https://issues.apache.org/jira/browse/CAMEL-3549 CAMEL-3549 ? -- View this mes

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-19 Thread Claus Ibsen
On Mon, Jun 20, 2011 at 1:36 AM, Don Doffe wrote: > Thanks. > > I guess in my situation using Fuse distribution is more preferrable > (enterprise affiliation is an important question for our management). > > Do you think you could find time to look if anything can be done about > https://issues.ap

Re: JBoss 5.1.0, Camel, Spring, Servlet endpoint - Anyone succeded?

2011-06-20 Thread jazinner
When trying to use camel-jboss with camel-core 2.7.2, also got the error you described, [1]. I managed to resolve the issue by changing the camel-jboss source code, and dependencies in the pom. I changed this part of the pom.xml: org.apache.camel