Re: Pooling with PostgreSQL and Karaf

2014-10-07 Thread Rajbir Saini
If you are using Karaf 3.0.1, you can use the jdbc commands to create the data source. There is a generic data source type and I think it uses Apache Common DBCP. Thanks, Raj On Wednesday 08 October 2014 11:42 AM, jkraushaar wrote: Hi there, I like to set up a PostgreSQL data source in Kara

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: 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 A

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: Ports used by Karaf

2014-08-22 Thread Rajbir Saini
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 different ports. I can enable/disab

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

Ports used by Karaf

2014-08-21 Thread Rajbir Saini
Hi, I am trying to find the all open sockets by Karaf for a security audit. It looks Karaf listens on 5 different ports. I can enable/disable RMI, SSH and JMX ports but one port by starting/stopping the bundle. I could also disable the shutdown port using settings in the custom.properties fil

Using XML parser implementation as OSGi service

2014-06-16 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 ins

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: 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...

Re: Error while deploying bundle using XML parser

2014-06-16 Thread Rajbir Saini
: Error while deploying bundle using XML parser Simple question. Did you import package javax.xml.parsers -----Original 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

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

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 jav

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

2013-11-17 Thread Rajbir Saini
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

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

2013-11-15 Thread Rajbir Saini
PM, Rajbir Saini wrote: Hi JB, Well, it does not work with 2.3.x either. I am not sure what do you mean by 2.3.x does not provide wicket feature. For 3.0.0.RC1 as well as 2.3.x, I add feature using as mentioned at https://ops4j1.jira.com/wiki/display/paxwicket/Pax+Wicket+-+3.0.1. Thanks, Raj

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

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

2013-11-15 Thread Rajbir Saini
November 2013 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.

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

2013-11-15 Thread Rajbir Saini
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 error: karaf@root()> feature:install -v pax-wicket Installing feature pax-wicket 3.0.1 Error executing command: No feature named 'wicket' with version '0.0.0' avail

Re: Status of EIK

2012-10-01 Thread Rajbir Saini
, Rajbir Saini wrote: 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

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, you

How to deploy Apache Karaf EIK

2012-06-29 Thread Rajbir Saini
Hi, I am trying to use the EIK and I could build the project from source and build was successful. How do I deploy the feature/plugins in Eclipse. 'mvn install' did not generate any p2 update site. BUILDING file in the source tree says that distribution will be available in 'assembly/target'

Problem installing Apache ActiveMQ feature

2012-06-27 Thread Rajbir Saini
Hi, I am trying to install Apache ActiveMQ feature in Apache Karaf 3.0 (SNAPSHOT). There is a unresolved constraint issue as below: Error executing command: Could not start bundle mvn:org.apache.activemq/activemq-karaf/5.7-SNAPSHOT in feature(s) activemq-5.7-SNAPSHOT: Unresolved constraint i

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 wr

Re: ActiveMQ plug-in using activemq-blueprint

2012-06-21 Thread Rajbir Saini
frastructure/jms On Wed, Jun 20, 2012 at 9:08 PM, Rajbir Saini wrote: 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

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
9 PM, Jean-Baptiste Onofré <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-Ba

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

2012-06-18 Thread Rajbir Saini
file) are resolved by Pax URL. - org.ops4j.pax.url.mvn.cfg defines the default repositories set So, configuration like proxy could be defined in org.ops4J.pax.url.mvn.cfg and in settings.xml. Regards JB On 06/18/2012 04:46 PM, Rajbir Saini wrote: Somya, I do not think you need to change an

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.home}/etc/org.apache

Re: Karaf-ActiveMQ authorization problem

2012-06-14 Thread Rajbir Saini
appended a patch. [1]https://issues.apache.org/jira/browse/SMX4NMR-283 [2]https://issues.apache.org/jira/browse/AMQ-3883 Freeman On 2012-6-14, at 下午5:52, Rajbir Saini wrote: Hi, I have integrated ActiveMQ with Karaf using ActiveMQ OSGi integration at [1]. I am having trouble configuring the

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: topic://A

Re: Problem building EIK

2012-03-10 Thread Rajbir Saini
Thanks for the info JB. Raj On Saturday 10 March 2012 10:09 PM, Jean-Baptiste Onofré wrote: Hi Raj, we have several build and runtime issues that we are going to fix. It's still a work in progress. Regards JB On 03/10/2012 03:37 PM, Rajbir Saini wrote: Hi, I am trying to build to EIK

Re: Problem building EIK

2012-03-10 Thread Rajbir Saini
lver.resolveProject(DefaultTychoDependencyResolver.java:85) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(

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 org.apache.karaf.eik.plugins:sshd-core:eclips