Re: JBoss 5.1.0 & Camel 2.7.0 - SLF4J version difference?

2011-06-18 Thread Don Doffe
I have seen this too. Though I have tried so many things in the last few days I can not recall exactly what caused this. I have a feeling it might be something to do with the camel web console... Are you deploying one? -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-

Re: JBoss 5.1.0 & Camel 2.7.0 - SLF4J version difference?

2011-06-18 Thread Oscar Picasso
Hi, I, too, am trying to deploy on jboss-5.1.0. I created a 2.6.0 camel war project with the camel-archetype-war and added camel-jboss 2.6.0 in the pom.xml and in the applicationContext.xml. When starting jboss I get : org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected e

Re: NullPointerException on diplaying routes

2011-06-18 Thread Oscar Picasso
It works. Thank for your answers. They were very helpful. Oscar On Sat, Jun 18, 2011 at 10:16 AM, Claus Ibsen wrote: > On Sat, Jun 18, 2011 at 3:44 PM, Oscar Picasso > wrote: > > Just to be clear. The NullPointerException only appears when clicking in > the > > routes link. The endpoints etc.

Re: NullPointerException on diplaying routes

2011-06-18 Thread Claus Ibsen
On Sat, Jun 18, 2011 at 3:44 PM, Oscar Picasso wrote: > Just to be clear. The NullPointerException only appears when clicking in the > routes link. The endpoints etc. are visible. > Yeah that may be a known issue that has been fixed in 2.8.0 https://issues.apache.org/jira/browse/CAMEL-3797 As a

Re: NullPointerException on diplaying routes

2011-06-18 Thread Oscar Picasso
Just to be clear. The NullPointerException only appears when clicking in the routes link. The endpoints etc. are visible. On Sat, Jun 18, 2011 at 9:42 AM, Oscar Picasso wrote: > I did as you suggested and created a web console project > with camel-archetype-webconsole version 2.7.2. > > I can now

Re: NullPointerException on diplaying routes

2011-06-18 Thread Oscar Picasso
I did as you suggested and created a web console project with camel-archetype-webconsole version 2.7.2. I can now browse the web console but I still have the same NullPointerException I mentioned on my first post. On Sat, Jun 18, 2011 at 9:26 AM, Claus Ibsen wrote: > Hi > > Look at the Camel do

Re: NullPointerException on diplaying routes

2011-06-18 Thread Claus Ibsen
Hi Look at the Camel documentation http://camel.apache.org/camel-maven-archetypes.html The archetypes has been slightly renamed. If you want the web console, you need to use camel-archetype-webconsole Instead of typing all the long maven command line. I usually just type mvn archetype:generate

Re: NullPointerException on diplaying routes

2011-06-18 Thread Oscar Picasso
I tried to update the camel version in the pom.xml generated from the war archetype (camel-archetype-*war 2.5.0)* in the previous post, but on jetty startup I got a javax/jms/JMSException Then I tried to create a new war project with: mvn archetype:create -DarchetypeGroupId=org.apache.camel.archet

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-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 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: NullPointerException on diplaying routes

2011-06-18 Thread Claus Ibsen
Hi Try to update your Camel version. On Sat, Jun 18, 2011 at 1:48 PM, Oscar Picasso wrote: > Hi, > > I created a basic war / camel project with the maven archetype (see command > used below). I started the camel webapp with jetty:run on port 8081. > It started with no errors. I can go to the we

NullPointerException on diplaying routes

2011-06-18 Thread Oscar Picasso
Hi, I created a basic war / camel project with the maven archetype (see command used below). I started the camel webapp with jetty:run on port 8081. It started with no errors. I can go to the web console and see the endpoints, can send message to the endpoints. However, when I try to display the

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 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

File permissions on created files and directories - running as webapp under tomcat6 on Ubuntu

2011-06-18 Thread Magnus Palmér
Hi, Trying here, I've been spending several hours trying to get the filepermissions created by the file component working as I want, and reading a large amount of forum posts and articless It is running as a webapp in tomcat with user tomcat6 on my Ubuntu. The files are created with rw-r--r-- perm

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 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
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 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
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 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 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 2.7.0 - SLF4J version difference?

2011-06-18 Thread Claus Ibsen
I think you either have to stick with Camel 2.6 or get JBoss to provide a version that supports SLF4j 1.6.x On Sat, Jun 18, 2011 at 3:39 AM, Don Doffe wrote: > Yes, Maven. > > The issue is that camel is compiled expecting SLF4J api v 1.6.1. > The one provided with JBoss is 1.5.8. > > So when Came

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 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