WEBUTIL_FILE.FILE_EXISTS
Does this check for the existence of the file on the CLIENT or the SERVER?
Is there any comprehensive WebUtil documentation that includes this kind of information?
Thanks
Hello,
The purpose of the Webutil library is to handle the client machine.
I have read the Webutil documentation and found it as clear as possible.
Francois
Similar Messages
-
Webutil_file.file_exists works with networks files ?
I need to know if a file exists on a network drive.
webutil_file.file_exists works if i try to check a local drive but when i try to check a network drive, it returns FALSE
This line of code works perfectly
w_existe_arq := webutil_file.file_exists('H:\fiscal\sif\teste.txt');
This line doesnt work, return FALSE
w_existe_arq := webutil_file.file_exists('/comum/fiscal/sif/teste.txt');
Ive already tried w_existe_arq := webutil_file.file_exists('//comum/fiscal/sif/teste.txt');
and it didnt work too
Do you guys know how can i check if a file exists on a network drive ?
Thx in advancein webutil_file, there is the following function:
FUNCTION DIRECTORY_FILTERED_LIST( directory_name Varchar2,
file_filter Varchar2,
return_files_only Boolean := FALSE) return WEBUTIL_FILE.FILE_LIST; should do your work.. -
Hi,
I am using webutil 1.0.6, 10gAS R1 (9.0.4.2.0), compiled the module using Forms 10g (9.0.4.0.19), and I am connecting to RDBMS 10.2.0.1.0.
I have proved that webutil works by creating a test harness. I proved the webutil_file.file_exists function works, and both the client_host and webutil_host.host procedures work. So, you would imagine no webutil installation issues. The 9.0.4.0.19 (10g) compiled form is called from a form compiled by 9.0.2.9.0 (9i).
Now that I proved that, I tried calling the webutil procedures from a form in our system that needs to use them. Again compiled in 9.0.4.0.19. I get the error 'oracle.forms.webutil.file.FileFunctions bean not found. WEBUTIL_FILE.GET_ATTRIBUTE_INT will not work'.
I tried detaching both the webutil.pll and webutil.olb, I always attach the webutil.pll first, and then subclass the olb. I still get the same error.
Any advice ??Well, all I can say to myself is RT?M. In metalink note 270940.1, there is a section 'Using WebUtil functionality in a PREFORM/WHEN-NEW-FORM-INSTANCE/WHEN-NEW-BLOCK-INSTANCE trigger and it does not work. ' that explains exactly why I was getting the error.
A constraint of using webutil, is new form instance triggers cannot exit_form.
The code did just that. Workaround was to use a timer event, and to minimise the window so the user doesn't notice too much.
ISSUE CLOSED. -
Webutil bean not found when using call_form with no_share_library_data
Hi,
I have two Forms modules and i navigate from Form A to Form B using a call_form.
If i call Form B with NO_SHARE_LIBRARY_DATA param, i get a webutil error: "oracle.forms.webutil.file.filefunctions bean not found"
If i call it with SHARE_LIBRARY_DATA, there no error and my webutil function works as expected.
Webutil is used in our application are works well so i don't think that it's webutil config problem.
Any idea?
TxThanks for your answer.
Now I'am a little bit further with my debugging but it's more strange! forget the share_library_data...
I start a common form with webutil.pll attached and i will use the Webutil_File.File_Exists function for example
if i call it in the WNFI or WNBI, i get the error
if i call it via a push-button WBP for example, it works!
below the java console ouput when i get the error and after pushing ok on the error
Loading http://sdp6:7778/sdp-jar_dev/frmwebutil.jar from JAR cache
Loading http://sdp6:7778/forms/java/frmall_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.2
Loading http://sdp6:7778/sdp-jar_dev/hst65.jar from JAR cache
Loading http://sdp6:7778/sdp-jar_dev/sdpimage.jar from JAR cache
Loading http://sdp6:7778/sdp-jar_dev/host.jar from JAR cache
Loading http://sdp6:7778/sdp-jar_dev/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
La version Forms Applet est : 10.1.2.2
2008-janv.-10 18:02:24.711 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.727 WUI[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.727 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.727 WUF[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.743 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.743 WUH[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.743 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.743 WUS[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.758 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.758 WUT[SessionFunctions.init()] Max Transfer chunk size set to 4048
2008-janv.-10 18:02:24.758 WUT[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.977 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.977 WUO[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.977 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.977 WUL[VBeanCommon.getIPAddress()] 172.22.35.17
2008-janv.-10 18:02:24.977 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2008-janv.-10 18:02:24.977 WUB[VBeanCommon.getIPAddress()] 172.22.35.17
AFTER PUSH OK on the error
2008-janv.-10 18:07:12.977 WUI[getProperty()] Getting property WUC_BEAN_VERSION
2008-janv.-10 18:07:12.977 WUI[getProperty()] Value of WUC_BEAN_VERSION=10.1.2.2
2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 0
2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
2008-janv.-10 18:07:12.993 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2008-janv.-10 18:07:13.08 WUT[loadSettings()] Local properties file loaded
2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
2008-janv.-10 18:07:13.24 WUB[setProperty()] Setting property WUC_SRV_LOGGING to 0
AFTER PUSH ON THE BUTTON THAT CALL THE SAME FUNCTION
2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILENAME to c:\temp\1.txt
2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 1
2008-janv.-10 18:07:34.758 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
2008-janv.-10 18:07:34.758 WUF[getProperty()] Value of WUF_FILE_ATTRIBUTE=TRUE -
view image based on the query
hi i what to download my image based on the following query,am in jdeveloper 11g am using this method for download,i show the whole link of procedure where the query is located and how was it used in forms,but nw i what to take the query and put it in my java code not the webutil just the query,i put the whole forms package so you can undestand the logic of the query how was it used
public void ViewImage(FacesContext facesContext, OutputStream outputStream)
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
// get an ADF attributevalue from the ADF page definitions
AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("DocumentImage");
if (attr == null)
return;
// the value is a BlobDomain data type
BlobDomain blob = (BlobDomain) attr.getInputValue();
try
{ // copy the data from the BlobDomain to the output stream
IOUtils.copy(blob.getInputStream(), outputStream);
// cloase the blob to release the recources
blob.closeInputStream();
// flush the output stream
outputStream.flush();
catch (IOException e)
// handle errors
e.printStackTrace();
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
FacesContext.getCurrentInstance().addMessage(null, msg);
}when i use the above method in diffient screen without the upload i get this error
Target Unreachable, identifier 'viewImage' resolved to null
Error
The file was not downloaded or was not downloaded correctly.
the below procedure is how i what to download the image but in java,but usin query in below procedure
function right_file (idref integer, i_file varchar2) return boolean is
begin
-- check directory
-- file size
if webutil_file.file_exists(dir ||'\' ||i_file) then
return true;
end if;
return false;
end;
procedure download(i_dref integer, i_file varchar2) is
file varchar2(50);
dlin_id integer;
l_success boolean;
begin
if not right_file (i_dref ,i_file ) then
select file_name,dlin.id
into file, dlin_id
from sms_document_links dlin
,sms_document_references dref
where dref.id = i_dref
and dref.dlin_id = dlin.id
l_success := webutil_file_transfer.DB_To_Client
( dir ||'\'|| file,
'SMS_DOCUMENT_LINKS',
'DOCUMENT_IMAGE',
'id = '||dlin_id);
end if;
end download;
procedure open_image (i_dref integer,i_file varchar2) is
begin
local_path;
local_viewer;
if I_file is not null then
file := i_file;
else
select file_name into file
from sms_document_references
where id = i_dref
end if;
download(i_dref, file);
if not webutil_host.ID_NULL(active_process) then
close_previous_image_process;
end if;
image_dir_file := dir ||'\'|| file;
process := webutil_host.nonblocking (image_viewer || image_dir_file);
if webutil_host.ID_NULL(active_process) then
active_process := process;
end if;
if webutil_host.equals(process,active_process) then
null;
else
close_previous_image_process;
active_process := process;
end if;
viewer_active := true;
end;--oh ho.
Dear user,
this is not code factory/design factory/bla bla bla.
this area for guide peoples where you are? what is way right to reach your target/goal. whatever in you words...
from your post and also procedures, you are from forms background. am also came from ORacle froms 10g background try to understand. and implement it adf.
back to topic:
Target Unreachable, identifier 'viewImage' resolved to null Error .i just am giving the steps to igonre your error
simple go to your taskflow - go to overview section - go to managed beans. configured you which you created bean say as x.java
if you create following code can be seen in source
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="xx-V-TF">
<default-activity id="__1">xxV</default-activity>
<managed-bean id="__2">
<managed-bean-name id="__4">SUP1040V</managed-bean-name>
<managed-bean-class id="__5">com.x.x.view.xBeans.xxV</managed-bean-class>
<managed-bean-scope id="__3">backingBean</managed-bean-scope>
</managed-bean>
<view id="xV">
<page>/ReportsPageFragments/xxV.jsff</page>
</view>
<use-page-fragments/>
</task-flow-definition>
</adfc-config> -
Client_host('D:\ipconfig.bat');
Hi dear All
Hope that you all will be at the best of your health and knowlege...
i am facing a problem while running the oracle forms on the web... i want to execute a .bat file through Client_Host command...
while i run the form locally and use the HOST command . it works ...
but when i run it through server and use Client_host ... it does not work..
kindly help me out to solve this problem... Please
i will be very thankfull to you....
My .bat file :
@echo off
echo ipconfig /all
dir d:\test_ip
Pause
I want to show all info. when ipconfig/ all...but its doesnt show.
I take a button on that button , i wriete code
host('D:\ipconfig.bat');Two things; first, your batch file has to exist on the client in order to execute it on the client. Rather than install the batch file on each client, you could test if the file exists and if not, then transfer the batch file to the client and then execute it.
Second, your post states you are using *"host('D:\ipconfig.bat'):"* but yet you say you are using the WebUtil Client_Host procedure. Your code sample doesn't match your statement. ;) Are you using Client_HOST and if so, did you configure WebUtil on your Application Server? Also, as spilgrim asked, are you getting any errors in the Java Console?
As spilgrim pointed out, in order to use CLIENT_HOST, you must have configured your application server to use the WebUtil Library. Also, typical Host calls will execute and terminate. If you want the Host call to keep the Host session active, I recommend you use the following:
Client_Host('cmd /k d:\ipconfig.bat');Again, assuming that the D:\ipconfig.bat exists on each client computer. The */k* parameter to the CMD.exe program instructs CMD to remain active; where the */c* instructs the CMD.exe program to execute and then terminate. Google CMD.exe or open a CMD window and type CMD /? to see more information on the CMD.exe parameters.
A suggestion, you might want to consider changing your batch file so it writes the output to a text file. Then read the text file into your form and present the data to your user in the Form rather than in the command window. This is a much cleaner presentation and it enables you to perform a little error checking. If the output file doesn't exist, you can display a message to your user to indiate the command failed.
Change your batch file as follows:@echo off
ipconfig /all > d:\test_ip\your_file.txtThen change your code to:
DECLARE
b_file_exists BOOLEAN := FALSE;
ft_handle Client_Text_IO.FILE_TYPE;
CRLF CONSTANT VARCHAR2(15) := CHR(13)||CHR(10);
v_line VARCHAR2(1000);
BEGIN
Client_Host('cmd.exe /c ipconfig.bat');
b_file_exists := WebUtil_File.File_Exists('D:\test_ip\ipconfig_output.txt');
IF ( b_file_exits ) THEN
--Read the contents of the file and display in the multi-line text_item.
ft_handle := Client_Text_IO.FOpen('D:\test_ip\ipconfig_output.txt','R');
LOOP
BEGIN
--Read Line from File
Client_Text_IO.Get_Line(ft_handle, v_line);
:YOUR_BLOCK.YOUR_ITEM := v_line||CRLF;
EXCEPTION WHEN NO_DATA_FOUND THEN
EXIT;
END;
END LOOP;
ELSE
MESSAGE('Command failed - File doesn''t exits');
Message(' ');
END IF;
END;Note: This is just sample code, it has not been tested. You will need to modify the code to suit your needs.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
I am using webutil function WEBUTIL_FILE.FILE_EXISTS function to check the existence of the file. The problem is if there is no file in the specified path the application throws an exception defined as WHEN OTHERS . As the WHEN OTHERS is so generic, I need to capture the exact webutil exception if no file exist.
Please suggest.
Thanks in advance.I have a WHEN OTHERS EXCEPTION clause in the block in which the webutil fucntion is called. If the file is not present then the WHEN OTHERS EXCEPTION is raised
DECLARE
a boolean :=NULL;
BEGIN
a:=webutil_file.file_exists('FILE PATH');
EXCEPTION
WHEN OTHERS THEN
show_alert('ALWAYS THIS ERROR SHOWN')
END;
I am always getting 'ALWAYS THIS ERROR SHOWN' message and the application terminates. I want to trap the exact exception and the application should proceed further.
Any ideas are welcome. Thanks in advance. -
WEBUTIL_FILE.FILE_SELECTION_DIALOG
Hi,
Forms 10gR2
Client XP with IE
Webutil 1.0.6
I've got a problem with the function WEBUTIL_FILE.FILE_SELECTION_DIALOG : even if I specify a start directory like this :
v_file := webutil_file.file_selection_dialog (directory_name=>'c:\tmp', title=>'Open file');
the dialog box shows "My documents" files and not "c:\tmp" files.
Obviously, I've got the same problem with :
- FILE_OPEN_DIALOG
- FILE_SAVE_DIALOG
- CLIENT_GET_FILE_NAMEHello,
Quick and probably dumb answer : have you tested with the standard parameter passing ?
File_Selection_Dialog
'c:\tmp',
NULL,
'Title'
) ;Francois -
Hi experts ,
I am using the method 'cl_gui_frontend_services=>file_exist' to check whether a file exists in frontend machine or not. This method works fine and gives corerct result when i keep the file on desktop and provide the path of the files as parameter to the program but it is unable to check the existance of the same file if kept in C drive under folder program files e.g.(C:/Program files/Documware/Barcode.exe). Is this a limitation of the method or is due to some restriction/access permitions at system level that files could not be read from program files in C drive . kinldy provide your useful inputs if any one faced same issue and what is the solution for this problem .
Regards
PriyankALL FUNCTION 'DX_FILE_EXISTENCE_CHECK'
EXPORTING
filename = file
pc = 'X'
* SERVER =
IMPORTING
file_exists = file_exist
IF NOT ( sy-subrc = 0 and file_exist = 'X' )
MESSAGE 'the input file does not exist.' TYPE 'E'.
ENDIF. -
CL_GUI_FRONTEND_SERVICES= FILE_EXIST
Hi experts,
See the following method.
Here what value i have to give for RECEIVING RESULT It is a type group.
How to declare a type-group?
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
EXPORTING
FILE = m_filename
RECEIVING
RESULT =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
WRONG_PARAMETER = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks in Advancetype-pools: abap.
<b>data: v_reult type ABAP_BOOL.</b>
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
EXPORTING
FILE = m_filename
RECEIVING
<b>RESULT = v_result</b>
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
WRONG_PARAMETER = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Ravi -
Webutil_file.copy_file slow in copying files
Hi All,
I've read about this problem previously and I'm finally suffering from it myself.
It took between 5 and 10 minutes to copy a 500k file between two network drives connected to my client. How slow is it going to be for the 100Mb files we will want to copy?
Has anyone found a solution? IS the only speedy alternative to use client_host and the copy command? I was hoping that the webutil_file.copy_file was a more elegant solution to the file copying process!!!
TIA
TonyHello Tony,
That would be fine if I wanted to transfer from the AS to the client.
But I want to transfer between two network drives on the client,
these drives are not visible to the AS at the moment.My understanding is that the functions are executed on the client and therefor the network drives have to be visible to the client and not to the AS.
But currently i'm working in the OC4J and my server and client are the same.
So it is not really tested.
Is the AS to client copy much faster than the copy_file on the client?
Why would that be? Is it access to network drives on the client that is slow?Yes it is faster. The procedures use different implementations. Files don't get divided in chunks when webutil_file_transfer.AS_to_Client is used.
Bernd -
Webutil_file.create_directory & client_host
HI,
*1.*
I want to create directories & files in my C:\tmp, but I want try to run from my form.
For example, I have a form. In my form, have a button 'Create File'. When I click that button, it will create a folder/file in my C:\tmp, not in AS. My OS pc is Win XP, AS is Unix, Oracle Forms [32 Bit] Version 9.0.2.12.2 (Production).
Is it possible to do that? Or it totally impossible? I've tried using client_host, host, & webutil_file.create_directory, but all failed.
When I use client_host & webutil_file.create_directory, error during compile.
identifier 'client_host' must be declared.
identifier webutil_file.create_directory' must be declared.
Or am I forgot something about the settings?
I know that:
HOST is executed on the App Server
CLIENT_HOST Is executed on the client
but I really don't know the concept how & where to apply. I'm really new to all these things.
*2.*
Lastly, my question: Is it allow me to create folder in AS? That means I need access privilege/rights to create,edit,delete files/folders or not ? Because when I try to create folder in AS using host command, it failed.
Is this problem related to rights on AS? The error appeared was +302000: non-ORACLE exception.+
Can anyone help or clarify to me?
Thanks,
Luthfi
Edited by: Luthfi on Sep 28, 2011 8:38 PM
Edited by: Luthfi on Sep 28, 2011 8:44 PM
Edited by: Luthfi on Sep 29, 2011 2:27 AM
Edited by: Luthfi on Sep 29, 2011 2:32 AM
Edited by: Luthfi on Sep 29, 2011 2:34 AMfor creating the files at the client side you have to use the
CLIENT_HOST('c:\windows\system32\cmd.exe /k "mkdir c:\temp\aa"');
the above command will create a directory in the c:\temp\aa
you have to configure the AS for pirvilleges for the creating of directories... -
Hi,
i am using WebUtil with Oracle Developer 10g(9.0.4)
i have got the problem
oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
all configuration is very good ( formsweb.cfg, wenutill.pll...)
but i have got this problem
I am create a new form in C:\webutil_106 and webutil.olb and
webutil.pll in the same direction C:\webutil_106.
in FORMS_PATH IN REGISTARY
Code: [Select all] [Show/ hide]
( C:\webutil_106 )
in default.env
Code: [Select all] [Show/ hide]
( FORMS90_PATH=C:\Dev10g_old\forms90;C:\Dev10g_old\forms90\webutil; C:\webutil_106
WEBUTIL_CONFIG=C:\Dev10g_old\forms90\server\webutil.cfg
CLASSPATH= C:\Dev10g_old\forms90\java\jacob.jar;
C:\Dev10g_old\forms90\java\frmwebutil.jar;
C:\Dev10g_old\forms90\java\f90all.jar;
C:\Dev10g_old\jdk\jre\lib\rt.jar
in formsweb.cfg
Code: [Select all] [Show/ hide]
( archive_jini=f90all_jinit.jar;frmwebutil.jar;jacob.jar
archive=f90all.jar
and end of files
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=f90all_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
in webutil.cfg
Code: [Select all] [Show/ hide]
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
and I am using The URL:
Code: [Select all] [Show/ hide]
http://<LOCALHOST>:8889/forms90/f90servlet?CONFIG=WEBUTIL
I am creating the webutil user and grant dba and execute
the create_webutil_db.sql successfullyHi,
i am using WebUtil with Oracle Developer 10g(9.0.4)
i have got the problem
oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
all configuration is very good ( formsweb.cfg, wenutill.pll...)
but i have got this problem
I am create a new form in C:\webutil_106 and webutil.olb and
webutil.pll in the same direction C:\webutil_106.
in FORMS_PATH IN REGISTARY
Code: [Select all] [Show/ hide]
( C:\webutil_106 )
in default.env
Code: [Select all] [Show/ hide]
( FORMS90_PATH=C:\Dev10g_old\forms90;C:\Dev10g_old\forms90\webutil; C:\webutil_106
WEBUTIL_CONFIG=C:\Dev10g_old\forms90\server\webutil.cfg
CLASSPATH= C:\Dev10g_old\forms90\java\jacob.jar;
C:\Dev10g_old\forms90\java\frmwebutil.jar;
C:\Dev10g_old\forms90\java\f90all.jar;
C:\Dev10g_old\jdk\jre\lib\rt.jar
in formsweb.cfg
Code: [Select all] [Show/ hide]
( archive_jini=f90all_jinit.jar;frmwebutil.jar;jacob.jar
archive=f90all.jar
and end of files
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=f90all_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
in webutil.cfg
Code: [Select all] [Show/ hide]
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
and I am using The URL:
Code: [Select all] [Show/ hide]
http://<LOCALHOST>:8889/forms90/f90servlet?CONFIG=WEBUTIL
I am creating the webutil user and grant dba and execute
the create_webutil_db.sql successfully -
WebUtil_File Function Typo
The defined function "webutil_file.get_file_separator" is actually misspelled in the software. To use it, you have to misspell it as "webutil_file.get_file_seperator". Will this be corrected in future versions?
Tis simply the Olde English spelling, however, yes this (and a couple of other typos that I will leave you to discover) has been corrected
-
Hi guys,
I have updated my AS and DS to 10.1.2.3 and downloaded Wbutil 1.6 update 10.
I configured all the .cfg files as mentioned in the documentation when I launch a test form with config=webutil and a webutil functionality in it then i am getting following error -
oracle.forms.webutil.file.FileFunctions bean not found.
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
Java console shows following -
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/file/FileFunctions.class
java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/host/Host.class
java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
Caused by: java.io.IOException: open HTTP connection failed:http://abhamare-2k.cybage.com:7778/forms/java/oracle/forms/webutil/session/SessionFunctions.class
and so on..
Some how my java console too has stopped showing up after mistakingly clicked Hide Console.
So can any one help me to get out of this error.
Its sort of driving me crazy.
Thanks in advance.
Av.Hi Av, Can you let me know what you did to fix this issue? We are facing a serious issue with the same error and we can't get around it.
Thanks
Sam.
Maybe you are looking for
-
Client scope in blaze ??
Hi all, we're integrating blazeds in a portlet environment for use with vine toolkit ( vinetoolkit.org ) grid framework. We have some issues on that - especially with scoping. We know that there are request, session and application scopes. We're wond
-
Opening humantask in BPM WorkSpace with double click runs 2 instances
Hello BPM experts, I have this standard scenario: User opens a task by double clicking on a task row in BPM Workspace task list. Then the task is opened both in popup and in the worspace window (below the task list table). My question is how can I ma
-
Cannot find or invalidate its owning entity.
hi when i click my createinsert am geting this error cannot find or invalidate its owning entity. am in jdeveloper 11.1.1.6.0 my log error is <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Detail entity UamOrganisationUser w
-
Enterprise Asset Management (EAM) Integration with FI/CO
Hi, Enterprise Asset Management (EAM) integration with FI/CO Configuration process tell me any one. Regards, Surendra.
-
I'M TRYING TO CONVERT MY APPLICATION INTO A DEMO VERSION WITH ALL THE EXE FILES AND DBASE TABLES, BUT I'M STUCK. CAN ANYONE HELP?