Re: Can someone help me please?????

2002-03-01 Thread Dieter Lunn

Here is the file.  I also want to have the apache integration which doesn't 
start
 

On March  1, 2002 11:32 am, you wrote:
 Hi,
 send us ( or me ) your server configuration file (/conf/server.xml)

 - Original Message -
 From: Dieter Lunn [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 6:25 PM
 Subject: Can someone help me please?

  Hi,
 
  I downloaded the nightly build and it started fine but it won't deploy an
  app I have and I can't connect using localhost:8080. Could someone please
  help?

 --
 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: Can someone help me please?????

2002-03-01 Thread Dieter Lunn

Must be the mailer 

On March  1, 2002 11:50 am, you wrote:
 is my mailer down or your attachment is really empty?

 - Original Message -
 From: Dieter Lunn [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 6:40 PM
 Subject: Re: Can someone help me please?

  Here is the file.  I also want to have the apache integration which

 doesn't

  start
 
  On March  1, 2002 11:32 am, you wrote:
   Hi,
   send us ( or me ) your server configuration file (/conf/server.xml)
  
   - Original Message -
   From: Dieter Lunn [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, March 01, 2002 6:25 PM
   Subject: Can someone help me please?
  
Hi,
   
I downloaded the nightly build and it started fine but it won't
deploy

 an

app I have and I can't connect using localhost:8080. Could someone

 please

help?
  
   --
   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]

 --
 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: Can someone help me please?????

2002-03-01 Thread Dieter Lunn
=javax.sql.DataSource/
  ResourceParams name=jdbc/EmployeeAppDb
parameternameuser/namevaluesa/value/parameter
parameternamepassword/namevalue/value/parameter
parameternamedriverClassName/name
  valueorg.hsql.jdbcDriver/value/parameter
parameternamedriverName/name
  valuejdbc:HypersonicSQL:database/value/parameter
  /ResourceParams
  Resource name=mail/Session auth=Container
type=javax.mail.Session/
  ResourceParams name=mail/Session
parameter
  namemail.smtp.host/name
  valuelocalhost/value
/parameter
  /ResourceParams
  ResourceLink name=linkToGlobalResource 
global=simpleValue
type=java.lang.Integer/
/Context

  /Host

/Engine

  /Service

  !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
   as its servlet container. Please read the README.txt file coming with
   the WebApp Module distribution on how to build it.
   (Or check out the jakarta-tomcat-connectors/webapp CVS repository)

   To configure the Apache side, you must ensure that you have the
   ServerName and Port directives defined in httpd.conf.  Then,
   lines like these to the bottom of your httpd.conf file:

 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy examples warpConnection /examples/

   The next time you restart Apache (after restarting Tomcat, if needed)
   the connection will be established, and all applications you make
   visible via WebAppDeploy directives can be accessed through Apache.
  --

  !-- Define an Apache-Connector Service --
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=webapps
 acceptCount=10 debug=0/

!-- Replace localhost with what your Apache ServerName is set to --
Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  !-- Because this Realm is here, an instance will be shared globally --
  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service

/Server


On March  1, 2002 11:50 am, you wrote:
 is my mailer down or your attachment is really empty?

 - Original Message -
 From: Dieter Lunn [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 6:40 PM
 Subject: Re: Can someone help me please?

  Here is the file.  I also want to have the apache integration which

 doesn't

  start
 
  On March  1, 2002 11:32 am, you wrote:
   Hi,
   send us ( or me ) your server configuration file (/conf/server.xml)
  
   - Original Message -
   From: Dieter Lunn [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, March 01, 2002 6:25 PM
   Subject: Can someone help me please?
  
Hi,
   
I downloaded the nightly build and it started fine but it won't
deploy

 an

app I have and I can't connect using localhost:8080. Could someone

 please

help?
  
   --
   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]

 --
 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]




Deploying apps

2002-02-28 Thread Dieter Lunn

Hi,

I downloaded todays nightly build and it started fine but it won't deploy an 
app I have and I can't connect using localhost:8080. Could someone please 
help?

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




Re: tomcat/apache integration

2002-02-25 Thread Dieter Lunn

Try downloading and using the latest mod_webapp cause it may be a problem 
with that and not your config


On February 25, 2002 04:29 pm, you wrote:
 Hi,

 I apologize if this is not an appropriate questionfor this user list,
 I am uncertain if it is a Tomcat or Apache question...

 Are there any known changes in the way that Tomcat is integrated into
 Apache 1.3.22 versus Apache 1.3.23?

 I just upgraded my server from 1.3.22 to 1.3.23 (the configuration is
 unchanged). The Apache-Tomcat integration was working fine before the
 upgrade but now the Apache server is unable to deploy Tomcat webapps.
 When I start up the server, the error_log begins filling up with lines
 like:

[Mon Feb 25 13:35:20 2002] [error] Cannot deploy application examples


 Tomcat is running okay, I can connect to it through the stand-alone
 port and all servlets, jsps and soap services work correctly, but the
 apache_log (that is the apache log under Tomcat) shows this error:

2002-02-25 13:35:19
 [org.apache.catalina.connector.warp.WarpConfigurationHandler]
 java.lang.IllegalArgumentException: addChild:  Child name
 'sage.mip.berkeley.edu' is not unique


 The name sage.mip.berkeley.edu appears exactly 1 time in the Apache and
 Tomcat config files, in the Apache ServerName directive, warp connections
 are declared using localhost, i.e:

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples

 Any ideas on this would be greatly appreciated...

 Glen Jackson
 
 Museum Informatics Project
 UC, Berkeley

 --
 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: Tomcat failure to start

2002-02-23 Thread Dieter Lunn

Can someone help please?

On February 22, 2002 03:10 pm, you wrote:
 Hi,

 Tomcat doesn't want to start on my RedHat 7.1 system.  I get this error in
 my log:
 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [
 -debug ] [ -nonaming ] { start | stop }

 and catalina.sh is loading
 org.apache.catalina.startup.Bootstrap

 Can someone help please?

 --
 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]




Tomcat failure to start

2002-02-22 Thread Dieter Lunn

Hi,

Tomcat doesn't want to start on my RedHat 7.1 system.  I get this error in my 
log:
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ 
-debug ] [ -nonaming ] { start | stop }

and catalina.sh is loading
org.apache.catalina.startup.Bootstrap

Can someone help please?  

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




Re: Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-21 Thread Dieter Lunn

More info on my problem.  catalina.sh is loading 
org.apache.catalina.startup.Bootstrap
Note: I did not edit startup.sh or catalina.sh in any way

On February 20, 2002 03:48 pm, you wrote:
 I'd say there's your problem.  usage: java org.apache.(etc.) indicates
 something isn't right in how catalina.sh is calling java.

 I would check your variables like CATALINA_OPTS, CATALINA_HOME,
 CATALINA_BASE for typo's or errors.  Provided you didn't edit startup.sh or
 catalina.sh, things should work right.

 If all that's correct, try putting in an echo command on the line above
 where java... is called in catalina.sh to see what is trying to be
 executed.

 --David

 On Wednesday 20 February 2002 03:01 pm, you wrote:
  Answers in reply
 
  On February 20, 2002 01:14 pm, you wrote:
   I can offer a little help.
  
   What os are you running?  If you are on a unix ( which it looks like)
   variation run ps -ef | grep java. If it reurns something your are
   running. If not there is something else wrong.  Send in the output of
   the startup.sh
 
  I am running RedHat 7.1
 
   Did k the logs? I think cataline.out  will give you the errors.
 
  catalina.out contains:
 
  usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [
  -debug ] [ -nonaming ] { start | stop }
 
   What does you httpd.conf look like??  Is apache running??
 
  Apache runs and works with Tomcat using mod_webapp
 
   How are you calling your domain?
 
  domain is localhost
 
   Give a little info
  
   chad

 --
 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: Configuring Tomcat/apache service with mod_jk

2002-02-20 Thread Dieter Lunn

It can't find your worker.properties file where you said it will be.

On February 20, 2002 08:57 am, you wrote:
 I've been trying Tomcat/Apache with mod_webapp and now I'd like to
 compare with mod_jk

 I'm using a RedHat 7.1 with these RPM's:

 apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2
 mod_bandwidth-2.0.3-2)

 tomcat4-4.0.2-2

 mod_jk-1.3-1.0-1.4.0.2

 #A part of httpd.conf

 LoadModule jk_module  modules/mod_jk.so

 ###In my virtual Host section

 Port 8009
 IfModule mod_jk.c
   JkWorkersFile /etc/httpd/conf/workers.properties
   JkLogFile logs/mod_jk.log
   JkLogLevel info
   JkMount /*.jsp ajp13
   JkMount /servlet/* ajp13
 /IfModule
 

 workers.properties

 workers.tomcat_home=/var/tomcat4
 workers.java_home=/opt/IBMJava2-13
 ps=/
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=site.presidence.univ-nantes.fr
 worker.ajp13.type=ajp13

 worker.ajp13.lbfactor=1
 worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
 worker.inprocess.cmd_line=start
 worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(
ps)libjvm.so
 worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdou
t
 worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stder
r 

 ### server.xml
 Server port=8005 shutdown=SHUTDOWN debug=0
   Service name=Tomcat-Apache
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=8009 minProcessors=25 maxProcessors=75
  acceptCount=10 debug=0/

  Engine name=Apache defaultHost=site.presidence.univ-nantes.fr
 debug=0

   Logger className=org.apache.catalina.logger.FileLogger
   prefix=engine_log. suffix=.txt
   timestamp=true/

   Realm className=org.apache.catalina.realm.MemoryRealm /

   Host name=site.presidence.univ-nantes.fr debug=0
 appBase=webapps unpackWARs=true 

 Logger className=org.apache.catalina.logger.FileLogger
   prefix=host_log. suffix=.txt
   timestamp=true/
   /Host
 /Engine
   /Service
 /Server
 #

 and when I only try to start tomcat, I receive this in my error_log

 [Wed Feb 20 15:46:40 2002] [emerg] (2)No such file or directory: Error
 while opening the workers


 any ideas ?

 thanks in advance

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




Re: Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-20 Thread Dieter Lunn

I still haven't solved my little dilemma

On February 19, 2002 03:04 pm, you wrote:
 I am having trouble starting Tomcat.  I run the startup.sh script and it
 displays the vars but when I try and connect it isn't running.  I can get
 it started by running catalina.sh debug but I don't want to run it like
 that.

 I would like any help that can be offered. Thanks

 --
 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: Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-20 Thread Dieter Lunn

I set both CATALINA_HOME and JAVA_HOME.  It still hasn't started.

On February 20, 2002 03:48 pm, you wrote:
 I'd say there's your problem.  usage: java org.apache.(etc.) indicates
 something isn't right in how catalina.sh is calling java.

 I would check your variables like CATALINA_OPTS, CATALINA_HOME,
 CATALINA_BASE for typo's or errors.  Provided you didn't edit startup.sh or
 catalina.sh, things should work right.

 If all that's correct, try putting in an echo command on the line above
 where java... is called in catalina.sh to see what is trying to be
 executed.

 --David

 On Wednesday 20 February 2002 03:01 pm, you wrote:
  Answers in reply
 
  On February 20, 2002 01:14 pm, you wrote:
   I can offer a little help.
  
   What os are you running?  If you are on a unix ( which it looks like)
   variation run ps -ef | grep java. If it reurns something your are
   running. If not there is something else wrong.  Send in the output of
   the startup.sh
 
  I am running RedHat 7.1
 
   Did k the logs? I think cataline.out  will give you the errors.
 
  catalina.out contains:
 
  usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [
  -debug ] [ -nonaming ] { start | stop }
 
   What does you httpd.conf look like??  Is apache running??
 
  Apache runs and works with Tomcat using mod_webapp
 
   How are you calling your domain?
 
  domain is localhost
 
   Give a little info
  
   chad

 --
 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]




Starting Tomcat 4.0.2 with Apache 1.3.23 using J2SDK 1.3.1

2002-02-19 Thread Dieter Lunn

I am having trouble starting Tomcat.  I run the startup.sh script and it 
displays the vars but when I try and connect it isn't running.  I can get it 
started by running catalina.sh debug but I don't want to run it like that.

I would like any help that can be offered. Thanks

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