karaf.out log to file using logback.
Hello, Currently when i start karaf from *..bin\start* command, *karaf.log* file creates automatically and it grows in in production environment. I already have the logback configuration for different logging, how can i put contents of *karaf.out *log to file and configure not to create the *karaf.out* file. Best Regards, Srikanrh.
Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]
Hi Erwin, can you share your pom ? What's the goal that you use ? Regards JB On 03/25/2015 05:10 AM, Erwin Hogeweg wrote: Hi, I am utterly confused re. the use of the karaf-maven-plugin. This website shows 3 possible packagings: kar, feature and karaf-assembly: http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html Ea. of them generates an 'Unknown packaging’ error though. Am I not looking at the correct documentation? Please advise. Thanks, Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Declarative JTA transactions XA aware resources auto-enlistment rules
I tested JTA JPA earlier. It works. I had problems when tried JTA JDBC. It works too, with pax-jdbc. Pax-jdbc grants pooling and XA wrapping for DataSources. When I saw your message, I wanted to try another solution of XA DataSource auto wrapping. I've tried and it doesn't work. I think it is because of wrappers bundle absence. Looked through org.apache.aries.transaction.manager pom.xml. Could not find wrapper dependency. Wrappers depends on manager instead. Is this your framework? Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent -- View this message in context: http://karaf.922171.n3.nabble.com/Declarative-JTA-transactions-XA-aware-resources-auto-enlistment-rules-tp4039247p4039278.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Retrieve reference of JMS ConnectionFactory
Hi I think, you do everything correct. You can test the connection factory successful. The way you reference the connection factory is correct too. You can have the problem reported for ARIES. I have tested simillar problem for ServiceMix yesterday and I have found this problem occurs only in Karaf 2.3.x. It would clarify why do you have this problem using Karaf 2.3.6. In Karaf 2.4.x and 3.0.x it seems to be fixed. Probably it has been fixed in the newer version for Felix or Arieused in 2.4+. This problem usually occurs while updating the bundle. You write you have the problem while deploying (also no update should occur). I can remember, one of the Karaf releases from the line 2.3.x had a problem with hot deployment - it looked like the bundle was refreshed while deploying. Could you please test it on the newer versions of 2.3.x (e.g. 2.3.10)? Regards Krzysztof On 25.03.2015 09:11, niels wrote: Hey Krzysztof, I forgot to mention versions: - Karaf 2.3.6 - ActiveMQ 5.9.0 - Camel 2.13.2 I also installed the JMS bundle and was able to list the connection factory: karaf@fluxjms:connectionfactories JMS Connection Factory localhost I'm also able to list the queues from AMQ without ClassNotFoundException you first received. karaf@fluxjms:queues localhost JMS Queues ID_550952684d6163871467_f934b9e9-fd31-470b-a924-1a7c306f6b22 tracing elasticsearch_log ID_550952684d6163871467_9701e4b3-37ef-4934-8882-deddb2d033fa invoicing The only thing I try to do in the second bundle is to capture a reference to the exported ConnectionFactory like I mentioned earlier: reference id=jmsConnectionFactory interface=javax.jms.ConnectionFactory/ The blueprint file are deployed by the dropping them in de deploy directory for hot deploys. -- View this message in context: http://karaf.922171.n3.nabble.com/Retrieve-reference-of-JMS-ConnectionFactory-tp4039259p4039286.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE OSS Architect Senior Solution Architect @ Capgemini SSC http://www.pl.capgemini-sdm.com/en/ Apache ServiceMix http://servicemix.apache.org/ Committer PMC
RE: karaf.out log to file using logback.
Hi Srikanth I did the change to avoid to redirect the output to karaf.out. You can use the KARAF_REDIRECT env variable. You can see the usage in bin/start script. RegardsJB Sent from my Samsung device Original message From: Srikanth Hugar srikanth.hu...@gmail.com Date: 25/03/2015 07:58 (GMT+01:00) To: user@karaf.apache.org Subject: karaf.out log to file using logback. Hello, Currently when i start karaf from ..bin\start command, karaf.log file creates automatically and it grows in in production environment.I already have the logback configuration for different logging, how can i put contents of karaf.out log to file and configure not to create the karaf.out file. Best Regards,Srikanrh.
Re: Retrieve reference of JMS ConnectionFactory
Hey Krzysztof, I forgot to mention versions: - Karaf 2.3.6 - ActiveMQ 5.9.0 - Camel 2.13.2 I also installed the JMS bundle and was able to list the connection factory: karaf@fluxjms:connectionfactories JMS Connection Factory localhost I'm also able to list the queues from AMQ without ClassNotFoundException you first received. karaf@fluxjms:queues localhost JMS Queues ID_550952684d6163871467_f934b9e9-fd31-470b-a924-1a7c306f6b22 tracing elasticsearch_log ID_550952684d6163871467_9701e4b3-37ef-4934-8882-deddb2d033fa invoicing The only thing I try to do in the second bundle is to capture a reference to the exported ConnectionFactory like I mentioned earlier: reference id=jmsConnectionFactory interface=javax.jms.ConnectionFactory/ The blueprint file are deployed by the dropping them in de deploy directory for hot deploys. -- View this message in context: http://karaf.922171.n3.nabble.com/Retrieve-reference-of-JMS-ConnectionFactory-tp4039259p4039286.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf.out log to file using logback.
Could not find KARAF_REDIRECT variable in bin/start script. I am using karaf 3.0.0. KARAF_REDIRECT variable is also applicable for 3.0.0? Srikanth Hugar www.gharki.com On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré j...@nanthrax.net wrote: Hi Srikanth I did the change to avoid to redirect the output to karaf.out. You can use the KARAF_REDIRECT env variable. You can see the usage in bin/start script. Regards JB Sent from my Samsung device Original message From: Srikanth Hugar srikanth.hu...@gmail.com Date: 25/03/2015 07:58 (GMT+01:00) To: user@karaf.apache.org Subject: karaf.out log to file using logback. Hello, Currently when i start karaf from *..bin\start* command, *karaf.log* file creates automatically and it grows in in production environment. I already have the logback configuration for different logging, how can i put contents of *karaf.out *log to file and configure not to create the *karaf.out* file. Best Regards, Srikanrh.
Re: karaf.out log to file using logback.
Hi Srikanth. This is the Jira about it - https://issues.apache.org/jira/browse/KARAF-3042?jql=text%20~%20%22karaf.out%22 On 25/03/2015 10:07, Srikanth Hugar wrote: Could not find KARAF_REDIRECT variable in bin/start script. I am using karaf 3.0.0. KARAF_REDIRECT variable is also applicable for 3.0.0? Srikanth Hugar www.gharki.com http://www.gharki.com On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré j...@nanthrax.net mailto:j...@nanthrax.net wrote: Hi Srikanth I did the change to avoid to redirect the output to karaf.out. You can use the KARAF_REDIRECT env variable. You can see the usage in bin/start script. Regards JB Sent from my Samsung device Original message From: Srikanth Hugar srikanth.hu...@gmail.com mailto:srikanth.hu...@gmail.com Date: 25/03/2015 07:58 (GMT+01:00) To: user@karaf.apache.org mailto:user@karaf.apache.org Subject: karaf.out log to file using logback. Hello, Currently when i start karaf from *..bin\start* command, *karaf.log* file creates automatically and it grows in in production environment. I already have the logback configuration for different logging, how can i put contents of *karaf.out *log to file and configure not to create the *karaf.out* file. Best Regards, Srikanrh.
Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]
Hi, You forgot the extensiontrue/ declaration in your karaf-maven-plugin. Regards 2015-03-25 11:56 GMT+01:00 Erwin Hogeweg erwin.hoge...@me.com: Hi JB, Please find pom below. ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent groupIdcom.myproject.blah/groupId artifactIdcom.myproject.blah.server.parent/artifactId version3.1.0-SNAPSHOT/version relativePath../com.myproject.blah.server.parent/pom.xml/relativePath /parent groupIdcom.myproject.blah/groupId artifactIdmy-project/artifactId version1.0.0-SNAPSHOT/version packagingfeature/packaging packagingkar/packaging !--packagingkar/packaging-- name My Feature/name !-- scm /scm -- properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies !-- Our Bundles -- dependency groupIdcom.myproject.blah/groupId artifactIdartifact-1/artifactId version${artifacts-1.version}/version /dependency dependency more dependencies /dependencies build resources resource directorysrc/main/feature/directory filteringtrue/filtering /resource /resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version3.1/version configuration source1.7/source target1.7/target /configuration /plugin !-- plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.5.0/version extensionstrue/extensions configuration instructions Bundle-Activatororg.apache.aries.jpa.eclipselink.adapter.Activator/Bundle-Activator Export-Package / Private-Packageorg.apache.aries.jpa.eclipselink.adapter.*/Private-Package /instructions /configuration /plugin -- plugin groupIdorg.apache.karaf.tooling/groupId artifactIdkaraf-maven-plugin/artifactId version${karaf.version}/version executions execution idfeatures/id phasecompile/phase goals goalfeatures-generate-descriptor/goal /goals configuration startLevel30/startLevel inputFilesrc/feature.xml/inputFile /configuration /execution /executions /plugin /plugins /build /project On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré j...@nanthrax.net wrote: Hi Erwin, can you share your pom ? What's the goal that you use ? Regards JB On 03/25/2015 05:10 AM, Erwin Hogeweg wrote: Hi, I am utterly confused re. the use of the karaf-maven-plugin. This website shows 3 possible packagings: kar, feature and karaf-assembly: http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html Ea. of them generates an 'Unknown packaging’ error though. Am I not looking at the correct documentation? Please advise. Thanks, Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]
Excellent catch. Thanks a bunch. Erwin On Mar 25, 2015, at 08:33, Charlie Mordant cmorda...@gmail.com wrote: Hi, You forgot the extensiontrue/ declaration in your karaf-maven-plugin. Regards 2015-03-25 11:56 GMT+01:00 Erwin Hogeweg erwin.hoge...@me.com mailto:erwin.hoge...@me.com: Hi JB, Please find pom below. ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd http://maven.apache.org/xsd/maven-4.0.0.xsd modelVersion4.0.0/modelVersion parent groupIdcom.myproject.blah/groupId artifactIdcom.myproject.blah.server.parent/artifactId version3.1.0-SNAPSHOT/version relativePath../com.myproject.blah.server.parent/pom.xml/relativePath /parent groupIdcom.myproject.blah/groupId artifactIdmy-project/artifactId version1.0.0-SNAPSHOT/version packagingfeature/packaging packagingkar/packaging !--packagingkar/packaging-- name My Feature/name !-- scm /scm -- properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies !-- Our Bundles -- dependency groupIdcom.myproject.blah/groupId artifactIdartifact-1/artifactId version${artifacts-1.version}/version /dependency dependency more dependencies /dependencies build resources resource directorysrc/main/feature/directory filteringtrue/filtering /resource /resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version3.1/version configuration source1.7/source target1.7/target /configuration /plugin !-- plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.5.0/version extensionstrue/extensions configuration instructions Bundle-Activatororg.apache.aries.jpa.eclipselink.adapter.Activator/Bundle-Activator Export-Package / Private-Packageorg.apache.aries.jpa.eclipselink.adapter.*/Private-Package /instructions /configuration /plugin -- plugin groupIdorg.apache.karaf.tooling/groupId artifactIdkaraf-maven-plugin/artifactId version${karaf.version}/version executions execution idfeatures/id phasecompile/phase goals goalfeatures-generate-descriptor/goal /goals configuration startLevel30/startLevel inputFilesrc/feature.xml/inputFile /configuration /execution /executions /plugin /plugins /build /project On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré j...@nanthrax.net mailto:j...@nanthrax.net wrote: Hi Erwin, can you share your pom ? What's the goal that you use ? Regards JB On 03/25/2015 05:10 AM, Erwin Hogeweg wrote: Hi, I am utterly confused re. the use of the karaf-maven-plugin. This website shows 3 possible packagings: kar, feature and karaf-assembly: http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html Ea. of them generates an 'Unknown packaging’ error though. Am I not looking at the correct documentation? Please advise. Thanks, Erwin -- Jean-Baptiste Onofré jbono...@apache.org mailto:jbono...@apache.org http://blog.nanthrax.net http://blog.nanthrax.net/ Talend - http://www.talend.com http://www.talend.com/ -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent https://github.com/OsgiliathEnterprise/net.osgiliath.parent
[ANN] Java event this summer in Barcelona. CFP is open. ( jbcnconf.com )
Hi all. I'm one of the organizers of the BarcelonaJUG and this summer we are running a great Java JVM event in Barcelona ( Spain ) This event will be the first big Java and JVM conference in Spain, with 2 full days to share knowledge and experiences, to meet enthusiasts and geeks, and to learn about new technologies. Barcelona will host this great event next 26th and 27th of June 2015. We would like to invite the members of the Karaf community to submit papers to the event, and of course consider to go to this event. www.JBCNconf.com Kind regards thank you. http://barcelonajug.org/ http://www.meetup.com/BarcelonaJUG http://twitter.com/BarcelonaJUG http://www.facebook.com/BarcelonaJUG http://j.mp/barcelonaJUG http://www.linkedin.com/groups?gid=4115806
Security in Module
I am hoping to utilize the Karaf security module in a bundle of mine. What is the best way, if there is an example, of authenticating a user if i have a user name and password and getting back the roles so i can use the built in security module? I appreciate the help. Love the product, I am using Karaf 3.0.3. Thanks! Andy P
Re: 3.0.3 - Maven: Unknown packaging [feature | kar | karaf-assembly]
Hi JB, Please find pom below. ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent groupIdcom.myproject.blah/groupId artifactIdcom.myproject.blah.server.parent/artifactId version3.1.0-SNAPSHOT/version relativePath../com.myproject.blah.server.parent/pom.xml/relativePath /parent groupIdcom.myproject.blah/groupId artifactIdmy-project/artifactId version1.0.0-SNAPSHOT/version packagingfeature/packaging packagingkar/packaging !--packagingkar/packaging-- name My Feature/name !-- scm /scm -- properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies !-- Our Bundles -- dependency groupIdcom.myproject.blah/groupId artifactIdartifact-1/artifactId version${artifacts-1.version}/version /dependency dependency more dependencies /dependencies build resources resource directorysrc/main/feature/directory filteringtrue/filtering /resource /resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version3.1/version configuration source1.7/source target1.7/target /configuration /plugin !-- plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version2.5.0/version extensionstrue/extensions configuration instructions Bundle-Activatororg.apache.aries.jpa.eclipselink.adapter.Activator/Bundle-Activator Export-Package / Private-Packageorg.apache.aries.jpa.eclipselink.adapter.*/Private-Package /instructions /configuration /plugin -- plugin groupIdorg.apache.karaf.tooling/groupId artifactIdkaraf-maven-plugin/artifactId version${karaf.version}/version executions execution idfeatures/id phasecompile/phase goals goalfeatures-generate-descriptor/goal /goals configuration startLevel30/startLevel inputFilesrc/feature.xml/inputFile /configuration /execution /executions /plugin /plugins /build /project On Mar 25, 2015, at 02:29, Jean-Baptiste Onofré j...@nanthrax.net wrote: Hi Erwin, can you share your pom ? What's the goal that you use ? Regards JB On 03/25/2015 05:10 AM, Erwin Hogeweg wrote: Hi, I am utterly confused re. the use of the karaf-maven-plugin. This website shows 3 possible packagings: kar, feature and karaf-assembly: http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html Ea. of them generates an 'Unknown packaging’ error though. Am I not looking at the correct documentation? Please advise. Thanks, Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
SAP HR ABAP.Online Training From India |UK|US|Canada|Australia
What we offer: KITS Online Trainings understand the need for a quality training curriculum along with real-time implementation exposure as it forms the very essence of your future career in SAP HR ABAP. Our well-structured online training course in HR ABAP , extensively covers all the core aspects of SAP HR ABAP with an emphasis on live scenarios. Users get the complete flexibility in choosing their batch timings from weekend or weekday slots. Access to expert trainers and instructor led training sessions ensure that you can easily clear your doubts and get the exact guidance that is expected from a classroom training session. SAP HR ABAP Online Training Course Content Introduction to HR Module Logical Databases (LDBS) Infotypes Time Constraints HR Specific Macros Reporting Repeat Structures HR-Interfaces Clusters Payroll Reporting Interfacing Tool Kit Please open below link for complete course content http://kitsonlinetrainings.com/sap-hr-abap-online-training.html The Advantage you get with KITS Online Trainings SAP HR ABAP Course : Flexibility in choosing training sessions as per your existing schedule Advantage of completing the course at your own place and convenience Training resources are prepared by Industry Experts in SAP HR ABAP with rich real-time experience Interactive training sessions with 24/7 access to support and training resources Focus on building interview skills with extensive interview questions and resume writing tips Real-time implementation projects, course exercises, assignments and complete access to expert faculty Please contact for more details KITS Online Technologies Mail:kits.deep...@gmail.com Ph: +44 7519348128 Website : www.kitsonlinetrainings.com -- View this message in context: http://karaf.922171.n3.nabble.com/SAP-HR-ABAP-Online-Training-From-India-UK-US-Canada-Australia-tp4039314.html Sent from the Karaf - User mailing list archive at Nabble.com.
sap hana Online Training From India |UK|US|Canada|Australia
What we offer: KITS Online Trainings understand the need for a quality training curriculum along with real-time implementation exposure as it forms the very essence of your future career in SAP HANA. Our well-structured online training course in SAP HANA extensively covers all the core aspects of HANA with an emphasis on live scenarios. Users get the complete flexibility in choosing their batch timings from weekend or weekday slots. Access to expert trainers and instructor led training sessions ensure that you can easily clear your doubts and get the exact guidance that is expected from a classroom training session. SAP HANA Online Training Course Content Introduction to ERP Introduction to SAP R/3 Architecture Introduction to ABAP/4 ABAP Dictionary Packages Variants Message Classes Selection Screens Open SQL Statements Internal Tables Debugging Techniques Modularization Techniques Reports Dialog / Module Pool Programming/ Transactions Modeling Reporting Security and User Management in HANA User Management Please open below link for complete course content http://www.kitsonlinetrainings.com/sap-hana-online-training.html The Advantage you get with KITS Online SAP HANA Course: Flexibility in choosing training sessions as per your existing schedule Advantage of completing the course at your own place and convenience Training resources are prepared by Industry Experts in SAP HANA with rich real-time experience Interactive training sessions with 24/7 access to support and training resources Focus on building interview skills with extensive interview questions and resume writing tips Real-time implementation projects, course exercises, assignments and complete access to expert faculty Please contact for more details KITS Online Technologies Ph : +44 7519348128 Mail : kits.deep...@gmail.com i...@kitsonlinetrainings.com Website : www.kitsonlinetrainings.com -- View this message in context: http://karaf.922171.n3.nabble.com/sap-hana-Online-Training-From-India-UK-US-Canada-Australia-tp4039315.html Sent from the Karaf - User mailing list archive at Nabble.com.
SCCM 2012 Online Training From India |UK|US|Canada|Australia
What we offer: KITS Online Trainings understand the need for a quality training curriculum along with real-time implementation exposure as it forms the very essence of your future career in SCCM. Our well-structured online training course in SCCM 2012 extensively covers all the core aspects of System center config manager ,New features, and Software distribution with an emphasis on live scenarios. Users get the complete flexibility in choosing their batch timings from weekend or weekday slots. Access to expert trainers and instructor led training sessions ensure that you can easily clear your doubts and get the exact guidance that is expected from a classroom training session. SCCM 2012 Online Training Course Content • Installing and Migrating to Microsofot System Center ConfigMgr 2012 • Exploring the new console • Installing and Migrating to SCCM 2012 • Deploying ConfigMgr Clients • Identifying Primary Sites and Site Hierarchies • Building Reports and Configuring Inventory • Managing Collections and Running Queries • Application Management • Deploying Software Updates and Operating Systems • Enhancing ConfigMgr Administration Please open below link for complete SCCM 2012 course content http://www.kitsonlinetrainings.com/sccm-2012-online-training.html The Advantage you get with KITS Online SCCM 2012 Course: Flexibility in choosing training sessions as per your existing schedule Advantage of completing the course at your own place and convenience Training resources are prepared by Industry Experts in SCCM with rich real-time experience Interactive training sessions with 24/7 access to support and training resources Focus on building interview skills with extensive interview questions and resume writing tips Real-time implementation projects, course exercises, assignments and complete access to expert faculty Please contact for more details KITS Online Trainings Ph : +44 7519348128 Mail :kits.deep...@gmail.com i...@kitsonlinetrainings.com Website : www.kitsonlinetrainings.com -- View this message in context: http://karaf.922171.n3.nabble.com/SCCM-2012-Online-Training-From-India-UK-US-Canada-Australia-tp4039313.html Sent from the Karaf - User mailing list archive at Nabble.com.