As promised my Master note of installing Oracle Forms 11g R2 on 64 Bit Windows is available for download.
Whitepaper quick tips for installing 11g Forms – Forms 11g R2 Install Guide 64 bit Windows
I decided I must write this since when I installed Oracle Forms 11g R2 I ran into some annoying little glitches where if someone had let me know a few simple prerequisites it would have saved me hours of time. Well that when I decided to write them down to build you a full installation document. Thanks to my customer Mastercard Israel for being my test bunny. Here are the highlights to watch out for. Tip and tricks guide to a smooth installation of Forms 11g R2 on 64 bit Windows.
1) Download all the technologies you will need – Refer to my post the Oracle Forms shopping list
2) Before you begin make sure you install the JDK 1.6 for 64 bit – Yes I said JDK not JRE.
You should have downloaded it in step 1 above.
If you install JRE instead of JDK by mistake you will have trouble during the installation when it tries to find your java home.
Once the JDK is installed add the path where you installed it to the PATH and JAVA_HOME environment variables of you system. In any case I suggest that in the cmd window before you run the weblogic install jar you run the command. For example:
set JAVA_HOME=D:\Oracle\Java\
3) Next tip and it is an important one – Ensure that the PATH environment variable DOES NOT have folder names with spaces. If it does your installation will get stuck when you try to configure the classic instance. It will get stuck in the creating domains section.
4) Ensure that you TEMP and TMP environment variables do not point to folders with spaces in them.
5) When installing Forms 11g R2 software choose to install ONLY and not configure. This will install a Forms home. We will configure later.
6) Once the installation is complete we can then configure. You need to run “configure the classic instance” by running the script from program files. This will create the Oracle Forms instance home. (see full print screens in attached document)
7) Once these installations are complete run a test form. Oracle provides a pretty user friendly run test form. If you chose the default ports (8888) the link will be \config\FormsComponent\forms\html\runform.htm
for example:
C:\Oracle\Middleware\asinst_1\config\FormsComponent\forms\html\runform.htm
You should see the default test form.
I can not stress enough how important it is to run this test form. I can’t tell you how often I have found customers who start to configure the server without checking if the baseline installation was successful. There is nothing more annoying then trying to debug configuration errors then finding out it was actually an installation error that no one checked prior to beginning configuration. But I guess I shouldn’t hate it so much, that how I pay the bills 🙂
Attached you will find my step to step guide how to install and configure 11g R2.
Whitepaper quick tips for installing 11g Forms – Forms 11g R2 Install Guide 64 bit Windows
Please let me know if you have any comments, troubles or find errors in the document. I’m always happy for suggestions!
Good Luck
oracleformsinfo.files.wordpress.com/2012/03/install_forms_11g_64bit1.doc => File not found: Firefox can’t find the file at https://oracleformsinfo.files.wordpress.com/2012/03/install_forms_11g_64bit1.doc
The above document includes several manual steps. In case you have to install more than one Dev-Clients and want to make sure all installations are similar (for easier maintenance and easy re-installations) we have created a silent install script that you could pass on to your developers to execute without going through the lengthly manual process.
Hi Martin,
That is great point. It is usually recommended if you have several servers and you want to ensure that the installations are consistent you can build a silent install script. Basically Oracle lets you run the setup.exe in silent mode where it will take responses of paths etc.. from a response file.
More information and exact instructions can be found here:
http://docs.oracle.com/cd/E14571_01/install.1111/b32474/silent_install.htm#CBHJIBDG
A cute addition to the weblogic installation is that while doing the manual installation, the last step gives you an opportunity to save the configuration as a response file (page 12 on my installation guide). This file can then later be used in additional silent installations. I will also be posting a script to assist with the configuration files shortly so stay tuned.
Truth I think this slipped my mind since with this 11g R2 installation we had such great performance we only needed 1 production server! It will replace the 6 servers we have now.
Thanks for your contribution.
Mia
Hi there – I actually know for a fact (I’ve done it) that the issue during install is not with spaces in the PATH, but with parenthesis in the path. c:\program files (x86) being the obvious problem. I solved it by creating a junction point (read the docs for mklink) called “c:\p86” that points to c:\program files (x86) and replacing all offending parts in the PATH.
Hi John,
Thanks for the tip.
During my installation, I actually used the short names:
For 64-bit systems, the short name for the 64-bit Program Files folder is Progra~1 (same as on 32-bit systems); while the short name for the 32-bit Program Files (x86) folder is now Progra~2.
For those of you interested in created the link as john suggested:
To create a symbolic link named MyDocs from the root directory to the c:\Users\User1\Documents directory, type:
mklink /d \MyDocs c:\Users\User1\Documents
You can also type mklink -help for more information.
Mia
A year ago I made a hard link to PATH, too, installing on win7 64bit, but the same freeze(hangs) of create domain, I leave 11 and returned on 10g.
Yesterday I managed to install both Linux Red-hat (with welogic 10.3.6) deployment
and win 7 64 bit.
Linux with11gR2 at first shot, success, but WIN 7 hangs always on created domain!!
After 2-3 installation, where I test every thinks, I found:
the error that I and may user done is not only on the PATH (I do not understand why Oracle correct it knowing for over 2 years that this has happened) but it is on the CLASSPATH ,which contains blanks in director’s namethe names of directors.
to overcome this YOU MUST set PATH and CLASSPATH paths to minimal , e.g.
• SET PATH=%WINDIR%;%WINDOR\System;%WINDOR%\System32
• SET CLASSPATH =%WINDIR%; #system paths to minimal
• set TEMP=c:\temp
• set TMP=c:\temp
I hope this is helpful to other users so that they do not lose much time in the installation of a product
Rosario Vigilante
My best regards
Thanks for the great tips.
I just checked and my class path has no spaces or () so good you found this.
Thanks,
Mia
Is it possible to install only a form builder environment, without any weglogic?
Hi Erik,
Currently when installing Oracle Forms and Reports 11g R2 you can choose a development installation type. Unfortunately you must have weblogic installed prior to the forms installation. This is one of the suggestions we have for Form 12c and I’m keeping my fingers crossed.
One idea we did at one of my clients is called virtual desktop using remote desktop. http://www.microsoft.com/download/en/details.aspx?id=9691
On a 64 bit server we installed Forms developer on weblogic and all developers remote connect to the server and work.
Hope this helps,
Mia
Thanks for the great information. Unfortunately, it hangs on Configure Classic Instance when creating the domain. I removed all entries from the PATH that contain spaces but there must still be something else wrong. I am configuring for a devleoper not deployment. Any ideas will be greatly appreciated. Thanks in advance.
Did you try to run the path test?
In cmd go to the following path
D:\Oracle\Middleware\user_projects\domains\FRMDomain\bin
and type the following command
startweblogic.cmd
If you get the result
“_______________” was unexpected at this time.”
It means you have a space or ( ) in your path variable.
Sorry – I missed that test. I tried it and I am getting “\Java\jre6\lib\ext\QTJava.zip was unexpected at this time.”. Not sure what this is telling me Any ideas?
That error means there is an illegal character in the path.
What ever comes before \Java\jre6\lib\ext\QTJava.zip in your path environment variable is a character that is not allowed in the path.
If you do not see anything that looks illegal, sometimes in the path are shortcuts like %Java_home% that then translate to a space or () in the path.
PS – this file exists in the x86 32-bit directory (I have a 32-bit version of Java installed as well). Why would it be looking there?
Actually CLASSPATH points to this directory but I don’t think I can change that w/o messing up my system, can I?
You can try looking at another comment on this thred
about using short names of directories.
For 64-bit systems, the short name for the 64-bit Program Files folder is Progra~1 (same as on 32-bit systems); while the short name for the 32-bit Program Files (x86) folder is now Progra~2.
You can replace this in the classpath of your system without messing up the system and this will remove the () and spaces from the path.
Another option is to create a symbolic link: For example: MyDocs from the root directory to the c:\Users\User1\Documents directory, type:
mklink /d \MyDocs c:\Users\User1\Documents
You can also type mklink -help for more information.
Good Luck but at least we got to the bottom of the issue 🙂
Thanks. That definitely allowed me to run that script & now the configuration seems to be progressing.
Happy to help !
Happy to help 🙂
Hi Mia,
I went through your document i am working on Installation on linux and migrating my current application designed on Forms 6i. Already i have converted all except for icon buttons that are giving problems. rest all system are working fine on Oracle Enterprise Linux 5 update 8 32 bit. After testing all i will upload setps for linux conversion. Can u suggest how to take care of icons.
Are your icons JPG or GIF files?
If not thats where you need to begin. I can send you a note on converting icons for the web.
Mia
Thanks For the helpful tips
It worked perfectly on Windows7 64
I went through the rest of the document and found the
InitialKeyboardState.PJC.jar
I have been looking for a solution to this problem and have zero Java experience can you please provide more info on how to build or where to find this!
Thanks in advance
Wadih Kharma
Hi,
I’m glad I could help.
The initial keyboard state solution is a very easy one.
There is a detailed note on Oracle Support
How To Change Input Locale Of A Text Item To Hebrew Automatically On Receiving Focus [ID 438648.1]
Let me know if you have any other questions.
Mia
Did you try to run the path test?
In cmd go to the following path:
D:\Oracle\Middleware\user_projects\domains\FRMDomain\bin
and type the following command
startweblogic.cmd
If you get the result
“_______________” was unexpected at this time.”
It means you have a space or ( ) in your path variable.
Thank you so much for this post and the white paper that goes along with it. This didn’t fully solve all of my issues, but it put me on the right path and got me working in the right direction. Within 6 hours of reading this post, I got past the Creating Domain step and was able to complete the installation after a month and a half of trying.
The problem I was having was rooted in the Path variables having spaces in them. My solution was a simple one, I put quotation marks around the variables with spaces (found here through some random searching: http://social.technet.microsoft.com/Forums/en-us/w7itprogeneral/thread/63b84992-3814-4c00-acbf-fc09816570e5).
“%CommonProgramFiles%\Microsoft Shared\Windows Live”;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;”C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\”;”C:\Program Files\Microsoft SQL Server\100\Tools\Binn\”;”C:\Program Files\Microsoft SQL Server\100\DTS\Binn\”;”C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\”;”C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\”;D:\Oracle\Java;D:\Oracle\Middleware\Oracle_BI1\products\Essbase\EssbaseServer\bin;D:\Oracle\Middleware\Oracle_BI1\bin;D:\Oracle\Middleware\Oracle_BI1\opmn\bin;D:\Oracle\Middleware\Oracle_BI1\opmn\lib;D:\Oracle\Middleware\Oracle_BI1\perl\bin
Thank you again.
So happy I could help.
Thanks for sharing your tips.
Mia
Wow, wonderful blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your site is wonderful, let alone the content!
Hi,
Thanks for the nice comments.
I have been blogging for about 1 year.
Hope you enjoy!
Mia
I have learn several just right stuff here. Certainly value bookmarking for revisiting.
I surprise how much effort you place to make this sort of excellent
informative site.
Thanks for your support!
Happy to help.
If there is active directory in the server name.domain.sub domain
will it make problem
Hi Zeyad,
No it should be fine.
Mia
Hi Mia,
Thanks for your your great blog !
I have installed with success on 2008 and now I try a Seven installation
I have a bug on the creation of the Instance, the process freeze ..
Log file : “Created ASInstance. Calling opmn start command”
Any idea ?
Steph
In step 2 you have mentioned that—
“2)Before you begin make sure you install the JDK 1.6 for 64 bit – Yes I said JDK not JRE.
You should have downloaded it in step 1 above.
If you install JRE instead of JDK by mistake you will have trouble during the installation when it tries to find your java home.”
i have downloaded the JDK 1.6 for 64 bit which comes with JDK and JRE so when i am installing , it installs both jdk and jre so do i have to install both or just the JDK???
Hi Deepak,
You do not need the JRE for the installation but the JRE is what is used to run the Forms Applet.
So if you intend to use the server for testing or development purposes I suggest you install them both.
Also the JRe does not require a lot of memory on the server so no harm done.
Mia
Hi Mia…
Your tips are really gold..thanks a bunch.
This maybe late..but would like to ask if I can install Forms 11g 32 bit on Windows 8 64 bit?! I think it will work nicely but am not fully utilizing the operating system features.am I right?
Thanks again
Mohammad
Why would you want to install 32 bit on a 64 bit machine?
We are going to Forms 11g on the development environment,all new developers PCs are 64 bit,we are going to upgrade our applications to Forms 11g 32 bit.
so we are going to install Forms 11g 32 bit on these new machine..
do you have recommendations?
Thanks
I’m trying to configure the classic instance, but I don’t see any progress in the bar (it’s stuck). When I run the command C:\Oracle\Middleware\user_projects\domains\FRMDomain\bin\startweblogic.cmd
I get the next error:
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
What I’m doing wrong?
I don’t have spaces in the PATH
I have the next java installation:
jdk1.7.0_17
jre7
jrockit-jdk1.6.0_37-R28.2.5-4.1.0
jrockit-jre1.6.0_37-R28.2.5
Please help me
Thanks in advance
You should probably check if your version of Forms is supported with JDK 1.7
If not you should install using JDK 1.6
You can see more information in this blog post: http://wp.me/p1qXjL-ek
Dear all,
We are not able to run the reports using RUN_REPORT_OBJECT from forms 11g, we have tried our maximum to resolve this issue, unfortunately no proper documentation. Forms working without any issue are able to see the report out puts if I try running the report using internet explorer, but from the forms using RUN_REPORT_OBJECT It is getting failed. I could see two reports servers were running RptSvr_xxxxxx_FrmInst, rep_wls_reports_xxxxxx_frminst both servers queue status page also we can browse, but the reports running using RUN_REPORT_OBJECT is not working, the job queue is not showing these jobs. When I use report diagnose it is showing “Exception when retrieving IOR”
Environment – Fusion Middleware 11.1.1.5.0, Windows 2008 server
Can anyone through some lights on this issue.
Trying the below code :
DECLARE
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
BEGIN
v_report_id:= FIND_REPORT_OBJECT(‘CFR007′);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,’PDF’);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,’RptSvr_xxxxxxx_FrmInst’);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,’paramform=no’);
vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id);
vjob_id := substr(vc_ReportServerJob,instr(vc_ReportServerJob,’_’,-1)+1);
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status = ‘FINISHED’ THEN
WEB.SHOW_DOCUMENT (‘/reports/rwservlet/getjobid’|| vjob_id ||’?server=rptsvr_XXXXXXXX_frminst’,’_blank’);
ELSE
message (‘Report failed with error message ‘||vc_rep_status);
END IF;
END;
Thanks & Regards
Hi,
You best bet is to download the test form for reports from support.oracle.com
It is a test form that you run from you forms server and it tries to run a report and outputs a log file of errors it receives.
After you run this you can send me the utput log if you need help resolving the issues.
Mia
Hi friends,,
I installed 1 to 3 succesfully on a Win 2008 Srver R2 – 64 Bit
1) JDK 1.7
2) Oracle Database 11g 11.2.0.1.0
3) weblogic 1.3.6 (using wls1036_generic.jar installation)
I am stuck on the last step (Configure Classic Instance) after installing Oracle Forms and Reports 11g Release 2 – (11.1.2.2.0)
The error: The step creating domain failed.
yes, I installed my JDK in (a folder having space) C:\Program Files\Java\jdk1.7.0_60
What should I do now? Any help? I am disappointed. Is this error because of the spave in the JDK installation folder? If only, I had seen this blog before installing the JDK.
Thanks in advance,
Maz
1) Jdk 1.6 (should also come with Jre )
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html
Windows x64 69.58 MB jdk-6u30-windows-x64.exe. You need the JDK 1.6 as is in the note sorry
Thanks for your reply. I am trying to amend things in this light. However, please note as per the certification matrix from Oracle(http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html), the version (Oracle Forms and Reports 11g Release 2 – (11.1.2.2.0)
) is compatible with the JDK 1.7.0_40+
I think, the version Oracle Forms and Reports 11g Release 2 (11.1.2.x) was used by you for this blog which is mentioned as certified with JDK 1.6.0_29+
Could you please confirm and also let know from where can I down load this version
Thanks again,
Maz
When they say JDK 1.7 they mean for the runtime environment where the java applet needs JDK. I may be wrong but You can check the certification for Weblogic 10.3.6 which JDK it needs.
Yes it did work perfectly with Jdk 1.6
You have got to-the-point konowledge base. Keep it up!
I had to uninstall the JDK and the applications tier and then installed again.
For records, although I could not get hold of the certification for Weblogic 10.3.6 with JDK. However, Oracle is on record to guide its installation (with JDK 1.7) in this link:
http://docs.oracle.com/cd/E23943_01/doc.1111/e14142/jdk7.htm
I also was able to install succesfully acordingly. It failed only with Forms and Reports.
Thanks,
Maz
PS: I already tried with the suggestion given by Jamie, but no success
Im try to install
Oracle Forms and Reports 11g Release 2
Contains Oracle Forms and Reports 11gR2 (11.1.2.2.0)
Released: 01/2014
that in the matric compability result good for JAVA versione 7.
i ask
1) only version 64-bit ??
2) with version of web logic server i must use ? (10.3.6 is good ? )
Thank You.