Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
I don't understand what you mean and I don't see anything in the article you reference that relates to why we would change the port from 1099. Could you explain? AFAIK the only use we make of rmi is for jmx remoting for jsr88 deployment stuff. Is there some other use I'm not aware of? thanks david jencks On Apr 11, 2007, at 8:43 PM, Anita Kulshreshtha wrote: In short, 1099 must be available to start other instances of geronimo. http://www.developer.com/java/ent/article.php/3455311 Thanks Anita --- Jason Dillon [EMAIL PROTECTED] wrote: Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25: PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; + public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/ OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java (original) +++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Wed Apr 11 18:42:13 2007 @@ -95,6 +95,7 @@ this.classLoader = classLoader;
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
I had raised this issue earlier: http://www.nabble.com/Can-RMI-Naming-Port-be-1099--tf3454855s134.html#a9638251 I have not found a satisfactory explanation of this phenomenon... Does anyone have any ideas? Thanks Anita --- David Jencks [EMAIL PROTECTED] wrote: I don't understand what you mean and I don't see anything in the article you reference that relates to why we would change the port from 1099. Could you explain? AFAIK the only use we make of rmi is for jmx remoting for jsr88 deployment stuff. Is there some other use I'm not aware of? thanks david jencks On Apr 11, 2007, at 8:43 PM, Anita Kulshreshtha wrote: In short, 1099 must be available to start other instances of geronimo. http://www.developer.com/java/ent/article.php/3455311 Thanks Anita --- Jason Dillon [EMAIL PROTECTED] wrote: Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25: PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; +public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
--- Donald Woods [EMAIL PROTECTED] wrote: And how does the portOffset relate to this? If you start with 1098, isn't the next server instance going to use 1099 and the next one 1100? If so, why not start with 1099 and let the next one use 1100 and then 1101? It's not clear to me either why the RMI port default needs to be changed Do we not want one RMI registry to be shared by all server instances? The portoffset should be chosen such that there are no port conflicts. Which will rule out portOffset=1. Usually portOffsets are chosen 100, 200,.. or 1000, 2000, etc. For current port assignments 10,20,30... should also work. I have tested with 10. Thanks Anita Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
This change has completely broken the ability to run any of the TCK interoperability tests. Rick Anita Kulshreshtha wrote: --- Donald Woods [EMAIL PROTECTED] wrote: And how does the portOffset relate to this? If you start with 1098, isn't the next server instance going to use 1099 and the next one 1100? If so, why not start with 1099 and let the next one use 1100 and then 1101? It's not clear to me either why the RMI port default needs to be changed Do we not want one RMI registry to be shared by all server instances? The portoffset should be chosen such that there are no port conflicts. Which will rule out portOffset=1. Usually portOffsets are chosen 100, 200,.. or 1000, 2000, etc. For current port assignments 10,20,30... should also work. I have tested with 10. Thanks Anita Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
jaxws broke too On 4/12/07, Rick McGuire [EMAIL PROTECTED] wrote: This change has completely broken the ability to run any of the TCK interoperability tests. Rick Anita Kulshreshtha wrote: --- Donald Woods [EMAIL PROTECTED] wrote: And how does the portOffset relate to this? If you start with 1098, isn't the next server instance going to use 1099 and the next one 1100? If so, why not start with 1099 and let the next one use 1100 and then 1101? It's not clear to me either why the RMI port default needs to be changed Do we not want one RMI registry to be shared by all server instances? The portoffset should be chosen such that there are no port conflicts. Which will rule out portOffset=1. Usually portOffsets are chosen 100, 200,.. or 1000, 2000, etc. For current port assignments 10,20,30... should also work. I have tested with 10. Thanks Anita Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
On Apr 12, 2007, at 8:02 AM, Anita Kulshreshtha wrote: I had raised this issue earlier: http://www.nabble.com/Can-RMI-Naming-Port-be-1099-- tf3454855s134.html#a9638251 I have not found a satisfactory explanation of this phenomenon... Does anyone have any ideas? Hi Anita, I think we need a bit more information. From our IRC conversation, it sounds like port 1099 needs to call to LocateRegistry.createRegistry(port) Assume the following server instances on the same box: Server instance A with RMIRegistryService port set to 1079 Server instance B with RMIRegistryService port set to 1089 Server instance C with RMIRegistryService port defaulted to 1099 Server A is started. The server will start listening on port 1079, but will also temporarily start a server socket on port 1099. Server C is started. The server will start listening on port 1099. Server B cannot start. It get's an error trying to bind to port 1099. Is that accurate? As I mentioned earlier on IRC, I think we need to change the default port back to 1099. We can then work on getting this problem resolved... Thanks! --kevan
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
Kevan, From our IRC conversation, it sounds like port 1099 needs to call to LocateRegistry.createRegistry(port) Assume the following server instances on the same box: Server instance A with RMIRegistryService port set to 1079 Server instance B with RMIRegistryService port set to 1089 Server instance C with RMIRegistryService port defaulted to 1099 Server A is started. The server will start listening on port 1079, but will also temporarily start a server socket on port 1099. Server C is started. The server will start listening on port 1099. Server B cannot start. It get's an error trying to bind to port 1099. Is that accurate? This is correct. This is why no instance can use a RMIRegistryService port set to 1099. IIUC, 1099 must be available to all instances to start a temporary server socket. As I mentioned earlier on IRC, I think we need to change the default port back to 1099. We can then work on getting this problem resolved... I have reverted back to 1099 in rev 527918. Thanks Anita Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
--- Kevan Miller [EMAIL PROTECTED] wrote: On Apr 12, 2007, at 8:02 AM, Anita Kulshreshtha wrote: From our IRC conversation, it sounds like port 1099 needs to call to LocateRegistry.createRegistry(port) This is already being done in line 63. Should it be followed by this? UnicastRemoteObject.exportObject(registry, port); Thanks Anita Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/PlanNamingPort configs\pom.xml 63 25:PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo\deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system\properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo\deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/config-substitutions.properties?view=diffrev=527746r1=527745r2=527746 == --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 == --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; + public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746 == --- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java (original) +++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java Wed Apr 11 18:42:13 2007 @@ -95,6 +95,7 @@ this.classLoader = classLoader; System.setProperty(duct tape,); +System.setProperty(admin.disabled, true); SystemInstance systemInstance = SystemInstance.get(); String format = systemInstance.getProperty(openejb.deploymentId.format); smime.p7s Description: S/MIME Cryptographic Signature
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25:PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; + public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/ OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java (original) +++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Wed Apr 11 18:42:13 2007 @@ -95,6 +95,7 @@ this.classLoader = classLoader; System.setProperty(duct tape,); +System.setProperty(admin.disabled, true); SystemInstance systemInstance = SystemInstance.get(); String format = systemInstance.getProperty (openejb.deploymentId.format);
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
In short, 1099 must be available to start other instances of geronimo. http://www.developer.com/java/ent/article.php/3455311 Thanks Anita --- Jason Dillon [EMAIL PROTECTED] wrote: Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25: PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; + public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/ OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java (original) +++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Wed Apr 11 18:42:13 2007 @@ -95,6 +95,7 @@ this.classLoader = classLoader; System.setProperty(duct tape,); +System.setProperty(admin.disabled, true); SystemInstance systemInstance = SystemInstance.get(); String format =
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
I don't get it... if we change the port to 1098... how then does some other instance of Geronimo need 1099... and not 1098? Is there anything specific on the document you linked to which explains why we are changing the port? I quickly looked it over and nothing stands out as justification for us changing the defaults. --jason On Apr 11, 2007, at 8:43 PM, Anita Kulshreshtha wrote: In short, 1099 must be available to start other instances of geronimo. http://www.developer.com/java/ent/article.php/3455311 Thanks Anita --- Jason Dillon [EMAIL PROTECTED] wrote: Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25: PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; - public static final String DEFAULT_PORT = 1099; + public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/ OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java (original) +++ geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Wed Apr 11 18:42:13 2007 @@ -95,6 +95,7 @@ this.classLoader = classLoader;
Re: svn commit: r527746 - in /geronimo/server/trunk: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/config/ modules/geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ m
And how does the portOffset relate to this? If you start with 1098, isn't the next server instance going to use 1099 and the next one 1100? If so, why not start with 1099 and let the next one use 1100 and then 1101? It's not clear to me either why the RMI port default needs to be changed Do we not want one RMI registry to be shared by all server instances? -Donald Jason Dillon wrote: I don't get it... if we change the port to 1098... how then does some other instance of Geronimo need 1099... and not 1098? Is there anything specific on the document you linked to which explains why we are changing the port? I quickly looked it over and nothing stands out as justification for us changing the defaults. --jason On Apr 11, 2007, at 8:43 PM, Anita Kulshreshtha wrote: In short, 1099 must be available to start other instances of geronimo. http://www.developer.com/java/ent/article.php/3455311 Thanks Anita --- Jason Dillon [EMAIL PROTECTED] wrote: Why are we changing the port? --jason On Apr 11, 2007, at 7:33 PM, Donald Woods wrote: Don't the following need to be updated too, given they are used throughout the configs and assemblies? assemblies\pom.xml 42 25:PlanNamingPort1099/ PlanNamingPort configs\pom.xml 63 25: PlanNamingPort1099/PlanNamingPort Also, other references to 1099 in the source - modules\geronimo-deploy-jsr88\src\main\java\org\apache\geronimo \deployment\plugin\factories\BaseDeploymentFactory.java modules\geronimo-system\src\test\java\org\apache\geronimo\system \properties\NamingPropertiesTest.java User messages that should be updated - modules\geronimo-deploy-tool\src\main\java\org\apache\geronimo \deployment\cli\ServerConnection.java Are you going to update the 2.0 User Docs to correctly show 1098 as the new default port for the Deployer? http://cwiki.apache.org/GMOxDOC20/deployer-tool.html http://cwiki.apache.org/GMOxDOC20/shutdown.html -Donald [EMAIL PROTECTED] wrote: Author: akulshreshtha Date: Wed Apr 11 18:42:13 2007 New Revision: 527746 URL: http://svn.apache.org/viewvc?view=revrev=527746 Log: GERONIMO-3011 Change default RMINaming port to 1098 Added system property admin.disabled=true Removed PluginBootstrap, it was used by Maven1 build Removed: geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/PluginBootstrap.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java geronimo/server/trunk/modules/geronimo-openejb/src/main/java/ org/apache/geronimo/openejb/OpenEjbSystemGBean.java Modified: geronimo/server/trunk/assemblies/geronimo-boilerplate- minimal/src/main/resources/var/config/config-substitutions.properties URL: http://svn.apache.org/viewvc/geronimo/server/trunk/assemblies/ geronimo-boilerplate-minimal/src/main/resources/var/config/config- substitutions.properties?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties (original) +++ geronimo/server/trunk/assemblies/geronimo-boilerplate-minimal/ src/main/resources/var/config/config-substitutions.properties Wed Apr 11 18:42:13 2007 @@ -23,7 +23,7 @@ ## Try portOffset=10 #portOffset=0 PlanServerHostname=0.0.0.0 -PlanNamingPort=1099 +PlanNamingPort=1098 PlanOpenEJBPort=4201 PlanClientAddresses=127.0.0.1 PlanIIOPPort=9000 Modified: geronimo/server/trunk/modules/geronimo-deploy-tool/src/ main/java/org/apache/geronimo/deployment/cli/StopServer.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-deploy-tool/src/main/java/org/apache/geronimo/deployment/ cli/StopServer.java?view=diffrev=527746r1=527745r2=527746 = = --- geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java (original) +++ geronimo/server/trunk/modules/geronimo-deploy-tool/src/main/ java/org/apache/geronimo/deployment/cli/StopServer.java Wed Apr 11 18:42:13 2007 @@ -40,7 +40,7 @@ public static final String RMI_NAMING_CONFG_ID = org/apache/ geronimo/RMINaming; -public static final String DEFAULT_PORT = 1099; +public static final String DEFAULT_PORT = 1098; // 1099 is used by java.rmi.registry.Registry String port; Modified: geronimo/server/trunk/modules/geronimo-openejb/src/main/ java/org/apache/geronimo/openejb/OpenEjbSystemGBean.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/ geronimo-openejb/src/main/java/org/apache/geronimo/openejb/ OpenEjbSystemGBean.java?view=diffrev=527746r1=527745r2=527746