java.lang.NoClassDefFoundError for javax.security.auth* packages

2014-10-07 Thread Rajbir Saini
Hi, I am using Apache Karaf with JAAS login module. My application throws java.lang.NoClassDefFoundError exception. If I import that javax.security.auth* packages in my bundle this problem is resolved. As these packages are provided by JRE, do I need to import them? I am using Karaf 3.0.1.

Re: java.lang.NoClassDefFoundError for javax.security.auth* packages

2014-10-07 Thread Rajbir Saini
October 2014 05:28 PM, Jean-Baptiste Onofré wrote: Hi Raj, even if the packages are provided by the JRE (and defined in etc/jre.properties), you have to import it in your bundle: it's what we name the system packages. Regards JB On 10/07/2014 01:07 PM, Rajbir Saini wrote: Hi, I am using Apache

Re: java.lang.NoClassDefFoundError for javax.security.auth* packages

2014-10-07 Thread Rajbir Saini
/Why_does_Eclipse_find_javax.swing_but_not_Felix%3F Regards, Raj On Tuesday 07 October 2014 05:41 PM, Rajbir Saini wrote: Thanks JB. I think some thing has changes in the current version of Eclipse and it does not export these packages and they are not available for import in the PDE. Is there a workaround? What

Re: Ports used by Karaf

2014-08-21 Thread Rajbir Saini
, Raj On Thursday 21 August 2014 11:45 PM, Jean-Baptiste Onofré wrote: Hi ssh is 8101 by default. What's the version of Karaf ? Regards JB On 08/21/2014 07:56 PM, Rajbir Saini wrote: Hi, I am trying to find the all open sockets by Karaf for a security audit. It looks Karaf listens on 5

Using XML parser implementation as OSGi service

2014-06-17 Thread Rajbir Saini
Hi, One of my bundle needs to parse XML and I am using javax.xml.parsers.DocumentBuilderFactory to parse the XML. I would like to retrieve the DocumentBuilderFactory from the platform instead of instantiating my own instances. When I tried to retrieve the service as shown below I get null

Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws java.lang.NoClassDefFoundError: javax/xml/parsers/ParserConfigurationException. I am using Oracle JDK 1.7 and javax/xml/parsers is part of the JRE. I looked into the jre.properties and

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com] Sent: Monday, June 16, 2014 1:21 PM To: user@karaf.apache.org Subject: Error while deploying bundle using XML parser Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
Thanks Scot. It worked. Raj On Tuesday 17 June 2014 12:30 AM, Leschke, Scott wrote: The only packages you don't have to explicitly import are java.* packages. PDE will compile it though, even though it shouldn't. -Original Message- From: Rajbir Saini [mailto:rajbsa...@yahoo.com

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
, Try to import the javax.xml.parsers package in your bundle, or as least enable the dynamic import. It should help. Regards JB On 06/16/2014 08:21 PM, Rajbir Saini wrote: Hi, I am a bundle which uses XML DOM parsing. While installing this bundle in Karaf 3.0.1, system throws

Re: Not able to install pax-wicket 3.0.0 in Karaf 3.0.0.RC1

2013-11-17 Thread Rajbir Saini
it work with Karaf 2.3.x (because Karaf 2.3.x doesn't provide wicket feature, so I don't see how it can work ;)) ? Regards JB On 11/15/2013 03:04 PM, Rajbir Saini wrote: Hi, I am having issue installing pax-wicket in Karaf 3.0.0 RC1. I could add the repository but installing feature give the below

Re: Not able to install pax-wicket 3.0.0 in Karaf 3.0.0.RC1

2013-11-15 Thread Rajbir Saini
07:39 PM, Jean-Baptiste Onofré wrote: Hi, did it work with Karaf 2.3.x (because Karaf 2.3.x doesn't provide wicket feature, so I don't see how it can work ;)) ? Regards JB On 11/15/2013 03:04 PM, Rajbir Saini wrote: Hi, I am having issue installing pax-wicket in Karaf 3.0.0 RC1. I could add

Re: Status of EIK

2012-10-01 Thread Rajbir Saini
Hi Michael, Have you looked at Eclipse Tycho maven plugin? This plugin provides Maven and Eclipse PDE integration. You can create bundles using PDE and then generate the POM with the plugin. POM generation will automatically resolve the Maven dependencies based bundle manifest. Thereafter,

Re: reference interface to a bean from other bundle in blueprint ?

2012-06-22 Thread Rajbir Saini
No This is not wrong. Service references could be any other other deployed services. How is your other service deployed? If it is deployed using blueprint do you see it as 'created' under blueprint column of 'list' command? Raj On Friday 22 June 2012 06:41 PM, ramesh chandra wrote: Is it

ActiveMQ plug-in using activemq-bluepring

2012-06-20 Thread Rajbir Saini
Hi, Is it possible to configure ActiveMQ plug-in using activemq-blueprint? I search around but could not find a way to configure it. Thanks, Raj

Re: Issue regarding net connection after editing settings.xml file

2012-06-19 Thread Rajbir Saini
-Baptiste Onofré j...@nanthrax.net mailto:j...@nanthrax.net wrote: No problem, we are here to share ;) Regards JB On 06/18/2012 05:47 PM, Rajbir Saini wrote: Thanks JB. I did not know this. Regards, Raj On Monday 18 June 2012 08:22 PM, Jean-Baptiste

Re: Issue regarding net connection after editing settings.xml file

2012-06-18 Thread Rajbir Saini
Somya, I do not think you need to change any thing to connect Karaf to Internet. Default settings should be good enough. Moreover, I do not think Karaf has any thing to do with the settings.xml in the Maven conf folder. As far as I know Karaf maven setttings are in

Karaf-ActiveMQ authorization problem

2012-06-14 Thread Rajbir Saini
Hi, I have integrated ActiveMQ with Karaf using ActiveMQ OSGi integration at [1]. I am having trouble configuring the JAAS based authorisation. While JAAS based authorisation works fine, I could not make JAAS based authorisation work and get User xxx is not authorized to create:

Problem building EIK

2012-03-10 Thread Rajbir Saini
Hi, I am trying to build to EIK from source (trunk). When I run the mvn from the root of the project. I see the following warning and I think due to this build fails. [WARNING] Some problems were encountered while building the effective model for