Hello Christian,
You can check the karaf logs on why isn't your bundle installing / starting.
Regards,
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-when-executing-install-s-mvn-com-packt-sample-tp5763885p5763896.html
Sent from the Camel - Users mailing
Hello
The TrapReceiveTest test case from camel-snmp component passes with 2.14.1
and fails with 2.15-SNAPSHOT. Are there any additional requirements using
the trap receiver? I am sending the stack trace below.
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:
I am not sure under which circumstance the automatic detection of the
LATEST version works but just add the actual version and you are fine.
Christian
On 10.03.2015 13:38, Christian Eugster wrote:
The example is from Apache Karaf Cookbook. I didn't change anything and
installed it in local
The example is from Apache Karaf Cookbook. I didn't change anything and
installed it in local maven repository without any problems.
Christian
Christian Eugster
Docuteam GmbH
Langacker 16
Postfach
CH-5405 Baden-Dättwil
+41 (0)56 470 03 37
c.eugs...@docuteam.ch
Am 10.03.2015 um 13:32
Hi Yogesh,
thank you for responding. The log says, but I don't see what is wrong and I
don't understand what No highest version found for com.packt:sample:jar:(0.0,]
means.
2015-03-10 13:30:19,280 | ERROR | l for user karaf | ShellUtil
| 25 -
Hi all,
I have a memory leak issue when I stop all my routes, I am still able to see
my processor in the memory snapshot :
public class ErrorHandlerProcessor implements org.apache.camel.Processor {
private Logger logger = Logger.getLogger(getClass());
@Override
public void
You probably forgot the version in the mvn: uri
Christian
On 10.03.2015 08:45, Christian Eugster wrote:
Hi,
I want to explore camel in karaf and for that I want install the sample bundle
provided by Apache Karaf Cookbook (Chapter 2, Recipe 2), I ran mvn:install and
found the installed
Hello Christian!
Looks like you did miss the version of the bundle installing.
Try following readme @ chapter2-recipe2/sample
https://github.com/jgoodyear/ApacheKarafCookbook/tree/master/chapter2/chapter2-recipe2/sample
Regards,
-Yogesh
--
View this message in context:
Hi,
I'm just trying to load my web.xml into context from my Junit class. But the
issue is , the test file only recogonizes the web.xml only is its in the
same folder as the class.
i.e InputStream is = this.getClass().getResourceAsStream(web.xml);
I would like to have this web.xml in
The Camel community announces the immediate availability of the new major
release Camel 2.15.0. This release contains a total of 500+ fixes applied in
the past 6 months by the community on the Camel master branch.
The artifacts are published and ready for you to download[1] either from the
The Camel community announces the immediate availability of the new patch
release Camel 2.14.2. This release contains a total of 101 fixes applied in the
past 3 months by the community on the Camel master branch.
The artifacts are published and ready for you to download[1] either from the
My local maven repository is at ~/.m2e. Maybe I have to configure this location
in karaf? Or reconfigure it in maven?
Christian
Christian Eugster
Docuteam GmbH
Langacker 16
Postfach
CH-5405 Baden-Dättwil
+41 (0)56 470 03 37
c.eugs...@docuteam.ch
Am 10.03.2015 um 17:54 schrieb Christian
Hi All,
I fixed the issue.
Basically, when errorHandler(deadLetterChannel(seda:error)) is global to a
route, some mbeanserver.NamedObject is retaining a reference to the
processor.
I used instead
@Override
public void configure() throws Exception {
from(seda:error)
Can you try some of the examples from my site and see if you hit the
same problems?
I wonder if the problem is specific to the packt example or general.
http://liquid-reality.de/display/liquid/Karaf+Tutorials
https://github.com/cschneider/Karaf-Tutorial
Christian
On 10.03.2015 18:20,
Hi Christian,
I tried tasklist/pom.xml and got the following stacktrace while mvn install:
2015-03-10 19:04:16,193 | WARN | FelixStartLevel | AetherBasedResolver
| 44 - org.ops4j.pax.url.mvn - 1.6.0 | Error resolving
Maybe your maven repository is not at the default location.
Karaf will then not use it and so at runtime you do not find the class.
Christian
On 10.03.2015 17:26, Christian Eugster wrote:
HI Christian,
sorry to bother you. I did like the book describes: I did first an mvn:install
from
bundle:install should work. But you need to first build the example locally.
Christian
On 10.03.2015 16:39, Christian Eugster wrote:
Hi Yogesh + Christian,
that does not work neither: osgi:install is not known bei karaf (3.0.3). And
bundle:install -s mvn:com.packt/sample/1.0.0-SNAPSHOT does
And the alternative would be using this?
But then I still get an error.. I'm using the same version for all my
dependencies and so on
dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-spring/artifactId
version${camel-version}/version
/dependency
plugin
HI Christian,
sorry to bother you. I did like the book describes: I did first an mvn:install
from eclipse (with success). After that I did the bundle:install -s
mvn:com.packt/sample in different variations (with and without version). Does
not work. Don't know, what I am missing.
Regards
You can configure it in etc/org.ops4j.pax.url.mvn.cfg but using the
default will save you from many problems.
Christian
On 10.03.2015 17:58, Christian Eugster wrote:
My local maven repository is at ~/.m2e. Maybe I have to configure this location
in karaf? Or reconfigure it in maven?
Check the version in your pom.xml i hope it matches your install mvn
parameter
Regards,
-Yogesh
On Tuesday, March 10, 2015, Christian Eugster-2 [via Camel]
ml-node+s465427n576394...@n5.nabble.com wrote:
HI Christian,
sorry to bother you. I did like the book describes: I did first an
The Camel community announces the immediate availability of the new patch
release Camel 2.13.4. This release contains a total of 81 fixes applied in the
past 3 months by the community on the Camel master branch.
The artifacts are published and ready for you to download[1] either from the
Hi Yogesh + Christian,
that does not work neither: osgi:install is not known bei karaf (3.0.3). And
bundle:install -s mvn:com.packt/sample/1.0.0-SNAPSHOT does not work neither.
Any idea?
Thanks!
Regards Christian
Christian Eugster
Docuteam GmbH
Langacker 16
Postfach
CH-5405 Baden-Dättwil
See this FAQ
http://camel.apache.org/how-do-i-use-a-big-uber-jar.html
On Tue, Mar 10, 2015 at 4:53 PM, blommish johan.blomgre...@gmail.com wrote:
Hi,
I want to package my project as a JAR file with all dependencies.
* Or should I actually solve it in another way? We haven't decided how it
Hi,
I want to package my project as a JAR file with all dependencies.
* Or should I actually solve it in another way? We haven't decided how it
should be hosted yet
* Anyhow, I use maven-shade-plugin to package my project.
1. Get loads of warnings: [WARNING] We have a duplicate
2. Any
Hi Christian,
I just verified if there is an issue with the sample, which isn't.
Did you follow the instructions in the book, also did you make sure the
Karaf is in a Vanilla state?
For recipe2 of chapter2 to work you need to have camel installed:
feature:repo-add
Hi Majid,
you wrote that you stop all routes, have you tried to stop the CamelContext
instead? According to [1] stopping and restarting the whole CamelContext it is
performing a ‘cold’ start. That’s what I would try next.
Regards,
harald
[1] http://camel.apache.org/lifecycle.html
Hi Harald,
Yes, I can but I am using the same camel context for other tasks, I stop
these routes and restart them when need and keep others.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950p5763957.html
Sent from the Camel - Users
Hello,
You can always check the camel website. (http://camel.apache.org)
But in your case you should need this:
http://camel.apache.org/http.html
On 9/03/2015 19:18, divakar109 wrote:
Hi guys, I am extremely new to Camel, I need to configure an HTTPS endpoint
in camel so that I could consume
Hi,
I want to explore camel in karaf and for that I want install the sample bundle
provided by Apache Karaf Cookbook (Chapter 2, Recipe 2), I ran mvn:install and
found the installed bundle in ~/m2e repository. But when I try install -s
mvn:com.packt/sample from within karaf, I get an Error
Hmm .. you are stopping the route (shutdown) while processing a big XML file. A
stopRoute is not like a kill (doesn’t exist - afair). Looking into the
DefaultShutdownStrategy documentation might be of help. Do you see any warnings
about the route shutdown within the logs?
We have a number of routes:
from(HTTP POST).to(JMS)
from(JMS).to(SOAP Endpoint).to(JMS)
from(JMS).to(MongoDB)
from(MongoDB).to(JMS)
Hugely simplified and these are across various JAR services. Are
transactions actually useful in the above?
Actually understanding the behaviour of code routes is
32 matches
Mail list logo