Hi All,
I found out why I was getting an error stating that there was no
buffer space for a file descriptor. It lead backwards to consistent
messages about "neighbour table overflow", which lead me to configure my
lo interface (Debian linux).
I'm very grateful to google.com - which helped me track down both
problems, neither of which were JBoss problems. :)
Now I'm getting a different error!
Hypersonic is telling me "Access is denied" when I'm trying to connect
as user 'sa'.
Is there a special user/password combo I should be using? I'm using
'sa' and 'foo' for them, respectively.
Enclosed are the log and the jboss.jcml files...
thanks anyone!
JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
jboss.home = /home/vocalist/jboss/JBoss-2.2.1
Using configuration "default"
[Info] Java version: 1.3.0,Blackdown Java-Linux Team
[Info] Java VM: Java HotSpot(TM) Server VM Blackdown-1.3.0-FCS,Blackdown Java-Linux
Team
[Info] System: Linux 2.2.17,i386
[Shutdown] Shutdown hook added
[Service Control] Registered with server
[Service Control] Initializing 24 MBeans
[Webserver] Initializing
[Webserver] Initialized
[Naming] Initializing
[Naming] Initialized
[JNDIView] Initializing
[JNDIView] Initialized
[Transaction manager] Initializing
[Transaction manager] Initialized
[JAAS Security Manager] Initializing
[JAAS Security Manager] Initialized
[JDBC provider] Initializing
[JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver
[JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
[JDBC provider] Initialized
[Hypersonic] Initializing
[Hypersonic] Initialized
[InstantDB] Initializing
[InstantDB] Initialized
[DefaultDS] Initializing
[DefaultDS] Initialized
[Container factory] Initializing
[Container factory] Initialized
[JBossMQ] Initializing
[JBossMQ] Initialized
[DefaultJMSProvider] Initializing
[DefaultJMSProvider] Initialized
[StdJMSPool] Initializing
[StdJMSPool] Initialized
[J2EE Deployer Default] Initializing
[J2EE Deployer Default] Initialized
[Auto deploy] Initializing
[Auto deploy] Initialized
[RARDeployer] Initializing
[RARDeployer] Initialized
[ConnectionManagerFactoryLoader] Initializing
[MinervaNoTransCMFactory] Initialized
[ConnectionManagerFactoryLoader] Initializing
[MinervaSharedLocalCMFactory] Initialized
[ConnectionManagerFactoryLoader] Initializing
[MinervaXACMFactory] Initialized
[ConnectionFactoryLoader] Initializing
[BlackBoxDS] Initialized
[JMX RMI Adaptor] Initializing
[JMX RMI Adaptor] Initialized
[JMX RMI Connector] Initializing
[JMX RMI Connector] Initialized
[Mail Service] Initializing
[Mail Service] Initialized
[Service Control] Initialized 24 services
[Service Control] Starting 24 MBeans
[Webserver] Starting
[Webserver] Codebase set to http://heaven.private.internal:8083/
[Webserver] Started webserver on port 8083
[Webserver] Started
[Naming] Starting
[Naming] Naming started on port 1099
[Naming] Started
[JNDIView] Starting
[JNDIView] Started
[Transaction manager] Starting
[Transaction manager] Started
[JAAS Security Manager] Starting
[JAAS Security Manager] JAAS.startService, cachePolicy=null
[JAAS Security Manager] JAAS.startService,
SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@3adc56
[JAAS Security Manager] Started
[JDBC provider] Starting
[JDBC provider] Started
[Hypersonic] Starting
[Hypersonic] port =1476
[Hypersonic] database=/home/vocalist/jboss/JBoss-2.2.1/db/hypersonic/default
[Hypersonic] silent =false
[Hypersonic] Server 1.4 is running
[Hypersonic] Database started
[Hypersonic] Started
[InstantDB] Starting
registerDriver:
driver[className=org.opentools.minerva.jdbc.xa.XAPoolDriver,org.opentools.minerva.jdbc.xa.XAPoolDriver@56a05e]
[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
DriverManager.getConnection("jdbc:idb:../conf/default/instantdb.properties")
trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@3cc0bc]
trying
driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@2d263f]
[Hypersonic] Press [Ctrl]+[C] to abort
Enhydra InstantDB - Version 3.26
[InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc.
All Rights Reserved.
getConnection returning
driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.instantdb.jdbc.idbDriver@2d263f]
[InstantDB] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new
Connection (org.enhydra.instantdb.jdbc.idbConnection) with XAResource
org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.
[InstantDB] No transaction right now.
[InstantDB] Pool InstantDB [0/0/10] gave out new object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27
[InstantDB] Pool InstantDB [0/1/10] returned object
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@3e0e27 to the pool.
[InstantDB] Started
[DefaultDS] Starting
[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
DriverManager.getConnection("jdbc:HypersonicSQL:hsql://localhost:1476")
trying driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@3cc0bc]
getConnection returning
driver[className=org.hsql.jdbcDriver,org.hsql.jdbcDriver@3cc0bc]
[Hypersonic] 0:trying to connect user sa
[Hypersonic] java.sql.SQLException: Access is denied
[Hypersonic] at org.hsql.Trace.getError(Trace.java:124)
[Hypersonic] at org.hsql.Trace.getError(Trace.java:115)
[Hypersonic] at org.hsql.Trace.check(Trace.java:149)
[Hypersonic] at org.hsql.Trace.check(Trace.java:145)
[Hypersonic] at org.hsql.User.checkPassword(User.java:37)
[Hypersonic] at org.hsql.Access.getUser(Access.java:89)
[Hypersonic] at org.hsql.Database.connect(Database.java:63)
[Hypersonic] at org.hsql.ServerConnection.init(ServerConnection.java:40)
[Hypersonic] at org.hsql.ServerConnection.run(ServerConnection.java:49)
SQLException: SQLState(S1000)
[DefaultDS] java.sql.SQLException: is denied
[DefaultDS] at org.hsql.Trace.getError(Trace.java:124)
[DefaultDS] at org.hsql.Result.<init>(Result.java:70)
[DefaultDS] at org.hsql.jdbcConnection.executeHSQL(jdbcConnection.java:644)
[DefaultDS] at org.hsql.jdbcConnection.execute(jdbcConnection.java:540)
[DefaultDS] at org.hsql.jdbcConnection.setAutoCommit(jdbcConnection.java:225)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:125)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:151)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory.createObject(XAConnectionFactory.java:246)
[DefaultDS] at
org.opentools.minerva.pool.ObjectPool.createNewObject(ObjectPool.java:819)
[DefaultDS] at org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:569)
[DefaultDS] at org.opentools.minerva.pool.ObjectPool.getObject(ObjectPool.java:521)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165)
[DefaultDS] at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)
[DefaultDS] at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.Main.<init>(Main.java:203)
[DefaultDS] at org.jboss.Main$1.run(Main.java:107)
[DefaultDS] at java.security.AccessController.doPrivileged(Native Method)
[DefaultDS] at org.jboss.Main.main(Main.java:103)
SQLException: SQLState(Acces)
[DefaultDS] XADataSource unable to disable auto-commit on org.hsql.jdbcConnection
[DefaultDS] org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl created new
Connection (org.hsql.jdbcConnection) with XAResource
org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl and XAConnection
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.
[DefaultDS] No transaction right now.
[DefaultDS] Pool DefaultDS [0/0/10] gave out new object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@2da3d
[DefaultDS] java.sql.SQLException: Connection is broken: Broken pipe: Broken pipe
[DefaultDS] at org.hsql.Trace.getError(Trace.java:124)
[DefaultDS] at org.hsql.Trace.getError(Trace.java:115)
[DefaultDS] at org.hsql.Trace.error(Trace.java:130)
[DefaultDS] at org.hsql.jdbcConnection.executeHSQL(jdbcConnection.java:642)
[DefaultDS] at org.hsql.jdbcConnection.execute(jdbcConnection.java:540)
[DefaultDS] at org.hsql.jdbcConnection.rollback(jdbcConnection.java:259)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.rollback(XAConnectionImpl.java:178)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.closeConnection(XAConnectionFactory.java:116)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.connectionClosed(XAConnectionFactory.java:82)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.clientConnectionClosed(XAConnectionImpl.java:126)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection.close(XAClientConnection.java:250)
[DefaultDS] at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)
[DefaultDS] at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.Main.<init>(Main.java:203)
[DefaultDS] at org.jboss.Main$1.run(Main.java:107)
[DefaultDS] at java.security.AccessController.doPrivileged(Native Method)
[DefaultDS] at org.jboss.Main.main(Main.java:103)
SQLException: SQLState(08003)
[DefaultDS] java.sql.SQLException: Connection is broken: Broken pipe
[DefaultDS] at org.hsql.Trace.getError(Trace.java:124)
[DefaultDS] at org.hsql.Trace.getError(Trace.java:115)
[DefaultDS] at org.hsql.Trace.error(Trace.java:130)
[DefaultDS] at org.hsql.jdbcConnection.executeHSQL(jdbcConnection.java:642)
[DefaultDS] at org.hsql.jdbcConnection.execute(jdbcConnection.java:540)
[DefaultDS] at org.hsql.jdbcConnection.close(jdbcConnection.java:279)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.close(XAConnectionImpl.java:104)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory.deleteObject(XAConnectionFactory.java:298)
[DefaultDS] at
org.opentools.minerva.pool.ObjectPool.releaseObject(ObjectPool.java:665)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.closeConnection(XAConnectionFactory.java:120)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.XAConnectionFactory$2.connectionClosed(XAConnectionFactory.java:82)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl.clientConnectionClosed(XAConnectionImpl.java:126)
[DefaultDS] at
org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection.close(XAClientConnection.java:250)
[DefaultDS] at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)
[DefaultDS] at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[DefaultDS] at java.lang.reflect.Method.invoke(Native Method)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[DefaultDS] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[DefaultDS] at org.jboss.Main.<init>(Main.java:203)
[DefaultDS] at org.jboss.Main$1.run(Main.java:107)
[DefaultDS] at java.security.AccessController.doPrivileged(Native Method)
[DefaultDS] at org.jboss.Main.main(Main.java:103)
SQLException: SQLState(08003)
[DefaultDS] Pool DefaultDS [0/0/10] destroyed object
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@2da3d.
[DefaultDS] Started
[Container factory] Starting
[Container factory] Started
[JBossMQ] Starting
SQLException: SQLState(08003)
[JBossMQ] Server Version 0.8 Started
[JBossMQ] Started
[DefaultJMSProvider] Starting
[DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to
java:/DefaultJMSProvider
[DefaultJMSProvider] Started
[StdJMSPool] Starting
[StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool
[StdJMSPool] Started
[J2EE Deployer Default] Starting
[J2EE Deployer Default] No web container found - only EJB deployment available...
[J2EE Deployer Default] Cleaning up deployment directory
[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching /home/vocalist/jboss/JBoss-2.2.1/deploy
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaNoTransCMFactory] Starting
[MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bound to
'java:/MinervaNoTransCMFactory'
[MinervaNoTransCMFactory] Started
[MinervaSharedLocalCMFactory] Starting
[MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFactory
bound to 'java:/MinervaSharedLocalCMFactory'
[MinervaSharedLocalCMFactory] Started
[MinervaXACMFactory] Starting
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to
'java:/MinervaXACMFactory'
[MinervaXACMFactory] Started
[BlackBoxDS] Starting
[BlackBoxDS] Started
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[JMX RMI Connector] Starting
[JMX RMI Connector] Started
[Mail Service] Starting
[Mail Service] DEBUG: not loading system providers in <java.home>/lib
[Mail Service] DEBUG: not loading optional custom providers file:
/META-INF/javamail.providers
[Mail Service] DEBUG: successfully loaded default providers
[Mail Service]
DEBUG: Tables of loaded providers
[Mail Service] DEBUG: Providers Listed By Class Name:
{com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc],
com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc]}
[Mail Service] DEBUG: Providers Listed By Protocol:
{imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems,
Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
Microsystems, Inc],
smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]}
[Mail Service] DEBUG: not loading optional address map file:
/META-INF/javamail.address.map
[Mail Service] Mail Service 'Mail' bound to java:/Mail
[Mail Service] Started
[Service Control] Started 24 services
[Service Control] Stopping 31 MBeans
[Mail Service] Stopping
[Mail Service] Mail service 'Mail' removed from JNDI
[Mail Service] Stopped
[JMX RMI Connector] Stopping
[JMX RMI Connector] Stopped
[JMX RMI Adaptor] Stopping
[JMX RMI Adaptor] Stopped
[BlackBoxDS] Stopping
[BlackBoxDS] Stopped
[MinervaXACMFactory] Stopping
[MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory' removed from JNDI
[MinervaXACMFactory] Stopped
[MinervaSharedLocalCMFactory] Stopping
[MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFactory'
removed from JNDI
[MinervaSharedLocalCMFactory] Stopped
[MinervaNoTransCMFactory] Stopping
[MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory' removed
from JNDI
[MinervaNoTransCMFactory] Stopped
[RARDeployer] Stopping
[RARDeployer] Stopped
[Auto deploy] Stopping
[Auto deploy] Stopped
[J2EE Deployer Default] Stopping
[J2EE Deployer Default] Undeploying all applications.
[J2EE Deployer Default] Undeployed 0 applications.
[J2EE Deployer Default] Stopped
[StdJMSPool] Stopping
[StdJMSPool] JMA Provider Adapter StdJMSPool removed from JNDI
[StdJMSPool] Stopped
[DefaultJMSProvider] Stopping
[DefaultJMSProvider] JMA Provider Adapter DefaultJMSProvider removed from JNDI
[DefaultJMSProvider] Stopped
[JBossMQ] Stopping
[JBossMQ] Unregistering 'JMS:service=JMSServer'
[JBossMQ] Unregistering 'JMS:service=DistributedJMSServerSetup,type=OIL'
[JBossMQ] Unregistering 'JMS:service=DistributedConnectionFactory,type=OIL'
[JBossMQ] Unregistering 'JMS:service=DistributedJMSServerSetup,type=UIL'
[JBossMQ] Unregistering 'JMS:service=DistributedConnectionFactory,type=UIL'
[JBossMQ] Unregistering 'JMS:service=DistributedJMSServerSetup,type=RMI'
[JBossMQ] Unregistering 'JMS:service=DistributedConnectionFactory,type=RMI'
[JBossMQ] Stopped
[Container factory] Stopping
[Container factory] Stopped
[DefaultDS] Stopping
[DefaultDS] XA Connection pool DefaultDS removed from JNDI
[DefaultDS] XA Connection pool DefaultDS shut down
[DefaultDS] Stopped
[InstantDB] Stopping
[InstantDB] XA Connection pool InstantDB removed from JNDI
[InstantDB] Database instantdb is shutting down...
[InstantDB] Database instantdb shutdown complete.
[InstantDB] XA Connection pool InstantDB shut down
[InstantDB] Stopped
[Hypersonic] Stopping
[Hypersonic] Stopped
[JDBC provider] Stopping
[JDBC provider] Stopped
[JAAS Security Manager] Stopping
[JAAS Security Manager] Stopped
[Transaction manager] Stopping
[Transaction manager] Stopped
[JNDIView] Stopping
[JNDIView] Stopped
[Naming] Stopping
[Naming] JNP server stopped
[Naming] Stopped
[Webserver] Stopping
[Webserver] Stopped
[Service Control] Stopped 31 services
[Service Control] Destroying 24 MBeans
[Mail Service] Destroying
[Mail Service] Destroyed
[JMX RMI Connector] Destroying
[JMX RMI Connector] Destroyed
[JMX RMI Adaptor] Destroying
[JMX RMI Adaptor] Destroyed
[BlackBoxDS] Destroying
[BlackBoxDS] Destroyed
[MinervaXACMFactory] Destroying
[MinervaXACMFactory] Destroyed
[MinervaSharedLocalCMFactory] Destroying
[MinervaSharedLocalCMFactory] Destroyed
[MinervaNoTransCMFactory] Destroying
[MinervaNoTransCMFactory] Destroyed
[RARDeployer] Destroying
[RARDeployer] Destroyed
[Auto deploy] Destroying
[Auto deploy] Destroyed
[J2EE Deployer Default] Destroying
[J2EE Deployer Default] Destroyed
[StdJMSPool] Destroying
[StdJMSPool] Destroyed
[DefaultJMSProvider] Destroying
[DefaultJMSProvider] Destroyed
[JBossMQ] Destroying
[JBossMQ] Destroyed
[Container factory] Destroying
[Container factory] Destroyed
[DefaultDS] Destroying
[DefaultDS] Destroyed
[InstantDB] Destroying
[InstantDB] Destroyed
[Hypersonic] Destroying
[Hypersonic] Destroyed
[JDBC provider] Destroying
[JDBC provider] Destroyed
[JAAS Security Manager] Destroying
[JAAS Security Manager] Destroyed
[Transaction manager] Destroying
[Transaction manager] Destroyed
[JNDIView] Destroying
[JNDIView] Destroyed
[Naming] Destroying
[Naming] Destroyed
[Webserver] Destroying
[Webserver] Destroyed
[Service Control] Destroyed 24 services
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is where you can add and configure your MBeans
ATTENTION: The order of the listing here is the same order as
the MBeans are loaded. Therefore if a MBean depends on another
MBean to be loaded and started it has to be listed after all
the MBeans it depends on.
-->
<server>
<!-- Classloading -->
<mbean code="org.jboss.web.WebService" name="DefaultDomain:service=Webserver">
<attribute name="Port">8083</attribute>
</mbean>
<!-- JNDI -->
<mbean code="org.jboss.naming.NamingService" name="DefaultDomain:service=Naming">
<attribute name="Port">1099</attribute>
</mbean>
<mbean code="org.jboss.naming.JNDIView" name="DefaultDomain:service=JNDIView" />
<!-- Transactions -->
<mbean code="org.jboss.tm.TransactionManagerService"
name="DefaultDomain:service=TransactionManager">
<attribute name="TransactionTimeout">300</attribute>
</mbean>
<!-- Security -->
<!-- Uncomment to enable the sample SRPVerifierStore service
<mbean code="org.jboss.security.srp.SRPVerifierStoreService"
name="Security:name=SRPVerifierStoreService">
<attribute name="JndiName">SRPDefaultVerifierSource</attribute>
<attribute name="StoreFile">SRPVerifierStore.ser</attribute>
</mbean>
-->
<!-- Uncomment to enable the SRP login service
<mbean code="org.jboss.security.srp.SRPService" name="service:name=SRPService">
<attribute name="JndiName">SRPServerInterface</attribute>
<attribute name="VerifierSourceJndiName">SRPDefaultVerifierSource</attribute>
<attribute name="AuthenticationCacheJndiName">SRPAuthenticationCache</attribute>
<attribute name="ServerPort">10099</attribute>
</mbean>
-->
<!-- JAAS security manager and realm mapping -->
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
name="Security:name=JaasSecurityManager">
<attribute
name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
</mbean>
<!-- Uncomment to enable the XML implementation of the JAAS policy
<mbean code="org.jboss.security.plugins.SecurityPolicyService"
name="Security:name=SecurityPolicyService">
<attribute name="JndiName">DefaultSecurityPolicy</attribute>
<attribute name="PolicyFile">sample_policy.xml</attribute>
</mbean>
-->
<!-- JDBC -->
<mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
<attribute
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver</attribute>
</mbean>
<mbean code="org.jboss.jdbc.HypersonicDatabase"
name="DefaultDomain:service=Hypersonic">
<attribute name="Port">1476</attribute>
<attribute name="Silent">false</attribute>
<attribute name="Database">default</attribute>
<attribute name="Trace">true</attribute>
<attribute name="LoggingEnabled">true</attribute>
</mbean>
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=InstantDB">
<attribute name="PoolName">InstantDB</attribute>
<attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:idb:../conf/default/instantdb.properties</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser" >sa</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password" />
<attribute name="GCEnabled">false</attribute>
<attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">false</attribute>
<attribute name="GCInterval">120000</attribute>
<attribute name="IdleTimeout">1800000</attribute>
<attribute name="IdleTimeoutEnabled">false</attribute>
<attribute name="LoggingEnabled">true</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
</mbean>
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=DefaultDS">
<attribute name="PoolName">DefaultDS</attribute>
<attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:HypersonicSQL:hsql://localhost:1476</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">sa</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password"></attribute>
<attribute name="GCEnabled">false</attribute>
<attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">false</attribute>
<attribute name="GCInterval">120000</attribute>
<attribute name="IdleTimeout">180000</attribute>
<attribute name="IdleTimeoutEnabled">true</attribute>
<attribute name="LoggingEnabled">true</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
</mbean>
<!-- J2EE deployment -->
<mbean code="org.jboss.ejb.ContainerFactory" name=":service=ContainerFactory">
<attribute name="VerifyDeployments">true</attribute>
<attribute name="MetricsEnabled">false</attribute>
<attribute name="VerifierVerbose">true</attribute>
<attribute name="BeanCacheJMSMonitoringEnabled">false</attribute>
</mbean>
<!-- Uncomment to add embedded tomcat service
<mbean code="org.jboss.tomcat.EmbeddedTomcatService"
name="DefaultDomain:service=EmbeddedTomcat" />
-->
<!-- Uncomment and set file URL to add Jetty service (you can set config more than
once)
<mbean code="org.jboss.jetty.JettyService" name="DefaultDomain:service=Jetty">
<attribute name="Configuration">file URL to jetty.xml e.g.
file:/usr/local/jboss/dist/conf/default/jetty.xml</attribute>
</mbean>
-->
<!-- For Message Driven Beans -->
<mbean code="org.jbossmq.server.JBossMQService" name="DefaultDomain:service=JBossMQ"
/>
<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name=":service=JMSProviderLoader,name=JBossMQProvider">
<attribute name="ProviderName">DefaultJMSProvider</attribute>
<attribute
name="ProviderAdapterClass">org.jboss.jms.jndi.JBossMQProvider</attribute>
</mbean>
<mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
name=":service=ServerSessionPoolMBean,name=StdJMSPool">
<attribute name="PoolName">StdJMSPool</attribute>
<attribute
name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
</mbean>
<!-- Make sure you change EmbeddedTomcat to Jetty if you are using Jetty -->
<mbean code="org.jboss.deployment.J2eeDeployer" name="J2EE:service=J2eeDeployer">
<attribute name="DeployerName">Default</attribute>
<attribute name="JarDeployerName">:service=ContainerFactory</attribute>
<attribute name="WarDeployerName">:service=EmbeddedTomcat</attribute>
</mbean>
<mbean code="org.jboss.ejb.AutoDeployer" name="EJB:service=AutoDeployer">
<attribute name="Deployer">J2EE:service=J2eeDeployer</attribute>
<attribute name="URLs">../deploy</attribute>
</mbean>
<!-- J2EE connector architecture -->
<mbean code="org.jboss.resource.RARDeployer" name="JCA:service=RARDeployer">
</mbean>
<!-- Minerva no transaction connection manager factory.
Use this for resource adapters that don't support
transactions. -->
<mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory">
<attribute name="FactoryName">MinervaNoTransCMFactory</attribute>
<attribute
name="FactoryClass">org.opentools.minerva.connector.jboss.MinervaNoTransCMFactory</attribute>
<attribute name="Properties"></attribute>
</mbean>
<!-- Minerva local transaction connection manager factory.
Use this for resource adapters that support "local"
transactions. -->
<mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory">
<attribute name="FactoryName">MinervaSharedLocalCMFactory</attribute>
<attribute
name="FactoryClass">org.opentools.minerva.connector.jboss.MinervaSharedLocalCMFactory</attribute>
<attribute name="Properties"></attribute>
</mbean>
<!-- Minerva XA transaction connection manager factory
Use this for resource adapters that support "xa"
transactions. -->
<mbean code="org.jboss.resource.ConnectionManagerFactoryLoader"
name="JCA:service=ConnectionManagerFactoryLoader,name=MinervaXACMFactory">
<attribute name="FactoryName">MinervaXACMFactory</attribute>
<attribute
name="FactoryClass">org.opentools.minerva.connector.jboss.MinervaXACMFactory</attribute>
<attribute name="Properties"></attribute>
</mbean>
<!-- Example connection factory for the example "Black Box" resource
adapter. This points at the same database as DefaultDS. -->
<mbean code="org.jboss.resource.ConnectionFactoryLoader"
name="JCA:service=ConnectionFactoryLoader,name=BlackBoxDS">
<attribute name="FactoryName">BlackBoxDS</attribute>
<attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
<attribute name="ResourceAdapterName">Black Box LocalTx Adapter</attribute>
<attribute name="Properties">
ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476
</attribute>
<attribute
name="ConnectionManagerFactoryName">MinervaSharedLocalCMFactory</attribute>
<!-- See the documentation for the specific connection manager
implementation you are using for the properties you can set -->
<attribute name="ConnectionManagerProperties">
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.opentools.minerva.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
</attribute>
<!-- Principal mapping configuration -->
<attribute
name="PrincipalMappingClass">org.jboss.resource.security.ManyToOnePrincipalMapping</attribute>
<attribute name="PrincipalMappingProperties">
userName=sa
password=
</attribute>
</mbean>
<!-- This is an example of using a resource adapter that supports XA
transactions. The Black Box XA resource adapter requires an
XADataSource to be in JNDI somewhere. JBoss doesn't include a
database with an XA-compliant JDBC driver, so this will need to
be configured to use whatever XADataSource implementation you
have.
<mbean code="org.jboss.jdbc.RawXADataSourceLoader"
name="DefaultDomain:service=RawXADataSourceLoader,name=BlackBoxXADS">
<attribute name="PoolName">BlackBoxXADS</attribute>
<attribute name="DataSourceClass">Put your XADataSource implementation class
here</attribute>
<attribute name="Properties"></attribute>
</mbean>
<mbean code="org.jboss.resource.ConnectionFactoryLoader"
name="JCA:service=ConnectionFactoryLoader,name=XABlackBoxDS">
<attribute name="FactoryName">XABlackBoxDS</attribute>
<attribute name="RARDeployerName">JCA:service=RARDeployer</attribute>
<attribute name="ResourceAdapterName">Black Box XA Adapter</attribute>
<attribute name="Properties">
XADataSourceName=java:/BlackBoxXADS
</attribute>
<attribute name="ConnectionManagerFactoryName">MinervaXACMFactory</attribute>
<attribute name="ConnectionManagerProperties">
# Pool type - uncomment to force, otherwise it is the default
#PoolConfiguration=per-factory
# Connection pooling properties - see
# org.opentools.minerva.pool.PoolParameters
MinSize=0
MaxSize=10
Blocking=true
GCEnabled=false
IdleTimeoutEnabled=false
InvalidateOnError=false
TrackLastUsed=false
GCIntervalMillis=120000
GCMinIdleMillis=1200000
IdleTimeoutMillis=1800000
MaxIdleTimeoutPercent=1.0
</attribute>
<attribute
name="PrincipalMappingClass">org.jboss.resource.security.ManyToOnePrincipalMapping</attribute>
<attribute name="PrincipalMappingProperties">
userName=sa
password=
</attribute>
</mbean>
-->
<!-- JMX adaptors -->
<mbean code="org.jboss.jmx.server.JMXAdaptorService" name="Adaptor:name=RMI" />
<mbean code="org.jboss.jmx.server.RMIConnectorService" name="Connector:name=RMI" />
<mbean code="com.sun.jdmk.comm.HtmlAdaptorServer" name="Adaptor:name=html">
<attribute name="MaxActiveClientCount">10</attribute>
<attribute name="Parser" />
<attribute name="Port">8082</attribute>
</mbean>
<!-- Mail Connection Factory -->
<mbean code="org.jboss.mail.MailService" name=":service=Mail">
<attribute name="JNDIName">Mail</attribute>
<attribute name="ConfigurationFile">mail.properties</attribute>
<attribute name="User">user_id</attribute>
<attribute name="Password">password</attribute>
</mbean>
<!-- Uncomment to enable JMX monitoring of the bean cache
<mbean code="org.jboss.monitor.BeanCacheMonitor"
name="Monitor:name=BeanCacheMonitor"/>
-->
<!-- Add your custom MBeans here -->
</server>