How to config ManagedConnectionFactoryProperties
xuebin_liu May 19, 2002 11:54 PMWhen I config my OracleDS in oracle-servive.xml,
I set the properties of ManagedConnectionFactoryProperties
as the following:
<config-property>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>jdbc:oracle:thin:@202.205.6.213:1521:ora8i</config-property-value>
</config-property>
<config-property>
<config-property-name>DriverClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>oracle.jdbc.driver.OracleDriver</config-property-value>
</config-property>
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>dev_user</config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>dev_user</config-property-value>
</config-property>
but it doesn't work.
when I access the http://localhost:8080/ViewObjectRes/....
of my OracleDS, the server returns :
Type Not Supported: [ <config-property> <config-property-name>ConnectionURL</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>jdbc:oracle:thin:@202.205.6.213:1521:ora8i</config-property-value> </config-property> <config-property> <config-property-name>DriverClass</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>oracle.jdbc.driver.OracleDriver</config-property-value> </config-property> <config-property> <config-property-name>UserName</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>dev_user</config-property-value> </config-property> <config-property> <config-property-name>Password</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>dev_user</config-property-value> </config-property> ]
Thanks. Suggestions on how to improve the configuration process and setup are appreciated.