473,221 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

two hosts setup, jsp won't work on Tomcat 5


I run Tomcat5.0.24 on Fedora Core 1. I have two hosts defined in
server.xml in a following way:

<Host name ="WebTest1.something.com" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true" xmlValidation="false"
<Context path="" docBase="WebTest1" debug="5"/>

<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_WebTest1_log." suffix=".txt"

<Host name ="WebTest2.something.com" debug="0"
appBase="webapps" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">

<Context path="/WebTest2" docBase="WebTest2" debug="0"

<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_WebTest2_log." suffix=".txt"


I have proper DNS entries on my DNS server for both hosts.
First host is a simple http website and a second host is a jsp
I'm able to access both sites but when I run the jsp application (
WebTest2) I'm able to go through some jsp pages and then I get an

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.* in

I copied the above jars to
/var/tomcat5/webapps/WebTest2/WEB-INF/classes just in case and got the
same error.
Does this have anything to do with the hosts I've defined? Did I
create a wrong directory structure?
My jsps are in /var/tomcat5/webapps/WebTest2
Everything below /var/tomcat5/webapps is owned by tomcat5 user. My
Tomcat is running as root since I need it to be listening on port 80.
Cat it be a permissions problem?

Any help would be appreciated.
Thanks in advance
Jul 17 '05 #1
0 1806

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Tom L | last post by:
I have a vb.net app that I created a setup for. I can install it and run it just fine on my XP box, but I'm having problems ont he NT4 workstation box. the nt4 box has sp6a, the .net 1.1 clr,...
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
by: Tom L | last post by:
I have a vb.net app that I created a setup for. I can install it and run it just fine on my XP box, but I'm having problems ont he NT4 workstation box. the nt4 box has sp6a, the .net 1.1 clr,...
by: Ankit Aneja | last post by:
Hi I have made a windows service in C#.Net Now I want to create a setup of this service http://www.codeproject.com/dotnet/simplewindowsservice.asp I read this article Now my service is also using...
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.