Webutil - jacob.jar
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]
Similar Messages
-
Problem with Form and webutil loading jar and connection
Can anyone shed light on this. Here is my java console output. I then get FRM-90250 and FRM-92101....
Orion-web.xml
<virtual-directory virtual-path="/webutil"
real-path="C:\webutil/lib" />
Forms90.conf
#Virtual path for WebUtil
AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
formsweb.cfg
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
[WEBFTU]
pageTitle=Creative Automation Services
form=c:\export\data\ca\prod\webftu.fmx
archive_jini=f90all_jinit.jar,rolloverbutton.jar,hyperlink.jar
archive_ie=f90all.cab
archive=f90all.jar
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
WebUtilLogging=off
#WebUtilLogging=Console
# WebUtilLoggingDetail=normal
WebUtilLoggingDetail=Detailed
WebUtilErrorMode=Alert
baseHTMLjinitiator=C:\webutil\server\webutiljini.htm
width=900
height=600
splashScreen=/forms90/images/splash.gif
background=/forms90/images/black.gif
logo=/forms90/images/blackborder.gif
lookAndFeel=Oracle
colorScheme=Titanium
otherparams=useSDI=yes
workingDirectory=c:\export\data\ca\prod
envFile=C:\webutil\server\webutil.env
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\msantry
User has overriden browser's proxy settings.
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\javaburps\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://clientapps.cauto.com/forms90/webutil/webutil.jar from JAR cache
Downloading http://clientapps.cauto.com/forms90/webutil/jacob.jar to JAR cache
Loading http://clientapps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://clientapps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
Loading http://clientapps.cauto.com/forms90/java/hyperlink.jar from JAR cache
connectMode=HTTP, native.
oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from 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.HTTPConnection.connect(Unknown Source)
at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
at oracle.forms.engine.Runform.initConnection(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)
Thanks,
Mary SantryThe error does not look like a webutil client side problem - it looks more like a server side issue - perhaps the runtime not being able to find the webutil.pll.
Check your FORMS90_PATH in the webutil.env file and make sure it's not too long (>255 chars) if it is split it and use ORACLE_PATH as well. -
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.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 SinghYes, 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 -
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 -
hi,
oracle forms provides signed jar-files (frmall.jar, jacob.jar,...).
is there a way to determine the certificate with which the particular jar-file was signed?
regards,
matthiashi
you will find a batch file inside in the webutil folder.
mkcrt something like this.
u can make certificate by using that batch file in command prompt.
sarah -
Problems with jacob.jar
Hello every one i need help
When i try to call this code
DECLARE
app CLIENT_OLE2.OBJ_TYPE;
docs CLIENT_OLE2.OBJ_TYPE;
doc CLIENT_OLE2.OBJ_TYPE;
selection CLIENT_OLE2.OBJ_TYPE;
args CLIENT_OLE2.LIST_TYPE;
BEGIN
-- create a new document
app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
CLIENT_OLE2.SET_PROPERTY(app,'Visible',0);
docs := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Documents');
doc := CLIENT_OLE2.INVOKE_OBJ(docs, 'add');
selection := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Selection');
-- insert data into new document from long item
CLIENT_OLE2.SET_PROPERTY(selection, 'Text', 'mis comentarios');
-- save document as example.doc
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 'C:\fich');
CLIENT_OLE2.INVOKE(doc, 'SaveAs', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
-- close example.doc
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(args, 0);
CLIENT_OLE2.INVOKE(doc, 'Close', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
CLIENT_OLE2.RELEASE_OBJ(selection);
CLIENT_OLE2.RELEASE_OBJ(doc);
CLIENT_OLE2.RELEASE_OBJ(docs);
-- exit MSWord
CLIENT_OLE2.INVOKE(app,'Quit');
exception
when others then
info(sqlcode||' '||sqlerrm);
END;
it give me this error
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkLink(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: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.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)
I have been reading de foro and i have read that i have to sign the jacob.jar but when i call this from de button
declare
a varchar2(500);
begin
a:=WEBUTIL_CLIENTINFO.Get_Date_Time;
end;
it works fine
so i am not sure what could hapend
could some one helpme plesa
many thanks in advanceI have been reading de foro and i have read that i have to sign the jacob.jar So , have you done this....??? It is very important...
Greetings -
It is possible don't usa JACOB:JAR ?'
I have read taht it is possible to don't use JACOB:JAR files.
Because i don't install webutil 1.0.6 on AS 10.1.2 (a lot of big problem, don't start applt with an error rtc etc ) i ask if it is possibile to don't use JACOB.JAR and this case how it is possible :
1) what kind of modify i must do in the files
2) must i signfrmwebuitl.jar also ??
Than'k for replay.1) You can download pictures from web. The only protocol supported by all devices is 'http'. Also, you may display images using png format only.
(http://wireless.java.sun.com/midp/samples/#nw)
2)To issue a app to run on your server, basically you have to make another app that is listening on the server, and when it gets a 'command' from your device, it will spawn a new process and run the desired app.
To do this, either use existing web server and create a php/jsp/asp script, or create a application by yourself based on a server socket listening on an arbitrary port, and having abilities to parse the http headers (that will come along with your device's request). -
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 -
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... -
Unsigned jacob.jar file causing forms loading slow
Dear All,
Oracle version : 10.1.2.0.2
OS: Windows 2003
Client IE version : IE 8
JRE version : JRE 1.6 update 21
JRE security setting : Mixed code (sandboxed vs. trusted) security verification - Disabled
We are getting the unsigned jar file error for jacob.jar, but it is running fine in many other places and giving unsigned jar file error for other jar files.
Loaded image: jar:http://192.168.100.88:7778/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
Trace level set to 5: all ... completed.
cache: Reading Signers from 0 http://192.168.100.88:7778/forms/java/jacob.jar | C:\Users\samm.AGS-STORE-005\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\48\dc408b0-3aabe349.idx
network: No certificate info for unsigned JAR file: http://192.168.100.88:7778/forms/java/jacob.jar
network: No certificate info for unsigned JAR file: http://192.168.100.88:7778/forms/java/jacob.jar
network: Connecting http://192.168.100.88:7778/forms/lservlet;jsessionid=c0a8645830d6885b096494a44406bb10e869f532355e.e38LbhmPbxyKci0La3qPa3iNa38Re6fznA5Pp7ftolbGmkTy with proxy=DIRECT
I have seen sites to sign the jar files, but is it possible to overcome this error without signing. Since this error is taking 10-20 secs more to load the form.
Please help.
Thanks and Regards,
Anand.HI,
You need to sign both frmwebutil.jar and jacob.jar first the clear JAR cache ion end-user computer,so that new signed JAR files are downloaded to end-user machines.. -
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 -
Sign jacob.jar In Oracle fusion
Hi,
Forms [32 Bit] Version 11.1.1.6.0 (Production)
I am trying to sign jacob.jar but i can't syntax error.
C:\Program Files\Java\jdk1.6.0_25\bin>C:\Oracle\Middleware\as_1\forms\templates\
scripts\sign_webutil.bat C:\Oracle\Middleware\as_1\forms\java\jacob.jar
regards,
Edited by: kingadmin on May 14, 2012 6:52 PM
Edited by: kingadmin on May 14, 2012 9:55 PMI am try to solve this problem :
Exception in thread "thread applet-oracle.forms.engine.Main-2" java.lang.NoClassDefFoundError: com/jacob/com/ComFailException
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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.jacob.com.ComFailException
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source) -
I'm trying to create a word document using jacob.jar but getting the following exception:
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: TypeText
Description: Type mismatch.
Exception Stack Trace:
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: TypeText
Description: Type mismatch.
at com.jacob.com.Dispatch.call(Dispatch.java)
Please help.Can you post your code where the exception is thrown? I guess you have created ActiveXComponent object without problems. And now you try calling some method of word through dispatch inteface of the object. It seems you pass wrong arguments to the word method.
Maybe you are looking for
-
BI Content of BI 7.0 ABAP Trail Version
Hi, I have installed the BI 7.0 ABAP Trail Version on my home computer and it works well, but when I tried to activate some Infocubes from the BI Content, I saw there is only one Infoarea 'Techical Content' in BI Content. Can any one tell me where is
-
How to use Jquery with dreamweaver?
I downloaded the Jquery directory and tried linking it with <script src="jquery-1.11.0.js"></script> but my jquery wont work. My Jquery looks like this. $(document).ready(function(){ $('.pull-me ').click(function(){ $('.panel'
-
hola tengo problemas con mi web cam no lo puedo encontrar en mis progrmas solo cuando uso propgramAS DE CHAT COMO EL SKYPE. This question was solved. View Solution.
-
IT0027 Costribution - More than 8 entries not allowed
Hi all, I have an issue with IT0027. We work on ECC 6.0 release 700. For infotype 27( Cost Distribution ) able to give only 8 entries in table control. I cannot add more than 8. Even the + and - buttons for table control are also on the Tool bar. I
-
how can i get my car to change the track when i am listening to the music on my phone through the line-in? is there a app i can download so it will recognize it? i have a vauxhal astra and the controls are on the steering wheel