Attached libraries in wrong order in generated form
Hello,
I am using Designer 6i and upgraded 6.0 headstart templates to generate forms. In my generated form, the libraries are attached in the wrong order. For example, when I attach using called modules:
- qmslib50.pll
- qmsevh50.pll
then the generated form has:
- qmsevh50.pll
- qmslib50.pll
which is a problem because the application wants the QMS$INIT_APPLICATION from qmslib50 and finds the one in qmsevh50 first. So the generated form/application starts up with an error and doesn't work.
What can I do about this?
Jeroen van Veldhuizen
Hi,
There is a wealth of information on moving from 6.0 to 6i in the Migration Guide available on the Designer page on OTN
http://otn.oracle.com/products/designer/content.html
Regards
Susan
Similar Messages
-
Why a Planned Order is generated form Return Purchase Order?
Hi everyone,
We are recently experiencing a problem that deals with return purchase orders and MRP.
It occurs that when we generate a return purchase order, after executing the MRP,
a Planned Order is created
We don not understand this behaviour and we don't find it logical.
I would be very logical if someone might explain why is this happening and specially how
to avoid it. Basiquelly We don`t want the return purchase orders to be considered as requirements.
Thanks a lot in advance and best regards.Dear,
Can you please explain what it means by Return Purchase order in your business? Under what circumstances it is created and what are the subsequent exepected process of this order?
Regards,
Prasobh -
Forms to XML Misses Some Attached Libraries
Trying both iff2xml90 and frmf2xml to generate a 6i Form to XML only a few Attached Libraries get included in the output. Are there other requirements/tricks/gotchas in getting them to be included?
keywords: iff2xml90.bat frmf2xml.bat "forms to xml" "AttachedLibrary"OK, this is a flagrant bump, I admit it :)
Anybody got any ideas? Any clues on some additional configuration I can do either for frmf2xml, my Oracle environment, or maybe even my Java environment itself?
Even guesses would be appreciated.
Dave -
Forms debugger with attached libraries
Hi
Is it possible to use the forms debugger with attached libraries ? ( 9I 10g )
And how to do that if it is possible ?
thanksIn fact there is no problem, I had a procedure with a "procedure spec" in my attached library and that caused a PL/SQL problem when I tried to call my procedure. The code in the procedure was never executed and I got no result with the debugger.
I don't understand why Forms allows me to create a "procedure spec" for an alone procedure in the library ( not in a package ). I got no compilation error for it and the library was generated as well. But there is an error at runtime.
sorry. -
Designer BC4J Generator Extension creates wrong order by clause
Hi,
Just tried out the new Designer BC4J Generator Extension and it creates a wrong order by clause. I have a List of values in Designer with one table usage. There is a bound item based on a columnname CODE and has the name L_CODE. The order by sequence is 1 and ascending. After generating it in JDeveloper the generated query is:
SELECT PrjEntityUsage.CODE,
PrjEntityUsage.NAAM
FROM X_PROJECTEN PrjEntityUsage
ORDER BY LCODE
So there are two problems:
1) If the name property in designer is different from the column name the select in the SQL query in JDeveloper needs an alias with the name property from Designer.
2)If there is an _ in the name it is ignored in the order by clause in JDeveloper.
I do not know where to report the bug so i placed it here.
Regards,
Andre JochemsAndre,
Thanks for notifying us about these. There are indeed bugs which we have logged and scheduled for a fix.
Regards
Sue Harper -
Oracle Forms - Compilation error due to attached libraries
Hi,
I am builing forms using Oracle Forms 10g and almost everytime I recompile the form, I have to delete some attached libraries and add them again. This happens a lot of times and I don't know why. These attached libraires have not been changed.
Can anyone help me with this issue please? It's very anoying :(
Thanks.
Regards,
Amado
Edited by: 973539 on 27/Nov/2012 20:09That should be correct. If you attached the libraries without a path, modified your FORMS_PATH to include the path that the libraries are sitting in, then the form should pick them up.
I would:
1. Verify that FORMS_PATH has the correct path. Make sure the '\' are pointing in the right direction and that the path is separated from the other paths by a semicolon.
2. Make sure you changed the correct FORMS_PATH. You might have multiple ORACLE_HOMEs so you need to make sure the ORACLE_HOME you are using is the one that has FORMS_PATH set up in it.
3. After FORMS_PATH is correct you shouldn't have to reattach the libraries, but try it again without including the path.
I read CraigBs reply below and it made me think of something else you might want to look at:
4. Check all the directories that are listed in your FORMS_PATH and see if there are older versions of the libraries in one of the paths that shouldn't be there and remove the unneccessary ones. For example, if your FORMS_PATH is set to "C:\Work\11g;C:\Oracle11g\Middleware\as_1\forms;C:\Oracle11g\Middleware\asinst_1\FormsComponent\forms;" then there are three directories that forms looks through everytime it runs. In this case, you would check all three directories and see if there were older libraries in there that needed to be removed because they are overwriting the one that you want to be picked up.
Edited by: MLBrown on Nov 28, 2012 7:37 AM -
Forms/Designer 10g - problem with attached libraries
I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler. -
Forms jdapi and attached libraries
using Jdapi to manipulate forms is an exciting experience, especially, when misterious things happen
i wrote a simple code to list all the attached libraries (the reason for that is i want to migrate Forms application from Windows env to Unix and i wanted to change all attached libraries to lower case)
JdapiModule.openModule("c:\\MODULE2.FMB");
JdapiIterator fmbs = Jdapi.getModules();
FormModule fmb = (FormModule)fmbs.next();
//FormModule fmb = new FormModule("myform.fmb");
JdapiIterator libs = fmb.getAttachedLibraries();
while (libs.hasNext())
AttachedLibrary lib = (AttachedLibrary)libs.next();
// System.out.println(lib);
System.out.println(lib.getLibraryLocation());
// System.out.println(lib.getLibrarySource());
System.out.println(lib.getName());
This works only if the libarary is attached with library path included!
When i run the same code against a form where the library is attached with path removed, the code above does not detect the attached library at all?
ie libs.hasNext() return false
Ammar Sajdi
www.e-ammar.com
www.palco-me.com
founder and managing partnerI created another form with an attached library on another PC.
I ran the same program, and the program runs perfectly!!!!!!!
i really do not understand this behaviour!
The forms i am using is 9.0.4.19
Glad it works on other pc's
Ammar Sajdi -
Can't delete or sort Attached Libraries....strange !
When I delete all the attached libraries in a form,
and save the form, they are back when I re-open this form.
I also can't sort the libraries in a correct order,
they are in a wrong order again when I re-open the from.
Greetings,
robYou probably have libraries atteched to a library. Only in this case - when u delete a sublibrary, but not the master one, next time it will be automatically re-attached, because it wasn't attached to the form directly, but to another library (which is directly attached to the form)
For the second question - there is no difference in what order you have the libraries in the list. So u don't have to even try to reorder. -
Error in generating form with 6i
I have installed designer 6i rel 2 with form developer 6i on NT
4.0.
When in design editor, I want to generate the form with generate
module, the system generate "CDR-21600: A running Generator or
Utility has failed."
Also in action column writes: " It is possible that the internal
cache is now in an inconsistent state. You are therefore
recommended to close and restart the application."
Could anyone tell me what is the problem and how to solve it.
thanksHere is an document which describes some known causes of CDR-
21600 errors. I hope it will help you.
PURPOSE
To describe some known causes of CDI-21600 errors and to
suggest possible solutions and workarounds.
SCOPE & APPLICATION
This note was written for users of Oracle Designer releases 2.1.x
and 6.0.
CDI-21600 errors occur most frequently during Design Capture and
when generating forms with the Forms and WebServer generators.
Investigating CDI-21600 errors
In Oracle Designer Release 2.1.2 and Release 6.0, this error has
the form:
CDI-21600 'A running generator or utility has failed'
The Release 2.1.1 error message was: 'Generator or Utility throw
an Exception'
The CDI-21600 error message means that the generator is hitting
an unhandled exception, also known as a GPF (general protection
fault). The CDI-21600 error masks the underlying exception error.
To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
Known Causes of CDI-21600 Errors and Possible Solutions
Some of the reasons why CDI-21600 errors occur are listed below.
1. A common cause of CDI-21600 errors is failure to install the
necessary
Developer patches.
See [NOTE:64630.1] Developer Patches required to run
Designer with Developer
2. Check that Designer is running on a supported database. Also
check that the
TNS connection is correct.
See [NOTE:60705.1] Designer Certification Matrix (HTML)
3. Check for 'dangling' foreign keys, in other words FKs no longer
owned by any
table in the repository. Delete all invalid constraints.
Invalid constraints may be created if you use the repository
dump utility to
dump and restore external foreign keys referencing tables
shared into the
application system, without dumping and restoring the tables
that own them.
If you restore a complete dump (rather than a 'skeleton' one),
and then use
the 'Reconnect Share Links' option when restoring, you may be
able to
resolve this problem.
To get a complete list of 'dangling' constraints in your
repository, connect
using SQL*Plus and use the following query:
SELECT app.name, key.name
FROM ci_application_systems app, ci_constraints key
WHERE key.table_reference IS NULL
AND key.application_system_owned_by = app.id;
You can also run CKAZANAL.ANAL_REFERENCES on your
repository and delete all
the invalid constraints that it finds. You can run the Repository
Analyzer
from: Front Panel -> Repository Administration Utility -> Utilities.
NOTE: There may be inconsistencies in the repository that the
Repository
Analyzer cannot fix. You might solve such problems by
dropping all the
tables of your application, recreate them from the ERD,
then use the
DDT and recreate your modules.
[BUG:847190] CDI-21600 during forms generation: 'dangling'
foreign key
"Since the generator is running on a repository that contains
invalid
constraints and the Repository Analyzer solves the problem,
bug closed as
unfeasible to fix."
4. Check your modules for invalid or missing references such as
missing window
placements.
5. Try generating your module against default templates and
object libraries.
6. When capturing forms or libraries, try capturing the form or
library without
application logic, then capture the application logic on its own.
See [NOTE:1064690.6] CDI-21600 when capturing design of
form with
application logic
[BUG:757541] DESCAP: CDI-21600 error reported when
capturing with
application logic
Fixed In Ver: 6.0
[BUG:926383] Duplicate of [BUG:757541] This has been fixed in
2.1.2 patch
779559. However you would be advised to apply a later patch
such as 855635
which fixes more bugs in this area.
7. Make sure that all objects that are referenced by the form have
been
captured into the repository before capturing the form.
8. A CDI-21600 will occur if a lookup usage displays only one
column of
datatype DATE or if the column of datatype DATE is displayed
as the first
item in the block.
Workaround
Add more column usages to the lookup block and do not
display the DATE data
type column usage as the first item in the block.
9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
Fixed In Ver: 6.5.3.0
Workaround
Make sure that you have an argument in the called module that
is mapped to
the "Argument Passed Value" in the calling module. The only
way to get this
mapping back once the APV has the <Module Argument> label
is to delete it
and recreate it.
10. [BUG:801736] CDI-21600 on design capture of a form with
subclassed object
Fixed In Ver: 6.0.3.1.0 (backport)
Fixed In Ver: 6.5
You have an item that has been subclassed to an object.
Checking the Design
Capture option 'Capture Control Blocks' causes the CDI-21600
error. Uncheck
'Capture Control Blocks' and the problem does not occur. Open
the FMB in
Forms*Builder and look at Data Blocks -> Items. Break the link
to the
object, save the FMB, and the form will capture (similar to
[BUG:794872]).
Alternatively, ensure the link can be established.
11. [BUG:850436] CDI-21600 on generation of a form with template
having
subclassed object group
You try to generate a form out of Designer that uses a user-
defined
template. If a collection of objects in the template is grouped
into an
object group, dragged into the object library and then either
copied or
subclassed into a form, when the form is generated you get a
CDI-21600
error.
12. [BUG:822659] Module generation fails (CDI-21600) with multi-
column PK having
long prompt text
Fixed In Ver: 6.5.3.2
Module generation with multi-column primary key having long
prompt text
causes CDI-21600 with preference MSGSFT set.
Workaround
Shorten the prompt text of PKs may not be not applicable. You
may loose end
user information.
You may have the same problem with a mandatory compound
FK. CASEOFG tries to
generate a message '<P1> must be entered', where <P1>
contains all the
prompts of the bound items from the FK. If you reduce the
length of the
prompts, or set MSGSFT = NULL or WEDI = S or property
Mandatory?=No, it
works correctly.
13. [BUG:792542] Capturing application logic causes CDI-21600
(V2 style
triggers)
Fixed In Ver: 6.5.5
After removal of the v2 triggers, the form captures/merges OK
on 5.0.24.8,
provided patch 875027 has not been applied.
14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
key components
Fixed In Ver: 6.5.11
Generating a module with tables having a primary key not
correctly defined
(no PK component) will cause a CDI-21600 error. This can
occur when
unloading a module from the RON. If you pick up the module
(and only the
module) in the unload set, the table and its PK are unloaded as
a skeleton.
Loading the .DAT file into a new application will create a PK
without a
component.
15. [BUG:771549] CDI-21600 if cannot connect to the DB with
connect string in
Options (Compile)
Fixed In Ver: 6.5.13
If you cannot connect to the DB with the connect string
specified in options
(Compile), the forms generator will fail with CDI-21600.
This problem occurs when you cannot connect to the DB
because:
- the username or password is wrong;
- or the SQL*Net alias is not defined in the TNSNAMES.ORA
file;
- or the SQL*Net listener is not started;
- or the DB is down.
16. [BUG:785106] CDI-21600 when generate master detail form
with preserve layout
[BUG:855812] is a duplicate of this bug.
Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
Fixed In Ver: 6.0
Fixed In Ver: 6.5.3
You have a master-detail Form with the Master having items
partly on a TAB
Canvas. Generate Module works OK. You enter Forms Builder
and move some
items on the tabs (just small changes, items are still on the
same tabs).
You change the look of the Detail and change Records
Displayed. Now in
Designer you generate the Module with Preserve Layout. You
get a CDI-21600
error. The problem might reproduce without doing any changes
in Forms
Builder, just by generating with Preserve Layout.
17. [BUG:891306] If primary key column of lookup in check
constraint comment of
base table
Fixed In Ver: 6.5.5
Workaround
Do not use the name of the bound item that is based on the
primary key
column of the lookup table in a check constraint comment of
the base table.
18. [BUG:896026] Forms gen throws assertion failure in
CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
Fixed In Ver: 6.5.7
A problem is caused by a PL/SQL definition (function, package,
procedure)
being defined as a called module for the module you are trying
to generate.
To resolve the problem and enable the module to be generated,
remove all
Called Modules that are PL/SQL definitions (functions,
procedures or
packages).
See [NOTE:2107207.6] CDI-21600 during generation of module
or Assertion
Failure \cv\cvi\cvibni.cpp
19. [BUG:812333] CDI-21600 generating a web module after
adding an unbound item
Fixed In Ver: 6.5.3.0
Backport [BUG:1280667] raised to fix by 6.0.3.9
You add an unbound item (SQL expression) to a Web module.
When you try to
generate the module you get a CDI-21600 error. If you delete the
unbound
item the Web module generates correctly.
In a test case the problem occurred during validation of the
derivation
text, if the master module component was in a different module.
A workaround
was to rearrange module components so that this was not the
case.
20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
WHEN GENERATING INCORRECT
DERIVATION EXPRESSION
Message
CDR-21605: Failed while processing Module <mod> in function
CCVDiag::TraceGeneratorMessage BOF
Cause
The generator failed due to an unexpected error - the
error indicates the object the generator was processing
when it failed.
Helena -
JDAPI - method getAttachedLibraries does not get all attached libraries
Hello,
i've a strange behavior while using JDAPI to list all Libraries attached to forms.
I've the following code:
Jdapi.startup(true, true, true);
String startModule = new String("c:\\test.fmb");
FormModule fmd = FormModule.open(startModule);
System.out.println(formPath+"\\"+form);
JdapiIterator libs = fmd.getAttachedLibraries();
while ( libs.hasNext())
AttachedLibrary currLib = (AttachedLibrary) libs.next();
System.out.println("Lib="+currLib.getName());
if (currLib.getName().equalsIgnoreCase("WEBUTIL") || currLib.getName().equalsIgnoreCase("WEBUTIL_LIB")) {
System.out.println("->"+startModule);
Jdapi.shutdown();
This code is very simple and the idea is to check form for Attached Libraries named WEBUTIL or WEBUTIL_LIB.
However i'm getting an annoying behavior, because i see that it is not reading all Libraries attached to the form, but only some of them ... is there anything i'm doing wrong?
Thanks,
Pedro Ribeiro
Edited by: pribeiro on Sep 23, 2009 11:36 AMHi Ruslim,
you get the below mentioned error due to following:
1: for payment method T = "ACH" street, bank address is a required filed in FBZP configuration. so vendor master data needs to have street, city & bank inforamtion filled.
2: vendor line items should have payment method as T = "ACH"
3: delete all the previous open proposal for same vendor
Hope this helps
Pls assing points as way to say thanks -
FRMCMP unable to find attached libraries
Hi,
I am currently migrating a web application to 10.1.2.0.2 on Sun Solaris. The object libraries, libraries, menus and forms have all been upgraded successfully on the Windows 2000 client machine using forms builder and Forms Migration Assistant.
The files have now been ftp'd over to the server and are being converted using frmcmp.sh to produce the executables to be deployed on the application server.
The libraries have been converted to plx files (included those with attached libraries) as have the form and menu modules which do not have attached libraries, I did have to move (cd) to the actual directory to get frmcmp to see the menu and form module. However I cannot get the modules with attached libraries to produce an executable.
I have tried moving into the directory with the source code, setting the environment varaibles, and calling frcmp directly and implicitly from this directory.
There seems to be a number of threads where this problem has been raised and it appears on metalink as closed but with what appears to be no resolution to the original question.
Can someone offer a solutionThanks,
I was in the process of translating my menu module to a text version. It appears I made a very silly assumption that this was not the case on live but there appears to be a number of the files all differently named.
In the text version it expects an initcapped version. I had assumed (oops!) that if I corrected the names on windows and recompiled and saved the menu modules then the name held internally would be the same.
I was wrong!
Advice much appreciated. -
Multi-record / spread table...moveable fields in designer generated form
Good morning all;
I hope you are doing good...
Imagine a multi-record block layout with it's overflow property set to spread-table to accomodate 10 varchar2(25) fields. Now, of the hundreds of users working with this generated form, not one of them wants to see the fields in the same order on the screen.
What i would like to do is generate the form from designer so that a user could 'drag'n drop' let say, field #10 to the field #2 spot on the screen. Something like windows explorer where you can move the 'Size' column around so it is viewable without having to use the spread-table bar at the bottom of the screen...
Any idea on how to generate this form from designer?
Thank you and wish me luck!I don't know a solution, but I think a solution could be easier found if it was a read-only block. You did not specify that. Then maybe you could dynamically change the query behind the block.
Good luck, Paul. -
Dear Experts
My client is using SAP ECC6 EHP4 and We recently updated the HR Service Pack to SAPK-60464INSAPHRCIN in order to apply the SAP Note 1829618 - PY-IN: Union Budget Changes for Year 2013.
After upgrading Service Pack we are getting the below error while generating Form-16.
Layout set HR_INF16_2012_B in language EN does not exist
How to resolve this issue
ThanksThis a Blunder from SAP. And this issue we are getting in almost all the client.
For this we have to download respective Form from Golder client 000 and upload again in our working client.
Better please raise an OSS message with SAP to provide you the steps.
Thanks & Regards
Rupesh Jain -
Error while generating forms from Designer 2000
Hi,
The following error was encountered while trying to generate forms from the Designer ( using Design Editor ) .
CDI-23564 : "C:\ORAWIN95\BIN\CF50G32.DLL" could not be loaded or does not exist . Please check that the product has been installed correctly .
But the specified dll actually exists in the specified path .
Pls clarify ( send mail to [email protected])
Thanks
Eugene Xavier
nullThis is from http://metalink.oracle.com/ site - Technical libraries - Oracle Designer - Collected CDI-21600 errors,fixes and workarounds:
The CDI-21600 error message means that the generator is hitting an unhandled
exception, also known as a GPF (general protection fault). The CDI-21600 error
masks the underlying exception error. To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
I have read this article and it seems that there is not such bug, but ... ?
Maybe this will be a little help for you.
Helena
Maybe you are looking for
-
Planning File Entry in case of MD51
Hi, While we run MRP through MD51, Planning file entries are not getting updated. Means, In the planning file entries "X" indicator remains there. Actually it should be removed after MRP run. Is it a problem or standard behaviour? If it's SAP standar
-
I am trouble accessing internet automatically after changing network settings on my G4. I have to go through hardrive now. Can someone tell me if I understand how it works to access internet wirelessly for my Macbook. I purchase a new Two wire Router
-
Ipod Nano 7th G turns on and off again
Well i was just passing some information to my ipod and it was almost full then when i look up it was tuning on and off again , showing the apple logo , i did everything reset, disk mode, home boton and sleep botton then only home botton and plug it
-
Experts, Does Goodwill account need to be an open item managed account for it to be revalued during the run of f.05 or does it need to be a non open item managed account so that it gets revalued when f.06 is run. All answers would be duly appreciated
-
If a customer uptakes AIA, what value additions it would get for its business? Is AIA useful only when the customer uses multiple applications for its IT needs? Or AIA Reference Model (EBO-EBM-EBS-EBF) can also be used for implementing or enhancing d