Solved

Problem after Subclass webutil object

Posted on 2006-06-21
3
2,166 Views
Last Modified: 2008-01-09
I am following a document to attack webutil (1.0.6) with forms 10g. I have completed all the steps successfully for configuration of webutil. But at the second last step which is as follows, I am stuck up.
 
   *  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.

Completed successfully ... Now author of document ask me to
   
   *  Attach the Webutil.pll Library, and remove the path.

What does it mean. Webutil.pll library is already attached. And which path should I remove. where it is?

Please, this is very urgent
0
Comment
Question by:annasad
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
jwahl earned 500 total points
ID: 16957683
if you try to attach a library you may get the message "attached library name contains a non-portable directory specification. remove path?". with the option "yes" this path will be removed.

try to remove webutil.pll from forms and attach it again to get the message above.

0
 
LVL 1

Author Comment

by:annasad
ID: 16958252
Hi jwahl

I attached webutil.pll library by following method

    *  Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T)

Library is attached successfully, but no any message dialog is appeared to remove the path. I have removed the webutil.pll and .plx files from forms90 and do the same procedure again but again no message dialog.

My OS is Windows XP professional service pack I
Database  : Oracle 9i
Developer : Oracle developer 10g
Webutil     : Webutil 1.0.6

I am describing complete procedure to install webutil, may be I am doing something wrong. Please guide me if I am on wrong

I know this will be very hactic but I am really in trouble. If somebody know the problem help me ....

    *  Download Jacob_18.zip and unzip the file
    *  Copy jacob.jar to [OraHome]\forms90\java\ and copy jacob.dll [OraHome]\forms\webutil\
    *  Add [OraHome]\jdk\bin to the PATH
    *  Sign frmwebutil.jar and jacob.jar
    *  Create user webutil and execute the script file "create_webutil_db.sql" after login to user webutil
    *  Create public synonym for webutil_db and connect to system user for granting execute on webutil_db to public
    *  Modify [OraHome]\forms90\server\default.env and append [OraHome]\jdk\jre\lib\rt.jar to the CLASSPATH entry
    *  Start OC4J instance
    *  Start Forms Builder and connect to webutil schema
    *  Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    *  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.

ABOVE MENTIONED STEPS ARE COMPLETED SUCCESSFULLY WITHOUT ANY ERROR OR WARNING

WHEN I TRY TO OPEN THE CANVAS PROVIDED BY WEBUTIL.OLB IT GIVES ME THE FOLLOWING ERROR

          FRM-13008: Cannot find javabean with name
          'oracle.forms.webutil.ClientInfo.GetClientInfo.'

          FRM-13008: Cannot find javabean with name
          'oracle.forms.webutil.file.fileFunctions.'

          FRM-13008: Cannot find javabean with name
          'oracle.forms.webutil.host.Host.'

AND LOT MANY OTHERS (ABOUT 9 OR 10) THEN IF I PROCEED

    *  Attach the Webutil.pll Library, and remove the path. (PROBLEMATIC STEP)

    *  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.

THIS CODE ALSO GIVE ME AN ERROR

    *  Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    *  Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if the "App 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
    *  Run your form.

DUE TO ERROR FORM IS NOT EXECUTED

Best regards





0
 
LVL 12

Assisted Solution

by:jwahl
jwahl earned 500 total points
ID: 16960163
try this:

* open form in form builder
* open node "attached libraries"
* delete library "webutil.pll"
* create library  --> browse for "webutil.pll"
* attach
* now you should get the message described above
* remove path? --> yes
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now