jboss3.0beta and oracle
charlie Mar 20, 2002 11:25 PMsomeone can help me ?
i meet a strange problem.it keeps for 2 days!!!.
when i config the oracle as following
jboss_home/conf/default/standardjaws.xml:
java:/OracleDS
<type-mapping>Oracle8</type-mapping>
false
jboss_home/conf/default/standardjbosscmp-jdbc.xml:
java:/OracleDS
<type-mapping>Oracle8</type-mapping>
false
jboss_home/deploy/oracleds-service.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: oracle-service.xml,v 1.3 2002/03/01 00:02:00 d_jencks Exp $ -->
<!-- =====================================================================-->
<!-- oracleds-service.xml -->
<!-- JBoss v3.0alpha (november 23, 2001) ORACLE thin driver Configuration -->
<!-- tested against ORACLE v8.x -->
<!-- ==================================================================== -->
<!-- -->
<!-- please put jdbc driver (in this case classes12.zip) in jboss_home/lib/ext -->
<!-- please put this file (oracleds-service.xml) under jboss_home/deploy -->
<!-- Contributed by Christian Biasuzzi bic@quinary.com-->
<!-- ===================================================================== -->
ConnectionURL=jdbc:oracle:thin:@localhost:1521:oracle
DriverClass=oracle.jdbc.driver.OracleDriver
OracleDS
java:/TransactionManager
<depends optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter
<depends optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
#
#Wed Aug 15 16:17:29 EDT 2001
BlockingTimeoutMillis=50000
IdleTimeoutMinutes=30
MaxSize=10
CleanupIntervalMinutes=10
MinSize=0
MaxIdleTimeoutPercent=1.0
org.jboss.resource.security.ManyToOnePrincipalMapping
userName=scott
password=tiger
jboss start ok, but when i put the ejbjar in the deploy directory,
two ways going.
1. keep the hsqldb-default-service.xml in deploy directory ,it works with the default ds not oracle.
2. remove the hsqldb-default-service.xml from the directory, when deploying ,it lookup the DefaultDS!!!.
error message as following!
Exception in service lifecyle operation: create
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/DefaultDS