I set up
jboss as written
here
http://www.javaresearch.org/article/showarticle.jsp?column=151&thread=2207But I get the following errors.
No Attribute found with name: JndiName
Writable attribute 'ManagedConnectionFactoryName' not found
STANDARDJAWS.XML
<jaws> <datasource>
java:/DefaultDS</datasource> <type-mapping>SapDB</type-mapping> <debug>false</debug>
STANDARDJBOSSCMP-JDBC.XML
<jbosscmp-jdbc> <defaults> <datasource>java:/DefaultDS</datasource> <datasource-mapping>SapDB</datasource-mapping>
SAPDB-SERVICE.XML
<mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"name="jboss.jca:service=LocalTxCM,name=SapdbDS"> <!--uncomment out this line if you are using the DB2DbRealm above <attribute name="SecurityDomainJndiName">HsqlDbRealm</attribute> --> <depends optional-attribute-name="ManagedConnectionFactoryName"> <!--embedded mbean--> <mbean code="org.jboss.resource.connectionmanager.RARDeployment"name="jboss.jca:service=LocalTxDS,name=SapdbDS"> <attribute name="JndiName">DefaultDS</attribute> <attribute name="ManagedConnectionFactoryProperties"> <properties> <config-property name="ConnectionURL"type="java.lang.String">
jdbc:sapdb://127.0.0.2/EMR</config-property> <config-property name="DriverClass"type="java.lang.String">com.sap.dbtech.jdbc.DriverSapDB</config-property> <config-property name="UserName"type="java.lang.String">dba</config-property> <config-property name="Password"type="java.lang.String">dba</config-property> <config-property name="TransactionIsolation"type="java.lang.String">TRANSACTION_READ_UNCOMMITTED</config-property> </properties> </attribute>Instead of DefaultDS I also tried SapdbDS, but I get the same errors.
max