在Oracle iAS 10g中创建Report Server

1. rwserver -install rep01
2. In “Service”, start the rep01 server to create the conf file.
3. Open

 1<oracle_home>\reports\conf\rep01.conf   
 24\. Add path infomation , env infomation, such as : 
 3
 4<?xml version = '1.0' encoding = 'ISO-8859-1'?>
 5<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:/C:/Oracle/ias/reports/dtd/rwserverconf.dtd">
 6
 7<server version="9.0.4">
 8<!--compatible version="6i"/-->
 9<cache class="oracle.reports.cache.RWCache">
10<property name="cacheSize" value="50"></property>
11<!--property name="cacheDir" value="your cache directory"/-->
12<!--property name="maxCacheFileNumber" value="max number of cache files"/-->
13<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
14</cache>
15<!--Please do not change the id for reports engine.-->
16<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
17<engine callbacktimeout="60000" class="oracle.reports.engine.EngineImpl" englife="50" id="rwEng" initengine="1" maxengine="1" maxidle="30" minengine="0">
18<property name="sourceDir" value="c:\geo;C:\WINDOWS\Fonts"></property>
19<property name="tempDir" value="c:\geo"></property>
20<property name="defaultEnvId" value="zhs"></property>
21<!--property name="sourceDir" value="your reports source directory"/-->
22<!--property name="tempDir" value="your reports temp directory"/-->
23<!--property name="keepConnection" value="yes"/-->
24</engine>
25<engine callbacktimeout="60000" class="oracle.reports.urlengine.URLEngineImpl" englife="50" id="rwURLEng" initengine="1" maxengine="1" maxidle="30" minengine="0"></engine>
26<!--security id="rwSec" class="oracle.reports.server.RWSecurity">   
27<property name="securityUserid" value="  %PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%  " confidential="yes" encrypted="no"/>   
28<property name="oidEntity" value="%REPORTS_OID_ENTITY%"/>   
29</security-->
30<!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">   
31<property name="portalUserid" value="  %PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%  " confidential="yes" encrypted="no"/>   
32</destination-->
33<destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp">
34<!--property name="proxy" value="proxyinfo.xml"/-->
35</destination>
36<destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav">
37<!--property name="proxy" value="proxyinfo.xml"/-->
38</destination>
39<job engineid="rwEng" jobtype="report"></job>
40<job engineid="rwURLEng" jobtype="rwurl"></job>
41<notification class="oracle.reports.server.MailNotify" id="mailNotify">
42<property name="succnotefile" value="succnote.txt"></property>
43<property name="failnotefile" value="failnote.txt"></property>
44</notification>
45<!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">   
46<property name="connStr" value="  %WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%  " confidential="yes" encrypted="no"/>   
47</notification-->
48<log option="noJob"></log>
49<!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">   
50<property name="repositoryConn" value="  repo_db_username/repo_db_password@repo_db_tnsname  " confidential="yes" encrypted="no"/>   
51</jobStatusRepository-->
52<!--trace traceOpts="trace_all"/-->
53<connection idletimeout="15" maxconnect="20">
54<orbclient id="RWClient" publickeyfile="clientpub.key"></orbclient>
55<!--cluster publicKeyFile="serverpub.key" privateKeyFile="serverpri.key"/-->
56<cluster privatekeyfile="C:\Oracle\ias\reports\jlib\cpriv.key" publickeyfile="C:\Oracle\ias\reports\jlib\cpub.key"></cluster>
57</connection>
58<environment id="UTF8">
59<envvariable name="NLS_LANG" value="AMERICAN_AMERICA.UTF8"></envvariable>
60</environment>
61<environment id="zhs">
62<envvariable name="NLS_LANG" value="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"></envvariable>
63</environment>
64<queue maxqueuesize="1000"></queue>
65<!--   
66The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD 
67
68SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml   
69file should match for Reports EM pages to display data correctly. 
70
71Corresponding entries of username and password in targets.xml:   
72<Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>   
73<Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>   
74\-->
75<identifier confidential="yes" encrypted="yes">ZgZCDkywAUaHwMnb+A6YTggUUX59oOtnJJa6PYd9OXatoaPoa8xDLsPnlpoUKC/SjBYPJfpRUj0A///GoA4Sp/7AwgEhpn6w0YNLDmAqcsix6VRFJ58opHMEBm0H8ieBFVQT5QB6ozKmY5nRv8IpVvaYEEcO+vYxf44MmuzLKfG0vEmtFFlYRHtjtjcG/UPecKzYVcwmMkDCGUyQqiO5a46iVxBWkG8yXnrj4IbETU+JybmAcde0TGjx+25LL5UXHTs0Q3IEJsyk7tFB7yfuppCrEx9meAZg83LbxLZ++135DZT4gMUW5Nggb91QaI+oDk0GNdpecrKJxS8MGa8i91yCqzgRInDNVGOKXQQL4QBVvVZzFAwCVtyRC50gm0i+zDwNlkdaoKndNMoKqjKHYJ5rGQ6VFnrxrAGy3vSeekPhPiths/Cd8YzV49mXlTnjUmlkGFkXe0ku</identifier>
76<!--pluginParam name="mailServer">%MAILSERVER_NAME%</pluginParam-->
77<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
78<pluginparam name="xmlpds" type="file">xmlpds.conf</pluginparam>
79<pluginparam name="jdbcpds" type="file">jdbcpds.conf</pluginparam>
80<pluginparam name="textpds" type="file">textpds.conf</pluginparam>
81</server>   
82
83
845\. Modify tnsnames.ora to include a tns name point to target database   
856\. Modify <oracle_home>\ias\tools\uifont.ali to include   
86Arial = "SIMFANG.TTF"  in the  [ PDF:Subset ]  section   
877\. restart the report server   
888\. set the report server in application to point to this report server(rep01)   
899\. print report   
9010\. in Browser, type http://<webserver>/reports/rwservlet/showjobs?server=rep01 , in this step, you can see the report job just printed. 
91
92So far, the report server is created successfully. 
93
94BTW, in the above rep01.cluster2.conf file, there's a line begining with  &lt;cluster   
95This is used when the report server is a memeber of the specified cluster.</webserver></oracle_home></oracle_home>
Published At
Categories with 数据库类
Tagged with
comments powered by Disqus