Error WUC-14 after CLIENT_TEXT_IO.FOPEN
Hi,
the error WUC-14 occurs during open a file with forms10g.
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
During debugging the error occurs in the function GETPROPERTY (Webutil).
the error occurs only sometimes.
Can anybody help me to solve the problem ?
best regards,
Alexandra Schermann
Sounds like an Oracle Forms question... there is a dedicated forum for Forms. Maybe answer your question there.
Forms
Edited by: Alex Nuijten on Oct 27, 2009 11:08 AM
Similar Messages
-
Error WUC-14 after open a File with CLIENT_TEXT_IO.FOPEN (Oracle 10g)
Hi,
the error WUC-14 occurs during open a file with forms10g.
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
During debugging the error occurs in the function GETPROPERTY (Webutil).
the error occurs only sometimes.
Can anybody help me to solve the problem ?
best regards,
Alexandra SchermannHi Alexandra,
You can catch the exception in Exceptions part and close the file. Something like,
DECLARE
F_VersandZahlen CLIENT_TEXT_IO.FILE_TYPE;
BEGIN
F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
<do your processing>
EXCEPTION
WHEN OTHERS THEN
CLIENT_TEXT_IO.FCLOSE(F_VersandZahlen);
END;-Arun -
Client_Text_IO and errors WUC-12, WUC-14
I have some pretty basic code as shown below. I just want to pull records from a cursor and output them to a .xls file. However, when I run this code, after 10 seconds or so I get the following errors:
WUC-14 [getFromObjectCache] Object Cache Error: Specified object handle -1 not found in the cache
WUC-14 [getFromObjectCache] Object Cache Error: Specified object handle -1 not found in the cache
WUC-12 [FileFunctions.putf()] Object Cache Error: Object is not the expected BufferedWriter type
The cursor is fine, this code worked fine in the past (6i) until we recently tried upgrading to the web and changed Text_IO to Client_Text_IO. The output should be 3 columns of data and about 25,000 rows. However, since I added the Client_Text_IO's I only get around 6000 rows of data before I get the errors. Also, it seems like I'm getting the last 6000 rows, the first 19,000 rows of data and the header row never get written to the file. Has anyone seen these errors before? Is there any kind of timeout setting in the config files I need to worry about? Note that all our other webutil stuff and Client_Text_IO's work fine.
-- Code --
file_handle := Client_Text_IO.FOpen( file_name, 'w' );
Client_Text_IO.PutF( file_handle,'%s \n', 'Header Text' );
for one_rec in data_cursor loop
-- the columns are tab seperated
Client_Text_IO.PutF( file_handle, '%s \n', one_rec.Item_Name || ' ' || one_rec.Item_Number || ' ' || one_rec.Test_Name );
end loop;
Client_Text_IO.FClose( file_handle );Sure, here is the code. Since I posted before, I tried a few other reports we have that output over 200k of data... when I did, some of the other reports gave me the same error message.
procedure Gen_Test_Rpt is
cursor data_cursor is
select cd.item_name, cd.item_number, cd.test_name
from compact_data cd
order by cd.item_name;
file_handle Client_Text_IO.File_Type;
File_Name varchar2(1000) := 'c:\test_report.xls';
-- there are tabs between "Item Name" and "Item #" and "Item #" and "Test Name"
Header varchar2(400) := 'Item Name Item # Test Name';
begin
file_handle := Client_Text_IO.FOpen( File_Name, 'w' );
Client_Text_IO.PutF( file_handle,'%s \n', Header );
for one_rec in data_cursor loop
-- tab seperated
Client_Text_IO.PutF( file_handle,'%s \n', one_rec.item_name || ' ' || to_char(one_rec.item_number) || ' ' || one_rec.test_name );
end loop;
Client_Text_IO.FClose( file_handle );
end; -
CLIENT_TEXT_IO.fopen will not work Error
I keep getting the following -
WebUtil Error: oracle.forms.webutil.file.FileFunctions bean not found. CLIENT_TEXT_IO.fopen will not work.
Nothing I have found on any forum threads has helped me resolve this issue. I believe it has to do w/ configuration. The error occurs in my Development Suite environment I have set up on my laptop. The webutil set up on the Application Server seems to be fine.
I've checked both default.env and formsweb.cfg and both seem to be set correctly. I have the webutil.pll attached to the forms and the webutil.olb in the object library.
I'm using WebUtil 1.0.6 on Oracle 10g (9.0.4).
If anyone has any guidance on this issue, your help is appreciated.The error isn't obvious. The Java Console outputs the following. I went through the webutil docs again and still didn't get the issue resolved. Can you help?
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\localadmin
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\localadmin\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
Loading http://server.domain.com:8889/forms90/java/f90all_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
ORA-302000 Error On client_text_io.fopen()
i am using a webutil library - client_text_io.fopen() on the form that was compiled on 10.1.2.3 version and this webutil_file.file_selection_dialog() built-in package. the webutil_file.file_selection_dialog() works but not the client_text_io.fopen(). when the form is run on the application server it is getting this error ORA-302000.
PROCEDURE prc_load_proj_alloc_data IS
vFilename VARCHAR2(100) := :control.drv_filename;
vInputFile client_text_io.FILE_TYPE;
vLinebuf VARCHAR2(2000);
vCommaPosition NUMBER := 0;
TYPE array_type IS VARRAY(10) OF VARCHAR2(100);
vColumn array_type := array_type('');
vCtr BINARY_INTEGER := 1;
vRowCtr number := 0;
vLineLoadCnt number := 0;
begin
-- cursor must be placed on the block
go_block('MRC_PROJ_ALLOC_INTERFACE');
go_item('MRC_PROJ_ALLOC_INTERFACE.ATTRIBUTE1');
--extend and initialize the array to 9 columns
vColumn.EXTEND(9,1);
-- open the file for reading
begin
vInputFile := client_text_io.fopen(vFilename,'r');
exception
when others then
alertme('note','SQLCODE '||SQLCODE);
if SQLCODE = -302000 then
alertme('note',errtyp||'-'||TO_CHAR(errnum)||': '||errtxt);
loop
alertme('note',TO_CHAR(TOOL_ERR.CODE) || ': ' || TOOL_ERR.MESSAGE);
TOOL_ERR.POP;
exit when TOOL_ERR.NERRORS = 0;
end loop;
end if;
end;
end;
the file that i am trying to read is in csv format and is not currently in use. i tried any other file from my local C:\ or D:\ drive and i am getting the same error. what could possiblly that i am missing? thanks.we figured it out that the cause of issue was that the webutil.plx was on our application executable directory. basically we have the webutil.plx on a common directory applicable to other application and when we removed the webutil.plx on our application directory the ORA-302000 error was solved.
-
Client_text_io.fopen causes java.lang.NullPointerException
Hi all
I have the following very simple snippet of code:
declare
f client_text_io.file_type;
begin
f := client_text_io.fopen('C:\test.txt', 'r');
end;
If "C:\Test.txt" does NOT exist on the client, Webutil correctly pops up and complains "Can't open file" etc. But... when the file actually exists and is ready to be opened for read, the following exception is thrown in the console, and nothing happens:
java.lang.NullPointerException: charsetName
at java.io.InputStreamReader.<init>(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.fopen(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.getProperty(Unknown Source)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2006-feb-23 10:36:18.653 ERROR>WUC-15 [FileFunctions.fopen()] Uventet fejl, undtagelse: java.lang.NullPointerException: charsetName
I have no idea, what goes wrong here.... can anyone help? I use Sun JPI 1.5 on the client.
Thanks in advance.Hi all
I have forms 9.0.4.6 and Webutil 1.0.6
When I use client_text_io.fopen like this:
declare
f client_text_io.file_type;
begin
f := client_text_io.fopen('C:\test.txt', 'r');
end;
I get an error:
ERROR>WUC-15 [FileFunctions.fopen()] Unexpected error, Exception: java.lang.NullPointerException
java.lang.NullPointerException
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
at oracle.forms.webutil.file.FileFunctions.fopen(FileFunctions.java:413)
at oracle.forms.webutil.file.FileFunctions.getProperty(FileFunctions.java:188)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Could anybody help me? I really need to use this. -
How to use Linux Print queue in client_text_io.fopen to print from Windows
We have a forms application deploed on LINUX (Oracle application server 10g).
I have to print a file from local windows PC to a linux Print Queue from forms
I have the following code
PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
,i_network_printer IN VARCHAR2) IS
l_line VARCHAR2(2000);
l_fileid_output client_text_io.file_type;
l_fileid_print client_text_io.file_type;
BEGIN
l_fileid_output := client_text_io.fopen (i_filename_output,'R');
l_fileid_print := client_text_io.fopen (i_network_printer,'W');
WHILE 1 = 1 LOOP
client_text_io.get_line (l_fileid_output, l_line);
client_text_io.put_line (l_fileid_print, l_line);
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
client_text_io.fclose (l_fileid_output);
client_text_io.fclose (l_fileid_print);
END file_to_printer;
Everything works fine if I use a windows printer like \\machine\printer.
I want to use a Linux printer and specified the print queue as
\\machine\print_queue_name. It's not working
and I get error ORA-302000 on the following line
l_fileid_print := client_text_io.fopen (i_network_printer,'W');
and if I give only the queue name no error but it's not printing.
Could you please tell me how to use a Linux/Unix print queue in this situationthe simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
run per print job where stdin has your print data, and stdout is going to your print device. You can just
send the output to a file instead (assuming you can create a file in the windows directory from the solaris
box). If it's a network share, you could use smbclient.
-r -
Hello All,
I am using Client_Ole2 function in my form.
When Button pressed is giving the following stated issue.
I have been successful with the open dialog box functionality with client_get_filename
Since I am using OLE2 for my Windows applications
it is giving the following unresolved issues.
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/webutil.jar from JAR cache
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/jacob.jar; from JAR cache
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/rolloverbutton.jar from JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
2003-Oct-13 10:25:40.234 ERROR>WUC-23 [URLDownload.pullFile()] System library download failed due to incorrect install.syslib.location virtual directory definition in webutil.cfg
2003-Oct-13 10:25:40.359 ERROR>WUC-23 [URLDownload.pullFile()] System library download failed due to incorrect install.syslib.location virtual directory definition in webutil.cfg
2003-Oct-13 10:25:40.406 ERROR>WUC-23 [URLDownload.pullFile()] System library download failed due to incorrect install.syslib.location virtual directory definition in webutil.cfg
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: C:\Program Files\Oracle\JInitiator 1.3.1.9\bin\jacob.dll: %1 is not a valid Win32 application
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java)
at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:513)
at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:218)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Please help...
Regards,
Kapil UppalAndrew,
I have got Jacob.dll in the forms90/Java which I have set in my configurations file.
Now after implementing ur suggestions WUC-20 error is what I am getting now.
Please look at the understated issues
Oracle JInitiator: Version 1.3.1.8
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\cwi1050.WIPRO
Proxy Configuration: Manual Configuration
Proxy: blrproxy.wipro.co.in:80
Proxy Overrides: *.wipro.co.in,<local>
JAR cache enabled
Location: C:\Documents and Settings\cwi1050.WIPRO\Oracle Jar Cache
Maximum size: unlimited
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/webutil.jar from JAR cache
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/jacob.jar; from JAR cache
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://wi-3-3a.wipro.co.in:8888/forms90/java/rolloverbutton.jar from JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
2003-Oct-13 14:48:48.710 ERROR>WUC-20 [URLDownload.pullFile()] The stated size of the source file http://wi-3-3a.wipro.co.in:8888/forms90/D:\orahome\forms90\java/jacob.dll does not match that of the downloaded file C:\PROGRA~1\Oracle\JINITI~1.9\bin\jacob.dll
2003-Oct-13 14:48:48.757 ERROR>WUC-20 [URLDownload.pullFile()] The stated size of the source file http://wi-3-3a.wipro.co.in:8888/forms90/D:\orahome\forms90\java/JNIsharedstubs.dll does not match that of the downloaded file C:\PROGRA~1\Oracle\JINITI~1.9\bin\JNIsharedstubs.dll
2003-Oct-13 14:48:48.820 ERROR>WUC-20 [URLDownload.pullFile()] The stated size of the source file http://wi-3-3a.wipro.co.in:8888/forms90/D:\orahome\forms90\java/d2kwut60.dll does not match that of the downloaded file C:\PROGRA~1\Oracle\JINITI~1.9\bin\d2kwut60.dll
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: C:\Program Files\Oracle\JInitiator 1.3.1.9\bin\jacob.dll: %1 is not a valid Win32 application
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java)
at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:513)
at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:218)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
What shall be the case now.
I have J Initiator 1.3.1.8 with 1.3.1.9 Java runtime.
Please revert,
Kapil Uppal -
Webutil - client_text_io.fopen
Hi!
I have a problem. My database charset is EE8ISO8859P2 (SELECT * FROM v$nls_parameters) and I use AS for 10g. I also installed webutil 1.0.6 and I call function client_text_io.fopen(p_file,'W','WINDOWS-1250'); When I write to file I use client_text_io.put_line(p_file,p_text). This file I write to is xml file.
In variable p_text are letters like č, , (Slovenian language), but when I look at the file I created there are no letters I mentioned above. Instead of č is blank, instead of is a, etc.
What should I do? I would like to solve this problem, without writing to AS (text_io) and then use transfer to client.
Does anyone have solution for this problem. It's very urgent.
Thanks.
BojanI'm just curious here as to why you should get this error at all. How come the upload directory does not exist. The only way I can see this happening is if you allow the end users to say where they want to upload to which is very dangerous. In any case, if the upload location may not exist then you might be wise to write some PL/SQL to check this before you even attempt the upload. A Simple Text_io call to write a test file in the directory in question will check that you a) Have the directory and b) can write to it.
-
ERROR WUC-24 [URLDownload.pullFile()]
I am working on Oracle Application server 10g (9.0.4). I configured webutil for OLE functinality (to create excel). I am running the test form provided to test the webutil. It works fine but the folliowing error come in the java console when form loads
2009-Jul-08 21:08:30.421 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/jacob.dll
2009-Jul-08 21:08:30.453 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/JNIsharedstubs.dll
2009-Jul-08 21:08:30.484 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/d2kwut60.dll
It does not end here. When i click on the ole tab in the form and try to create the word file it throws exception:
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: no jacob in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)
at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:398)
at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:189)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Please help me out.ok that was the mistake i was making in the path, i was using:
AliasMatch ^/forms/webutil/(..*) c:\ora10gAS/forms90/webutil/$1" instead
AliasMatch ^/forms90/webutil/(..*) c:\ora10gAS/forms90/webutil/$1"
My XML file is
<virtual-directory virtual-path="/webutil" real-path="c:\forms10g/forms90/webutil" />
Now both these directories 'c:\ora10gAS/forms90/webutil' and 'c:\forms10g/forms90/webutil' contain only three things:
d2kwut60.dll
jacob.dll
JNIsharedstubs.dll
but you know what, it still showing the same error. My first thaught after changing 'forms' to 'forms90' was that i finally got the root cause of the error but then the console really made me angry when i saw the same error again. Here what console says:
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\waqas.arshad
Proxy Configuration: Manual Configuration
Proxy: 192.168.100.16:8080
Proxy Overrides: 192.168.100.41,<local>
JAR cache enabled
Location: C:\Documents and Settings\waqas.arshad\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://ecs-master:7778/forms90/java/frmwebutil.jar from JAR cache
Loading http://ecs-master:7778/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 1.0.6
Loading http://ecs-master:7778/forms90/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
2009-Jul-10 14:30:53.343 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/jacob.dll
2009-Jul-10 14:30:53.375 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/JNIsharedstubs.dll
2009-Jul-10 14:30:53.406 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/d2kwut60.dll -
FRM-92101 client_Text_IO.Fopen Urgent
FRM-92101 client_Text_IO.Fopen
Posted: Sep 22, 2006 1:25 AM Reply
Hello
Following OAS was installed:
· Oracle Application Server 10g Release 1 (9.0.4.0.0)
· Oracle Application Server Patchset 3 for OAS 9.0.4, therefore the actual
I have a problem
when I try to start my application who create a text file on the client site my application crash. client_Text_IO.Fopen (webutil)
This is the code line where the application crash.
l_out_file := client_Text_IO.Fopen(fname, 'W');
Thanks in advance for your help.
Best regards
Sébastien
The Oracle Error is FRM-92101
La version Forms Applet est : 9.0.4.3
oracle.forms.net.ConnectionException: Forms session <448> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(Unknown Source)
at oracle.forms.engine.Message.readDetails(Unknown Source)
at oracle.forms.engine.Message.readDetails(Unknown Source)
at oracle.forms.net.StreamMessageReader.run(Unknown Source)Are you sure you have properly installed and configured webutil?
-
I configured my WebUtil Demo and now it has a problem. When I run the forms shows me an error WUC-5: No WebUtil Configuration File specified.
Where can I configure this?Hi,
you have to configure,
webutil.cfg and formsweb.cfg
In formsweb.cfg,
Please change,
basehtmljpi =C:\Webutil\webutil_105\server\webutiljpi.htm
basehtml = C:\Webutil\webutil_105server\webutilbase.htm
basehtmljinitiatior=c:\webutil\server\webutiljini.htm
workingDirectory= C:\Webutil\webutil_105\server
Please add,
[webutil]
buffer_records=NO
debug_messages=YES
array=YES
query_only=NO
quiet=NO
RENDER=YES
# Config parameters for Webutil
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
Additional Steps needed.
1) Downloaded http://danadler.com/jacob/jacobBin_17.zip.
This archive supplies the core OLE functionality provided by WebUtil
2) Extracted in C:\Webutil\webutil_105\lib
3) Change in
C:\Webutil\webutil_105\util\signer.properties
JDK_HOME=C:\Orant10g\jdk
4) Go to command window
go to C:\Webutil\webutil_105\util\
give makecert and sign
5) go to C:\Webutil\webutil_105\util\
and give
sign C:\Webutil\webutil_105\lib\webutil.jar
sign C:\Webutil\webutil_105\lib\jacob.jar
-- configuring hTTP SERVER FOR WEBUTIL
--chnnged in
1)orion-web.xml
create a directory webutil under
j2ee\Devsuites\application-deployment\forms\forms90web\webutil
-- under,
j2ee\Devsuites\application-deployment\forms\forms90web\orion-web.xml
add,
<virtual-directory virtual-path="/webutil" real-path="C:\Webutil\webutil_105\lib" />
2) HAVE TO ADD in FORMS90.config (done)
################## Virtual path for webutil #############
AliasMatch ^/forms90/webutil/(..*) "C:\Webutil/webutil_105/lib/$1"
II) In forms,
1) we have to replace all
text_io with client_text_io
get_file_name with client_get_file_name
host with Client_host
2) Have to create Attachedlibraries by attaching webutil.dll
3) copy webutil.olb under object groups.
http://
<domain:portnumber>/forms90/f90servlet?config=webutil&form=C:\AMEX\UOB_PIFRM_webutil.fmx&userid=ccgro/ccgro@phoenix
These are as per my settings. Please change it according to your settings. -
So I had the stock 320gb drive that came with my machine. It started crashing, so I pre-empted the loss of data and installed a spare Western Digital 500gb Scorpio Blue drive, installed Mavericks, and restored my data. Almost immediately I began having sporadic issues with the machine being unable to write to the disk, giving me "error code -50" after being on for about a day or so. I usually just restart and it will work for another day or so, but this is getting very tedious, and I'm a bit worried it might be straining the machine, since I can only hard restart (holding power button) when this happens. Usually, right after restarting, I repair the disk permissions, and this seems to fix things.
Is this maybe a bad OS install? Maybe I should back up and try it all again? Or is there a software issue I'm not seeing a solution for anywhere? Most people who are getting the "error code -50" messages seem to be getting them on external drives. Is it just a compatibility issue and I need to seek a new drive?Thank you for the tips!
OGELTHORPE wrote:
I would check to see if the WD HDD has its own Sudden Motion Sensor. If so, it may be coming in conflict with the one in the Mac. If that is the case, I suggest disabling the SMS in the Mac.
WD5000BEVT does indeed have it's own protection:
ShockGuard™ - Leading-edge ShockGuard technology combines firmware and hardware advancements to protect the drive mechanics and platter surface to meet the highest combined shock tolerance specifications required for mobile and notebook applications.
Source: http://www.wdc.com/en/company/pressroom/releases/?release=3cd471a1-66be-46ba-9f6 7-e15298b0f8a0
Even though I read about it I had not touched any SMS settings in OS X since I did not have any problems before. I disabled SMS in Mac, let's see now.
Melophage wrote:
this could be indicative of a faulty internal SATA cable. /.../
Reteep,
you could try the same thing as well.
In my case I doubt it is the problem because it worked fine before Mavericks, although forcing restart may have done something. I hope disabling SMS helped. -
Error 150:30 after restoring CS4 from Time Machine backup
I just got myself a new Imac with OS X Maverick and set it up using a time-machine-backup. My Adobe CS4 now has a Problem with the license and shows me error: 150:30?
Do I need to uninstall CS4 and reinstall? Is there any easier solution to this problem?
Thank you anyone for some help.
chrisThanks a lot for your help......everything back to normal after reeinstallation.
chris
Am 29.09.2014 um 23:28 schrieb John Waller <[email protected]>:
Error 150:30 after restoring CS4 from Time Machine backup
created by John Waller in Adobe Creative Cloud - View the full discussion
Do I need to uninstall CS4 and reinstall?
Unfortunately yes.
Also run the Cleaner Tool prior to reinstalling
Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
Restoring from Time Machine backups invariably breaks the activation mechanism (Error 150:30) and there's no easy way to fix a 150:30 error other than via re-installing.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6775090#6775090
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Creative Cloud by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
I can't burn a cd of my own created music. I either get the error 4261, or after "Checking media" the process stops and nothing further happens. Have tried different burn speeds and cds. Have re-installed iTunes.Any suggestions please?
wm0203Sounds like the CD drive died. Luckily they cost next to nothing to replace. Or get an external LaCie instead. I have a dual G4 1.25 and the CD drive was always so anemic I use a LaCie Porsche with it.
Maybe you are looking for
-
Error in configuration of Sales BAPI
Hi Experts, I am using the BAPI BAPI_SLSTRANSACT_CREATEMULTI to create a quotation with configured material. The quotation was created successfully, but with only the header material ( there are no sub-configurations present(the BOM is not exploding)
-
Why do I lose my desktop picture on external (2nd) monitor after going to sleep?
Sometimes, (not always) my 2nd monitor will not have a background picture - only gray - after waking up from sleep mode. Even going to System Prefs and selecting different picture, it will only stay gray. All other items that I drag to it or that wer
-
Why do screenshot borders get cropped when they're imported?
Hi, FrameMaker 10 Windows 7, images created in SnagIt 10 and then SnagIt 8. Hi, First of all thank you for your great help, especially Van Kurtz! Now I have another problem. When I take a screenshot, I put a border around it in SnagIt. I import the i
-
I have had my video ipod for about a month now and i just bought some software to convert dvds to ipod format. It worked, but when i was watching the dvd, my ipod froze. I clicked menu and put it to sleep. I then turned it back on and clicked on now
-
i have a delay ( sound and 2 sec then it appears on screen) in all my notification on my iphone 5?