Solved

Problem after Subclass webutil object

Posted on 2006-06-21
3
2,156 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

705 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

17 Experts available now in Live!

Get 1:1 Help Now