Forum Stats

  • 3,727,561 Users
  • 2,245,413 Discussions
  • 7,852,876 Comments

Discussions

Missing or invalid value for baseHTML parameter

409068
409068 Member Posts: 29
edited November 2003 in Forms
Im new in using the oracle forms 9i. I have created a form and compiled this to have a fmx file. When i tried to run the form, it opens the browser and gives me the following error. Can any one brief me what are all the parameters required to run the form successfully at the earliest...? I will give the url also for ur reference.

i have started the OC4J instance also.


http://sunvid:8888/forms90/f90servlet?form=D:\Oracle9iDS\forms90\MODULE2.fmx&userid=scott/[email protected]&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES

this url is shown in the browser and the following error is displayed.

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

thanks a lot in advance

Comments

  • Frank Nimphius-Oracle
    Frank Nimphius-Oracle Member Posts: 29,689
    sundararajan,

    tried to reproduce this behavior but couldn't. Can you test to run a simple Forms app (e.g. the one you created) directly from the Browser?

    Do as follows:

    - Goto forms90/server directory and edit formsweb.cfg file
    - On its very bottom enter

    [myApp]
    form=MODULE2
    userid=scott/[email protected]

    - Save this file and make sure the OC4J instance is up and running

    - In the Browser run teh following URL

    http://sunvid:8888/forms90/f90servlet?config=myApp

    If this doesn't run then obviously there is something strange with the defintion of baseHTMLjinitiator parameter in the formsweb.cfg file. Since i don't find any pointer causing this behaviour, Isuggest - if its not too much of a problem - to try and reinstall Oracle9iDS, making sure that all other files are deleted from this Oracle home.

    Frank

    Fran
  • 409068
    409068 Member Posts: 29
    hi frank,

    Thanks for ur kind reply and helping me to solve my problem.

    Still this doesnt work, same error. It seems ListenerServlet is not instantiated at all. only formservlet is instantiated and just gone thro init method.

    this is the log for the same.
    11/15/03 10:12 AM forms90web: oracle.forms.servlet.FormsServlet: init
    11/15/03 10:12 AM forms90web: FormsServlet init():
    configFileName: d:\Oracle9iDS\forms90\server\forms90.conf
    testMode: false

    11/15/03 10:12 AM forms90web: Servlet error
    javax.servlet.ServletException: Forms Servlet Error.
    Missing or invalid value for baseHTML parameter.
    Please check the servlet configuration to make sure this value specifies a valid file.
    at oracle.forms.servlet.FormsServlet.doRequest(Unknown Source)
    at oracle.forms.servlet.FormsServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Any clue from this please. Hope this will give u a clear picture of the error it displays.

    Thanks





  • 409068
    409068 Member Posts: 29
    hi all,

    now i am able to move one step ahead and im getting the following error.

    FRM-92060 error:failed to connect to server.

    this is shown in the jinitator console.
    Applet parameter serverURL=d:/oracle9iDS/forms90/l90servlet?ifcfs=/forms90/f90servlet?form=D:\Oracle9iDS\forms90/MODULE2.fmx&userid=SCOTT/[email protected]&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES is invalid !

    could u help me in pass thro this.

    thanks



  • Frank Nimphius-Oracle
    Frank Nimphius-Oracle Member Posts: 29,689
    Hi,

    serverURL=d:/oracle9iDS/forms90/l90servlet?

    is a parameter defined in the formsweb.cfg file contained in the forms90/server directory and should not be in a file system syntax.

    valid syntax would be /forms90/l90servlet

    Frank
  • 409068
    409068 Member Posts: 29
    Hi Frank,

    Thanks man, now it is working. Now I have to creat a real time project form to see whether it is working or not.

    will come on this whenever i face a problem. My initial problem was due to my wrong passing of configfile name as forms90.conf.

    Thanks for your timely suggestion man.



  • Frank Nimphius-Oracle
    Frank Nimphius-Oracle Member Posts: 29,689
    Sundarajan,

    please make sure you open a new posting for each problem you face. This way people can search for it if they have a similar problem.

    Frank
This discussion has been closed.