RE: maxProcessors problem

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
The server has 2 GB physical memory and 4 GB swap file. During peak times I'm hitting between 60 and 75 requests per second and it is using pretty close to all of the memory. I've seen the JVM using ~ 830 MB watching top. Thanks, Mike -Original Message- From: Kwok Peng Tuck

RE: Apache-Tomcat-Struts 404 Not Found

2003-08-20 Thread Johan Wasserman - CPX Mngd Services
Nope, that didn't solve the problem. But let it be known that I'm not realy a guru when it comes to configuring this lot. Heres some extracts: httpd.conf- VirtualHost * ServerAdmin [EMAIL PROTECTED] ServerName localhost ErrorLog logs/local-error.log

RE: How to send back data without to wait for the complete page.

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
Stefano, You would probably be better off creating a thread to run this lengthy process in the background and have your Servlet send back a please wait response and refresh automatically after several seconds to check the status until it completes and you can display all of the results. If

Re: Starting Tomcat w/ commons-daemon

2003-08-20 Thread Bill Barker
The Tomcat.sh file is meant to be a template for the file that you install in '/etc/init.d'. In particular, it sets the JAVA_HOME variable to where a 1.3.1 JVM would live on a Solaris box (which is most likely the cause of your errors). Most of the other variable will likely need to be modified

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-20 Thread Bill Barker
Correct. You need to do 'ls -lL /bin/sh' to be sure. However, if the link is there, I'd guess that what it links to is probably there. More likely, Tomcat's 'startup.sh' script isn't executable (e.g. you used the .zip download, or copied from a Windows machine). victor pereira [EMAIL

Re: About heap size, gc and newsize

2003-08-20 Thread Bill Barker
At least in Tomcat, the HttpRequests aren't short-lived ;-). If you are using Sun's JVM, then I'd try -Xincgc first (otherwise, consult your vendor's docs for the correct option). In many cases it hurts performance, but in some it improves it dramatically. Your mileage may vary ;-). [EMAIL

Re: changing class file and reloading question

2003-08-20 Thread Paul Sundling
You can reload using the manager app (the link is on the start page when you first start tomcat). You can also use an ant target. You can reload a single webapp, which is probably the better way of doing it. Here's an example target from a build.xml that takes an arguement: target

R: How to send back data without to wait for the complete page.

2003-08-20 Thread Unternaehrer Stefano
Thank you Mike. Yes I could write a please wait and than display all the result. But I would prefer the replay piece by piece, when possible. Look at this example: http://www.chvk.ch/ this is not in english but easy to use.. this is a meta-catalog which permit you to search a book on different

Re: shutdown tomcat

2003-08-20 Thread Maksimenko Alexander
I've added a listener instance and notifications start working! Thank you for the answer! - Original Message - From: Jon Wingfield [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 7:31 PM Subject: Re: shutdown tomcat So you added an instance of

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Jon Wingfield
The 46 and 45 are magic numbers that the java compiler puts into byte-code. It looks like you are trying to compile with a older (and incompatible) version of javac than the servlet classes were compiled against. I've seen this before when an installation of Oracle added jdk1.1.8 when I was

RE: directory outside context root

2003-08-20 Thread Stuart Stephen
I personally would use the Apache alias. The codes already written for you and through apache the serving of the files should be pretty fast. You don't need to write any servlets or anything then to allow access to these files. It all depends on your project spec. If these files should have

Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
Hi all, How might I go about installing Tomcat as a service in RedHat 9.0. I've never installed a service under linux manually before and I'm not sure what to do. I can't find the appropriate documentation in the manuals for either Tomcat or RedHat. I must be looking in the wrong places :O(

Re: maxProcessors problem

2003-08-20 Thread achana
Hi all. It seems that TC4 has some algorithm which tags objects (read HttpRequests) as long- or short-lived. At 70+ connections per second, I guess most of your HttpRequests would be short lived, which means the gc will reclaim them first, but not until the heap is exhausted. So it might help to

Manager Component configuration

2003-08-20 Thread Daniel Haynes
Does anyone have any examples of Manager Component configuration (which I believe is nested within the Context tags) ? I am using Tomcat 5.0.6 and want to disable the (default) saving of session data that occurs when Tomcat is shutdown. thanks

Tomcat holding problem - CLOSE_WAIT

2003-08-20 Thread Venkata Srinivasa Rao, Yerra
Hi, I am trying tomcat-4.1.27, apache2.0.47, mod_jk2.0.2, j2se1.4.2 on Linux9. I have downloaded tomcat binary. I have compiled apache with ssl, mod_jk2. I can access dynamic pages which are in tomcat. It works fine. I wanted to have stress test, so I choose JMeter to test one server page.

RE: Problem with context.xml and deploying

2003-08-20 Thread Allan Schweitz
Thanks for your reaction, but I don't think that bug is related to my problem. This problem is specific to 4.1.x when using a custom context.xml file which forces Tomcat to rewrite the server.xml file. Unfortunately it kind of skips the keystorePass property when rewriting the the server.xml file.

Re: Manager Component configuration

2003-08-20 Thread Yann Cébron
It's in the docs ;-) http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html saveOnRestart=false should do the job HTH, Yann Does anyone have any examples of Manager Component configuration (which I believe is nested within the Context tags) ? I am using Tomcat 5.0.6 and

build mod_jk2 ?

2003-08-20 Thread Prestation3 . EXPLOITATION
Hi, I have Tomacat 4.1.27 , and apache 2.0.35 on HP-UX 11.0 Where can I found the procedure and the source to build mod_jk2 ? Thanks in advance

RE: Globally defined JNDI DataSource (was: JNDI DataSource Realm)

2003-08-20 Thread Scott Stewart
Do you have a ResourceLink defined within your context(s) pointing back to your globally-defined Resource? For example: ResourceLink name=jdbc/Auth global=jdbc/Auth type=javax.sql.DataSource / I can't think of anything else right now. Thanks,

RE: build mod_jk2 ?

2003-08-20 Thread Stuart Stephen
# cd /usr/local/src # wget http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/src/jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz # gunzip -dc jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz | tar xf - # cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2 #

control own servlets with jmx

2003-08-20 Thread Jan von Bargen
hello, i want to control my own servlets the same way tomcat does in the admin-section. how do i do that ? the best solution would be that my servlets implements some interface and i have some methods to access remotely in the servlet class. i first tried to register this servlet in the

RE: Manager Component configuration

2003-08-20 Thread Daniel Haynes
Thanks. I did look at the docs first but didn't see the saveOnRestart attribute (!). Adding this between the context tags for my app had the desired effect. Manager className=org.apache.catalina.session.PersistentManager saveOnRestart=false Store className=org.apache.catalina.session.FileStore/

Re: Installing Tomcat as a Service

2003-08-20 Thread Paul Yunusov
On August 20, 2003 04:19 am, Stuart Stephen wrote: Hi all, How might I go about installing Tomcat as a service in RedHat 9.0. I've never installed a service under linux manually before and I'm not sure what to do. I can't find the appropriate documentation in the manuals for either Tomcat or

RE: About heap size, gc and newsize

2003-08-20 Thread Shapira, Yoav
Howdy, Don't think about GC settings as correct or not, as that's too absolute. There's a huge gray area in between that you should experiment with. The settings below aren't likely to be optimal as they leave a big chunk (50%) of the heap fixed and for the young generation, yet you're not

RE: How to send back data without to wait for the complete page.

2003-08-20 Thread Shapira, Yoav
Howdy, Flush the output writer whenever you feel like it: its contents will be sent to the browser even while your servlet is still processing. Yoav Shapira Millennium ChemInformatics -Original Message- From: Unternaehrer Stefano [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20,

RE: changing class file and reloading question

2003-08-20 Thread Shapira, Yoav
Howdy, Someone already answered your main question, but... It wouldn't be so bad to do that if it wasn't for the fact that tomcat takes ages to read my servlet every time it's restarted. You might want to find out why tomcat is taking ages to read your servlet -- that shouldn't be the case and

RE: maxProcessors problem

2003-08-20 Thread Shapira, Yoav
Howdy, It seems that TC4 has some algorithm which tags objects (read HttpRequests) as long- or short-lived. Please do tell where you got that impression? ;) At 70+ connections per second, I guess most of your HttpRequests would be short lived, which means the gc will reclaim them first, but

RE: minProcessors/max Processors question

2003-08-20 Thread Shapira, Yoav
Howdy, We are not sure as to why this is happening. I read somewhere that minProcessors/maxProcessors is only for the request processing threads and not for the total number of threads created by tomcat. If this is the What you read is correct. case then, how do we cap the total number of

Re: Installing Tomcat as a Service

2003-08-20 Thread Manolo Ramirez T.
Hi, Check this: http://www.jpackage.org They have the rpm version of tomcat, that will make all the hard work for you. Regards. Manolo Ramirez T. Stuart Stephen wrote: Hi all, How might I go about installing Tomcat as a service in RedHat 9.0. I've never installed a service

Referencing Tomcat JNDI datasource

2003-08-20 Thread Don Ross
Hello, I am using Tomcat 4.1.18 and have setup a JNDI datasource for database connection pooling. I would like to reference this datasource from another application that is not running under Tomcat. In searching the mailing list archive and other forums I found dated information that

Exception processing JAR

2003-08-20 Thread Tim Davidson
We are using the jregex package in our application, and when tomcat starts it causes this error in the tomcat logs, can anyone suggest a reason for it? The same error has been seen on other machines with different JAR, but the same exception. we are using tomcat 4.1.24 java 1.4 winNT

Re: About heap size, gc and newsize

2003-08-20 Thread Norris Shelton
I guess the real question is why are you concerned with when the requests are GC'd. Left to it's own devices, GC usually only happens when the JVM is using almost all of the allocated memory. Therefore, the more memory allocated, the longer till GC and the longer GC will last. If you are trying

Réf. : RE: build mod_jk2 ?

2003-08-20 Thread Prestation3 . EXPLOITATION
OK, Thanks but when I do configure I have the follwing error : # ./configure --with-apx2=/opt/apache2/bin/apxs .. checking for mkdir... /usr/bin/mkdir no apxs given no apxs2 given checking for tomcat33 location... not provided checking for tomcat40 location... not provided checking for tomcat41

RE: Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
I already have done the hard work of intergrating apache and tomcat together in the desired way. I now need to install the services. Going to the RPM is a backward step for me now. Ideally i'd like to understand how the services are installed under the linux os now. I'll still have to research it

RE: Installing Tomcat as a Service

2003-08-20 Thread Stuart Stephen
Thanks for the reply, I've tried creating a script in the /etc/init.d directory and then running the chkconfig --add script-name and this hasn't worked for me. I'm getting an error saying that: service service-name does not support chkconfig I must still be doing something wrong? The script has

RE: Apache-Tomcat-Struts 404 Not Found

2003-08-20 Thread James Harman
Don't the JkMount lines need to be inside the VirtualHost tags? --- Johan Wasserman - CPX Mngd Services [EMAIL PROTECTED] wrote: Nope, that didn't solve the problem. But let it be known that I'm not realy a guru when it comes to configuring this lot. Heres some extracts:

Connecting to MySql. Cannot load JDBC driver class 'null'

2003-08-20 Thread Hugo Martínez Prado
Hi there, I hope this to be useful to somebody. I installed Tomcat 4.1.24 y MySql 3.23 en Linux Red Hat 8.0 Followed the steps within jakarta page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html in order to get connected to my database. However, I found the

Re: Exception processing JAR

2003-08-20 Thread joel . alvim
Try to set paths and context paths in your server.xml with / instead of \'s. Tim Davidson [EMAIL PROTECTED] 20-08-2003 14:49 Please respond to Tomcat Users List To: [EMAIL PROTECTED] cc: Subject:Exception processing JAR We are using the jregex

Processing .html files like JSPs

2003-08-20 Thread rmusser
In the app I'm working on there's a number JSP files that actually have the extension .html. Is there a way to configure Tomcat to treat these files just as if they had the standard .jsp extension, or do I need to rely on Apache rewrite rules? I'm using Tomcat 4.1.27 on Linux.

high memory usage ....

2003-08-20 Thread Mipam
Hi, I believe many other of you have encountered the high memory usage with tomcat? Is there a way to decrease the amount the java processes use? Furthermore, all the java processes are started under user root. Is there a way to start the java processes under another user? Any particular version

Problem

2003-08-20 Thread shaman jain
hi all, i m having follwing problem pls help me out ASAP as its really urgent C:\tomcat\work\Standalone\localhost\callreg\passcall_jsp.java:58: package callreg does not exist callreg.URLBean db = null; An error occurred at line: 2 in the jsp file: /passcall.jsp Generated servlet error:

RE: About heap size, gc and newsize

2003-08-20 Thread Shapira, Yoav
Howdy, Left to it's own devices, GC usually only happens when the JVM is using almost all of the allocated memory. Therefore, the more memory allocated, the longer till GC and the longer GC will last. ;( ;( This is a common wrong assumption people have about Java's modern GC algorithms. In

apache2, mod_jk2, tomcat4.1.27: server has been restarted or reset this connection

2003-08-20 Thread Chris Joelly
Hello all! i have setup apache2 with mod_jk2 and tomcat4.1.27 and all works fine, but the following log messages is written to the mod_jk log file: 19.08.2003 16:43:05 org.apache.jk.common.ChannelSocket processConnection INFO: server has been restarted or reset this connection 19.08.2003

Re: Processing .html files like JSPs

2003-08-20 Thread Tim Funk
The quick way (but there are other ways too) In $TOMCAT_HOME/conf/web.xml servlet-mapping servlet-namejsp/servlet-name url-pattern*.jsp/url-pattern /servlet-mapping ADD servlet-mapping servlet-namejsp/servlet-name url-pattern*.html/url-pattern /servlet-mapping -Tim [EMAIL

Re: CVS with tomcat

2003-08-20 Thread SuniX
Thank you Can you give an example of ant source whick reload and deploy to a tomcat server? It can help me. Thanks Paul Sundling wrote: I'm not sure why you'd want to have it deployed automatically. You can probably do it with ant and cruise control? With ant, you can create targets that

RE: Problem

2003-08-20 Thread Shapira, Yoav
Howdy, Import the bean class in your JSP. Make sure the directory name is classes not calsses. Give your message a better subject than Problem or Urgent. And read the FAQ. Yoav Shapira Millennium ChemInformatics -Original Message- From: shaman jain [mailto:[EMAIL PROTECTED] Sent:

RE: Installing Tomcat as a Service

2003-08-20 Thread James Harman
Stuart, You basically need to write a wrapper .sh script to tart tomcat and put it into the init.d directory. The init.d directory varies with the linux distro but common places a /etc/init.d and /etc/rc.d/init.d. Then you need to create sym links to start/stop it on the various run levels. I

Re: high memory usage ....

2003-08-20 Thread Yann Cébron
I believe many other of you have encountered the high memory usage with tomcat? Is there a way to decrease the amount the java processes use? yes, take a close look at the Tomcat configuration reference (Connectors) Furthermore, all the java processes are started under user root. Is there a

Re: high memory usage ....

2003-08-20 Thread rufio
on Wed, 20 Aug 2003 15:55:50 +0200 (MET DST) Mipam [EMAIL PROTECTED] wrote: Hi, [..] Furthermore, all the java processes are started under user root. Actually it's not up to java or tomcat. Is there a way to start the java processes under another user? su user -c path_to_executable or

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Paul R Gazis
John Corrigan wrote Haven't seen/heard anything about this error, but it looks to me like maybe you have an older version of servlet.jar in your ext directory That does not seem to be ther problem. There is only one servlet.jar, right where it should be in the Tomcat common lib Jon Wingfield

RE: apache2, mod_jk2, tomcat4.1.27: server has been restarted or reset this connection

2003-08-20 Thread Johan Wasserman - CPX Mngd Services
Chris, where do I get mod_jk2 (binery) and some kind of documentation to tell me how to set up. I have Tomcat v. 5.0.3 Apache v. 2.0.46 but the setup does not work too well. Thanks. Johan. -Original Message- From: Chris Joelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20,

RE: Installing Tomcat as a Service

2003-08-20 Thread Steph Richardson
Sounds like your problem can be easily solved by reading the manpage, as the previous email from Paul suggests. man chkconfig will tell you exactly why service service-name does not support chkconfig you need specially formatted comments starting with something like # chkconfig : 2345 80 20

RE: Installing Tomcat as a Service

2003-08-20 Thread Steph Richardson
Sounds like your problem can be easily solved by reading the manpage, as the previous email from Paul suggests. man chkconfig will tell you exactly why service service-name does not support chkconfig The whole point of chkconfig is to manage the installing of the service for you ( e.g.

RE: high memory usage ....

2003-08-20 Thread Shapira, Yoav
Howdy, Yann Cébron [mailto:[EMAIL PROTECTED], said: Regarding TC versions: always try to stay as up to date as possible - there are lot of continuos improvements regarding speed, stability, memory consumption and of cause fixed bugs. Additionally, TC5 has seen a lot of improvements regarding

RE: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Shapira, Yoav
Howdy, in fact, it is the only version of Java on this paritcular machine. Has anyone ever made a list of exactly which versions of the Tomcat serlet.jar are compatible with whichversions of Java? Is there even documentation that describes which versions of javac the mystical version numbers

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Larry Meadors
You have a old version of the tools.jar file. Get rid of it. Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Processing .html files like JSPs

2003-08-20 Thread Halstead, Chris
Look for the line '!-- The mapping for the JSP servlet --' in your default web.xml and add this underneath: servlet-mapping servlet-namejsp/servlet-name url-pattern*.html/url-pattern /servlet-mapping A better solution of course would be to rename the files so that they have a .jsp

Getting mod_auth_sspi to work with TC 4.1.18?

2003-08-20 Thread Delisle, Anthony
Title: Getting mod_auth_sspi to work with TC 4.1.18? Hello Chris, I was also trying to make mod_sspi work with mod_jk did you have any luck doing this? Any help would be greatly appreciated. Thank you, Anthony DeLisle

RE: Processing .html files like JSPs

2003-08-20 Thread Shawn Zernik
It should have some setting in your web.xml to configure you context: exact syntax, I'm unsure. Look for context documentation. Shawn Zernik Internetwork Consulting www.internetworkconsulting.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Tomcat Userdatabase

2003-08-20 Thread Sjoerd van Leent
I installed the last binary build on my system, however, I need access to the manager web application, but I don't know the username/password. Where can I find this, or what is this password in general? Sjoerd van Leent - To

RE: Tomcat Userdatabase

2003-08-20 Thread Sjoerd van Leent
I installed the last binary build on my system, however, I need access to the manager web application, but I don't know the username/password. Where can I find this, or what is this password in general? Sjoerd van Leent - To

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Paul R Gazis
Larry Meadors writes: You have a old version of the tools.jar file. Get rid of it. I checked yesterday after looking through old message on this archive and I don't see how that can be the problem. I have precisely two copies of the tools.jar file, one in my j2sdk1.4.2, and one in my

RE: Starting tomcat from init scripts (HP/UX)

2003-08-20 Thread Lott, Carey
Since nobody has responded does this mean nobody has any more ideas on the problem or am I getting the You idiot. The answer is staring you in the face. silent treatment? If it is the latter, I will admit being an idiot if someone will enlighten me. If it is the former, I want to say thank you

Quickly get Tomcat running with Apache on Solaris?

2003-08-20 Thread Jim Chase
Solaris 9 has Apache and Tomcat loaded by default. I got Apache running but Tomcat needed more work. So I tried to download it from Jakarta at: http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/ I gunzipped it and un-tarred it. Then I did what it said to do in the docs... * Unpack the

JK directives in httpd.conf

2003-08-20 Thread Alberto Puerta
Hello all. I've the same problem descrived in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html when the ajp13 connector can't find a virtual host that matches a uri, and i want to allow tomcat to serve all jsp pages without checking the servername because this is what did

Re: Tomcat Userdatabase

2003-08-20 Thread Christopher Williams
Try in conf/tomcat-users.xml. - Original Message - From: Sjoerd van Leent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:58 PM Subject: RE: Tomcat Userdatabase I installed the last binary build on my system, however, I need access to the manager web

Re: Tomcat Userdatabase

2003-08-20 Thread Pablo Mayrgundter
you can set it in tomcat-users.xml, e.g.: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=manager/ role rolename=admin/ user username=user password=pass roles=admin,manager/ /tomcat-users On Wednesday 20 August 2003 3:45 pm, Sjoerd van Leent wrote: I installed the last

RE: Tomcat Userdatabase

2003-08-20 Thread Halstead, Chris
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html -chris -Original Message- From: Sjoerd van Leent [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 3:45 PM To: 'Tomcat Users List' Subject: Tomcat Userdatabase I installed the last binary build on my

Re: Tomcat Userdatabase

2003-08-20 Thread Luke Vanderfluit
Hi Sjoerd, It's in /tomcat/conf/tomcat-users.xml should look like this: ## ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=tomcat password=tomcat

RE: maxProcessors problem

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
Have you verified that at the time of the Out of Memory errors that the JVM is somewhere near 896M RAM? How about when it starts up and there is little or no traffic? Is it at or above (probably above) 384M? It usually has 160 MB to 220 MB of memory allocated (these figures are from top, so

Exception get SSL attributes - SSLPeerUnverifiedException: peer notauthenticated.

2003-08-20 Thread Chris Massam
Hi there, Since upgrading from Tomcat4.1.24 to 4.1.27 I have been seeing these again in the catalina.out log. I seem to rememeber this being present in a previous build (4.1.13 prehaps). I'm running JDK1.3.1_06 with JSSE extensions. This dosn't seem to be causing any problems - just a 20MB log

Tomcat cannot find subclass

2003-08-20 Thread James C. McMaster (Jim)
I am having a problem with Tomcat 3.3, running on Solaris 8. I have written a framework for asking questions and getting responses through a browser. The package is called com.stortek.ilm.userresponse. The classes live in a .jar file which resides in $TOMCAT_HOME/lib/apps. One of the classes

mod_jk2 load balancing as a RAID 0+1 analog

2003-08-20 Thread Vladyslav Kosulin
Hi all, Here is my configuration: Front-ent - Apache 2.0.47/mod_jk2/ajp13. 4 instances of JBoss 3.2.1/Jetty 4.2.11 with identical ear applications are configured as 2 pairs of fail-over clusters with distributable/ webapp. node1+node2 creates a first fail-over cluster. node3+node4 creates a

RE: Tomcat cannot find subclass

2003-08-20 Thread Mike Curwen
Have you tried placing your library in WEB-INF/lib? There is probably a classloader issue at work. -Original Message- From: James C. McMaster (Jim) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 4:23 PM To: [EMAIL PROTECTED] Subject: Tomcat cannot find subclass I

Re: Tomcat cannot find subclass

2003-08-20 Thread James C. McMaster (Jim)
Yes, the jar was in WEB-INF/lib, and I took it out in case that was a problem. There was no change in the result when I did. I also suspect a ClassLoader issue. What I would like to know is why? When I subclass a member of a framework, do I have to put my project-unique subclass in the same

Re: Installing Tomcat as a Service

2003-08-20 Thread Paul Yunusov
On August 20, 2003 10:56 am, Stuart Stephen wrote: Thanks for the reply, I've tried creating a script in the /etc/init.d directory and then running the chkconfig --add script-name and this hasn't worked for me. I'm getting an error saying that: service service-name does not support chkconfig

Re: That ever-popular 'wrong version:46, expected 45' message

2003-08-20 Thread Larry Meadors
the one in tomcat [EMAIL PROTECTED] 08/20/03 2:07 PM Larry Meadors writes: You have a old version of the tools.jar file. Get rid of it. I checked yesterday after looking through old message on this archive and I don't see how that can be the problem. I have precisely two copies

tomcat4.1 apache2 jk2 problem

2003-08-20 Thread Pieter Laeremans
!-- Server Configuration File for Tomcat 4.0 on Debian You can find more complete examples in /usr/share/doc/tomcat4/examples/. -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a

RE: CVS with tomcat

2003-08-20 Thread Steph Richardson
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant -Original Message- From: SuniX [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 1:37 PM To: Tomcat Users List Subject: Re: CVS with tomcat Thank you Can

Re: Tomcat cannot find subclass

2003-08-20 Thread Pablo Mayrgundter
One of the classes in that package, ServletSelectAnswerFormatter, generates an HTML select. I get the options by invoking a method designed to be overridden in a subclass. My current project has such a subclass, CountryServletSelectAnswerFormatter, which resides in

RE: Quickly get Tomcat running with Apache on Solaris?

2003-08-20 Thread Madere, Colin
What's your CATALINA_HOME set to? Did you use GNU Tar to unpack it? (Solaris default tar will likely muck up the extract) -Original Message- From: Jim Chase [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: Quickly get Tomcat running with

Re: Starting tomcat from init scripts (HP/UX)

2003-08-20 Thread Tim Funk
1 - You classpath is probably wrong - it should be tiny to allow dynamic classloading so classes may be reloaded 2 - Try using startup.sh, here is an easy way: cd /bto/appl/apache/jakarta-tomcat-4.0.4 bin/startup.sh instead of catalina.sh. 3 - Temporarily - hack the startup scripts to print crap

Re: tomcat4.1 apache2 jk2 problem

2003-08-20 Thread Pieter Laeremans
Pieter Laeremans [EMAIL PROTECTED] writes: Ok, my jk2.properties and worker.properties files did get stripped here is there contents: jk2.properties __ # list of needed handlers. handler.list=apr,channelSocket,channelUnix,request # Set the default port for the

Re: Tomcat cannot find subclass

2003-08-20 Thread Bill Barker
Unlike Tomcat 4, Tomcat 3 uses a delegating ClassLoader. This means that jars in lib/apps can't see classes in WEB-INF/classes. Also, as long as the jar is in lib/apps, Tomcat 3 will load classes from there in preference to the same jar in WEB-INF/lib. James C. McMaster (Jim) [EMAIL PROTECTED]

Problem, can't get response form tomcat after some requests

2003-08-20 Thread Venkata Srinivasa Rao, Yerra
Hi All, I have installed tomcat4.1.27, apache2.0.47, modjk2.02, and j2se1.4.2 on Linux 9. I have compiled Apache, mod_jk2 from the source. After several requests from JMeter, tomcat simply holds up, no more requests can be processed by tomcat. I can't stop tomcat unless I kill the tomcat

Tomcat 4.1 DefaultContext Bug?

2003-08-20 Thread Peter Harrison
I have spent the last three days trying everything to move from 4.0 to 4.1. The problem is with the datasources. When the resource is in a specific Context everything works, but when its in the DefaultContext I am getting a java.sql.SQLException: Cannot load JDBC driver class 'null' The

Re: Tomcat 4.1 DefaultContext Bug?

2003-08-20 Thread Kwok Peng Tuck
Specifically what problems do you have when running the app as a war file ? Peter Harrison wrote: I have spent the last three days trying everything to move from 4.0 to 4.1. The problem is with the datasources. When the resource is in a specific Context everything works, but when its in the

Server.xml

2003-08-20 Thread Sarika Inamdar
Hi, We are using tomcat 4.1.24. The server.xml has configuration for http and https. Now if user wants to disable http and use only https, is there a way to do that in server.xml. One way is to comment the config of http is server.xml But we don't want to pursure in this direction. Is there

classpath issues and system properties

2003-08-20 Thread srinivas reddy
Hi, I am using tomcat 4.1.24. I have a couple of questions. 1. Online documentation about class loader says, System class loader operates on CLASSPATH. I have included j2ee.jar in my CLASSPATH, but tomcat is not picking it up. Why is it so? 2. When I use tomcat, system property

RE: Installing Tomcat as a Service

2003-08-20 Thread Mike Cherichetti \(Renegade Internet\)
I use the following script on RedHat 7.3 (I save this as /etc/rc.d/init.d/tomcat): #!/bin/bash # # Startup script for the Tomcat Web Server # # chkconfig: 345 84 16 # description: Tomcat is a World Wide Web server. It is used to serve \ # HTML, JSP, and servlets, and CGI if needed.

Tomcat 5.0.7 Host default Context docBase

2003-08-20 Thread Dominique Batard
Hi Trying to run a Tomcat 4.1.24 web app using Tomcat 5.0.7. Host and context parameters : Host name=edevis debug=0 appBase=c:/edevis unpackWARs=true autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=edevis_access_log.suffix=.txt

RE: Tomcat 5.0.7 Host default Context docBase

2003-08-20 Thread John Corrigan
Looks like it is complaining about the path. Have you tried using C:\edevis instead of C:/edevis for your appBase and docBase? -Original Message- From: Dominique Batard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:45 AM To: Tomcat Users List Subject: Tomcat 5.0.7 Host

Re: Error when I start Jakarta-tomcat(Cont) - Error when I load file

2003-08-20 Thread Luong Phan
Hi all, Thanks for your advices. The error is that files startup.sh and shutdown.sh are not executable. Now I can start Tomcat. But I meet the following problem: - I use the mysql supported already by Redhat Linux 7.3 O/S to store my database. - The jakarta-tomcat-3.2.4 is used to be the server.

Re: Exception get SSL attributes - SSLPeerUnverifiedException: peer not authenticated.

2003-08-20 Thread Bill Barker
I just ported the patch from the j-t-c HEAD. Yes, the error is harmless (except for the disk space it takes up :). TC 4.1.28 should be quieter. If you need it sooner, then you can grab it from the CVS and re-compile. Chris Massam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

Re: maxProcessors problem

2003-08-20 Thread achana
Not true. They will be reclaimed when possible according to the selected GC algorithm Aha, are there actually different reclamation algorithms that I can select from ?? I mean, like some parameter in catalina.sh ?? - To