User: hiram
Date: 00/11/28 16:19:46
Added: conf/default jboss.conf jboss.dependencies jboss.jcml
jboss.properties jnp.properties jndi.properties
server.policy spyderMQ.properties
Log:
Chanaged the spyderMQ standalone server so that it is a stripped down jBoss app
server with
the spyderMQ service running. This will allow us to work on integrating with jBoss
better and
in spyderMQ can now use many of the base features of the app server such as Logging,
Naming,
JMX, Configuration, etc.
Revision Changes Path
1.1 spyderMQ/conf/default/jboss.conf
Index: jboss.conf
===================================================================
<MLET CODE = "org.jboss.logging.Logger" ARCHIVE="jboss_base.jar"
CODEBASE="../../lib/ext/">
</MLET>
<MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss_base.jar"
CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="Information,Warning,Error">
<ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
</MLET>
<MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss_base.jar"
CODEBASE="../../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="./">
</MLET>
<MLET CODE = "org.jboss.naming.NamingService" ARCHIVE="jboss_base.jar"
CODEBASE="../../lib/ext/">
</MLET>
<MLET CODE = "com.sun.jdmk.comm.HtmlAdaptorServer" ARCHIVE="jmxtools.jar"
CODEBASE="../../lib/ext/" NAME="Adaptor:name=html">
</MLET>
<MLET CODE = "org.jboss.configuration.ConfigurationService"
ARCHIVE="jboss_base.jar,../xml.jar" CODEBASE="../../lib/ext/">
</MLET-->
<MLET CODE = "org.spydermq.server.SpyderMQService" ARCHIVE="spydermq.jar"
CODEBASE="../../lib/ext/">
</MLET>
1.1 spyderMQ/conf/default/jboss.dependencies
Index: jboss.dependencies
===================================================================
<?xml version="1.0"?>
<server>
<service name="Configuration">
</service>
<service name="Log">
<dependency service="Configuration" required="true"/>
</service>
<service name="Logging">
<dependency service="Log" required="true"/>
<dependency service="Configuration" required="true"/>
</service>
<service name="Naming">
<dependency service="Logging" required="true"/>
<dependency service="Configuration" required="true"/>
</service>
</server>
1.1 spyderMQ/conf/default/jboss.jcml
Index: jboss.jcml
===================================================================
<?xml version="1.0"?>
<server>
<mbean name="Adaptor:name=html">
<attribute name="MaxActiveClientCount">10</attribute>
<attribute name="Parser" />
<attribute name="Port">8082</attribute>
</mbean>
<mbean name="DefaultDomain:service=Logging,type=Console">
<attribute name="Format">[{2}] {4}</attribute>
</mbean>
<mbean name="DefaultDomain:service=MLet">
<attribute name="LibraryDirectory">C:\Documents and Settings\Hiram\My
Documents\CVS Checkouts\jBoss.org\spyderMQ\dist\bin</attribute>
</mbean>
<mbean name="DefaultDomain:service=Naming">
<attribute name="Port">1099</attribute>
</mbean>
</server>
1.1 spyderMQ/conf/default/jboss.properties
Index: jboss.properties
===================================================================
# System properties
# These will be loaded and set by jBoss
#java.rmi.server.useLocalHostName=true
#java.rmi.server.hostname=localhost
#java.rmi.server.codebase=http://localhost:8080/
#jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
#jdbc.drivers=org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
#java.security.manager=java.lang.SecurityManager
java.security.auth.login.config==../conf/default/auth.conf
1.1 spyderMQ/conf/default/jnp.properties
Index: jnp.properties
===================================================================
# JNP server configuration
jnp.port=1099
jnp.log=false
1.1 spyderMQ/conf/default/jndi.properties
Index: jndi.properties
===================================================================
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost
java.naming.factory.url.pkgs=org.jboss.naming
1.1 spyderMQ/conf/default/server.policy
Index: server.policy
===================================================================
grant {
// Allow everything for now
permission java.security.AllPermission;
};
1.1 spyderMQ/conf/default/spyderMQ.properties
Index: spyderMQ.properties
===================================================================
# Those are the physical topics known by the server
knownTopics = testTopic, example, bob
# Those are the physical queues known by the server
knownQueues = testQueue, ex
# Those are the users:password:clientID known by the server
knownIds = john:needle:johnClientID, sahra:spot
# Classnames for the invocation layer
DistributedTopicConnectionFactoryClassName =
org.spydermq.distributed.server.DistributedTopicConnectionFactoryRMIImpl
DistributedQueueConnectionFactoryClassName =
org.spydermq.distributed.server.DistributedQueueConnectionFactoryRMIImpl
ConnectionReceiverClassName = org.spydermq.distributed.server.ConnectionReceiverOIL
#ConnectionReceiverClassName = org.spydermq.distributed.server.ConnectionReceiverUIL
#ConnectionReceiverClassName =
org.spydermq.distributed.server.ConnectionReceiverRMIImpl
DistributedJMSServerClassName =
org.spydermq.distributed.server.DistributedJMSServerOIL
#DistributedJMSServerClassName =
org.spydermq.distributed.server.DistributedJMSServerUIL
#DistributedJMSServerClassName =
org.spydermq.distributed.server.DistributedJMSServerRMIImpl
# [Log level] valid values are : LOG_EVERYTHING, LOG_NOTICE, LOG_ERRORS
LogLevel = LOG_ERRORS
# By default the server startup logic will start a JNDI server (JNP).
# You may not want it to, ie., you already have one running. To
# prevent the launch set the following variable to any non-null value.
DoNotStartJNDI = yo