Jacob.jar Help/Webutil Error
We are not using any OLE object in forms.But after implementation on WEBUTIL the browser starts giving below error:
java.lang.NoClassDefFoundError:com/jacob/com/ComFailException
Can anyone help ?
Is jacob.jar is required to download even if we don't need it.
Thanks
Mandeep Singh
Yes, it seems from Jacob zip file jacob.jar is also needed to be extracted into the web util (lib) directory.
Please review Oracle Metaink: com/jacob/com/ComFailException When Deploying Form With Webutil: Doc ID: Note:247007.1
Hope it would be helpful.
Adith
Similar Messages
-
Jacob.jar Help/Webutil Error-Urgent Help Needed
We are not using any OLE object in forms.But after implementation on WEBUTIL the browser starts giving below error:
java.lang.NoClassDefFoundError:com/jacob/com/ComFailException
Can anyone help ?
Is jacob.jar is required to download even if we don't need it.
Thanks
Mandeep SinghThanks for quick response.
But my question is do we need to config jacob lib even we dn't need it.I am asking this because with this release of WEBUTIL,jacob is a seperate lic. product and its not a part of WEBUTIL pack.
Thanks -
Jacob.jar and Webutil.jar singing problem(URGENT)
I read the instructions 'Configuring the webutil' and I found that there is not a reference in the file 'signer.properties' which is referenced in the on-line help of Forms Developer (step 4).
The problem is that when i try to sign the 2 jar files 'frmwebutil , jacob'
using this command
E:\oracle\ora92\forms90\WEBUTIL>SIGN_WEBUTIL.BAT e:\oracle\ora92\forms90\java\jacob.jar
after this command a essage appears:
Genrating self signing certificate for key=webutil2...
Keytool error :java .lang.execption:key pair not genrated ,alias <webutil2> already exists
there were wanings or error while genrating a self singing certifciate . please review them.
backing up e:\oracle\ora92\forms90\java\jacob.jar as e:\oracle\ora92\forms90\java\jacob.jar.old
1 file(s) copied..
singing e:\oracle\ora92\forms90\java\jacob.jar using key=webutil12...
'jarsigner' is not recognized as an internal or external command.
Is there a chance that the cause of this problem is that there is not the file 'signer.properties'?
What can I do ?
AND WHAT THE NEXT STEP AFTER THIS....
INDUUpdate the sign_webutil.bat to add the full path before the jarsigner line
Here is the files I use:
makecert.bat:
for /F "eol=# tokens=1,2* delims==" %%i in (signer.properties) do set %%i=%%j
"%JDK_HOME%\bin\keytool" -genkey -dname "cn=%DN_CN%, ou=%DN_OU%, o=%DN_O%, c=%DN_C%" -alias %JAR_KEY% -keypass %JAR_KEY_PASSWORD% -keystore "%JINIT_HOME%\lib\security\keystore" -storepass jinitiator -validity 360
@echo Certificate created...
sign.bat:
for /F "eol=# tokens=1,2* delims==" %%i in (signer.properties) do set %%i=%%j
copy /Y %1 %1.unsigned
@echo on
"%JDK_HOME%\bin\jarsigner" -keystore "%JINIT_HOME%\lib\security\keystore" -storepass jinitiator -keypass %JAR_KEY_PASSWORD% %1 %JAR_KEY%
@echo Signing complete...
Francois -
Jacob.dll and jacob.jar have no size.
Hi. I downloaded jacobBin_17.zip to sign webutil.jar and jacob.jar. When i extract jacob.dll and jacob.jar to Webutil/Lib directory, I see the they both have 0 KB in size. The jacobBin_17.zip I downloaded is 175 KB in size. Is ths the correct size?, and if so, what's wrong?
the size of jacobBin_17.zip is correct (175KB) and When i extract jacob.dll and jacob.jar to Webutil/Lib directory the sizes are jacob.dll(92.0 KB (94,208 bytes)) and jacob.jar (16.1 KB (16,554 bytes)).
Try to unzipped the zip file again. it's maybe a windows error....it's strange
good luck -
Webutil.jar and jacob.jar in same archive ?
Hi,
When a user connects for the first time to a webutil configured Forms application, 2 popups show up and ask to accept the X509 certificate (because webutil.jar and jacob.jar are signed).
Our customer wants to know if it's possible to show only one popup (to reduce enduser hassle).
How can we do it ?
Is it possible to package webutil and jacob in the same single archive, sign this archive and so have only one popup ?? Any other ideas ?
RegardsIt's not impossible to find a solution, but then you are miles away from any support from the oracle hotline.
Don't do that
Gerd
PS: Are your users inhouse. Is it possible, that you deploy the jar's via a Software Management System? That may help in this case -
Error when i try to sign .jar for webutil
i have try to use signwebutil.bat in webutil 1.0.6 but i have the follow error_
Generating a self signing certificate for key=webutil2...*
Errore keytool: java.lang.Exception: Non è stata generata la coppia di chiavi, l'alias <webutil2> è già esistente*
+.+
There were warnings or errors while generating a self signing certificate. Please review them.*
+.+
Backing up d:\w\jacob.jar as d:\w\jacob.jar.old...*
+1 file copiati.+
Signing d:\w\jacob.jar using key=webutil2...*
+.+
There were warnings or errors while signing the jar. Please review them.*
Generating a self signing certificate for key=webutil2...*
Errore keytool: java.lang.Exception: Non è stata generata la coppia di chiavi, l'alias <webutil2> è già esistente*
+.+
There were warnings or errors while generating a self signing certificate. Please review them.*
+.+
Backing up d:\w\frmwebutil.jar as d:\w\frmwebutil.jar.old...*
+1 file copiati.+
Signing d:\w\frmwebutil.jar using key=webutil2...*
+.+
There were warnings or errors while signing the jar. Please review them.*Maybe you could try to change the values in your sign_webutil.bat file:
REM Give your alias key here.
REM
SET JAR_KEY=webutil3
REM
REM Key Password for the given key to be used for signing.
REM
SET JAR_KEY_PASSWORD=webutil3
REM
REM Number of days before this certificate expires
REM
SET VALIDDAYS=360
Francois -
Error in Jacob.jar register - alias webutil2 already exists
Hi,
I am getting the following error when I try to register the jacob.jar, Before also I did try to register the jacob.jar,
but I am not sure that time it registered successfully, Because I was getting the following error, When I try to run the Web Util sample form to write to the client side Word file using CLIENT_OLE, so again I did
try to register the jacob.jar
Error copied from Java Console
<<
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
at java.security.AccessControlContext.checkPermission(Unknown Source)
>>
Steps I did to Sign Jacob.jar
D:\DevSuiteHome_2\forms\webutil>sign_webutil D:\DevSuiteHome_2\forms\java\jacob.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up D:\DevSuiteHome_2\forms\java\jacob.jar as D:\DevSuiteHome_2\forms\java\jacob.jar.old...
1 file(s) copied.
Signing D:\DevSuiteHome_2\forms\java\jacob.jar using key=webutil2...
jarsigner: attempt to rename D:\DevSuiteHome_2\forms\java\jacob.jar to D:\DevSuiteHome_2\forms\java\
jacob.jar.orig failed
There were warnings or errors while signing the jar. Please review them.
D:\DevSuiteHome_2\forms\webutil>jarsigner -verify D:\DevSuiteHome_2\forms\java\frmwebutil.jar
jar verified.
Warning: This jar contains entries whose signer certificate has expired. Re-run with the -verbose an
d -certs options for more details.
D:\DevSuiteHome_2\forms\webutil>jarsigner -verify D:\DevSuiteHome_2\forms\java\jacob.jar
jar is unsigned. (signatures missing or not parsable)
Thanks in advance
RizlyDid you change the variables in your sign_webutil.bat file?
Because this batch file creates you a new keystore with information about your company etc.
Maybe you should take a look at the batch file.
The Java Error in the console indicates that the jar file didn't get signed right btw... -
Help On Error WUC-015 of WebUtil
Hi,
We try to convert form6I to form9I and use the WebUtil but we are having trouble of how to configure the WebUtil. We all follow the "WebUtil Familiarization Manual" to configure the WebUtil but none of us got it works. One of my co-worker told by the Metalink people she needs to sign the jar file before she can use the WebUtil but that is no mention at all on the above manual. The Metalink people refused to help me!!
Can you show me where can I get documents with more details on
1, What steps have to go through in order to use the WebUtil.
2, How to set up the Alias and Virtual directory in the configure files (more detail examples).Please read the documentation that comes with webutil. There is a README file which says:
"Signing the jars
The webutil.jar supplied in the zip file is already signed one. In case one would like to resign it using the utility supplied, it can be done using the following steps.
Signing the jar is a one-time operation until we make any further change to the jar file.
There are one or two steps to get webutil configured but we have had thousands of people downloading and using webutil, you just need to make sure yuo follow the instructions closely.
Once you have signed the JAR files please try again (also check out the webutil FAQ on otn) and let us know if you have any problems then.
I hope that helps
Regards
Grant Ronald
Forms Product Management -
Webutil seems dont work without jacob.jar which is not included in webutil_102.zip !
What is the reason ?Hi Bernhard,
I wanted to use Jacob.jar for generating word documents using JSP. My word document should be generated dynamically using JSP .
It should be possible to create tables,headers,footers,draw lines in the word document.
Can i use jacob.jar.Where can i download ?
if this does not support all the above features,
is there any other opensource library which can be used to solve the same above said purpose.....
pls reply soon...
Thanks in advance.....
Sujatha
[email protected],
[email protected] -
Error while signing jacob.jar in FMW 11g
Hi,
after setting the PATH like:
set PATH=C:\Programme\ORACLE11g\Oracle\Middleware\PFRD11g\jdk\bin;%PATH%
while signing the jacob.jar file for the first time after installing 11g Forms in Windows the following error occurs:
C:\Dokumente und Einstellungen\bten>C:\Programme\ORACLE11g\Oracle\Middleware\ins
tances\FRinst\bin\sign_webutil.bat C:\Programme\ORACLE11g\Oracle\Middleware\PFRD
11g\forms\java\jacob.jar
Generating a self signing certificate for key=webutil2...
Keytool-Fehler: java.lang.RuntimeException: Verwendungsfehler: 360 ist kein g³lt
iger Befehl.
There were warnings or errors while generating a self signing certificate. Pleas
e review them.
Backing up C:\Programme\ORACLE11g\Oracle\Middleware\PFRD11g\forms\java\jacob.jar
as C:\Programme\ORACLE11g\Oracle\Middleware\PFRD11g\forms\java\jacob.jar.old...
1 Datei(en) kopiert.
Signing C:\Programme\ORACLE11g\Oracle\Middleware\PFRD11g\forms\java\jacob.jar us
ing key=webutil2...
jarsigner error: java.lang.RuntimeException: keystore load: C:\Dokumente und Ein
stellungen\bten\.keystore (Das System kann die angegebene Datei nicht finden)
There were warnings or errors while signing the jar. Please review them.
C:\Dokumente und Einstellungen\bten>
What is the reason, and how can I solve this?
Thanks BeaPerhaps you are using old WLST code (used for OSB 10g), with OSB 11g.
The ALSBConfigurationMBean (com.bea.wli.sb.management.configuration.ALSBConfigurationMBean) Interface in the com.bea.wli.sb.management.configuration package in the Oracle Fusion Middleware Java API Reference for Oracle Service Bus includes example code illustrating how to import and export Oracle Service Bus 11g configurations, how to change environment values, how to query resources, and so on. Please find it here -
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/toc.htm
Regards,
Anuj -
Error when testing java -jar whitelist.jar -help
I found an error when executing this commande
C:\oracle-javacloud-sdk\lib>java -jar whitelist.jar -help
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/cloud/
scanning/cli/ScannerMain (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
what can be the origine of this error
ThanksTry using JDK 1.7 - (version 51.0) as I have no problem running with 1.7.0_21
/michael -
Webutil error "unable to communicate with runtime process."
Hi,
Yesterday I configured webutil with Developer 10g (9.0.4).
I used webutil_106.zip and jacob_18.zip.
I succesfully deploy a form that display the selection file dialog with the function:
CLIENT_GET_FILE_NAME
Today I tried to test again the form, and I got an error when the form is opening, I review the log and I find "unable to communicate with runtime process.".....
I didn't change any configuration... what I'm doing wrong..... It just work great yesterday!!!!
I tried signing again the jacob.jar and frmwebutil.jar files..... However I still have the error.......
Any help is welcome....
The error in the log:
09/03/25 10:57:45 Started
09/03/25 10:57:55 forms90web: jsp: init
09/03/25 10:57:55 forms90web: f90servlet: init
09/03/25 10:57:55 forms90web: FormsServlet init():
configFileName: c:\dev10g/forms90/server/formsweb.cfg
testMode: false
09/03/25 10:57:55 forms90web: 9.0.4.0.0 Started
09/03/25 10:57:56 forms90web: l90servlet: init
09/03/25 10:57:56 forms90web: ListenerServlet init()
09/03/25 10:58:02 forms90web: Forms session <1> aborted: unable to communicate with runtime process.
09/03/25 10:58:02 forms90web: Forms session <1> exception stack trace:
java.io.IOException: FRM-93000: Unexpected internal error.
Details : No HTTP headers received from runform
at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
09/03/25 11:00:58 forms90web: l90servlet: destroy
09/03/25 11:00:58 forms90web: 9.0.4.0.0 Stopped
09/03/25 11:00:58 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost))
Edited by: Santiago on 25/03/2009 11:23 AMI Find the way, It's OK now.
When I use the webutil.olb in a form. I chose "Subclass", It's necessary to choose "Copy". -
Dear All,
i am facing a problem of running webutil functions. I have compiled my webutil.pll and then attach to my form and then i copy the webtuil.olb objects into my
form and i created one button on my form to show the calculator the code is as follows
Note: i have webutil.cfg in my classpath of default.env file and i signed both webtuil.jar and jacob.jar successfully but still i am facing error.
e.g;
when-button-press
webutil_host.host('calc.exe');
error: oracle.forms.webutil.host HOST bean not found.
WEBUTIL_HOST.execute will not work.
Thanks.
Immediate help will be appreciated....Hi,
Have you entered the webutil values in the formsweb.cfg file?
e.g. WebUtilConfig=<somewhere>\WebUtil\server\webutil.cfg
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilErrorMode=Alert
WebUtilConfig=<somewhere>\WebUtil\server\webutil.cfg
baseHTMLjinitiator=<somewhere>\WebUtil\server\webutiljini.htm
baseHTMLjpi=<somewhere>\WebUtil\server\webutiljpi.htm
baseHTML=<somewhere>\WebUtil\server\webutilbase.htm
Hopefully this may help you.
L :-) -
WUT-125 Webutil Error happens occasionally....
Hello,
We are currently running OAS 10g (10.1.2) ti deliver a web-based Forms application to our users (some are onsite and some off-site).
We use the WEBUTIL file transfer function CLIENT_TO_AS_WITH_PROGRESS to allow the users to upload their work (they are illustrators) tot he server, to be added to their image library.
Occasionally, and almost always offsite and therefore outside our firewall, we get the following error (please note I have replaced the URL value for anonymity):
Loading http://URL/forms/java/frmwebutil.jar from JAR cache
Loading http://URL/forms/java/frmall_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.3
Loading http://URL/forms/java/caps_icons.jar from JAR cache
Loading http://URL/forms/java/progressbar.jar from JAR cache
Loading http://URL/forms/java/calendar.jar from JAR cache
Loading http://URL/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.3
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)+
+2010-Apr-21 12:24:25.712 ERROR>WUT-125 [WEBUTIL_FILE_TRANSFER.UploadInt] Checksum error closing application server file /data/Live/Graphics_In/gz/GRAPHIC_FILE.cgm. Expected size 1328778. Transferred size 0+
As said, it is a sporadic problem but then seems to persist for certain files.
I should also note that the directory /data is actually a linked folder on the UNIX box pointing to an area on a Windows file server.
This process works more often than not but around 5% are getting this error and thus stopping certain users being able to complete their work...
We've tried to trap this error via the WEBUTIL error log but the errors are not being logged there.
Very odd and head scratching time, thus... help?
Cheers
Danhi
u have to sign jars something like this.
o C:\cd <Developer Home>\jdk\bin
o C:\<Developer Home>\jdk\bin>
<Developer Home>\forms90\webutil\sign_webutil.bat
<Developer Home>\forms90\java\frmwebutil.jarand also u have to modify Default.env. something like this.
In a new line under (FORMS90_PATH=) add this line:
o WEBUTIL_CONFIG=<Developer Home>\forms90\server\webutil.cfg
when i signed the jars so i got the result something like this in java folder.
jacob.jar.old
hope it helps u.
sarah -
hi every one
while i configured my webutil (specially when i assign sign_webutil for frmwebutil.jar and jacob.jar)
i got this message
C:\ordv\forms\webutil>sign_webutil.bat C:\ordv\forms\java\frmwebutil.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
eady exists
There were warnings or errors while generating a self signing certificate. Pleas
e review them.
Backing up C:\ordv\forms\java\frmwebutil.jar as C:\ordv\forms\java\frmwebutil.ja
r.old...
1 file(s) copied.
Signing C:\ordv\forms\java\frmwebutil.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
and this message for the jacob.jar
C:\ordv\forms\webutil>sign_webutil.bat C:\ordv\forms\webutil\jacob.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
eady exists
There were warnings or errors while generating a self signing certificate. Pleas
e review them.
Backing up C:\ordv\forms\webutil\jacob.jar as C:\ordv\forms\webutil\jacob.jar.ol
d...
1 file(s) copied.
Signing C:\ordv\forms\webutil\jacob.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
can u gays pls help me
thanking u in advancehi
the problem is in u r configuration please follow the following instuctions and try to configure webutil.what is u r form version?
Please Read it properly
How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running, using WebUtil 1.06.
Note: OraHome is used as an alias for your real oDS ORACLE_HOME.
Feel free to copy this note to a text editor, and do a global find/replace on
OraHome with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
2) Copy or move jacob.jar and jacob.dll
JacobStage is the folder where you extracted Jacob, and will end in ...\jacob_18
cd JacobStage
copy jacob.jar OraHome\forms\java\.
copy jacob.dll OraHome\forms\webutil\.
The Jacob staging area is no longer needed, and may be deleted.
3) Sign frmwebutil.jar and jacob.jar
Open a DOS command prompt.
Add OraHome\jdk\bin to the PATH:
set PATH=OraHome\jdk\bin;%PATH%
Sign the files, and check the output for success:
OraHome\forms\webutil\sign_webutil OraHome\forms\java\frmwebutil.jar
OraHome\forms\webutil\sign_webutil OraHome\forms\java\jacob.jar
4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is recommended
for no reason other than consistency over the user base.
Open OraHome\forms\create_webutil_db.sql in a text editor, and delete or comment
out the EXIT statement, to be able to see whether the objects were created witout
errors.
Start SQL*Plus as SYSTEM, and issue:
CREATE USER webutil IDENTIFIED BY password
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/password@connectstring
@OraHome\forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
Reconnect as SYSTEM, and issue:
grant execute on webutil_db to public;
5) Modify OraHome\forms\server\default.env, and append OraHome\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
It is important to generate the PLX, to avoid the FRM-40039 discussed in
Note 303682.1
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
8) Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Add an ON-LOGON trigger with the code
NULL;
to avoid having to connect to an RDBMS (optional).
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
10) Run your form.If its Correct/Helpful please mark it thanks.
Sarah
Maybe you are looking for
-
Hi, Does anyone know how I can fix my ipod. I forgot to eject the ipod from the itunes menu and just unplugged the USB cable. Now I have an error on the screen and it says "connected eject before connecting" and now I can not get rid of it. It even h
-
Why is Bridge CS6 not opening images in PS CS6?
Recently, Bridge has stopped opening pictures in Photoshop CS6. Each time I try the screen signals that Photoshop has to close down. However, I can open the pictures in ACR 7.4, but again, those images will not open in Photoshop. If I use the Mini Br
-
Door Video App video direct to a 9900 phone
Has anyone setup a live video feed direct to an IP phone from a door intercom. I was thinking if there was a way to have a live video feed from a video encoder to direcly disply on the phone like VTA. Has anyone done somthing like this.
-
Two questions for iCal (iLife 11) running on OS X Lion
1. For a married couple, do I need to have two cards in order to list their birthdays 2. When in iCal, when I go to edit a card, no + signs show up to add another phone, email, address, etc. I did not have this problem under Snow Leopard and iLife 9.
-
Select project file (to open editor), Run Script - XCode Organizer
Hi, I'm new to AppleScript, but I'm trying to automate a number of login processes. I have most of my needs worked out, but there are still a couple of loose ends which will save me substantial time if I can get them running. I'm not finding document