2 Replies Latest reply on Apr 27, 2004 5:13 PM by 3133

    WebUtil newbie needs help

    3133
      this is my first attempt to use WebUtil functionality, and I am in a development environment with 9iDS
      loaded on my PC. i created a basic dummy form, compiled and executed successfully. as soon as i attach
      (no calls in form to webutil libraries or objects at this time), when i attempt to execute i receive the
      following message from Jinitiator Console:

      Oracle JInitiator: Version 1.3.1.9
      Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\cedmunds
      Proxy info..........
      JAR cache enabled
      Location: C:\Oracle Jar Cache
      Maximum size: 50 MB
      Compression level: 0

      Loading http://police1227:8888/forms90/webutil/webutil.jar;/forms90/webutil/jacob.jar from JAR cache
      Loading http://police1227:8888/forms90/java/f90all_jinit.jar from JAR cache
      RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
      connectMode=HTTP, native.
      Forms Applet version is : 90270
      java.lang.NoClassDefFoundError: com/jacob/com/ComFailException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at oracle.forms.handler.UICommon.instantiate(Unknown Source)
      at oracle.forms.handler.UICommon.onCreate(Unknown Source)
      at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
      at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
      at oracle.forms.engine.Runform.processMessage(Unknown Source)
      at oracle.forms.engine.Runform.processSet(Unknown Source)
      at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
      at oracle.forms.engine.Runform.onMessage(Unknown Source)
      at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
      at oracle.forms.engine.Runform.startRunform(Unknown Source)
      at oracle.forms.engine.Main.createRunform(Unknown Source)
      at oracle.forms.engine.Main.start(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      below are some excerpts from my configuration files.
      excerpt from D:\9iDS\j2ee\Oracle9iDS\application-deployments\forms\forms90web\orion-web.xml:
      <orion-web-app deployment-version="9.0.2.0.0"
      jsp-cache-directory="./persistence"
      temporary-directory="./temp"
      servlet-webdir="/servlet/">
      <context-param-mapping name="configFileName">D:\9iDS/forms90/server/formsweb.cfg</context-param-mapping>
      <virtual-directory virtual-path="/html" real-path="D:\9iDS/tools/web90/html" />
      <virtual-directory virtual-path="/java" real-path="D:\9iDS/forms90/java" />
      <virtual-directory virtual-path="/jinitiator" real-path="D:\9iDS/jinit" />
      <virtual-directory virtual-path="/webutil" real-path="D:\9iDS/webutil/lib" />
      <session-tracking cookies="disabled" />
      </orion-web-app>


      excerpts from formsweb.cfg:
      # baseHTML=base.htm
      # baseHTMLjinitiator=basejini.htm
      baseHTMLjinitiator=D:\9iDS\forms90\server\webutiljini.htm
      # baseHTMLjpi=basejpi.htm
      # baseHTMLie=baseie.htm
      envFile=default.env
      archive_jini=f90all_jinit.jar
      archive_ie=f90all.cab
      archive=f90all.jar
      webUtilArchive=/forms90/webutil/webutil.jar;/forms90/webutil/jacob.jar
      #jinit_classid=clsid:CAFECAFE-0013-0001-0008-ABCDEFABCDEF
      #jinit_exename=jinit.exe#Version=1,3,1,8
      #jinit_mimetype=application/x-jinit-applet;version=1.3.1.8
      jinit_classid=clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF
      jinit_exename=jinit.exe#Version=1,3,1,9
      jinit_mimetype=application/x-jinit-applet;version=1.3.1.9
      oracle_home=D:\9iDS


      excerpts from default.env:
      ORACLE_HOME=D:\9iDS
      # FORMS90_PATH=D:\9iDS/forms90
      FORMS90_PATH=E:\temp_source;D:\9iDS\webutil\forms
      WEBUTIL_CONFIG=D:\9iDS\webutil\server\webutil.cfg
      # PATH=D:\9iDS\bin
      PATH=D:\9iDS\bin;D:\9iDS\jdk\jre\bin\classic
      FORMS90=D:\9iDS\forms90
      # CLASSPATH=D:\9iDS\jlib\debugger.jar;D:\9iDS\jlib\ewt3.jar:D:\9iDS\jlib\share.jar;D:\9iDS\jlib\utj90.jar
      CLASSPATH=D:\9iDS\jlib\debugger.jar;D:\9iDS\jlib\ewt3.jar:D:\9iDS\jlib\share.jar;D:\9iDS\jlib\utj90.jar;D:\9iDS\webutil\lib\webutil.jar;D:\9iDS\jdk\jre\lib\rt.jar


      excerpts from webutil.cfg:
      # transfer.database.enabled=FALSE
      transfer.database.enabled=TRUE


      any help would be appreciated.