-
1. Re: JBoss 3.0.4 and Oracle 8.1.7 Problem - Please help
lepekhine Nov 21, 2002 7:22 AM (in response to msnair)netstat will show connection when you really get connection from datasource. See also MinSize and MaxSize attributes in oracle-service.xml
-
2. Re: JBoss 3.0.4 and Oracle 8.1.7 Problem - Please help
msnair Nov 22, 2002 3:15 PM (in response to msnair)Hello,
Thanks for finding some time for answering my question.
The value of Min and Max are 5 and 20 respectively.
thanks
MS
oracle-service.xml file is enclosed inline:
<?xml version="1.0" encoding="UTF-8"?>
<!--uncomment out this line if you are using the OracleDbRealm above
OracleDbRealm
-->
<depends
optional-attribute-name="ManagedConnectionFactoryName">
<!--embedded mbean-->
OracleDataSource
<config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:mstest/mstest@maui.plx.com:1523:ifam817</config-property>
<config-property name="DriverClass" type="java.lang.String">oracle.jdbc.driver.OracleDriver</config-property>
<config-property name="UserName" type="java.lang.String">mstest</config-property>
<config-property name="Password" type="java.lang.String">mstest</config-property>
<!--Below here are advanced properties -->
<!--hack-->
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
<!--
jboss:service=Hypersonic
-->
<!-- Connection pool Setting ... -->
<depends optional-attribute-name="ManagedConnectionPool">
<!--embedded mbean-->
5
20
5000
15
<!--criteria indicates if Subject (from security domain) or app supplied
parameters (such as from getConnection(user, pw)) are used to distinguish
connections in the pool. Choices are
ByContainerAndApplication (use both),
ByContainer (use Subject),
ByApplication (use app supplied params only),
ByNothing (all connections are equivalent, usually if adapter supports
reauthentication)-->
ByContainer
<depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager
<depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager
java:/TransactionManager
<!--make the rar deploy! hack till better deployment-->
jboss.jca:service=RARDeployer