Sie sind auf Seite 1von 14

Configuration of VVS Development

Environment on Oracle Forms / Reports 11gR2

1. Installation Files for Weblogic Server and Forms & Reports Developer:

Download the installation files of the Weblogic Server 10.3.6.0 as well as Forms and
Reports Developer 11.1.2.2.0 from the Oracle Technology Network. For the download, a
free registration on the oracle website is required. Depending on your operating system
you can choose the corresponding installation files (64 Bit for Windows 7 or 32 Bit for
Windows XP clients)

http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html

2. Weblogic Installation: Run wls1036_win32.exe to start the installation of the 32-Bit


weblogic server:

For 64-Bit installation, please install the latest 64bit jdk from here :
http://www.java.com/de/download/manual.jsp

Run the installation by opening a command window, navigate to your java installation
directory e.g.: C:\Program Files\Java\jdk1.7.0_25\bin and run „java -jar
C:\path\to\my\wls1036_generic.jar“
3. Choose to install a new middleware home:

4. Choose not to install security updates automatically over metalink:


5. Choose the advanced installation method:
6. Uncheck the Oracle Coherence files so they won't be installed:

7. Its recommended to use the bundled JDK with the installation. If necessary the JDK
version can also be defined to be an other locally installed Version. In case of a 64-Bit
installation, the 64-Bit JDK will be shown in the list of local custom JDKs.
8. Accept the Standard Installation Directory:

9. Choose not to install the node manager (on 64-Bit systems, this screen is sometimes
surpressed by the installer:

10. Continue through the next dialogues to start the installation.


Forms & Reports Installation:

11. Forms & Reports Installation: Extract both Zipfiles to your local disk.

12. Start the setup.exe to start the installation. It can be found in the first package in the
subdirectory Disk1

13. During the installation process several choices in configuration can be made. The
important ones are shown in the screenshots below.

Choose not to search for software updates :


14. Choose to just install the software without configuration:

15. Choose the Middleware and Weblogic directory according to the previous Weblogic
Server installation:
16. Choose not to install security updates:

17. Click install to start the installation of the software

18. After the installation has been finished, the configuration has to take place:
Open a command prompt (as administrator) and browse to the Forms/Reports home you
just installed : e.g. cd C:\Oracle\Middleware\Oracle_FRHome1\BIN

execute the following commands:


set PATH=%WINDIR%;%WINDIR%\system32
config.bat

The configuration assistant will now open


19. Choose to configure for development:

20. Choose not to install security updates:


21. Choose directory and instance names:

22. Choose a weblogic admin password:


23. Choose to configure Forms and Reports Environment

24. Choose to do automatic port configuration


Configuration of the Environment

25. If you had a Forms 10g environment installed prior to installing Forms 11g, the start /
stop scripts for the local application server have to be adjusted to run it properly.

To do that: Open a command window and type „ echo %PATH%“ → the current windows path
will be shown. Copy it into a text editor and remove all entries that point to the 11g
installation. Remove all line breaks so the whole PATH Variable text will be in one line.
Copy the text to the clipboard.

Open the Start and the Stopscript of the 10g Application Server in a text editor:
$DevSuiteHome_1\j2ee\DevSuite\startinst.bat
$DevSuiteHome_1\j2ee\DevSuite\stopinst.bat

Insert a new line at the beginning of BOTH scripts setting the PATH to the value you have
in the clipboard:

26. Open Formsweb.cfg and modify the parameters listed below:


File:
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\AdminServer\applicat
ions\formsapp_11.1.2\config\formsweb.cfg

baseHTML=basejpi.htm
baseHTMLjpi=basejpi.htm
form=f_lhsr00.fmx
# Forms applet parameter
width=1024
# Forms applet parameter
height=768
lookAndFeel=Generic
archive=frmall.jar,frmwebutil.jar,jacob.jar,checksum.jar,frmrwinteg.jar,ToolTips.jar,icon.jar
term=C:\Oracle\Middleware\asinst_1\config\FormsComponent\forms\fmrpcweb.res
Add the following entries for webutil somewhere in the defaul section:
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
27. Edit default.env and change the parameters listed below:
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\AdminServer\applicat
ions\formsapp_11.1.2\config\default.env

TNS_ADMIN=C:\Oracle\ → Point it to your tnsadmin location


FORMS_PATH=C:\path\to\svn\repository\run → Path to forms masks. Note that only a repository with
migrated forms 11g masks will work here. Pointing it to a 10g repository will fail.
FORMS=C:\path\to\svn\repository\run –Y → Path to forms masks. Note that only a repository with
migrated forms 11g masks will work here. Pointing it to a 10g repository will fail.

28. Edit rwnetwork.conf to point to the development server:


C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\AdminServer\applicat
ions\reports_11.1.2\configuration\rwnetwork.conf

→ change the configuration in the following way:


<discoveryService>
<!--multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/-->
<namingService name="Cos" host="9.153.80.83" port="14022"/>
</discoveryService>

29. Install and configure webutil:


Download the jacob utility from the following link:

http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download

Extract the file and put the three necessary files in the directories listed below:

jacob-1.14.3-x86.dll → C:\Oracle\Middleware\Oracle_FRHome1\forms\webutil\win32
jacob-1.14.3-x64.dll → C:\Oracle\Middleware\Oracle_FRHome1\forms\webutil\win64
jacob.jar → C:\Oracle\Middleware\Oracle_FRHome1\forms\java

To be able to use the jacob tool it has to be signed by the jar signer. To do so, go to
C:\Oracle\Middleware\asinst_1\bin directory and edit the file sign_webutil.bat

Search for the string <Your KEYSTORE password> and replace it with a pw e.g. start01a.
Search for the string < Your private key password > and replace it with a pw e.g. start01a.

Open a command prompt and change the directory to C:\Oracle\Middleware\asinst_1\bin.


Run the following command to sign the jar file:

sign_webutil.bat C:\Oracle\Middleware\Oracle_FRHome1\forms\java\frmwebutil.jar
sign_webutil.bat C:\Oracle\Middleware\Oracle_FRHome1\forms\java\jacob.jar

30. Install VVS specific jar files into the application server.

NOTE: Do NOT overwrite frmwebutil.jar with the one in SVN !

Copy the VVS jar files from a VVS Forms 11g SVN Repository (subdirectory java\bin) to
C:\Oracle\Middleware\Oracle_FRHome1\forms\java

To access the installation use the following URLs:


Domain-Port: 7001
Homepage: http://localhost:7001/
WebLogic Server Administrator Console: http://localhost:7001/console
Forms-URL: ttp://localhost:7001/forms/frmservlet
Reports-URL: http://localhost:7001/reports/rwservlet

Das könnte Ihnen auch gefallen