You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2007/05/15 23:01:36 UTC
svn commit: r538317 - in
/incubator/openejb/trunk/openejb3/container/openejb-core/src/main:
java/org/apache/openejb/OpenEJB.java
resources/org/apache/openejb/util/resources/Messages.properties
Author: jlaskowski
Date: Tue May 15 14:01:35 2007
New Revision: 538317
URL: http://svn.apache.org/viewvc?view=rev&rev=538317
Log:
Typo fix and @version $Rev$ $Date$
Modified:
incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java
incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/util/resources/Messages.properties
Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java?view=diff&rev=538317&r1=538316&r2=538317
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/OpenEJB.java Tue May 15 14:01:35 2007
@@ -16,23 +16,24 @@
*/
package org.apache.openejb;
+import java.util.Date;
+import java.util.Properties;
+
+import javax.transaction.TransactionManager;
+
import org.apache.openejb.loader.SystemInstance;
import org.apache.openejb.spi.ApplicationServer;
import org.apache.openejb.spi.Assembler;
import org.apache.openejb.spi.ContainerSystem;
import org.apache.openejb.spi.SecurityService;
-import org.apache.openejb.util.JarUtils;
import org.apache.openejb.util.Logger;
import org.apache.openejb.util.Messages;
-import org.apache.openejb.util.SafeToolkit;
import org.apache.openejb.util.OpenEjbVersion;
-import org.apache.openejb.core.ServerFederation;
-
-import javax.transaction.TransactionManager;
-import java.net.URL;
-import java.util.Date;
-import java.util.Properties;
+import org.apache.openejb.util.SafeToolkit;
+/**
+ * @version $Rev$ $Date$
+ */
public final class OpenEJB {
private static Instance instance;
@@ -273,7 +274,7 @@
*/
public static void init(Properties initProps, ApplicationServer appServer) throws OpenEJBException {
if (isInitialized()) {
- String msg = messages.message("startup.alreadyInitialzied");
+ String msg = messages.message("startup.alreadyInitialized");
logger.i18n.error(msg);
throw new OpenEJBException(msg);
} else {
Modified: incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/util/resources/Messages.properties
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/util/resources/Messages.properties?view=diff&rev=538317&r1=538316&r2=538317
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/util/resources/Messages.properties (original)
+++ incubator/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/util/resources/Messages.properties Tue May 15 14:01:35 2007
@@ -14,8 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+# $Rev$ $Date$
+#
startup.banner=\n********************************************************************************\nOpenEJB {0}\nStartup: {1}\n{2}\nVersion: {3}\nBuild date: {4}\nBuild time: {5}\n********************************************************************************\n\n
-startup.alreadyInitialzied=Cannot initialize OpenEJB a second time in the same VM.
+startup.alreadyInitialized=Cannot initialize OpenEJB the second time in the same VM.
startup.noSecurityManagerInstalled=No SecurityManager installed. Installing default.
startup.couldNotInstalllDefaultSecurityManager=Could not install default SecurityManager: {0}: {1}
startup.noInitializationProperties=No initialization properties were passed in, using system properties instead.