Help with Tomcat 5.5.x on redhat-release-3ES-7.4

2005-05-24 Thread Gary Zhu
Hi all, 
 
When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS
redhat-release-3ES-7.4, I always get the following error:
'/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax
error near unexpected token `do
'/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: `for
i in $OSXHACK/*.jar; do
 
Of course, all the three versions have been working fine with other
redhat linux versions such as redhat-release-9-3. 
 
Any advice is appreciated.
 
Thanks.
 
Gary



Re: Help with Tomcat 5.5.x on redhat-release-3ES-7.4

2005-05-24 Thread Jason Bainbridge
On 5/24/05, Gary Zhu [EMAIL PROTECTED] wrote:
 Hi all,
 
 When trying to start tomcat 5.5.4(tried 5.5.7 and 5.5.9) on OS
 redhat-release-3ES-7.4, I always get the following error:
 '/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: syntax
 error near unexpected token `do
 '/catalina.sh: /usr/local/tomcat/bin/setclasspath.sh: line 74: `for
 i in $OSXHACK/*.jar; do
 
 Of course, all the three versions have been working fine with other
 redhat linux versions such as redhat-release-9-3.

Strange maybe RHEL3-ES-7.4 (whatever all that means) somehow does more
syntax checking than usual and enteres that IF even though it doesn't
need to and barfs it as a result so try editing setclasspath.sh and
comment out the below lines:

# OSX hack to CLASSPATH
JIKESPATH=
if [ `uname -s` = Darwin ]; then
  
OSXHACK=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes
  if [ -d $OSXHACK ]; then
for i in $OSXHACK/*.jar; do
  JIKESPATH=$JIKESPATH:$i
done
  fi
fi

Hopefully that will make it happy. :)

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



Help with tomcat 5.5

2005-04-13 Thread dummy

Problem with tomcat 5.5.

Application running on tomcat 5.0 fine but when run on tomcat 5.5 alot of
problem appeared like noclassfound.

Why is it so ?

Anybody have the same problem ?

How to solve ?




Re: Help with tomcat 5.5

2005-04-13 Thread Anoop kumar V
the classes / jar files available for TC 5.5 are not the same in your
case - Check the commons/lib folder and the web-inf/lib folder.

Make sure all the classes/jar files in the above folders in 5.0 are
available and the same as in 5.5 - my guess is that some are missing
in 5.0.

if that does not solve - them copy paste the exact classNotFound and
someone will be able to help u in finding the right jar.

HTH,
Anoop

On 4/13/05, dummy [EMAIL PROTECTED] wrote:
 
 Problem with tomcat 5.5.
 
 Application running on tomcat 5.0 fine but when run on tomcat 5.5 alot of
 problem appeared like noclassfound.
 
 Why is it so ?
 
 Anybody have the same problem ?
 
 How to solve ?
 
 


-- 
Thanks and best regards,
Anoop

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



Help with tomcat on windoze/nfs

2005-03-04 Thread Randy Paries
Hello,

I have the unfortunate opportunity of having to set up tomcat on windoze
(sorry I am a linux bigot)

I have this servlet that has to run a windows program. (that works fine)

I have to create a directory on a NFS mount.

In my test servlet, I have this snippet of code(see below)

If I do /myservlet?dir=c:/  (is see it ok)
If I do /myservlet?dir=z:/  (z is a mapped nfs mount, it does not see it)

Here is the kicker, I wrote a little class that was basically the same but
just a normal
Java app, and it see z:/ OK

Help???

Thanks


===
  //DIR is a param passed in

  PrintWriter out = null;
res.setContentType(text/html);
out = new PrintWriter (res.getOutputStream());

out.println( looking for dir +DIR+BR);

File fpath = new File(DIR);
out.println(path--+fpath.getAbsolutePath());
if ( !fpath.exists() ){
out.println(Does not exist);
}else{
out.println(exist);
}
out.close();

===



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



RE: Help with tomcat on windoze/nfs

2005-03-04 Thread Mike Curwen
How is the drive mapped? By what logged-in windows user?  Is it the same
user that Tomcat is running as, and are you sure?  ;)

Mike Curwen


 -Original Message-
 From: Randy Paries [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 04, 2005 3:51 PM
 To: 'Tomcat Users List'
 Subject: Help with tomcat on windoze/nfs
 
 
 Hello,
 
 I have the unfortunate opportunity of having to set up tomcat 
 on windoze (sorry I am a linux bigot)
 
 I have this servlet that has to run a windows program. (that 
 works fine)
 
 I have to create a directory on a NFS mount.
 
 In my test servlet, I have this snippet of code(see below)
 
 If I do /myservlet?dir=c:/  (is see it ok)
 If I do /myservlet?dir=z:/  (z is a mapped nfs mount, it 
 does not see it)
 
 Here is the kicker, I wrote a little class that was basically 
 the same but just a normal Java app, and it see z:/ OK
 
 Help???
 
 Thanks
 
 
   ===
 //DIR is a param passed in
 
 PrintWriter out = null;
 res.setContentType(text/html);
 out = new PrintWriter (res.getOutputStream());
 
 out.println( looking for dir +DIR+BR);
 
 File fpath = new File(DIR);
 out.println(path--+fpath.getAbsolutePath());
 if ( !fpath.exists() ){
 out.println(Does not exist);
 }else{
 out.println(exist);
 }
 out.close();
   
   ===
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: Help with tomcat on windoze/nfs

2005-03-04 Thread Jason Bainbridge
On Fri, 4 Mar 2005 15:51:18 -0600, Randy Paries
[EMAIL PROTECTED] wrote:
 Hello,
 
 I have the unfortunate opportunity of having to set up tomcat on windoze
 (sorry I am a linux bigot)
 
 I have this servlet that has to run a windows program. (that works fine)
 
 I have to create a directory on a NFS mount.

From memory no matter what you try a mapped drive won't work but I
believe if you use the UNC name ie. \\Server\Share and then run Tomcat
under an account that has Network privileges and access to that share
so LocalSystem won't be good enough.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



RE: Help with tomcat on windoze/nfs

2005-03-04 Thread Randy Paries
I assume the map is ok, since I can run a java app and it works fine, It is
only when I call it from a servlet it does not

Thanks 

-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 4:15 PM
To: 'Tomcat Users List'
Subject: RE: Help with tomcat on windoze/nfs

How is the drive mapped? By what logged-in windows user?  Is it the same
user that Tomcat is running as, and are you sure?  ;)

Mike Curwen


 -Original Message-
 From: Randy Paries [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 04, 2005 3:51 PM
 To: 'Tomcat Users List'
 Subject: Help with tomcat on windoze/nfs
 
 
 Hello,
 
 I have the unfortunate opportunity of having to set up tomcat on 
 windoze (sorry I am a linux bigot)
 
 I have this servlet that has to run a windows program. (that works 
 fine)
 
 I have to create a directory on a NFS mount.
 
 In my test servlet, I have this snippet of code(see below)
 
 If I do /myservlet?dir=c:/  (is see it ok) If I do 
 /myservlet?dir=z:/  (z is a mapped nfs mount, it does not see it)
 
 Here is the kicker, I wrote a little class that was basically the same 
 but just a normal Java app, and it see z:/ OK
 
 Help???
 
 Thanks
 
 
   ===
 //DIR is a param passed in
 
 PrintWriter out = null;
 res.setContentType(text/html);
 out = new PrintWriter (res.getOutputStream());
 
 out.println( looking for dir +DIR+BR);
 
 File fpath = new File(DIR);
 out.println(path--+fpath.getAbsolutePath());
 if ( !fpath.exists() ){
 out.println(Does not exist);
 }else{
 out.println(exist);
 }
 out.close();
   
   ===
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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





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



Re: Help with tomcat on windoze/nfs

2005-03-04 Thread Parsons Technical Services
How are you starting Tomcat?
Doug
- Original Message - 
From: Randy Paries [EMAIL PROTECTED]
To: 'Tomcat Users List' tomcat-user@jakarta.apache.org
Sent: Friday, March 04, 2005 11:57 PM
Subject: RE: Help with tomcat on windoze/nfs


I assume the map is ok, since I can run a java app and it works fine, It is
only when I call it from a servlet it does not
Thanks
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 4:15 PM
To: 'Tomcat Users List'
Subject: RE: Help with tomcat on windoze/nfs
How is the drive mapped? By what logged-in windows user?  Is it the same
user that Tomcat is running as, and are you sure?  ;)
Mike Curwen

-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 2005 3:51 PM
To: 'Tomcat Users List'
Subject: Help with tomcat on windoze/nfs
Hello,
I have the unfortunate opportunity of having to set up tomcat on
windoze (sorry I am a linux bigot)
I have this servlet that has to run a windows program. (that works
fine)
I have to create a directory on a NFS mount.
In my test servlet, I have this snippet of code(see below)
If I do /myservlet?dir=c:/  (is see it ok) If I do
/myservlet?dir=z:/  (z is a mapped nfs mount, it does not see it)
Here is the kicker, I wrote a little class that was basically the same
but just a normal Java app, and it see z:/ OK
Help???
Thanks
===
  //DIR is a param passed in
  PrintWriter out = null;
res.setContentType(text/html);
out = new PrintWriter (res.getOutputStream());
out.println( looking for dir +DIR+BR);
File fpath = new File(DIR);
out.println(path--+fpath.getAbsolutePath());
if ( !fpath.exists() ){
out.println(Does not exist);
}else{
out.println(exist);
}
out.close();
===

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

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


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


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


RE: help: connecting Tomcat 5.5 to Apache 2.0 with mod_jk 1.2.8 on ISP's server: SOLVED.

2005-02-10 Thread Jason Nichols
Chris:
  It's working! Thanks a LOT! What you gave me wasn't the full answer, but
it let me eliminate a lot of dead-ends and other mistakes I had made.

One (of several) problems this helped was that I was using AddModule and
not LoadModule, which is also addressed here:
http://www.apache.org/~rbowen/presentations/apachecon2004/apache2.0/slide35.
html

I also put my workers.properties file in the same directory as httpd.conf
b/c of something I read somewhere. Not sure if that actually did anything.

I found my problem on other sites with no answers, so I'm going to include
the relevant parts of my httpd.conf and workers.properties, in case others
have a similar situation.

Thanks again,
Jason
Musegraphics.com




My setup: leasing a virtual server from olm.net
Apache 2.0.50, Tomcat 5.5.4, mod_jk 1.2.8

Relevant parts of my httpd.conf:

LoadModule  jk_module   modules/mod_jk.so
#AddModule modk_jk.c
JkWorkersFile   /etc/httpd/conf/workers.properties
JkLogFile   /etc/httpd/logs/mod_jk.log
JkLogLevel  debug
JkLogStampFormat [%a %b %d %H:%M] 
JkOptions   +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat  %w %V %T
JkMount /examples/* musegraphicsworker
JkMount /*.jsp musegraphicsworker

VirtualHost 69.94.10.74:80
ServerName www.musegraphics.com
ServerAdmin [EMAIL PROTECTED]
#DocumentRoot /home/virtual/site1/fst/var/www/html  --this was
another problem I had. Gotta change this after adding Tomcat to Apache.
Seems obvious now. Changed to the following:
 
DocumentRoot /usr/local/tomcat/tomcatCV/webapps/jsp-examples

Directory /usr/local/tomcat/tomcatCV/webapps/jsp-examples
Allow from all
AllowOverride All
Order allow,deny
/Directory

# A lot other stuff here my ISP (olm.net) put in, not included for brevity.
/VirtualHost



My workers.properties file:
#
workers.tomcat_home=/usr/local/tomcat/ 
# workers.java_home should point to your Java installation. 
workers.java_home=/usr/local/java

# You should configure your environment slash... ps=\ on NT and / on UNIX
ps=/

#-- workers list 
worker.list=musegraphicsworker

#-- musegraphicsworker DEFINITION-
worker.musegraphicsworker.type=ajp13
worker.musegraphicsworker.host=localhost
worker.musegraphicsworker.port=8009
worker.musegraphicsworker.lbfactor=50
worker.musegraphicsworker.cachesize=10
worker.musegraphicsworker.cache_timeout=600
worker.musegraphicsworker.socket_timeout=300
worker.musegraphicsworker.socket_keepalive=1


There's quite a bit more but those are the parts I changed out of the
already existing (and highly complex) Apache configuration my ISP had in
place. 
Jason


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



help: connecting Tomcat 5.5 to Apache 2.0 with mod_jk 1.2.8 on ISP's server

2005-02-09 Thread Jason Nichols
Hello all:
  I've been working on installing Tomcat 5.5 with Apache 2.0 for about two
weeks now, and I've been stuck with an error for a week. A lot of my
difficulty is that I'm working on a leased ISP's server, and am dealing with
a complex pre-existing Apache installation.

If you can help or tell me about a good source for integrating Apache with
Tomcat via mod_jk (other than apache.org  google, which I've been using),
that would be great. 
I'm trying to get to the standard Tomcat examples pages. Any help is
appreciated.

Problem:
 Apache 2.0.50 running on a (virtual) server, musegraphics.musegraphics.com,
leased from an ISP (olm.net). Apache works fine. Installed Tomcat 5.5.4,
connecting it to Apache via mod_jk version 1.2.8.

When I have this line 
JkMount /* musegraphicsworker
in httpd.conf (actually a file included by httpd.conf) I get the Apache
Internal Server Error page. I also get the following in mod_jk.log
map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/' from
1 maps
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI
'/*'
map_uri_to_worker::jk_uri_worker_map.c (755): Found a context match
musegraphicsworker - /
jk_handler::mod_jk.c (1715): Into handler jakarta-servlet
worker=musegraphicsworker r-proxyreq=0
wc_get_worker_for_name::jk_worker.c (92): did not find a worker
musegraphicsworker
jk_handler::mod_jk.c (1883): Could not find a worker for worker
name=musegraphicsworker

When I comment it out, Apache works fine, but of course no Tomcat access.
Any ideas would be appreciated
Jason





More info on Stuff I've done:
I added these to httpd.conf:
LoadModule jk_module modules/mod_jk.so #at the end of the LoadModule's list

And I commented out these(put there by my ISP), b/c they seemed to be
interfering with mod_jk.so

#IfModule mod_jk.c
#  JkWorkersFile /etc/httpd/conf/workers.properties   
 # IfDefine PROD_SERVER
#   JkLogFile/var/log/httpd/mod_jk.log
 # /IfDefine
  #IfDefine TEST_SERVER
#   JkLogFile/var/log/httpd-test/mod_jk.log
 # /IfDefine
#  JkLogLevel  error
#/IfModule

Here are the lines I added to workers.properties

worker.musegraphicsworker.type=ajp13
worker.musegraphicsworker.host=www.musegraphics.com
worker.musegraphicsworker.port=8011
worker.musegraphicsworker.cachesize=10
worker.musegraphicsworker.cache_timeout=600
worker.musegraphicsworker.socket_timeout=300
worker.musegraphicsworker.socket_keepalive=1

What I've done to solve it:
I've googled a lot,  I've also searched this list's archive, found one
person with the same problem but no answer. Again, any help would be greatly
appreciated.  I'm fairly new 


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



Re: help: connecting Tomcat 5.5 to Apache 2.0 with mod_jk 1.2.8 on ISP's server

2005-02-09 Thread Christopher G. Stach II
Try something like this in your httpd.conf:
IfDefine HAVE_JK
LoadModule jk_module modules/mod_jk.so
IfModule mod_jk.c
JkWorkerPropertyworker.musegraphicsworker.type=ajp13
JkWorkerPropertyworker.musegraphicsworker.host=127.0.0.1
JkWorkerPropertyworker.musegraphicsworker.port=8011
JkWorkerPropertyworker.list=musegraphicsworker
JkMount /*.jsp musegraphicsworker
JkLogFile   logs/mod_jk.log
JkLogLevel  debug
JkOptions   +ForwardKeySize +ForwardURICompat 
-ForwardDirectories

/IfModule
# mod_jk.c
/IfDefine
# HAVE_JK
Make sure to bind the ajp connector to 127.0.0.1 in your 
server.xml.  You don't want to serve requests from anywhere else for 
obvious reasons.  Here's an example:

Connector port=8011
   address=127.0.0.1
   enableLookups=false
   redirectPort=8443
   protocol=AJP/1.3 /
Jason Nichols wrote:
Hello all:
  I've been working on installing Tomcat 5.5 with Apache 2.0 for about two
weeks now, and I've been stuck with an error for a week. A lot of my
difficulty is that I'm working on a leased ISP's server, and am dealing with
a complex pre-existing Apache installation.
If you can help or tell me about a good source for integrating Apache with
Tomcat via mod_jk (other than apache.org  google, which I've been using),
that would be great. 
I'm trying to get to the standard Tomcat examples pages. Any help is
appreciated.

Problem:
 Apache 2.0.50 running on a (virtual) server, musegraphics.musegraphics.com,
leased from an ISP (olm.net). Apache works fine. Installed Tomcat 5.5.4,
connecting it to Apache via mod_jk version 1.2.8.
When I have this line 
JkMount /* musegraphicsworker
in httpd.conf (actually a file included by httpd.conf) I get the Apache
Internal Server Error page. I also get the following in mod_jk.log
map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/' from
1 maps
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI
'/*'
map_uri_to_worker::jk_uri_worker_map.c (755): Found a context match
musegraphicsworker - /
jk_handler::mod_jk.c (1715): Into handler jakarta-servlet
worker=musegraphicsworker r-proxyreq=0
wc_get_worker_for_name::jk_worker.c (92): did not find a worker
musegraphicsworker
jk_handler::mod_jk.c (1883): Could not find a worker for worker
name=musegraphicsworker

When I comment it out, Apache works fine, but of course no Tomcat access.
Any ideas would be appreciated
Jason


More info on Stuff I've done:
I added these to httpd.conf:
LoadModule jk_module modules/mod_jk.so #at the end of the LoadModule's list
And I commented out these(put there by my ISP), b/c they seemed to be
interfering with mod_jk.so
#IfModule mod_jk.c
#  JkWorkersFile /etc/httpd/conf/workers.properties   
 # IfDefine PROD_SERVER
#   JkLogFile/var/log/httpd/mod_jk.log
 # /IfDefine
  #IfDefine TEST_SERVER
#   JkLogFile/var/log/httpd-test/mod_jk.log
 # /IfDefine
#  JkLogLevel  error
#/IfModule

Here are the lines I added to workers.properties
worker.musegraphicsworker.type=ajp13
worker.musegraphicsworker.host=www.musegraphics.com
worker.musegraphicsworker.port=8011
worker.musegraphicsworker.cachesize=10
worker.musegraphicsworker.cache_timeout=600
worker.musegraphicsworker.socket_timeout=300
worker.musegraphicsworker.socket_keepalive=1
What I've done to solve it:
I've googled a lot,  I've also searched this list's archive, found one
person with the same problem but no answer. Again, any help would be greatly
appreciated.  I'm fairly new 

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


Help Required- tomcat doesn't shutdown properly

2005-02-04 Thread Narayan, Satya
Hi ,
I am having a weird problem. I have deployed a webapp which
basically runs a servlet in tomcat5. I can start and stop using the exe
file provided. But when I use the command line version ie when I open a
command shell and type catalina.bat start tomcat starts properly in a
new shell.
But when in the same command shell and I type catalina.bat stop It
tries to stop tomcat but doesnot stop it properly and doesnot close the
tomcat shell. 
The last message that appears on the tomcat shell while stopping is 

 Feb 4, 2005 2:35:29 PM org.apache.coyote.http11.Http11Protocol destroy
  INFO: Stopping Coyote HTTP/1.1 on http-8080

This problem doesn't occur when my webapp is not deployed.

Kindly advice as to wht could be wrong.Thanks in advance.

Best Regards,
Satya


Re: Help Required- tomcat doesn't shutdown properly

2005-02-04 Thread Antony Paul
What your application is doing ?. is there any threads watiing ?. You
can have a look at localhost_log in the logs directory for any
errors.

rgds
Antony Paul


On Fri, 4 Feb 2005 10:08:09 +0100, Narayan, Satya [EMAIL PROTECTED] wrote:
 Hi ,
 I am having a weird problem. I have deployed a webapp which
 basically runs a servlet in tomcat5. I can start and stop using the exe
 file provided. But when I use the command line version ie when I open a
 command shell and type catalina.bat start tomcat starts properly in a
 new shell.
 But when in the same command shell and I type catalina.bat stop It
 tries to stop tomcat but doesnot stop it properly and doesnot close the
 tomcat shell.
 The last message that appears on the tomcat shell while stopping is
 
  Feb 4, 2005 2:35:29 PM org.apache.coyote.http11.Http11Protocol destroy
   INFO: Stopping Coyote HTTP/1.1 on http-8080
 
 This problem doesn't occur when my webapp is not deployed.
 
 Kindly advice as to wht could be wrong.Thanks in advance.
 
 Best Regards,
 Satya
 


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



Re: Help on tomcat server path set up

2004-09-22 Thread Antony Paul
This may be due to having 2 or more servlet.jar files in the class path.
Check that WEB-INF\lib dont have this jar file. This jar file is provided by
the container.
Also no need to set up classpath for running Tomcat. The Tomcat start up
scripts does this. The classpath you set cannot be seen by the applications
you deploy in Tomcat

rgds
Antony Paul

- Original Message -
From: Shanti Priya [EMAIL PROTECTED]
To: Tomcat-User [EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:24 AM
Subject: Help on tomcat server path set up


 Hi !!
 I am using tomcat 4.1.18 version.Whenever i startup my
 tomcat it throws the  following error .I have actually set up the paths
 properly.


 The server message is as follows.

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.18
 WebappClassLoader: validateJarFile(C:\Program Files\Apache Group\Tomcat
 4.1\bin\
 ..\webapps\AS-IT\WEB-INF\lib\servlet_2_3.jar) - jar not loaded. See
Servlet
 Spec
  2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
 WebappClassLoader: validateJarFile(C:\Program Files\Apache Group\Tomcat
 4.1\weba
 pps\AS-IT\WEB-INF\lib\servlet_2_3.jar) - jar not loaded. See Servlet Spec
 2.3, s
 ection 9.7.2. Offending class: javax/servlet/Servlet.class
 Sep 22, 2004 10:43:53 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Sep 22, 2004 10:43:54 AM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 Sep 22, 2004 10:43:54 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=32/94  config=C:\Program Files\Apache
 Group\Tomcat 4.
 1\bin\..\conf\jk2.properties



 My classpath(Env variables) is as follows

 %CLASSPATH%;D:\tomcat\common\lib\tools.jar;
 C:\Program Files\Apache Group\Tomcat 4.1\common\lib;
 C:\Program Files\Apache Group\Tomcat 4.1\webapps\AS-IT\WEB-INF\lib\*.jar;
 C:\Program Files\Apache Group\Tomcat 4.1\webapps\AS-IT\WEB-INF\lib\*.jar;
 C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet_2_3.jar;

 And i do have this servlet_2_3.jar in the following path
 C:\Program Files\Apache Group\Tomcat 4.1\common\lib


 Thanks  Regards,
 Shanti Priya Sunkara

 Location: Pune, India
 Email   : [EMAIL PROTECTED]


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



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



RE: Help on tomcat server path set up

2004-09-22 Thread Shanti Priya
)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:550)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
at java.lang.Thread.run(Thread.java:534)










-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:38 AM
To: Tomcat Users List
Subject: Re: Help on tomcat server path set up


This may be due to having 2 or more servlet.jar files in the class path.
Check that WEB-INF\lib dont have this jar file. This jar file is provided by
the container.
Also no need to set up classpath for running Tomcat. The Tomcat start up
scripts does this. The classpath you set cannot be seen by the applications
you deploy in Tomcat

rgds
Antony Paul


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



Help on tomcat server path set up

2004-09-21 Thread Shanti Priya
Hi !!
I am using tomcat 4.1.18 version.Whenever i startup my
tomcat it throws the  following error .I have actually set up the paths
properly.


The server message is as follows.

Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
WebappClassLoader: validateJarFile(C:\Program Files\Apache Group\Tomcat
4.1\bin\
..\webapps\AS-IT\WEB-INF\lib\servlet_2_3.jar) - jar not loaded. See Servlet
Spec
 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
WebappClassLoader: validateJarFile(C:\Program Files\Apache Group\Tomcat
4.1\weba
pps\AS-IT\WEB-INF\lib\servlet_2_3.jar) - jar not loaded. See Servlet Spec
2.3, s
ection 9.7.2. Offending class: javax/servlet/Servlet.class
Sep 22, 2004 10:43:53 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Sep 22, 2004 10:43:54 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Sep 22, 2004 10:43:54 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=32/94  config=C:\Program Files\Apache
Group\Tomcat 4.
1\bin\..\conf\jk2.properties



My classpath(Env variables) is as follows

%CLASSPATH%;D:\tomcat\common\lib\tools.jar;
C:\Program Files\Apache Group\Tomcat 4.1\common\lib;
C:\Program Files\Apache Group\Tomcat 4.1\webapps\AS-IT\WEB-INF\lib\*.jar;
C:\Program Files\Apache Group\Tomcat 4.1\webapps\AS-IT\WEB-INF\lib\*.jar;
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet_2_3.jar;

And i do have this servlet_2_3.jar in the following path
C:\Program Files\Apache Group\Tomcat 4.1\common\lib


Thanks  Regards,
Shanti Priya Sunkara

Location: Pune, India
Email   : [EMAIL PROTECTED]


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



Help with Tomcat Install?

2004-09-08 Thread Lash, David A (David)
Hi
I am trying to figure out why my tomcat install is not working. 

System: Apache 1.3.29
Server: Solaris 8
Tomcat: 4.1.18


I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 

When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? 
Enclosed is the 'page' I receive:

Thanks
dave l



HTTP Status 404 - /
--
type Status report
message /
description The requested resource (/) is not available.

--
Apache Tomcat/4.1.18

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



Re: Help with Tomcat Install?

2004-09-08 Thread QM
On Wed, Sep 08, 2004 at 10:49:41AM -0500, Lash, David A (David) wrote:
: When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why?

Step 1 of Apache/jk(2)/Tomcat debugging: take Apache and JK out of the
picture.  Enable an HTTP connector on Tomcat and access it directly.  If
that works, check the Apache setup.

Try to think of the Apache as a mask or a pass-through for Tomcat.

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Help with Tomcat Install?

2004-09-08 Thread John Villar
Well, certainly your Tomcat setup works fine, look at the end of your 
response page it could be, however, that the default webapp hasn't 
been installed, check webapps/ROOT and see if it is there, its a default 
response servlet in the WEB-INF/web.xml file

Lash, David A (David) escribió:
Hi
I am trying to figure out why my tomcat install is not working. 

System: Apache 1.3.29
Server: Solaris 8
Tomcat: 4.1.18
I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 

When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? 
Enclosed is the 'page' I receive:
Thanks
dave l

HTTP Status 404 - /
--
type Status report
message /
description The requested resource (/) is not available.
--
Apache Tomcat/4.1.18
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

Re: Help with Tomcat Install?

2004-09-08 Thread Gerardo Juarez

Ok, you installed Tomcat, but is it running? Something like:
$CATALINA_HOME/bin/start.sh should have happened before pointing at 
http://localhost:8080. It's a common mistake.

Gerardo

On Wed, 8 Sep 2004, Lash, David A (David) wrote:

 Hi
 I am trying to figure out why my tomcat install is not working. 
 
 System: Apache 1.3.29
 Server: Solaris 8
 Tomcat: 4.1.18
 
 
 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 
 
 When I go to http://localhost:8080 I cannot display the 'default page'. Any idea 
 why? Enclosed is the 'page' I receive:
 
 Thanks
 dave l
 


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



RE: Help with Tomcat Install?

2004-09-08 Thread Lash, David A (David)
Thanks for the response. I do appear to have a ROOT/WEB-INF/web.xml file. 
It looks like the enclosed page. So that seems fine. Please let me know if you have 
any other ideas. 

Thanks
Dave lash

?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app
  display-nameWelcome to Tomcat/display-name
  description
 Welcome to Tomcat
  /description
/web-app



-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 11:03 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

Well, certainly your Tomcat setup works fine, look at the end of your 
response page it could be, however, that the default webapp hasn't 
been installed, check webapps/ROOT and see if it is there, its a default 
response servlet in the WEB-INF/web.xml file

Lash, David A (David) escribió:

Hi
I am trying to figure out why my tomcat install is not working. 

System: Apache 1.3.29
Server: Solaris 8
Tomcat: 4.1.18


I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 

When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? 
Enclosed is the 'page' I receive:

Thanks
dave l



HTTP Status 404 - /
--
type Status report
message /
description The requested resource (/) is not available.

--
Apache Tomcat/4.1.18

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


  


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com



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



RE: Help with Tomcat Install?

2004-09-08 Thread Lash, David A (David)
Thanks for the help, though I did startup.sh. 
It appears to start (I have a tomcat deamon running). 
The file logs/Catalina.out was not clean during the startup (don't know if that is 
normal). It looks like the enclosed 

Thanks
Dave lash
 

Catalina.start: LifecycleException:  Protocol handler initialization failed: 
java.net.BindException: Address already in use:8080
LifecycleException:  Protocol handler initialization failed: java.net.BindException: 
Address already in use:8080
at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1034)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2245)
at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.stop: LifecycleException:  This server has not yet been started
LifecycleException:  This server has not yet been started
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2212)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

-Original Message-
From: Gerardo Juarez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 11:05 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?


Ok, you installed Tomcat, but is it running? Something like:
$CATALINA_HOME/bin/start.sh should have happened before pointing at 
http://localhost:8080. It's a common mistake.

Gerardo

On Wed, 8 Sep 2004, Lash, David A (David) wrote:

 Hi
 I am trying to figure out why my tomcat install is not working. 
 
 System: Apache 1.3.29
 Server: Solaris 8
 Tomcat: 4.1.18
 
 
 I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 
 
 When I go to http://localhost:8080 I cannot display the 'default page'. Any idea 
 why? Enclosed is the 'page' I receive:
 
 Thanks
 dave l
 


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

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



Re: Help with Tomcat Install?

2004-09-08 Thread John Villar
Yep, there isn't any default servlet definition, that's why you aren't 
seeing the tomcat default page. Web.xml should have some servlet and 
servlet-mapping definitions on it anyhow, you should add something 
to ROOT/ and see if you can touch that file via 
http://localhost:8080/somefile.someextension

Lash, David A (David) escribió:
Thanks for the response. I do appear to have a ROOT/WEB-INF/web.xml file. 
It looks like the enclosed page. So that seems fine. Please let me know if you have any other ideas. 

Thanks
Dave lash
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
   PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
   http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 display-nameWelcome to Tomcat/display-name
 description
Welcome to Tomcat
 /description
/web-app

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 11:03 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

Well, certainly your Tomcat setup works fine, look at the end of your 
response page it could be, however, that the default webapp hasn't 
been installed, check webapps/ROOT and see if it is there, its a default 
response servlet in the WEB-INF/web.xml file

Lash, David A (David) escribió:
 

Hi
I am trying to figure out why my tomcat install is not working. 

System: Apache 1.3.29
Server: Solaris 8
Tomcat: 4.1.18
I installed tomcat (setting my CATALINA_HOME and JAVA_HOME). 

When I go to http://localhost:8080 I cannot display the 'default page'. Any idea why? 
Enclosed is the 'page' I receive:
Thanks
dave l

HTTP Status 404 - /
--
type Status report
message /
description The requested resource (/) is not available.
--
Apache Tomcat/4.1.18
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

   

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

Re: Help with Tomcat Install?

2004-09-08 Thread John Villar

Catalina.start: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:8080
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:8080
 

This error is saying that port 8080 is already taken, probably by your 
already running Tomcat daemon, it is common in that case

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

Re: Help with Tomcat Install?

2004-09-08 Thread Avinash R S
It looks like the port is being used by another application.

Run Shutdown.sh once, and then run startup.sh and still if you get the same
error as Catalina.start: LifecycleException:  Protocol handler
initialization failed: java.net.BindException: Address already in use:8080


 Then some other application is using the port

Access server.xml file and change port from 8080 to say 7645 .

Try to start the server and access the page at http://localhost:7645

Best Regards,
Avinash


- Original Message - 
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:45 PM
Subject: Re: Help with Tomcat Install?



 Catalina.start: LifecycleException:  Protocol handler initialization
failed: java.net.BindException: Address already in use:8080
 LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
 
 
 This error is saying that port 8080 is already taken, probably by your
 already running Tomcat daemon, it is common in that case

 -- 
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com









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



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. 
Before opening attachments please check them for viruses and defects. MindTree 
Consulting Private Limited (MindTree) will not be responsible for any viruses or 
defects or any forwarded attachments emanating either from within MindTree or outside. 
If you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or dissemination 
of this message in whole or in part is strictly prohibited.  Please note that e-mails 
are susceptible to change and MindTree shall not be liable for any improper, untimely 
or incomplete transmission.

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



RE: Help with Tomcat Install?

2004-09-08 Thread Shapira, Yoav

Hi,
There is at least one of other possible cause for this error.

Perhaps your shutdown cannot be completed normally.  For example, if you
start a non-daemon thread from your app and never shut it down, it will
keep running.  That will prevent the JVM process from exiting and the
port will stay bound, even though all the Tomcat stuff is gone and you
won't be able to connect to Tomcat with a browser.

In that case, you'd need to kill the process in order to release the
port.  Then you'll be able to start up again.  Of course, you should
debug why this is happening.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:24 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

It looks like the port is being used by another application.

Run Shutdown.sh once, and then run startup.sh and still if you get the
same
error as Catalina.start: LifecycleException:  Protocol handler
initialization failed: java.net.BindException: Address already in
use:8080


 Then some other application is using the port

Access server.xml file and change port from 8080 to say 7645 .

Try to start the server and access the page at http://localhost:7645

Best Regards,
Avinash


- Original Message -
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:45 PM
Subject: Re: Help with Tomcat Install?



 Catalina.start: LifecycleException:  Protocol handler initialization
failed: java.net.BindException: Address already in use:8080
 LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
 
 
 This error is saying that port 8080 is already taken, probably by
your
 already running Tomcat daemon, it is common in that case

 --
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com





---

-



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



DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses
and
defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside. If you have received
this
message by mistake please notify the sender by return  e-mail and
delete
this message from your system. Any unauthorized use or dissemination of
this message in whole or in part is strictly prohibited.  Please note
that
e-mails are susceptible to change and MindTree shall not be liable for
any
improper, untimely or incomplete transmission.

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Help with Tomcat Install?

2004-09-08 Thread John Villar
I think that's not the case, look that he gets a 404 status from tomcat 
with a Apache Tomcat/4.1.18 signature at the end
the problem he's having is that the default servlet for tomcat root 
isn't insatalled very rare indeed, but that's the case

Shapira, Yoav escribió:
Hi,
There is at least one of other possible cause for this error.
Perhaps your shutdown cannot be completed normally.  For example, if you
start a non-daemon thread from your app and never shut it down, it will
keep running.  That will prevent the JVM process from exiting and the
port will stay bound, even though all the Tomcat stuff is gone and you
won't be able to connect to Tomcat with a browser.
In that case, you'd need to kill the process in order to release the
port.  Then you'll be able to start up again.  Of course, you should
debug why this is happening.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:24 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?
It looks like the port is being used by another application.
Run Shutdown.sh once, and then run startup.sh and still if you get the
   

same
 

error as Catalina.start: LifecycleException:  Protocol handler
initialization failed: java.net.BindException: Address already in
   

use:8080
 

Then some other application is using the port
Access server.xml file and change port from 8080 to say 7645 .
Try to start the server and access the page at http://localhost:7645
Best Regards,
Avinash
- Original Message -
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:45 PM
Subject: Re: Help with Tomcat Install?
   

Catalina.start: LifecycleException:  Protocol handler initialization
   

failed: java.net.BindException: Address already in use:8080
   

LifecycleException:  Protocol handler initialization failed:
   

java.net.BindException: Address already in use:8080
   

   

This error is saying that port 8080 is already taken, probably by
 

your
 

already running Tomcat daemon, it is common in that case
--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

 

---
   


 

-

   

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

DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses
   

and
 

defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside. If you have received
   

this
 

message by mistake please notify the sender by return  e-mail and
   

delete
 

this message from your system. Any unauthorized use or dissemination of
this message in whole or in part is strictly prohibited.  Please note
   

that
 

e-mails are susceptible to change and MindTree shall not be liable for
   

any
 

improper, untimely or incomplete transmission.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

RE: Help with Tomcat Install?

2004-09-08 Thread Shapira, Yoav

Hi,
I don't think so ;)  You're confusing two threads here.  This guy doesn't get a 404, 
he gets a bind exception.  There's no way to rule out the option I suggested from the 
information he's posted so far.

Your suggestion to the other guy who's getting the 404 is also likely wrong: the 
default servlet is included automatically from $CATALINA_HOME/conf/web.xml.  A 
webapp's web.xml file can contain just the root element with nothing in it, as his 
does: that's both valid and supported by Tomcat.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:39 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

I think that's not the case, look that he gets a 404 status from tomcat
with a Apache Tomcat/4.1.18 signature at the end
the problem he's having is that the default servlet for tomcat root
isn't insatalled very rare indeed, but that's the case

Shapira, Yoav escribió:

Hi,
There is at least one of other possible cause for this error.

Perhaps your shutdown cannot be completed normally.  For example, if you
start a non-daemon thread from your app and never shut it down, it will
keep running.  That will prevent the JVM process from exiting and the
port will stay bound, even though all the Tomcat stuff is gone and you
won't be able to connect to Tomcat with a browser.

In that case, you'd need to kill the process in order to release the
port.  Then you'll be able to start up again.  Of course, you should
debug why this is happening.

Yoav Shapira
Millennium Research Informatics




-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:24 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

It looks like the port is being used by another application.

Run Shutdown.sh once, and then run startup.sh and still if you get the


same


error as Catalina.start: LifecycleException:  Protocol handler
initialization failed: java.net.BindException: Address already in


use:8080


Then some other application is using the port

Access server.xml file and change port from 8080 to say 7645 .

Try to start the server and access the page at http://localhost:7645

Best Regards,
Avinash


- Original Message -
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:45 PM
Subject: Re: Help with Tomcat Install?




Catalina.start: LifecycleException:  Protocol handler initialization


failed: java.net.BindException: Address already in use:8080


LifecycleException:  Protocol handler initialization failed:


java.net.BindException: Address already in use:8080




This error is saying that port 8080 is already taken, probably by


your


already running Tomcat daemon, it is common in that case

--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





---





-





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



DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses


and


defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside. If you have received


this


message by mistake please notify the sender by return  e-mail and


delete


this message from your system. Any unauthorized use or dissemination of
this message in whole or in part is strictly prohibited.  Please note


that


e-mails are susceptible to change and MindTree shall not be liable for


any


improper, untimely or incomplete transmission.

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






This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended
recipient, please immediately delete this e-mail from your computer system
and notify the sender.  Thank you.


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






--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary

Re: Help with Tomcat Install?

2004-09-08 Thread Avinash R S
John,

Root App does not have a servlet. The page accessed is a static html page
ROOT/index.html.

Then verify whether index.html file along with 3 image files is available at
location ROOT app.

Best Regards,
Avinash R S


- Original Message - 
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 10:08 PM
Subject: Re: Help with Tomcat Install?


 I think that's not the case, look that he gets a 404 status from tomcat
 with a Apache Tomcat/4.1.18 signature at the end
 the problem he's having is that the default servlet for tomcat root
 isn't insatalled very rare indeed, but that's the case

 Shapira, Yoav escribió:

 Hi,
 There is at least one of other possible cause for this error.
 
 Perhaps your shutdown cannot be completed normally.  For example, if you
 start a non-daemon thread from your app and never shut it down, it will
 keep running.  That will prevent the JVM process from exiting and the
 port will stay bound, even though all the Tomcat stuff is gone and you
 won't be able to connect to Tomcat with a browser.
 
 In that case, you'd need to kill the process in order to release the
 port.  Then you'll be able to start up again.  Of course, you should
 debug why this is happening.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 
 
 -Original Message-
 From: Avinash R S [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 12:24 PM
 To: Tomcat Users List
 Subject: Re: Help with Tomcat Install?
 
 It looks like the port is being used by another application.
 
 Run Shutdown.sh once, and then run startup.sh and still if you get the
 
 
 same
 
 
 error as Catalina.start: LifecycleException:  Protocol handler
 initialization failed: java.net.BindException: Address already in
 
 
 use:8080
 
 
 Then some other application is using the port
 
 Access server.xml file and change port from 8080 to say 7645 .
 
 Try to start the server and access the page at http://localhost:7645
 
 Best Regards,
 Avinash
 
 
 - Original Message -
 From: John Villar [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 9:45 PM
 Subject: Re: Help with Tomcat Install?
 
 
 
 
 Catalina.start: LifecycleException:  Protocol handler initialization
 
 
 failed: java.net.BindException: Address already in use:8080
 
 
 LifecycleException:  Protocol handler initialization failed:
 
 
 java.net.BindException: Address already in use:8080
 
 
 
 
 This error is saying that port 8080 is already taken, probably by
 
 
 your
 
 
 already running Tomcat daemon, it is common in that case
 
 --
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com
 
 
 
 
 
 ---
 
 
 
 
 
 -
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 DISCLAIMER:
 This message (including attachment if any) is confidential and may be
 privileged. Before opening attachments please check them for viruses
 
 
 and
 
 
 defects. MindTree Consulting Private Limited (MindTree) will not be
 responsible for any viruses or defects or any forwarded attachments
 emanating either from within MindTree or outside. If you have received
 
 
 this
 
 
 message by mistake please notify the sender by return  e-mail and
 
 
 delete
 
 
 this message from your system. Any unauthorized use or dissemination of
 this message in whole or in part is strictly prohibited.  Please note
 
 
 that
 
 
 e-mails are susceptible to change and MindTree shall not be liable for
 
 
 any
 
 
 improper, untimely or incomplete transmission.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

 -- 
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com









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



DISCLAIMER:
This message

RE: Help with Tomcat Install?

2004-09-08 Thread Lash, David A (David)
Hi all 

Here is the contents of webapps/ROOT

WEB-INF/ index.jspjakarta-banner.gif   tomcat-power.gif 
tomcat.gif

I also tried http://localserver:8080/index.jsp 


And got the same 404 error. So its like tomcat is looking in a different directory. Is 
there a config file that defines where tomcat looks for root files? (perhaps someone 
(at my site) changed this).

Thanks
Dave lash


-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 11:47 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

John,

Root App does not have a servlet. The page accessed is a static html page
ROOT/index.html.

Then verify whether index.html file along with 3 image files is available at
location ROOT app.

Best Regards,
Avinash R S


- Original Message - 
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 10:08 PM
Subject: Re: Help with Tomcat Install?


 I think that's not the case, look that he gets a 404 status from tomcat
 with a Apache Tomcat/4.1.18 signature at the end
 the problem he's having is that the default servlet for tomcat root
 isn't insatalled very rare indeed, but that's the case

 Shapira, Yoav escribió:

 Hi,
 There is at least one of other possible cause for this error.
 
 Perhaps your shutdown cannot be completed normally.  For example, if you
 start a non-daemon thread from your app and never shut it down, it will
 keep running.  That will prevent the JVM process from exiting and the
 port will stay bound, even though all the Tomcat stuff is gone and you
 won't be able to connect to Tomcat with a browser.
 
 In that case, you'd need to kill the process in order to release the
 port.  Then you'll be able to start up again.  Of course, you should
 debug why this is happening.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 
 
 -Original Message-
 From: Avinash R S [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 12:24 PM
 To: Tomcat Users List
 Subject: Re: Help with Tomcat Install?
 
 It looks like the port is being used by another application.
 
 Run Shutdown.sh once, and then run startup.sh and still if you get the
 
 
 same
 
 
 error as Catalina.start: LifecycleException:  Protocol handler
 initialization failed: java.net.BindException: Address already in
 
 
 use:8080
 
 
 Then some other application is using the port
 
 Access server.xml file and change port from 8080 to say 7645 .
 
 Try to start the server and access the page at http://localhost:7645
 
 Best Regards,
 Avinash
 
 
 - Original Message -
 From: John Villar [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 9:45 PM
 Subject: Re: Help with Tomcat Install?
 
 
 
 
 Catalina.start: LifecycleException:  Protocol handler initialization
 
 
 failed: java.net.BindException: Address already in use:8080
 
 
 LifecycleException:  Protocol handler initialization failed:
 
 
 java.net.BindException: Address already in use:8080
 
 
 
 
 This error is saying that port 8080 is already taken, probably by
 
 
 your
 
 
 already running Tomcat daemon, it is common in that case
 
 --
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com
 
 
 
 
 
 ---
 
 
 
 
 
 -
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 DISCLAIMER:
 This message (including attachment if any) is confidential and may be
 privileged. Before opening attachments please check them for viruses
 
 
 and
 
 
 defects. MindTree Consulting Private Limited (MindTree) will not be
 responsible for any viruses or defects or any forwarded attachments
 emanating either from within MindTree or outside. If you have received
 
 
 this
 
 
 message by mistake please notify the sender by return  e-mail and
 
 
 delete
 
 
 this message from your system. Any unauthorized use or dissemination of
 this message in whole or in part is strictly prohibited.  Please note
 
 
 that
 
 
 e-mails are susceptible to change and MindTree shall not be liable for
 
 
 any
 
 
 improper, untimely or incomplete transmission.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify

RE: Help with Tomcat Install?

2004-09-08 Thread Gerardo Juarez

David,

In the sequence of events to start Tomcat, binding to the port comes 
first. If the log says that this failed, then Tomcat is not listening 
there. I have seen many times the 404 error to know that it doesn't 
tell me much about what it is really happening. The Tomcat logs are the 
place to look.

Gerardo

On Wed, 8 Sep 2004, Lash, David A (David) wrote:

 Hi all 
 
 Here is the contents of webapps/ROOT
 
 WEB-INF/ index.jspjakarta-banner.gif   tomcat-power.gif 
 tomcat.gif
 
 I also tried http://localserver:8080/index.jsp 
 
 
 And got the same 404 error. So its like tomcat is looking in a different directory. 
 Is there a config file that defines where tomcat looks for root files? (perhaps 
 someone (at my site) changed this).
 
 Thanks
 Dave lash
 
 
 -Original Message-
 From: Avinash R S [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 08, 2004 11:47 AM
 To: Tomcat Users List
 Subject: Re: Help with Tomcat Install?
 
 John,
 
 Root App does not have a servlet. The page accessed is a static html page
 ROOT/index.html.
 
 Then verify whether index.html file along with 3 image files is available at
 location ROOT app.
 
 Best Regards,
 Avinash R S
 
 
 - Original Message - 
 From: John Villar [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 10:08 PM
 Subject: Re: Help with Tomcat Install?
 
 
  I think that's not the case, look that he gets a 404 status from tomcat
  with a Apache Tomcat/4.1.18 signature at the end
  the problem he's having is that the default servlet for tomcat root
  isn't insatalled very rare indeed, but that's the case
 
  Shapira, Yoav escribió:
 
  Hi,
  There is at least one of other possible cause for this error.
  
  Perhaps your shutdown cannot be completed normally.  For example, if you
  start a non-daemon thread from your app and never shut it down, it will
  keep running.  That will prevent the JVM process from exiting and the
  port will stay bound, even though all the Tomcat stuff is gone and you
  won't be able to connect to Tomcat with a browser.
  
  In that case, you'd need to kill the process in order to release the
  port.  Then you'll be able to start up again.  Of course, you should
  debug why this is happening.
  
  Yoav Shapira
  Millennium Research Informatics
  
  
  
  
  -Original Message-
  From: Avinash R S [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, September 08, 2004 12:24 PM
  To: Tomcat Users List
  Subject: Re: Help with Tomcat Install?
  
  It looks like the port is being used by another application.
  
  Run Shutdown.sh once, and then run startup.sh and still if you get the
  
  
  same
  
  
  error as Catalina.start: LifecycleException:  Protocol handler
  initialization failed: java.net.BindException: Address already in
  
  
  use:8080
  
  
  Then some other application is using the port
  
  Access server.xml file and change port from 8080 to say 7645 .
  
  Try to start the server and access the page at http://localhost:7645
  
  Best Regards,
  Avinash
  
  
  - Original Message -
  From: John Villar [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, September 08, 2004 9:45 PM
  Subject: Re: Help with Tomcat Install?
  
  
  
  
  Catalina.start: LifecycleException:  Protocol handler initialization
  
  
  failed: java.net.BindException: Address already in use:8080
  
  
  LifecycleException:  Protocol handler initialization failed:
  
  
  java.net.BindException: Address already in use:8080
  
  
  
  
  This error is saying that port 8080 is already taken, probably by
  
  
  your
  
  
  already running Tomcat daemon, it is common in that case
  
  --
  John Villar
  Gerente de Proyectos
  Computadores Flor Hard Soft 2058 C.A.
  www.florhard.com
  
  
  
  
  
  ---
  
  
  
  
  
  -
  
  
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  DISCLAIMER:
  This message (including attachment if any) is confidential and may be
  privileged. Before opening attachments please check them for viruses
  
  
  and
  
  
  defects. MindTree Consulting Private Limited (MindTree) will not be
  responsible for any viruses or defects or any forwarded attachments
  emanating either from within MindTree or outside. If you have received
  
  
  this
  
  
  message by mistake please notify the sender by return  e-mail and
  
  
  delete
  
  
  this message from your system. Any unauthorized use or dissemination of
  this message in whole or in part is strictly prohibited.  Please note
  
  
  that
  
  
  e-mails are susceptible to change and MindTree shall not be liable for
  
  
  any
  
  
  improper, untimely or incomplete transmission

Re: Help with Tomcat Install?

2004-09-08 Thread John Villar
Let me wrap this up.
initially he said that he (david lash) was getting the following page:
HTTP Status 404 - /
--
type Status report
message /
description The requested resource (/) is not available.
--
Apache Tomcat/4.1.18
Clearly, it is a response from tomcat, because the tomcat signature. 
Then Gerardo Juarez said:

$CATALINA_HOME/bin/start.sh should have happened before pointing at 
http://localhost:8080. It's a common mistake.
And following that david lash response was:
Thanks for the help, though I did startup.sh. 
It appears to start (I have a tomcat deamon running). 
The file logs/Catalina.out was not clean during the startup (don't know if that is normal). It looks like the enclosed 

Thanks
Dave lash
Catalina.start: LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use:8080

So, what's happening here is that someone confused david lash with the 
bind exception thing because he had tomcat already up and running as a 
daemon, and OFF COURSE he had a bind error when manually running tomcat

My guess, he doesn't have anything in the tomcat ROOT. and he has an 
already running tomcat set up.

Shapira, Yoav escribió:
Hi,
I don't think so ;)  You're confusing two threads here.  This guy doesn't get a 404, 
he gets a bind exception.  There's no way to rule out the option I suggested from the 
information he's posted so far.
Your suggestion to the other guy who's getting the 404 is also likely wrong: the 
default servlet is included automatically from $CATALINA_HOME/conf/web.xml.  A 
webapp's web.xml file can contain just the root element with nothing in it, as his 
does: that's both valid and supported by Tomcat.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:39 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?
I think that's not the case, look that he gets a 404 status from tomcat
with a Apache Tomcat/4.1.18 signature at the end
the problem he's having is that the default servlet for tomcat root
isn't insatalled very rare indeed, but that's the case
Shapira, Yoav escribió:
   

Hi,
There is at least one of other possible cause for this error.
Perhaps your shutdown cannot be completed normally.  For example, if you
start a non-daemon thread from your app and never shut it down, it will
keep running.  That will prevent the JVM process from exiting and the
port will stay bound, even though all the Tomcat stuff is gone and you
won't be able to connect to Tomcat with a browser.
In that case, you'd need to kill the process in order to release the
port.  Then you'll be able to start up again.  Of course, you should
debug why this is happening.
Yoav Shapira
Millennium Research Informatics

 

-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 12:24 PM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?
It looks like the port is being used by another application.
Run Shutdown.sh once, and then run startup.sh and still if you get the
   

same
 

error as Catalina.start: LifecycleException:  Protocol handler
initialization failed: java.net.BindException: Address already in
   

use:8080
 

Then some other application is using the port
Access server.xml file and change port from 8080 to say 7645 .
Try to start the server and access the page at http://localhost:7645
Best Regards,
Avinash
- Original Message -
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 9:45 PM
Subject: Re: Help with Tomcat Install?

   

Catalina.start: LifecycleException:  Protocol handler initialization
   

failed: java.net.BindException: Address already in use:8080
   

LifecycleException:  Protocol handler initialization failed:
   

java.net.BindException: Address already in use:8080
   

   

This error is saying that port 8080 is already taken, probably by
 

your
 

already running Tomcat daemon, it is common in that case
--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com


 

---
   


 

-


   

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

DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. Before opening attachments please check them for viruses
   

and
 

defects. MindTree Consulting Private Limited (MindTree) will not be
responsible for any viruses or defects or any forwarded

RE: Help with Tomcat Install?

2004-09-08 Thread Lash, David A (David)
All

Thanks for your help and suggestions. I finally got the install to work by the 
following: 

1. I grabbed a more recent binary distribution. 
2. I changed the port to . It appeared that something was on port 8080. The 
strange thing was 
that the deamon did start (but I could not look at pages). 

thanks again
dave lash


-Original Message-
From: Lash, David A (David) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 11:49 AM
To: Tomcat Users List
Subject: RE: Help with Tomcat Install?


Hi all 

Here is the contents of webapps/ROOT

WEB-INF/ index.jspjakarta-banner.gif   tomcat-power.gif 
tomcat.gif

I also tried http://localserver:8080/index.jsp 


And got the same 404 error. So its like tomcat is looking in a different directory. Is 
there a config file that defines where tomcat looks for root files? (perhaps someone 
(at my site) changed this).

Thanks
Dave lash


-Original Message-
From: Avinash R S [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 08, 2004 11:47 AM
To: Tomcat Users List
Subject: Re: Help with Tomcat Install?

John,

Root App does not have a servlet. The page accessed is a static html page
ROOT/index.html.

Then verify whether index.html file along with 3 image files is available at
location ROOT app.

Best Regards,
Avinash R S


- Original Message - 
From: John Villar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 10:08 PM
Subject: Re: Help with Tomcat Install?


 I think that's not the case, look that he gets a 404 status from tomcat
 with a Apache Tomcat/4.1.18 signature at the end
 the problem he's having is that the default servlet for tomcat root
 isn't insatalled very rare indeed, but that's the case

 Shapira, Yoav escribió:

 Hi,
 There is at least one of other possible cause for this error.
 
 Perhaps your shutdown cannot be completed normally.  For example, if you
 start a non-daemon thread from your app and never shut it down, it will
 keep running.  That will prevent the JVM process from exiting and the
 port will stay bound, even though all the Tomcat stuff is gone and you
 won't be able to connect to Tomcat with a browser.
 
 In that case, you'd need to kill the process in order to release the
 port.  Then you'll be able to start up again.  Of course, you should
 debug why this is happening.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 
 
 -Original Message-
 From: Avinash R S [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 12:24 PM
 To: Tomcat Users List
 Subject: Re: Help with Tomcat Install?
 
 It looks like the port is being used by another application.
 
 Run Shutdown.sh once, and then run startup.sh and still if you get the
 
 
 same
 
 
 error as Catalina.start: LifecycleException:  Protocol handler
 initialization failed: java.net.BindException: Address already in
 
 
 use:8080
 
 
 Then some other application is using the port
 
 Access server.xml file and change port from 8080 to say 7645 .
 
 Try to start the server and access the page at http://localhost:7645
 
 Best Regards,
 Avinash
 
 
 - Original Message -
 From: John Villar [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 9:45 PM
 Subject: Re: Help with Tomcat Install?
 
 
 
 
 Catalina.start: LifecycleException:  Protocol handler initialization
 
 
 failed: java.net.BindException: Address already in use:8080
 
 
 LifecycleException:  Protocol handler initialization failed:
 
 
 java.net.BindException: Address already in use:8080
 
 
 
 
 This error is saying that port 8080 is already taken, probably by
 
 
 your
 
 
 already running Tomcat daemon, it is common in that case
 
 --
 John Villar
 Gerente de Proyectos
 Computadores Flor Hard Soft 2058 C.A.
 www.florhard.com
 
 
 
 
 
 ---
 
 
 
 
 
 -
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 DISCLAIMER:
 This message (including attachment if any) is confidential and may be
 privileged. Before opening attachments please check them for viruses
 
 
 and
 
 
 defects. MindTree Consulting Private Limited (MindTree) will not be
 responsible for any viruses or defects or any forwarded attachments
 emanating either from within MindTree or outside. If you have received
 
 
 this
 
 
 message by mistake please notify the sender by return  e-mail and
 
 
 delete
 
 
 this message from your system. Any unauthorized use or dissemination of
 this message in whole or in part is strictly prohibited.  Please note
 
 
 that
 
 
 e-mails are susceptible to change and MindTree shall not be liable for
 
 
 any
 
 
 improper, untimely or incomplete transmission.
 
 -
 To unsubscribe, e

Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
Hi, I am using Tomcat 5.0 and Stuct 1.1 to develop a web base application
and I want to create some prepareStatement and execute it multiple times
but since the connection is retrieved from the pool upon request, I
may get a number of connections, how can I create a prepareStatement
to a specific connection??

code like this:

PreparedStatement pstmt = con.prepareStatement(UPDATE EMPLOYEES
 SET SALARY = ? WHERE ID = ?);
   pstmt.setBigDecimal(1, 153833.00)
   pstmt.setInt(2, 110592)


Regards

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



RE: Help on tomcat 5.0 connection pool

2004-07-19 Thread Shapira, Yoav

Hi,
Either use the same connection, i.e. don't return it to the pool between
executions, or re-prepare the statement with every connection.  The
choice depends on how often you run these queries.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 11:42 AM
To: Tomcat Users List
Subject: Help on tomcat 5.0 connection pool

Hi, I am using Tomcat 5.0 and Stuct 1.1 to develop a web base
application
and I want to create some prepareStatement and execute it multiple
times
but since the connection is retrieved from the pool upon request, I
may get a number of connections, how can I create a prepareStatement
to a specific connection??

code like this:

PreparedStatement pstmt = con.prepareStatement(UPDATE EMPLOYEES
 SET SALARY = ? WHERE ID = ?);
   pstmt.setBigDecimal(1, 153833.00)
   pstmt.setInt(2, 110592)


Regards

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Help on tomcat 5.0 connection pool

2004-07-19 Thread Koon Yue Lam
ok, i will have a try, thanks

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



Re: help with tomcat 5 - mod_jk2 - apache 2

2004-06-28 Thread fix
Okay this was a Typo and i fixed it in the workers.properties file. I also
put an empty jk2.properties file in the tomcat conf directories.
However I don't really understand how you can change the jvmRoute to
localhost? I have 2 instances of tomcat, I can't name them both localhost,
can I?
I already tried tomcat1 and tomcat2, but this didn't work either.

More ideas are welcome?

Bjorn

 Hi,

 perhaps it is only a typo, but

 stickSession=1 is wrong should be
 stickySession=1

 Another thing is naming of jvmRoute=localhost:1009. We didn't include
 port here.

 The jk2.properties file is empty in our configuration.


 hope this helps a bit.

 Carsten



 fix wrote:

Hey there,

I've been searching for a long time know and can't seem to find a
solution. I'm settin up a new production server (pIV 4 gig mem) and
wanted to run 1 apache in front of several tomcat instances.
I've set the whole thing up and it works almost, only the stickySession
attribute isn't getting picked up right or something. If I try to
access our application I get switched between the 2 instances.
here is my workers2.properties file:
[shm]
info=Scoreboard. Required for reconfiguration and status with
multiprocess serversfile=/tmp/jk2.shm
size=100

[lb:lb_01]
info=Default load balancer.
debug=0
stickSession=1

[channel.socket:localhost:11009]
tomcatId=localhost:11009
lb_factor=100
group=lb_01

[channel.socket:localhost:12009]
tomcatId=localhost:12009
lb_factor=100
group=lb_01

[status:status]
info=Status worker, displays runtime informations


[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:status

[uri:/jsp-examples/*]
info=Map all the JSP examples
group=lb_01

[uri:/servlets-examples/*]
info=Map all the servlet examples
group=lb_01

[uri:/loadtest/*]
info=testing the load balancer
group=lb_01

one tomcat instance

jk2.properties
## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
channelSocket.port=11009
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

server.xml (what is off importance)

 Engine name=Standalone defaultHost=localhost debug=0
 jvmRoute=localhost:11009
 Connector port=11009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /

1 thing what's not totaly clear to me is why you have an jk2.properties
file and still have to configure the AJP connector. I initialy thought
this was because the AJP connector worked with TCP and the
jk2.properties was for the UNIX sockets but I think I messed that one
up. :)
I'm running tomcat5 latest release and the apache 2 from debian
testing. It is the worker version. I checked it with apache2 -l and i
got this
  core.c
  mod_access.c
  mod_auth.c
  mod_log_config.c
  mod_logio.c
  mod_env.c
  mod_setenvif.c
  worker.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_negotiation.c
  mod_dir.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

this is correct no?

these mods are enabled:

cgi.load  cgid.conf  cgid.load  jk2.load  ssl.conf  ssl.load
usertrack.load

Has anybody had this problem before? I already spent a few houres on
google   and rewrote my properties file several times but always the
same result.
some last info:

Apache/2.0.49 (Debian GNU/Linux) mod_jk2/2.0.4 mod_ssl/2.0.49
OpenSSL/0.9.7d Server at 10.0.0.192 Port 80
thank you







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





 --



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




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



help with tomcat 5 - mod_jk2 - apache 2

2004-06-25 Thread fix
Hey there,

I've been searching for a long time know and can't seem to find a
solution. I'm settin up a new production server (pIV 4 gig mem) and wanted
to run 1 apache in front of several tomcat instances.
I've set the whole thing up and it works almost, only the stickySession
attribute isn't getting picked up right or something. If I try to access
our application I get switched between the 2 instances.
here is my workers2.properties file:
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess
serversfile=/tmp/jk2.shm
size=100

[lb:lb_01]
info=Default load balancer.
debug=0
stickSession=1

[channel.socket:localhost:11009]
tomcatId=localhost:11009
lb_factor=100
group=lb_01

[channel.socket:localhost:12009]
tomcatId=localhost:12009
lb_factor=100
group=lb_01

[status:status]
info=Status worker, displays runtime informations


[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:status

[uri:/jsp-examples/*]
info=Map all the JSP examples
group=lb_01

[uri:/servlets-examples/*]
info=Map all the servlet examples
group=lb_01

[uri:/loadtest/*]
info=testing the load balancer
group=lb_01

one tomcat instance

jk2.properties
## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
channelSocket.port=11009
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

server.xml (what is off importance)

 Engine name=Standalone defaultHost=localhost debug=0
 jvmRoute=localhost:11009
 Connector port=11009
   enableLookups=false redirectPort=8443 debug=0
   protocol=AJP/1.3 /

1 thing what's not totaly clear to me is why you have an jk2.properties
file and still have to configure the AJP connector. I initialy thought
this was because the AJP connector worked with TCP and the jk2.properties
was for the UNIX sockets but I think I messed that one up. :)
I'm running tomcat5 latest release and the apache 2 from debian testing.
It is the worker version. I checked it with apache2 -l and i got this
  core.c
  mod_access.c
  mod_auth.c
  mod_log_config.c
  mod_logio.c
  mod_env.c
  mod_setenvif.c
  worker.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_negotiation.c
  mod_dir.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

this is correct no?

these mods are enabled:

cgi.load  cgid.conf  cgid.load  jk2.load  ssl.conf  ssl.load  usertrack.load

Has anybody had this problem before? I already spent a few houres on
google   and rewrote my properties file several times but always the same
result.
some last info:

Apache/2.0.49 (Debian GNU/Linux) mod_jk2/2.0.4 mod_ssl/2.0.49
OpenSSL/0.9.7d Server at 10.0.0.192 Port 80
thank you







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



Re: help with tomcat 5 - mod_jk2 - apache 2

2004-06-25 Thread Carsten Lex
Hi,
perhaps it is only a typo, but
stickSession=1 is wrong should be
stickySession=1
Another thing is naming of jvmRoute=localhost:1009. We didn't include port here.
The jk2.properties file is empty in our configuration.
hope this helps a bit.
Carsten

fix wrote:
Hey there,
I've been searching for a long time know and can't seem to find a
solution. I'm settin up a new production server (pIV 4 gig mem) and wanted
to run 1 apache in front of several tomcat instances.
I've set the whole thing up and it works almost, only the stickySession
attribute isn't getting picked up right or something. If I try to access
our application I get switched between the 2 instances.
here is my workers2.properties file:
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess
serversfile=/tmp/jk2.shm
size=100
[lb:lb_01]
info=Default load balancer.
debug=0
stickSession=1
[channel.socket:localhost:11009]
tomcatId=localhost:11009
lb_factor=100
group=lb_01
[channel.socket:localhost:12009]
tomcatId=localhost:12009
lb_factor=100
group=lb_01
[status:status]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:status
[uri:/jsp-examples/*]
info=Map all the JSP examples
group=lb_01
[uri:/servlets-examples/*]
info=Map all the servlet examples
group=lb_01
[uri:/loadtest/*]
info=testing the load balancer
group=lb_01
one tomcat instance
jk2.properties
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
channelSocket.port=11009
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
server.xml (what is off importance)
Engine name=Standalone defaultHost=localhost debug=0
jvmRoute=localhost:11009
Connector port=11009
  enableLookups=false redirectPort=8443 debug=0
  protocol=AJP/1.3 /
1 thing what's not totaly clear to me is why you have an jk2.properties
file and still have to configure the AJP connector. I initialy thought
this was because the AJP connector worked with TCP and the jk2.properties
was for the UNIX sockets but I think I messed that one up. :)
I'm running tomcat5 latest release and the apache 2 from debian testing.
It is the worker version. I checked it with apache2 -l and i got this
 core.c
 mod_access.c
 mod_auth.c
 mod_log_config.c
 mod_logio.c
 mod_env.c
 mod_setenvif.c
 worker.c
 http_core.c
 mod_mime.c
 mod_status.c
 mod_autoindex.c
 mod_negotiation.c
 mod_dir.c
 mod_userdir.c
 mod_alias.c
 mod_so.c
this is correct no?
these mods are enabled:
cgi.load  cgid.conf  cgid.load  jk2.load  ssl.conf  ssl.load  usertrack.load
Has anybody had this problem before? I already spent a few houres on
google   and rewrote my properties file several times but always the same
result.
some last info:
Apache/2.0.49 (Debian GNU/Linux) mod_jk2/2.0.4 mod_ssl/2.0.49
OpenSSL/0.9.7d Server at 10.0.0.192 Port 80
thank you



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

--

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


Need help regarding tomcat configuration to support (https)

2004-03-03 Thread saravanan.babu


Hi,

We need to configure SSL on Tomcat4 server. The web service has to
authenticate the client using certificate.
We followed the document which has been attached along this mail.
1.  If we use the admin tool to add new connecter for https (port
8443) tomcat is starting properly but the same https:\\localhost:8443 is
not working, I mean the page cannot be displayed error message is
coming.
2.  If we modify the server.xml manually then also we are getting
the same problem.
3.  If we comment the non-SSL part in the server.xml after step 2,
the page is displaying but the tomcat is not starting properly.

Our requirement is that, we have to make 8443 as default port and have
to remove the 8080 support.
Please help me out to solve this problem.

Thanks  Regards
Saravanan






Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

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



Need help in Tomcat 4.1.29

2004-02-18 Thread suviswan
Hi all
I want to add a particular directory in tomcat's shared classpath.
The directory is outside tomcat home directory.
I can do this by adding this path in the tomcat's startup classpath.
But it throws some other exceptions.

Is there any way i can do this ?

Thanks
Surendra


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



Newbie needs help with Tomcat 5.0.16 application install

2004-01-16 Thread Barry Kimelman


My OS is Linux Redhat9.

I have downloaded and installed Tomcat 5.0.16 from a binary
distribution.

I created a build.properties file in my home directory as follows :

manager.username=bkimelman
manager.password=foobar
manager.url=http://localhost:8080/manager


I can successfully use ant to compile my tomcat application.
I can successfully use ant to prepare a WAR file for distribution.

I tried some of the sample applications that came with the tomcat
installation and they all worked OK.

I successfully used the manager webapp (via the Mozilla browser)
to get a listing of all applications :

   http://localhost:8080/manager/list

When I tried to install my webapp using ant I received the following
error message :

/home/bkimelman/tomcat1/build.xml:365: FAIL - Encountered exception
java.util.zip.ZipException: error in opening zip file

lines 361 - 365 are as follows :

361 : deploy url=${manager.url}
362 :username=${manager.username}
363 :password=${manager.password}
364 :path=${app.path}
365 : war=file://${build.home}/

However, when I used the manager webapp via the browser as follows :

http://localhost:8080/manager/deploy?path=/tomcat1;
war=file:/home/bkimelman/tomcat1/dist/tomcat1-1-dev.war

I was successfull in deploying my application
(and I was able to run my application).

Any ideas as to why I can't use ant to install my tomcat application ?

Help in Tomcat 5.0

2004-01-05 Thread Rahul Toraskar
Hi,

I am new to Tomcat env. I am using Tomcat 5.0 with Oracle 8.1.7 on Windows
2000 Platform. Earlier i was working on Weblogic 5.1 Platform. I want to
port my application from Weblogic 5.1 to Tomcat 5.0. I need help in setting
of server.xml, web.xml and oracle pool settings etc. So can anyone help me
in that?

Please reply back ASAP.

Thanks in anticipation,

Rahul Toraskar.


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



Re: Help in Tomcat 5.0

2004-01-05 Thread Jeanfrancois Arcand
Read:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
Then ask more technical questions (make sure you search the list first)

-- Jeanfrancois

Rahul Toraskar wrote:

Hi,

I am new to Tomcat env. I am using Tomcat 5.0 with Oracle 8.1.7 on Windows
2000 Platform. Earlier i was working on Weblogic 5.1 Platform. I want to
port my application from Weblogic 5.1 to Tomcat 5.0. I need help in setting
of server.xml, web.xml and oracle pool settings etc. So can anyone help me
in that?
Please reply back ASAP.

Thanks in anticipation,

Rahul Toraskar.

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



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


RE: help w/ Tomcat configuration

2003-12-29 Thread Shapira, Yoav

Howdy,

   I already got the http://localhost:8080/ working, but let me
tell you
that
I barely understand the reason I have to install Tomcat, and thus I
feel
overwhelmed with all this configurations and settings.

Welcome to the java and tomcat world ;)

   My Company wishes me replace their Lotus approach DB/interface
with
something more efficient and new, after some research I decided to
implement
MySQL, and Java JSP, I knew that I need to install Tomcat in order to
display Java JSP pages, but that's all I know.

You've made a solid choice, so you're already off to a good start.

   I already went to the Administrator/JSP Engine Config HOW-TO
section
under
my local host, but I get easily intimidated by all the terms used Ant,
jikes, forks, etc. Is there a section that explains all that, a
glossary
of
sorts? Even though I have a pretty good idea of what all that means, I
rather understand it before acting.

Get a book, e.g. Core Servlets and JSPs.  It gives an overview and
explanation of all these terms and ideas.  The book may look thick, but
it's easy to read and you don't have to memorize all of it.  It will
save you weeks of frustration.  Then when you have specific questions,
ask them here and we'll help you out ;)

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



help w/ Tomcat configuration

2003-12-28 Thread Gustavo Nieto
To whom it may concern:

Hi!, I recently installed Tomcat on my Laptop (I have to install it on my
Company's Server, which is a Windows 2003 Server, but since this is my first
time doing so I begun with my laptop).

I already got the http://localhost:8080/ working, but let me tell you that
I barely understand the reason I have to install Tomcat, and thus I feel
overwhelmed with all this configurations and settings.

My Company wishes me replace their Lotus approach DB/interface with
something more efficient and new, after some research I decided to implement
MySQL, and Java JSP, I knew that I need to install Tomcat in order to
display Java JSP pages, but that's all I know.

I already went to the Administrator/JSP Engine Config HOW-TO section under
my local host, but I get easily intimidated by all the terms used Ant,
jikes, forks, etc. Is there a section that explains all that, a glossary of
sorts? Even though I have a pretty good idea of what all that means, I
rather understand it before acting.

I'm barely going to learn Java JSP as well as MySQL, which I know should be
first step before diving into Tomcat, but this is an urgent shore and I'm
stuck with doing it all at once.

Any help would be greatly appreciated.

You guys are doing a great work, I still can't believe that all this is
open source since it is Top Notch Grade

Thank you and have a happy new year!

-Gustavo N.

P.S. What is a local host? why is my http://localhost:8080/ pointing to a
webpage within my computer? what is it doing?


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



Re: help w/ Tomcat configuration

2003-12-28 Thread akki
hi
actually all is there in server.xml and 
http://localhost is getting u the /$tomcat_home/webpass/ROOT/index.jsp
new contexts are defined in webapps
using xml file ..some samples u can get in /$tomcat_home/webapss/

alos for glossory u can search in web
its all available in plenty


On Sat, 27 Dec 2003, Gustavo Nieto wrote:

 To whom it may concern:
 
   Hi!, I recently installed Tomcat on my Laptop (I have to install it on my
 Company's Server, which is a Windows 2003 Server, but since this is my first
 time doing so I begun with my laptop).
 
   I already got the http://localhost:8080/ working, but let me tell you that
 I barely understand the reason I have to install Tomcat, and thus I feel
 overwhelmed with all this configurations and settings.
 
   My Company wishes me replace their Lotus approach DB/interface with
 something more efficient and new, after some research I decided to implement
 MySQL, and Java JSP, I knew that I need to install Tomcat in order to
 display Java JSP pages, but that's all I know.
 
   I already went to the Administrator/JSP Engine Config HOW-TO section under
 my local host, but I get easily intimidated by all the terms used Ant,
 jikes, forks, etc. Is there a section that explains all that, a glossary of
 sorts? Even though I have a pretty good idea of what all that means, I
 rather understand it before acting.
 
   I'm barely going to learn Java JSP as well as MySQL, which I know should be
 first step before diving into Tomcat, but this is an urgent shore and I'm
 stuck with doing it all at once.
 
   Any help would be greatly appreciated.
 
   You guys are doing a great work, I still can't believe that all this is
 open source since it is Top Notch Grade
 
   Thank you and have a happy new year!
 
 -Gustavo N.
 
 P.S. What is a local host? why is my http://localhost:8080/ pointing to a
 webpage within my computer? what is it doing?
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
contact me :
_
Akhilesh Kumar Maurya
Engineer
ITX,BHEL 
Hardwar 
_
E-Mail Id(s):-
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
__


DISCLAIMER:
This message contains privileged and confidential information and is 
intended only for the individual named.If you are not the intended 
recipient you should not disseminate,distribute,store,print, copy or 
deliver this message.Please notify the sender immediately by e-mail if you have 
received this e-mail by mistake and delete this e-mail from your 
system.E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted,corrupted,lost,destroyed,arrive late 
or incomplete or contain viruses.The sender therefore does not accept 
liability for any errors or omissions in the contents of this message 
which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.



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



RE: help in tomcat 5 and MS SQL 2000

2003-12-23 Thread Kannan Sundararajan
Hi Tom, 

Can you stop this return receipt thing?

Regards

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 1:41 PM
To: [EMAIL PROTECTED]
Subject: RE: help in tomcat 5 and MS SQL 2000



Return Receipt
   
Your  RE: help in tomcat 5 and MS SQL 2000 
document   
:  
   
was   Tom Williams/HQ/dssi 
received   
by:
   
at:   12/22/2003 10:40:56 AM   
   





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

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



RE: help in tomcat 5 and MS SQL 2000

2003-12-22 Thread Tom . Williams

Return Receipt
   
Your  RE: help in tomcat 5 and MS SQL 2000 
document   
:  
   
was   Tom Williams/HQ/dssi 
received   
by:
   
at:   12/22/2003 10:40:56 AM   
   





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



help in tomcat 5 and MS SQL 2000

2003-12-17 Thread suchun18
Hi,

I'd like to learn JSP with Tomcat 5. Any help in how to configure Tomcat in 
order to connect with MS SQL 2000 server.

Thanks in advance,

Suchun Wu


1


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



Re: help in tomcat 5 and MS SQL 2000

2003-12-17 Thread Alan Czajkowski
u can either:

a) search google for this info

b) look at Tomcat Documentation in the JNDI Datasource HOW-TO, 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

c) if setting up MS SQL 2000 is anything similar to Sybase ASE (which it 
should since they used to be the same product), then u can check out 
Sybase's jConnect 5.5 (which can be downloaded from Sybase's website) and 
how to set it up with Tomcat, 
http://info.sybase.com/resolution/detail.stm?id_number=10899047


Thanks,

Alan Czajkowski
-
Database Administrator
BMO Financial Group
Decision Support Services
3300 Bloor Street West
14th Floor, West Tower
Toronto, Ontario, M8X 2X2
Tel: 416.232.8736
-




[EMAIL PROTECTED]
17/12/2003 10:07 AM
Please respond to Tomcat Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:help in tomcat 5 and MS SQL 2000

Hi,

I'd like to learn JSP with Tomcat 5. Any help in how to configure Tomcat 
in 
order to connect with MS SQL 2000 server.

Thanks in advance,

Suchun Wu


1


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





RE: help in tomcat 5 and MS SQL 2000

2003-12-17 Thread Sleeper, Jesse
If you have a driver already I'll post a sample configuration. Whould that help?

Jester

-Original Message-
From: Alan Czajkowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 11:37 AM
To: Tomcat Users List
Subject: Re: help in tomcat 5 and MS SQL 2000


u can either:

a) search google for this info

b) look at Tomcat Documentation in the JNDI Datasource HOW-TO, 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

c) if setting up MS SQL 2000 is anything similar to Sybase ASE (which it 
should since they used to be the same product), then u can check out 
Sybase's jConnect 5.5 (which can be downloaded from Sybase's website) and 
how to set it up with Tomcat, 
http://info.sybase.com/resolution/detail.stm?id_number=10899047


Thanks,

Alan Czajkowski
-
Database Administrator
BMO Financial Group
Decision Support Services
3300 Bloor Street West
14th Floor, West Tower
Toronto, Ontario, M8X 2X2
Tel: 416.232.8736
-




[EMAIL PROTECTED]
17/12/2003 10:07 AM
Please respond to Tomcat Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:help in tomcat 5 and MS SQL 2000

Hi,

I'd like to learn JSP with Tomcat 5. Any help in how to configure Tomcat 
in 
order to connect with MS SQL 2000 server.

Thanks in advance,

Suchun Wu


1


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




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



Re: help in tomcat 5 and MS SQL 2000

2003-12-17 Thread Suchun Wu
In the how-to file you mentioned, there is no example for MS SQL and Sybase.
There is an example for mysql. I wonder it works with MS SQL 2000.
Someone has similar experience, please share.

Thanks,

Suchun

- Original Message - 
From: Alan Czajkowski [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 11:37 AM
Subject: Re: help in tomcat 5 and MS SQL 2000


 u can either:

 a) search google for this info

 b) look at Tomcat Documentation in the JNDI Datasource HOW-TO,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

 c) if setting up MS SQL 2000 is anything similar to Sybase ASE (which it
 should since they used to be the same product), then u can check out
 Sybase's jConnect 5.5 (which can be downloaded from Sybase's website) and
 how to set it up with Tomcat,
 http://info.sybase.com/resolution/detail.stm?id_number=10899047


 Thanks,

 Alan Czajkowski
 -
 Database Administrator
 BMO Financial Group
 Decision Support Services
 3300 Bloor Street West
 14th Floor, West Tower
 Toronto, Ontario, M8X 2X2
 Tel: 416.232.8736
 -




 [EMAIL PROTECTED]
 17/12/2003 10:07 AM
 Please respond to Tomcat Users List


 To: [EMAIL PROTECTED]
 cc:
 Subject:help in tomcat 5 and MS SQL 2000

 Hi,

 I'd like to learn JSP with Tomcat 5. Any help in how to configure Tomcat
 in
 order to connect with MS SQL 2000 server.

 Thanks in advance,

 Suchun Wu


 1


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






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



RE: help in tomcat 5 and MS SQL 2000

2003-12-17 Thread D'Alessandro, Arthur
 
Goto microsoft's site, they have a SQL 2000 JDBC driver available..

-Art

-Original Message-
From: Suchun Wu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 8:26 PM
To: Tomcat Users List
Subject: Re: help in tomcat 5 and MS SQL 2000

In the how-to file you mentioned, there is no example for MS SQL and
Sybase.
There is an example for mysql. I wonder it works with MS SQL 2000.
Someone has similar experience, please share.

Thanks,

Suchun

- Original Message -
From: Alan Czajkowski [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 11:37 AM
Subject: Re: help in tomcat 5 and MS SQL 2000


 u can either:

 a) search google for this info

 b) look at Tomcat Documentation in the JNDI Datasource HOW-TO,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html

 c) if setting up MS SQL 2000 is anything similar to Sybase ASE (which
it
 should since they used to be the same product), then u can check out
 Sybase's jConnect 5.5 (which can be downloaded from Sybase's website)
and
 how to set it up with Tomcat,
 http://info.sybase.com/resolution/detail.stm?id_number=10899047


 Thanks,

 Alan Czajkowski
 -
 Database Administrator
 BMO Financial Group
 Decision Support Services
 3300 Bloor Street West
 14th Floor, West Tower
 Toronto, Ontario, M8X 2X2
 Tel: 416.232.8736
 -




 [EMAIL PROTECTED]
 17/12/2003 10:07 AM
 Please respond to Tomcat Users List


 To: [EMAIL PROTECTED]
 cc:
 Subject:help in tomcat 5 and MS SQL 2000

 Hi,

 I'd like to learn JSP with Tomcat 5. Any help in how to configure
Tomcat
 in
 order to connect with MS SQL 2000 server.

 Thanks in advance,

 Suchun Wu


 1


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






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



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



Help on Tomcat Configuration...

2003-12-02 Thread Tony
HI !!

i have a problem trying to configurate my apache 2.x with Tomcat 4 (jni using jk2)...
everything looks fine when i initiate apache, but when i try to access the examples 
apps (localhost/examples) i got the following error on error.log (apache directory):

Tue Dec 02 03:08:56 2003] [notice] Parent: Created child process 2480
[Tue Dec 02 03:08:57 2003] [notice] Child 2480: Child process is running
[Tue Dec 02 03:08:57 2003] [error] mod_jk child init 1 0
[Tue Dec 02 03:08:57 2003] [notice] Child 2480: Acquired the start mutex.
[Tue Dec 02 03:08:57 2003] [notice] Child 2480: Starting 250 worker threads.
[Tue Dec 02 03:15:16 2003] [error] channel_jni.open() Can't create java context
[Tue Dec 02 03:15:16 2003] [error] channel_jni.send() no java context
[Tue Dec 02 03:15:16 2003] [error] ajp13.service() Error  forwarding ajp13:jni 1 0
[Tue Dec 02 03:15:16 2003] [error] lb.service() worker failed 12 for ajp13:jni
[Tue Dec 02 03:15:16 2003] [error] lb_worker.service() all workers in error or 
disabled state
[Tue Dec 02 03:15:16 2003] [error] mod_jk.handler() Error connecting to tomcat 12

...

can anybody help me on this please ??

my workers2.properties is as follows:



[shm] 
file=C:/Apache2/logs/jk2.shm 
size=1048576 


[channel.jni:jni] 


[vm:] 
OPT=-Djava.class.path=C:/Tomcat/bin/tomcat-jni.jar;C:/Tomcat/server/lib/tomcat-jk2.jar;C:/Tomcat/server/lib/commons-logging.jar;C:/Tomcat/common/lib/commons-collections.jar;C:/Tomcat/common/lib/naming-common.jar;C:/Tomcat/common/lib/naming-resources.jar;C:/Tomcat/server/lib/catalina.jar;C:/Tomcat/server/lib/commons-digester.jar;C:/TomCat/server/lib/commons-beanutils.jar;C:/Tomcat/server/lib/mx4j-jmx.jar;C:/Tomcat/server/lib/commons-modeler.jar;C:/Tomcat/common/lib/servlet.jar;C:/Tomcat/server/lib/tomcat-http11.jar;C:/Tomcat/server/lib/servlets-invoker.jar;C:/Tomcat/server/lib/servlets-default.jar;C:/Tomcat/server/lib/servlets-webdav.jar;C:/Tomcat/server/lib/servlets-manager.jar;C:/Tomcat/server/lib/servlets-common.jar;c:/j2sdk/j2sdk1.4.2/lib/tools.jar;c:/tomcat/bin/BootStrap.jar;c:/tomcat/server/lib/tomcat-util.jar;c:/tomcat/server/lib/tomcat-coyote.jar
OPT=-Dtomcat.home=C:/Tomcat 
OPT=-Dcatalina.home=C:/Tomcat
OPT=-Xmx128M
 

[worker.jni:onStartup] 
class=org/apache/jk/apr/TomcatStarter 
ARG=start 
stdout=C:/apache2/logs/stdout.log 
stderr=C:/apache2/logs/stderr.log 

[worker.jni:onShutdown] 
class=org/apache/jk/apr/TomcatStarter 
ARG=stop 

[uri:/examples/*] 

[uri:/*] 



thanks for any help.
[]s.


RE: help for tomcat

2003-11-12 Thread Anton Modaresi
Hello,

Put your driver in common/lib
configure server.xml with your database's
username/password/driverclass/driveruri

also look into the stacktrace to know why the exception is thrown.

regards
/anton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 11 november 2003 17:47
To: [EMAIL PROTECTED]
Subject: help for tomcat



Dear all,
 I am university student in sri lanaka. I want to setup tomacat to access to
oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in
window 2000 server.Both working individually well. I want to connect thro
JSP page. What I have to do?

Please tell the which file i have to configure. other wise specify the
websites.
I ran with sample code but it say this error
org.apache.jasper.JasperException

please help me
thanks in advance



This message was sent using IMP, the Internet Messaging Program.

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


help for tomcat

2003-11-11 Thread e98258

Dear all,
 I am university student in sri lanaka. I want to setup tomacat to access to
oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in
window 2000 server.Both working individually well. I want to connect thro
JSP page. What I have to do?

Please tell the which file i have to configure. other wise specify the websites.
I ran with sample code but it say this error
org.apache.jasper.JasperException

please help me
thanks in advance



This message was sent using IMP, the Internet Messaging Program.

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



Re: help for tomcat

2003-11-11 Thread epyonne
It is not good programming to put any connection string or code on JSP.
Instead, those code should be encapsulated in either a servlet class or a
java bean.

To access Oracle database, simply use the DriverManager for that.  I also
recommend you to download the Type 4 JDBC driver for this task.

Hope this helps.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 10:47 AM
Subject: help for tomcat



 Dear all,
  I am university student in sri lanaka. I want to setup tomacat to access
to
 oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in
 window 2000 server.Both working individually well. I want to connect thro
 JSP page. What I have to do?

 Please tell the which file i have to configure. other wise specify the
websites.
 I ran with sample code but it say this error
 org.apache.jasper.JasperException

 please help me
 thanks in advance


 
 This message was sent using IMP, the Internet Messaging Program.

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



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



Help with Tomcat

2003-09-30 Thread Lucas Alvarez
Hi all,

I want to know if there is any command line tool to get the status of the 
java processes that tomcat is running from a remote machine. For example I 
would like to know if some process is frozen, locked up or if it's Ok.
Any help is welcome.
Thanks in advance.

Lucas.
System administrator.
Pictage, inc.
nal commands, e-mail: [EMAIL PROTECTED]


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Help with Tomcat 5.0 setup.

2003-09-16 Thread Giri Gopal
Hello:

Thanks for the help in installing Tomcat 5.0. I cannot start tomcat from the
menu or icon, but I am able to start from dos prompt. I run the sample JSP
test in Tomcat, they work fine. Now the real test:

1) I have an Oracle DB. I copied the classes12.Jar file   to the tomcat
folders common/lib.

Does any one have a sample JSP script to access an oracle table and display
data?


Thanks for your help in advance,
GG



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



Help with Tomcat 4.1.24

2003-07-31 Thread Sarika Inamdar
Hi All,

We have migrated to tomcat 4.1.24 from tomcat 3.2.23. Thanks to the
tomcat-user list, we were able to deploy the tomcat successfully :-)

We have one issue however !!!

The tomcat 4.1.24, requires that we place all the jars which is used by
the jsp's under TOMCAT_HOME/webapps/WEB-INF/lib directory.

In our deployment, we use lot of 3rd party software like AdventSNMP jar,
tibco jar and our own application jar.

These jars are already present under our tools directory. But with
4.1.24 migration, we have to place all these jars under WEB-INF/lib.
This will destroy our directory structure in case we want to mv all of
them.

To avoid this, we created soft links for the required jars under
/WEB-INF/lib.

The problem is tomcat server is able to DEPLOY some of the jars, and is
cribbing for some jars.

For Example, for AdventNetSNMP jar, tomcat throws the following error :

2003-07-31 16:07:25 ContextConfig[] Exception processing JAR at resource
path /WE
B-INF/lib/AdventNetSnmp.jar
javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-IN
F/lib/AdventNetSnmp.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.jav
a:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:8
68)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647
)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig
.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
Support.java:166)

Is it possible that some jars get deployed and some don't ? 
Please lend me your inputs and suggesstions.

Thanks in Advance,
Sarika 


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



RE: Help with Tomcat 4.1.24

2003-07-31 Thread Shapira, Yoav

Howdy,
You can search the archives on the use of symlinks or the tldScanJar
exception for more information: this comes up a lot.

What I suggest is to stick with your current system: have a central
location for your tools, preferably under version control, and copy jars
out of it into the WEB-INF/lib directories when deploying (this copy is
done by an Ant script I assume).  Yes, this means two hard copies rather
than a link, but it keeps your webapp self-contained and helps ensure
portability for  platforms/servers that don't support symbolic links.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Sarika Inamdar [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 6:31 AM
To: [EMAIL PROTECTED]
Subject: Help with Tomcat 4.1.24

Hi All,

We have migrated to tomcat 4.1.24 from tomcat 3.2.23. Thanks to the
tomcat-user list, we were able to deploy the tomcat successfully :-)

We have one issue however !!!

The tomcat 4.1.24, requires that we place all the jars which is used by
the jsp's under TOMCAT_HOME/webapps/WEB-INF/lib directory.

In our deployment, we use lot of 3rd party software like AdventSNMP
jar,
tibco jar and our own application jar.

These jars are already present under our tools directory. But with
4.1.24 migration, we have to place all these jars under WEB-INF/lib.
This will destroy our directory structure in case we want to mv all of
them.

To avoid this, we created soft links for the required jars under
/WEB-INF/lib.

The problem is tomcat server is able to DEPLOY some of the jars, and is
cribbing for some jars.

For Example, for AdventNetSNMP jar, tomcat throws the following error :

2003-07-31 16:07:25 ContextConfig[] Exception processing JAR at
resource
path /WE
B-INF/lib/AdventNetSnmp.jar
javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-IN
F/lib/AdventNetSnmp.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.jav
a:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:8
68)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647
)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig
.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle
Support.java:166)

Is it possible that some jars get deployed and some don't ?
Please lend me your inputs and suggesstions.

Thanks in Advance,
Sarika


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Pls Help~ apache tomcat symbolic link

2003-07-21 Thread wing
Hi all,

I'm using apache tomcat4.1, in webapps i made a symbolic link for my directory 
content, and I've modified the context configuration with below:

Resources className=org.apache.naming.resources.FileDirContext allowLinking=true 
/

files inside the content can be accessed if i use port 8080, but if i use apache 
(port 80) to access, tomcat always return a HTTP Status 404 error. 

http://localhost/course/content/upload/Notes/Part-1-2003.pdf (not work!)

http://localhost:8080/course/content/upload/Notes/Part-1-2003.pdf (work)

Any suggestion is welcome, thanks!


Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I have set up a few computers with Tomcat on a network and local machines.  I am 
having problems running Tomcat on this particular machine which is on a network.  I 
have moved the servlet.jar file to the java sdk home/jre/lib/ext.  I have set up 
JAVA_HOME to point to my sdk location and the TOMCAT_HOME to the tomcat location.  
when I run Tomcat by typing tomcat startup or tomcat start it opens a new dos window 
and closes it immediately.  I type in tomcat run and it gives me this error:  
Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/tomcat/logging/Logger

What could be causing this error?  How do I fix it so that I can run Tomcat on this 
machine.  Could the current network setup interfere?


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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 02:18, Ivon Gonzalez wrote:
  I have moved the servlet.jar file to the java sdk home/jre/lib/ext.

Why did you do that? That is probably causing your problem...

Try:

startup.bat -- startup_error.log

to capture the errors and then see what the problem is by reviewing the file.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread Lee W
Ivon Gonzalez wrote:
I have set up a few computers with Tomcat on a network and local machines.  I am having problems running Tomcat on this particular machine which is on a network.  I have moved the servlet.jar file to the java sdk home/jre/lib/ext.  I have set up JAVA_HOME to point to my sdk location and the TOMCAT_HOME to the tomcat location.  when I run Tomcat by typing tomcat startup or tomcat start it opens a new dos window and closes it immediately.  I type in tomcat run and it gives me this error:  Exception in thread main java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger

What could be causing this error?  How do I fix it so that I can run Tomcat on this machine.  Could the current network setup interfere?

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


.

Ivon,

I don't think this is the reason for the problem but why are you moving 
the servlet.jar file.

All the instructions I have ready so far (yes I am still a newbie) say 
to simply set the classpath to point to where the servlet.jar file is, 
on a windows machine(and I think unix/linux as well) it should be in 
%CATALINA_HOME%\common\lib\servlet.jar.

Have you set the environment variables (JAVA_HOME, CATLINA_HOME, CLASSPATH)?

Just though I would add my 2 pennies worth.

Regards

Lee

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


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
The servlet.jar file needs to exist in both Tomcat and the JDK


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



Re: Help Running Tomcat

2003-06-11 Thread Michael Duffy

It should just be in TOMCAT_HOME/common/lib, and
nowhere else, IMHO. - MOD


--- Ivon Gonzalez [EMAIL PROTECTED] wrote:
 The servlet.jar file needs to exist in both Tomcat
 and the JDK
 
 

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


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 02:40, Ivon Gonzalez wrote:
 The servlet.jar file needs to exist in both Tomcat and the JDK

No it doesn't, I have never copied or moved the servlet.jar to within the JDK, 
as long as you build your classpath properly when compiling there is no need 
what so ever to do that.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread Lee W
Ivon Gonzalez wrote:

The servlet.jar file needs to exist in both Tomcat and the JDK

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



That is why you setup your CLASSPATH environment. For example mine 
is(Excuse the line wrapping):

C:\Program Files\Apache Group\Tomcat 
4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 
4.1\common\lib;c:\JMF\lib\jmf.jar;.

By having this setup both tomcat and your Java development enviroment 
have access to the servlet (and whatever other item you have it in, such 
as Java Media Framework, jmf.jar) classes.

Regards

Lee

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


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
Thanks everyone for your responses!!

I have received a few messages re: the servlet.jar file.  I have tried removing it.  
From the documentation I have reviewed, even on apache's site, it suggests moving the 
file.  I am running Tomcat 3.2.3.  I have my JAVA_HOME and TOMCAT_HOME environment 
variables set, along with my CLASSPATH (which isn't necessary because the .bat files 
point it to the proper location.

Any other suggestions?  I appreciate the help!


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



Re: Help Running Tomcat

2003-06-11 Thread John Turner
Don't move anything.  NoClassDefFoundError is thrown when you mess with 
servlet.jar.  It means that the servlet.jar file that Tomcat needs is NOT 
the servlet.jar file it is finding.  You probably have more than one on 
that computer, and the one Tomcat needs is not being found first.

Don't move anything.  Unpack Tomcat, set your environment variables, and be 
done.

If you need to compile something, put servlet.jar on your PATH, but do it 
so that the addition to PATH is the location of the servlet.jar file 
installed with Tomcat.  Don't move the file, there's no need to do so.

Also, it would help us if you would tell us what version of Tomcat, and 
what operating system.

John

On Wed, 11 Jun 2003 13:40:43 -0500, Ivon Gonzalez [EMAIL PROTECTED] wrote:

The servlet.jar file needs to exist in both Tomcat and the JDK

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I didn't move the servlet.jar file, I copied it.  But I did what you have suggested.  
I have removed all versions of Tomcat.  I have installed Tomcat3.2.3 on a Windows XP 
machine and set the Environmet variables.  I have even attempted to set PATH to the 
servlet.jar file.  The error isn't with the servlet.jar file.  It is:

Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/tomcat/logging/Logger

Does this make a big difference?


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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 03:15, Ivon Gonzalez wrote:
 Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/tomcat/logging/Logger

That means you have classpath problems with a conflict of that class, I 
haven't got Tomcat 3 or ever used it so I can't tell you which JAR in 
particular.

Just make sure you have cleared our your CLASSPATH and you don't have any old 
JAR's hanging around or any newer ones even...

-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread John Turner
Well, the error message is still the same.

NoClassDefFoundError is not the same as ClassNotFound.

As I understand it, NoClassDefFound means that the class Tomcat is finding 
is not the class it should find.  Typically this means that there is more 
than one version of Tomcat or more than one version of a JAR file on a 
machine, and the incorrect version is being found instead of the correct 
version.

Other than that, I will have to defer to the gurus...you've mentioned that 
you have removed all versions of Tomcat, so I don't see any reason why the 
3.2.3 you are now trying to install would be confused, but someone more 
experienced than I might have a suggestion.

John

On Wed, 11 Jun 2003 14:15:52 -0500, Ivon Gonzalez [EMAIL PROTECTED] wrote:

I didn't move the servlet.jar file, I copied it.  But I did what you have 
suggested.  I have removed all versions of Tomcat.  I have installed 
Tomcat3.2.3 on a Windows XP machine and set the Environmet variables.  I 
have even attempted to set PATH to the servlet.jar file.  The error isn't 
with the servlet.jar file.  It is:

Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/tomcat/logging/Logger

Does this make a big difference?

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help Running Tomcat

2003-06-11 Thread Michael Duffy

Can you find a class named
org.apache.tomcat.logging.Logger in any of the JARS in
TOMCAT_HOME/common/lib?  Maybe you're missing a JAR
that you have to add.

Also, if I search for that class with Google it turns
this up:

http://www.caucho.com/support/resin-interest/0009/0126.html

The guy who wrote it had the same kind of problem, and
he had Resin and Tomcat installed.  Do you have any
other apps installed (e.g., J2EE reference
implementations, etc.) that might be hanging around
and causing this?  Could be worth a check. - MOD


--- John Turner [EMAIL PROTECTED] wrote:
 
 Well, the error message is still the same.
 
 NoClassDefFoundError is not the same as
 ClassNotFound.
 
 As I understand it, NoClassDefFound means that the
 class Tomcat is finding 
 is not the class it should find.  Typically this
 means that there is more 
 than one version of Tomcat or more than one version
 of a JAR file on a 
 machine, and the incorrect version is being found
 instead of the correct 
 version.
 
 Other than that, I will have to defer to the
 gurus...you've mentioned that 
 you have removed all versions of Tomcat, so I don't
 see any reason why the 
 3.2.3 you are now trying to install would be
 confused, but someone more 
 experienced than I might have a suggestion.
 
 John
 
 On Wed, 11 Jun 2003 14:15:52 -0500, Ivon Gonzalez
 [EMAIL PROTECTED] wrote:
 
  I didn't move the servlet.jar file, I copied it. 
 But I did what you have 
  suggested.  I have removed all versions of Tomcat.
  I have installed 
  Tomcat3.2.3 on a Windows XP machine and set the
 Environmet variables.  I 
  have even attempted to set PATH to the servlet.jar
 file.  The error isn't 
  with the servlet.jar file.  It is:
 
  Exception in thread main
 java.lang.NoClassDefFoundError: 
  org/apache/tomcat/logging/Logger
 
  Does this make a big difference?
 
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 Using M2, Opera's revolutionary e-mail client:
 http://www.opera.com/m2/
 

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


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I did find the Logger.java file

I do not have any local servers running which may conflict with Tomcat  I have the 
basic Tomcat and JDK setup.  I have ONE version of the servlet.jar file in Tomcat.  I 
am using the same Tomcat setup that I used on other machines



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



Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I have solved my problem.  JDK had some jar files that were conflicting with running 
Tomcat.  I did, however, (FOR THE RECORD) require the servlet.jar file to be placed in 
the JDK1.3.1\jre\lib\ext   folder.  Perhaps the newer versions do not require this but 
I Tomcat 3.2.3 does.

THANK YOU! to all of those who tried all this time to give me advice.  You 
certainly helped me find the right path to my solution.  YOU ALL ROCK!!!

Ivon


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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 03:55, Ivon Gonzalez wrote:
 I did find the Logger.java file

 I do not have any local servers running which may conflict with Tomcat  I
 have the basic Tomcat and JDK setup.  I have ONE version of the servlet.jar
 file in Tomcat.  I am using the same Tomcat setup that I used on other
 machines

Maybe try a reboot? Windows can be a bit funny when it comes to changing 
environment variables...

Have you got both TOMCAT_HOME and CATALINA_HOME pointing to your Tomcat 
install directory? Is your CLASSPATH empty or non existent?

It's a bit hard to remotely debug this sort of problem, you just have to 
experiment and find what is causing the conflict with your classes. :)

What JDK are you using by the way? That could be the culprit...

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread Jeffrey Cummings
I am trying to setup tomcat 4.1.24 with IIS. When I request a page I get the
following message:-


HTTP Status 404 - /tomcat/isapi_redirect.dll
___
type Status report
message /tomcat/isapi_redirect.dll
description The requested resource (/tomcat/isapi_redirect.dll) is not
available.
_
Apache Tomcat/4.1.24


My registry settings

extension_uri - /tomcat/isapi_redirector.dll
worker_file - C:\Jakarta-4.1.24\conf\workers.properties
worker_mount_file - C:\Jakarta-4.1.24\conf\uriworkermap.properties
log_file - C:\Jakarta-4.1.24\logs\mod_jk_iis.log
log_level - debug


I have a virtual directory tomcat - C:\Jakarta-4.1.24\conf
(isapi_redirector.dll is in the conf directory)
I’ve set up the filter in the default web site for tomcat (it has a green
arrow)
I’m running XP (this is where I test then move to Win2K)
By the way, http://localhost:8080/examples/jsp/index.html works fine


Here is the isapi log when I make the request for
http://localhost/examples/jsp/index.html

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp13
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp13
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (766)]: HttpFilterProc
started
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (829)]: In HttpFilterProc
Virtual Host redirection of /localhost/tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/localhost/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (835)]: In HttpFilterProc
test Default redirection of /tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (899)]: HttpFilterProc
[/tomcat/isapi_redirect.dll] is not a servlet url
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (908)]: HttpFilterProc check
if [/tomcat/isapi_redirect.dll] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (948)]: HttpExtensionProc
started
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (983)]: HttpExtensionProc got
a worker for name ajp13
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1448)]: In
jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 497
seconds
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #314
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13 #81
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (483)]: ajp_unmarshal_response:
status = 404
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response:
Number of headers is = 2
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response:
Header[1] [Content-Language] = [en-US]
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (432)]: Into
jk_ws_service_t::start_response
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13
#747
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (566)]: Into
jk_ws_service_t::write
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13 #2
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (995)]: HttpExtensionProc
service() returned OK
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1382)]: Into
jk_endpoint_t::done, recycling connection

What have I missed?


Jeff




Re: I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread John Turner
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/localhost/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
Please post your .properties files, without them we can't be much help, it 
looks like one of them has a munged up URL.

John

On Mon, 9 Jun 2003 07:47:30 -0400, Jeffrey Cummings [EMAIL PROTECTED] wrote:

I am trying to setup tomcat 4.1.24 with IIS. When I request a page I get 
the
following message:-

HTTP Status 404 - /tomcat/isapi_redirect.dll
___
type Status report
message /tomcat/isapi_redirect.dll
description The requested resource (/tomcat/isapi_redirect.dll) is not
available.
_
Apache Tomcat/4.1.24
My registry settings

extension_uri - /tomcat/isapi_redirector.dll
worker_file - C:\Jakarta-4.1.24\conf\workers.properties
worker_mount_file - C:\Jakarta-4.1.24\conf\uriworkermap.properties
log_file - C:\Jakarta-4.1.24\logs\mod_jk_iis.log
log_level - debug
I have a virtual directory tomcat - C:\Jakarta-4.1.24\conf
(isapi_redirector.dll is in the conf directory)
Ive set up the filter in the default web site for tomcat (it has a green
arrow)
Im running XP (this is where I test then move to Win2K)
By the way, http://localhost:8080/examples/jsp/index.html works fine
Here is the isapi log when I make the request for
http://localhost/examples/jsp/index.html
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, 
Found a
match ajp13
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp13
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (766)]: HttpFilterProc
started
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (829)]: In HttpFilterProc
Virtual Host redirection of /localhost/tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map
URI '/localhost/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (835)]: In HttpFilterProc
test Default redirection of /tomcat/isapi_redirect.dll
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (477)]: Attempting to 
map
URI '/tomcat/isapi_redirect.dll'
[Sat Jun 07 09:18:40 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (899)]: HttpFilterProc
[/tomcat/isapi_redirect.dll] is not a servlet url
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (908)]: HttpFilterProc 
check
if [/tomcat/isapi_redirect.dll] is points to the web-inf directory
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (948)]: HttpExtensionProc
started
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (132)]: Into 
wc_get_worker_for_name
ajp13
[Sat Jun 07 09:18:40 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (983)]: HttpExtensionProc 
got
a worker for name ajp13
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1448)]: In
jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 497
seconds
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (432)]: 
ajp_marshal_into_msgb -
Done
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (642)]: sending to ajp13 
#314
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - request body to resend 0
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13 
#81
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (483)]: 
ajp_unmarshal_response:
status = 404
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (488)]: 
ajp_unmarshal_response:
Number of headers is = 2
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: 
ajp_unmarshal_response:
Header[0] [Content-Type] = [text/html;charset=ISO-8859-1]
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (532)]: 
ajp_unmarshal_response:
Header[1] [Content-Language] = [en-US]
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (432)]: Into
jk_ws_service_t::start_response
[Sat Jun 07 09:18:40 2003]  [jk_ajp_common.c (729)]: received from ajp13
#747
[Sat Jun 07 09:18:40 2003]  [jk_isapi_plugin.c (566)]: Into

Need help w. Tomcat

2003-06-03 Thread Steve Burrus
Hello all, I need help with not using the Tomcat server, but with
actually getting it set up correctly. Every single time that I try to
run it, it seems to be going good for a while, but then I always get a
Fatal Parse Error, and it indicates a problem in the
org.apache.commons.digester file with the web-app tag. Anyone have
any ideas as to what could be wrong?


Re: Need help w. Tomcat

2003-06-03 Thread Kwok Peng Tuck
Any other stuff get printed besides that ?

Steve Burrus wrote:

Hello all, I need help with not using the Tomcat server, but with
actually getting it set up correctly. Every single time that I try to
run it, it seems to be going good for a while, but then I always get a
Fatal Parse Error, and it indicates a problem in the
org.apache.commons.digester file with the web-app tag. Anyone have
any ideas as to what could be wrong?
 



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


Re: Need help w. Tomcat

2003-06-03 Thread Steve Burrus
 Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS:

 Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jun 2, 2003 9:44:29 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jun 2, 2003 9:44:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jun 2, 2003 9:44:49 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 312 column 11: The content of element type
web-app
 must match
(icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma

pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se

curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re

f*).
org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-

mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco

me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const

raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)

at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1543)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
567)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 

Re: Need help w. Tomcat

2003-06-03 Thread Kwok Peng Tuck
It's complaining about a xml file, which does not tally with the dtd 
file it references. Did you by any chance change any web.xml files
in your webapps ? If so can we have a look ?

Steve Burrus wrote:

Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS:

Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jun 2, 2003 9:44:29 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jun 2, 2003 9:44:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jun 2, 2003 9:44:49 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 312 column 11: The content of element type
web-app
must match
(icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma
pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se

curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re

f*).
org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco

me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const

raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
   at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
   at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
   at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
   at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
   at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
   at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1543)
   at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
   at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
   at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
567)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
   at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
   at
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
   at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
   at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
   at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
   at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
   at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
   at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
   at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
   at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
   at
org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
   at
org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
   at

Re: Need help w. Tomcat

2003-06-03 Thread John Turner
This means that one of your web.xml files has invalid syntax, such as an 
element out of order, an element that shouldn't be there, or a missing tag.

The error is explanatory:  the problem is at line 312, column 11 in the 
file.  The error explains that:

SEVERE: Parse Error at line 312 column 11: The content of element type
web-app must match (icon?,display- 
name?,description?,distributable?,context-param*,filter*,filter- 
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- 
mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- 
ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,
ejb-local-ref*).

This means that within your web-app tag, the other elements must follow 
the exact order listed.  That is, servlet MUST come AFTER listener, not 
before.  I'm not saying that's your problem, I am describing how to read 
the error message so that you know what to look for.

Look on line 312, column 11, and figure out which tag from the list above 
is there, then look in the list and figure out if that tag is where it 
should be according to the list order.

John

On Mon, 02 Jun 2003 21:47:54 -0500, Steve Burrus [EMAIL PROTECTED] 
wrote:

Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS:

Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jun 2, 2003 9:44:29 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jun 2, 2003 9:44:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jun 2, 2003 9:44:49 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 312 column 11: The content of element type
web-app
must match
(icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session- 
config?,mime-ma

pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- 
ref*,se

curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb- 
local-re

f*).
org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context- 
param*,filter*,filter-

mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- 
mapping*,welco

me-file-list?,error-page*,taglib*,resource-env-ref*,resource- 
ref*,security-const

raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1543)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:282)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
9)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
567)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

Newbie here...Need help with Tomcat

2003-04-02 Thread Bryan Richardson
Hello,

I am new to the Java and Tomcat world.  I'm fairly experienced with Apache 
and Perl, but I am having to do some stuff with Tomcat and Java files that 
someone else has written.

I have a couple of questions...

If I run a version of Tomcat as a standalone web server, can I access a 
database with it or will I need to set it up with Apache to access a 
database?

I have been trying to attach Tomcat with Apache.  I used mod_jk, and I could 
run the java example programs in the examples folder, but it would not run 
java programs under my own folder in webapps.  I believe I have the 
folder,web.xml,etc. set up right because it will run the java programs in my 
folder if I go directly to Tomcat via port 8080 rather than trying to run 
them through Apache.  Has anyone had this same problem or know something 
that I should be doing?

Someone please help if you can.  Thanks.  Bryan

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:
If I run a version of Tomcat as a standalone web server, can I access a 
database with it or will I need to set it up with Apache to access a 
database?
Tomcat facilitates database connections just fine.  Apache is not needed 
for this.

I have been trying to attach Tomcat with Apache.  I used mod_jk, and I 
could run the java example programs in the examples folder, but it 
would not run java programs under my own folder in webapps.  I believe 
I have the folder,web.xml,etc. set up right because it will run the java 
programs in my folder if I go directly to Tomcat via port 8080 rather 
than trying to run them through Apache.  Has anyone had this same problem 
or know something that I should be doing?
We'd have to know more to help.  Many people are doing this.  Relevant 
portions of httpd.conf (not the whole thing), the Context definitions in 
server.xml, etc.

Someone please help if you can.  Thanks.  Bryan

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie here...Need help with Tomcat

2003-04-02 Thread Bryan Richardson
When I run the examples in the examples foler, it looks like they all call 
a .jsp file, then maybe a .class file.  The person that wrote the program I 
am trying to run is going straight to a .class file by defining a 
servlet-class in web.xml.  Would this have anything to do with it?

I have included the mod_jk.conf-auto file in my Apache httpd.conf file.  The 
mod_jk.conf-auto file is attached to this e-mail.  I set up a context 
definition in server.xml like the following:

   Context path=/pnm
docBase=webapps/pnm
crossContext=true
debug=0
reloadable=true
trusted=false 
   /Context
Would I happen to need a worker or something?  I'm still not sure what a 
worker is...

Bryan

Original Message Follows
From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Newbie here...Need help with Tomcat
Date: Wed, 02 Apr 2003 08:29:08 -0500
On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:
If I run a version of Tomcat as a standalone web server, can I access a 
database with it or will I need to set it up with Apache to access a 
database?
Tomcat facilitates database connections just fine.  Apache is not needed for 
this.

I have been trying to attach Tomcat with Apache.  I used mod_jk, and I 
could run the java example programs in the examples folder, but it would 
not run java programs under my own folder in webapps.  I believe I have 
the folder,web.xml,etc. set up right because it will run the java programs 
in my folder if I go directly to Tomcat via port 8080 rather than trying to 
run them through Apache.  Has anyone had this same problem or know 
something that I should be doing?
We'd have to know more to help.  Many people are doing this.  Relevant 
portions of httpd.conf (not the whole thing), the Context definitions in 
server.xml, etc.

Someone please help if you can.  Thanks.  Bryan

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail
###
# Auto generated configuration. Dated: Wed Apr 02 12:41:37 MST 2003
###
#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module modules/mod_jk.dll
JkWorkersFile D:/Tomcat/conf/workers.properties
JkLogFile D:/Tomcat/logs/mod_jk.log
#
# Log level to be used by mod_jk
#
JkLogLevel error
###
# SSL configuration   #
#
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
#
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
#
# Should mod_jk send SSL information to Tomact (default is On)
# JkExtractSSL Off
#
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
#
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
#
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
#
# What is the indicator for the client SSL certificated (default is 
SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
#
# #
###

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
#
# Auto configuration for the /examples context starts.
#
#
# The following line makes apache aware of the location of the /examples 
context
#
Alias /examples D:/Tomcat/webapps/examples
Directory D:/Tomcat/webapps/examples
   Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12
#
# The following line prohibits users from directly accessing WEB-INF
#
Location /examples/WEB-INF/
   AllowOverride None
   deny from all
/Location
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
Directory D:/Tomcat/webapps/examples/WEB-INF/
   AllowOverride None
   deny from all
/Directory
#
# The following line prohibits

Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
You can run .class files, but they have to be servlets.  I'm not appdev 
enough (I'm a sys-admin) to get the terminology correct, so take this with 
a grain of salt, but I think all classes called directly on the command 
line need to implement HttpServlet.

Then you need to map your servlet in your applications web.xml file, or use 
the servlet Invoker (not recommended) like the /examples servlets do.

Check out the /examples web.xml file to see how it does it if you want to 
go that way.

If you post back with the URL you are trying to use, the location of your 
.class/servlet on your system (like /myApp/WEB-INF/classes/myClass.class or 
whatever), folks here can tell you exactly what you need to do.

John

On Wed, 02 Apr 2003 13:08:10 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:

When I run the examples in the examples foler, it looks like they all 
call a .jsp file, then maybe a .class file.  The person that wrote the 
program I am trying to run is going straight to a .class file by defining 
a servlet-class in web.xml.  Would this have anything to do with it?

I have included the mod_jk.conf-auto file in my Apache httpd.conf file.  
The mod_jk.conf-auto file is attached to this e-mail.  I set up a context 
definition in server.xml like the following:

Context path=/pnm
docBase=webapps/pnm
crossContext=true
debug=0
reloadable=true
trusted=false 
/Context
Would I happen to need a worker or something?  I'm still not sure what a 
worker is...

Bryan

Original Message Follows
From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Newbie here...Need help with Tomcat
Date: Wed, 02 Apr 2003 08:29:08 -0500
On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:
If I run a version of Tomcat as a standalone web server, can I access a 
database with it or will I need to set it up with Apache to access a 
database?
Tomcat facilitates database connections just fine.  Apache is not needed 
for this.

I have been trying to attach Tomcat with Apache.  I used mod_jk, and I 
could run the java example programs in the examples folder, but it 
would not run java programs under my own folder in webapps.  I believe 
I have the folder,web.xml,etc. set up right because it will run the java 
programs in my folder if I go directly to Tomcat via port 8080 rather 
than trying to run them through Apache.  Has anyone had this same 
problem or know something that I should be doing?
We'd have to know more to help.  Many people are doing this.  Relevant 
portions of httpd.conf (not the whole thing), the Context definitions in 
server.xml, etc.

Someone please help if you can.  Thanks.  Bryan

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie here...Need help with Tomcat

2003-04-02 Thread John Turner
Ooopsthe sys-admin in me is exerting its influence.  directly on the 
command line = in a URL. :)

John

On Wed, 02 Apr 2003 15:27:28 -0500, John Turner tomcat- 
[EMAIL PROTECTED] wrote:

You can run .class files, but they have to be servlets.  I'm not appdev 
enough (I'm a sys-admin) to get the terminology correct, so take this 
with a grain of salt, but I think all classes called directly on the 
command line need to implement HttpServlet.

Then you need to map your servlet in your applications web.xml file, or 
use the servlet Invoker (not recommended) like the /examples servlets do.

Check out the /examples web.xml file to see how it does it if you want to 
go that way.

If you post back with the URL you are trying to use, the location of your 
.class/servlet on your system (like /myApp/WEB-INF/classes/myClass.class 
or whatever), folks here can tell you exactly what you need to do.

John

On Wed, 02 Apr 2003 13:08:10 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:

When I run the examples in the examples foler, it looks like they all 
call a .jsp file, then maybe a .class file.  The person that wrote the 
program I am trying to run is going straight to a .class file by 
defining a servlet-class in web.xml.  Would this have anything to do 
with it?

I have included the mod_jk.conf-auto file in my Apache httpd.conf file.  
The mod_jk.conf-auto file is attached to this e-mail.  I set up a 
context definition in server.xml like the following:

Context path=/pnm
docBase=webapps/pnm
crossContext=true
debug=0
reloadable=true
trusted=false 
/Context
Would I happen to need a worker or something?  I'm still not sure what a 
worker is...

Bryan

Original Message Follows
From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Newbie here...Need help with Tomcat
Date: Wed, 02 Apr 2003 08:29:08 -0500
On Wed, 02 Apr 2003 01:59:48 -0700, Bryan Richardson 
[EMAIL PROTECTED] wrote:
If I run a version of Tomcat as a standalone web server, can I access a 
database with it or will I need to set it up with Apache to access a 
database?
Tomcat facilitates database connections just fine.  Apache is not needed 
for this.

I have been trying to attach Tomcat with Apache.  I used mod_jk, and I 
could run the java example programs in the examples folder, but it 
would not run java programs under my own folder in webapps.  I 
believe I have the folder,web.xml,etc. set up right because it will run 
the java programs in my folder if I go directly to Tomcat via port 8080 
rather than trying to run them through Apache.  Has anyone had this 
same problem or know something that I should be doing?
We'd have to know more to help.  Many people are doing this.  Relevant 
portions of httpd.conf (not the whole thing), the Context definitions in 
server.xml, etc.

Someone please help if you can.  Thanks.  Bryan

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail






--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Need help with tomcat running as service with ajp13

2003-03-28 Thread Mark Prins
I reverted to using the org.apache.catalina.connector.http.HttpConnector 
instead of the org.apache.coyote.tomcat4.CoyoteConnector, now it works just 
fine.

 This sounds eerily familiar. The box I am running on is a dual processor 
 box too. Thanks for your info.
 What else have you tried to debug this? Anything logged that looks 
 interesting?
 
 Mark
 
 -Original Message-
 From: Mark Prins [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 21, 2003 6:45 AM
 To: Tomcat Users List; Jake Robb
 Subject: Re: Need help with tomcat running as service with ajp13
 
 
 Citeren Jake Robb [EMAIL PROTECTED]:
 
  The very first thing I'd try is upgrading to the latest version of the
  JDK (1.4.1_01). 
 
 1.4.1_02 is the latest.
 I have had this problem with 4.0.6 running standalone with 1.3.x 
 Upgrading to 1.4.1_01 helped.
 
 I have a NT4 box with 4.0.6 standalone on 1.4.1_02 with coyote connector 
 RC1 that has this behaviour (cpu hogging) (I upgraded the JDK from 
 1.4.1_01 - but that doesn't seem to help)
 Both are dual processor boxes...
 





--
_
Zon Breedband Family, 2 keer zo snel als alle andere ADSL aanbieders.
Voor maar 34 euro per maand. Bestel nu op www.zonnet.nl/breedband
Tijdelijk gratis modem en geen aansluitkosten!

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



Please help : Urgent : Tomcat 4.1.18 start problem

2003-03-28 Thread Selvaraj N
Hi,

I am trying to use the following command on unix to start Tomcat 4.1.18
server. But, when I use the same command to start Tomcat 4.0.3, it
starts fine.

/opt/java/bin/java
-Djava.endorsed.dirs=/opt/tomcat/bin:/opt/tomcat/common/lib -classpath
/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/opt/tomcat/bin/bootst
rap
.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat
-Djava.io.tmpdir=/opt/tomcat/temp
org.apache.catalina.startup.Bootstrap -config
/opt/tomcat/conf/server.xml start


The following was the error message :

org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at
org.apache.commons.digester.Digester.init(Digester.java:345)
at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:2
80)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.NullPointerException
at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 12 more


As I mentioned, Tomcat 4.0.3 server starts wit out any problem. Please
help me out to solve this problem as this is very critical for us.

Thanks in  advance,
Selva


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



Help regarding Tomcat

2003-03-24 Thread Yugandhar Reddy
Hi,
I have installed Tomcat 4.1.24.
I am trying to login to Administration Tool using tomcat as the user
name and tomcat as the password.
I am getting the following error.

HTTP Status 404 - /admin/j_security_check
type Status report
message /admin/j_security_check

description The requested resource (/admin/j_security_check) is not
available.

Can u please help me. Don't know why this error is coming.


Thanks,
Yugandhar Reddy
SysArris Software Pvt. Ltd.
Bangalore, India.
+91-80-6655165, +91-80-6655052
[EMAIL PROTECTED]



Re: Need help with tomcat running as service with ajp13

2003-03-21 Thread Mark Prins
Citeren Jake Robb [EMAIL PROTECTED]:

 The very first thing I'd try is upgrading to the latest version of the
 JDK (1.4.1_01). 

1.4.1_02 is the latest.
I have had this problem with 4.0.6 running standalone with 1.3.x Upgrading 
to 1.4.1_01 helped.

I have a NT4 box with 4.0.6 standalone on 1.4.1_02 with coyote connector 
RC1 that has this behaviour (cpu hogging) (I upgraded the JDK from 
1.4.1_01 - but that doesn't seem to help)
Both are dual processor boxes...

Mark


--
_
Zon Breedband Family, 2 keer zo snel als alle andere ADSL aanbieders.
Voor maar 34 euro per maand. Bestel nu op www.zonnet.nl/breedband
Tijdelijk gratis modem en geen aansluitkosten!

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



RE: Need help with tomcat running as service with ajp13

2003-03-21 Thread Strecker, Mark
This sounds eerily familiar. The box I am running on is a dual processor box too. 
Thanks for your info.
What else have you tried to debug this? Anything logged that looks interesting?

Mark

-Original Message-
From: Mark Prins [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 6:45 AM
To: Tomcat Users List; Jake Robb
Subject: Re: Need help with tomcat running as service with ajp13


Citeren Jake Robb [EMAIL PROTECTED]:

 The very first thing I'd try is upgrading to the latest version of the
 JDK (1.4.1_01). 

1.4.1_02 is the latest.
I have had this problem with 4.0.6 running standalone with 1.3.x Upgrading 
to 1.4.1_01 helped.

I have a NT4 box with 4.0.6 standalone on 1.4.1_02 with coyote connector 
RC1 that has this behaviour (cpu hogging) (I upgraded the JDK from 
1.4.1_01 - but that doesn't seem to help)
Both are dual processor boxes...

Mark


--
_
Zon Breedband Family, 2 keer zo snel als alle andere ADSL aanbieders.
Voor maar 34 euro per maand. Bestel nu op www.zonnet.nl/breedband
Tijdelijk gratis modem en geen aansluitkosten!

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


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



RE: Need help with tomcat running as service with ajp13

2003-03-21 Thread Mark Prins
- the logs show nothing strange; I've set up with request dumping now
- I'm playing with the params for the tomcat.exe in the registry (-Xrs, JVM 
dll, garbage collection options)
- traffic is really low but that doesn't seem to make a difference.

This afternoon it seems to be behaving itself... but it can take upto a day 
to go wrong. 

Mark



Citeren Strecker, Mark [EMAIL PROTECTED]:

 This sounds eerily familiar. The box I am running on is a dual processor
 box too. Thanks for your info.
 What else have you tried to debug this? Anything logged that looks
 interesting?
 
 Mark
 
 -Original Message-
 From: Mark Prins [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 21, 2003 6:45 AM
 To: Tomcat Users List; Jake Robb
 Subject: Re: Need help with tomcat running as service with ajp13
 
 
 Citeren Jake Robb [EMAIL PROTECTED]:
 
  The very first thing I'd try is upgrading to the latest version of
 the
  JDK (1.4.1_01). 
 
 1.4.1_02 is the latest.
 I have had this problem with 4.0.6 running standalone with 1.3.x
 Upgrading 
 to 1.4.1_01 helped.
 
 I have a NT4 box with 4.0.6 standalone on 1.4.1_02 with coyote connector
 
 RC1 that has this behaviour (cpu hogging) (I upgraded the JDK from 
 1.4.1_01 - but that doesn't seem to help)
 Both are dual processor boxes...
 
 Mark
 
 
 --
 _
 Zon Breedband Family, 2 keer zo snel als alle andere ADSL aanbieders.
 Voor maar 34 euro per maand. Bestel nu op www.zonnet.nl/breedband
 Tijdelijk gratis modem en geen aansluitkosten!
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



--
_
Zon Breedband Family, 2 keer zo snel als alle andere ADSL aanbieders.
Voor maar 34 euro per maand. Bestel nu op www.zonnet.nl/breedband
Tijdelijk gratis modem en geen aansluitkosten!

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



Need help with tomcat running as service with ajp13

2003-03-20 Thread Strecker, Mark
Hello All,

   I have Tomcat 4.1.18 running as a service on an NT4.0 machine with Java 1.3.1 ... 
also it is getting requests via ajp13 from an apache server. It starts and works fine, 
but I am seeing a problem where it gets stuck and pegs the cpu. I can still connect 
to the administration page and connect to applications in a reasonable amount of time, 
but I am concerned about why it is using 100% cpu to do nothing.
   Has anyone experienced this or have a suggestion as to what I can log to figure out 
what is happening? (I have tried to log everything with no success.)

TIA,
Mark

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



RE: Need help with tomcat running as service with ajp13

2003-03-20 Thread Davis, Jeremy
There is an issue with the JDK 1.3.x and NT running as a service?  Maybe try
and upgrade the jdk to 1.4?

Jeremy Davis
Senior Support Analyst
BPI Marketplace Integration
614.760.8941
1.800.436.8726 - Support Line


-Original Message-
From: Strecker, Mark [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 4:15 PM
To: Tomcat Users List
Subject: Need help with tomcat running as service with ajp13


Hello All,

   I have Tomcat 4.1.18 running as a service on an NT4.0 machine with Java
1.3.1 ... also it is getting requests via ajp13 from an apache server. It
starts and works fine, but I am seeing a problem where it gets stuck and
pegs the cpu. I can still connect to the administration page and connect to
applications in a reasonable amount of time, but I am concerned about why it
is using 100% cpu to do nothing.
   Has anyone experienced this or have a suggestion as to what I can log to
figure out what is happening? (I have tried to log everything with no
success.)

TIA,
Mark

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

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



  1   2   3   4   5   >