Forms60_path problem
Respected all..
I am running about 8 applications developed in developer 6i and back end is oracle 9i.
each applications forms are placed in separate folder.
when i give path in register editor more than about 5 to 6 applications then oracle froms run time doesnot work.
but less than 5 applications forms then oracle forms runtime works
e.g
Form60_Path
===d:\pmis\forms;d:accounts\forms;------------------>works
===d:\pmis\forms;d:accounts\forms;d:\hrpr\forms;d:\payroll\forms;d:\assets\forms;d:\attendance\forms------------------> does not works
please give me any solution
With Regards
It looks you are missing a backslash: d:accounts change it to d:\accounts
Try again, there is a limit which I cannot remember right now, but based on what you posted your problem might be the missing character.
Similar Messages
-
Problem running Unix CPS install
I'm having trouble getting the CPS to install on the Centos 5
box. I put the CPSLin.bin file into a user directory. I then tried
to run the file as both the user and also 'root' and keep getting
error messages about it not opening shared library files. I checked
the system for every file it complains about and all do exist on
the system. If permissions problem then running as 'root' should
have gotten around that.
I figure it is some sorta environment issue, but not sure
what to fix.
Here is the messages I get every time I run the installer.
[email protected] [~/CPS]# ./CPSLin.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer
archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot
open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1:
cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libc.so.6: cannot
open shared object file: No such file or directory
./CPSLin.bin: line 2317:
/tmp/install.dir.22304/Linux/resource/jre/bin/java: Permission
denied
./CPSLin.bin: line 2317:
/tmp/install.dir.22304/Linux/resource/jre/bin/java: Success
[email protected] [~/CPS]#I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
I already open a TAR in this regard, I am still waiting reply from ORACLE.
Thanks,
Shaik Ather Ahmed -
dears,
i was design an form that read an excel sheet and upload the excel sheet contant into a table on DB, the excel sheet contain only 2 columns, the problem is when i compile the form CTRL+K there is no errors shown but when the form run i click Browes button but it give me error as below
ORA-06508 PL/SQL could not find program unit being called .
the program unit is client_get_file_name it a package within WEBUTIL attached library, the problem is the form cant call any package or anything from WEBUTIL attached library.
on the form i have 2 buttons
First Button Code: "Browes"
Declare
V_FILE VARCHAR2(2000);
BEGIN
V_FILE := client_get_file_name(NULL, NULL, NULL, NULL, open_file, TRUE);
:main_block.FNAME := V_FILE;
EXCEPTION
WHEN OTHERS THEN
my_alert('There Is Error: '||sqlerrm); -- My_alert(p_text) is program unit
RAISE FORM_TRIGGER_FAILURE;
END;
Second Button code : "Import to DB"
DECLARE
MYFILE CLIENT_TEXT_IO.FILE_TYPE;
filename varchar2(100);
temp varchar2(1000);
t1 varchar2(1000);
t2 varchar2(1000);
cust_id number;
dfrom date;
dto date;
ccode varchar2(100);
r varchar2(1000);
transfer_status boolean;
begin
filename := :main_block.fname;
MYFILE := CLIENT_TEXT_IO.FOPEN(filename, 'r');
SYNCHRONIZE;
SYNCHRONIZE;
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
while temp is not null loop
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
select substr(t1,1,instr(t1,',') -1)
into t2
from dual;
ccode:=t2;
select substr(t1,instr(t1,',') +1)
into t1
from dual;
insert into trc_upload -- table on DB
values(t2,t1);
commit;
end loop;
CLIENT_TEXT_IO.FCLOSE(MYFILE);
EXCEPTION
WHEN DDE.DDE_APP_FAILURE THEN
my_alert('WINDOWS APPLICATION CANNOT START.');
WHEN DDE.DDE_PARAM_ERR THEN
my_alert('A NULL VALUE WAS PASSED TO DDE');
WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
my_alert('DDE CANNOT ESTABLISH A CONVERSATION');
WHEN DDE.DMLERR_NOTPROCESSED THEN
my_alert('A TRANSACTION FAILED');
end;
so please to help me on this issue
Note:
the form deployed under UNIX on Application Server
Thanks
Murad.From ORA-06508 is seems like WEBUTIL.pll is not found in the runtime-environment.
Possible solutions:
Check if the WEBUTIL.pll (or plx) is on the path where the fmx-File is placed.
If not, check the FORMS90_PATH in your env-File (normally default.env) (you didn't mention your forms-Version, may also be FORMS60_PATH) and if the WEBUTIL.pll is in that path, if not adjust the env-file.
If its still not working, check if WEBUTIL.pll is attached including the full Path (unattach WEBUTIL.pll and reattach it without the path)
Last hint: Case-sensitivity: If you attach in lowercase-letters and library is in uppercase on unix-system the library will not be found at runtime. You won't see how the the pll was attached, best method is to unattach library and reattach it in correct case.
Another remark:
The DDE-Exception seem to be useless, because you don't use DDE (and i would not work for its not available under unix).
Hope this helps -
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. -
Problem in finding GHR.PLL
Hi folks,
I am having problem while opening FOrms in my client.
So, i copied the mentioned PLL to the forms60_path and i dont find GHR.PLL in my linux server. Only i can see GHR.PLX
I think I have to copy GHR.PLL to open template in my client.
Can you anybody help to resolve this problem..Hi ,
Whenever I attach the webutil.pll as it is in the downloaded Webutil.zip file I get the error message ORA-06508. Reading the help - included in the downloaded Webutil.zip file - the proposed step in this situation is to use the frmcmp module='ORACLE_HOME\forms\webutil\webutil.pll' userid=<....> module_type=library compile_all=yes. When I do this the error message FRM-30312 appears.
When I save the webutil.pll - I cannot compile the pll inside the form builder - the error messages (PDE-IIN005 Insert is unknown command and also the message at the background FRM-91507 Internal Error : The creation of library is impossible) appear , I get also the same error message at run time ORA-06508.
I have created the webutil_db package successfully and when I open the webutil_canvas all java beans appear without any error!!!!!
I would never imagine that it is so difficult , just to configure it!!!!!
Simon -
Problem subclassing an object group from an object library
Hi
I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
regards
Andrew
UKHi again
The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
regards
Andrew -
UNIX: problem running an DEV & QA environment using form/report servlets
UNIX: problem running an DEV & QA environment using form/report servlets
I am trying to setup on one server an DEV and QA environment using the Forms Servlet, Forms Listener Servlet and Report Servlet.
I think I have the Forms Servlet and Forms Listener Servlet running properly. The problem is setting up the DEV and QA environment for running reports.
For example, when in DEV environment I would like to run a report from a directory specified in the REPORTS60_PATH. This doesn't seem possible.
It might be easier if I describe my configuration first:
DEV: run all forms and reports from the directory /data/release/dev
QA: run all forms and reports from the directory /data/release/qa
---DEV & QA Settings Forms Listener Servlet:
zone.properties:
# DEV
servlet.fl60dev.code=oracle.forms.servlet.ListenerServlet
servlet.fl60dev.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev.env
# QA
servlet.fl60qa.code=oracle.forms.servlet.ListenerServlet
servlet.fl60qa.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/qa.env
---DEV & QA Settings Forms Servlet:
servlet.f60servlet.code=oracle.forms.servlet.FormsServlet
--- Settings for Reports Servlet:
servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
Custom Env files since we are using Developer 6i Patch 7
dev.env and qa.env
Here I specify FORMS60_PATH and REPORTS60_PATH,
eg: DEV -> FORMS60_PATH=/data/release/dev
REPORTS60_PATH=/data/release/dev
likewise for QA ../qa
In the formsweb.cfg file i have something like:
[dev]
serverURL=/servlet/fl60dev
form=test.fmx
[qa]
serverURL=/servlet/fl60dev
form=test2.fmx
I have tested the following and they work without problems:
1. forms listener test page, eg: http://webserver:7777/servlet/fl60dev
2. running forms from the 2 environments
eg: http://webserver:7777/servlet/f60servlet?config=dev
this runs the form in the FORMS60_PATH (/data/release/dev)
Now my problems start with Reports.
When I run a report from forms (using run_report_object) it will not run any reports
as specified in the REPORTS60_PATH
Even using this url:
http://webserver:7777/servlet/RWServlet?server=rep60&report=test.rdf&destype=cache&desformat=html&
userid=scott/tiger@test9i
It NEVER seems to pickup and use the REPORTS60_PATH. I have tried nearly everything.
I have gone throught the instructions in "Integrating Oracle9iAS Reports in Oracle9iAS Forms -
White Paper"
(http://otn.oracle.com/products/forms/pdf/277282.pdf)
and Forms6i Patch 7: Oracle Forms Listner Servlet for Deployment of FOrms on the Internet
(http://otn.oracle.com/products/forms/pdf/p7listenerservlet.pdf)
plus any other documents in metalink relating to forms, or report servlets. I am
totally confused, please help.
I have tried setting the REPORTS60_PATH in the following files without success:
custom.env (as specified by initArgs=EnvFile in zone.properties)
jserv.properties
in the zone.properties I have tried to set a custom env file for the report servlet:
servlet.RWServlet.code=oracle.reports.rwcgi.RWServlet
servlet.RWServlet.initArgs=EnvFile=/u01/app/oracle/product/ias/6iserver/forms60/server/dev_rep.env
NO LUCK.
The only place that I can set the REPORTS60_PATH
is in "[6iserver home]/reports60_server" file when I start the reports server (did I even
get this right - I do have to have a reports server running don't I?)
Does this meaan I have to run multiple report servers for each of my environments?
Based on all the documentation I thought that REPORTS60_PATH as specified in the files relating
to the forms servlet would be the place to specify the path.
As you will understand I am getting really fustrated with this and it seems to
me that the reports servlet configuration in 6i is really half baked and since 9i
is coming out it will never be fixed.I am even not able to run forms servlets from two different forms60_path, Is there any configuration do you make other than what you have mentioned in this post.
I already open a TAR in this regard, I am still waiting reply from ORACLE.
Thanks,
Shaik Ather Ahmed -
Hi Guys,
I have a problem to make a developer application Client/Server.
When i install forms Runtime on the Client`s computer and i open the application, i get the error that he can`t find the menu and the libraries.
The menu path is for example on my computer F:\s3\Salesmenu
But on the client it can be a different path an then he can`t find the menu.
Now the properties for the main form are:
Menu module f:\s3\Salesmenu
Initial menu Salemenu
Does anyone know how to fix this problem for example:
1) by let the program search for the menu.
2) .....
Plz Help
Vincentset your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.
-
Wazzup,
Here is the problem and I am looking for a work around. I am trying to deploy the existing C/S Applications on web. We have more than one applications and some of them uses programs which has similar names.
e.g If we have App1, App2, App3 and App1 has a program called PROG1, so has app2 and app3. Now if the FORMS60_PATH points to <ORACLE_HOME>\forms60 where resides all the runtime, application programs, there arises a name conflict. Now we can resolve this name conflict by putting three separate web/application server for three applications, OR by changing the names of the programs. Where the latter is an expensive idea, the former is too much work because if the program is a pll than I need to detach, retach the pll and recompile 1000s of forms all over again with the new program name. So is there a work around for this or there is a definite solution. If anyone has encountered such a situation and has solved it then could you please help me out.
thanking you in advance
RanjanHi Vidu,
thanx for the input, However Forms60_Path registry entry does not work that way on a thin client/web deployment environment. May be If I give you an instance it will be much clearer for you.
Lets say forms60_path=<oracle_home>;c:\test1;c:\test2
So if you call a form from test2 and there is a pll or menu associated in the form(which is there in both test1 and test2 directory) than forms server will try to look for them in c:\test1, which it should not do. In client server you can specify a start_in directory, So basically I am looking something like that.
I still have not found anything.pls lemme know if you find something.
thanx
Ranjan -
Newbie: OPEN_FORM problem...
Hi!
I created 2 forms (Frm1, Frm2). On the Frm1 is there button BT.
In its trigger WHEN_BUTTON_PRESSED:
show_window('wind2'); -- Second window in Frm1
hide_window('wind1'); -- Main window in Frm1
In this case it works, but wind1 is not hidden (WHY??)
When i add
open_form('Frm2');
i get error 41053 cann't find canvas...
If i keep onlu open_form('Frm2');
i get error 40010 Cannot read form Frm2. But it exist and
directly i can open it...
What's wrong with me? :)You probably have some problem with the path where the developer
looks for forms.So check in the registry the key FORMS60_PATH
under the LOCAL_MACHINE->SOFTWARE->ORACLE->HOME0 (or HOME1 or
something) if in the directories it has as parameters, is there
the directory you save you forms. If not add it . ;-)
This maybe solve your problems .... -
A200 Booting problem plz help!!
Hey all
here is my problem in boring details:
I have vista home premium and it has been infected and broke my pc so it wont work anymore i need to format and install again,,, the problem is i lost my recovery disk so i bought new vista windows orignal valid and tryed to install it
i opened the computer insterted the disc and went to boot menu(F12) and i striked the dvd rom boot drive
The message i should get to go to setup is this"Press any key to boot from disc"
But am not getting it what it shows is that"..." IT DIDNT BOOT FROM DISC
i tryed the same disk on another brand laptop and it booted just well.
i went to some computer repair center and they told my this laptop was made for middle east use so any europian windows discs or us wont boot it up
i live in UAE i bought it from carefour with the warrenty recovery disc and all other stuff
so it made for middle east use only i guess...
Can anyone give me a tip how to format it??how to boot to setup?
thanks my model is A200-1mdset your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.
-
sir
i do the following
class mydesk extends JDesktop
mydesk()
//some code here but not using layered pane
class main extends JFrame
public static mydesk desk=new mydesk();
main()
//container here
cp.add(desk);
now i create a menu bar class and write events in this class
then i make a internal frame class and initilize that in menu class
now i write action performed method here
public void actionPerformed(ActionEvent e)//in menu class
main.desk.add(frame);//frame is the object of IntenalFrame
The problem is that it throws a exception illegal component position
but when i add frame object in main class it works well
what is the problem when call in menu class
thanks in advanceset your FORMS60_PATH on the client to Formspath;libpath;menupath so it looks in every dir named in the path.
-
Hi friends,
We are migrating Forms4.5 character based into Forms6i on UNIX.
We got a problem when using x.pll with emp.fmb. x is an attached library on emp Form. The Form is compiling and properly working on Windows box.We compiled x.pll on UNIX box.But we could not compile emp.fmb on UNIX box, f60gen can't recognise this x.pll .Is it necessary to set environmental variable on UNIX box particular to x.pll? Any solution or suggestions or urls is appreciated.
Thank you
waraRemember that Unix is case sensitive so look at the form and see if it is looking for X.pll or x.pll.
Also, if you have attach a pll with a path then that path is NOT portable to UNIX (since unix will not understand c:\temp\x.pll).
PLLs are picked up from the working directory and the FORMS60_PATH variable.
That should sort the problem.
Regards
Grant Ronald
Forms Product Management -
Dear Sir,
Frm-18108 is displayed when i open a form named "customer". it has an item subclassed from the library "Components".
When I open the library in Developer (Navigator) then the problem is solved. but what to do at deployment time.This problem would occur if the "Components" is not there at the forms path. If u r using Forms 6i then check the path mentioned in Forms60_Path; If u r using Forms 10g, then check ur Forms_Path. If this file exists
at the path specified then it'll not create any problem.
Regards,
Alok Dubey
Edited by: user583531 on Nov 1, 2008 4:42 PM -
I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
Thank you in advance,
LeftyThis was one solution from the socket programming forum, have you tried this??
public Thread MyThread extends Thread{
boolean active = true;
public void run(){
ss.setSoTimeout(90);
while (active){
try{
serverSocket = ss.accept();
catch (SocketTimeoutException ste){
// do nothing
// interrupt thread
public void deactivate(){
active = false;
// you gotta sleep for a time longer than the
// accept() timeout to make sure that timeout is finished.
try{
sleep(91);
}catch (InterruptedException ie){
interrupt();
}
Maybe you are looking for
-
I have updated my iPod with the Latest OS version (5.1.1) and after it goes empty/drained battery, It does not charge, Please help me with this thankyou somuch
-
Restoring Lightroom after Hard Drive failure
I had Lightroom 3.x on my iMac and MacBook Pro. My laptop Hard drive died, and now I'd like to reinstall the software. I don't have a disk (I did the install from Adobe), did not bother with time machine (since I store everything important on my NA
-
Row doesn't format properly in Pages
I'm new to Pages. I've got an issue with a 1-row table (3 columns). The row is half way down the page, but the content in each column is only a few lines! I've tried "fit height to content"...I've made sure there aren't any spaces or other random
-
Keynote presenter notes cut off
Help - when I print slides with presenter notes, my notes get cut off at the end of the page. Apart from making the font really tiny (which makes it difficult when I'm presenting), is there any workaround?
-
Why is Amazon my default search all of a sudden?
I have only updated Aurora, that is the only change I have recently made and all of a sudden when searching in the URL bar, which usually searches using Google, it searches Amazon for anything I enter. How has this happened and how do I get rid of it