|
|
Re: signing jar files [message #168127 is a reply to message #168102] |
Tue, 18 April 2006 23:13 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
Sir,
i try my best to search any file with text containing 'webutil2' in oreder to find alias. i failed. again, 'tnsnames.ora' doesn't contain this alias.
plz help in removing alias 'webutil2'.
thank u 2 much
-hidayat
|
|
|
OLE problem [message #168142 is a reply to message #167987] |
Wed, 19 April 2006 00:51 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
sir,
kindly look into 2 consecutive screen shots in the attachment.
my problem is
1-some bean area dont work due unavailability of desired javabean (image 1)
2-to solve the problem1, i assume to import desired java classes from 'program->import java classes' from Form' menue, but it also gives error.
to tell u, earlier i signed jacob.jar file, but due to mistake in oracle ducumentation, the path mentioned for jacob.jar is 'oracle_home/forms/webutil' intead of 'oracle_home/forms/java'. i signed in wrong directory, then again re-signed in java directory, but with error.
i m confused where should i go?
plz b my firend
Regards
-Hidayat
|
|
|
|
|
Re: OLE problem [message #169656 is a reply to message #168149] |
Fri, 28 April 2006 00:24 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
jars (frmwebutil+jacob) have been sgned with same digital signature successfully but the problem didnot solve.
for problem, please look into the attachment 'OLEfunction.jpg' in my previous post within this thread.
thank u
hidayat
|
|
|
|
Re: OLE problem [message #170256 is a reply to message #169941] |
Tue, 02 May 2006 23:06 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
yes, i cleaned alias by using java tools (keytools,jarsigner). i erased keystore file and placed new unsigned jars. again, i verified signed jars.
i want to ask, wether all jar files located in forms/java have to be signed or only these two (frmwebutil+jacob)?
My whole problem is the 'Olefunction.jpg' in this thread.
the error is "Exception occurred: java.lang.NoClassDefFoundError: com/jacob/com/ComException"
i looked onto the downloaded jacob. it contains many sourec codes including the desired class.i.e. ComException, located in com/jacob/com. but the problem is where sholud i place these codes along the folder/subfolder. As per Oralce concerns, it tells only two files (jacob).jar and .dll and nothing say about other jacob data.
Regards
-Hidayat
|
|
|
|
|
|
Re: OLE problem [message #171310 is a reply to message #168142] |
Tue, 09 May 2006 06:48 |
gacki
Messages: 33 Registered: May 2006 Location: Dueren, NRW, Germany
|
Member |
|
|
Let's take it step by step:
You can ignore the error message shown in your OLEFunction.jpg file. The WEBUTIL_CANVAS is just a container for the webutil java stuff, there is normally no need to modify it.
Thus there is no need to import anything about OLEFunction.
Next step is to check settings in formsweb.cfg:
baseHTMLjinitiator=webutiljini.htm
webutilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
Copy webutiljini.htm to /ORACLE_HOME/forms90/server
Give it a try and let us know.
Gerald
|
|
|
Re: OLE problem [message #171499 is a reply to message #171310] |
Wed, 10 May 2006 04:42 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
(thank u helping me)
My aim is to upload/download files among client machines, application and database servers.
& Problem here is, CLIENT_OLE2.CREATE_OBJ('Word.Application') doesn't work.
i took the following all steps (included those u asked)
1-Installed windows server 2003
2-Installed Developer Suite 10 (10.1.2.0.2)
3-Downloaded Jacob_18.zip. which contained jacob.dll (92 KB) and jacob.jar (17 KB)
4-Copied jacob.dll into <oracle_home>/forms/webutil, and jacob.jar into <oracle_home>/forms/java directories
5-Through command prompt, issued
E:/DS10G1P2/jdk/bin>keytool -genkey -dname "CN=Product Management, OU=Development Tools, O=Oracle, C=US" -alias webutil2 -keypass webutil2 -keystore C:/Temp/3keystore -storepass webutilpasswd -validity 360
E:/DS10G1P2/jdk/bin>jarsigner -keystore c:/temp/3keystore -storepass webutilpasswd -keypass webutil2 E:/DS10G1P2/forms/java/frmwebutil.jar webutil2
E:/DS10G1P2/jdk/bin>jarsigner -keystore c:/temp/3keystore -storepass webutilpasswd -keypass webutil2 E:/DS10G1P2/forms/java/jacob.jar webutil2
(Jacob.jar became 19 KB)
6-Verified both jars (by issuing: E:/DS10G1P2/jdk/bin>jarsigner -verify E:/DS10G1P2/forms/java/jacob.jar.. result was 'jar verified')
7-Developer Suite comes with Webutil. So, major parameters have been already configured.
8-formsweb.cfg had the following entries
[webutil]
WebUtilArchive=forms/java/frmwebutil.jar,/forms/java/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
9-Included path to default.env
E:\DS10G1P2\forms\java\jacob.jar
E:\DS10G1P2\forms\java\frmwebutil.jar
10- Compiled frmwebutil.pll in /forms directory
11-configured database schema, by creating package, and granting the schema, object privillages of 'SYS'
if something wrong with the above settings, please write to me
would it not be better to use Developer Suite 9?
waiting for reply
Regards
-Hidayat
|
|
|
Re: OLE problem [message #171514 is a reply to message #171499] |
Wed, 10 May 2006 05:20 |
gacki
Messages: 33 Registered: May 2006 Location: Dueren, NRW, Germany
|
Member |
|
|
That looks good at first sight. Now, how do you run your form? The URL must contain the "config=webutil" parameter.
Can you post or attach the content of the java console?
Gerald
|
|
|
Re: OLE problem [message #171665 is a reply to message #171514] |
Wed, 10 May 2006 23:23 |
hidayatk
Messages: 25 Registered: November 2005
|
Junior Member |
|
|
1-'default.env' contains WEBUTIL_CONFIG=E:\DS10G1P2\forms\server\webutil.cfg
2- i didn't understand the last question. how can i add contents of java console?
3-Earlier, i thought, jacob didn't work. but i downloaded a webutil demo. this demo failed at all. i think there's problem in configurations.
plz keep n touch
-Hidayat
[Updated on: Wed, 10 May 2006 23:31] Report message to a moderator
|
|
|
|
|
|
|