All-

Three pages into my application I am attempting to retrieve a bean using the
same useBean clause as on the second page (cut and paste here for
comparison):

  <jsp:useBean id="CAMPAIGN" scope="session"
type="com.recommendit.beans.CampaignVB106Bean"  > </jsp:useBean>
  <jsp:useBean id="CAMPAIGN" scope="session"
type="com.recommendit.beans.CampaignVB106Bean"  > </jsp:useBean>

The bean should already be in the session from previous pages; therefore, I
have a type clause instead of a class clause.

I am receiving the following error on a inconsistent basis:
  java.lang.InstantiationException: bean CAMPAIGN  not found within scope

I am using Tomcat 3.2b8 with URL rewriting in conjunction Apache 1.3 on
Redhat Linux 6.2.

Is it possible that the application server is not attaching back to the same
session.  I have started logging the session ids and cookies to a log file
and there may be some mismatch here.

Thoughts?

Thanks for the help.

James M. Morgenstein
BEGIN:VCARD
VERSION:2.1
N:Morgenstein;James;Michael;Mr.
FN:James Michael Morgenstein
NICKNAME:James
ORG:Recommend-It;Technology
TITLE:Vice-President
TEL;WORK;VOICE:732-296-8885
TEL;PAGER;VOICE:888-767-1583
TEL;WORK;FAX:732-296-8817
ADR;WORK:;;77 Paterson Street;New Brunswick;NJ;08901;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:77 Paterson Street=0D=0ANew Brunswick, NJ 08901=0D=0AUSA
URL:
URL:http://www.recommend-it.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20000623T031446Z
END:VCARD

Reply via email to