Bean not found by JSP page

Hi! All
I am using a bean in my jsp page. When I open the jsp page, I get an error that "Class SQLBean.DbBean not found". Please help. I have my bean class compiled and saved under C:\tomcat\webapps\examples\WEB-INF\classes
Here is the bean class:
package SQLBean;
import java.sql.*;
import java.io.*;
public class DbBean {
String dbURL = "jdbc:db2:sample";
String dbDriver = "jdbc:odbc:akhil.mdb";
private Connection dbCon;
public Class DbBean(){
super();
public boolean connect(String user, String password) throws ClassNotFoundException,SQLException{
System.out.print("hey");
Class.forName(dbDriver);
dbCon = DriverManager.getConnection(dbURL, user, password);
return true;
public void close() throws SQLException{
dbCon.close();
public ResultSet execSQL(String sql) throws SQLException{
Statement s = dbCon.createStatement();
ResultSet r = s.executeQuery(sql);
return (r == null) ? null : r;
public int updateSQL(String sql) throws SQLException{
Statement s = dbCon.createStatement();
int r = s.executeUpdate(sql);
return (r == 0) ? 0 : r;
Here is the jsp page:
<HTML>
<HEAD><TITLE>DataBase Search</TITLE></HEAD>
<BODY>
<%@ page language="Java" import="java.sql.*" %>
<jsp:useBean id="db" scope="request" class="SQLBean.DbBean" />
<jsp:setProperty name="db" property="*" />
<%!
ResultSet rs = null ;
ResultSetMetaData rsmd = null ;
int numColumns ;
int i;
%>
<center>
<h2> Results from here</h2>
<hr>
<br><br>
<%
out.print("Here");
db.connect("atayal", "arduous");
try {
out.print("HI");
rs = db.execSQL("select * from contacts");
}catch(SQLException e) {
throw new ServletException("Your query is not working", e);
%>
<%
while(rs.next()) {
%>
<%= rs.getString("email") %>
<BR>
<%
%>
<BR>
<%
db.close();
%>
Done
</body>
</HTML>
Thanks in advance

Thank you for your valuable feedback duffymo. Could
you explain a little what you mean by "Putting .class
files in the Tomcat examples directory is a really bad
idea in the long run". Also, could you direct me to
some source where I can find more information on
creating WAR files keeping in mind that I am a
beginner.
Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
For creating WAR file, the easiest way is to use an IDE like JBuilder.

Similar Messages

  • Javabean class not found by jsp page

    I have created one bean which has setFunctionId(String) and getFunctionId() methods. I put the class files at /weblogic/myserver/serverclasses directory. While I am accessing the .jsp page it is telling "Thu Aug 03 15:46:16 EDT 2000:<E> <ServletContext-General> Servlet failed with Ex
              ception
              java.lang.NoSuchMethodError: myjsp.TestBean: method setFunctionId(Ljava/lang/Str
              ing;)V not found
              at jsp_servlet._testasfs._jspService(_testasfs.java:90)
              at weblogic.servlet.jsp.JspBase.service(Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
              d Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)"
              Would appreciate your help..
              

    Thank you for your valuable feedback duffymo. Could
    you explain a little what you mean by "Putting .class
    files in the Tomcat examples directory is a really bad
    idea in the long run". Also, could you direct me to
    some source where I can find more information on
    creating WAR files keeping in mind that I am a
    beginner.
    Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
    For creating WAR file, the easiest way is to use an IDE like JBuilder.

  • Tag library 'not found' in jsp page. why?

    I'm having a big problem with jsp/tag libraries using oc4j. One
    particular
    tag library is not being 'found' for some mysterious reason. The
    particulars follow:
    kwTags.jar is the jar file containing the tag classes. It definitely
    exists in WEB-INF/lib directory.
    tld def. in web.xml:
    <taglib>
    <taglib-uri>/kw</taglib-uri>
    <taglib-location>/WEB-INF/tlds/kwTagLib.tld</taglib-location>
    </taglib>
    The tld file definitely exists in the /WEB-INF/tlds directory.
    The definition of the tag lib at the top of the kwTagLib.tld follows:
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>kw</short-name>
    <uri>/kw</uri>
    <display-name>kwTagLib</display-name>
    <small-icon></small-icon>
    <large-icon></large-icon>
    <description></description>
    The tag reference in jsp page is:
    <%@ taglib uri="/WEB-INF/tlds/kwTagLib.tld" prefix="kw" %>
    The development environment is Eclipse Workbench 5.1.0 and Eclipse
    v.3.2.1
    JDK is: j2sdk1.4.2_04
    All other tag libs (Struts v.1.3.5) are found and work correctly. This
    is the only tag library that
    a problem.
    Error Message follows:
    java.lang.NullPointerException at
    oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
    at
    oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:180)
    at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:921)
    at
    oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:326)
    at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:705)
    at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:184)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:154)
    at
    oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:428)
    at
    oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:284)
    at
    oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:483)
    at
    oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:542)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
    at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at
    com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at
    org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:99)
    at
    org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:82)
    at
    org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:51)
    at
    org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at
    org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
    at
    org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at
    org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at
    com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    java.lang.NullPointerException at
    oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:183)
    at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:180)That NullPointerException does not sound right. What is your oc4j version?
    By the way, your declaration of taglib in web.xml can be deleted if you are not using that taglib-uri "/kw" in your jsp.

  • Bean not found in Tomcat

    Hi, I am using tomcat 4 on NT. I am getting the bean not found error when trying to execute the following JSP. I have put the bean in web-inf\classes directory. Somewhere in this forum I found that my bean class should be in a package.
    Please help with this code.
    <html>
    <head><title>First JSP</title></head>
    <body>
    <%@page language="java"%>
    <jsp:useBean id="mybean" scope="page" class="FirstBean"/>
    <%=mybean.getName()%>
    </body>
    </html>

    Hi, Sudha,
    Is that we must use import class before we use Bean in JSP? I read some example code and they do not have that import part, and I get the same cannot find class error. I am new to JSP, please tell me if we must import our bean class or there has other ways to handle it? thank you very much.
    Tony

  • WebUtil:  oracle.forms.webutil.host.Host bean not found

    Hi. This is my first attempt using WebUtil. The following code is in my When-New-Form-Instance trigger:
    client_host('N:\TTMS\ITS\vbasic\compiled\MenuUpdate.exe');
    This is the error I receive:
    oracle.forms.webutil.host.Host bean not found
    I've included my formsweb.cfg below for your reference. Note that the application is using the [ttmsmenu] configuration.
    Thanks in advance for your help with this problem.
    ***FORMSWEB.CFG***
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    #WebUtilArchive=frmwebutil.jar,jacob.jar
    #WebUtilLogging=off
    #WebUtilLoggingDetail=normal
    #WebUtilErrorMode=Alert
    #WebUtilDispatchMonitorInterval=5
    #WebUtilTrustInternal=true
    #WebUtilMaxTransferSize=16384
    # System parameter: default base HTML file
    baseHTML=base.htm
    # baseHTML=webutilbase.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # baseHTMLjinitiator=webutiljini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # baseHTMLjpi=webutiljpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    # HTMLbeforeForm=
    HTMLbeforeForm=<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    #imageBase=DocumentBase
    imageBase=codeBase
    # Forms applet parameter default 750
    # width=1000
    # width=100%
    width=500
    # Forms applet parameter default 600
    # height=700
    # height=100%
    height=500
    # Forms applet parameter default false
    separateFrame=true
    # Forms applet parameter
    # splashScreen=
    splashScreen=no
    #splashScreen=ttmslogo_new.gif
    # Forms applet parameter
    background=ttmslogo_new.gif
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=ttms_banner.gif
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=C:\DevSuiteHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [ttmsmenu]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    width=500
    height=500
    background=no
    form=ttmsmenu.fmx

    Dumb dumb dumb.
    I was running this form out of Form Builder 10g. At some point I changed the Application Server URL (Edit => Preferences => Runtime menus) from:
    http://ssbuechl2.div16.ibm.com:8889/forms/frmservlet?config=ttmsmenu
    to:
    http://ssbuechl2.div16.ibm.com:8889/forms/frmservlet?
    So my customized configuration with all the WebUtil references was not being referenced and I was getting the error.
    Dumb dumb dumb.

  • Bean not found in forms10g application

    Hi,
    how to solve this problem
    oracle.forms.webutil.clientinfo.getclientinfo bean not found
    this is the message iam getting when i implement my forms10g application with WEBUTIL.PLL library to export data form forms10g application to excel

    Please do not rely on this forum as a substitute for the documentation and examples provided by Oracle. Visit Oracle's WebUtil page:
       http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    There you will find documentation, downloads and demos. Please study them and, if you continue to have problems, search the forum before posting questions. Doing so will make the forum more productive, and more useful to everyone.
    Regards,
    Eric Adamson
    Lansing, Michigan

  • WebUtil 1.0.6 - GetClientInfo bean not found.

    I'm using Developer 10g Version 10.1.2.0.2 and the latest available Webutil-package 1.0.6.
    I installed all components and followed all the steps.
    When I execute the form test of webutil: WU_TEST_106 open a window with:
    oracle.forms.webutil.clientinfo.GetClientInfo bean not found.
    WEBUTIL_CLIENTINFO.GET_JAVA_VERSION will not work.
    I did all the recommendations of metalink, but nothing.
    Please, I need your help.

    By Edit - Preferences
    ?config=webutil , I did that, but the problem continue.
    The configuration of files formsweb.cfg, default.env and webutil.cfg is:
    FORMSWEB.CFG
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=C:\Oracle\Dev10g
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    archive=frmall.jar
    lookAndFeel=oracle
    # webutil.cfg - WebUtil default configuration file
    # This file provides all of the configuration settings for webutil. These are
    # divided into the following sections:
    # 1. Logging Options
    # 2. Installation Options
    # 3. FileUpload and Download Options
    # 1. Server Side Logging Options for logging errors and log messages
    # You must set logging.enabled to true to allow mid-tier logging. Without this
    # mid-tier logging will not take place no matter what PL/SQL or URL options
    # are supplied to switch it on. Once logging is enabled the other settings come
    # into play.
    # Details
    # logging.file : Defines the file name and location of the log file.
    # Note that WebUtil does no log file management. You may
    # need to manually clean this file up from time to time.
    # logging.enabled : Can be TRUE or FALSE
    # logging.errorsonly : Can be TRUE or FALSE. Setting to true will ensure that
    # only errors and not normal informational log messages
    # are written to the log file. For product use this would
    # normally be set to TRUE
    # logging.connections: Can be TRUE or FALSE. Setting to true will cause each
    # connection from a client using WebUtil to write into
    # the log as it sets up.
    logging.file=
    logging.enabled=FALSE
    logging.errorsonly=FALSE
    logging.connections=FALSE
    # 2. Installation Options
    # WebUtil needs to download some files to the client in order to perform
    # certain integration operations such as OLE or Registry Access. These files
    # are downloaded the first time that you access one of the functions that need
    # them. You have to define the location of these files on the server
    # Details
    # install syslib.location : The virtual path to the directory holding the
    # webutil library files on the server side. This
    # must either be an absolute URL or a URL that is
    # relative to the documentbase
    # install.syslib.<os>.<package>.<n> :
    # The name(s) of the libraries required for
    # particular webutil beans. The format of this is
    # name|size|version|showDownloadDialog. Multiple
    # libraries can be downloaded per package. But
    # ensure that the <n> values are consecutive and
    # start at 1
    install.syslib.location=/webutil
    # Change size and version if necessary, like when upgrading the library.
    # Normally this would not be required since most of these libraries come with
    # install itself.
    install.syslib.0.7.1=jacob.dll|94208|1.2|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    # You can also add your own libraries in here, e.g.
    #install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
    install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
    # 3. Upload / Download options
    # For the file upload and download options you can define the default locations
    # on the server that webutil can use as a work area. Optionally you can switch
    # upload and download off
    # Details
    # transfer.database.enabled : Can be TRUE or FALSE - allows you to disable
    # upload and download from the database server.
    # transfer.appsrv.enabled : Can be TRUE or FALSE - allows you to disable
    # upload and download from the application
    # server.
    # transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
    # store temporary files uploaded from the client.
    # If no location is specified, Application Server
    # user_home/temp will be assumed.
    # This location is always readable and writable
    # no matter what the settings in
    # transfer.appsrv.* are. This setting is
    # required if you need the Client side
    # READ/WRITE_IMAGE_FILE procedures.
    # transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to indicate
    # that uploads and downloads can only occur from
    # the directories named in the
    # transfer.appsrv.read.n and
    # transfer.appsrv.write.n entries and their
    # subdirectories. If this setting is FALSE,
    # transfers can happen anywhere.
    # transfer.appsrv.read.<n>: List of directory names that downloads can read
    # from.
    # transfer.appsrv.write.<n>: List of directory names that uploads can write
    # to.
    #NOTE: By default the file transfer is disabled as a security measure
    transfer.database.enabled=FALSE
    transfer.appsrv.enabled=FALSE
    transfer.appsrv.workAreaRoot=
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    default.env
    # $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=C:\Oracle\Dev10g
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. c:\test\dir1;c:\test\dir2)
    FORMS_PATH=C:\Oracle\Dev10g\forms
    # webutil config file path
    WEBUTIL_CONFIG=C:\Oracle\Dev10g\forms\server\webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # C:\Oracle\Dev10g\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=C:\Oracle\Dev10g\bin;C:\Oracle\Dev10g\jdk\jre\bin\client
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
    # System settings
    # You should not normally need to modify these settings
    FORMS=C:\Oracle\Dev10g\forms
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=C:\Oracle\Dev10g\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;C:\Oracle\Dev10g\jlib\repository.jar;C:\Oracle\Dev10g\jlib\ldapjclnt10.jar;C:\Oracle\Dev10g\jlib\debugger.jar;C:\Oracle\Dev10g\jlib\ewt3.jar;C:\Oracle\Dev10g\jlib\share.jar;C:\Oracle\Dev10g\jlib\utj.jar;C:\Oracle\Dev10g\jlib\zrclient.jar;C:\Oracle\Dev10g\reports\jlib\rwrun.jar;C:\Oracle\Dev10g\forms\java\frmwebutil.jar;C:\Oracle\Dev10g\jdk\jre\lib\rt.jar
    The files is in c:\Oracle\Dev10g\forms\server
    Please, i can your help

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • Bean not found within scope

    I have a login bean that verify's the user and on successful login, sets the bean in a session variable. Each page will then access the bean to verify the user. When there is no activity in the browser, the session expires, and the user has to log in again. I am getting the following error in my logs (java.lang.InstantiationException: bean not found within scope).
    Is this ok? or would this be a memory leak?
    Thanks

    As long as the error is in the block that checks for the session then there is no problem as long you're catching the exception. Maybe its the way you check for the session that causes the error. Either way you shouldn't need to worry about it. The only problem would be if you were trying to set any variables/objects inside the block which you relied upon later in the page.
    Rob.

  • File "/WEB-INF/struts-bean" not found

    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: File "/WEB-INF/struts-bean" not found
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:180)
         at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
         at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)

    Thanks for the reply.This is what the jsp has:
    <%@ taglib uri="struts-bean" prefix="bean" %>
    <%@ taglib uri="struts-html" prefix="html" %>
    <html:html locale="true">
    <head>
    <title>Untitled Document</title>
    </head>
    <body bgcolor="#0080FF" text="#000000">
    <html:form action="/Address">
    <html:errors/>
    <!--<form method="POST" action="http://localhost:8084/sru/registration">-->
    <p> </p>
    <p>:
    <label></label>.....
    If it needs struts-bean.tld where should i copy it.I have already done trying to copy it into a folder named tags under
    my directory as such: webapps\sru\WEB-INF\tags\struts-bean.tld.
    Let me know if this is correct or not.
    Edited by: srujan on Apr 1, 2008 7:43 AM

  • How does session bean contain in the JSP page

    May i know how session bean contains in the JSP page
    If the situation is like the following ...
    if i dont want to put the session bean in the session
    like this :
    session.setAttribute("UserBean",userBean);
    the way i get the session bean is only
    session.getAttribute("UserBean");
    Does have the other way to get the Session bean during the JSP
    if i dont want to use this kind of way,
    what else i can do for?
    may i know the solution with detailed
    and please attach the solution of code to me if you know...
    thanks...

    Hi,
    I am not clear with ur query..
    What I understood from ur query is that, u are trying to put the session ejb in the HttpSession Object for some use ahead in future?
    If this is the case, then I think are approach is not correct.
    StatefulSession beans are meant for this purpose, i.e they will be maintaining the client session. So use the same using the JndiLookup of the HomeInterface and the getting the Home reference and calling the businessmethods
    sameer

  • Element not found, appslocallogin.jsp

    hi,
    anyone able to resove this ?
    using IE 7
    when try to logon,
    the page not navigate to next page,
    show
    "Error on page"
    at bottom left corner
    element not found
    appslocallogin.jsp
    no issue on IE 6, and some other IE 7.
    so far we only have one user facing the issue.
    thanks

    Hi,
    Please mention the application release and the OS.
    Has this ever worked? If yes, what changes have been done recently?
    Can you find any errors in Apache log files (error_log* and access_log*)?
    Please make sure you have a certified combination of application release, OS, and you have all the patches applied which work with IE7 as per the following documents.
    Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i
    Note: 389422.1 - Recommended Browsers for Oracle E-Business Suite Release 12
    Regards,
    Hussein

  • Oracle.forms.webutil.cApi.CApiFunctions bean not found.WEBUTIL_C_API.REBIND

    Hi,
    I have installed oracle application server 10g on server .Configured webutil in server. Am using Mac OS X as client machine.But i got error
    " oracle.forms.webutil.cApi.CApiFunctions bean not found.WEBUTIL_C_API.REBIND_PARAMETER will not work "
    Can you please assist in correcting this error...
    Urgent PLS...
    Thanks.

    Is the webutil.olb file accesible to the Form when you try to compile ?.

  • Oracle.forms.webutil.capi.capifunctions bean not found

    Hi...I'm trying to pick host name using webutil through the following command behind a push button in my form:
    :Pc_Nom     :=     Webutil_Clientinfo.Get_Host_Name;
    But it gives the following error:
    oracle.forms.webutil.capi.capifunctions bean not found
    webutil_c_api.rebind_parameter will not work.
    Can u tell me where is the problem???

    Hi!
    Do you have referenced the webutil object group from the webutil.olb?
    Take a look in the java console if webutil is registred.
    Regards

  • Bean Not Found

    Hi,
    I am using webutil 1.0.6, 10gAS R1 (9.0.4.2.0), compiled the module using Forms 10g (9.0.4.0.19), and I am connecting to RDBMS 10.2.0.1.0.
    I have proved that webutil works by creating a test harness. I proved the webutil_file.file_exists function works, and both the client_host and webutil_host.host procedures work. So, you would imagine no webutil installation issues. The 9.0.4.0.19 (10g) compiled form is called from a form compiled by 9.0.2.9.0 (9i).
    Now that I proved that, I tried calling the webutil procedures from a form in our system that needs to use them. Again compiled in 9.0.4.0.19. I get the error 'oracle.forms.webutil.file.FileFunctions bean not found. WEBUTIL_FILE.GET_ATTRIBUTE_INT will not work'.
    I tried detaching both the webutil.pll and webutil.olb, I always attach the webutil.pll first, and then subclass the olb. I still get the same error.
    Any advice ??

    Well, all I can say to myself is RT?M. In metalink note 270940.1, there is a section 'Using WebUtil functionality in a PREFORM/WHEN-NEW-FORM-INSTANCE/WHEN-NEW-BLOCK-INSTANCE trigger and it does not work. ' that explains exactly why I was getting the error.
    A constraint of using webutil, is new form instance triggers cannot exit_form.
    The code did just that. Workaround was to use a timer event, and to minimise the window so the user doesn't notice too much.
    ISSUE CLOSED.

Maybe you are looking for

  • Error messages during booting of Solaris 8 zone

    I have installed a Solaris 8 zone from a flash archive of a Solaris 8 server that is currently in production. I get no errors during the installation of the zone and when I boot the zone I get the following messages on the zone console: SunOS Release

  • Programmatically print current page in a drill-down view

    VB.NET 2008, CR 2008 Calling the PrintToPrinter method of the Report Document allows me to print a specified page to the printer.  However, there doesn't seem to be a similar method that allows specifying a page for the viewer control.  Is there any

  • Use Logic Express for quadrophonic sound project??

    Hi, I'm very happy with LE9 so far, but now I may have to do a quadrophonic project... anyone ever done that with LE9?? I can imagine that I could achieve something by using 4 busses, and mixing using 4 sends on each track... or are there better tric

  • How to Add logic to change quantity of child item(Template BOM).

    Now We use ver 2004B. 2004B has bug about Sales Bom,The Bom can't be expanded correctly using UI-API. We have to using BOM Both UI-API and GUI,so we use Template Bom(in UI-API we expand the BOM by ourselves). Now we face two problems. 1. In Template

  • Won't save photos from e-mail or texts?

    I have an iPhone 4 that I purchased in March.  Last month while trying to save a photo from a text, I went into the camera roll and in its place was a gray box with "JPG" in the middle where the photo should have been.  Also, when I first clicked on