RE: Issues with Tomcat 4.0.1 and WebAppDeploy

2002-02-04 Thread Donna Molinari

Hello Punky,

I tried this and I am unable to get to the manager, I get

- HTTP Status 404 - /manager

Now what?

-Original Message-
From: Punky Tse [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 03, 2002 7:50 PM
To: Donna Molinari
Cc: Tomcat Developers List
Subject: Re: Issues with Tomcat 4.0.1 and WebAppDeploy


Donna,

First, what does access_log and error_log say?  Can you see Web-application
not yet deployed in error_log?
Second, can you reach http://papeete:88/manager/ ?

Do you start Tomcat before httpd is started?  Try this sequence.  If you use
webapp-1.0.1 you will encounter such problem.

Regards,
Punky


- Original Message -
From: Donna Molinari [EMAIL PROTECTED]
To: 'Punky Tse' [EMAIL PROTECTED]
Cc: Donna Molinari [EMAIL PROTECTED]; Tomcat Developers
List [EMAIL PROTECTED]
Sent: Saturday, February 02, 2002 12:34 AM
Subject: RE: Issues with Tomcat 4.0.1 and WebAppDeploy


 Hello Punky,

 Thank you for your response. I was able to get Tomcat and Apache working
 without no errors, but this is what happens now. It doesn't see the
examples
 under Tomcat's webapps directory. Is there something I need to add more
 to the httpd.conf file to point to the webapps directory that examples is
 the vitural URL?   Like the Context directive:

 /examples/  /web/jakarta-tomcat-4.0.1/webapps/examples

 Tomcat Connection to Examples: http://papeete:8080/examples/
 Apache Connection to Examples, fails with HTTP 404 :
 http://papeete:88/examples/
 Apache Tomcat Connection to web_Info is Successful:
 http://papeete:88/webapp-info/

 #
 # VirtualHost example:
 # Almost any Apache directive may go into a VirtualHost container.
 # The first VirtualHost section is used for requests without a known
 # server name.
 #
 WebAppConnection warpConnection warp papeete:8008
 VirtualHost *
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /web/jakarta-tomcat-4.0.1/webapps
 ServerName papeete.remedy.com
 ErrorLog /web/apache1.3.23/var/log/error_log
 Transferlog /web/apache1.3.23/var/log/access_log
 IfModule mod_webapp.c
 WebAppDeploy manager warpConnection /manager
 WebAppDeploy examples warpConnection /examples
 WebAppDeploy ROOT warpConnection /
 WebAppInfo /webapp-info
 /IfModule
 /VirtualHost

 -Original Message-
 From: Punky Tse [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 31, 2002 6:53 PM
 To: Tomcat Developers List
 Cc: Donna Molinari
 Subject: Re: Issues with Tomcat 4.0.1 and WebAppDeploy


 This line is wrong:
 WebAppDeploy /web/jakarta-tomcat-4.0.1/webapps/examples warpConnection
 /examples

 /web/jakarta-tomcat-4.0.1/webapps/examples is not a web application name.
It
 is a file location. Instead,

 WebAppDeploy examples warpConnection /examples

 should work.

 see the description from INSTALL.txt from mod_webapp:
 ===
 WebAppDeploy [application name] [connection name] [url path]

 [application name]
 The application name as present in your webapps directory in
 Tomcat. For example, if you want to deploy a WAR-based web
 application, your application name will look something like
 myApplication.war.
 ===

 - Punky

 - Original Message -
 From: Donna Molinari [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: Donna Molinari [EMAIL PROTECTED]
 Sent: Friday, February 01, 2002 5:23 AM
 Subject: FW: Issues with Tomcat 4.0.1 and WebAppDeploy


   Hello Apache,
  I really need someone help on the following problems and bugs found
  when trying to use WebAppDeploy. The procedures caused syntax
  errors, once syntax was fixed received the errors shown below. Attached
  are my configuration files, I would appreciate someone letting me know
  if you where successful in using the WARP Connector :-)
 
error_log.txt   httpd.conf.txt  apxs.txt  server.xml
   Subject:  Apache 1.3.23 and Tomcat 4.0.1
  
   How do I enter a bug on the following error. I am unable to get the
   WebAppDeploy
   working.  Attached please see my configuration files - your
instructions
   caused
   syntax errors and now there errors after I fixed the syntax errors in
 the
   httpd.conf
   file.
  
   Apache error_log File
   [Wed Jan 30 18:09:04 2002] [notice] caught SIGTERM, shutting down
   [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
   connect
   [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
 warpConnection
   [Wed Jan 30 18:09:34 2002] [notice] Apache/1.3.23 (Unix) configured --
   resuming normal operations
   [Wed Jan 30 18:09:34 2002] [notice] Accept mutex: fcntl (Default:
fcntl)
   [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
   connect
   [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
 warpConnection
   [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
   connect
   [Wed Jan 30 18:09:34 2002] [error] Cannot open connection

RE: Issues with Tomcat 4.0.1 and WebAppDeploy

2002-02-04 Thread Donna Molinari


2002-02-04 09:12:04 [org.apache.catalina.connector.warp.WarpConnector]
Connection from papeete/10.40.47.78:54331 to
Hello Punky,

There are many log files with Tomcat and in this log file, I found an
Java Exception in the apache_log.2002-02-04.txt.  Please see
again my attached configuration files, is there something wrong?


 httpd.conf (apache 1.3.23).txt  server.xml (tomcat 4.0.1).txt 


papeete/10.40.47.78:8008
2002-02-04 09:12:04 WarpEngine[Apache]: Mapping request
2002-02-04 09:12:04 WarpHost[papeete]: Mapping request for Host
2002-02-04 09:12:04
[org.apache.catalina.connector.warp.WarpConfigurationHandler] 
Filter mappings (0)
2002-02-04 09:12:05
[org.apache.catalina.connector.warp.WarpConfigurationHandler] 
Filter mappings (2)
2002-02-04 09:12:05
[org.apache.catalina.connector.warp.WarpConfigurationHandler] 
Filter mappings (0)
2002-02-04 11:04:54 [org.apache.catalina.connector.warp.WarpConnection] 
Exception on socket java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
37)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:112)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)

2002-02-04 11:04:54 [org.apache.catalina.connector.warp.WarpConnection] 
Exception on socket java.io.IOException: Premature packet header end
at
org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:2
37)
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java:112)
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:484)



_
Take Care,
Donna J. Molinari 
Solutions Group (WebQA)
Platform Technologies Engineering
Mid-Tier Performance Benchmark
Peregrine Systems, Inc.
Office:   MTV3, Room #1396
Phone:   650-903-5204
Email:mailto:[EMAIL PROTECTED]



From: Donna Molinari [[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 11:32 AM
To: undisclosed-recipients

##
## httpd.conf -- Apache HTTP server configuration file
##

#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://www.apache.org/docs/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# After this file is processed, the server will look for and process
# /web/apache1.3.23/conf/srm.conf and then /web/apache1.3.23/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache will be interpreted by the
# server as /usr/local/apache/logs/foo.log.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerType is either inetd, or standalone.  Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at URL:http://www.apache.org/docs/mod/core.html#lockfile);
# you will save yourself a lot of trouble.
#
ServerRoot /web/apache1.3.23

#
# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED

RE: Issues with Tomcat 4.0.1 and WebAppDeploy

2002-02-01 Thread Donna Molinari

Hello Punky,

Thank you for your response. I was able to get Tomcat and Apache working
without no errors, but this is what happens now. It doesn't see the examples
under Tomcat's webapps directory. Is there something I need to add more
to the httpd.conf file to point to the webapps directory that examples is
the vitural URL?   Like the Context directive:   

/examples/  /web/jakarta-tomcat-4.0.1/webapps/examples

Tomcat Connection to Examples: http://papeete:8080/examples/
Apache Connection to Examples, fails with HTTP 404 :
http://papeete:88/examples/
Apache Tomcat Connection to web_Info is Successful:
http://papeete:88/webapp-info/

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
WebAppConnection warpConnection warp papeete:8008
VirtualHost *
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /web/jakarta-tomcat-4.0.1/webapps
ServerName papeete.remedy.com
ErrorLog /web/apache1.3.23/var/log/error_log
Transferlog /web/apache1.3.23/var/log/access_log
IfModule mod_webapp.c
WebAppDeploy manager warpConnection /manager
WebAppDeploy examples warpConnection /examples
WebAppDeploy ROOT warpConnection /
WebAppInfo /webapp-info
/IfModule
/VirtualHost

-Original Message-
From: Punky Tse [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 6:53 PM
To: Tomcat Developers List
Cc: Donna Molinari
Subject: Re: Issues with Tomcat 4.0.1 and WebAppDeploy


This line is wrong:
WebAppDeploy /web/jakarta-tomcat-4.0.1/webapps/examples warpConnection
/examples

/web/jakarta-tomcat-4.0.1/webapps/examples is not a web application name. It
is a file location. Instead,

WebAppDeploy examples warpConnection /examples

should work.

see the description from INSTALL.txt from mod_webapp:
===
WebAppDeploy [application name] [connection name] [url path]

[application name]
The application name as present in your webapps directory in
Tomcat. For example, if you want to deploy a WAR-based web
application, your application name will look something like
myApplication.war.
===

- Punky

- Original Message -
From: Donna Molinari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Donna Molinari [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 5:23 AM
Subject: FW: Issues with Tomcat 4.0.1 and WebAppDeploy


  Hello Apache,
 I really need someone help on the following problems and bugs found
 when trying to use WebAppDeploy. The procedures caused syntax
 errors, once syntax was fixed received the errors shown below. Attached
 are my configuration files, I would appreciate someone letting me know
 if you where successful in using the WARP Connector :-)

   error_log.txt   httpd.conf.txt  apxs.txt  server.xml
  Subject:  Apache 1.3.23 and Tomcat 4.0.1
 
  How do I enter a bug on the following error. I am unable to get the
  WebAppDeploy
  working.  Attached please see my configuration files - your instructions
  caused
  syntax errors and now there errors after I fixed the syntax errors in
the
  httpd.conf
  file.
 
  Apache error_log File
  [Wed Jan 30 18:09:04 2002] [notice] caught SIGTERM, shutting down
  [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
  connect
  [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
warpConnection
  [Wed Jan 30 18:09:34 2002] [notice] Apache/1.3.23 (Unix) configured --
  resuming normal operations
  [Wed Jan 30 18:09:34 2002] [notice] Accept mutex: fcntl (Default: fcntl)
  [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
  connect
  [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
warpConnection
  [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
  connect
  [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
warpConnection
  [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
  connect
  [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
warpConnection
  [Wed Jan 30 18:09:34 2002] [error] Connection warpConnection cannot
  connect
  [Wed Jan 30 18:09:34 2002] [error] Cannot open connection
warpConnection
 
 
  _
  Take Care,
  Donna J. Molinari
  Solutions Group (WebQA)
  Platform Technologies Engineering
  Mid-Tier Performance Benchmark
  Peregrine Systems, Inc.
  Office:   MTV3, Room #1396
  Phone:   650-903-5204
  Email:mailto:[EMAIL PROTECTED]
 







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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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