[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2009-01-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664596#action_12664596
 ] 

Hudson commented on ZOOKEEPER-234:
--

Integrated in ZooKeeper-trunk #198 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/198/])


> Eliminate using statics to initialize the sever.  Should allow server to be 
> more embeddable in OSGi enviorments.
> 
>
> Key: ZOOKEEPER-234
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
> Project: Zookeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Hiram Chirino
>Assignee: Patrick Hunt
> Fix For: 3.1.0
>
> Attachments: ZOOKEEPER-234_step1.patch, ZOOKEEPER-234_step3.patch
>
>
> Patrick request I open up this in issue in this [email 
> thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
> The main culprit I've noticed is:
> {code}
> ServerStats.registerAsConcrete();
> {code}
> But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2009-01-15 Thread Flavio Paiva Junqueira (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664125#action_12664125
 ] 

Flavio Paiva Junqueira commented on ZOOKEEPER-234:
--

+1. I have followed the steps Patrick describes, omitting of course the commit 
step. I have actually been able to connect using jconsole remotely, but in this 
case I had to use more parameters. Here is the command I used:

java -cp .:./zookeeper-dev.jar:/usr/local/apache-log4j-1.2.15/log4j-1.2.15.jar 
-Dlog4j.configuration=log4j_console.properties -Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=12122 
-Dcom.sun.management.jmxremote.local.only=false 
-Dcom.sun.management.jmxremote.authenticate=false 
org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg 

I'll open a jira to document these options upon Pat's request.

> Eliminate using statics to initialize the sever.  Should allow server to be 
> more embeddable in OSGi enviorments.
> 
>
> Key: ZOOKEEPER-234
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
> Project: Zookeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Hiram Chirino
>Assignee: Patrick Hunt
> Fix For: 3.1.0
>
> Attachments: ZOOKEEPER-234_step1.patch, ZOOKEEPER-234_step3.patch
>
>
> Patrick request I open up this in issue in this [email 
> thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
> The main culprit I've noticed is:
> {code}
> ServerStats.registerAsConcrete();
> {code}
> But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2009-01-13 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663566#action_12663566
 ] 

Patrick Hunt commented on ZOOKEEPER-234:


The two attached patches should be applied as follows:

apply the first patch "step 1"

then:

mkdir src/java/main/org/apache/zookeeper/jmx
svn add src/java/main/org/apache/zookeeper/jmx
svn mv src/java/jmx/org/apache/zookeeper/server/ManagedUtil.java 
src/java/main/org/apache/zookeeper/jmx/.
svn mv src/java/jmx/org/apache/zookeeper/jmx/*.java 
src/java/main/org/apache/zookeeper/jmx
svn mv src/java/jmx/org/apache/zookeeper/jmx/server/*.java 
src/java/main/org/apache/zookeeper/server/.
svn mv src/java/jmx/org/apache/zookeeper/jmx/server/quorum/*.java 
src/java/main/org/apache/zookeeper/server/quorum/.
svn rm --force src/java/jmx

then:

apply second patch "step 3"

after this process the src/java/jmx directory should be no longer

run "ant test" to verify. also start a zkserver as follows and verify that 
jconsole can connect:

java -cp zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar:conf 
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false  
org.apache.zookeeper.server.quorum.QuorumPeerMain zoo.cfg

then: commit to svn if tests/smoketest all pass



> Eliminate using statics to initialize the sever.  Should allow server to be 
> more embeddable in OSGi enviorments.
> 
>
> Key: ZOOKEEPER-234
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
> Project: Zookeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Hiram Chirino
>Assignee: Patrick Hunt
> Fix For: 3.1.0
>
> Attachments: ZOOKEEPER-234_step1.patch, ZOOKEEPER-234_step3.patch
>
>
> Patrick request I open up this in issue in this [email 
> thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
> The main culprit I've noticed is:
> {code}
> ServerStats.registerAsConcrete();
> {code}
> But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2008-12-08 Thread Patrick Hunt (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654711#action_12654711
 ] 

Patrick Hunt commented on ZOOKEEPER-234:


Currently slated for jan19th, see the ZOOKEEPER project page, the "releases" 
link (in the middle):

https://issues.apache.org/jira/browse/ZOOKEEPER?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab

you can also see it on the roadmap link on that same page.

> Eliminate using statics to initialize the sever.  Should allow server to be 
> more embeddable in OSGi enviorments.
> 
>
> Key: ZOOKEEPER-234
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
> Project: Zookeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Hiram Chirino
> Fix For: 3.1.0
>
>
> Patrick request I open up this in issue in this [email 
> thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
> The main culprit I've noticed is:
> {code}
> ServerStats.registerAsConcrete();
> {code}
> But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2008-12-08 Thread Krishna Sankar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654667#action_12654667
 ] 

Krishna Sankar commented on ZOOKEEPER-234:
--

Quick question : What is the approx time frame for 3.1.0 ?

> Eliminate using statics to initialize the sever.  Should allow server to be 
> more embeddable in OSGi enviorments.
> 
>
> Key: ZOOKEEPER-234
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
> Project: Zookeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Hiram Chirino
> Fix For: 3.1.0
>
>
> Patrick request I open up this in issue in this [email 
> thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
> The main culprit I've noticed is:
> {code}
> ServerStats.registerAsConcrete();
> {code}
> But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.