RE: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread vinuraj.maroli
Created KARAF-3174 for this . -Original Message- From: Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Sent: Thursday, August 21, 2014 8:47 PM To: user@karaf.apache.org Subject: Re: Data source xml change not taking effect in first karaf start post modification The fact to have felix.fi

Re: Ports used by Karaf

2014-08-21 Thread Rajbir Saini
Hi, I could fine all but one. I can also disable ssh, rmi ad management ports by stopping the bundles. I can also disable the shutdown port as well. There is one more random port and I think it is not associated with any bundle as I have stopped all bundles one by one and the said port was li

Re: Ports used by Karaf

2014-08-21 Thread Achim Nierbeck
I thought we had a list of used ports somewhere, but couldn't find it in the docs. Maybe its somewhere on this list. Regards, Achim sent from mobile device Am 21.08.2014 20:15 schrieb "Jean-Baptiste Onofré" : > Hi > > ssh is 8101 by default. > > What's the version of Karaf ? > > Regards > JB >

Re: Ports used by Karaf

2014-08-21 Thread Jean-Baptiste Onofré
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 different ports. I can enable/disable RMI, SSH and JMX ports but one port by

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

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Jean-Baptiste Onofré
The fact to have felix.fileinstall.file property and use it is in ConfigAdmin. But the monitoring of the etc folder is in Karaf. If you take a look in etc/config.properties, you will see: # # Configuration FileMonitor properties # felix.fileinstall.enableConfigSave = true felix.fileinstall.dir

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Christian Schneider
Hi JB, I always thought that this was already built into config admin. is the code that takes car of this part of the karaf config module? Christian Am 21.08.2014 15:01, schrieb Jean-Baptiste Onofré: Hi Christian, actually, ConfigAdmin itself doesn't directly use FileInstall: the monitoring

Re: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread Jean-Baptiste Onofré
You are welcome man ;) By the way, I'm improving the MBeanServerBuilder/Guard to detect "local/process" connection and allow it. Regards JB On 08/21/2014 04:20 PM, CLEMENT Jean-Philippe wrote: Works fine! Thank you!!! JP [@@ OPEN @@] -Message d'origine- De : Jean-Baptiste Onofré

RE: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread CLEMENT Jean-Philippe
Works fine! Thank you!!! JP [@@ OPEN @@] -Message d'origine- De : Jean-Baptiste Onofré [mailto:j...@nanthrax.net] Envoyé : jeudi 21 août 2014 15:56 À : user@karaf.apache.org Objet : Re: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders) Hi JP, what you can do:

Re: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread Jean-Baptiste Onofré
Hi JP, what you can do: 1/ disable the MBeanServerBuilder in bin/karaf script 2/ in etc/config.properties, you have to do the following change: org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,org.apache.karaf.jaas.boot.principal,org.apache.karaf.management.boot,sun.*,com.sun.*,java

RE: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread CLEMENT Jean-Philippe
Hi Achim, From the bug description, it seems remote connection could be used as workaround. But I did not succeed in connecting jvisualvm to remote Karaf. How should I proceed? Must I open special ports on the remote machine… what would be the remote JMX connection url? Thanks, JP [@@ OPEN @@

Re: Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread Achim Nierbeck
Hi, looks like you hit this one: https://issues.apache.org/jira/browse/KARAF-3147 regards, Achim 2014-08-21 15:27 GMT+02:00 CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com>: > After investigation it seems we have several problems. > > First is that we cannot connect JConsole

Blocked on MBean Issue (Using Maven SNAPSHOT, Assembly and Placeholders)

2014-08-21 Thread CLEMENT Jean-Philippe
After investigation it seems we have several problems. First is that we cannot connect JConsole or JVisualVM to the Karaf 3.0.2-SNAPSHOT we assembled. JVisualVM gets the Karaf exception: java.lang.IllegalStateException: KarafMBeanServerBuilder not initialized at org.apache.karaf.managem

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Jean-Baptiste Onofré
Hi Christian, actually, ConfigAdmin itself doesn't directly use FileInstall: the monitoring of the etc folder is a Karaf feature, no a ConfigAdmin feature. Regards JB On 08/21/2014 01:06 PM, Christian Schneider wrote: That is an interesting observation. Config admin and the deploy folder bot

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Achim Nierbeck
Christian, 2014-08-21 13:06 GMT+02:00 Christian Schneider : > That is an interesting observation. Config admin and the deploy folder > both use fileinstall to monitor the directory. Still config admin seems to > notice changes that occur while karaf is offline. > So perhaps we are just not usin

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Christian Schneider
That is an interesting observation. Config admin and the deploy folder both use fileinstall to monitor the directory. Still config admin seems to notice changes that occur while karaf is offline. So perhaps we are just not using some fileinstall feature config admin uses. Christian Am 21.08.20

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-21 Thread Achim Nierbeck
Hi If this is inconsistent between the properties and the deployment of files in the deploy folder, we might need to check how it differs. Could you open an issue with a test case for reproduction? regards, Achim 2014-08-21 7:21 GMT+02:00 : > While this is not going to be a high impact issue