关于Universe和IDT链接数据库的JDBC配置
2014-07-03 15:07
337 查看
情况一:Universe链接Oracle(选择客户端链接方式)
开发端:客户端装的BO Client Tool 4.0版本要和Oracle Client要一致,即同为32位或64位
运行时:由于BOE 4.0为64位,所以在BOE调相应驱动时会调用:C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers\lib64\dbd_oci.dll
所以要保证在服务器端安装64位的Oracle client, 32位的会报错
情况二:Universe 链接SQL Server或Oracle (用JDBC方式连接)
1.配置classpath环境变量
2.将C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\jdbc
目录下的文件jdbc.sbo文件打开,添加类路径:
<DataBases>
<DataBase Active="Yes" Name="Generic JDBC datasource">
<JDBCDriver>
<!-- Uncomment and edit the following lines
to define java classes required by JDBC driver
<ClassPath>
<Path>your jar or class files directory</Path>
</ClassPath>
-->
<ClassPath>
<Path>C:\\XJL\\Install Software\\Drivers\\sqljdbc.jar</Path>
</ClassPath>
<Parameter Name="JDBC Class">$JDBCCLASS$</Parameter>
<Parameter Name="URL Format">$DATASOURCE$</Parameter>
</JDBCDriver>
<Parameter Name="Array Fetch Size">10</Parameter>
</DataBase>
</DataBases>
</DriverConfiguration>
补充:
当时解决的chartset issue: Conversion from UTF8 tochartset
failed:Encoding not loaded
2.Also you need to add "C:\Program Files (x86)\SAP BusinessObjects\SAP
BusinessObjects Enterprise XI 4.0\win64_x64" to the PATH environment variables on the SAP Business Objects Enterprise machine
(the purpose of adding PATH environment is to fix the chartset issue. Error message : “Conversion
from UTF8 tochartset failed:Encoding not loaded” )
开发端:客户端装的BO Client Tool 4.0版本要和Oracle Client要一致,即同为32位或64位
运行时:由于BOE 4.0为64位,所以在BOE调相应驱动时会调用:C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers\lib64\dbd_oci.dll
所以要保证在服务器端安装64位的Oracle client, 32位的会报错
情况二:Universe 链接SQL Server或Oracle (用JDBC方式连接)
1.配置classpath环境变量
2.将C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\jdbc
目录下的文件jdbc.sbo文件打开,添加类路径:
<DataBases>
<DataBase Active="Yes" Name="Generic JDBC datasource">
<JDBCDriver>
<!-- Uncomment and edit the following lines
to define java classes required by JDBC driver
<ClassPath>
<Path>your jar or class files directory</Path>
</ClassPath>
-->
<ClassPath>
<Path>C:\\XJL\\Install Software\\Drivers\\sqljdbc.jar</Path>
</ClassPath>
<Parameter Name="JDBC Class">$JDBCCLASS$</Parameter>
<Parameter Name="URL Format">$DATASOURCE$</Parameter>
</JDBCDriver>
<Parameter Name="Array Fetch Size">10</Parameter>
</DataBase>
</DataBases>
</DriverConfiguration>
补充:
当时解决的chartset issue: Conversion from UTF8 tochartset
failed:Encoding not loaded
2.Also you need to add "C:\Program Files (x86)\SAP BusinessObjects\SAP
BusinessObjects Enterprise XI 4.0\win64_x64" to the PATH environment variables on the SAP Business Objects Enterprise machine
(the purpose of adding PATH environment is to fix the chartset issue. Error message : “Conversion
from UTF8 tochartset failed:Encoding not loaded” )
相关文章推荐
- 关于用JDBC链接数据库的配置
- jdbc 链接数据库配置Properties 方法
- java解析配置文件config.propertie 使用JDBC链接数据库
- JDBC.property 配置文件中链接数据库的配置
- BIEE 通过配置文件 修改JDBC 数据库链接
- JAVA JDBC 读取配置文件链接数据库(oracle)
- JDBC链接数据库 使用web.xml 读取数据库配置
- spring中jdbc链接数据库配置文件
- 编码问题 关于hibernate jdbc数据库连接在xml配置与在properties文件配置的差异
- jdbc 配置文件链接数据库
- 关于JDBC链接数据库的代码实现
- 提供各种数据库在JDBC中的连接方法.及在struts与hibernate中的配置
- 配置BEA WebLogic 8.1 JDBC连接--Oracle 8.1.7数据库使用的WebLogic 8.1 JDBC配置
- 关于IBatisNet的配置文件中数据库连接字符串加密处理
- 常用数据库JDBC链接写法
- Progress 数据库JDBC连接配置
- asp.net2.0WebConfig的配置文件中设置数据库链接
- 关于resin服务器下开发jpa+struts2.0+spring+hibernate+dwr的数据库表的ORM配置问题
- 数据库安全:一些关于SQL Server 2000的安全配置
- Mysql在数据库链接上配置编码