Here is the list of things Karaf knows about, if that helps:

karaf@root()> list -t 0
START LEVEL 100 , List Threshold: 0
 ID | State    | Lvl | Version                | Name
-------------------------------------------------------------------------------------------------------------------
  0 | Active   |   0 | 5.4.0                  | System Bundle
  1 | Active   |   8 | 1.8.5                  | OPS4J Pax Logging - API
  2 | Active   |   8 | 1.8.5                  | OPS4J Pax Logging - Service
3 | Active | 10 | 1.8.8 | Apache Felix Configuration Admin Service
  4 | Active   |  11 | 3.5.4                  | Apache Felix File Install
5 | Active | 5 | 1.1.2 | Apache Felix Metatype Service 6 | Active | 5 | 4.0.7 | Apache Karaf :: OSGi Services :: EventAdmin
  7 | Active   |   5 | 2.4.7                  | OPS4J Pax Url - aether:
8 | Active | 30 | 4.0.7 | Apache Karaf :: Features :: Core
  9 | Active   |  30 | 2.14.2                 | JLine
 10 | Active   |  20 | 1.0.1                  | Apache Aries Blueprint API
 11 | Active   |  20 | 1.0.8                  | Apache Aries Blueprint CM
12 | Active | 20 | 1.6.2 | Apache Aries Blueprint Core, Fragments: 13 13 | Resolved | 20 | 1.0.0 | Apache Aries Blueprint Core Compatiblity Fragment Bundle, Hosts: 12
 14 | Active   |  30 | 1.1.5                  | Apache Aries JMX API
15 | Active | 30 | 1.1.5 | Apache Aries JMX Blueprint API 16 | Active | 30 | 1.1.5 | Apache Aries JMX Blueprint Core
 17 | Active   |  30 | 1.1.6                  | Apache Aries JMX Core
18 | Active | 30 | 1.1.5 | Apache Aries Whiteboard support for JMX DynamicMBean services
 19 | Active   |  20 | 1.0.1                  | Apache Aries Proxy API
 20 | Active   |  20 | 1.0.5                  | Apache Aries Proxy Service
 21 | Active   |  20 | 1.1.1                  | Apache Aries Util
22 | Active | 30 | 4.0.7 | Apache Karaf :: Bundle :: BlueprintStateService 23 | Active | 30 | 4.0.7 | Apache Karaf :: Bundle :: Core 24 | Active | 30 | 4.0.7 | Apache Karaf :: ConfigAdmin :: Core 25 | Active | 24 | 4.0.7 | Apache Karaf :: Deployer :: Blueprint 26 | Active | 26 | 4.0.7 | Apache Karaf :: Deployer :: Features 27 | Active | 24 | 4.0.7 | Apache Karaf :: Deployer :: Karaf Archive (.kar) 28 | Active | 24 | 4.0.7 | Apache Karaf :: Deployer :: Wrap Non OSGi Jar 29 | Active | 30 | 4.0.7 | Apache Karaf :: Diagnostic :: Core 30 | Active | 30 | 4.0.7 | Apache Karaf :: Features :: Command 31 | Active | 30 | 4.0.7 | Apache Karaf :: Instance :: Core 32 | Active | 30 | 4.0.7 | Apache Karaf :: JAAS :: Blueprint :: Config 33 | Active | 30 | 4.0.7 | Apache Karaf :: JAAS :: Command 34 | Active | 30 | 4.0.7 | Apache Karaf :: JAAS :: Config 35 | Active | 30 | 4.0.7 | Apache Karaf :: JAAS :: Modules
 36 | Active   |  30 | 4.0.7                  | Apache Karaf :: KAR :: Core
 37 | Active   |  30 | 4.0.7                  | Apache Karaf :: Log :: Core
 38 | Active   |  30 | 4.0.7                  | Apache Karaf :: Management
39 | Active | 30 | 4.0.7 | Apache Karaf :: Package :: Core 40 | Active | 30 | 4.0.7 | Apache Karaf :: Service :: Core 41 | Active | 30 | 4.0.7 | Apache Karaf :: Shell :: Various Commands 42 | Resolved | 30 | 4.0.7 | Apache Karaf :: Shell :: Console, Hosts: 43 43 | Active | 30 | 4.0.7 | Apache Karaf :: Shell :: Core, Fragments: 42 44 | Active | 30 | 4.0.7 | Apache Karaf :: Shell :: SSH 45 | Active | 30 | 4.0.7 | Apache Karaf :: Shell :: Table 46 | Active | 30 | 4.0.7 | Apache Karaf :: System :: Core 47 | Active | 30 | 0.3.11.1 | Apache ServiceMix :: Bundles :: not-yet-commons-ssl
 48 | Active   |  30 | 0.14.0                 | Apache Mina SSHD :: Core
 49 | Active   |  30 | 0.2.1                  | JLEdit :: Core
50 | Active | 20 | 5.0.4 | ASM all classes with debug info
 51 | Active   |   5 | 2.4.7                  | OPS4J Pax Url - wrap:
52 | Active | 30 | 2.0.6 | Apache Felix Declarative Services 53 | Active | 30 | 1.0.4 | Apache Felix Declarative Services Compatibility Extension 54 | Active | 30 | 4.0.7 | Apache Karaf :: SCR :: Shell Commands 55 | Active | 30 | 4.0.7 | Apache Karaf :: SCR :: Management MBeans
 56 | Active   |  80 | 3.2.0.201605172008     | biz.aQute.remote.agent
872 | Active   |  80 | 1.0.1                  | Apache Felix Log Service
873 | Active | 80 | 1.0.0.201611181055 | com.telensa.apps.planet.pc.provider 874 | Active | 80 | 1.0.0.201611181057 | com.telensa.apps.planet.ws.application
876 | Active   |  80 | 3.2.0                  | Apache Felix Http Jetty
877 | Active   |  80 | 1.1.2                  | Apache Felix Servlet API
878 | Active | 80 | 2.0.2 | Apache Felix Declarative Services
879 | Active   |  80 | 9.3.8.v20160314        | Jetty :: Utilities
880 | Active | 80 | 9.3.8.v20160314 | Jetty :: Utilities :: Ajax(JSON) 881 | Active | 80 | 2.0.0.201610141744 | osgi.enroute.executor.simple.provider 882 | Active | 80 | 2.0.0.201610141744 | osgi.enroute.logger.simple.provider 883 | Active | 80 | 2.0.0.201610141745 | osgi.enroute.web.simple.provider
884 | Active   |  80 | 1.3.100.v20150410-1453 | Coordinator
885 | Active | 80 | 2.0.0.201610141744 | osgi.enroute.configurer.simple.provider 887 | Active | 80 | 1.5.100.v20140428-1446 | Supplemental Equinox Functionality
888 | Active   |  80 | 1.4.8                  | Apache Felix EventAdmin

The two with com.telensa.* are my code.

On 18/11/2016 15:58, Tim Ward wrote:
On 18/11/2016 15:49, Achim Nierbeck wrote:
In combination with the thread on the bnd-tools or osgi-dev I've been under the impression that you already tried to
tweak on certain configurational aspects.

Yes, I have been trying for some time to get at various aspects of Jetty configuration, and on making no progress at osgi-dev I was finally told "oh, if you're using Karaf that's out of scope for this list, try the Karaf list".

Therefore I tried to suggest to start with a vanilla instance so we can proceed from there.

Sorry, I still don't know what you mean by "vanilla instance".

I downloaded and installed Karaf.

I wrote a couple of servlets using bndtools.

I am now trying to debug them using the instructions in http://enroute.osgi.org/appnotes/bndtools-and-karaf.html.

If I leave out any of the above I've no longer got anything I can run to test whether or not I've managed to switch on Jetty request logging.

For instance this time it's your first statement about which bundles you actually did install yourself. As I'm not capable of reading mind I have no clue what so ever you have been trying before and which bundles have been installed.

As per http://enroute.osgi.org/appnotes/bndtools-and-karaf.html plus the stuff I've written myself.

regards, Achim


2016-11-18 16:43 GMT+01:00 Tim Ward <[email protected] <mailto:[email protected]>>:

    On 18/11/2016 15:41, Achim Nierbeck wrote:

        I'm not sure which thread I just responded before.
        But best to start with a fresh Vanilla Karaf first.


    What do you mean by that? - as far as I know I have downloaded
    and installed Karaf, then installed a couple of tiny bundles of
    my own so that I've got a servlet to run. How could it be much
    more "vanilla" than that?


        I fear with all those tryings of you to somehow configure the
        server, it's not possible to
        help via mailinglist ...

        regards, Achim

--
    Tim Ward




--

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master



--
Tim Ward


--
Tim Ward

Reply via email to