Problem in compiling my form
hi gurus,
I installed Forms 10 release 1 and compiled a form and place in my apps server. It worked perfectly.
Later today, I wanted to use the webutil features(not in this form) and installed Forms 10g Release 2 with webutil. and compiled my forms. It compiled perfectly in Windows.
But when I moved to apps server and compiled it there, it gives me Buss error(coredump). I don't what is it pertaining to.
Please help me on this regard.
is your apps server 10gR1? and did you perform your compile on your form which worked previously also with 10gR2 compiler?
If so, the 10gR2 Forms Compiler migrated your fmb file to 10gR2, and the 10gR1 Compiler won't be able to compile it for my mind...
But I don't know how to migrate a form back to 10gR1, but probably you should upgrade your apps server to 10gR2 too?
regards
Similar Messages
-
Migration from Oracle 8i (8.1.7 for Win. NT) to Oracle 10g :
Current Environment :
Operation System : Window NT4.0
Oracle : 8i (8.1.7)
Developer 2K : Forms 6.0.5.33.0, Report 6.0.5.33.0
We have ERP System in house Developed. Everything working fine.
Now we want to Migrate Oracle 8i (8.1.7) to Oracle 10g.
For testing purpose, We have downloaded Oracle 10g from Oracle site.
Installed Oracle 10g on Other Computer. Migrate Database using Export / Import from Oracle 8.1.7 to 10g.
Completed Installation and database migration successfully.
My ERP application running successfully.
Now if i made any changes in my any Forms (6.0.5.33.0) and compile it / or just recompile (without any changes) any forms , it gives following error Code.
" ora-00600 internal error code, arguments [17069], [39843448],[],[]...
Error due to accessing of synonyms. "
In any schema, if we use following code in form , it will not compile.
e.g
Declare
a date;
begin
select sysdate into a from dual;
end;
but above code will run correctly in sqlplus of any version (8.0.5, 8.1.7, 10.1.0).
We have also tried to solve above problem by droppeing synonymes and recreate it.
But the problem remains same.
So Please advice me whether Oracle 10g and Forms (6.0.5.33.0) is compatible or not.Thanks for your reply
We have tried to go for 6i(6.0.8.11.3).
As we have ERP System (In House Developed), We have to make so many changes at application level.
Currently, we are using the Oracle Developer Form 6 verison 6.0.5.33.0. and oracle 8i (8.1.7)
We are using the all executables compiled in Developer Form 6 those directly using with new Developer Form 6i. But, we are faced the some Form related problems on newly migrate version of Developer Form 6i.
I explain you, which type of problem faced on Oracle Developer form 6i?
e.g.
I have developed the form using the two tables likes DEPT, EMP, In DEPT table, there are three columns (deptno, dname, loc), Department No is generated automatically at save time and mandatory field, DNAME and loc is also mandatory field. Other table is EMP table and columns are emp_no, ename, sal.
When I entered the first value in DNAME and LOC fields of first block and cursor is try to move on second block called employee blocks. Oracle Form builder raise the error âDepartment No. must be entered.â And other alert came immediate after closing the first alert and error is âDISABLE ITEM OF âDEPT_BLOCK.DEPT_NOâ FAILED VALIDATIONâ. Based on this error, cursor is not going on other block. Its still remain on first block last field.
Same form is running good without facing any problems on Oracle Developer Form 6.
We want to migrate our database from Oracle 8i to 10g.
But same time we are not going to change our Forms Version i.e Forms 6 to 6i. -
Copied an existing Oracle 6i Form and made change and problems when compiling.
I copied an existing Oracle 6i Form and made numerous changes to the form. The biggest change I made was taking on of the existing data blocks and I renamed it and also removed some of the items within the data block. After the additional changes to the form to make it look like I wanted it to, I tried to compile the form.
When trying to compile the form I received an error that it could not resolve item reference. The item it is talking about was one within the data block that we renamed and hence after renaming the data block we removed this item.
I have check via search for sql and plsql code to see if I could find this item it was referencing, no luck.
Does anyone have and idea of where this item may exist so we can remove it.
Please let me know.Could it be one of the properties on another item that is referencing the missing item? e.g. the Synchronize with Item property.
Save your form to a text file and do a text search.
Regards,
Robin Zimmermann
Forms Product Management -
List Of Values problem while running a form
Hi all,
Actually I had developed a form in Forms 4.5. If I connect to the Personal Oracle Database on the same machine, then it is working properly. But if I connect to Oracle server across network and try to run the form, then a message is coming ' F45RUN - The program you are trying to running had problem. Choose ''Close'' or ''Ignore'''. It is giving error of that sort.
Actually the form has two list items, which will have the values selected from the database. If I comment out the statements 'Populate_list(....)', then the form is opening for runtime. What could be the problem??
Thanks in Advance.
Badarinath ([email protected]) If someone could mail me, then it would be even helpful.Hi Badrinath,
I couldn't underestand the exact problem that you are facing. This may be just because of the different Datase versions. Just try to add "onlogon trigger" to your form having the following code in it:
logon('username','password@connect_string to the server');
Fully compile the form and then run.
Let me know if OK.
Regards,
Aqueel([email protected])
Hi all,
Actually I had developed a form in Forms 4.5. If I connect to the Personal Oracle Database on the same machine, then it is working properly. But if I connect to Oracle server across network and try to run the form, then a message is coming ' F45RUN - The program you are trying to running had problem. Choose ''Close'' or ''Ignore'''. It is giving error of that sort.
Actually the form has two list items, which will have the values selected from the database. If I comment out the statements 'Populate_list(....)', then the form is opening for runtime. What could be the problem??
Thanks in Advance.
Badarinath ([email protected]) If someone could mail me, then it would be even helpful. -
Error while compiling the form
Hi Everyone,
Im getting the following error, while trying to compile the form.
Compilation error on POST-QUERY trigger on XXX_CONTRACT_INFO data block:
PL/SQL ERROR 0 at line 0, column 0
ORA-12154: TNS:could not resolve service name.
The instance which Im using is UP and running fine.
I am using some database links to access data from a different schema, but even those db links are working fine.
I am completly strucked up with this issue. Please help me.
Thank you.
Rams.Thanks for the reply.
Im not running the form in local database and more over if the problem is with only tnsnames, then the form should completly through an error. But in this case, the form is compiling all its objects, but its unable to compile only one block.
-Rams -
Hi All,
I am trying to compile a form in R12 by using frmcmp ,but it is showing
FRM-91500: Unable to start/complete the build. error.
can any body please tell how to resolve this problem
By lakshmi Narasaiahcheck Note: 431324.1 - Manual forms compilation In R12 fails With: FRM-91500: Unable to start/complete the build
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=431324.1
To implement the solution, please execute the following steps:
1. Download and review the readme and pre-requisites for Patch 5456500 - FRMBLD.SH IS POINTING TO WRONG TNS_ADMIN
2. Ensure that you have taken a backup of your system before applying the recommended patch.
3. Apply the patch in a test environment. (you will get the message the patch already exist or conflicts, just ignore and continue)
4. Retest the issue.
5. Migrate the solution as appropriate to other environments -
Shell script for batch compilation of forms 10g on AIX 5.3L AS
Hi All,
Can anybody provide me the Shell script for batch compilation of forms 10g and reports 10g on AIX 5.3L AS?
Regards,
SAMHi Alex,
I tried with the below script as well as the one you had posted.
ORACLE_HOME=/opt/oracle/OraHome_3
export ORACLE_HOME
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/cla
ssic:$LIBPATH
export LIBPATH
cd ../forms
for i in `ls *.pll`
do
echo Compiling Library $i ....
$ORACLE_HOME/bin/frmcmp module=$i userid=mydbuser/mydbuser@mydb
batch=yes module_type=library
compile_all=yes window_state=minimize
done
export ORACLE_HOME=/opt/oracle/OraHome_3
export ORACLE_TERM=vt220
export LD_LIBRARY_PATH=/opt/oracle/OraHome_3/lib:/opt/oracle/OraHome_3/jdk/jre/l
ib:/opt/oracle/OraHome_3/jdk/jre/lib/i386:
cd ../forms
for i in `ls *.pll`
do
echo "Compiling Library $i ...."
/opt/oracle/OraHome_3/bin/frmcmp module_type=form userid=mydbuser/mydbuser@mydb
module=$i batch=yes compile_all=no
window_state=minimize upgrade=no
done
echo "PLL Compilation done"
But there was a same kind of error thst turning up all the time.
Compiling Library Agf.pll ....
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
FRM-10043: Cannot open file.
Form not created
I hence updated the permissions on the pll as below
-rwxrwxrwx 1 oracle oinstall 335872 May 19 16:31 Agf.pll
But the problem is still persisting.
My environment details are as below.
I am working on Win XP machine. Connected to my AS via telnet and xmanager. I have set my DISPLAY to my local IP.
Is there any thing more that I need to do? If so then let me know.
Regards,
SAM -
Problem with navagation of forms
Hi everybody
I have a problem with navigation of forms
I have two forms say a and b.In form a i have a button and i want, when i press that button the form b should open.I wrote when_button_pressed trigger for that button in form a as open_form('b'); Raise form_trigger_failure;
When i run form a and press the button form b is not opening.It is giving me a message as 'form b cannot be opened'
Can somebody tell me where i am wrong.I have compiled b.
TIA
PrajaktaWhy are you using Raise form_trigger_failure;
You don't need it.
Try doing open_form('b.fmx');
If this doesnt work
I think your problem is that the fmx file for form b is not in the path to be found.
make sure to include the direcoty in the forms60_path or have it in the same directory as form a. -
Error in Compiling a form on Unix.
I not getting changes made to an existing form to compile in Unix. I have tried using the command line as well as compiling in Forms Builder.
Please help.
Thanks.Instead of calling the command from the windows shell command interface, I was able to call the compilier from Data Services; this problem is now resolved.
-
Error While Compiling Oracle Forms - internal error [60603]
Hi,
I'm getting below error message which compiling Oracle Forms in 10g R2, Please help to suggest how can I solve this problem.
Statement ignored
PL/SQL ERROR 801 at line 0, column 0
internal error [60603]
PL/SQL ERROR 0 at line 50, column 5
Statement ignored
PL/SQL ERROR 801 at line 0, column 0
internal error [60603]
PL/SQL ERROR 0 at line 66, column 2
Statement ignored
PL/SQL ERROR 801 at line 0, column 0
internal error [60603]
PL/SQL ERROR 0 at line 72, column 2
Statement ignored
PL/SQL ERROR 801 at line 0, column 0
internal error [60603]
PL/SQL ERROR 0 at line 85, column 2
Statement ignored
PL/SQL ERROR 320 at line 103, column 57
the declaration of the type of this expression is incomplete or malformed
PL/SQL ERROR 0 at line 103, column 3
Statement ignored
PL/SQL ERROR 320 at line 109, column 31
the declaration of the type of this expression is incomplete or malformed
PL/SQL ERROR 0 at line 109, column 2
Statement ignored
PL/SQL ERROR 320 at line 110, column 30when this error coming, any specific case when you see this?
Are you trying to call any database program units ?
try to compile the database program units which you are trying to call in the Forms. -
How To Compile 370 forms ?
Hi All !
i have a script to compile all forms of my application,
how can i mention library name during compilation
(old library name was mohstdlib.pll
new library name is moh.pll)
is there any parameter of frmcmp command?
OR
what should i do?
Regards,that idea of converting to XML and using some scripts sounds neat ...
with solid experience in shell-scripting and(!) sed-script it may take an hour or so,
but for a sed-newbie .... it easily will take a day or two
so it depends on your experience and on maybe problems in the future
doing it manually (open,change, close) ... will be boring work and take 2/3 hours as rosario said
doing it with scripts might be faster, might be slower, but can be reusable for further jobs (and in case of mistakes you just change your script and rerun it)
as usual there is no clear right or wrong...
yours
Volker -
Compiling a form creates locks?
I have run into a problem when trying to create a database trigger, its as if there are locks on objects when there are none evident e.g. I compile (not run) a form in Forms builder 9i, then in toad or the sqlplus command line I build a database trigger on the table referenced by the form Iâve just compiled. When I try to compile the trigger, it goes into a wait mode for several minutes and then reportsâ¦.
ORA-04021: timeout occurred while waiting to lock object PAL.EMP
MY DATABASE TRIGGER CODE IS ..
CREATE OR REPLACE TRIGGER emp_ins
BEFORE INSERT ON EMP
FOR EACH ROW
DECLARE
max_empno NUMBER(5);
BEGIN
SELECT MAX(empno)+1
INTO max_empno
FROM EMP;
:NEW.empno := max_empno;
END;
I have the following trigger in the formâ¦.
ON-UPDATE (DELETING THIS TRIGGER AND THE PROBLEM GOES)
message('Updating table');
update emp
set
ename = :emp.ename,
job = :emp.job,
sal = :emp.sal
where empno = :emp.empno;
I have checked for locks in toad in the session browser and none are showing up, so I really donât understand whats going on. I can compile the database trigger no problem but the minute i compile the form i get the problem above. Why does compiling a form cause cause other objects to behave as if they are waiting for locks to be released?
GusI should add that after i compile the form i can happily run the following statements.
select * from pal.emp for update;
commit;
but trying to compile the database trigger causes...
ORA-04021: timeout occurred while waiting to lock object PAL.EMP
Gus ??? -
Hi,
I have a problem with Forms developer 6i. I have a very big form 2.3 MB, and then I added some extra lines of code ( and there are no errors in them ), and when I try to recompile the fmb now it crashes the whole forms developer program !
I think I hit maximum compilesize for fmb's or something - but then again can that really be true ?
Have anyone experienced similar problems ? and does a solution exist.
PS - I tried to add the lines again from the functioning fmb and same thing happened again and again at roughly the same point - around 2.3 MB
Kind regards
Bo NormannFirst of all, the last two posts are implying that the runform session is crashing. Please note that the original post is talking about the Forms Builder crashing.
I couldn't understand the logic behind 'Finding and Replacing' a semicolon with a semicolon through out the form.If you compile a form, you will notice in the Object Navigator, that each program unit has a '+' by them that you can click and see more options. If you open the source of the program unit, at the bottom of the editor window it says Not Modified . . . Sucessfully Compiled. If you save the form, close it, and re-open it, the program unit still has this compiled indicator.
If you change anything in the program editor, the compiled indicator disappears. If you save the form without compiling, and reopen it, it is still NOT compiled.
All you are doing by changing semicolon to semicolon is forcing every trigger and procedure to become uncompiled. And then if you save the form in this state and check the fmb size, you will notice a much smaller fmb size. You will notice when you open such a form in the Builder, the open is faster, and the first compile is slower (just like doing a shift-ctrl-K compile-all). On the other hand, a form saved with all compiled code opens slower, but first compile is fast. Apparently when Oracle opens a pre-compiled fmb, it tries to verify the compiled program units.
However, these compiled program units cause problems -- we have had problems using pre-compiled fmb's transported to different environments failing in stored-procedure calls and other places. Doing a compile-all (shift-ctrl-K) clears the problem.
The bottom line is this: Storing compiled code inside an fmb does no good. Oracle has been doing it from the beginning of client/server forms, along with storing a copy of the color palette, too. In BOTH situations, this has caused issues with forms, especially when moved from one environment to another. In my workplace, we make SURE we always store production forms WITHOUT the compiled code. They transport quicker due to smaller file size, and they compile cleaner in the users environments. -
Case-Sensitive problem while compiling in Linux
Hi All,
We have around 100 forms developed in windows platform. The forms use program units from plls. Compiling against windows do not have any problem. But when they are compiled in linux environment, we get error like frm-18108: unable to load form objects.
Also the program units of the pll's are not referred correctly, since the declaration is in upper case and the calling in the other forms is in other cases.
Is there any way to by-pass this case-sensitive problem, other than making them even in case, in the forms and libraries.
Thanks
GopalHi Francois,
I had already tried with having all combinations of file name but still I am getting
error
"Compilation error on procedure CG$KEY_STARTUP:
PL/SQL ERROR 201 at line 9, column 1
identifier 'SET_MDI_TITLE' must be declared
PL/SQL ERROR 0 at line 9, column 1
Statement ignored".
The set_mdi_title PU is defined in PLL and the library is attached to the form. When I compile the form using f90gen, I am getting the above error.
Please suggest.
Thanks Gopal -
How to compile all forms in a directoy at time?
Hi friends, thank for your replies for the previous questions.
Now
How to compile all form modules located in a directory
at a time? usually what I know is opening form one by one
and compile it. But I want to compile all forms and create
executable files at a time.
Is project Builder helpfule to achive this??
thanks
madhuYes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
Here are several more links to other topics in this forum asking how to do the same thing:
Re: How To Compile 370 forms ?
Re: Creating Oracle 10g Forms and Reports Builds
Maybe you are looking for
-
Problem in Internalization( I18N) for changing the Source langeuage
Hi All, I have some problem in changing the source language in header: In S2X editor, I copyed the .xlf file pasted in same then modifyed accordingly(xxx_de.xlf) when i opend the xlf its asking the Activity when I created its throwing repository acce
-
Hi All, I keep all my Music, TV Shows and Movies on an external drive. It's dying. It's a 500 GB drive, but all I have right now are two 250 GB drives. I don't want to lose my play-counts, playlists, ratings and such. (I did copy all my music over to
-
Hi everybody, I am implementing SUS-MM scenario. I am in SRM 4.0 version and backend is ECC5.0. I have configured the SUS and XI. I have the following question for you experts: - I sent a PO from R3 to SUS. I cannot see any errors in WE20 and SM58 in
-
now here is what i wanna do..running logic 8 on imac and i wanna do live shows ( mainly doing ebm or electronic music ) now here is what i was thinking of doing..using a non apple laptop with ableton and itunes..now on my imac putting most of the mus
-
Hi All, I am trying to create an application which runs a set of tasks(Runnable) perodically using a Thread pool. The time period being taken from a config file(day, month,yearly). Can anyone please tell me how to capture the change in the time perio