Hey !
I have a problem with karaf (packaged in fuse esb version 6.1.0) I am in a
camel / spring / maven / jboss fuse / karaf environnement
I have a bundle which use log4j like this :
[...]
import org.apache.log4j.*;
[...]
Logger classlogger = Logger.getLogger(LoggerWrapper);
In
Hi
When I deploy a cxf WS then I get the following WARNING. The webservice
works correctly but I don't know what the warning means or how I can
avoid it.
Any ideas?
Regards Laci
2014-06-25 13:26:03,932 | WARN | xtenderThread-14 |
MBeanContainer |
I have exclude log4j dependancy in my maven project and insert
org.ops4j.pax.logging reference.
dependency
groupIdorg.ops4j.pax.logging/groupId
artifactIdpax-logging-api/artifactId
version1.7.2/version
I have try to find a workaround with log4J, but nothing works, any idea ?
--
View this message in context:
http://karaf.922171.n3.nabble.com/NoClassDefFoundError-org-apache-log4j-Layout-tp4033773p4033778.html
Sent from the Karaf - User mailing list archive at Nabble.com.
So you are trying to build a custom Logger, is that right?
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at
com.ericsson.mediation.core.bean.CoreLogger.log(CoreLogger.java:90)[265:
MEDIATION-SI800-Core:1.0.0]
If so you'll need to add this Logger by adding it to
Hi,
Pax Logging provides log4j 1.2.15.
I bet that you use log4j 1.2.17.
So, your project should use the 1.2.15 log4j dependency and Import-Package.
Regards
JB
On 06/25/2014 02:12 PM, loky wrote:
I have exclude log4j dependancy in my maven project and insert
org.ops4j.pax.logging reference.
http://karaf.apache.org/manual/latest/users-guide/log.html
latest section: Custom appenders.
Regards
JB
On 06/25/2014 03:57 PM, Achim Nierbeck wrote:
So you are trying to build a custom Logger, is that right?
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout
Does the book provide a tutorial on multi-node setup for active/active and
failover support in a simple Karaf/Cellar cluster? Can I get an EAP digital
or paper copy?
Also, in terms of a simple test for a cross topology, is it best to install
two Karaf instances/nodes on separate machines or on
Thanks jbonofre and Achim for helping me :)
jbonofre wrote
latest section: Custom appenders.
jbonofre Pax Logging provides log4j 1.2.15.
Indeed ! I have plugged it with the 1.2.15 but I still have the problem.
I have checked the latest section of
So I installed our customized version of Karaf 3.0.1 on Win7 VM and Mac
Mavericks host (on same machine).
Win7 VM:
admin@NextGate () cluster:node-list
| Id | Host Name | Port
-
x | 127.0.0.1:5701 | 127.0.0.1 | 5701
Mac host:
admin@NextGate ()
Hi,
the Win VM and Mac Host are supposed to be in the same cluster ?
If so, the network multicast doesn't work and so Cellar can't discover
the nodes.
To fix that, you can switch to static IP addresses definition.
On each node, you modify etc/hazelcast.xml, and you add the IP addresses
where
I have tried to it with an OSGi Service but I don't know how to add the
service in the project. Do you have an advice ?
With this example I have the OSGiDmHelloworldProvider and
OSGiDmHelloworldConsumer : (
http://baptiste-wicht.com/posts/2010/07/osgi-hello-world-services.html
Mac host karaf.log:
20140625 10:16:39.475 [INFO ] FelixStartLevel | 109:com.hazelcast |
com.hazelcast.config.XmlConfigBuilder | Using configuration file at
/private/var/nextgate/current/ngs_install_v1.0.0-SNAPSHOT_20140623_rev12406/ngs/etc/hazelcast.xml
20140625 10:16:39.476 [INFO
Hi,
in this tutorial, Christian explains how to use CXF to exposed
WebService in Karaf, not OSGI services.
Basically, an OSGi service is simply an interface.
You register the impl in the service registry using this interface.
For instance, in one bundle (the provider bundle), you have an
Did you see my latest e-mail on the thread ?
Regards
JB
On 06/25/2014 07:19 PM, asookazian2 wrote:
Mac host karaf.log:
20140625 10:16:39.475 [INFO ] FelixStartLevel | 109:com.hazelcast |
com.hazelcast.config.XmlConfigBuilder | Using configuration file at
/private/var/nextgate/current
Win VM karaf.log:
20140625 10:22:13.553 [INFO ] FelixStartLevel | 107:com.hazelcast |
com.hazelcast.config.XmlConfigBuilder | Using configuration file at
C:\sw\ngs\ngs_install_v1.0.0-SNAPSHOT_20140624_rev12409\ngs\etc\hazelcast.xml
20140625 10:22:13.553 [INFO ] FelixStartLevel | 107:com.hazelcast
Hi Christian,
I said that to you because I want to check how can i use your tutorial,my
question was how to add new default users , I have found the answer of the
question , i just need to change from package
net.lr.tutorial.karaf.cxf.personservice.impl; that:
public PersonServiceImpl() {
:
20140625 13:00:55.909 [ERROR] pool-13-thread-6 |
115:org.apache.karaf.cellar.bundle |
org.apache.karaf.cellar.bundle.BundleEventHandler | CELLAR BUNDLE: failed to
install bundle [com.mysql.jdbc, 5.1.29]/org.osgi.framework.BundleException:
Unable to cache bundle:
file:\c:\downloads\mysql-connector
20140625 13:39:12.300 [ERROR] pool-13-thread-37 |
112:org.apache.karaf.cellar.features |
org.apache.karaf.cellar.features.RepositoryEventHandler | CELLAR FEATURES:
failed to add/remove repository URL
mvn:com.nextgate/ngs-features/1.0.0-SNAPSHOT/xml/features
java.lang.NullPointerException
When/how does the .cfg file sync work? I just edited and saved
org.ops4j.pax.url.mvn.cfg and did not see the update occur in the other node
same file. Do you need to restart karaf to take effect?
--
View this message in context:
and it installed successfully but
not on the Mac host:
20140625 13:00:55.909 [ERROR] pool-13-thread-6 |
115:org.apache.karaf.cellar.bundle |
org.apache.karaf.cellar.bundle.BundleEventHandler | CELLAR BUNDLE: failed to
install bundle [com.mysql.jdbc, 5.1.29]/org.osgi.framework.BundleException:
Unable
Take a look in the etc/org.apache.karaf.cellar.groups.cfg, we will see
the whitelist/backlist definition.
Regards
JB
On 06/26/2014 01:12 AM, asookazian2 wrote:
When/how does the .cfg file sync work? I just edited and saved
org.ops4j.pax.url.mvn.cfg and did not see the update occur in the
Hi,
With these codes running in the karaf 3.0.1:
import java.lang.management.ManagementFactory;
import javax.management.MBeanServer;
import javax.management.ObjectName;
..
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
ObjectName name =
23 matches
Mail list logo