oracle.forms.webutil.CApiFunctions bean not found. [message #217893] |
Tue, 06 February 2007 00:32 |
anil_mk
Messages: 146 Registered: August 2006 Location: Bangalore, India
|
Senior Member |
|
|
Hi all,
OS-->WinXP
Forms-->Forms 10g Release 2.
I have a form which calls dll file in which 'C' code is there, which retrieves the pdf file from database & that retrieved file(pdf) want to display, its displaying locally.
Here also i got the same problem, i saw in forum that we need to Concatenate
?Config=webutil to Application Server URL. Then it is working fine. And Here my Application Server URL was like this http://anilmk.spanservices.com:8890/forms/frmservlet @ that time giving the above error, when i changed the URL like this http://anilmk.spanservices.com:8890/forms/frmservlet?config=webutil, working fine locally.
But now we have a server in which we moved our all forms, reports & dll files but here once again i am getting same error But now the URL is like http://IP Address/forms/frmservlet?config=nnpm, here i changed to http://IP Address/forms/frmservlet?config=webutil then gave a error like
500 Internal Server Error
Forms Servlet Error.
Missing or invalid value for baseHTML parameter.
Please check the servlet configuration to make sure this value specifies a valid file.
Next i changed to http://IP Address/forms/frmservlet?config=nnpm/webutil, then it displayed some test.fmb which comes defaultly after installing the Forms 10g.
[ oracle.forms.webutil.CApiFunctions bean not found.
WEBUTIL_c_API.REGISTER_FUNCTION will not wotk ]
Are anyone know, please suggest me what should i do to work.
Thanks & Regards
Anil
[Updated on: Tue, 06 February 2007 00:36] Report message to a moderator
|
|
|
|
|
Re: oracle.forms.webutil.CApiFunctions bean not found. [message #218031 is a reply to message #217995] |
Tue, 06 February 2007 08:23 |
anil_mk
Messages: 146 Registered: August 2006 Location: Bangalore, India
|
Senior Member |
|
|
Hi david,
I don't think the problem could because of Operating System, as i said when i ran the form in address bar of explorer i saw http://anilmk.spanservices.com:8890/forms/frmservlet & gave the below error message
oracle.forms.webutil.CApiFunctions bean not found.
WEBUTIL_c_API.REGISTER_FUNCTION will not wotk
But when i changed in Forms Builder-->Preferences-->Runtime-->Application Server URL set by pressing the button Reset To Default to that address concatenated the string ( ?config=webutil) then the form worked locally i mean the form is able to use all the functions of WebUtil Package.
Now we moved all forms to Server(OS-->Windows Server 2003).
All the forms are working except the forms which are using the WebUtil functions and in address bar of explorer i am getting the address as
http://IP Address:Port/forms/frmservlet?config=some string(nnpm)
But the when i changed to
http://IP Address:Port/forms/frmservlet?config=webutil
Given an Internal Server Error 500
Then once again changed the address to
http://IP Address:Port/forms/frmservlet?config=nnpm||webutil
Then it called the Test.fmb which comes after installing the 10g
As compared with first locally there i didn't have any string after http://IP Address:Port/forms/frmservlet thats y i concatenated the ?config=webutil & i could able to call the webutil functions But in second(which has Remote Server) in that
address was http://IP Address:Port/forms/frmservlet?config=nnpm
Is there any way to attach string "webutil" to the below address
http://IP Address:Port/forms/frmservlet?config=nnpm
And here i tried
http://IP Address:Port/forms/frmservlet?config=nnpm/webutil,
http://IP Address:Port/forms/frmservlet?config=nnpm||'webutil'
None of these worked.
Please give me some suggestion to do, i will go through those & try.I am waiting for your response.
Thanks
Anil
[Updated on: Tue, 06 February 2007 08:25] Report message to a moderator
|
|
|
|
|
|
Re: oracle.forms.webutil.CApiFunctions bean not found. [message #218498 is a reply to message #218378] |
Thu, 08 February 2007 07:56 |
anil_mk
Messages: 146 Registered: August 2006 Location: Bangalore, India
|
Senior Member |
|
|
Hi David,
I tried the like below
http://IP Address:Port/forms/frmservlet?form=formname&config=webutil
Now its working fine.Here all the forms are reading from Server System.
But i have been strucked into another problem, here as similar to forms in my application i am using the function WebUtil_C_Api to invoke the .dll file which will exporting the pdf file into Local System, but i want it to be exported into the Server system. Is there any other way to do it.
Thanks
Anil
[Updated on: Thu, 08 February 2007 08:18] Report message to a moderator
|
|
|
|
|
|
Re: oracle.forms.webutil.CApiFunctions bean not found. [message #226698 is a reply to message #224897] |
Mon, 26 March 2007 04:14 |
anil_mk
Messages: 146 Registered: August 2006 Location: Bangalore, India
|
Senior Member |
|
|
Hi David,
The problem which i mentioned above, not yet been resolved.
==>Here the problem i am facing is, when i click on a btton(Edit File), which will retrieve the .pdf file from Database, for that purpose we are using WebUtil_C_Api(which will call .DLL file And the .Dll file had a codings to check the selected file in database if present copy corresponding .pdf file onto the the desktop)
But the .DLL file i kept in Application Server. Whenever, user who wants to see the attachments, the .DLL file should be read from Application Server only, why because the there might be so many users using the application and the user might connect to my application through any system. So i want to keep the .DLL file constantly in Application Server.
Do you have any solution or suggestion to rectify the above problem.
Regards
Anil MK
|
|
|
|
|
|
|
|