[jboss-svn-commits] JBL Code SVN: r31262 - in labs/jbosstm/trunk/ArjunaJTS/jacorb: lib and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jan 27 13:21:32 EST 2010
Author: jhalliday
Date: 2010-01-27 13:21:31 -0500 (Wed, 27 Jan 2010)
New Revision: 31262
Added:
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc_pre.bat
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-jmx.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-xdoclet.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/conformance.txt
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/findbugs-ruleset.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_jar.manifest
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_properties.template
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/logging_properties.template
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/orb.properties
labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/pmd-ruleset.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-api-1.5.6.jar
labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-jdk14-1.5.6.jar
labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/wrapper.dll
Log:
Upgrade JacORB to 2.3.1.p1 JBTM-691
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1 @@
+ANT_OPTS=-mx48m
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc_pre.bat
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc_pre.bat (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc_pre.bat 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1 @@
+set ANT_OPTS=-mx48m
Property changes on: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/antrc_pre.bat
___________________________________________________________________
Name: svn:executable
+ *
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-jmx.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-jmx.xml (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-jmx.xml 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,53 @@
+<property file="${basedir}/build.properties" />
+<property environment="env" />
+
+<target name="jmx.locate-jboss" unless="jboss.home" if="env.JBOSS_HOME" >
+ <property name="jboss.home" value="${env.JBOSS_HOME}" />
+ <echo level="verbose" message="set jboss.home to ${jboss.home}" />
+</target>
+
+<target name="jmx.fail-jboss" unless="jboss.home" >
+ <echo message="unable to locate JBoss. Either add jboss.home=... to ${basedir}/build.properties, invoke ant with -Djboss.home=... or set the environment variable JBOSS_HOME=..." />
+ <path id="path.jboss" />
+</target>
+
+<target name="jmx.locate-mx4j" unless="mx4j.home" if="env.MX4J.HOME" >
+ <property name="mx4j.home" value="${env.MX4J_HOME}" />
+ <echo level="verbose" message="set mx4j.home to ${mx4j.home}" />
+</target>
+
+<target name="jmx.fail-mx4j" unless="mx4j.home" >
+ <echo message="unable to locate MX4J. Either add mx4j.home=... to ${basedir}/build.properties, invoke ant with -Dmx4j.home=... or set the environment variable MX4J_HOME=..." />
+ <path id="path.mx4j" />
+</target>
+
+<target name="jmx.init-jboss" if="jboss.home" >
+ <path id="path.jboss" >
+ <pathelement location="${jboss.home}/lib/jboss-system.jar" />
+ <pathelement location="${jboss.home}/lib/jboss-jmx.jar" />
+ <pathelement location="${jboss.home}/lib/jboss-common.jar" />
+ <pathelement location="${jboss.home}/lib/dom4j.jar" />
+ <pathelement location="${jboss.home}/server/all/lib/avalon-framework.jar" />
+ <pathelement location="${jboss.home}/server/all/lib/jboss-iiop.jar" />
+ </path>
+
+ <property name="jboss.dir.deploy" value="${jboss.home}/server/all/deploy" />
+ <property name="jboss.dir.lib" value="${jboss.home}/server/all/lib" />
+</target>
+
+<target name="jmx.init-mx4j" if="mx4j.home" >
+ <path id="path.mx4j" >
+ <pathelement location="${mx4j.home}/lib/mx4j.jar" />
+ </path>
+</target>
+
+<target name="jmx.init" depends="jmx.locate-jboss, jmx.fail-jboss, jmx.init-jboss, jmx.locate-mx4j, jmx.fail-mx4j, jmx.init-mx4j" />
+
+<target name="jmx.verify-classpath" depends="jmx.init"
+ description="Outputs the classpath that will be used for compilation of JacORB">
+ <pathconvert property="_cp.jboss" refid="path.jboss" pathsep="${line.separator}" />
+ <echo message="JBoss Classpath:${line.separator}${_cp.jboss}"/>
+ <echo />
+ <pathconvert property="_cp.mx4j" refid="path.mx4j" pathsep="${line.separator}" />
+ <echo message="MX4J Classpath:${line.separator}${_cp.mx4j}" />
+</target>
\ No newline at end of file
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-xdoclet.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-xdoclet.xml (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common-xdoclet.xml 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,46 @@
+<property name="dir.xdoclet" value="${basedir}/lib/build" />
+
+<path id="path.xdoclet" >
+ <fileset dir="${dir.xdoclet}" >
+ <include name="*.jar" />
+ </fileset>
+
+ <pathelement location="${basedir}/classes"/>
+ <pathelement location="${basedir}/lib/slf4j-api-1.5.6.jar"/>
+</path>
+
+<target name="xdoclet.init-jmx" depends="init" >
+
+ <taskdef name="jmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask">
+ <classpath refid="path.xdoclet"/>
+ </taskdef>
+
+ <macrodef name="jacorb-jmxgen" >
+ <attribute name="destdir" default="${src}/generated" />
+ <attribute name="srcdir" default="${src}" />
+ <element name="files" />
+ <element name="tasks" />
+
+ <sequential>
+ <jmxdoclet destdir="@{destdir}" force="false" verbose="true" excludedtags="author, version">
+ <fileset dir="@{srcdir}">
+ <files />
+ </fileset>
+
+ <tasks />
+
+ <!-- Generate the mlet file -->
+ <!--
+ <mlet destinationFile="mbeans.mlet" destdir="${basedir}/conf"/>
+ -->
+ </jmxdoclet>
+ </sequential>
+ </macrodef>
+</target>
+
+
+<target name="xdoclet.init-xdoclet" >
+ <taskdef name="xdoclet" classname="xdoclet.DocletTask">
+ <classpath refid="path.xdoclet" />
+ </taskdef>
+</target>
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common.xml (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/common.xml 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,159 @@
+
+<!-- This is a common initialization file for JacORB -->
+<!-- -->
+<!-- This should not be called directly; instead it -->
+<!-- should be included with '&common;' syntax. -->
+
+<target name="base-init" >
+ <property name="dirs.base" value="${basedir}"/>
+ <property name="src" value="${dirs.base}/src"/>
+ <property name="src.generated" value="${src}/generated" />
+ <property name="lib" value="${dirs.base}/lib"/>
+ <property name="idl" value="${dirs.base}/idl"/>
+</target>
+
+<target name="set-architecture" >
+ <condition property="architecture" value="windows">
+ <or>
+ <os family="windows"/>
+ <os family="dos"/>
+ </or>
+ </condition>
+ <property name="architecture" value="unix"/>
+</target>
+
+<!-- Call base-init first. The regression tests call this but -->
+<!-- have their own base-init -->
+<target name="init" depends="base-init, set-architecture">
+ <property name="debug" value="true"/>
+
+ <!-- This value only used under Ant 1.5 -->
+ <property name="debuglevel" value="lines,source"/>
+
+ <!-- Location of the compiled classes -->
+ <pathconvert property="classdir" targetos="${architecture}">
+ <path>
+ <pathelement location="${dirs.base}/classes"/>
+ </path>
+ </pathconvert>
+
+ <path id="path.base" >
+<!-- <pathelement location="${dirs.base}/classes"/> -->
+ <pathelement location="${basedir}/classes"/>
+
+ <!-- include all jars located in lib except the jacorb.jar -->
+ <fileset dir="${basedir}/lib" >
+ <include name="*.jar" />
+ <exclude name="jacorb.jar" />
+ <exclude name="idl.jar" />
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ <pathelement path="${sun.boot.class.path}"/>
+ </path>
+
+ <path id="sourcepath.base">
+ <pathelement location="${src}" />
+ <pathelement location="${src.generated}" />
+ </path>
+
+ <mkdir dir="${classdir}"/>
+ <mkdir dir="${src}/generated"/>
+ <filter token="path" value="basedir"/>
+
+ <property name="java-source-version" value="1.5"/>
+
+ <!-- = = = = = = = = = = = = = = = = =
+ macrodef: jacorb-javac
+ = = = = = = = = = = = = = = = = = -->
+ <macrodef name="jacorb-javac">
+ <attribute name="javac-includes" />
+ <attribute name="javac-encoding" default="ISO-8859-1" />
+ <attribute name="javac-excludes" default="" />
+ <attribute name="javac-src" default="${src}" />
+ <attribute name="javac-sourcepath" default="sourcepath.base" />
+ <attribute name="javac-classpathref" default="path.base" />
+ <element name="javac-bootclasspath" optional="true" />
+
+ <sequential>
+ <echo message="Compiling for ${ant.project.name} (JDK v${java-source-version})"/>
+
+ <javac srcdir="@{javac-src}"
+ encoding="@{javac-encoding}"
+ destdir="${classdir}"
+ debug="${debug}"
+ classpathref="@{javac-classpathref}"
+ debuglevel="${debuglevel}"
+ sourcepathref="@{javac-sourcepath}"
+ includes="@{javac-includes}"
+ excludes="@{javac-excludes}"
+ source="${java-source-version}"
+ target="${java-source-version}" >
+ <src path="@{javac-src}" />
+ <src path="${src.generated}" />
+ </javac>
+ </sequential>
+ </macrodef>
+</target>
+
+<target name="whats-my-classpath" depends="init"
+ description="Outputs the classpath that will be used for compilation of JacORB">
+ <pathconvert property="_classpath" refid="path.base" pathsep="${line.separator}" />
+ <echo message="Classpath:${line.separator}${_classpath}"/>
+ <echo />
+ <pathconvert property="_sourcepath" refid="sourcepath.base" pathsep="${line.separator}" />
+ <echo message="Sourcepath:${line.separator}${_sourcepath}" />
+</target>
+
+<target name="load-taskdef" depends="init">
+ <taskdef name="jacidl" classname="org.jacorb.idl.JacIDL" classpathref="path.base"/>
+</target>
+
+
+<target name="check-src" unless="javac-src">
+ <property name="javac-src" value="${src}"/>
+</target>
+
+
+<target name="check-excludes" unless="javac-excludes">
+ <property name="javac-excludes" value=""/>
+</target>
+
+
+<target name="check-includes" unless="javac-includes">
+ <fail message="Pass javac-includes to target"/>
+</target>
+
+
+<target name="check-sourcepath" depends="init" unless="javac-sourcepath">
+ <property name="javac-sourcepath" value="sourcepath.base" />
+</target>
+
+
+<!-- This target is a compatibility wrapper to allow either -->
+<!-- a Ant 14 or Ant -->
+<!-- 15 to be used. Optional parameters are: -->
+<!-- javac-src Defaults to ${src} -->
+<!-- javac-excludes For file selection; defaults to '' -->
+<!-- javac-sourcepath Compile Option Sourcepath; defaults to '' -->
+<!-- javac-classpathref Classpath Ref; defaults to path.base -->
+<!-- Mandatory parameter is: -->
+<!-- javac-includes Specifies which files to compile. -->
+<!-- -->
+<target name="jacorb-javac" depends="check-includes,check-sourcepath,check-src,check-excludes">
+ <jacorb-javac javac-src="${javac-src}"
+ javac-classpathref="path.base"
+ javac-sourcepath="${javac-sourcepath}"
+ javac-includes="${javac-includes}"
+ javac-excludes="${javac-excludes}">
+ </jacorb-javac>
+</target>
+
+
+<target name="visualize-ant-dependencies" description="run Grand to visualize the ant target dependencies" >
+ <available file="${basedir}/lib/build/grand.jar" property="available.grand" />
+ <fail unless="available.grand" message="Download grand.jar from http://www.ggtools.net/grand/ and put it into ${basedir}/lib/build" />
+ <typedef resource="net/ggtools/grand/antlib.xml" classpath="${basedir}/lib/build/grand.jar" />
+ <mkdir dir="${basedir}/build" />
+ <grand output="${basedir}/build/${ant.project.name}-ant.dot" />
+ <echo message="wrote ${basedir}/build/${ant.project.name}-ant.dot" />
+</target>
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/conformance.txt
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/conformance.txt (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/conformance.txt 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,20 @@
+List of JacORB modules and the Specification versions that they are
+aimed at. Please edit!
+
+$Id: conformance.txt,v 1.4 2004-01-30 15:20:49 alphonse.bendt Exp $
+-------------------------------------------------------------------
+
+
+IDL language mapping : 2.3-2.x
+ORB interface : 2.3, partial ???
+POA : 2.3
+AMI : 3.0?
+ETF : 3.0?
+SAS : 3.0 Conformance Levels 0, 1 (partial), 2 (partial)
+PI : pre-something
+Security : Security Service 1.4? (partial)
+...
+
+INaming Service : 1.1?
+Notification Svc : 1.0.1
+...
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/findbugs-ruleset.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/findbugs-ruleset.xml (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/findbugs-ruleset.xml 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,11 @@
+
+
+<FindBugsFilter>
+ <Match classregex="org\.jacorb\.poa\.gui\..*"/>
+ <!-- Exclude tracing as very old unsupported code -->
+ <Match classregex="org\.jacorb\.util\.tracing\..*"/>
+
+ <Match classregex=".*">
+ <BugPattern name="DLS_DEAD_LOCAL_STORE"/>
+ </Match>
+</FindBugsFilter>
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_jar.manifest
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_jar.manifest (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_jar.manifest 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Class-Path:
+ slf4j-api-1.5.6.jar
+ slf4j-jdk14-1.5.6.jar
+ concurrent-1.3.2.jar
+ antlr-2.7.2.jar
+
+
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_properties.template
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_properties.template (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/jacorb_properties.template 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,806 @@
+##
+## JacORB configuration options
+##
+
+########################################
+# #
+# Initial references configuration #
+# #
+########################################
+
+#
+# URLs where IORs are stored (used in orb.resolve_initial_service())
+# DO EDIT these! (Only those that you are planning to use,
+# of course ;-).
+#
+# The ORBInitRef references are created on ORB startup time. In the
+# cases of the services themselves, this may lead to exceptions being
+# displayed (because the services aren't up yet). These exceptions
+# are handled properly and cause no harm!
+
+#ORBInitRef.NameService=corbaloc::160.45.110.41:38693/StandardNS/NameServer-POA/_root
+#ORBInitRef.NameService=file:/c:/NS_Ref
+ORBInitRef.NameService=http://www.x.y.z/~user/NS_Ref
+#ORBInitRef.TradingService=http://www.x.y.z/~user/TraderRef
+ORBInitRef.InterfaceRepository=file:/c:/IR_Ref
+
+########################################
+# #
+# Export of corbaloc IORs #
+# #
+########################################
+
+# allow for more readable corbaloc URLs by mapping the
+# actual object key to an arbitrary string. The mapping
+# below would permit clients of a name service to
+# access it using corbaloc::ipaddress:portnum/NameService
+# Note: it is NOT necessary to define this property for
+# the name service here because this is done already in the
+# code of the ns implementation.
+# This mapping can be altered programatically by the proprietary
+# function ORB::addObjectKey(NameService, file:/home/rnc/NameSingleton.ior)
+#
+# The property also accepts the following mappings:
+# IOR, resource, jndi, URL (e.g. file, http)
+# examples:
+# jacorb.orb.objectKeyMap.NameService=StandardNS/NameServer-POA/_root
+# jacorb.orb.objectKeyMap.NameService=file:/home/rnc/NameSingleton.ior
+
+##################################
+# #
+# ORB version number output #
+# #
+##################################
+
+# if on, the ORB's version number and a copyright statement is printed
+# any time the ORB is initialized
+jacorb.orb.print_version=on
+
+###########################
+# #
+# Logging Configuration #
+# #
+###########################
+
+# JacORB writes logging information through SLF4J, which passes it to an
+# arbitrary external logging system, by default JDK logging. JacORB does
+# not usually attempt to configure the logging system, that is left to the
+# user. The two properties below are retained from previous JacORB versions
+# however. If any of these properties is defined, and JDK logging is in
+# use, then JacORB configures it according to these properties.
+# For more sophisticated configurations, unset these properties and
+# see the file logging_properties.template.
+
+# log levels:
+#
+# 0 = no logging (OFF)
+# 1 = errors (SEVERE)
+# 2 = warnings (WARNING)
+# 3 = informational messages (INFO)
+# 4 = debug-level output (FINE)
+#jacorb.log.default.verbosity=3
+
+# Where does output go? Terminal is default. If the filename includes
+# "$implname", that is replaced with the value of jacorb.implname, if
+# that is defined, or "jacorb" otherwise.
+#jacorb.logfile=LOGFILEPATH
+
+# append to existing logfile? This property is only used if
+# jacorb.logfile is defined.
+#jacorb.logfile.append=false
+
+# Name of a class that is called to initialize the logging system
+# based on the JacORB configuration. Needs to extend
+# org.jacorb.config.LoggingInitializer.
+#jacorb.log.initializer=org.jacorb.config.JdkLoggingInitializer
+
+# hexdump outgoing messages
+jacorb.debug.dump_outgoing_messages=off
+
+# hexdump incoming messages
+jacorb.debug.dump_incoming_messages=off
+
+##################################################
+# #
+# WARNING: The following properties should #
+# only be edited by the expert user. They #
+# can be left untouched in most cases! #
+# #
+##################################################
+
+
+
+################################
+# #
+# Basic ORB Configuration #
+# #
+################################
+
+# the GIOP minor version number to use for newly created IORs
+jacorb.giop_minor_version=2
+
+# number of retries if connection cannot directly be established
+jacorb.retries=5
+
+# how many msecs. do we wait between retries
+jacorb.retry_interval=500
+
+# log2 of maximum buffer size managed by the internal
+# buffer manager.
+#
+# This is NOT the maximum buffer size that
+# can be used, but just the largest size of buffers that
+# will be kept and managed. This value will be added to
+# an internal constant of 5, so the real value in bytes
+# is 2**(5+maxManagedBufSize-1). You only need to increase this
+# value if you are dealing with LOTS of LARGE data structures.
+# You may decrease it to make the buffer manager release large
+# buffers immediately rather than keeping them for later
+# reuse.
+jacorb.maxManagedBufSize=18
+
+# If this value is 0 an extra unlimited size buffer cache is created
+# for the CDROutputStreams. If this value is > 0 then the cache will
+# be purged every x msecs. If this value is -1 no caching of these
+# buffers will take place. This will reduce memory footprint at the
+# cost of decreased performance handling large data structures.
+# This value defaults to 0 if not set.
+#jacorb.bufferManagerMaxFlush=-1
+
+# Normally, a jacorb server will close the TCP/IP connection right
+# after sending a CloseConnection message. However, it may
+# occasionally happen that the client sends a message into the closed
+# connection because it hasn't handled the CloseConnection yet. To
+# avoid this situation, closing of the TCP/IP connection can be delayed.
+#jacorb.connection.delay_close=on
+#jacorb.connection.timeout_after_closeconnection=20000
+
+# Initial timeout for establishing a connection.
+jacorb.connection.client.connect_timeout=90000
+
+# Wait the specified number of msecs for a reply to a request. If
+# exceeded, a org.omg.CORBA.TIMEOUT exception will be thrown
+#jacorb.connection.client.pending_reply_timeout=0
+
+# client-side connection idle timeout, set to a non-zero value to close the
+# connection after so many msecs. Only connections that don't have pending
+# messages are closed, unless
+# jacorb.connection.client.timeout_ignores_pending_messages is turned on.
+#jacorb.connection.client.idle_timeout=0
+
+# shall the orb ignore pending messages when a connection idle timeout is
+# detected? If "on", the connection is closed regardless of any pending
+# messages, and all pending messages are cancelled (resulting in a
+# COMM_FAILURE, unless jacorb.connection.client.retry_on_failure is turned
+# on). Default is "off"
+#jacorb.connection.client.timeout_ignores_pending_messages=off
+
+# whenever a network failure is detected, the orb can either
+# (infinitely) retry all pending requests, or propagate a COMM_FAILURE
+# back into the client code. Default is "off", i.e. throw a
+# COMM_FAILURE. Note that this should only be used with idempotent operations
+# because the client side orb has no way of knowing the processing state of
+# the lost request on the server.
+#jacorb.connection.client.retry_on_failure=off
+
+# max time (msecs) a server keeps a connection open if nothing happens
+#jacorb.connection.server.timeout=10000
+
+# because JacORB uses blocking network IO, it assigns a thread to each
+# connection to listen and read messages. Threads are taken from a thread pool
+# that can be configured with these following properties. max_receptor_threads
+# is equal to the number of connections that can be serviced
+# simultaneously. When all threads are in use, new connections can still be
+# opened or accepted, but will not be listened on.
+#jacorb.connection.client.max_idle_receptor_threads=5
+#jacorb.connection.client.max_receptor_threads=1000
+#jacorb.connection.server.max_idle_receptor_threads=5
+#jacorb.connection.server.max_receptor_threads=1000
+
+# Max no of accepted connections on the server. Only effective in conjunction
+# with the next four properties. Please see section 15.2 "Connection
+# Management" in the ProgrammingGuide
+#jacorb.connection.max_server_connections=
+
+# The class name of the SelectionStrategy class
+#jacorb.connection.selection_strategy_class=
+
+# The class name of the StatisticsProvider class
+#jacorb.connection.statistics_provider_class=
+
+# The number of msecs that are waited until the next attempt to find
+# an idle connection is made (i.e. do not continuously spin)
+#jacorb.connection.wait_for_idle_interval=500
+
+# Sets keep-alive on server sockets. If the OS keepalive detects a TCP/IP
+# connection to be broken, the effect is the same as if the TCP/IP connection
+# has been closed gracefully.
+#jacorb.connection.server.keepalive=off
+
+# Sets keep-alive on client sockets. If the OS keepalive detects a TCP/IP
+# connection to be broken, the effect is the same as if the TCP/IP connection
+# has been closed gracefully. All pending replies will receive a
+# COMM_FAILURE.
+#jacorb.connection.client.keepalive=off
+
+#jacorb.reference_caching=off
+
+# Sets a timeout on the (SSL) server socket. This is a workaround for JDK 1.3
+# on linux where a thread blocked on accept() isn't notified when closing that
+# socket. See Java bug #4344135. NOTE: This is only useful in conjunction with
+# the SI&C SSL socket factories.
+#jacorb.listener.server_socket_timeout=0
+
+#
+# The following property specifies the class which is used for
+# reference caching. WeakHashtable uses WeakReferences, so entries
+# get gc'ed if only the Hashtable has a reference to them. This
+# is useful if you have many references to short-living non-persistent
+# CORBA objects. It is only available for java 1.2 and above.
+#
+# On the other hand the standard Hashtable keeps the references until
+# they are explicitely deleted by calling _release(). This is useful
+# for persistent and long-living CORBA objects.
+#
+#jacorb.hashtable_class=org.jacorb.util.WeakHashtable
+#
+jacorb.hashtable_class=java.util.Hashtable
+
+# use GIOP 1.2 byte order markers (since CORBA 2.4-5)
+jacorb.use_bom=off
+
+# add additional IIOP 1.0 profiles even if we are using IIOP 1.2
+jacorb.giop.add_1_0_profiles=off
+
+# Use DNS names in IORs
+jacorb.dns.enable=off
+
+# Compact Typecodes (off/on)
+jacorb.compactTypecodes=off
+
+# Cache typecode on read
+jacorb.cacheTypecodes=off
+
+# Cache poa names
+jacorb.cachePoaNames=off
+
+# Control if errors caused by an ORBInitializer (thrown exceptions or failure
+# to build class) will make ORB.init() fail or not. On failure, a
+# org.omg.CORBA.INITIALIZE exception will be thrown.
+#jacorb.orb_initializer.fail_on_error=off
+
+# A listener to receive a callback when the acceptor thread caught an
+# exception. The default JacORB implementation will shutdown the ORB on all
+# Errors and SSLExceptions (e.g. but not on IOExceptions)
+jacorb.acceptor_exception_listener=org.jacorb.orb.listener.DefaultAcceptorExceptionListener
+
+# If set to on this results in extra information being added to the
+# thread name i.e. connection endpoints and date/time thread started
+# processing - Server_TCP_IP_Transport only.
+jacorb.enhanced_thread_name=off
+
+# If this is set to a class implementing org.jacorb.orb.IORMutator
+# then this will be used to mutate incoming/outgoing Objects
+#jacorb.iormutator=
+
+# If true enable codesets. If false, this will ignore all codesetComponentInfo profiles
+# within an IOR and also disable explicit marshalling with codesets (re Strings).
+# jacorb.codeset=off
+
+# Overrides the detection from the local environment for the codeset used to
+# transmit characters. Note that this property is only effective once per JVM.
+# jacorb.native_char_codeset=ISO8859_1
+
+# Overrides the detection from the local environment for the codeset used to
+# transmit wide characters. ote that this property is only effective once per JVM.
+# jacorb.native_wchar_codeset=UTF16
+
+
+###########################################
+# #
+# Interoperability #
+# #
+###########################################
+
+# Turn off indirection encoding for repeated typecodes. This fixes
+# interoperability with certain broken ORB's eg. Orbix2000
+jacorb.interop.indirection_encoding_disable=off
+
+# Iona Comet CORBA/COM bridge can incorrectly encode buffer lengths.
+# Enabling this property adds additional length checking and adjustment
+# for interoperability with Comet.
+jacorb.interop.comet=off
+
+# Some ORBs (e.g. VisiBroker, ORBacus) do not set a byte value of 1
+# as a CDR encoded boolean true value. Enabling this property interprets
+# any non zero CDR encoded boolean value as true.
+jacorb.interop.lax_boolean_encoding=off
+
+# Control whether the method create_abstract_interface_tc performs
+# a validity check on the name parameter or not. Turning this check
+# off circumvents a bug in Sun's implementation of javax.rmi.CORBA.ValueHander,
+# which occasionally passes an invalid name (an empty string) to
+# ORBSingleton.create_abstract_interface_tc. If you are using RMI valuetypes,
+# you should turn this property off.
+jacorb.interop.strict_check_on_tc_creation=on
+
+# Custom-marshalled RMI valuetypes should be encoded as chunks, but some
+# ORBs are not able to decode chunked values. Disable this property for
+# interoperability with the ORB in Sun's JDK 1.4.2.
+jacorb.interop.chunk_custom_rmi_valuetypes=on
+
+# RMI/IIOP data encoded as chunks should contain the length
+# of the chunk. the sun orb does not send the length
+# always.
+# enable this property for interoperability with the Sun ORB.
+# http://lists.spline.inf.fu-berlin.de/mailman/htdig/jacorb-developer/2006-May/008251.html
+jacorb.interop.sun=off
+
+###########################################
+# #
+# Socket Factories #
+# #
+###########################################
+
+# A factory design pattern is used for the creation of sockets and server
+# sockets.
+# The jacorb.net.socket_factory property can be used to configure
+# a socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.SocketFactory.
+# The jacorb.net.server_socket_factory property can be used to configure a
+# server socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.ServerSocketFactory.
+#
+#jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory
+#jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory
+#
+# Additional socket factores are supported that allow for the configuration
+# of maximum and minimum port numbers that can be used. This can be used to
+# enable firewall traversal via a fixed port range. To use these socket factories
+# configure one or both of the following property pairs. The first property pair
+# configures the client socket factory and the second pair the server socket
+# factory.
+#
+#jacorb.net.socket_factory.port.min
+#jacorb.net.socket_factory.port.max
+#jacorb.net.server_socket_factory.port.min
+#jacorb.net.server_socket_factory.port.max
+
+# Listeners
+# The TCP listener listens for TCP socket connections and should be implemented
+# as defined by org.jacorb.orb.listener.TCPConnectionListener
+jacorb.net.tcp_listener=
+
+###########################################
+# #
+# BiDirectional GIOP #
+# #
+###########################################
+
+# uncomment this initializer if you want to use BiDirectional GIOP
+
+#org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.giop.BiDirConnectionInitializer
+
+
+###########################################
+# #
+# Proxy address in IOR #
+# #
+###########################################
+
+#
+# Some times it is necessary to present an endpoint alias in an IOR
+# to allow clients outside a firewall to get a connection to a server
+# that is behind a NAT'ing firewall.
+#
+# WARNING: this is just "dumb" replacing, so you
+# have to take care of your configuration!
+#
+
+# The general form of this address is <protocol key>://<address>
+# The protocol key in the address must match the protocol(s) used by
+# the server. See the section on configuring Transport Factories for
+# information on loading specific protocols.
+#jacorb.ior_proxy_address=iiop://1.2.3.4:4711
+
+# Deprecated IIOP-specific form:
+# with these two properties it is possible to
+# tell the ORB what IP/port IORs should contain,
+# if the ServerSockets IP/port can't be used
+# (e.g. for traffic through a firewall).
+#
+# WARNING: this is just "dumb" replacing, so you
+# have to take care of your configuration!
+#
+
+#jacorb.ior_proxy_host=1.2.3.4
+#jacorb.ior_proxy_port=4711
+
+###########################################
+# #
+# The Object Adapter Internet Address #
+# #
+###########################################
+
+# IP address on multi-homed host (this gets encoded in
+# object references). NOTE: Adresses like 127.0.0.X
+# will only be accessible from the same machine!
+#OAIAddr=1.2.3.4
+#OAPort=4711
+
+# A new protocol-independent configuration is available
+# for use to configure an explicit endpoint using IIOP or
+# other protocols.
+#OAAddress=iiop://1.2.3.4:4711
+
+# The following option allows you to add further alternate
+# addresses to your IORs using TAG_ALTERNATE_IIOP_ADDRESS.
+# The value is either a comma-separated list of host:port addresses,
+# or the keyword "auto", which means that JacORB should add
+# the addresses of all known network interfaces on this machine.
+#jacorb.iiop.alternate_addresses = 1.2.3.4:12,1.2.3.5:12
+
+############################
+# #
+# Default Interceptors #
+# Please leave them in! #
+# #
+############################
+org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
+
+
+
+###############################################
+# #
+# Implementation Repository Configuration #
+# #
+###############################################
+# Switch off to avoid contacting the ImR on every server start-up
+jacorb.use_imr=off
+
+# Switch off if you don't want to write the ImR address into server IORs
+# (ignored if jacorb.use_imr=off)
+jacorb.use_imr_endpoint=on
+
+# if set to "on", servers that don't already have an entry on their
+# first call to the imr, will get automatically registered. Otherwise,
+# an UnknownServer exception is thrown.
+jacorb.imr.allow_auto_register=off
+
+# if set to "on", the imr will try to "ping" every object reference,
+# that it is going to return. If the reference is not alive, TRANSIENT
+# is thrown.
+jacorb.imr.check_object_liveness=off
+
+ORBInitRef.ImplementationRepository=http://www.x.y.z/~user/ImR_Ref
+
+jacorb.imr.table_file=Z:\table.dat
+jacorb.imr.backup_file=z:\backup.dat
+jacorb.imr.ior_file=/home/bwana/brose/public_html/ImR_Ref
+# Time (msecs) that the implementation will wait for a started server to register.
+jacorb.imr.timeout=
+
+# Host for ImR endpoint
+jacorb.imr.endpoint_host=
+# Port number for IMR endpoint
+jacorb.imr.endpoint_port_number=
+
+# how many millisecs should the imr wait, until a connection from an
+# application client is terminated. Default is 2000.
+jacorb.imr.connection_timeout=2000
+
+# the implementation name, should be set to a different
+# name in the code of persistent servers
+# jacorb.implname=StandardImplName
+
+#
+# This is supposed to be a generic startup string for everything
+# that calls Runtime.exec(). Might be replaced by jaco[.bat].
+#
+jacorb.java_exec=java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
+
+# with these two properties it is possible to
+# tell the ORB what IP / hostname and port the IMR IOR and IMRified server IORs should
+# contain, if the ServerSockets IP/port can't be used
+# (e.g. for traffic through a firewall).
+#
+# WARNING: this is just "dumb" replacement, so you
+# have to take care of your configuration!
+#
+#jacorb.imr.ior_proxy_host=1.2.3.4
+#jacorb.imr.ior_proxy_port=4711
+
+# protocol-independent form for assigning imr proxy endpoint
+#jacorb.imr.ior_proxy_address=iiop://1.2.3.4:4711
+
+#########################
+# #
+# SSL Configuration #
+# #
+#########################
+
+#
+# The port number used by SSL, will be dynmically assigned
+# by default
+#
+
+#OASSLPort=4711
+
+# This interceptor must be set if programs need access to
+# certificates using the CORBA Security API, SSL works also
+# without this interceptor
+
+#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.SecurityServiceInitializer
+
+# qualified classname of access decision object
+jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl
+
+# list of qualified classnames of principal authenticator objects,
+# separated by commas (no whitespaces!). The first entry (that can
+# be successfully created) will be available through the
+# principal_authenticator property.
+jacorb.security.principal_authenticator=org.jacorb.security.level2.PrincipalAuthenticatorImpl
+
+# the qualified classname of the ssl socket factory class
+jacorb.ssl.socket_factory=org.jacorb.security.ssl.sun_jsse.SSLSocketFactory
+
+# the qualified classname of the ssl server socket factory class
+jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.sun_jsse.SSLServerSocketFactory
+
+# IIOP/SSL parameters (numbers are hex values, without the leading "0x"):
+# NoProtection = 1
+# EstablishTrustInClient = 40
+# EstablishTrustInTarget = 20
+# mutual authentication = 60
+# please see the programming guide for more explanation
+
+jacorb.security.support_ssl=off
+
+jacorb.security.ssl.client.supported_options=0
+jacorb.security.ssl.client.required_options=0
+
+jacorb.security.ssl.server.supported_options=0
+jacorb.security.ssl.server.required_options=0
+
+#
+# If set, the following two values will be placed in the IOR, if
+# "corbaloc:ssliop" ssliop.
+#
+# If not set, only EstablishTrustInTarget is used for both supported
+# and required options. EstablishTrustInClient is not set, and the
+# rest of the Association Options aren't currently used anyway.
+#jacorb.security.ssl.corbaloc_ssliop.supported_options=0
+#jacorb.security.ssl.corbaloc_ssliop.required_options=0
+
+# The name and location of the keystore. This may be absolute or
+# relative to the home directory, or a file retrievable through the
+# classloader.
+#
+# NOTE (for Sun JSSE users): The "javax.net.ssl.trustStore[Password]"
+# properties don't seem to take effect, so you may want to add trusted
+# certificates to "normal" keystores. In this case, please set the
+# property "jacorb.security.jsse.trustees_from_ks"is to "on", so trusted
+# certificates are taken from the keystore instead of a dedicated
+# truststore.
+jacorb.security.keystore=
+jacorb.security.keystore_password=
+
+#
+# Sun JSSE specific settings
+#
+# Use the keystore to take trusted certs from.
+jacorb.security.jsse.trustees_from_ks=off
+
+# A comma-separated (no whitespaces!) list of cipher suite names. See
+# the JSSE docs on how to obtain the correct cipher suite strings
+jacorb.security.ssl.server.cipher_suites=
+jacorb.security.ssl.client.cipher_suites=
+
+# A comma seperated list of the names of the protocols to be set enabled on
+# the SSL socket. See the JSSE documentation for
+# javax.net.ssl.SSLSocket#setEnabledProtocols()
+# NOTE: Does only apply to jdk1.4 and above
+#jacorb.security.ssl.client.protocols=
+#jacorb.security.ssl.server.protocols=
+
+# A user defined javax.net.ssl.TrustManager implemementation class name.
+# Will be used to intialise the SSLContext. See JSSE docs for javax.net.ssl.SSLContext#init().
+# Must be capable of instantiation via a no arg constructor.
+#jacorb.security.ssl.client.trust_manager=my.trust.Manager
+#jacorb.security.ssl.server.trust_manager=my.trust.Manager
+
+# Class name for a class that implements JacORB JSRandom interface. This
+# will be used to get a SecureRandom.
+jacorb.security.randomClassPlugin=
+
+# Listeners
+# The SSL listener listens for SSL sessions and should be implemented as defined
+# by org.jacorb.orb.listener.SSLSessionListener
+jacorb.security.ssl.ssl_listener=
+
+#########################
+# #
+# POA Configuration #
+# #
+#########################
+
+# displays a GUI monitoring tool for servers
+jacorb.poa.monitoring=off
+
+# POA log levels:
+# 0 = fatal errors only = "almost off" (FATAL ERRORS)
+# 1 = non-fatal errors and exceptions (ERROR)
+# 2 = important messages (WARN)
+# 3 = informational messages and exceptions (INFO)
+# 4 = debug-level output (DEBUG) (may confuse the unaware user :-)
+jacorb.poa.log.verbosity=3
+
+# thread pool configuration for request processing
+jacorb.poa.thread_pool_max=20
+jacorb.poa.thread_pool_min=5
+
+# If set then use shared thread pool amongst all the POAs. Only used with
+# ORB_CTRL_MODEL.
+# jacorb.poa.thread_pool_shared = off
+
+# if set, request processing threads in thePOA
+# will run at this priority. If not set or invalid,
+# MAX_PRIORITY will be used.
+#jacorb.poa.thread_priority=
+
+# Properties controlling the POA's request queue. If queue_wait is off,
+# then if there are more than queue_max requests in the queue, the
+# client gets TRANSIENT exceptions for any requests. If queue_wait is on,
+# then the call blocks at the server side until no more than queue_min
+# requests are left in the queue. The new request is then delivered as usual.
+jacorb.poa.queue_wait=off
+jacorb.poa.queue_max=100
+jacorb.poa.queue_min=10
+
+# Set this to on for server-side checking of expired ReplyEndTimePolicy.
+# (This also applies to RelativeRoundtripTimeoutPolicy.) When this is on,
+# the clocks of the server and client machine need to be synchronized.
+#jacorb.poa.check_reply_end_time=off
+
+
+###################################
+# #
+# Transport Layer Configuration #
+# #
+###################################
+
+# Names of the factories classes for all installed transport plug-ins
+# (comma-separated list).
+
+#jacorb.transport.factories=org.jacorb.orb.iiop.IIOPFactories
+
+# ProfileId tags of all installed transports that should actually
+# listen on the server side. This is a comma-separated list of numbers,
+# each number must correspond to one ProfileId tag from a factory in
+# jacorb.transport.factories. In IORs produced by the server, the transport
+# profiles will appear in the order indicated by this list.
+
+#jacorb.transport.server.listeners=0
+
+# Name of a class that selects the transport profile to use on the
+# client side.
+
+#jacorb.transport.client.selector=org.jacorb.orb.DefaultProfileSelector
+
+
+##################################
+# #
+# Name Service Configuration #
+# #
+##################################
+
+# log levels:
+# 0 = fatal errors only = "almost off" (FATAL ERRORS)
+# 1 = non-fatal errors and exceptions (ERROR)
+# 2 = important messages (WARN)
+# 3 = informational messages and exceptions (INFO)
+# 4 = debug-level output (DEBUG) (may confuse the unaware user :-)
+
+jacorb.naming.log.verbosity=3
+
+#
+# name of the logger factory. Implement your own subclass of
+# org.jacorb.util.LoggerFactory and enter class name here to
+# customize logging behavior. Built-in default is org.jacorb.util.LogKitLoggerFactory
+#jacorb.log.loggerFactory=
+
+# Whether non active references are purged from name service
+# when list operation is invoked.
+
+jacorb.naming.purge=on
+
+# Whether resolve should return references without trying to
+# ping them to see if they're still alive first.
+
+jacorb.naming.noping=on
+
+# The file where the name server drops its IOR
+jacorb.naming.ior_filename=c:/NS_Ref
+
+
+########################################################
+# #
+# Notification Service configuration, please see #
+# the JacORB ProgrammingGuide for a explanation #
+# #
+########################################################
+
+jacorb.notification.filter.thread_pool_size = 2
+
+jacorb.notification.proxyconsumer.thread_pool_size = 2
+
+jacorb.notification.proxysupplier.thread_pool_size = 4
+
+jacorb.notification.supplier.poll_intervall = 1000
+
+jacorb.notification.max_batch_size = 1
+
+jacorb.notification.max_events_per_consumer = 100
+
+jacorb.notification.order_policy = PriorityOrder
+
+jacorb.notification.discard_policy = PriorityOrder
+
+jacorb.notification.consumer.backout_interval = 5000
+
+jacorb.notification.consumer.error_threshold = 3
+
+# valid values: ThreadPool, ThreadPerProxy
+jacorb.notification.proxysupplier.threadpolicy = ThreadPool
+
+jacorb.notification.default_filter_factory = builtin
+
+# jacorb.notification.supplier.max_number = 10
+
+# jacorb.notification.start_time_supported = 10
+
+jacorb.notification.stop_time_supported = on
+
+jacorb.notification.proxy.destroy_causes_disconnect = on
+
+# Notification Service log levels:
+org.jacorb.notification.log.verbosity = 3
+
+########################################
+# #
+# SAS configuration #
+# #
+########################################
+
+jacorb.SAS.log.verbosity=INFO
+jacorb.SAS.CSS.log.verbosity=INFO
+jacorb.SAS.TSS.log.verbosity=INFO
+
+# This option defines the specific SAS context generator/validator
+# Currently supported contexts include:
+# NullContext - Sends a NULL SAS Context
+# GssUpContext - Uses GSSUP security
+# KerberosContext - uses Kerberos security
+# At least one context must be selected for SAS support
+#jacorb.security.sas.contextClass=org.jacorb.security.sas.NullContext
+#jacorb.security.sas.contextClass=org.jacorb.security.sas.GssUpContext
+#jacorb.security.sas.contextClass=org.jacorb.security.sas.KerberosContext
+
+# This initializer installs the SAS interceptors
+# Comment out this line if you do not want SAS support
+#org.omg.PortableInterceptor.ORBInitializerClass.SAS=org.jacorb.security.sas.SASInitializer
+
+# This option is used for GSSUP security and sets up the GSS Provider
+# Comment out this line if you are not using GSS UP authentication
+#org.omg.PortableInterceptor.ORBInitializerClass.GSSUPProvider=org.jacorb.security.sas.GSSUPProviderInitializer
+
+########################################
+# #
+# Custom configuration #
+# #
+########################################
+
+
+# any other custom properties can be added here.
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/logging_properties.template
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/logging_properties.template (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/logging_properties.template 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,27 @@
+# Sample configuration for JDK logging. To activate this, specify
+# this file to the JVM with property
+#
+# -Djava.util.logging.config.file=/path/to/logging.properties
+#
+
+# global definitions
+# ------------------
+
+# log to a file
+handlers = java.util.logging.FileHandler
+java.util.logging.FileHandler.formatter = org.jacorb.config.JacORBLogFormatter
+java.util.logging.FileHandler.pattern = /tmp/jacorb.log
+
+# Log file rotation: 10 files, no maximum size, new file for each run
+java.util.logging.FileHandler.count = 10
+java.util.logging.FileHandler.limit = 0
+java.util.logging.FileHandler.append = false
+
+# log to console
+# handlers = java.util.logging.ConsoleHandler
+
+# configuration of individual loggers
+# -----------------------------------
+
+jacorb.level = INFO
+# jacorb.giop.level = FINE
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/orb.properties
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/orb.properties (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/orb.properties 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,623 @@
+##
+## Common JacORB configuration options (template file)
+##
+## This <common.orb.properties> file should be in JRE/lib
+## or in user.home
+##
+## These can be overwritten by ORB-specific properties
+## files, by custum properties files, or in the code.
+##
+## Generally, any property can go into any of these config
+## files, but as a rule of thumb you should not include
+## services-specific options in this file, except for a
+## default naming service
+
+########################################
+#
+# options to control the configuration stage
+#
+########################################
+
+# where to look for ORB config files?
+jacorb.config.dir=e:/JacORB_CONFIG_FEATURE
+
+# controls log output (to the console!) during the configuration stage.
+# This can help to find out which config files are actually loaded!
+# 0 : nothing is logged
+# 1,3 : only errors
+# 3,4 : info (which config files were loaded)
+jacorb.config.log.verbosity=3
+
+########################################
+# #
+# Initial references configuration #
+# #
+########################################
+
+#
+# URLs where IORs are stored (used in orb.resolve_initial_service())
+# DO EDIT these! (Only those that you are planning to use,
+# of course ;-).
+#
+# The ORBInitRef references are created on ORB startup time. In the
+# cases of the services themselves, this may lead to exceptions being
+# displayed (because the services aren't up yet). These exceptions
+# are handled properly and cause no harm!
+
+#ORBInitRef.NameService=corbaloc::160.45.110.41:38693/StandardNS/NameServer-POA/_root
+#ORBInitRef.NameService=corbaloc::falcon:7001/NameService
+
+#ORBInitRef.NameService=file:/y:/nsiona.ref
+ORBInitRef.NameService=file:/c:/NS_Ref
+#ORBInitRef.NameService=http://www.x.y.z/~user/NS_Ref
+#ORBInitRef.TradingService=http://www.x.y.z/~user/TraderRef
+
+
+########################################
+# #
+# Export of corbaloc IORs #
+# #
+########################################
+
+# allow for more readable corbaloc URLs by mapping the
+# actual object key to an arbitrary string the mapping
+# below would permit clients of a name service to
+# access it using corbaloc::ipaddress:portnum/NameService
+# Note: it is NOT necessary to define this property for
+# the name service here because this is done already in the
+# code of the ns implementation
+# The property also accepts the following mappings:
+# IOR, resource, jndi, URL (e.g. file, http)
+# examples:
+# jacorb.orb.objectKeyMap.NameService=StandardNS/NameServer-POA/_root
+# jacorb.orb.objectKeyMap.NameService=file:/home/rnc/NameSingleton.ior
+
+##################################
+# #
+# ORB version number output #
+# #
+##################################
+
+# if on, the ORB's version number is printed
+# any time the ORB is initialized
+jacorb.orb.print_version=on
+
+##################################
+# #
+# Debug output configuration #
+# #
+##################################
+
+# log levels:
+#
+# 0 = fatal errors only = "almost off" (FATAL ERRORS)
+# 1 = non-fatal errors and exceptions (ERROR)
+# 2 = important messages (WARN)
+# 3 = informational messages and exceptions (INFO)
+# 4 = debug-level output (DEBUG) (may confuse the unaware user :-)
+jacorb.log.default.verbosity=1
+#jacorb.verbosity=0
+
+# where does output go? Terminal is default
+#jacorb.logfile=c:/tmp/jacorb.log
+
+# Timestamp debug log entries? (Applies to some internal logging only)
+jacorb.log.timestamp=off
+
+# Append to an existing log file or overwrite? (Applies to
+# file logging only)
+jacorb.logfile.append=on
+
+# If jacorb.logfile.append is on, set rolling log size in kilobytes.
+# A value of 0 implies no rolling log
+jacorb.logfile.maxLogSize=0
+
+# hexdump outgoing messages
+jacorb.debug.dump_outgoing_messages=off
+
+# hexdump incoming messages
+jacorb.debug.dump_incoming_messages=off
+
+# specify different default log patterns for here (Apache LogKit pattern syntax)
+jacorb.log.default.log_pattern=[%.23{time:dd-MM-yyyy HH:mm:ss:SSS}] %.20{category}:%.7{priority}: %{message}\\n%{throwable}
+
+##################################################
+# #
+# WARNING: The following properties should #
+# only be edited by the expert user. They #
+# can be left untouched in most cases! #
+# #
+##################################################
+
+
+
+################################
+# #
+# Basic ORB Configuration #
+# #
+################################
+
+# the GIOP minor version number to use for newly created IORs
+jacorb.giop_minor_version=2
+
+# number of retries if connection cannot directly be established
+jacorb.retries=5
+
+# how many msecs. do we wait between retries
+jacorb.retry_interval=500
+
+# size of network buffers for outgoing messages
+jacorb.outbuf_size=2048
+
+# log2 of maximum buffer size managed by the internal
+# buffer manager.
+#
+# This is NOT the maximum buffer size that
+# can be used, but just the largest size of buffers that
+# will be kept and managed. This value will be added to
+# an internal constant of 5, so the real value in bytes
+# is 2**(5+maxManagedBufSize-1). You only need to increase this
+# value if you are dealing with LOTS of LARGE data structures.
+# You may decrease it to make the buffer manager release large
+# buffers immediately rather than keeping them for later
+# reuse.
+jacorb.maxManagedBufSize=24
+# If this value is 0 an extra unlimited size buffer cache is created
+# for the CDROutputStreams. If this value is > 0 then the cache will
+# be purged every x msecs.
+jacorb.bufferManagerMaxFlush=-1
+
+# Normally, a jacorb server will close the TCP/IP connection right
+# after sending a CloseConnection message. However, it may
+# occasionally happen that the client sends a message into the closed
+# connection because it hasn't handled the CloseConnection yet. To
+# avoid this situation, closing of the TCP/IP connection can be delayed.
+#jacorb.connection.delay_close=on
+#jacorb.connection.timeout_after_closeconnection=20000
+
+# Wait the specified number of msecs for a reply to a request. If
+# exceeded, a org.omg.CORBA.TIMEOUT exception will be thrown
+#jacorb.connection.client.pending_reply_timeout=0
+
+# client-side connection idle timeout, set no non-zero to stop
+# close the connection after so many msecs.
+#jacorb.connection.client_idle_timeout=0
+
+# max time (msecs) a server keeps a connection open if nothing happens
+#jacorb.connection.server_timeout=10000
+
+# Max no of accepted connections on the server.
+#jacorb.connection.max_server_connections=
+
+# The number of msecs that are waited until the next attempt to find
+# an idle connection is made (i.e. do not continuously spin)
+#jacorb.connection.wait_for_idle_interval=500
+
+# The class name of the SelectionStrategy class
+#jacorb.connection.selection_strategy_class=
+
+# The class name of the StatisticsProvider class
+#jacorb.connection.statistics_provider_class=
+
+#jacorb.reference_caching=off
+
+#
+# The following property specifies the class which is used for
+# reference caching. WeakHashtable uses WeakReferences, so entries
+# get gc'ed if only the Hashtable has a reference to them. This
+# is useful if you have many references to short-living non-persistent
+# CORBA objects. It is only available for java 1.2 and above.
+#
+# On the other hand the standard Hashtable keeps the references until
+# they are explicitely deleted by calling _release(). This is useful
+# for persistent and long-living CORBA objects.
+#
+#jacorb.hashtable_class=org.jacorb.util.WeakHashtable
+#
+jacorb.hashtable_class=java.util.Hashtable
+
+# use GIOP 1.2 byte order markers (since CORBA 2.4-5)
+jacorb.use_bom=off
+
+# add additional IIOP 1.0 profiles even if we are using IIOP 1.2
+jacorb.giop.add_1_0_profiles=off
+
+# Use DNS names in IORs
+jacorb.dns.enable=on
+
+# Compact Typecodes (0 - off, 1 - partial (not member_names), 2 - all)
+jacorb.compactTypecodes=0
+
+# Cache typecode on read
+jacorb.cacheTypecodes=off
+
+# Cache poa names
+jacorb.cachePoaNames=off
+
+###########################################
+# #
+# Interoperability #
+# #
+###########################################
+
+# Turn off indirection encoding for repeated typecodes. This fixes
+# interoperability with certain broken ORB's eg. Orbix2000
+jacorb.interop.indirection_encoding_disable=off
+
+# Iona Comet CORBA/COM bridge can incorrectly encode buffer lengths.
+# Enabling this property adds additional length checking and adjustment
+# for interoperability with Comet.
+jacorb.interop.comet=off
+
+# Some ORBs do not set a byte value of 1 as a CDR encoded boolean true
+# value. Enabling this property interprets any non zero CDR encoded
+# boolean value as true.
+jacorb.interop.lax_boolean_encoding=off
+
+# Control whether the method create_abstract_interface_tc performs
+# a validity check on the name parameter or not. Turning this check
+# off circumvents a bug in Sun's implementation of javax.rmi.CORBA.ValueHander,
+# which occasionally passes an invalid name (an empty string) to
+# ORBSingleton.create_abstract_interface_tc. If you are using RMI valuetypes,
+# you should turn this property off.
+jacorb.interop.strict_check_on_tc_creation=on
+
+# Custom-marshalled RMI valuetypes should be encoded as chunks, but some
+# ORBs are not able to decode chunked values. Disable this property for
+# interoperability with the ORB in Sun's JDK 1.4.2.
+jacorb.interop.chunk_custom_rmi_valuetypes=on
+
+###########################################
+# #
+# Socket Factories #
+# #
+###########################################
+
+# A factory design pattern is used for the creation of sockets and server
+# sockets.
+# The jacorb.net.socket_factory property can be used to configure
+# a socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.SocketFactory.
+# The jacorb.net.server_socket_factory property can be used to configure a
+# server socket factory that must implement the operations defined in the
+# interface org.jacorb.orb.factory.ServerSocketFactory.
+#
+#jacorb.net.socket_factory=org.jacorb.orb.factory.DefaultSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.DefaultServerSocketFactory
+#jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory
+#jacorb.net.server_socket_factory=org.jacorb.orb.factory.PortRangeServerSocketFactory
+#
+# Additional socket factores are supported that allow for the configuration
+# of maximum and minimum port numbers that can be used. This can be used to
+# enable firewall traversal via a fixed port range. To use these socket factories
+# configure one or both of the following property pairs. The first property pair
+# configures the client socket factory and the second pair the server socket
+# factory.
+#
+#jacorb.net.socket_factory.port.min
+#jacorb.net.socket_factory.port.max
+#jacorb.net.server_socket_factory.port.min
+#jacorb.net.server_socket_factory.port.max
+
+###########################################
+# #
+# BiDirectional GIOP #
+# #
+###########################################
+
+# uncomment this initializer if you want to use BiDirectional GIOP
+
+#org.omg.PortableInterceptor.ORBInitializerClass.bidir_init=org.jacorb.orb.connection.BiDirConnectionInitializer
+
+
+###########################################
+# #
+# Proxy address in IOR #
+# #
+###########################################
+
+#
+# with these two properties it is possible to
+# tell the ORB what IP/port IORs should contain,
+# if the ServerSockets IP/port can't be used
+# (e.g. for traffic through a firewall).
+#
+# WARNING: this is just "dumb" replacing, so you
+# have to take care of your configuration!
+#
+
+#jacorb.ior_proxy_host=1.2.3.4
+#jacorb.ior_proxy_port=4711
+
+
+###########################################
+# #
+# The Object Adapter Internet Address #
+# #
+###########################################
+
+# IP address on multi-homed host (this gets encoded in
+# object references). NOTE: Adresses like 127.0.0.X
+# will only be accessible from the same machine!
+#OAIAddr=127.0.0.1
+#OAPort=4711
+
+
+############################
+# #
+# Default Interceptors #
+# Please leave them in! #
+# #
+############################
+org.omg.PortableInterceptor.ORBInitializerClass.standard_init=org.jacorb.orb.standardInterceptors.IORInterceptorInitializer
+
+
+
+###############################################
+# #
+# Implementation Repository Configuration #
+# #
+###############################################
+# Switch off to avoid contacting the ImR on every server start-up
+jacorb.use_imr=off
+
+# Switch off if you don't want to write the ImR address into server IORs
+# (ignored if jacorb.use_imr=off)
+jacorb.use_imr_endpoint=on
+
+# if set to "on", servers that don't already have an entry on their
+# first call to the imr, will get automatically registered. Otherwise,
+# an UnknownServer exception is thrown.
+jacorb.imr.allow_auto_register=off
+
+# if set to "on", the imr will try to "ping" every object reference,
+# that it is going to return. If the reference is not alive, TRANSIENT
+# is thrown.
+jacorb.imr.check_object_liveness=off
+
+ORBInitRef.ImplementationRepository=http://www.x.y.z/~user/ImR_Ref
+
+jacorb.imr.table_file=Z:\table.dat
+jacorb.imr.backup_file=z:\backup.dat
+jacorb.imr.ior_file=/home/bwana/brose/public_html/ImR_Ref
+# Time (msecs) that the implementation will wait for a started server to register.
+jacorb.imr.timeout=
+jacorb.imr.no_of_poas=
+jacorb.imr.no_of_servers=
+# Host for IMR. This shouldn't normally be set
+# (the listener should start on the local host) but this is useful to force a host.
+#jacorb.imr.host=
+# Start IMR on a fixed port (equivilant to -p option) (for the IOR)
+jacorb.imr.port_number=
+# Port number for IMR endpoint
+jacorb.imr.endpoint_port_number=
+
+# how many millisecs should the imr wait, until a connection from an
+# application client is terminated. Default is 2000.
+jacorb.imr.connection_timeout=2000
+
+# the implementation name, should be set to a different
+# name in the code of persistent servers
+jacorb.implname=StandardImplName
+
+#
+# This is supposed to be a generic startup string for everything
+# that calls Runtime.exec(). Might be replaced by jaco[.bat].
+#
+jacorb.java_exec=java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
+
+# with these two properties it is possible to
+# tell the ORB what IP / hostname and port the IMR IOR and IMRified server IORs should
+# contain, if the ServerSockets IP/port can't be used
+# (e.g. for traffic through a firewall).
+#
+# WARNING: this is just "dumb" replacement, so you
+# have to take care of your configuration!
+#
+#jacorb.imr.ior_proxy_host=1.2.3.4
+#jacorb.imr.ior_proxy_port=4711
+
+
+jacorb.security.log.verbosity=1
+jacorb.giop.conn.log.verbosity=1
+
+#########################
+# #
+# SSL Configuration #
+# #
+#########################
+
+#
+# The port number used by SSL, will be dynmically assigned
+# by default
+#
+
+#OASSLPort=4711
+
+# This interceptor must be set if programs need access to
+# certificates using the CORBA Security API, SSL works also
+# without this interceptor
+
+#org.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.sun_jsse.SecurityServiceInitializer
+
+# qualified classname of access decision object
+#jacorb.security.access_decision=org.jacorb.security.level2.AccessDecisionImpl
+
+# list of qualified classnames of principal authenticator objects,
+# separated by commas (no whitespaces!). The first entry (that can
+# be successfully created) will be available through the
+# principal_authenticator property.
+# jacorb.security.principal_authenticator=org.jacorb.security.level2.PrincipalAuthenticatorImpl
+
+# the qualified classname of the ssl socket factory class
+#jacorb.ssl.socket_factory=org.jacorb.security.ssl.sun_jsse.SSLSocketFactory
+#jacorb.ssl.socket_factory=org.jacorb.security.ssl.iaik.SSLSocketFactory
+
+# the qualified classname of the ssl server socket factory class
+jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.sun_jsse.SSLServerSocketFactory
+#jacorb.ssl.server_socket_factory=org.jacorb.security.ssl.iaik.SSLServerSocketFactory
+
+# exchange ssl client server roles to enforce client authentication, but
+# attention: this causes problems with peers that not prepared to handle
+# this role change
+jacorb.security.change_ssl_roles=off
+
+# IIOP/SSL parameters (numbers are hex values, without the leading "0x"):
+# NoProtection = 1
+# EstablishTrustInClient = 40
+# EstablishTrustInTarget = 20
+# mutual authentication = 60
+# please see the programming guide for more explanation
+
+jacorb.security.support_ssl=off
+
+jacorb.security.ssl.client.supported_options=0
+jacorb.security.ssl.client.required_options=0
+
+jacorb.security.ssl.server.supported_options=0
+jacorb.security.ssl.server.required_options=0
+
+#
+# If set, the following two values will be placed in the IOR, if
+# "corbaloc:ssliop" ssliop.
+#
+# If not set, only EstablishTrustInTarget is used for both supported
+# and required options. EstablishTrustInClient is not set, and the
+# rest of the Association Options aren't currently used anyway.
+jacorb.security.ssl.corbaloc_ssliop.supported_options=60
+jacorb.security.ssl.corbaloc_ssliop.required_options=60
+
+# The name and location of the keystore. This may be absolute or
+# relative to the home directory.
+#
+# NOTE (for Sun JSSE users): The "javax.net.ssl.trustStore[Password]"
+# properties don't seem to take effect, so you may want to add trusted
+# certificates to "normal" keystores. In this case, please set the
+# property "jacorb.security.jsse.trustees_from_ks"is to "on", so trusted
+# certificates are taken from the keystore instead of a dedicated
+# truststore.
+jacorb.security.keystore=c:/Dokumente und Einstellungen/brose/gerald.keystore
+jacorb.security.keystore_password=jacorb
+
+
+#
+# IAIK specific settings
+#
+
+# files with public key certs of trusted CAs
+#
+# WARNING: If no CA certs are present, the IAIK chain verifier will
+# accept ALL otherwise valid chains!
+#
+jacorb.security.trustees=
+
+# the name of the default key alias to look up in the keystore
+jacorb.security.default_user=gerald
+jacorb.security.default_password=jacorb
+
+# have iaiks ssl classes print debug output to stdout
+#jacorb.security.iaik_debug=off
+
+#
+# Sun JSSE specific settings
+#
+
+#jacorb.security.jsse.log.verbosity=1
+
+# Use the keystore to take trusted certs from.
+#jacorb.security.jsse.trustees_from_ks=on
+
+# A comma-separated (no whitespaces!) list of cipher suite names. See
+# the JSSE docs on how to obtain the correct cipher suite strings
+jacorb.security.ssl.server.cipher_suites=
+jacorb.security.ssl.client.cipher_suites=
+
+#########################
+# #
+# POA Configuration #
+# #
+#########################
+
+# displays a GUI monitoring tool for servers
+jacorb.poa.monitoring=off
+
+# POA log levels:
+# 0 = fatal errors only = "almost off" (FATAL ERRORS)
+# 1 = non-fatal errors and exceptions (ERROR)
+# 2 = important messages (WARN)
+# 3 = informational messages and exceptions (INFO)
+# 4 = debug-level output (DEBUG) (may confuse the unaware user :-)
+jacorb.poa.log.verbosity=1
+
+# thread pool configuration for request processing
+jacorb.poa.thread_pool_max=20
+jacorb.poa.thread_pool_min=5
+
+# if set, request processing threads in thePOA
+# will run at this priority. If not set or invalid,
+# MAX_PRIORITY will be used.
+#jacorb.poa.thread_priority=
+
+# Properties controlling the POA's request queue. If queue_wait is off,
+# then if there are more than queue_max requests in the queue, the
+# client gets TRANSIENT exceptions for any requests. If queue_wait is on,
+# then the call blocks at the server side until no more than queue_min
+# requests are left in the queue. The new request is then delivered as usual.
+jacorb.poa.queue_wait=off
+jacorb.poa.queue_max=100
+jacorb.poa.queue_min=10
+
+
+###################################
+# #
+# Transport Layer Configuration #
+# #
+###################################
+
+# Names of the factories classes for all installed transport plug-ins
+# (comma-separated list).
+
+#jacorb.transport.factories=org.jacorb.orb.iiop.IIOPFactories
+
+# ProfileId tags of all installed transports that should actually
+# listen on the server side. This is a comma-separated list of numbers,
+# each number must correspond to one ProfileId tag from a factory in
+# jacorb.transport.factories. In IORs produced by the server, the transport
+# profiles will appear in the order indicated by this list.
+
+#jacorb.transport.server.listeners=0
+
+# Name of a class that selects the transport profile to use on the
+# client side.
+
+#jacorb.transport.client.selector=org.jacorb.orb.ProfileSelector
+
+
+##################################
+# #
+# Name Service Configuration #
+# #
+##################################
+
+jacorb.naming.log.verbosity=1
+
+# Whether non active references are purged from name service
+# when list operation is invoked.
+
+jacorb.naming.purge=on
+
+# Whether resolve should return references without trying to
+# ping them to see if they're still alive first.
+
+jacorb.naming.noping=on
+
+# Port on which to run service
+
+# jacorb.naming.port=
+
+jacorb.naming.ior_filename=c:/NS_Ref
+
+jacorb.util.tpool.log.verbosity=0
+#jacorb.debug.dump_incoming_messages=on
+#jacorb.debug.dump_outgoing_messages=on
+
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/pmd-ruleset.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/pmd-ruleset.xml (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/etc/pmd-ruleset.xml 2010-01-27 18:21:31 UTC (rev 31262)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+
+<ruleset name="jacorb-ruleset">
+
+ <description>
+ My custom ruleset excluding what I don't need.
+ </description>
+
+ <rule ref="rulesets/finalizers.xml"/>
+ <rule ref="rulesets/unusedcode.xml"/>
+ <rule ref="rulesets/basic.xml">
+ <exclude name="AvoidThreadGroup"/>
+ </rule>
+ <rule ref="rulesets/design.xml">
+ <exclude name="SwitchDensity"/>
+ <exclude name="ConfusingTernary"/>
+ <exclude name="SimplifyBooleanExpressions"/>
+ <exclude name="NullAssignmentRule"/>
+ <exclude name="AvoidSynchronizedAtMethodLevel"/>
+ </rule>
+ <rule ref="rulesets/sunsecure.xml"/>
+ <rule ref="rulesets/strictexception.xml"/>
+ <rule ref="rulesets/strings.xml">
+ <exclude name="AvoidDuplicateLiterals"/>
+ </rule>
+ <rule ref="rulesets/imports.xml"/>
+ <rule ref="rulesets/clone.xml"/>
+ <rule ref="rulesets/naming.xml">
+ <exclude name="ShortVariable"/>
+ <exclude name="LongVariable"/>
+ <exclude name="ShortMethodName"/>
+ <exclude name="VariableNamingConventions"/>
+ <exclude name="MethodNamingConventions"/>
+ <exclude name="ClassNamingConventions"/>
+ <exclude name="AbstractNaming"/>
+ <exclude name="AvoidFieldNameMatchingMethodName"/>
+ <exclude name="PackageCase"/>
+ </rule>
+ <rule ref="rulesets/junit.xml"/>
+ <rule ref="rulesets/braces.xml"/>
+ <rule ref="rulesets/javabeans.xml">
+ <exclude name="BeanMembersShouldSerialize"/>
+ </rule>
+ <rule ref="rulesets/optimizations.xml">
+ <exclude name="MethodArgumentCouldBeFinal"/>
+ <exclude name="LocalVariableCouldBeFinal"/>
+ <exclude name="AvoidInstantiatingObjectsInLoops"/>
+ </rule>
+</ruleset>
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-api-1.5.6.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-api-1.5.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-jdk14-1.5.6.jar
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/slf4j-jdk14-1.5.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/wrapper.dll
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/trunk/ArjunaJTS/jacorb/lib/wrapper.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the jboss-svn-commits
mailing list