Re: duplicated karaf instance issue

2014-02-20 Thread Jean-Baptiste Onofré

Hi,

Actually, it's possible to run multiple instance on the same machine 
(you just have to change the port number).
In new Karaf version, the bin/status script allows you to check if an 
instance is already running (using the start port number).


So, before using bin/start, you can check with bin/status.

On the other hand, you can use system command (ps -ef|grep -i karaf, 
etc) to check if the Karaf JVM is there.


Regards
JB

On 02/21/2014 04:47 AM, simafengyun1984 wrote:

Hi JB,
I found there is duplicated karaf instance issue in linux ENV. I used karaf
2.3.3.

It will create  karaf instance for each time executing command "start".
for instance, execute the command "start" twice and I can see 2 instance.
And the command "stop" only can stop one instance.

Log as below.
[gravity@cfnyps2d bin]$ start
[gravity@cfnyps2d bin]$ start
[gravity@cfnyps2d bin]$ ps -aux | grep karaf
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.7/FAQ
gravity  31863 66.6  2.5 806516 98760 pts/5Sl   02:48   0:04
*/xenv/java/X/1.6.0_31l64/bin/java* -server -Xms128M -Xmx512M
-Dcom.sun.management.jmxremote
-Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231
-Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080
-Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed
-Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext
-Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances
-Dkaraf.home=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.base=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data
-Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp
-Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath
/opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar
org.apache.karaf.main.Main
gravity  31912 27.2  1.5 777824 58832 pts/5Sl   02:48   0:01
*/xenv/java/X/1.6.0_31l64/bin/java* -server -Xms128M -Xmx512M
-Dcom.sun.management.jmxremote
-Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231
-Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080
-Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed
-Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext
-Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances
-Dkaraf.home=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.base=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data
-Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp
-Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath
/opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar
org.apache.karaf.main.Main
gravity  31950  0.0  0.0  61204   744 pts/5R+   02:48   0:00 grep karaf

my question: Do you know how to avoid duplicated instance when multi-execute
command "start"?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/duplicated-karaf-instance-issue-tp4031859.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: My Cellar 3.0.0 fork....

2014-02-20 Thread Jean-Baptiste Onofré

Hi Ryan,

thanks for the update.

As I did some update (Hazelcast 3.1.0 update, change in the cluster 
event, usage of JMX whiteboard, etc) on Cellar 3.0.0, I will merge your 
change with mine.


Thanks,
Regards
JB

On 02/21/2014 05:12 AM, Ryan Moquin wrote:

So after probably a year of learning how the Cellar trunk
(3.0.0-SNAPSHOT) works, and after my third strategy for overhauling the
codebase in a way that I thought would improve it, I finally achieved
what I didn't think I'd ever achieve:

Results :

Tests run: 11, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @
org.apache.karaf.cellar.itests ---
[INFO] Building jar:
C:\dev\clones\karaf-cellar\itests\target\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
org.apache.karaf.cellar.itests ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @
org.apache.karaf.cellar.itests ---
[INFO] Installing
C:\dev\clones\karaf-cellar\itests\target\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
to C:\Users\Ryan\.m2\repository\org\apach
e\karaf\cellar\org.apache.karaf.cellar.itests\3.0.0-SNAPSHOT\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
[INFO] Installing C:\dev\clones\karaf-cellar\itests\pom.xml to
C:\Users\Ryan\.m2\repository\org\apache\karaf\cellar\org.apache.karaf.cellar.itests\3.0
.0-SNAPSHOT\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.pom
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Karaf :: Cellar  SUCCESS [2.460s]
[INFO] Apache Karaf :: Cellar :: Core  SUCCESS [5.723s]
[INFO] Apache Karaf :: Cellar :: Hazelcast ... SUCCESS [2.043s]
[INFO] Apache Karaf :: Cellar :: Config .. SUCCESS [1.661s]
[INFO] Apache Karaf :: Cellar :: Features  SUCCESS [1.459s]
[INFO] Apache Karaf :: Cellar :: Bundle .. SUCCESS [1.305s]
[INFO] Apache Karaf :: Cellar :: OBR . SUCCESS [1.031s]
[INFO] Apache Karaf :: Cellar :: DOSGi ... SUCCESS [1.361s]
[INFO] Apache Karaf :: Cellar :: Event Support ... SUCCESS [0.681s]
[INFO] Apache Karaf :: Cellar :: Utils ... SUCCESS [0.797s]
[INFO] Apache Karaf :: Cellar :: Shell ... SUCCESS [1.261s]
[INFO] Apache Karaf :: Cellar :: Cloud ... SUCCESS [1.608s]
[INFO] Apache Karaf :: Cellar :: Management .. SUCCESS [1.266s]
[INFO] Apache Karaf :: Cellar :: Webconsole .. SUCCESS [0.758s]
[INFO] Apache Karaf :: Cellar :: Assembly  SUCCESS [21.340s]
[INFO] Apache Karaf :: Cellar :: Samples . SUCCESS [0.067s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi  SUCCESS [0.168s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: API
  SUCCESS [0.398s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: Service
  SUCCESS [0.616s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: Client
  SUCCESS [0.715s]
[INFO] Apache Karaf :: Cellar :: Samples :: Hazelcast Application
  SUCCESS [0.764s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application
  SUCCESS [0.095s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application
:: Producer  SUCCESS [0.645s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application
:: Consumer  SUCCESS [0.469s]
[INFO] Apache Karaf :: Cellar :: Integration Tests ... SUCCESS
[8:13.492s]
[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time: 9:04.047s
[INFO] Finished at: Thu Feb 20 22:48:27 EST 2014
[INFO] Final Memory: 58M/543M
[INFO]


So obviously, I was able to make the improvements to the entire codebase
(I think it should be simpler and more efficient) I was able to get the
final test to pass tonight.

If anyone would like to try it out with Karaf 3.0.0, you can access the
code in my github rmoquin\karaf-cellar fork.

Hopefully this work will be beneficial!

Ryan


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


My Cellar 3.0.0 fork....

2014-02-20 Thread Ryan Moquin
So after probably a year of learning how the Cellar trunk (3.0.0-SNAPSHOT)
works, and after my third strategy for overhauling the codebase in a way
that I thought would improve it, I finally achieved what I didn't think I'd
ever achieve:

Results :

Tests run: 11, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @
org.apache.karaf.cellar.itests ---
[INFO] Building jar:
C:\dev\clones\karaf-cellar\itests\target\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
org.apache.karaf.cellar.itests ---
[INFO]
[INFO] --- maven-install-plugin:2.5.1:install (default-install) @
org.apache.karaf.cellar.itests ---
[INFO] Installing
C:\dev\clones\karaf-cellar\itests\target\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
to C:\Users\Ryan\.m2\repository\org\apach
e\karaf\cellar\org.apache.karaf.cellar.itests\3.0.0-SNAPSHOT\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.jar
[INFO] Installing C:\dev\clones\karaf-cellar\itests\pom.xml to
C:\Users\Ryan\.m2\repository\org\apache\karaf\cellar\org.apache.karaf.cellar.itests\3.0
.0-SNAPSHOT\org.apache.karaf.cellar.itests-3.0.0-SNAPSHOT.pom
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Karaf :: Cellar  SUCCESS [2.460s]
[INFO] Apache Karaf :: Cellar :: Core  SUCCESS [5.723s]
[INFO] Apache Karaf :: Cellar :: Hazelcast ... SUCCESS [2.043s]
[INFO] Apache Karaf :: Cellar :: Config .. SUCCESS [1.661s]
[INFO] Apache Karaf :: Cellar :: Features  SUCCESS [1.459s]
[INFO] Apache Karaf :: Cellar :: Bundle .. SUCCESS [1.305s]
[INFO] Apache Karaf :: Cellar :: OBR . SUCCESS [1.031s]
[INFO] Apache Karaf :: Cellar :: DOSGi ... SUCCESS [1.361s]
[INFO] Apache Karaf :: Cellar :: Event Support ... SUCCESS [0.681s]
[INFO] Apache Karaf :: Cellar :: Utils ... SUCCESS [0.797s]
[INFO] Apache Karaf :: Cellar :: Shell ... SUCCESS [1.261s]
[INFO] Apache Karaf :: Cellar :: Cloud ... SUCCESS [1.608s]
[INFO] Apache Karaf :: Cellar :: Management .. SUCCESS [1.266s]
[INFO] Apache Karaf :: Cellar :: Webconsole .. SUCCESS [0.758s]
[INFO] Apache Karaf :: Cellar :: Assembly  SUCCESS [21.340s]
[INFO] Apache Karaf :: Cellar :: Samples . SUCCESS [0.067s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi  SUCCESS [0.168s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: API  SUCCESS
[0.398s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: Service
 SUCCESS [0.616s]
[INFO] Apache Karaf :: Cellar :: Samples :: DOSGi Greeter :: Client
 SUCCESS [0.715s]
[INFO] Apache Karaf :: Cellar :: Samples :: Hazelcast Application  SUCCESS
[0.764s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application
 SUCCESS [0.095s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application ::
Producer  SUCCESS [0.645s]
[INFO] Apache Karaf :: Cellar :: Samples :: Camel Hazelcast Application ::
Consumer  SUCCESS [0.469s]
[INFO] Apache Karaf :: Cellar :: Integration Tests ... SUCCESS
[8:13.492s]
[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time: 9:04.047s
[INFO] Finished at: Thu Feb 20 22:48:27 EST 2014
[INFO] Final Memory: 58M/543M
[INFO]


So obviously, I was able to make the improvements to the entire codebase (I
think it should be simpler and more efficient) I was able to get the final
test to pass tonight.

If anyone would like to try it out with Karaf 3.0.0, you can access the
code in my github rmoquin\karaf-cellar fork.

Hopefully this work will be beneficial!

Ryan


duplicated karaf instance issue

2014-02-20 Thread simafengyun1984
Hi JB,
I found there is duplicated karaf instance issue in linux ENV. I used karaf
2.3.3.

It will create  karaf instance for each time executing command "start".
for instance, execute the command "start" twice and I can see 2 instance.
And the command "stop" only can stop one instance.

Log as below.
[gravity@cfnyps2d bin]$ start
[gravity@cfnyps2d bin]$ start
[gravity@cfnyps2d bin]$ ps -aux | grep karaf
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.7/FAQ
gravity  31863 66.6  2.5 806516 98760 pts/5Sl   02:48   0:04
*/xenv/java/X/1.6.0_31l64/bin/java* -server -Xms128M -Xmx512M
-Dcom.sun.management.jmxremote
-Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231
-Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080
-Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed
-Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext
-Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances
-Dkaraf.home=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.base=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data
-Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp
-Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath
/opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar
org.apache.karaf.main.Main
gravity  31912 27.2  1.5 777824 58832 pts/5Sl   02:48   0:01
*/xenv/java/X/1.6.0_31l64/bin/java* -server -Xms128M -Xmx512M
-Dcom.sun.management.jmxremote
-Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231
-Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080
-Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed
-Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext
-Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances
-Dkaraf.home=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.base=/opt/gravity/apache-karaf-2.3.3
-Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data
-Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp
-Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath
/opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar
org.apache.karaf.main.Main
gravity  31950  0.0  0.0  61204   744 pts/5R+   02:48   0:00 grep karaf

my question: Do you know how to avoid duplicated instance when multi-execute
command "start"?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/duplicated-karaf-instance-issue-tp4031859.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Karaf 2.3.3 custom dist with cellar preinstalled

2014-02-20 Thread Jean-Baptiste Onofré

Catcha, I gonna work on the issue (and create the corresponding Jira).

Regards
JB

On 02/20/2014 07:13 PM, Markus Wolf wrote:

Yes right, thats the exact problem.

Thanks you!

2014-02-20 19:10 GMT+01:00 jbonofre [via Karaf]
:

Hi Markus,

the problem only occurs if cellar is a boot features right ? If you
install cellar once Karaf is started, it works fine right ?

I will try to reproduce and work on the issue.

Thanks,
Regards
JB

On 02/20/2014 06:49 PM, Markus Wolf wrote:


Hi Jean,

unfortunately this does not work either. During startup this still
freezes and no other bundle will start neither autocomplete will work
in the console.

Any more ideas?


Regards
Markus

2014-02-18 10:57 GMT+01:00 jbonofre [via Karaf]
<[hidden email]>:

Hi Markus,

I just deployed a new Cellar SNAPSHOT.

Regards
JB

On 02/17/2014 11:21 AM, Markus Wolf wrote:


Hi Jean-Baptiste,

did you already upload a new SNAPSHOT? I could not find it under the
given
URL.

Regards
Markus



--
View this message in context:

http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031747.html



Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com



If you reply to this email, your message will be added to the discussion
below:

http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031784.html
To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled,
click
here.
NAML






--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com



If you reply to this email, your message will be added to the discussion
below:
http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031853.html
To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled, click
here.
NAML






--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Karaf 2.3.3 custom dist with cellar preinstalled

2014-02-20 Thread Markus Wolf
Yes right, thats the exact problem.

Thanks you!

2014-02-20 19:10 GMT+01:00 jbonofre [via Karaf]
:
> Hi Markus,
>
> the problem only occurs if cellar is a boot features right ? If you
> install cellar once Karaf is started, it works fine right ?
>
> I will try to reproduce and work on the issue.
>
> Thanks,
> Regards
> JB
>
> On 02/20/2014 06:49 PM, Markus Wolf wrote:
>
>> Hi Jean,
>>
>> unfortunately this does not work either. During startup this still
>> freezes and no other bundle will start neither autocomplete will work
>> in the console.
>>
>> Any more ideas?
>>
>>
>> Regards
>> Markus
>>
>> 2014-02-18 10:57 GMT+01:00 jbonofre [via Karaf]
>> <[hidden email]>:
>>> Hi Markus,
>>>
>>> I just deployed a new Cellar SNAPSHOT.
>>>
>>> Regards
>>> JB
>>>
>>> On 02/17/2014 11:21 AM, Markus Wolf wrote:
>>>
 Hi Jean-Baptiste,

 did you already upload a new SNAPSHOT? I could not find it under the
 given
 URL.

 Regards
 Markus



 --
 View this message in context:

 http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031747.html
>>>
 Sent from the Karaf - User mailing list archive at Nabble.com.

>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>>
>>> 
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>>
>>> http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031784.html
>>> To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled,
>>> click
>>> here.
>>> NAML
>>
>>
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> 
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031853.html
> To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled, click
> here.
> NAML



-- 
Markus Wolf, Technical Director

markus.w...@sinnerschrader.com
https://twitter.com/KnisterPeter
M +49 172 7393808
T +49 40 398855 324

SinnerSchrader Deutschland GmbH | SinnerSchrader Group
Völckersstraße 38, 22765 Hamburg, Germany

Amtsgericht Hamburg HRB-Nr. 63663
Geschäftsführer: Matthias Schrader (Sprecher), Holger Blank,
Thomas Dyckhoff, Dr. Lars Finke, Martin Gassner, Nils Wollny

Büros: Hamburg, Frankfurt a. M., München, Prag

http://www.sinnerschrader.com | Radical Relationships




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031854.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Karaf 2.3.3 custom dist with cellar preinstalled

2014-02-20 Thread Jean-Baptiste Onofré

Hi Markus,

the problem only occurs if cellar is a boot features right ? If you 
install cellar once Karaf is started, it works fine right ?


I will try to reproduce and work on the issue.

Thanks,
Regards
JB

On 02/20/2014 06:49 PM, Markus Wolf wrote:

Hi Jean,

unfortunately this does not work either. During startup this still
freezes and no other bundle will start neither autocomplete will work
in the console.

Any more ideas?


Regards
Markus

2014-02-18 10:57 GMT+01:00 jbonofre [via Karaf]
:

Hi Markus,

I just deployed a new Cellar SNAPSHOT.

Regards
JB

On 02/17/2014 11:21 AM, Markus Wolf wrote:


Hi Jean-Baptiste,

did you already upload a new SNAPSHOT? I could not find it under the given
URL.

Regards
Markus



--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031747.html



Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com



If you reply to this email, your message will be added to the discussion
below:
http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031784.html
To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled, click
here.
NAML






--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Karaf 2.3.3 custom dist with cellar preinstalled

2014-02-20 Thread Markus Wolf
Hi Jean,

unfortunately this does not work either. During startup this still
freezes and no other bundle will start neither autocomplete will work
in the console.

Any more ideas?


Regards
Markus

2014-02-18 10:57 GMT+01:00 jbonofre [via Karaf]
:
> Hi Markus,
>
> I just deployed a new Cellar SNAPSHOT.
>
> Regards
> JB
>
> On 02/17/2014 11:21 AM, Markus Wolf wrote:
>
>> Hi Jean-Baptiste,
>>
>> did you already upload a new SNAPSHOT? I could not find it under the given
>> URL.
>>
>> Regards
>> Markus
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031747.html
>
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> 
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031784.html
> To unsubscribe from Karaf 2.3.3 custom dist with cellar preinstalled, click
> here.
> NAML



-- 
Markus Wolf, Technical Director

markus.w...@sinnerschrader.com
https://twitter.com/KnisterPeter
M +49 172 7393808
T +49 40 398855 324

SinnerSchrader Deutschland GmbH | SinnerSchrader Group
Völckersstraße 38, 22765 Hamburg, Germany

Amtsgericht Hamburg HRB-Nr. 63663
Geschäftsführer: Matthias Schrader (Sprecher), Holger Blank,
Thomas Dyckhoff, Dr. Lars Finke, Martin Gassner, Nils Wollny

Büros: Hamburg, Frankfurt a. M., München, Prag

http://www.sinnerschrader.com | Radical Relationships




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-2-3-3-custom-dist-with-cellar-preinstalled-tp4031591p4031852.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Trouble turning on logging for apache httpClient?

2014-02-20 Thread Achim Nierbeck
Hi,

could you give us the complete config

thanks, Achim


2014-02-20 1:14 GMT+01:00 toomanyedwards :

> Hi all,
>   We are having issues with a camel route deployed in Karaf that we believe
> are due to the connection pooling settings of the apache httpClient used by
> the Camel http component.  To validate this, we'd like to able to turn on
> logging for the apache httpClient used by camel.  I have edited the karaf
> org.ops4j.pax.logging.cfg file to turn on logging for org.apache.http using
> the following:
>
> log4j.logger.org.apache.http=TRACE, out
>
> , but am still not seeing anything for this in the logs.  Am I missing
> something here?  Is there extra config I need to get this working in Karaf?
> Any pointers are appreciated.  Thanks!
>
>
>
> -e
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Trouble-turning-on-logging-for-apache-httpClient-tp4031841.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
OPS4J Pax for Vaadin 
Commiter & Project Lead
blog 


Re: Persistent JNDI names / aliases

2014-02-20 Thread Jean-Baptiste Onofré

Hi Christina,

The JNDI context is for now in-memory (using xbean-naming). It means 
that jndi:name/jndi:bind are not persistent when you restart.


I plan to implement a properties persistence adapter (AFAIR, I created a 
Jira assigned to me).


On the other hand, the JNDI names defined as OSGi service properties are 
persistent.


Regards
JB

On 02/20/2014 09:13 AM, christina wrote:

I am creating a JNDI alias in Karaf using the jndi:alias command and have
noticed that this alias is not persistent between Karaf restarts. The same
is true when using the jndi:bind command to directly bind an OSGi service to
the JNDI context. I assume that this is because the underlying OSGi service
is un-registered and re-registered in the meantime, but I would expect to be
somehow able to bind OSGi services to the JNDI in a persistent way since
otherwise I can't really use the JNDI asmy service won't be there after
restarting Karaf. Am I perhaps missing something? Is there a way to create a
JNDI alias in a persistent way?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Persistent-JNDI-names-aliases-tp4031846.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Persistent JNDI names / aliases

2014-02-20 Thread christina
I am creating a JNDI alias in Karaf using the jndi:alias command and have
noticed that this alias is not persistent between Karaf restarts. The same
is true when using the jndi:bind command to directly bind an OSGi service to
the JNDI context. I assume that this is because the underlying OSGi service
is un-registered and re-registered in the meantime, but I would expect to be
somehow able to bind OSGi services to the JNDI in a persistent way since
otherwise I can't really use the JNDI asmy service won't be there after
restarting Karaf. Am I perhaps missing something? Is there a way to create a
JNDI alias in a persistent way?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Persistent-JNDI-names-aliases-tp4031846.html
Sent from the Karaf - User mailing list archive at Nabble.com.