ORA-06508 Solution for attached libraries
If you are getting the ORA-06508 runtime error, it may be the result of a corrupted .pll file. You can solve this by doing the following:
1) Remove the attached .pll file from the form.
2) Verify whether the refrenced objects in the form from the .olb are existing in the .olb, if not you will get this error.
3) Compile the .pll and and generate .plx(by using Ctrl-T) keep both .pll and .plx in the same directory.
4) Re-attache the compiled .pll file.
Cheers,
Dave
I've written a couple of tips here:
PLL - PLX - how when compiling and what to deploy
But one way of getting this error can also be this: you have a form and pll. You compile PLL and generate a PLX, then you compile the form, then you deploy the form and the PLL. The problem here is that since the PLX was present at compile time, it is also required at runtime - no longer will just the PLL suffice.
Had you just saved your PLL (with no PLX present in the folder) you could have compiled your form and just deployed the fmx and pll.
Regards,
Jesper Vad Kristensen
Similar Messages
-
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 -
FRM-40735 / ORA-06508 when calling an attached package's procedure
Hello all,
I've a problem when calling a procedure in one of my attached libraries. the code is :
when upper(trim(NOT_MSG_NAME)) = 'REN_MSG_REQ_REG_PERMENANT' then SERV.CLFRM_PBL_NRQP_F(:Parameter.NOTIFICATION_ID);
and it gives me FRM-40735 stating that an ORA-06508 has occurred when calling the procedure.
Important and funny thing is, when I add the path to the library , It works fine!
When I attach it, removing the path, It goes wrong like I said..
the location of the library is:D:\DevSuiteHome\cgenf61\ADMIN , the path is added in FORMS_PATH and all the other
libraries attached to the form in the same path are working fine !
I'm using forms builder 10.1.2.0.2, and the platform is windows and I've migrated from forms 9.0.4.0.19
anybody having any ideas what the problem may be?Thank you Sarah
In fact, somebody had modified the formsweb.cfg adding two working directory directives (It's a shared PC!). I recon none of them works though no configuration error is raised. I omitted both of them and the problem is gone .
thank you again. -
Work around/Alternate solution for Oracle error ORA-01460 and ORA-02063
After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
I have attached the error as well as the sample code.
ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
the use of stored procs)..
Thanks!
Error:
ORA-01460: unimplemented or unreasonable conversion requested
ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
SampleCode
private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
OracleDataReader oRdr = null;
OracleCommand Valid_FieldData_Command = null;
try
Valid_FieldData_Command = new OracleCommand();
Valid_FieldData_Command.Connection = mBSConnection;
Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
mBSConnection.Open();
oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
For example in this case, it breaks down with the given error if
agencyID > 8
agencyName > 6
fieldNumber > 9
uniqueid > 6The problem was mapping input parameter type.
VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't. -
Hello,
EBS version : 11.5.10.2
DB version : 11.2.0.3
OS version : AIX 6.1
As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers either have failed or are waiting:
FAILED: file glsupdas.ldt on worker 3.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
Restarting job that failed and was fixed.
Time when worker restarted job: Wed Aug 07 2013 10:36:14
Loading data using FNDLOAD function.
FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
Connecting to APPS......Connected successfully.
Calling FNDLOAD function.
Returned from FNDLOAD function.
Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
Error calling FNDLOAD function.
Time when worker failed: Wed Aug 07 2013 10:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
Current system time is Wed Aug 7 10:36:14 2013
Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
Altering database NLS_LANGUAGE environment to AMERICAN
Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
Uploading from staging tables
Error loading seed data for GL_DEFAS_ACCESS_SETS: DEFINITION_ACCESS_SET = SUPER_USER_DEFAS, ORA-06508: PL/SQL: could not find program unit being called
Concurrent request completed
Current system time is Wed Aug 7 10:36:14 2013
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Below is info about file versions and INVALID packages related to GL.
PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
TEXT
/* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
/* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2
SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
SQL> conn apps/apps
Connected.
SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
FROM DBA_OBJECTS
WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
No errors.
SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
SQL> show user
USER is "APPS"
SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
FROM dual; 2 -- with GL.
NEXTVAL
1002
SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual; --without GL. or using synonym.
NEXTVAL
1003
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */ -
Hello
I was trying the latest version of Mathmagic pro edition for indesign. I found that the leading is not automatically done in Indesign, Ihave attached to files where equation have overlapped while working with mathmagic. Do you have a solution for this?The forums don't accept attachments. You can embed an image in a post using the camera icon in the editor, like this:
or you can provide a link to an external file on a hosting service. -
Attached libraries not executing on generated forms
Version 6.0 designer. I am using CG$STARTUP_MODE for form that can be called from a parent form. The OFGNAVL library is attached to the form after it is generated. CGNV$.INITIALISE AND CGNV$.TIDYUP do not execute with error ORA-06508 could not find program unit being called. If designer is not resolving the path for the library haw can this be remedied?
Hi,
I have faced such a problem.The solution that i would suggest is to remove all the PLL's attached to your form(FMB) and then attach it once again.Try to run the form and check if it works fine.
If not please check your registry settings.See if oracle's home path is present in your FORMS60_PATH registry.Check if the specified PLL exists in ur oracle home directory.
Venkatesh -
Unable to find Program Unit error (ORA-06508)
This problem is quite complex and difficult to explain completely. We have a situation where a program unit (called ztmessage) is duplicated ... it is in all forms modules (.fmb) and also in our message library which is attached to all forms and libraries. It is required in the form due to use of the forms generator and in the library so that all other external libraries can compile.
Under certain situations forms appears to get totally confused and can't find the ztmessage program unit (raises ORA-06508 ... Can't find Program Unit being called ... should be calling the "form" program unit). Are there any known issues with duplicated program units?? All of this setup works fine under the 4.5 environnment but falls over in 6.0.
nullI suspect that this is a manifestation of Bug 612052 and it's relations.
What you were doing in 4.5 e.g. calling back from a PLL into a piece of code in
the form was strictly a No-No. However, it worked and lots of people used it.
Anyway the Name resolution works differently in 6.0 and the callbacks would all go
to the initial PU that was first bound rather than the "expected" one in the
current form.
In your case you are probably binding to the ztmessage PU in a form which is subsequently
being closed and hence the reference is broken - 6508 would result.
Anyway, that bug now has a "Fix" e.g. there is a way of restoring the 4.5 behaviour
Simply set the environment variable FORMS60_PLSQLV1_NAME_RESOLUTION to TRUE (or YES)
in the registry. You'll need patch 5 or 6i for this.
The side effects will be:
1) Performance will degrade as we have to resolve the name every time
2) You won't be able to use the SHARE_LIBRARY_DATA flag on OPEN_FORM/CALL_FORM -
ORA-06508 keep showing up.. What setting did I missed?
Hi,
I made a very simple form (named:TESTWJ.fmb) containing 1 table and displaying 1 column.
Without any libraries attached the form run okay.
Then I attached appcore.pll, I choose to remove the path.
I create a PRE-FORM trigger containing: app_standard.event('PRE-FORM');
I compiled the form and it compiled okay.
I tried to run the form then error:" FRM-40039: Cannot attach library APPCORE while opening TESTWJ" appear.
I then add into default.env the path where all the libraries are located, like so:
FORMS_PATH=D:\WILLY\lib;D:\DevSuiteHome_3\forms
And then I tried running the report again but a different error shows up: ORA-06508.
note that I already added into FORMS_PATH in the registry to include the location of my libraries.
What other setting should I set to run this form?
Any help is very welcome, I am stumped.. :(mseberg, thank you for your reply.
I have tried filling workingdirectory in formsweb.cfg to no avail. Currently I just leave it blank.
This is my setting for oracle home in default.env.
ORACLE_HOME=D:\DevSuiteHome_3
So far I only develop in oracle form 6i in client server configuration. So I am not familiar with the intricacies of developing for an application server.
I am using windows pc (XP prof sp2). The application server where my form will be run is in Linux. The application server is 11.5.9.
I am new and the developer before me is gone, so I don't know how he does things.
Both forms 6i and 10g is installed in my computer. I assumed we used forms 10g.
Most of the forms using library such as appcore.pll. Hence I am stuck here trying to figure out why I can't run to test my form from the builder like I'm usually do in the simpler times of client server..:p
If any of you guys have experience in developing in similar environment as mine any input or advice on how to get things done would be awesome. -
ORA-06508 - PL/SQL: could not find program unit being called
Hi,
I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
Since 2 weeks I'm facing problems with a job.
The job executes
dispatch.pk_process.check_geofence;every 2 seconds, forces to run on instance 1.
Some time, now it's once a day, in a different moment, the job start failing returning the ORA-06508.
The job body is:
PROCEDURE check_geofence
IS
CURSOR tt IS
SELECT id_data, id_device, id_vehicle, date_event, date_write
FROM t_process
WHERE id_type_process = ln_process_geofence
ORDER BY date_event;
id_user_ NUMBER;
errc_ NUMBER;
errm_ VARCHAR2(500);
i NUMBER;
BEGIN
id_user_ := dispatch.pk_security.login_hard('process_geofence','process_geofence');
i := 0;
FOR t IN tt LOOP
BEGIN
pk_space_target.check_inout_space_target (
in_id_data => t.id_data,
in_id_device => t.id_device,
in_id_vehicle => t.id_vehicle,
id_date_event => t.date_event,
id_date_write => t.date_write
EXCEPTION
WHEN OTHERS THEN
errm_ := 'process geofence: '||SUBSTR(SQLERRM, 1, 500)||' - '||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE;
errc_ := SQLCODE;
INSERT INTO t_data_error (id_data, date_error, error_number, error_message)
VALUES (t.id_data, SYSDATE, errc_, errm_);
END;
DELETE FROM t_process WHERE id_data = t.id_data AND id_type_process = ln_process_geofence;
i := i + 1;
IF i mod 100 = 0 THEN COMMIT; END IF;
END LOOP;
id_user_ := dispatch.pk_security.logout;
END;the error is returned while executing the procedure
pk_space_target.check_inout_space_targetI know the ORA-06508 could happen on open connections after a recompile.
But I did not recompile anything.
The only solution that works is to compile package pk_space_target introducing some error (decompile it) and re-compile without the error.
Than to the same with pk_process.
After the last recompile, everything start to work fine again.
Do you have any suggestion on how/what investigate?
I cannot find any cause!!
Thanks in advance,
SamuelAt the end I opend a SR and the problem was a timestamp mistmatch between 2 packages:
Connected to:
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
With the Real Application Clusters option
SQL> alter session set nls_date_format='dd-mon-yy hh24:mi:ss';
Session altered.
SQL> select do.name dname, po.name pname, p_timestamp, po.stime p_stime
2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
3 where p_obj#=po.obj#(+)
4 and d_obj#=do.obj#
5 and do.status=1 /*dependent is valid*/
6 and po.status=1 /*parent is valid*/
7 and po.stime!=p_timestamp /*parent timestamp does not match*/
order by 2,1; 8
DNAME
PNAME
P_TIMESTAMP P_STIME
PK_EVOLUTION
PK_SPATIAL
15-sep-11 08:50:11 09-oct-12 10:01:32Then I re-compiled the pk_evolution, and the row disappeared:
SQL> r
1 select do.name dname, po.name pname, p_timestamp, po.stime p_stime
2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
3 where p_obj#=po.obj#(+)
4 and d_obj#=do.obj#
5 and do.status=1 /*dependent is valid*/
6 and po.status=1 /*parent is valid*/
7 and po.stime!=p_timestamp /*parent timestamp does not match*/
8* order by 2,1
no rows selectedThis solved the problem.
Samuel -
Attached Libraries problem with reports
I have the following problem please help me:
Report 6i version : Report Builder 6.0.8.23.0 Patch 14
I am running on C/S not on the web
the problem is:
If I have the follwing:
1) a report r1.rep
2) and a PL/SQL library c:\x\lib_reports.pll c:\x\lib_reports.plx
3) and another copy of this library on c:\y\lib_reports.pll c:\y\lib_reports.plx
4) and REPORTS60_PATH environment variable contains c:\y
then when I attached this library to that report and
choose YES when asked to remove the non-portable path then call this report from a form I receive the following error:
REP-1401: 'f_print_dateformattrigger': Fatal PL/SQL error occured.
ORA-06508: PL/SQL: could not find program unit being called
but if i choose NO when sked to remove the non-portable path then call this report from a form it works OK, but if i want to put this report on other machine and put the library on other directory for example c:\y and put this path in REPORTS60_PATH I receive the following error:
REP-0756: Warning: Unable to find PL/SQL library 'c:\x\lib_reports.pll'.
please help me because I need to publish my reports to other machines and different directories.I am having the same problem now in 10g.
The report and it's attached library are both saved, compiled (ctrl+shift+K) and generated succesfully. However, when running the report in runtime the following error appears:
REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
When i remove the .plx-file, it works although the generation of the plx-file works without error. The generating and runtime are both done on the same database with the same user.
Anyone have an idea why this is happening?
PS: Is it normal that i have to generate the library in Forms? Reports doesn't seem to be able to open .pll-files. -
ORA-27123 unable to attach shared memory segment
Running oracle 8.1.5.0.0 on Redhat 6.0 with kernel 2.2.12, I keep getting the error ORA-27123 unable to attach shared memory segment when trying to startup and instance with an SGA > 150 MB or so. I have modified the shmmax and shmall kernel parameters via the /proc/sys interface. The relevant output of ipcs -l is below:
------ Shared Memory Limits --------
max number of segments = 128
max seg size (kbytes) = 976562
max total shared memory (kbytes) = 16777216
min seg size (bytes) = 1
This system has 2gb of physical memory and is doing nothing except oracle.
I changed the shmmax and shmall parameters after the instance was created, was their something I needed to do to inform Oracle of the changes?High JW,
i had the same problem on my installation.
The solution is written in the Oracle8i Administrator Refernece on page 1-26 "Relocating the SGA"
a) determine the valid adress range for Shared Memory with:
$ tstshm
in the output Lowest & Highest SHM indicate the valid adress range
b) run genksms to generate the file ksms.s
$ cd $ORACLE_HOME/rdbms/lib
$ $ORACLE_HOME/bin/genksms -b "sga_beginn_adress" > ksms.s
c) shut down any instance
d) rebuilt the oracle exe in $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk ksms.o
$ make -f ins_rdbms.mk ioracle
the result is a new oracle kernel that loads the SGA at the adress specified in "sga_beginn_adress".
regards
Gerhard -
Recompiling attached libraries...
Hello everybody,
I'm using the FileUpload utility to upload files from client to user in oracle environment, i add the library that came with it, at runtime i got the error ora 06508, i searched the web and found this note:
For Oracle Application Server, on all platforms, you must
regenerate webutil.pll before using it; otherwise youll encounter error
ORA-06508 when running a form with the attached library. To
recompile, use the following command:
frmcmp module=ORACLE_HOME\forms\webutil.pll
userid=<webutil/webutil@dbconnect> module_type=library compile_
all=yes
but i 'm still developing the application on oracle developer suite under windows xp using the oracle forms 10g R2, how can i recompile the library that i attached because it seems that is not recomoiled automatically when i compile the form, and another thing, these commands
frmcmp module=ORACLE_HOME\forms\webutil.pll
userid=<webutil/webutil@dbconnect> module_type=library compile_
all=yes where i should write them.... and thank you....If you are developing and testing in your Windows XP environment, then you compile the PLL library by opening it in the Forms Builder, and doing a Compile All (Shift - Ctrl - K ). Or you can open a DOS window by running cmd.exe, and then CD to the forms directory, then compile with the command:
frmcmp webutil.pll userid=un/pw@cstr module_type=library compile_all=yesI add the following parameters to the command:
Strip_Source=YES Batch=YES Window_State=Minimize -
Forms 6i, ORA-06508, and Character Functions
Hi,
We have an installation of Forms 6i, and when we run our form(s), an ORA-06508 error is received. The problem has been drilled down to pl/sql usage of built-in character functions such as SUBSTR, INSTR, etc.
For example:
myvar := substr(myothervar,1,10);
If these functions are used within sql only, they work fine.
For example:
select substr(myothervar,1,10)
into myvar
from dual;
We are only having this problem on one PC. The same forms work fine on all others.
When I open the Forms Designer, I can see the character functions under the built-ins in the navigator.
I'm thinking we have a .dll or .pll that is missing from our install on this particular PC.
Does anyone know where the built-in functions are stored, like in a .pll or .dll for instance?
Thank you,
Bret GoldsteinI would suggest 2 things:
1) Make sure that if there are libraries (PLX) you have the right versions on the questionable worstation.
2) Recompile the failing form (using compile all option) but make sure that the compiling environment is using the righ version of the libraries (PLL) -
Getting ORA-06508 when running 6i form in 10g
hi,
I am upgrading my forms from 6i to 10g. I have created the following directory structure on my system.
c:\old_system\<module_name>\<forms60> --- All FMBs and FMXs
c:\old_system\<module_name>\<lib> --- All libraries
c:\old_system\<module_name>\<reports60> ---All Reports
c:\10g_upgrade\<module_name>\<forms60> --- All FMBs and FMXs
c:\10g_upgrade\<module_name>\<lib> --- All libraries
c:\10g_upgrade\<module_name>\<reports60> ---All Reports
i have edited the registery entry for
for forms6i
Forms60_PATH --- c:\old_system\<module_name>\<lib>
for forms10g
Forms_PATH -- c:\10g_upgrade\<module_name>\<lib>
I have two template forms:
1. TMXSTAND.FMB
2. PPSSTAND.FMB inherits TMXSTAND.FMB
when i run the FPPS003.FMB then it gives this error.
ON-ERROR raised an unhandled exception ORA-06508.
Please suggest where is the problem.
Thanks.
nullI have given the proper path of the library folder in Forms_Path. Still I am getting this error...
Is this error because of having both the versions of forms (6i and 10g)?
Message was edited by:
gammit
Maybe you are looking for
-
OfficeJet 6310xi - recognized and functional with iOS ePrint app but not AIO app. Why?
As noted - OJ 6310xi is on same netork as other printers and all computing devices. The iOS app "HP ePrint" recognizes and allows printing to the 6310xi. The AIO Remote app will find all printers on the network except the 6310xi. The 6310xi is not
-
How to give a user rights to create tables etc
I have 2 users for my database 'pmi' First user is 'sys' which connects as 'SYSDBA' Second user is 'user1' which connects as 'Normal' I see that with the user 'sys' I am able to create a table in the database. Also insert row, read it, delete it and
-
HT1338 Left hand side of monitor dims on 2011/intel based iMac-any suggestions?
Left hand side of monitor dims on 2011 /intel based iMac-any suggestions? Called apple support. Restarted-didn't help. Unplugged my second monitor from the thunderbolt port-didn't help. Unplugged center cord in the middle on the back of the monitor-w
-
Unable to upgrade mac OS mountain lion 10.8 version to maverics
My OS X Mountain Lion (version 10.8.4) is getting error while trying to upgrade to Mavericks. Don't know what is the reason. I have tried many times and I have a good internet connection also. Please help me with this.
-
Could any body explain about record to report in oracle apps. Thanks Guru Prasad. Edited by: guru_prasad on Jun 25, 2010 9:12 AM