Bean not found within scope error

I am getting the error "bean jspbean not found within scope error". I am using JBuilder 5.0. I thought that I had set up my paths and placed my code in the correct directories but it seems that I am missing something. I was developing in Visual Age for Java then ported my code into JBuilder. The code ran in VA but I can't get it to compile & run in JBuilder. This is why I think that I'm missing a path somewhere. Please HELP!! I have been trying different things and nothing seems to work.
My ClassPath in it:
d:\MySource\BannerTracker;.
My java files are located in:
d:\MySource\BannerTracker\src\com\seqtek\pplsi\banner
My class files are being compiled in:
d:\MySource\BannerTracker\classes\com\seqtek\pplsi\banner
AND
d:\MySource\BannerTracker\defaultroot\WEB-INF\classes\com\seqtek\pplsi\banner
JBuilder has the following paths set
Output Path = d:\MySource\BannerTracker\classes
Backup Path = d:\MySource\BannerTracker\bak
Working Dir = d:\MySource\BannerTracker
Source = d:\MySource\BannerTracker\src
My JSP files are accessed by JBuilder in the d:\MySource\BannerTracker\defaultroot directory.
My JSP code snippet:
<%@ page import="javax.servlet.*" %>
<%@ page import="javax.servlet.http.*" %>
<%@ page import="javax.servlet.jsp.*" %>
<HTML>
<HEAD>
<jsp:useBean id="jspbean" type="com.seqtek.pplsi.banner.BannerRptBean" scope="request" />
<jsp:setProperty name="jspbean" property="login" param="login" />
</jsp:useBean>
... HTML code for my form...
<font face="Arial" size=2><B>Select Month:</B>
<%= jspbean.showMonths() %>
<P>
<B>Select View:</B>
<%= jspbean.showViews() %>
<P>
<B>Select Banner:</B>
<%= jspbean.showBanners() %>
</font>
...submit and end HTML tags.
Thanks in advance for your help!
Tracey

OK. Here is the top portion of my JSP. And below that I have the created java file. I hope you can see something that I can't. This is so very strange.
JSP FILE
<%@ page import="javax.servlet.*" %>
<%@ page import="javax.servlet.http.*" %>
<%@ page import="javax.servlet.jsp.*" %>
<%@ page language="java" import="com.seqtek.pplsi.banner.*" %>
<HTML>
<HEAD>
<jsp:useBean id="jspbean" class="com.seqtek.pplsi.banner.BannerRptBean" scope="request" />
<jsp:setProperty name="jspbean" property="login" param="login" />
CREATED JAVA
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import org.apache.jasper.runtime.*;
import java.beans.*;
import org.apache.jasper.JasperException;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.seqtek.pplsi.banner.*;
public class _0002fBannerRpt_0002ejspBannerRpt_jsp_15 extends HttpJspBase {
    // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
    // end
    static {
    public _0002fBannerRpt_0002ejspBannerRpt_jsp_15( ) {
    private static boolean _jspx_inited = false;
    public final void _jspx_init() throws JasperException {
    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws IOException, ServletException {
        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {
            if (_jspx_inited == false) {
                _jspx_init();
                _jspx_inited = true;
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=8859_1");
            pageContext = _jspxFactory.getPageContext(this, request, response,
               "", true, 8192, true);
            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(0,0);to=(1,0)]
                out.write("\r\n");
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(1,36);to=(2,0)]
                out.write("\r\n");
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(2,41);to=(3,0)]
                out.write("\r\n");
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(3,40);to=(4,0)]
                out.write("\r\n");
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(4,62);to=(9,0)]
                out.write("\r\n\r\n\r\n<HTML>\r\n<HEAD>\r\n");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
                com.seqtek.pplsi.banner.BannerRptBean jspbean = null;
                boolean _jspx_specialjspbean  = false;
                 synchronized (request) {
                    jspbean= (com.seqtek.pplsi.banner.BannerRptBean)
                    pageContext.getAttribute("jspbean",PageContext.REQUEST_SCOPE);
                    if ( jspbean == null ) {
                        _jspx_specialjspbean = true;
                        try {
                            jspbean = (com.seqtek.pplsi.banner.BannerRptBean) Beans.instantiate(this.getClass().getClassLoader(), "com.seqtek.pplsi.banner.BannerRptBean");
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"com.seqtek.pplsi.banner.BannerRptBean");
                        pageContext.setAttribute("jspbean", jspbean, PageContext.REQUEST_SCOPE);
                if(_jspx_specialjspbean == true) {
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,0);to=(9,90)]
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(9,90);to=(10,0)]
                out.write("\r\n");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(10,0);to=(10,65)]
                JspRuntimeLibrary.introspecthelper(pageContext.findAttribute("jspbean"), "login", request.getParameter("login"), request, "login", false);
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(10,65);to=(35,40)]
                out.write("\r\n\r\n\r\n<SCRIPT LANGUAGE=\"JavaScript\">\r\n  function assignVal() {\r\n\tif (JspForm.month.options[JspForm.month.selectedIndex].value == \"\") {\r\n\t\talert(\"You must select a month for your report.\");\r\n\t\treturn false;\r\n\t} else {\r\n\t\tif (JspForm.view.options[JspForm.view.selectedIndex].value == \"\") {\r\n\t\t\talert(\"You must select a view for your report.\");\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\tJspForm.action = \"/BannerServlet?cmd=display\";\r\n\t\t}\r\n\t}\r\n}\r\n</SCRIPT>\r\n\r\n<TITLE>\r\nPrePaid Legal Inc. Banner Reporting\r\n</TITLE>\r\n</HEAD>\r\n<BODY>\r\n<FORM method=\"post\" name=\"JspForm\" onSubmit=\"assignVal();\">\r\n<INPUT TYPE=\"hidden\" NAME=\"login\" VALUE=");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(35,43);to=(35,72)]
                out.print(request.getAttribute("login"));
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(35,74);to=(47,0)]
                out.write(">\r\n\r\n\r\n<H3>\r\nBanner Reporting\r\n</H3>\r\n\r\n<table width=500><tr><td><font face=\"Arial\" size=2>\r\nSelect from the criteria below to generate a report listing of the number of hits for your banners. Select a month and a report view. You can only report for the previous three (3) months worth of data. Select \"ALL\" from the months to get all 3 months worth of data in the report.\r\n</font></td></tr></table>\r\n<P>\r\n<font face=\"Arial\" size=2><B>Select Month:</B>\r\n");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(47,3);to=(47,25)]
                out.print( jspbean.showMonths() );
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(47,27);to=(50,0)]
                out.write("\r\n<P>\r\n<B>Select View:</B>\r\n");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(50,3);to=(50,24)]
                out.print( jspbean.showViews() );
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(50,26);to=(53,0)]
                out.write("\r\n<P>\r\n<B>Select Banner:</B>\r\n");
            // end
            // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(53,3);to=(53,26)]
                out.print( jspbean.showBanners() );
            // end
            // HTML // begin [file="D:\\MySource\\BannerTracker\\defaultroot\\BannerRpt.jsp";from=(53,28);to=(61,0)]
                out.write("\r\n</font>\r\n<INPUT TYPE=\"submit\" NAME=\"Go\" VALUE=\"GO\">\r\n</FORM>\r\n</BODY>\r\n</HTML>\r\n\r\n\r\n");
            // end
        } catch (Exception ex) {
            if (out.getBufferSize() != 0)
                out.clearBuffer();
            pageContext.handlePageException(ex);
        } finally {
            out.flush();
            _jspxFactory.releasePageContext(pageContext);

Similar Messages

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

  • Bean not found within Transaction

    I am using WebLogic 5.1 with container-managed persistence implemented using
              TopLink 2.5.1 and Oracle 8.0.5. I have a stateless session bean method that
              creates an entity bean and then attempts to find it by its primary key. The
              entity bean methods are declared as required using container-managed
              transaction demarcation. The following diagram illustrates the calling
              sequence.
              Client FooManager FooBean
              | Stateless Session Bean Entity Bean
              | | |
              |doIt | |
              |----------------------->| |
              | |create |
              | |------------------> |
              | | |
              | |findByPrimaryKey |
              | |------------------>|
              | | |
              In test case 1, I run this without any container-managed transaction
              demarcation on the stateless session bean. Everything works fine. The
              entity bean is created and I can find it by its primary key.
              In test case 2, I declare the stateless session bean methods as required
              using container-managed transaction demarcation. The entity bean is created
              but the findByPrimaryKey fails and throws a FinderException. When I look
              into the database I can see the entity bean has been created. Why does the
              findByPrimaryKey fail?
              Steven R. Baturin
              

    "Steven R. Baturin" wrote:
              >
              > I am using WebLogic 5.1 with container-managed persistence implemented using
              > TopLink 2.5.1 and Oracle 8.0.5. I have a stateless session bean method that
              > creates an entity bean and then attempts to find it by its primary key. The
              > entity bean methods are declared as required using container-managed
              > transaction demarcation.
              >
              > In test case 2, I declare the stateless session bean methods as required
              > using container-managed transaction demarcation. The entity bean is created
              > but the findByPrimaryKey fails and throws a FinderException. When I look
              > into the database I can see the entity bean has been created. Why does the
              > findByPrimaryKey fail?
              Steven,
              You should post TopLink-related questions to their newsgroups at
              news://news.objectpeople.com
              When you use TopLink for WebLogic, you're no longer using WebLogic CMP
              engine so folks here
              wouldn't know much about it.
              Cheers,
              Alexander Petrushko
              mailto:[email protected]
              Consulting Services available
              

  • Webutil form  giving error "oracle.forms.webutil.* bean not found.

    i have done all settings as per given in documentation of webutil.
    forms is compiling but at runtime it gives error:
    oracle.forms.webutil.clientinfo.getclientinfo bean not found.
    what could be the reason.plz. help.
    shikha...

    Hi Shika,
    Probably, the issue could be because of any one of the following.
    <br>
    <br>
    1. Check whether you have added $OARCLE_HOME\forms90\java\frmwebutil.jar in the default.env under $ORACLE_HOME\Forms90\server folder.
    <br>
    <br>
    2. Check whether you have added the virtual directory
    <virtual-directory virtual-path="/webutil" real-path="$OARCLE_HOME/forms90/webutil" />
    in the file orion-web.xml under $ORACLE_HOME\j2ee\DevSuite\application-deployments\forms\forms90web folder
    <b<i>Correctly</i></b>
    <br>
    <br>
    HTH.
    <br>
    Regards,
    <br>
    Arun

  • WebUtil Error Bean Not Found

    Dear All,
    i am facing a problem of running webutil functions. I have compiled my webutil.pll and then attach to my form and then i copy the webtuil.olb objects into my
    form and i created one button on my form to show the calculator the code is as follows
    Note: i have webutil.cfg in my classpath of default.env file and i signed both webtuil.jar and jacob.jar successfully but still i am facing error.
    e.g;
    when-button-press
    webutil_host.host('calc.exe');
    error: oracle.forms.webutil.host HOST bean not found.
    WEBUTIL_HOST.execute will not work.
    Thanks.
    Immediate help will be appreciated....

    Hi,
    Have you entered the webutil values in the formsweb.cfg file?
    e.g. WebUtilConfig=<somewhere>\WebUtil\server\webutil.cfg
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilErrorMode=Alert
    WebUtilConfig=<somewhere>\WebUtil\server\webutil.cfg
    baseHTMLjinitiator=<somewhere>\WebUtil\server\webutiljini.htm
    baseHTMLjpi=<somewhere>\WebUtil\server\webutiljpi.htm
    baseHTML=<somewhere>\WebUtil\server\webutilbase.htm
    Hopefully this may help you.
    L :-)

  • Facing error message oracle.forms.webutil.ole.OleFunctions bean not found.

    hi all,
    I have a 6i form which generate data into excel, I have migrated with in 10g, configure Webutil, attach webutil in form, create object group by webutil.olb, replace all ole2 with Client_ole2.
    there is no problem in compile time but when I run that form and Click on Generate button then it show below message.
    oracle.forms.webutil.ole.OleFunctions bean not found.
    CLIENT_OLE2.create_obj will not work
    please help

    Hi BaiG,
    thanks for your reply, I have done Step 7 successfully and start step 8.
    I was following your step no. 8 (below Step)
    8. Sign Webutil JAR files by running these following commands Make sure Form Builder is Closed
    "C:\DevSuiteHome_1\forms\webutil>sign_webutil.bat c:\DevSuiteHome_1\forms\java\frmwebutil.jar"
    "C:\DevSuiteHome_1\forms\webutil>sign_webutil.bat c:\DevSuiteHome_1\forms\java\jacob.jar"
    But when I do that step on my Dos Prompt then it show below message and run.
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
    There were warnings or errors while generating a self signing certificate. Please review them.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\forms\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome\forms\java\jacob.jar
    The given jar file d:\devsuitehome\forms\java\jacob.jar does not exist.
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\jacob.jar
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
    There were warnings or errors while generating a self signing certificate. Please review them.
    Backing up d:\devsuitehome_1\forms\java\jacob.jar as d:\devsuitehome_1\forms\java\jacob.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\jacob.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    Can you please tell me, how can I solve that problem.

  • SOS : Bean not found in 'findByName'

    Blank
    Hi Rob,
    thankx for the fast reply and the detailed explanations.
    it's gettings things cleared for me..
    let me explain the way I have understood your explanation.
    I have an EJB (entity bean) called T_Exception. Suppose, this uses few classes in the jar file frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_Exception saying "Class-Path: frwUtil.jar" ?
    And this frwUtil.jar should be a part of the .ear where I have T_Exception?
    I have another EJB (session bean) T_ASM which uses T_Exception and also the classes in frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_ASM saying something like
    "Class-Path: T_Exception.jar frwUtil.jar" or it just have to be "Class-Path: T_Exception.jar" ?
    And this T_Exception.jar or frwUtil.jar doesn't have to be a part of this .ear file it the previous .ear file is already deployed, right?
    Please correct me if am wrong.
    In short, you are telling me that a support class or jar file which is deployed as part of an .ear file into an application server will be available for another EJB / class file in another .ear file which is also deployed after that. Am I right? I am getting confused in these areas.
    Another doubt is about the significance of manifest files.
    Is it something like one manifest file per a package / folder or something?
    Can I have more than one manifest file for the same package? doesn't sounds logical but just to know
    where and all manifest file comes into play? am not sure abt this..
    Is there some good tutorial available to learn more about this? if yes, please let me know!
    Like you said, setting the $CLASSPATH is definitely a bad practice. We are going to aviod that once this starts working. Thanks for your suggestion.
    regarding dOubt 3 -
    For your reference, below is the erorr that I got -
    javax.ejb.ObjectNotFoundException: Bean not found in 'findByName'.
    at com.tech.framework.propertyEJB.PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.ejbFindByName(PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.java:2001)
    at java.lang.reflect.Method.invoke(Native Method)
    the deployment of the bean goes without an error.
    and it doesn't look like a Finder exception also, right?
    and that's where am confused.
    the same bean is working without any problems like this in 2 - 3 application server instances.
    For the same reason, I don't think that there's a prob with the EJB QL used.
    But now we are trying to remotely deploy the EJBs and deployment doesnt give an error too.
    But the very first call to this bean is giving this error only in this set up.
    and we are struggling with this since the past few days.. trying out all possibilities..
    no luck so far.. .:(
    Thankx again.. in advance..
    "Rob Woollen" <[email protected]> wrote in message news:[email protected]...
    ibmMQ wrote:
    Hi Folks..
    sorry but these doubts are probably cause am a new bie..
    dOubt No 2:
    can I put all the support classes / jar files into the server the way I
    deploy a bean?Yes, make a Jar (or jars) that have the support classes. Package them within
    the EAR file and include a Class-Path entry in the manifest of any component
    that uses these classes.
    Here's an example: http://learnweblogic.com/updates/webauction.zip
    Do not put the classes in the $CLASSPATH. You will not be able to redeploy
    them if they are there.
    mean to ask, can I make a .war or .ear file with all these support jar files
    and ca I uplaod to the application server so that when I deploy a bean, it
    will have these necessary dependency classes ready in the server? As of now,
    I set the classpath in the startweblogic.cmd file which requires a server
    restart every now and then I add something to the server classpath.
    dOubt No 3:
    when do I get Bean not found in 'findByName'?
    I am rather confused with this error!
    We'd need some more info here. Are you sure that your EJB-QL is correct?
    -- Rob
    thankx in advance
    mNs
    [att1.html]
    [Blank Bkgrd.gif]

    BlankIs it possible that a corresponding object is not found for this findByName call and hence it throws this?
    because we tried accessing the same bean from an ordinary java client and it works!!!
    but I thought if it's not finding an Object to return for a given key, it throws FinderException!
    am more confused now, I guess..
    mNs
    "ibmMQ" <[email protected]> wrote in message news:[email protected]...
    Hi Rob,
    thankx for the fast reply and the detailed explanations.
    it's gettings things cleared for me..
    let me explain the way I have understood your explanation.
    I have an EJB (entity bean) called T_Exception. Suppose, this uses few classes in the jar file frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_Exception saying "Class-Path: frwUtil.jar" ?
    And this frwUtil.jar should be a part of the .ear where I have T_Exception?
    I have another EJB (session bean) T_ASM which uses T_Exception and also the classes in frwUtil.jar
    So, do you mean to say that I should have a manifest file with the EJB Jar of T_ASM saying something like
    "Class-Path: T_Exception.jar frwUtil.jar" or it just have to be "Class-Path: T_Exception.jar" ?
    And this T_Exception.jar or frwUtil.jar doesn't have to be a part of this .ear file it the previous .ear file is already deployed, right?
    Please correct me if am wrong.
    In short, you are telling me that a support class or jar file which is deployed as part of an .ear file into an application server will be available for another EJB / class file in another .ear file which is also deployed after that. Am I right? I am getting confused in these areas.
    Another doubt is about the significance of manifest files.
    Is it something like one manifest file per a package / folder or something?
    Can I have more than one manifest file for the same package? doesn't sounds logical but just to know
    where and all manifest file comes into play? am not sure abt this..
    Is there some good tutorial available to learn more about this? if yes, please let me know!
    Like you said, setting the $CLASSPATH is definitely a bad practice. We are going to aviod that once this starts working. Thanks for your suggestion.
    regarding dOubt 3 -
    For your reference, below is the erorr that I got -
    javax.ejb.ObjectNotFoundException: Bean not found in 'findByName'.
    at com.tech.framework.propertyEJB.PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.ejbFindByName(PropertyEJB_kzue3c__WebLogic_CMP_RDBMS.java:2001)
    at java.lang.reflect.Method.invoke(Native Method)
    the deployment of the bean goes without an error.
    and it doesn't look like a Finder exception also, right?
    and that's where am confused.
    the same bean is working without any problems like this in 2 - 3 application server instances.
    For the same reason, I don't think that there's a prob with the EJB QL used.
    But now we are trying to remotely deploy the EJBs and deployment doesnt give an error too.
    But the very first call to this bean is giving this error only in this set up.
    and we are struggling with this since the past few days.. trying out all possibilities..
    no luck so far.. .:(
    Thankx again.. in advance..
    "Rob Woollen" <[email protected]> wrote in message news:[email protected]...
    > ibmMQ wrote:
    >
    > > Hi Folks..
    > >
    > > sorry but these doubts are probably cause am a new bie..
    > >
    > > dOubt No 2:
    > > can I put all the support classes / jar files into the server the way I
    > > deploy a bean?
    >
    > Yes, make a Jar (or jars) that have the support classes. Package them within
    > the EAR file and include a Class-Path entry in the manifest of any component
    > that uses these classes.
    >
    > Here's an example: http://learnweblogic.com/updates/webauction.zip
    >
    > Do not put the classes in the $CLASSPATH. You will not be able to redeploy
    > them if they are there.
    >
    > >
    > > mean to ask, can I make a .war or .ear file with all these support jar files
    > > and ca I uplaod to the application server so that when I deploy a bean, it
    > > will have these necessary dependency classes ready in the server? As of now,
    > > I set the classpath in the startweblogic.cmd file which requires a server
    > > restart every now and then I add something to the server classpath.
    > >
    > > dOubt No 3:
    > > when do I get Bean not found in 'findByName'?
    > > I am rather confused with this error!
    > >
    >
    > We'd need some more info here. Are you sure that your EJB-QL is correct?
    >
    > -- Rob
    >
    >
    >
    > >
    > > thankx in advance
    > > mNs
    >
    [att1.html]
    [Blank Bkgrd.gif]

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

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

  • Oracle.forms.webutil.browser.BrowserFunctions bean not found [SOLVED]

    Hi. We develop our 10g forms on the Windows side and then deploy then on our UNIX server.
    I have an application that compiles and runs fine when deployed on the UNIX-side of things, but when I attempt to run it on the Windows-side of things I get the error:
    oracle.forms.webutil.browser.BrowserFunctions bean not found. WEBUTIL_SEPARATEFRAME. IsSeparateFrame will not work.
    If I acknowledge this message then the form continues to run, but if it attempts to execute the WebUtil Client_Host functionality then I get the error:
    oracle.forms.webutil.browser.BrowserFunctions bean not found. WEBUTIL.HOST.Execute will not work.
    Any suggestions as to what I might have messed up configuration-wise on the Windows-side of things? Any help would be greatly appreciated!

    Ugh. I wasn't pointing to the WebUtil configuration. All good now.

  • Webutil_demo "Bean Not found "

    Hello
    Please Help on this issue… Please
    I downloaded webutil_demo and setup the demo application as per documentation. But Still if I some errors:
         At design time I can not see the webutil_canvas ( This is a reference object, So no Problem)
         Next, When I run the form I got some errors ……
              Oracle.forms.webutil.clientinfo.getclientinfo bean not found.
         And
              Some bean not found. I don’t know.
    Please Help
    Selvam

    Hello.
    I have the same problem.
    Is there a solution for this?
    Thanks.

  • WebUtil - Bean Not Found

    HI......
    I am working on Oracle Forms 10g Release 2:
    Just downloaded webutil_106.zip and Unzip jacob_18.zip
    to D:\DevSuiteHome_1\forms\java, D:\DevSuiteHome_1\forms\server
    and done all the config setups .
    WEBUTIL_CONFIG and CLASSPATH are already set in default.env
    Appended the configuration of D:\DevSuiteHome_1\forms\server\formsweb.cfg
    archive_jini=f90all_jinit.jar,frmwebutil.jar,jacob.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar
    but when I am doing sign_webutil.bat D:\DevSuiteHome_1\forms\java\frmwebutil.jar getting error as
    sign_webutil.bat C:\DevSuiteHome_1\forms\java\jacob.jar getting error as an internal or external command,
    operable program or batch file.
    plZ help
    roopa

    is this post now obsolete ?? WebUtil Demo Runtime "Bean not found" Error
    if so, please tell us, because this post is not as big as the other

Maybe you are looking for