Re: web.xml in Tomcat 4.0 -- HELP

2002-02-22 Thread Steve Fyfe

The name of the WEB-INF folder must be all capital letters. If you truely did name it 
Web-Inf Tomcat should ignore the folder.

Steve Fyfe
CNI Corporation
394 Elm Street
Milford NH 03055

[EMAIL PROTECTED]
(603) 673-6600 x242

 [EMAIL PROTECTED] Thursday, February 21, 2002 12:15:52 PM 
No body replied to this yet .. I'd like to explain it
again and see if some body can help me.

I have a web application running perfectly fine with
Tomcat 3.2.1. When I upgrade to 4.0.2 I couldn't run
that.

After installing 4.0.2, I've added a servlet context
for my web application in
CATALINA_HOME/conf/server.xml
and registered my servlet (servlet name:
MainController) in WEBAPP/Web-Inf/web.xml. I've also
added a url-pattern for it.

After all that and restarting tomcat, I've tried to
access that servlet by localhost:8080/testwebapp/main
- I'm getting a response 404 error. The error is some
thing like this:

--
Apache Tomcat/4.0.2 - HTTP Status 404 - /main

type: Status report

message: /main

description: The requested resource (/main) is not
available.
---

What is that I'm missing? Can some body please help
...

-Surya

--- Surya Suravarapu [EMAIL PROTECTED] wrote:
 I've observed that Tomcat is reading conf/web.xml in
 version 4.0 unlike 3.2. 
 
 I have a web-inf/web.xml in my web application
 folder.
 I have my servlet registered there and have a
 URL-pattern mapped for it. But when I try to run the
 application I am getting 404 File Not Found error.
 
 Error message:
 Apache Tomcat/4.0.2 - HTTP Status 404 - /main
 
 Can some body please help me.
 
 Thanks.
 -Surya
 
 __
 Do You Yahoo!?
 Yahoo! Sports - Coverage of the 2002 Olympic Games
 http://sports.yahoo.com 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: windows, tomcat.log

2001-05-18 Thread Steve Fyfe

Even though the message says to check tomcat.log, the logging messages will display in 
the dos window unless you change conf/server.xml. Read the comments in conf/server.xml 
for more info. 

Steve Fyfe
CNI Corporation
Milford New Hampshire

[EMAIL PROTECTED]
(603) 673-6600 x242

-Original Message-
From:   [EMAIL PROTECTED] 
Sent:   Friday, May 18, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject:windows, tomcat.log

When I start tomcat on Win2k, it says, Check logs/tomcat.log for error 
messages.

There is no tomcat.log file anywhere on the server, and the only files in 
logs/ are:  jasper.log, mod_jk.log, and servlet.log.

Where are tomcat error messages being logged?

Thanks for any help you can provide.

Aaron


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dr. Aaron Titus
Department of Physics
316 Marteena Hall
North Carolina AT State University
Greensboro, NC  27411

Email:  [EMAIL PROTECTED]
Phone: (336) 334-7646
Fax:   (336) 256-0815
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




RE: mod_jk under darwin (OS X)

2001-04-06 Thread Steve Fyfe

I followed the suggestions on this page, and it worked for me

http://www.omnigroup.com/mailman/archive/macosx-dev/2001-January/008142.html

Steve Fyfe
CNI Corporation
Milford New Hampshire

[EMAIL PROTECTED]
(603) 673-6600

-Original Message-
From:   [EMAIL PROTECTED] 
Sent:   Friday, April 06, 2001 2:32 AM
To: [EMAIL PROTECTED]
Subject:mod_jk under darwin (OS X)

Hi all,

I'm trying to get mod_jk to compile under OS X but it seems that it relies
on glibc - which is not (yet?) ported to Darwin.

Does anybody know if this happens to be the case and if so is there any
other way to get mod_jk to compile?

Cheers,


-Morten

---
Rayon Interactive AS http://www.rayon.no
Morten Lerskau R nseth   mailto:[EMAIL PROTECTED]
Karenslyst All  16d  Tlf.: (47) 2213 5250
0278 OsloFax : (47) 2213 5260
Norway   ICQ: 25163080

PGP fingerprint: F851 91B6 1D81 1409 8B62  3E14 5A60 65F8 5AF4 56AF




RE: Tomcat dies on OS X

2001-03-23 Thread Steve Fyfe

It runs fine for me when I start it from a Terminal window using the Tomcat.sh script. 
I did make sure to define the TOMCAT_HOME and JAVA_HOME environment variables first. 
And I am using it with Apache, not standalone.

How did you get it started? What exactly did you get for a stack trace? You may need 
to enable more logging options to track down the problem.

Steve Fyfe
CNI Corporation
Milford New Hampshire

[EMAIL PROTECTED]
(603) 673-6600

-Original Message-
From:   [EMAIL PROTECTED] 
Sent:   Thursday, March 22, 2001 12:31 PM
To: [EMAIL PROTECTED]
Subject:Tomcat dies on OS X

I'm running tomcat 3.2.1. on Mac OS X Public Beta and after starting
tomcat up, it will suddenly die not respond...When I shut it down it
throws me some errors pertaining to the HttpConnectionHandler class.

When I try to startup again, it throws the same error.  If I change the
port number in server.xml and restart the whole problematic cycle starts
again.

I've narrowed down some specific behaviors like:
- when I start tomcat, I can access the main page at http://localhost:port
- context manager recognizes and sets the appropriate paths for my
  servlets and jsps
- when I try to access my servlets/jsps, tomcat suddenly does not respond
  and thats where the trouble starts...

if anyone has any insights or information about this behavior, pls let me
know...

// s a n d e e p
// [EMAIL PROTECTED]