alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (sunorb.properties)

This example Java source code file (sunorb.properties) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

general, gnu, initial, java, license, name, oracle, orbd, orbinitialhost, orbinitialport, public, this, usa

The sunorb.properties Java example source code

#
# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

orbd.usage=Usage: {0} <options> \
\n\
\nwhere <options> includes:\
\n  -port                  Activation Port where the ORBD should be started, default 1049 (optional)\
\n  -defaultdb             Directory for ORBD files, default "./orb.db" (optional)\
\n  -serverid              Server Id for ORBD, default 1 (optional)\
\n  -ORBInitialPort        Initial Port (required)\
\n  -ORBInitialHost        Initial HostName (required)\
\n\


servertool.usage=Usage: {0} <options> \
\n\
\nwhere <options> includes:\
\n  -ORBInitialPort        Initial Port (required)\
\n  -ORBInitialHost        Initial HostName (required)\
\n\

servertool.banner=\
\n\
\nWelcome to the Java IDL Server Tool \
\nplease enter commands at the prompt \
\n\

servertool.shorthelp=\
\n\
\n\tAvailable Commands: \
\n\t------------------- \
\n\

servertool.baddef=Bad server definition: {0}
servertool.nosuchserver=\tno such server found.
servertool.helddown=\tserver is held down.
servertool.nosuchorb=\tinvalid ORB.
servertool.serverup=\tserver is already up.
servertool.appname=\tapplicationName     - {0}
servertool.name=\tname      - {0}
servertool.classpath=\tclasspath - {0}
servertool.args=\targs      - {0}
servertool.vmargs=\tvmargs    - {0}
servertool.serverid=\tserver id - {0}
servertool.servernotrunning=\tserver is not running.
servertool.register=\
\n\
\n\tregister -server <server class name> \
\n\t         -applicationName <alternate server name> \
\n\t         -classpath <classpath to server> \
\n\t         -args <args to server> \
\n\t         -vmargs <args to server Java VM>\
\n\

servertool.register1=register an activatable server
servertool.register2=\tserver registered (serverid = {0}).
servertool.register3=\tserver registerd but held down (serverid = {0}).
servertool.register4=\tserver already registered (serverid = {0}).

servertool.unregister=\
\n\tunregister [ -serverid <server id> | -applicationName  ] \
\n\

servertool.unregister1=unregister a registered server
servertool.unregister2=\tserver unregistered.

servertool.locate=\
\n\tlocate [ -serverid <server id> | -applicationName  ] [ <-endpointType  ] \
\n\

servertool.locate1=locate ports of specific type for a registered server
servertool.locate2=\
\n\
\n\tHost Name {0} \
\n\
\n\t\tPort\t\tPort Type\t\tORB Id\
\n\t\t----\t\t---------\t\t------\
\n\

servertool.locateorb=\
\n\tlocateperorb [ -serverid <server id> | -applicationName  ] [ -orbid  ]\
\n\

servertool.locateorb1=locate ports for a specific orb of registered server
servertool.locateorb2=\
\n\
\n\tHost Name {0} \
\n\
\n\t\tPort\t\tPortType\t\tORB Id\
\n\t\t----\t\t--------\t\t------\
\n\

servertool.getserverid=\n\tgetserverid [ -applicationName <name> ] \
\n\

servertool.getserverid1=return the server id for an applicationName
servertool.getserverid2=\tServer ID for applicationName {0} is {1}

servertool.list=\n\tlist\
\n\

servertool.list1=list all registered servers
servertool.list2=\
\n\tServer Id\tServer Class Name\t\tServer Application\
\n\t---------\t-----------------\t\t------------------\
\n\

servertool.listactive=\n\tlistactive
servertool.listactive1=list currently active servers
servertool.listappnames=\tlistappnames\n
servertool.listappnames1=list applicationNames currently defined
servertool.listappnames2=Currently defined server applicationNames:

servertool.shutdown=\
\n\tshutdown [ -serverid <server id> | -applicationName  ]\
\n\

servertool.shutdown1=shutdown a registered server
servertool.shutdown2=\tserver sucessfully shutdown.
servertool.startserver=\
\n\tstartup [ -serverid <server id> | -applicationName  ]\
\n\

servertool.startserver1=start a registered server
servertool.startserver2=\tserver sucessfully started up.

servertool.quit=\n\tquit\n
servertool.quit1=quit this tool

servertool.help=\thelp\
\n\tOR\
\n\thelp <command name>\
\n\

servertool.help1=get help

servertool.orbidmap=\tUsage: orblist [ -serverid <server id> | -applicationName  ]\
\n\

servertool.orbidmap1=list of orb names and their mapping
servertool.orbidmap2=\
\n\tORB Id\t\tORB Name\
\n\t------\t\t--------\
\n\

pnameserv.success=Persistent NameServer Started Successfully


bootstrap.usage=Usage: {0} <options> \
\n\
\nwhere <options> includes:\
\n  -ORBInitialPort        Initial Port (required)\
\n  -InitialServicesFile   File containing list of initial services (required)\
\n\

bootstrap.success=setting port to {0} and reading services from {1}
bootstrap.filenotreadable=the file {0} is not readable
bootstrap.filenotfound=the file {0} not found
bootstrap.exception=caught exception while saving Properties to file {0}: Exception {1}

tnameserv.exception=caught an exception while starting the bootstrap service on port {0}
tnameserv.usage=try using a different port with commandline arguments -ORBInitialPort <portno>
tnameserv.invalidhostoption=ORBInitialHost is not a valid option for NameService
tnameserv.orbinitialport0=ORBInitialPort 0 is not valid option for NameService
tnameserv.hs1=Initial Naming Context:\n{0}
tnameserv.hs2=TransientNameServer: setting port for initial object references to: {0}
tnameserv.hs3=Ready.

orbd.commfailure=\nFailed to start ORBD because ORBinitialPort is already in use
orbd.internalexception=\nFailed to start ORBD because of an Internal Exception. \nPossible Causes: \n1. Specified ORBInitialPort or ORBActivationPort is already in use \n2. No Write Permission to write orb.db 

Other Java examples (source code examples)

Here is a short list of links related to this Java sunorb.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.