You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by frank <ve...@canasoft.net> on 2000/08/24 20:14:49 UTC

virtual server configuration

  Hello to all:

I am trying to set up tomcat to do virtual hosting. My problem
is that I am very new to jsp stuff. So I started by just trying
to do simple stuff. I added the Include path to tomcat-apache.conf
to the httpd.conf file. I got tomcat to work all the examples.
WHen I tried to add the jsp files that someone gave to me I
ran into problems. I edited the server.xml file and I think it
is ok. Here is my file paths and the error I get. Question, am
I missing files or do I not have things configured properly.

biba/CreditCardResponse.jsp
biba/PhoneResponse.jsp

biba/WEB-INF:
total 8
drwxr-xr-x   2 biba     root         4096 Jun 21 21:22 classes/
-rw-r--r--   1 root     root         3168 Aug 24 13:22 web.xml

-rw-r--r--   1 root     root         3168 Aug 24 13:22 WEB-INF/web.xml

WEB-INF/classes:
total 308
-rwxr-xr-x   1 biba     root        45386 Jun 20 21:39 activation.jar*
-rwxr-xr-x   1 biba     root       225932 Jun 20 21:39 mail.jar*
-rwxr-xr-x   1 biba     root        30702 May 18 22:52 servlet-2.0.jar*

Error: 500

Location: /biba/PhoneResponse.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for
JSP/usr/share/jakarta-tomcat/work_biba/localhost_8080%2Fbiba/_0002fPhoneResponse_0002ejspPhoneResponse_jsp_0.java:15: Package
javax.mail not found in import.
import javax.mail.*;
       ^
/usr/share/jakarta-tomcat/work_biba/localhost_8080%2Fbiba/_0002fPhoneResponse_0002ejspPhoneResponse_jsp_0.java:16: Package
javax.mail.internet not found in import.
import javax.mail.internet.*;
       ^
/usr/share/jakarta-tomcat/work_biba/localhost_8080%2Fbiba/_0002fPhoneResponse_0002ejspPhoneResponse_jsp_0.java:17: Package
javax.activation not found in import.
import javax.activation.*;
       ^
3 errors

        at org.apache.jasper.compiler.Compiler.compile(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled
Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled
Code)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled
Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at
org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled
Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)


-
sysadm  canasoft.net , wapda.com       
e-mail  frank@canasoft.net

ICQ-UIN  8353643    POWERED BY LINUX