Home » Developer & Programmer » Forms » working with 2 config files
working with 2 config files [message #299797] Wed, 13 February 2008 04:10 Go to next message
ShaShalini
Messages: 59
Registered: January 2007
Member
Hi
My formsweb.cfg looks like that

[webutil]
WebUtilArchive=frmwebutil.jar,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

[cms]
separateFrame=true
lookAndFeel=oracle
baseHTML=base.htm
baseHTMLjinitiator=cmsbasejini.htm
baseHTMLjpi=basejpi.htm
envFile=cms.env
archive_jini=frmall_jinit.jar,mainicons.jar,JScriptWindowPJC.jar,calendar.jar,fr
mwebutil.jar
archive=frmall.jar
form=LOGIN.fmx

My problem is that when user specifies config=cms then he cannot access forms which are using webutil. But when user specifies config=webutil it works fine.

But our requirement is that user logs in system with config=cms.
Is there a way that users can get to both the configurations. I mean to say if we specify config=cms , at the same time user do get webutil configuration also.

Thanks
Re: working with 2 config files [message #299799 is a reply to message #299797] Wed, 13 February 2008 04:17 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
hi,

could you just modify your config file like the following and try:

[cms]
separateFrame=true
lookAndFeel=oracle
baseHTML=base.htm
baseHTMLjinitiator=cmsbasejini.htm
baseHTMLjpi=basejpi.htm
envFile=cms.env
archive_jini=frmall_jinit.jar,mainicons.jar,JScriptWindowPJC.jar,calendar.jar,frmwebutil.jar
archive=frmall.jar
form=LOGIN.fmx
webUtilArchive=/forms/webutil/frmwebutil.jar


Minto
Re: working with 2 config files [message #299808 is a reply to message #299797] Wed, 13 February 2008 04:48 Go to previous messageGo to next message
ShaShalini
Messages: 59
Registered: January 2007
Member
I have modified the formsweb.cfg . I commented the webutil part but its not working .

#[webutil]
#WebUtilArchive=frmwebutil.jar,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

[cms]
separateFrame=true
lookAndFeel=oracle
baseHTML=base.htm
baseHTMLjinitiator=cmsbasejini.htm
baseHTMLjpi=basejpi.htm
envFile=cms.env
archive_jini=frmall_jinit.jar,mainicons.jar,JScriptWindowPJC.jar,calendar.jar,fr
mwebutil.jar
archive=frmall.jar
form=LOGIN.fmx
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384

Re: working with 2 config files [message #299821 is a reply to message #299808] Wed, 13 February 2008 05:30 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
hi,

i think the webutil config is also needed for the working of webutil functions.

please try with the following config:

[webutil]
WebUtilArchive=frmwebutil.jar,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

[cms]
separateFrame=true
lookAndFeel=oracle
baseHTML=base.htm
baseHTMLjinitiator=cmsbasejini.htm
baseHTMLjpi=basejpi.htm
envFile=cms.env
archive_jini=frmall_jinit.jar,mainicons.jar,JScriptWindowPJC.jar,calendar.jar,jacob.jar,webutil.jar
archive=frmall.jar
form=LOGIN.fmx
webUtilArchive=/forms/webutil/webutil.jar


Also check whether the webutil.jar file is present in the [oracle_home]\forms\webutil folder

Minto
Re: working with 2 config files [message #299829 is a reply to message #299797] Wed, 13 February 2008 05:54 Go to previous message
ShaShalini
Messages: 59
Registered: January 2007
Member
Thanks

It worked

Previous Topic: OCX PDF Control Problem
Next Topic: execute BATCH file through forms
Goto Forum:
  


Current Time: Thu Dec 08 00:19:10 CST 2016

Total time taken to generate the page: 0.11403 seconds