Configure Report Server On Gas
Configure Report Server On Gas
.info Installation of Infrastructure, Business Objects and Configure Report Services on 10gAS (Sun Solaris) High level Steps 1. Infrastructure Installation 2. Application Server Installation 3. Start and Stop Scripts 4. Reports Server Configuration 5. Issues and Solution - Page 2 - Page 16 - Page 25 - Page 30 - Page 32
Author A.Kishore http://www.appsdba.info Create user ora9ias and add to group appgroup
Infrastructure Installation
ias_admin/oracle904
Author A.Kishore http://www.appsdba.info The following information is available in: /oracle/infra/Apache/Apache/setupinfo.txt ----------------------------------------Use the following URL to access the Oracle HTTP Server and the Welcome Page: http://190.2.12.112:7777 ----------------------------------------Use the following URL to access the Oracle Enterprise Manager Application Server Control: http://190.2.12.112:1810 Installation of OracleAS Infrastructure is Complete.
ldap /db/ora9ias/Disk1 $ps -ef | grep oid ora9ias 9129 1 0 04:05:35 ? 0:02 /ora9ias/infra/bin/oidmon connect=asdb1 opmnuid 1461714946 start ora9ias 9138 1 0 04:05:38 ? 0:17 oidldapd ora9ias 9134 9129 0 04:05:36 ? 0:02 /ora9ias/infra/bin/oidldapd connect=asdb1 -p 3061 -i 1 -conf 0 -sport 3131 -ss ora9ias 9852 455 0 04:25:54 pts/2 0:00 grep oid
1. Select which components you want to configure for this middle tier. 2. If you are installing J2EE and Web Cache: - If you want Identity Management for J2EE applications, specify the connect information for Oracle Internet Directory. - If you want Managed OracleAS Clusters using Database Repository, specify the connect information for the database containing the Metadata Repository. - If you want both Managed OracleAS Clusters using Database Repository and Identity Management, the Metadata Repository must be registered with the Oracle Internet Directory used for Identity Management. Select a repository from a list of registered repositories. 3. If you are installing Portal and Wireless, or Business Intelligence and Forms, specify the connect information for Oracle Internet Directory used for Identity Management. The Metadata Repository is registered with this Internet Directory. 1. Name this OracleAS middle tier instance.
oracle904
oracle904
Author A.Kishore http://www.appsdba.info The following information is available in: /oracle/appserver/Apache/Apache/setupinfo.txt ----------------------------------------Use the following URL to access the Oracle HTTP Server and the Welcome Page: http://<Server Name>:7778 ----------------------------------------Use the following URL to access the Oracle Enterprise Manager Application Server Control: http:// <Server Name>:1811 Important Files location ---------------------------1> /oracle/appserver/bin rwserver.sh and reports.sh 2> /oracle/appserver/reports/conf rep_mnhmit+ rwserver.properties
Author A.Kishore http://www.appsdba.info Starting and Stopping Infrastructure and Middle tier components Startup Scripts
# ORACLE_HOME=/ora9ias/infra; export ORACLE_HOME cd $ORACLE_HOME lsnrctl start ORACLE_SID=asdb1; export ORACLE_SID sqlplus "sys/oracle as sysdba" @$HOME/start_db.sql # start Instrastructure cd $ORACLE_HOME/opmn/bin ./opmnctl startall cd $ORACLE_HOME/bin emctl start iasconsole # Start Middle tier Components cd /ora9ias/app_server/opmn/bin ./opmnctl startall cd /ora9ias/app_server/bin ./emctl start iasconsole cat start_db.sql startup exit
Stop Scripts
# ORACLE_HOME=/ora9ias/infra; export ORACLE_HOME cd $ORACLE_HOME lsnrctl stop ORACLE_SID=asdb1; export ORACLE_SID sqlplus "sys/oracle as sysdba" @$HOME/stop_db.sql # Stop Middle tier Components cd /ora9ias/app_server/bin ./emctl stop iasconsole cd /ora9ias/app_server/opmn/bin ./opmnctl stopall # stop Instrastructure cd $ORACLE_HOME/bin emctl stop iasconsole cd $ORACLE_HOME/opmn/bin ./opmnctl stopall cat stop_db.sql shutdown immediate exit
Author A.Kishore http://www.appsdba.info Change the maxconnect="20" to maxconnect="100" so that we will not get errors even if 100 users/sessions are connected to the report server at any time. We can keep even a higher value than 100. Restart the services !!! 3> Locate the file 'Edit the CGICMD.DAT' under <FORMS_HOME>\reports\conf Directory. Add the below lines at the bottom of the file to hide userid and password hmhtml: userid=health/health@hmdev destype=cache desformat=html %1 hmpdf: server=rep_mnhmit userid=health/health@hmdev destype=file desformat=pdf %1 %2 hmprn: server=rep_mnhmit userid=health/health@hmdev destype=printer %1 To call a report http://mnhmit:7781/reports/rwservlet?hmhtml&report=language_cd.rdf http://mnhmit:7781/reports/rwservlet?report=language_cd.rdf&userid=<uid>/<pwd>@<i nstance name>&destype=cache&desformat=html http://mnhmit:7781/reports/rwservlet/getserverinfo? To convert rdf to rep **************** ./rwconverter userid=<uid>/<pwd>@<instance name> source=/ora9ias/reports/language_cd.rdf batch=yes stype=rdffile dtype=repfile compile_all=yes To compile multiple files in a loop
for i in `ls *.rdf` do echo Compiling Report $i ... rwconverter.sh userid=scott/tiger@asdb batch=yes source=$i stype=rdffile dtype=repfile overwrite=yes done
Author A.Kishore http://www.appsdba.info Issue faced and solution 1> ./rwconverter libjvm.so error copy libjvm.so in /lib directory 2> which java was always returning /usr/bin but we wanted /usr/j2sdk1.4.2_04/bin/java PATH=/usr/openwin/bin:/opt/bin:/opt/local/GNU/bin:/opt/local/bin:/opt/NSCPnav/bin:$ ORACLE_HOME/bin:/usr/j2sdk1.4.2_04/bin:/usr/bin export PATH 3> ./rwconverter userid=scott/tiger@asdb source=Dept.rdf batch=yes stype=rdffile dtype=repfile compile_all=yes REP-0001: Unable to find the Report Builder message file. Please verify your installation. Or core dump Could solve by running . ./reports.sh . ./reports.sh 4> REP-0004: Warning: Unable to open user preference file. REP-0202: Attempt to free a null pointer. cp prefs.ora from $ORACLE_HOME/tools/admin to $HOME All reports should be available in /oracle/Ora9ias/rdf
userid portal/oracle904