Forum Home » Fuse Distributions » Fuse ESB

Thread: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)

 
This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Last Post: Aug 7, 2012 10:57 PM Last Post By: ffang
dm020954

Posts: 3
Registered: 08/02/12
Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 2, 2012 2:59 PM
 
  Click to reply to this thread Reply
Hello,

I am trying to get ServiceMix to log to a JMS queue. I have downloaded the logback-classic-0.9.29.jar and I have done the following:

1) Changed the startup.properties as follows (added logback line before pax log):

org/ops4j/pax/logging/logback-classic/0.9.29/logback-classic-0.9.29.jar=7

2) Put the jar file in that directory under the system directory of $KARAF_HOME.

3) Added the following to the Manifest.MF file:

Bundle-SymbolicName: ch.qos.logback.classic
Fragment-Host: org/ops4j/pax/logging/pax-logging-service

4) Changed the org.ops4j.pax.logging.cfg to look like this (at the top):

######
  1. Root logger
log4j.rootLogger=INFO, stdout, jms

    1. Be sure that ActiveMQ messages are not logged to 'jms' appender
log4j.logger.org.apache.activemq=INFO, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %-5p %c - %m%n

    1. Configure 'jms' appender. You'll also need jndi.properties file in order to make it work
log4j.appender.jms=ch.qos.logback.classic.net.JMSQueueAppender
log4j.appender.jms.initialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
log4j.appender.jms.providerUrl=tcp://localhost:6116
log4j.appender.jms.queueConnectionFactoryBindingName=QueueConnectionFactory
log4j.appender.jms.queueBindingName=queue/LSQ

After this, when I run >karaf_home/bin/karaf -client I get the following error:

root@localhost apache-servicemix-4.4.1-fuse-07-11# ./bin/karaf client
log4j:ERROR Could not instantiate class http://ch.qos.logback.classic.net.JMSQueueAppender.
java.lang.ClassNotFoundException: ch.qos.logback.classic.net.JMSQueueAppender not found by org.ops4j.pax.logging.pax-logging-service [3]
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:852)
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1846)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:326)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:123)
at org.apache.log4j.PaxLoggingConfigurator.parseAppender(PaxLoggingConfigurator.java:81)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
at org.apache.log4j.PaxLoggingConfigurator.doConfigure(PaxLoggingConfigurator.java:57)
at org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl.updated(PaxLoggingServiceImpl.java:209)
at org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl$1ManagedPaxLoggingService.updated(PaxLoggingServiceImpl.java:347)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1195)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105)
at java.lang.Thread.run(Thread.java:679)
log4j:ERROR Could not instantiate appender named "jms".

If anyone knows what I am missing, please let me know. I am up against a looming deadline, so timing is important.

Thanks

Dave Manley
dmanley@jdmconsulting.com
248.824.3921

ffang

Posts: 1,320
Registered: 12/24/07
Re: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 6, 2012 2:39 AM   in response to: dm020954 in response to: dm020954
 
  Click to reply to this thread Reply
Hi,

Seems pax-logging-service bundle can't load your appender fragment bundle, at least I can tell the Fragment-Host should be
org.ops4j.pax.logging.pax-logging-service

Take a look at [1] to get more details from related discussions.

Btw, the host-fragment bundle pair should be looks like
49 Active Created [ ] 60 activemq-core (5.5.1.fuse-07-11)
Fragments: 68
68 Resolved [ ] [ ] 60 activemq-blueprint (5.5.1.fuse-07-11)
Hosts: 49
Ensure your host-fragment goes this way

[1]http://fusesource.com/forums/thread.jspa?messageID=14871&#14871

Freeman
dm020954

Posts: 3
Registered: 08/02/12
Re: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 6, 2012 8:58 PM   in response to: dm020954 in response to: dm020954
 
  Click to reply to this thread Reply
Hi Freeman

First, I did have the Fragment-Host correct as ?org.ops4j.pax.logging.pax-logging-service?. I just put it wrong in my email. It?s like:
Bundle-SymbolicName: ch.qos.logback.classic
Fragment-Host=org.ops4j.pax.logging.pax-logging-service
My host fragment bundle pair looks like the following after the errors.:
list
START LEVEL 100 , List Threshold: 50
ID State Blueprint Spring Level Name
49 Resolved [ ] [ ] 60 activemq-core (5.5.1.fuse-07-11)
Fragments: 68
68 Resolved [ ] [ ] 60 activemq-blueprint (5.5.1.fuse-07-11)
Hosts: 49

I looked over your suggested link (and followed links from there.) Do I need to do something with the pom.xml? I?m not making anything, simpley attempting to use the logback-classic class to log to a queue.
The thing that I am most in doubt about is where I should put the logback-classic jar file. I?ve tried a couple of different places, but no luck. Can you tell me where it should go?

Thanks for the response.

Dave Manley
ffang

Posts: 1,320
Registered: 12/24/07
Re: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 7, 2012 12:15 AM   in response to: dm020954 in response to: dm020954
 
  Click to reply to this thread Reply
Hi,

All resources in fragment bundle are available for the host bundle. I'd like to see the status of your ch.qos.logback.classic bundle and the pax-logging-service bundle, so that I can know if your host/fragment is correct? could you post it here(not the activemq-core/activemq-blueprint pair, that's just an example)?

Freeman
dm020954

Posts: 3
Registered: 08/02/12
Re: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 7, 2012 12:56 PM   in response to: ffang in response to: ffang
 
  Click to reply to this thread Reply
Attachment send-to-me.txt (59.5 KB)
Freeman,

Here is the result of the list. I've also attached the complete console output in a text file.

Thanks much (xie xie)

Dave

karaf@root> list
START LEVEL 100 , List Threshold: 50
ID State Blueprint Spring Level Name
48 Resolved [ ] [ ] 60 activemq-ra (5.5.1.fuse-07-11)
49 Resolved [ ] [ ] 60 activemq-core (5.5.1.fuse-07-11)
Fragments: 68
50 Installed [ ] [ ] 60 activemq-karaf (5.5.1.fuse-07-11)
51 Resolved [ ] [ ] 60 Apache Aries Transaction Manager (0.3.1)
52 Installed [ ] [ ] 60 activemq-console (5.5.1.fuse-07-11)
53 Resolved [ ] [ ] 60 activemq-pool (5.5.1.fuse-07-11)
54 Resolved [ ] [ ] 60 kahadb (5.5.1.fuse-07-11)
55 Resolved [ ] [ ] 60 geronimo-j2ee-management_1.1_spec (1.0.1)
56 Resolved [ ] [ ] 60 Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)
57 Resolved [ ] [ ] 60 Apache ServiceMix :: Bundles :: xpp3 (1.1.0.4c_5)
58 Resolved [ ] [ ] 60 Commons Pool (1.5.4)
59 Resolved [ ] [ ] 60 Commons Collections (3.2.1)
60 Resolved [ ] [ ] 60 geronimo-jms_1.1_spec (1.1.1)
61 Installed [ ] [ ] 60 Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)
62 Resolved [ ] [ ] 60 Apache ServiceMix :: Bundles :: commons-lang (2.4.0.4)
63 Resolved [ ] [ ] 60 Apache ServiceMix Bundles: dom4j-1.6.1 (1.6.1.2)
64 Resolved [ ] [ ] 60 Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)
65 Resolved [ ] [ ] 60 Apache ServiceMix Bundles: xstream-1.3 (1.3.0.3)
66 Resolved [ ] [ ] 60 Apache ServiceMix :: Bundles :: jdom (1.1.0.4)
67 Resolved [ ] [ ] 60 Apache ServiceMix :: Bundles :: velocity (1.7.0.1)
68 Resolved [ ] [ ] 60 activemq-blueprint (5.5.1.fuse-07-11)
Hosts: 49
69 Resolved [ ] [ ] 60 Apache XBean :: OSGI Blueprint Namespace Handler (3.9.0)
70 Resolved [ ] [ ] 60 Apache ServiceMix :: Specs :: Scripting API 1.0 (1.8.0)
71 Resolved [ ] [ ] 60 Commons JEXL (2.0.1)
72 Active [ ] [ ] 60 Spring Beans (3.0.5.RELEASE)
73 Active [ ] [ ] 60 Spring Context Support (3.0.5.RELEASE)
74 Active [ ] [ ] 60 Spring Context (3.0.5.RELEASE)
75 Active [ ] [ ] 60 Spring Expression Language (3.0.5.RELEASE)
76 Active [ ] [ ] 60 Spring ASM (3.0.5.RELEASE)
77 Active [ ] [ ] 60 Spring Core (3.0.5.RELEASE)
78 Active [ ] [ ] 60 Spring AOP (3.0.5.RELEASE)
79 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: aopalliance (1.0.0.5)
80 Active [ ] [ ] 60 spring-osgi-core (1.2.1)
81 Active [ ] [ ] 60 spring-osgi-io (1.2.1)
82 Active [ ] [ ] 60 spring-osgi-annotation (1.2.1)
83 Active [ ] [ ] 60 spring-osgi-extender (1.2.1)
84 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: cglib (2.1.0.3_7)
85 Active [ ] [ ] 60 activemq-spring (5.5.1.fuse-07-11)
86 Active [ ] [ ] 60 Apache XBean :: Spring (3.9.0)
87 Active Created [ ] 50 camel-karaf-commands (2.8.0.fuse-06-11)
88 Active [ ] [ ] 50 camel-core (2.8.0.fuse-06-11)
89 Active [ ] [ ] 50 Commons Management (1.0)
90 Active [ ] [ ] 50 camel-spring (2.8.0.fuse-06-11)
91 Active [ ] [ ] 50 Spring Transaction (3.0.5.RELEASE)
92 Active [ ] [ ] 50 camel-jms (2.8.0.fuse-06-11)
93 Active [ ] [ ] 50 Spring JMS (3.0.5.RELEASE)
94 Active [ ] [ ] 50 activemq-camel (5.5.1.fuse-07-11)
95 Active [ ] [ ] 50 Apache ServiceMix :: Document (1.5.1.fuse-06-11)
96 Active Created [ ] 50 Apache ServiceMix :: NMR :: Management (1.5.1.fuse-06-11)
97 Active Created [ ] 50 Apache ServiceMix :: NMR :: Commands (1.5.1.fuse-06-11)
98 Active [ ] [ ] 50 Apache ServiceMix :: NMR :: API (1.5.1.fuse-06-11)
99 Active Created [ ] 60 Apache ServiceMix :: NMR :: OSGi (1.5.1.fuse-06-11)
100 Active [ ] [ ] 50 Apache ServiceMix :: NMR :: Core (1.5.1.fuse-06-11)
101 Active [ ] [ ] 60 Apache ServiceMix :: Utils (1.5.1.fuse-06-11)
102 Active [ ] [ ] 50 Apache ServiceMix :: Features :: Camel Support :: Component (4.4.1.fuse-07-11)
103 Active [ ] [ ] 50 Web Services Metadata 2.0 (1.1.3)
104 Active [ ] [ ] 50 Apache ServiceMix :: Specs :: JAXWS API 2.2 (1.8.0)
105 Active [ ] [ ] 50 Apache ServiceMix :: Specs :: SAAJ API 1.3 (1.8.0)
106 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: saaj-impl (1.3.2.2)
107 Active [ ] [ ] 60 Jetty :: JNDI Naming (7.4.5.fuse20111017)
108 Active [ ] [ ] 60 Jetty :: Continuation (7.4.5.fuse20111017)
109 Active [ ] [ ] 60 Jetty :: Http Utility (7.4.5.fuse20111017)
110 Active [ ] [ ] 60 Jetty :: IO Utility (7.4.5.fuse20111017)
111 Active [ ] [ ] 60 Jetty :: Security (7.4.5.fuse20111017)
112 Active [ ] [ ] 60 Jetty :: Servlet Handling (7.4.5.fuse20111017)
113 Active [ ] [ ] 60 Jetty :: Asynchronous HTTP Client (7.4.5.fuse20111017)
114 Active [ ] [ ] 60 Jetty :: Server Core (7.4.5.fuse20111017)
115 Active [ ] [ ] 60 Jetty :: Utilities (7.4.5.fuse20111017)
116 Active [ ] [ ] 60 Jetty :: XML utilities (7.4.5.fuse20111017)
117 Active [ ] [ ] 60 Jetty :: Plus (7.4.5.fuse20111017)
118 Active [ ] [ ] 60 Jetty :: JMX Management (7.4.5.fuse20111017)
119 Active [ ] [ ] 60 Jetty :: Utility Servlets and Filters (7.4.5.fuse20111017)
120 Active [ ] [ ] 60 Jetty :: Webapp Application Support (7.4.5.fuse20111017)
121 Active [ ] [ ] 60 geronimo-servlet_2.5_spec (1.1.2)
122 Active [ ] [ ] 60 JavaMail API (1.4.3)
123 Active [ ] [ ] 50 jettison (1.3)
124 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: xmlbeans (2.5.0.2)
125 Active Created Started 50 Apache CXF Bundle Jar (2.4.3.fuse-03-02)
126 Active [ ] [ ] 50 Abdera Extensions - Main (1.1.2)
127 Active [ ] [ ] 50 Abdera Core (1.1.2)
128 Active [ ] [ ] 50 Apache XML Security for Java (1.5.1)
129 Active [ ] [ ] 50 Abdera Parser (1.1.2)
130 Active [ ] [ ] 50 WSS4J (1.6.5)
131 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: velocity (1.7.0.3)
132 Active [ ] [ ] 50 Joda-Time (1.6.2)
133 Active [ ] [ ] 50 I18N Libraries (1.1.2)
134 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: FastInfoset (1.2.7.3)
135 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.5)
136 Active [ ] [ ] 50 Apache Neethi (3.0.0)
137 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: xmlresolver (1.2.0.4)
138 Active [ ] [ ] 50 XmlSchema Core (2.0)
139 Active [ ] [ ] 50 Woodstox XML-processor (4.1.1)
140 Active [ ] [ ] 50 Axiom API (1.2.10)
141 Active [ ] [ ] 50 Stax2 API (3.1.1)
142 Active [ ] [ ] 50 Apache ServiceMix :: Specs :: JSR-311 API 1.1 (1.8.0)
143 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: opensaml (2.4.1.1)
144 Active Created [ ] 50 camel-cxf (2.8.0.fuse-06-11)
145 Active [ ] [ ] 50 camel-cxf-transport (2.8.0.fuse-06-11)
146 Active Created [ ] 50 camel-blueprint (2.8.0.fuse-06-11)
147 Active [ ] [ ] 50 Apache ServiceMix :: Naming (1.5.1.fuse-06-11)
148 Active [ ] [ ] 60 Apache Aries Transaction Enlisting JDBC Datasource (0.3.0)
149 Active Failure [ ] 60 Apache Aries Transaction Blueprint (0.3.0)
150 Active Created [ ] 50 Apache ServiceMix :: JBI :: Deployer (1.5.1.fuse-06-11)
151 Active Created [ ] 50 Apache ServiceMix :: JBI :: Commands (1.5.1.fuse-06-11)
152 Active Created [ ] 50 Apache ServiceMix :: JBI :: OSGi (1.5.1.fuse-06-11)
153 Active [ ] [ ] 50 Apache ServiceMix :: JBI :: Runtime (1.5.1.fuse-06-11)
154 Active Created [ ] 50 Apache ServiceMix :: Components :: Shared Libraries :: Common (2011.02.1.fuse-07-11)
155 Active [ ] [ ] 50 Apache ServiceMix :: Specs :: JBI API 1.0 (1.8.0)
156 Active [ ] [ ] 50 Apache XBean :: Spring (3.11.1)
157 Active [ ] [ ] 50 Apache XBean :: Classloader (3.11.1)
158 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: ant (1.7.0.4)
159 Active [ ] [ ] 60 Apache ServiceMix :: JBI :: Clustering :: Requestor (1.5.1.fuse-06-11)
160 Active [ ] [ ] 60 Apache ServiceMix :: JBI :: Clustering :: Engine (1.5.1.fuse-06-11)
161 Active Failure [ ] 60 Apache ServiceMix :: JBI :: Clustering :: Config (1.5.1.fuse-06-11)
162 Active [ ] [ ] 60 OPS4J Pax Web - API (1.0.3)
163 Active [ ] [ ] 60 OPS4J Pax Web - Runtime (1.0.3)
164 Active [ ] [ ] 60 OPS4J Pax Web - Service SPI (1.0.3)
165 Active [ ] [ ] 60 OPS4J Pax Web - Jetty (1.0.3)
166 Active [ ] [ ] 60 OPS4J Pax Web - Extender - Whiteboard (1.0.3)
167 Active [ ] [ ] 60 OPS4J Pax Url - war (1.2.6.fuse-01)
169 Active [ ] [ ] 60 OPS4J Pax Web - Extender - WAR (1.0.3)
170 Active [ ] [ ] 60 OPS4J Pax Web - Jsp Support (1.0.3)
171 Active [ ] [ ] 60 OPS4J Pax Web - FileInstall Deployer (1.0.3)
172 Active Created [ ] 50 Apache ServiceMix :: Components :: CXF Binding Component (2011.02.1.fuse-07-11)
173 Active [ ] [ ] 50 Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack v2 (2011.02.1.fuse-07-11)
174 Active Created [ ] 50 Apache ServiceMix :: Components :: File Binding Component (2011.02.1.fuse-07-11)
175 Active Created [ ] 50 Apache ServiceMix :: Components :: FTP Binding Component (2011.02.1.fuse-07-11)
176 Active [ ] [ ] 50 Commons Net (2.2)
177 Active Created [ ] 50 Apache ServiceMix :: Components :: HTTP Binding Component (2011.02.1.fuse-07-11)
178 Active [ ] [ ] 50 Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack (2011.02.1.fuse-07-11)
179 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: jetty (6.1.26.1)
180 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: commons-httpclient (3.1.0.5)
181 Active Created [ ] 50 Apache ServiceMix :: Components :: JMS Binding Component (2011.02.1.fuse-07-11)
182 Active [ ] [ ] 50 geronimo-j2ee-connector_1.5_spec (2.0.0)
183 Active Created [ ] 50 Apache ServiceMix :: Components :: Mail Binding Component (2011.02.1.fuse-07-11)
184 Active Created [ ] 50 Apache ServiceMix :: Components :: SMPP Binding Component (2011.02.1.fuse-07-11)
185 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: jsmpp (2.1.0.2)
186 Active Created [ ] 50 Apache ServiceMix :: Components :: SNMP Binding Component (2011.02.1.fuse-07-11)
187 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: snmp4j (1.8.1.4)
188 Active Created [ ] 50 Apache ServiceMix :: Components :: VFS Binding Component (2011.02.1.fuse-07-11)
189 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: commons-vfs (1.0.0.5)
190 Active Created [ ] 50 Apache ServiceMix :: Components :: Bean Service Engine (2011.02.1.fuse-07-11)
191 Active Created [ ] 50 Apache ServiceMix :: Components :: Camel Service Engine (2011.02.1.fuse-07-11)
192 Active [ ] [ ] 50 Apache CXF Runtime JBI Transport (2.4.3.fuse-03-02)
193 Active [ ] Started 50 Apache ServiceMix :: Components :: CXF Service Engine (2011.02.1.fuse-07-11)
194 Active [ ] [ ] 50 Apache CXF Runtime JBI Binding (2.4.3.fuse-03-02)
195 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: mvel2 (2.0.8.4)
196 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: antlr-runtime (3.0.1.2)
197 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: core (3.2.3.4)
198 Active Created [ ] 50 Apache ServiceMix :: Components :: Drools Service Engine (2011.02.1.fuse-07-11)
199 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: quartz (1.8.5.1)
200 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: drools (5.1.1.1)
201 Active Created [ ] 50 Apache ServiceMix :: Components :: EIP Service Engine (2011.02.1.fuse-07-11)
202 Active Created [ ] 50 Apache ServiceMix :: Components :: OSWorkflow Service Engine (2011.02.1.fuse-07-11)
203 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: oscore (2.2.4.4)
204 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: osworkflow (2.7.0.4)
205 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: propertyset (1.3.0.4)
206 Active Created [ ] 50 Apache ServiceMix :: Components :: Quartz Service Engine (2011.02.1.fuse-07-11)
207 Active [ ] [ ] 50 Groovy Runtime (1.8.0)
208 Active Created [ ] 50 Apache ServiceMix :: Components :: JSR-223 Scripting Service Engine (2011.02.1.fuse-07-11)
209 Active [ ] [ ] 50 ScriptEngines :: Groovy (1.1)
210 Active [ ] [ ] 50 ScriptEngines :: JavaScript (1.1)
211 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: js (1.0.0.7R1_3)
212 Active [ ] [ ] 50 ScriptEngines :: JRuby (1.1)
213 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: jruby (1.1.2.3)
214 Active Created [ ] 50 Apache ServiceMix :: Components :: Validation Service Engine (2011.02.1.fuse-07-11)
215 Active Created [ ] 50 Apache ServiceMix :: Components :: Saxon Service Engine (2011.02.1.fuse-07-11)
216 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: saxon (9.1.0.8_1)
217 Active [ ] [ ] 60 json-lib (2.4.0.jdk15)
218 Active [ ] [ ] 60 Commons BeanUtils (1.8.0)
219 Active [ ] [ ] 60 ezmorph (1.0.6)
220 Active [ ] [ ] 60 Power Routing Services (1.0.4.SNAPSHOT)
221 Active [ ] [ ] 60 XOM (1.2.8.osgi)
224 Active [ ] [ ] 50 camel-http (2.8.0.fuse-06-11)
225 Active [ ] [ ] 50 camel-jetty (2.8.0.fuse-06-11)
226 Active [ ] [ ] 50 camel-http4 (2.8.0.fuse-06-11)
227 Active [ ] [ ] 50 Apache HttpCore OSGi bundle (4.1.1)
228 Active [ ] [ ] 50 Apache HttpClient OSGi bundle (4.1.1)
231 Active [ ] Started 60 LocalMockPower.xml (0.0.0)
235 Active [ ] [ ] 60 Apache Felix Metatype Service (1.0.4)
236 Resolved [ ] [ ] 60 Apache Karaf :: Web Console :: Branding (2.2.2.fuse-07-11)
Hosts: 237
237 Active Created [ ] 60 Apache Karaf :: Web Console :: Console (2.2.2.fuse-07-11)
Fragments: 236
238 Active Created [ ] 60 Apache Karaf :: Web Console :: Admin Plugin (2.2.2.fuse-07-11)
239 Active Created [ ] 60 Apache Karaf :: Web Console :: Features Plugin (2.2.2.fuse-07-11)
240 Active Created [ ] 60 Apache Karaf :: Web Console :: Gogo Plugin (2.2.2.fuse-07-11)
241 Active [ ] [ ] 60 Apache Felix Web Console Event Plugin (1.0.2)
karaf@root>

ffang

Posts: 1,320
Registered: 12/24/07
Re: Urgent Problem Setting Up to Use JMSQueueAppender (logback-classic)
Posted: Aug 7, 2012 10:57 PM   in response to: dm020954 in response to: dm020954
 
  Click to reply to this thread Reply
Hi,

First of all, a lot of bundles in your container status is "Resolved" or "Installed", this definitely a big problem, all bundles(except for the fragment bundle) expected status should "Active", you need figure out why a lot of bundles status is incorrect first and fix it before you can go further.

Also, what I want to see is pax-logging-service and your customer bundle(ch.qos.logback.classic) status, so that I can know if your customer bundle(ch.qos.logback.classic) attach to pax-logging-servic correctly, but from what you posted here I can't see those. Seems your customer bundle not get installed at all.

You can try to use "osgi:list -t 0" to output all bundles regardless the startlevel.

Freeman