You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ma...@apache.org on 2007/08/20 12:22:52 UTC

svn commit: r567638 - in /openejb/trunk/openejb3/server/openejb-server: ./ src/main/java/org/apache/openejb/server/ src/main/resources/org/ src/main/resources/org/apache/ src/main/resources/org/apache/openejb/ src/main/resources/org/apache/openejb/server/

Author: manugeorge
Date: Mon Aug 20 03:22:52 2007
New Revision: 567638

URL: http://svn.apache.org/viewvc?rev=567638&view=rev
Log:
fix for jira OPENEJB 666

Added:
    openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/
    openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/
    openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/
    openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/
    openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/Messages.properties
Modified:
    openejb/trunk/openejb3/server/openejb-server/pom.xml
    openejb/trunk/openejb3/server/openejb-server/src/main/java/org/apache/openejb/server/Main.java

Modified: openejb/trunk/openejb3/server/openejb-server/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-server/pom.xml?rev=567638&r1=567637&r2=567638&view=diff
==============================================================================
--- openejb/trunk/openejb3/server/openejb-server/pom.xml (original)
+++ openejb/trunk/openejb3/server/openejb-server/pom.xml Mon Aug 20 03:22:52 2007
@@ -31,6 +31,13 @@
   <artifactId>openejb-server</artifactId>
   <packaging>jar</packaging>
   <name>OpenEJB :: Server :: Core</name>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+    </resources>    
+  </build>
   <dependencies>
     <dependency>
       <groupId>org.apache.openejb</groupId>

Modified: openejb/trunk/openejb3/server/openejb-server/src/main/java/org/apache/openejb/server/Main.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-server/src/main/java/org/apache/openejb/server/Main.java?rev=567638&r1=567637&r2=567638&view=diff
==============================================================================
--- openejb/trunk/openejb3/server/openejb-server/src/main/java/org/apache/openejb/server/Main.java (original)
+++ openejb/trunk/openejb3/server/openejb-server/src/main/java/org/apache/openejb/server/Main.java Mon Aug 20 03:22:52 2007
@@ -64,8 +64,8 @@
             Map<String, Properties> serviceEntries = finder.mapAvailableProperties(ServerService.class.getName());
             services = serviceEntries.keySet();
             for (String service : services) {
-                options.addOption(option(null, service+"-port", "int", "cmd.start.opt.port", service));
-                options.addOption(option(null, service+"-bind", "host", "cmd.start.opt.bind", service));
+                options.addOption(option(null, service+"-port", "int", "cmd.start.opt."+service+".port", service));
+                options.addOption(option(null, service+"-bind", "host", "cmd.start.opt."+service+".bind", service));
             }
         } catch (IOException e) {
             services = Collections.EMPTY_SET;

Added: openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/Messages.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/Messages.properties?rev=567638&view=auto
==============================================================================
--- openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/Messages.properties (added)
+++ openejb/trunk/openejb3/server/openejb-server/src/main/resources/org/apache/openejb/server/Messages.properties Mon Aug 20 03:22:52 2007
@@ -0,0 +1,63 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# $Id: Messages.properties 494654 2007-01-09 23:45:36Z dain $
+#
+cmd.start.description = The start command is used to start the OpenEJB server. It has a number of options. These options are described below.
+cmd.start.opt.conf = Sets the OpenEJB configuration to the specified file.
+cmd.start.opt.version = Prints the Version Information of the OpenEJB Runtime.
+cmd.start.opt.activemq.bind = Binds the Embedded AMQ service to the specified host address. 
+cmd.start.opt.activemq.port = Binds the Embedded AMQ service to the specified port.
+cmd.start.opt.admin.bind = Binds the OpenEJB admin service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.admin.port = Binds the OpenEJB admin service to the specified port. Default port is 4200.   
+cmd.start.opt.derbynet.bind = Binds the Embedded Derby service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.derbynet.port = Binds the Embedded Derby service to the specified port.
+cmd.start.opt.ejbd.bind = Binds the Remote Server to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.ejbd.port = Binds the Remote Server to the specified port. Default port is 4201.
+cmd.start.opt.examples = Show examples of how to use the options.
+cmd.start.opt.help = Print this help message.
+cmd.start.opt.hsql.bind = Binds the embedded HSQL DB service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.hsql.port = Binds the embedded HSQL DB service to the specified port. Default port is 9001.
+cmd.start.opt.httpejbd.bind = Binds the EJB over HTTP service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.httpejbd.port = Binds the EJB over HTTP service to the specified port. Default port is 4204.
+cmd.start.opt.localCopy = Instructs the container system to marshal (ie, copy) all calls between beans.
+cmd.start.opt.telnet.bind = Binds the telnet administration service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.telnet.port = Binds the telnet administration service to the specified Port. Default port is 4202.
+cmd.start.opt.webadmin.bind = Binds the Web based administration service to the specified host address. Default host address is 0.0.0.0.
+cmd.start.opt.webadmin.port = Binds the Web based administration service to the specified Port.
+
+
+The class specified, {2}, does not implement the {3} interface.  Please check the configuration of {1}.
+
+
+ejbdaemon.startup         ----------------STARTUP----------------\n[init] OpenEJB Container System
+
+service.not.loaded      Service {0} failed to load. {1}
+
+# Service property messages
+service.missing.property        Cannot find the required property -{0}- in the service config {1}.
+service.invalid.property        Invalid value for property {0} in the service config {1}.
+
+# Service class messages
+service.no.class        Cannot find the service class {0}.
+service.bad.impl        The class specified, {0}, does not implement the {1} interface.
+
+#Service creation messages
+service.instantiation.err        Cannot instantiate the service class {0}. Received error: {1} {2}
+service.initialization.err       The service class {0} failed to initialize.
+
+