Hi,
Looks like your bundle is in Active but the spring configuration is not loaded,
you have to install the spring/camel-spring feature using feature:install
command, before you install/deploy your bundle.
One problem I noticed is, the Karaff 4.2.0 includes the spring 5.x by default,
but
I think it's the normal behavior as by default karaf adds the system folder as
a repo (see the org.ops4j.pax.url.mvn.defaultRepositories property in the
etc/org.ops4j.pax.url.mvn.cfg), so the search order is system folder -> local
maven repo -> remote maven repo.
We also build karaf
Hi,
With karaf 4.1.x, the pax-logging impl is changed to pax-logging-log4j2, but
after that, we have wrong bundle.id, bundle.name in the logs in case of the log
is come from the embeded jar of the bundle.
We have a CommonLoggingBean inside the common jar.
{code}
package beans;
import
Hi, there,
After karaf 4.1.2, the spring-dm has been removed. but we had lots of spring
xml configuration which highly depends on org.springframework.* classes, they
are not easy to be transfered to "blueprint" based configuration. on the other
hand, the osgix:... (OSGi service/reference
Hi there,
Does anyone has experience/suggestions on how to replace the Spring jmx bean
with Blueprint?
{code}
*
*
* connector:name=rmi
*
*
*
service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxrmi
*
ct: Re: UnsupportedCharsetException: cp65001 and unprintable characters
from karaf 4.1.2 console
Hi Xilai,
thanks for the report. Let me try to reproduce on a VM.
Regards
JB
On 08/29/2017 08:46 AM, XiLai Dai wrote:
> Hi there,
>
>
> In case of Windows OS and the cp6500
Hi there,
In case of Windows OS and the cp65001 CodePage setting, there is
UnsupportedCharsetException: cp65001 happening and the console display really
not good many of the unprintable characters showing ...
2017-08-29 11:34:41,204 CM Configuration Updater (Update:
Hi, there
The cm property in OSGi service reference filter attribute doesn't works, e.g.
we have:
in the blueprint xml, but the ${db.datasource} can't be resolved as the actual
value provided by cm:property-placeholder.
Could someone karaf/aries expert give light if there is any
Hi, Oleg,
You could download the karaf 4.1.1 in the Maven centre
http://search.maven.org/remotecontent?filepath=org/apache/karaf/apache-karaf/4.1.1/apache-karaf-4.1.1.tar.gz,
until the offical release is available on karaf website.
Regards.
Xilai
From: Oleg
Hi, Oleg,
You could download the karaf 4.1.1 in the Maven centre
http://search.maven.org/remotecontent?filepath=org/apache/karaf/apache-karaf/4.1.1/apache-karaf-4.1.1.tar.gz,
until the offical release is available on karaf website.
Regards.
Xilai
From:
Xilai,
It's indeed a change to allow to support any kind of URI/URL.
However, we can re-introduce relative path support by checking prefix.
Can you create a Jira about that ?
Thanks,
Regards
JB
On 03/09/2017 06:36 AM, XiLai Dai wrote:
> Hi, there
>
>
> With karaf 4.0.x or even
Hi, there
With karaf 4.0.x or even previous versions,
karaf@root()>source myscripts/abc.source
it works well.
but in case of karaf 4.1.0, it doesn't work anymore
karaf@trun()> source scripts/abc.source
Error executing command: URI is not absolute
there are workarounds:
1) source
s.
Regards.
Xilai
________
From: XiLai Dai <xl...@talend.com>
Sent: Monday, February 27, 2017 4:55:31 PM
To: user@karaf.apache.org
Subject: Re: Fail to execute macro-command e.g. la by client with karaf 4.1.0
JB,
yes, exactly, it's only about aliases commands defined in
.g. la by client with karaf 4.1.0
Hi Xilai,
I guess that client.bat "bundle:list" works ?
I suspect something about the aliases.
Regards
JB
On 02/27/2017 08:50 AM, XiLai Dai wrote:
> Hi,
>
>
> On karaf 4.1.0, the macro-commands defined in the etc/shell.init.script
> failed to
Hi,
On karaf 4.1.0, the macro-commands defined in the etc/shell.init.script failed
to execute from client/client.bat.
For example even with the "la" command:
G:\download\apache-karaf-4.1.0\bin>client.bat -h localhost -u karaf "la"
Logging in as karaf
Password:
Command not found: la
Seems I found the problem in the client/client.bat, missing the jansi on the
CLASSPATH, after adding:
set
CLASSPATH=%CLASSPATH%;%KARAF_HOME%\system\org\fusesource\jansi\jansi\1.14\jansi-1.14.jar
then it works well as before.
From: XiLai Dai <xl...@talend.
Thanks JB, Chris,
With putty, the branding/prompt works well, but the seperator looks like:
{code}
START LEVEL 100 , List Threshold: 50
ID ▒▒ State▒▒ Lvl ▒▒ Version ▒▒ Name
▒▒▒▒▒
Hi, there
The client.bat is not working as expected in karaf 4.1.0 on Windows, especially
the branding and prompt
{code}
G:\download\apache-karaf-4.1.0\bin>client.bat -h localhost
Logging in as karaf
[36m__ __ [0m
[36m / //_/ __ _/ __/
Have you put the pax-logging-logback-1.8.3.jar into
system/org/ops4j/pax/logging/pax-logging-logback/1.8.3/ manually?
I did it and then start karaf and see Logback bundle is Active:
4 | Active | 8 | 1.8.3 | OPS4J Pax Logging - Logback Service
Regards.
Xilai
?
regards
JB
On 04/14/2015 11:44 AM, XiLai Dai wrote:
Hi,
The custom console commands we developed on karaf 2.x don't work
anymore on the karaf 4.0
The code used on 2.x:
import org.apache.felix.gogo.commands.Command;
import org.apache.karaf.features.command.FeaturesCommandSupport
(ConsoleSessionImpl.java:262)[50:org.apache.karaf.shell.core:4.0.0.SNAPSHOT]
at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
any idea/suggestion about this?
Thanks.
Xilai Dai
(karaf.etc), org.apache.karaf.shell.cfg));
String host = shellCfg.getProperty(sshHost, localhost);
int port = Integer.parseInt(shellCfg.getProperty(sshPort, 8101));
it looks like a bug from regression, maybe it’s better to create a jira.
Regards.
Xilai Dai
From: Michael Täschner
org.ops4j.pax.url.mvn.localRepository=file:${karaf.home}/${karaf.default.repository}@id=system.repository
(with this configure, karaf will look up the system/ at first, and then local
maven repo (.m2), then remote maven centre)
Regards.
Xilai Dai
-Original Message-
From: petertirrell [mailto:ptirr
.
Regards.
Xilai Dai
From: Freeman Fang [mailto:freeman.f...@gmail.com]
Sent: Thursday, June 26, 2014 5:33 PM
To: user@karaf.apache.org
Subject: Re: How to config jmx ACL for javax.management.MBeanServer
Hi,
How you run this code?
This error generally means you don't have correct credential
$MBeanInvocationHandler.invoke(KarafMBeanServerBuilde
r.java:63)
Any ideas?
Regards.
Xilai Dai
Hi,
Maybe you should use meaningful word to define the prefix, e.g ${proxy and
${local. And also there was a typo as I can find in your blueprint xml:
property name=httpPort value=${http.port) /
Regards.
From: Javier Delgadillo [mailto:jdelgadi...@esri.com]
Sent: Friday, June 06, 2014
Hi,
Have you tried to add cm:default-properties into cm:property-placeholder ?
for example,
cm:property-placeholder persistent-id=org.opennaas
update-strategy=reload
cm:default-properties
cm:property name=abc value=../
cm:property name=efg value=.../
Maybe adding repository of your nexus into the repositories of the pom.xml.
for example:
repository
idnexus repo/id
urlhttps://localhost:8080:/./url
nameNexus Repo/name
snapshots
enabledtrue/enabled
branch, but not on 2.2.x. Do you want this fix on 2.2.x
as well ?
Regards
JB
On 07/03/2013 03:44 AM, XiLai Dai wrote:
Hi,
Don't know if it's a known issue, the macro commands which defined in
the etc/shell.init.script executed fail from ssh client of 2.2.9.
D:\downloads\apache-karaf-2.2.9
JB
On 07/03/2013 09:13 AM, XiLai Dai wrote:
Thanks! JB,
Seems the latest release version for 2.2.x branch is 2.2.11. so if you
backport this fix to 2.2.x branch, then, we need to upgrade karaf to
2.2.12-snapshot, is right? And when the 2.2.12 is supposed to be released?
Thanks!
Xilai
Hi,
Don't know if it's a known issue, the macro commands which defined in the
etc/shell.init.script executed fail from ssh client of 2.2.9.
D:\downloads\apache-karaf-2.2.9\binclient.bat -a 8101 -h localhost -u karaf -p
karaf osgi:list
START LEVEL 100 , List Threshold: 50
ID State
Maybe using
groupIdorg.apache.karaf.tooling/groupId
artifactIdfeatures-maven-plugin/artifactId
And
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-resources-plugin/artifactId
Plugins in the pom of your project to create the
Hi,
May I have a quick question about auto refresh in case deploy a kar file into
deploy folder? There is an option (-r --no-auto-refresh) on features:install
command used to control whether auto refresh bundles. Is there also a way to
control this behavior with kar file deployment?
Thanks!
://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋
On 2013-1-21, at 下午3:04, XiLai Dai wrote:
Hi,
Given a blueprint xml likes this:
blueprint xmlns=http://www.osgi.org/xmlns/blueprint/v1.0.0;
xmlns:cm=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0;
cm:property
Hi,
Given a blueprint xml likes this:
blueprint xmlns=http://www.osgi.org/xmlns/blueprint/v1.0.0;
xmlns:cm=http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0;
cm:property-placeholder persistent-id=abc update-strategy=reload
cm:default-properties
Environment
the University of Virginia Library
On Oct 23, 2012, at 11:03 PM, XiLai Dai wrote:
Hi,
My question is not about the version of feature, there is only one feature of
version 1.0 (name='myfeature' version='1.0') defined in both two different
features xml which I provided
Hi,
In the blueprint xml of the bundle we have cm:property-placeholder and bean
configuration like this:
cm:property-placeholder persistent-id=x.y.z update-strategy=reload
cm:default-properties
cm:property name=myapp.home value=${karaf.home}/myapp /
Hello,
Got a problem about Packages Exported by Multiple Bundles. There are 2 bundles
exported org.apache.derby.jdbc package.
karaf@truninstall -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.derbynet/10.8.1.2_1
karaf@truninstall -s mvn:org.apache.derby/derbyclient/10.8.1.2
Packages Exported by Multiple Bundles
Hi,
You really shouldn't install multiple bundles with same package and same
version, otherwise you'll encounter the well-known split-package issue in OSGi
container.
Freeman
On 2012-4-5, at 下午4:39, XiLai Dai wrote:
Hello,
Got a problem about Packages Exported
Hi,
There is a osgi:reference definition in the spring configuration file of the
application. But got an exception when this
Bean got initiate:
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Un
able to locate Spring NamespaceHandler
would win by this approach.
Maybe you can describe how you're using Karaf (and what you modify in the
distribution for your setup) a little bin in more detail?
Kind regards,
Andreas
On 02/16/2012 08:39 AM, XiLai Dai wrote:
Hello,
Just a question from user/production point of view, what
Hello,
Just a question from user/production point of view, what is a better way to get
karaf container upgrade to a new version with all of the
features/bundles/config files existing in the old version karaf container? E.g.
from karaf 2.2.2 - karaf 2.2.5. it's really boring to redeploy these
be done before the
features install (else, it's assigned to the local node cluster group).
Anyway, your configuration is correct.
Regards
JB
On 02/14/2012 04:58 AM, XiLai Dai wrote:
Hi,
Just want to make some specific feature (eg. http) disabled sync between the
nodes.
For example, start two
Hi,
When I try to run cluster:node-ping command with Karaf + Cellar cluster env, it
always give a reply with about 10 seconds delay time if the target node is on
the other machine.
karaf@trun cluster:node-ping 192.168.2.104:5701
Pinging node 192.168.2.104:5701
PING 1 192.168.2.104:5701
of discover used (static, unicast/multicast) ?
If you do a system ping, what kind of latency do you have ?
I tried on my VM without problem.
Regards
JB
On 02/09/2012 10:52 AM, XiLai Dai wrote:
Hi,
When I try to run cluster:node-ping command with Karaf + Cellar cluster env,
it always give a reply
: Re: How to set up the remote debug with karaf in eclipse indigo
Hi,
How you enable karaf debug?
Did you
export KARAF_DEBUG=true
in the shell before you launch Karaf?
Freeman
On 2011-12-15, at 下午4:20, XiLai Dai wrote:
Hello,
Does anybody has the experience which setting up the debug environment
4:44, XiLai Dai wrote:
Hi, Freeman,
Run with bin\karaf.bat debug, and got:
TCP0.0.0.0:5005 0.0.0.0:0 LISTENING 3288
When execute netstat –ano
Thanks.
Xilai
From: Freeman Fang [mailto:freeman.f...@gmail.com]
Sent: Thursday, December 15, 2011 4:34 PM
To: user
set.
Freeman
On 2011-12-15, at 下午4:44, XiLai Dai wrote:
Hi, Freeman,
Run with bin\karaf.bat debug, and got:
TCP0.0.0.0:5005 0.0.0.0:0 LISTENING 3288
When execute netstat –ano
Thanks.
Xilai
From: Freeman Fang [mailto:freeman.f...@gmail.com]
Sent: Thursday
Finally, the error gone after I replaced the eik-0.5.2 with eik-0.5.3 manually.
Seems the eik plugin which installed from update site is not up-to-date.
Thanks Freeman, Lukasz!
Xilai
From: XiLai Dai [mailto:xl...@talend.com]
Sent: Thursday, December 15, 2011 5:32 PM
To: user@karaf.apache.org
49 matches
Mail list logo