--
Daniela Ferrarini wrote:
> --
>
> Hi,
>
> I installed Apache Server Win32 1.3.6 + Jserv 1.0 + GnuJSP 0-9-10
> under WIN95, I hope correctly .
>
> When I try to activate a simple servlet or a simple jsp page all seem to
> work well.
>
> I built a simple jsp file including the <BEAN name="tester"
> type="test.TestBean"></BEAN> directive,
> gnujsp compiles correctly without error messages and it produces files
> under the corrisponding servlet directory but the Jserv return always
> the following error
>
> in the mod_jserv.log:
>
> [08/07/1999 16:33:38:890] (ERROR) ajp11: Servlet Error:
> java.lang.NoClassDefFoundError: test/TestBean: test/TestBean
> [08/07/1999 16:33:38:890] (ERROR) an error returned handling request via
> protocol "ajpv11"
>
The system class path has no effect on servlets in Apache JServ.
The directory that contains your "test" directory needs to be listed in the
zone repositories. For example, if you have your bean at the following
location:
/usr/local/src/test/TestBean.class
Then you would need the following line in your zone properties file:
repositories=/usr/local/src
Also, a couple of other things to check:
* Can the OS username under which Apache is
running read this directory and the files in it.
* Do you have "package test" at the top of
the source code in TestBean.java?
Craig McClanahan
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]