JBoss-2.4.4_Tomcat-4.0.1 & CMP & Oracle
giluka Mar 20, 2002 6:44 AMI would to know some things:
1) JBoss 2.4.4 contains all features of EJB2.0 ?
In particular: it can manage local interface ?
2) I've a problem with Oracle 8 e CMP.
My project has a jaws.xml file in META-INF folder (with other files like ejb-jar.xml and jboss.xml).
My jaws file is:
java:/OracleDS
<type-mapping>Oracle8</type-mapping>
where OracleDS is defined in a file named oracle-service.xml present in jboss_home/deploy:
<?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:@myserver.com:1521:db1
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=myusername
password=mypassword
This script, perhaps, is written for JBoss 3.0, i've read.
Infact error message displayed is:
Boss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/user.ear/, Cause: org.jboss.dep
loyment.DeploymentException: OracleDS not bound
What's wrong ?
Help me please !