The value for the useBean class attribute... is invalid
- From: "Caldarale, Charles R" <Chuck.Caldarale (at) unisys.com>
- Date: Wed, 11 Oct 2006 10:58:56 -0500
> From: Aynalem, Seblewengel (Trawick)
> [mailto:Seblewengel.Aynalem (at) USPTO.GOV]
> Subject: RE: The value for the useBean class attribute... is invalid
I don't think any of the following will resolve your immediate problem,
but there are a couple of odd things in your app deployment and
configuration.
> WEB-INF\classes\isotrakcing\SessionBean.class
Is the above a typo, or did you actually misspell "isotracking" in your
directory structure?
> I moved META-INF and WEB-INF from isotrackingtest\META-INF
> and isotrackingtest\WEB-INF to isotrakcingtest\isotrakcing\.
Clearly the wrong thing to do - read the Servlet spec for proper
directory structure. The WEB-INF and META-INF directories must be at
the level of the web application, not buried below it. Why do you have
all these isotracking subdirectories?
> <servlet>
> <servlet-name>ISOTracking.Login_jsp</servlet-name>
> <servlet-class>ISOTracking.Login_jsp</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>ISOTracking.Login_jsp</servlet-name>
> <url-pattern>/Login.jsp</url-pattern>
> </servlet-mapping>
You must be pre-compiling your Login.jsp file to do the above.
> <Context debug="0" displayName="ISOTracking"
> docBase="../isotracking/isotracking" path="" reloadable="true">
Check the 5.5 docs for the <Context> element - neither the path nor the
docBase attribute can be used when stored in META-INF/context.xml. They
should be ignored, but there's a possibility they're confounding the
issue.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org