Hi all ,

I am new to tomcat administration. I have a JSP - Servlet architecture
application , which works fine when I copy my JSP pages to
<Catalina_Home>/webapps/ROOT directory and the servlets to
<catalina_home>/classes/ directory.

Now , we have put this application into CVS repository. I checked out the
files to a local directory called d:\CVSCheckout .

The directories I checkedout are like "JSP" and "ServletDIR" .

I succesfully added a new context to the server.xml of Tomcat , to read the
JSP files from d:\CVSCheckout\JSP . But I am NOT able to tell Tomcat,  to
look for the classes from D:\CVSCheckout\ServletDIR\" ... ServletDIR has a
pakcage structure which I use in my servlets.

I had tried this by adding the above mentioned directory to the classpath
like "set classpath=d:\CVSCheckout\ServletDIR;%classpath%; "

I get the following error :

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: mobilemedia.common.UserLogin
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:471)
        at org.apache.jsp.doLogon$jsp._jspService(doLogon$jsp.java:369)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)


Can any one help me in configuring my TOmcat to the checkout directory .

I appreciate your help.

Thanks
Ibrahim
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to