karaf

Discover karaf, include the articles, news, trends, analysis and practical advice about karaf on alibabacloud.com

Karaf relies on Equinox and Felix,karaf many of the Apache projects as the foundation framework

June 17 is Apache Karaf as Apache top project. Karaf is a run-time package that contains an OSGI framework (Equinox or Felix), a command shell (Felix Gogo), and a number of utilities built into it by default.Although Equinox and Felix can be used alone, the KARAF is designed to combine the excellent OSGI capabilities of both frameworks and ensure that they are ou

Apache Karaf User Guide

Apache Karaf User Guide One installation Karaf This chapter describes how to install Apache Karaf on the Windows and UNIX platforms, where you will know what software to install beforehand, how to download and install Karaf. Pre-installation Requirements hardware:-20M disk space remaining. Operating system: Windows:w

Customized Karaf development and debugging environment based on MAVEN high-speed construction

A customized KARAF development debugging environment based on MAVEN quick build purpose of this article The Apache Karaf Project provides developers and architects with a convenient foundation to run and deploy frameworks in the development of OSGi-based component framework applications. With Karaf's feature definition and KAR packaging, developers can freely define the grouping of OSGi bundles and custo

OSGi + camel + KARAF configuration log output

A simple example of Felix was compiled in the previous blog post, and then the example was started and the console output was activator after startup, but the entire example These bundles were not demonstrated during the boot process of the feature, and the process is demonstrated next.Configuration LogFirst, the output of the Karaf is log output, previously configured in the parent module Pom.xml the plug-in to specify the configuration file location

OSGI+CAMEL+KARAF Operating Environment Construction (1)

These days have been learning and deepening some of OSGi's things, and went to see the next Apache Felix several example, so decided to write some of Felix example, but not in the Felix official website to run, Instead of learning from a new OSGi operating environment, the KARAF is used as a running container for OSGi while integrating camel in, since there will be more use of OSGi in the future, so this is all integrated in.This article describes sev

Use bundle in Karaf to introduce the external log4j configuration file

: *Implementation-Vendor: "Apache Software Foundation"Implementation-Title: log4jImplementation-Version: 1.2.17 We can see that the log4j-1.2.17.jar is a bundle. Hot log4j deployment Start Karaf and copy the log4j-1.2.17.jar to the karaf_home/deploy directory Enter the LIST command to check that the bundle has been successfully installed. Mylog4j. Properties ### direct log messages to stdout ###log4j.appender.consoleout=org.apache.l

Opendaynight (KARAF) and mininet test OpenFlow

===================================================================================================1) Download the Karaf and unzipHttps://www.opendaylight.org/technical-community/getting-started-for-developers/downloads-and-documentation2) Set Java_home• At the end of the profile file, add:Export java_home=/usr/share/jdk1.6.0_14Export path= $JAVA _home/bin: $PATHExport classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jarNeed to sign in again

Apache Karaf Configuring Remote Debugging

Software Environmentapache-karaf-4.0.0Configuration method:In the Bin/karaf.bat file, the top addsSet Karaf_debug=trueAnd then. Restart KarafAfter startup. You can see, for example, the following outputkaraf.bat:Enabling Java Debug Options:-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005Listening for transport Dt_socket at address:5005Description, Debug mode is turned on. Port is: 5005Open Eclipse and go to Debug configurationsCreate

Karaf Practice Guide Kafka Install Karaf learn Kafka Help

Many of the company's products have in use Kafka for data processing, because of various reasons, not in the product useful to this fast, occasionally, their own to study, do a document to record:This article is a Kafka cluster on a machine, divided

Karaf Console Common Linux commands (2)

One to view a list of Onos-style annotation instances-bash codeScr:listActive represents an instance has been generated andregistered represents an instance not injected into the build A , view the component list, view component information, and

Opendaylight+mininet+wireshark Environment Construction

First, the basic environmentSecond, opendaylight installation1. Install the JDK first: http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk8-downloads-2133151-zhs.htmlSelect Install based on the type of Ubuntu OS CPU on the virtual machine.After installation, configure the environment variable:2, Installation Opendaylight: https://www.opendaylight.org/technical-community/getting-started-for-developers/downloads-and-documentationDownload the following version: Installation Example: $ l

ubuntu16.04 under the source installation onos1.0.2

Due to the need for work, download and install onos1.0.2 version, we look at the need to download and install a more advanced versionReference Link: http://www.sdnlab.com/14650.html1. System environmentUbuntu16.04 LTS 64bit:https://www.ubuntu.com/download/desktop (Desktop version)2. Installation dependent (the version selected here is based on the Onos version, and in the reference link above, the author mentions----" Instructions for the MAVEN and KARAF

Ubuntu System opendaylight Source compilation installation

, recompile compilation succeeded!4. The controller verifies the operation.The old version of the directory structure is "Controller/opendaylight/distribution", in the new version of the directory structure no longer exist "distribution" this subfolder, This is why many friends refer to the previous guide but cannot find the distribution subfolder to start the controller. Here should CD enter the "Controller/karaf/opendaylight-

Custom command in OSGi (2)

Custom command in OSGi (2) PreviousIn the previous blog post, we talked about what is the command in OSGi, and also wrote a simple command that implements org.apache.felix.gogo.commands.Action this interface and also implements the same functionality as theorg.apache.karaf.shell.console.OsgiCommandSupportThis abstract class, but in this program, these two interfaces or abstract classes are labeled @deprecated, it is not recommended to use, and the current recommended is a

# using a custom command in OSGi

org.apache.felix.gogo.commands.ActionIn its implementation of the method to write the program logic we need, we command to execute the content is here, in which to mention is not just can implement the action interface One, can also inherit the Osgicommandsupport class, the implementation method Doexecute, You can also achieve the same effect, where the Osgicommandsupport package name and class name are as follows:import org.apache.karaf.shell.console.OsgiCommandSupportIn fact, there is a kind

OSGi + Felix Example1 Writing

}version> scope>ProvidedScope> Dependency> -- dependency> groupId>Org.apache.camelgroupId> artifactid>Camel-test-blueprintartifactid> Dependency> dependencies> build> defaultgoal>Installdefaultgoal> plugins> plugin> groupId>Org.apache.felixgroupId> artifactid>Maven-bundle-pluginartifactid> configuration> instructions>

ActiveMQ5 Official Document Translation __J2EE

master-slave systemsSimply deploy your first servlet container to join the Apache-activemq.jar jar package so that it is included under the container path(as in the case of Tomcat Common/lib in Jetty's lib directory) these two options can be configured with proxies and JMS.* System Properties-----------------Specify the following system properties into the Web container:-dwebconsole.type=properties Property-dwebconsole.jms.url=URL of-dwebconsole.jmx.url=* JNDI java naming and directory interfac

Application of Servicelistener of OSGi

= Context.getservicereference (HelloService. CLASS); Get Service instance HelloService HelloService = (helloservice) context.getservice (ref); if (HelloService!= null) {//Invoke service method System.out.println (Helloservice.hello ("x Iaxuan ")); Release service Context.ungetservice (ref); } break; Case ServiceEvent.UNREGISTERING:System.out.println ("servicechanged Find service unregistered."); Break }

The application of OSGi Servicelistener

) {//Call service methodSystem.out.println (Helloservice.hello ("Xiaxuan"));//Release serviceContext.ungetservice (ref); } Break; CaseServiceEvent.UNREGISTERING:System.out.println ("servicechanged Find service unregistered."); Break; } }}After we implement Servicelistener in activator, we also need to add ourselves to the listener, in the Servicechanged method, when the service changes can be monitored in this method, which either register, logoff, Or changes can be made to listen to, now we

Linux Sync server+inotify 1 for multi-sync instances

compilation and installation is more than described, tar XF * * * CD * * * ./configure make make install-------------------Scenario Description:I am here 1 servers (rsync+inotify) to proactively push files to n machines (rsync daemon), and I have the same n machine configuration file configuration (call password Authentication file).-------------------Server-side configuration:mkdir/data/sync-servercd/data/sync-serveryum-yinstallinotify-toolsrsync# Then write the Inotify-tools script vimsync

Total Pages: 2 1 2 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.