Re: Hi...

2004-08-20 Thread Meena Alagappan
I did so.but even though my new servlet class is not loaded...when I access throu' browser... Any other idea or do I need to do something alone with this... Best Regards, Meena. ~ -- Life is a festival ... Celebrate it ... --

[OT]CVS Tag in source code

2004-08-20 Thread Antony Paul
Hi developers, How to add @version $Revision: 1.3 $ $Date: 2004/07/23 22:57:35 $ when checking out files from A CVS repository. I am using file based CVS. We use Eclipse to checkout. This is very useful to us because we locally use another versioning system and the main site is using CVS. If

apache2/mod_jk/jboss4: fail over but no round robin

2004-08-20 Thread Nikita
I have a basic 2 node cluster with apache2/mod_jk load balancer in front of it. the LB is supposed to be doing round robin with sticky sessions. However, all requests seem to be going to one and same node. the second gets requests only if i bring down the first one (failover). please note that

RE: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread Allistair Crossley
jTDS is the fastest driver for SQL Server. We use it for some heavy traffic and found it faster than the MS driver. Allistair Crossley -Original Message- From: Brad McEvoy [mailto:[EMAIL PROTECTED] Sent: 20 August 2004 01:17 To: 'Tomcat Users List' Subject: [OFF-TOPIC] RE: Is

AJP documentation improvement

2004-08-20 Thread Francois JEANMOUGIN
Hi all, Continuing to try to implement AJP13 for Apache2.0.50 and tomact5.0.27, I just found that the documentation for the AJP connector remain incomplete for me. The link: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html states that: The standard implementation of AJP Connector

CLASSPATH in Windows XP

2004-08-20 Thread Javier
Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting their paths in CLASSPATH, like installation instructions of SOAP and AXIS says. It doesn’t work (copying the files all works fine). This is my

RE: Logging problem SOAP based web service

2004-08-20 Thread timo.m.jaakola
Hi, What are Filters and how they can be used? In the below is the simplified example request and what we would like to log is command and user from the request + IP address of the client = bind the request to requestor's IP Address. Can the logging be done by Tomcat? Can we get IP address

Mail Delivery (failure ecoute_mail@clubdial.fr)

2004-08-20 Thread tomcat-user
*** A virus was detected by the security administrator; this message was discarded *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

application deploys twice

2004-08-20 Thread Jignesh Patel
Hi All, We are using tomcat5.0.19 and struts1.1. Whenever we deploys our application it deploys twice. We couldn't able to identify the reason, why this is happening. Can anybody give insight to us. We are not deploying war file as well as we are not deploying in server we are setting context

RE: application deploys twice

2004-08-20 Thread Nitschke Michael
I had the problem too, but in Tomcat 4.1.27 When I removed on of the two application everything was gone. I had to make a new installation of Tomcat, and copied an old version of the webapps dir and server.xml over the new and now its working with on application. I mean that's not the was to

Re: Incoming Message

2004-08-20 Thread Craigmcc
The original email was deleted because it contained Bagle.AE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hello

2004-08-20 Thread Craigmcc
The original email was deleted because it contained Bagle.AE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CLASSPATH in Windows XP

2004-08-20 Thread Schalk Neethling
My first thought on this will be that the space, i.e. Servidor web, might be the cause. Not all installation does have a problem with but, I know some apps does have a problem with folders that contain spaces. HTH! Javier wrote: Hello, I have Tomcat 5 running in Windows XP. Now I want to

servlet lifetime question

2004-08-20 Thread Tobias Eriksson
Hi I have a servlet creating a bean and then publishing it on a jsp page. In the logs I can see that the FINALIZER for the servlet and bean is run after a short while. There are a few things that I don't understand here, but foremost 1) Why is the bean garbage collected when I in the servlet

Jakarta http server with LDAP security

2004-08-20 Thread Ricardo Souza
Hi. I am running jakarta catalina version 5.0.27 on windows and I wanna remove anonymous access to port 80 and I wanna integrate security to validate on LDAP ( windows 2000 ADS - primary domain control ). I am used to do that on IIS. Can anyone give me hints about this. Thanks in advance.

how to set up Valve for a directory

2004-08-20 Thread zhicheng wang
Dear all i need to protect a subdirectory and a serlet by resticting the requesting IP. I can use Valve to control the whole site, a context. but do not know how to do this to a subdirectory and a servlet. any help is highly appreciated. thanks cheng = Best wishes Z C Wang

RE: application deploys twice

2004-08-20 Thread Shapira, Yoav
Hi, The usual reason for this is a server with autoDeploy on (which is the default) and also an explicit declaration for the Context. Yoav Shapira Millennium Research Informatics -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 5:17 PM To:

RE: servlet lifetime question

2004-08-20 Thread Shapira, Yoav
Hi, How are you testing to see that the finalizer has run? What you're saying doesn't jive with what I know of Tomcat ;) That said, the servlet container is free to destroy and recreate servlet instances as it sees fit. Yoav Shapira Millennium Research Informatics -Original Message-

RE: New idea - Enable Tomcat for SSL?

2004-08-20 Thread Shapira, Yoav
Hi, I don't know about CRL support -- why not just try it out? Yoav Shapira Millennium Research Informatics -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 7:51 PM To: Tomcat Users List Subject: Re: New idea - Enable Tomcat for SSL? Shapira,

RE: application deploys twice

2004-08-20 Thread Allistair Crossley
Do you not need an explicit declaration for a Context so that can you define JNDI resources though? Are you saying autoDeploy cannot work if you have a webapp that uses JNDI resources in a context XML file? Sorry if I am interpreting this wrong :) Allistair Crossley -Original

RE: application deploys twice

2004-08-20 Thread Shapira, Yoav
Hi, Do you not need an explicit declaration for a Context so that can you define JNDI resources though? Are you saying autoDeploy cannot work if you have a webapp that uses JNDI resources in a context XML file? You need an explicit declaration if you have JNDI resources, yes. If you have

Re: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread John Villar
An issue even more important that speed with jTDS is the fact that it is 100% Open Source Java Code, and that's something M$ wont let you have. The implications of having Open Source Software can be read at the OSI web site www.opensource.org and the fact that it's 100% Java implies that your

Re: Logging problem SOAP based web service

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 02:02:03PM +0300, [EMAIL PROTECTED] wrote: : What are Filters and how they can be used? Google servlet filter -- it's available in servlet spec 2.3 and later. Essentially, you can set up a series of these filters to wrap a call to your webapp, based on URI path or file

Re: Servlet in tomcat 5.0.27

2004-08-20 Thread John Villar
[EMAIL PROTECTED] escribió: yes i did and then clicked on first webapp but they dont tell you where to put the servlet. I am assuming you have to make a folder (any name) and under that folder WEB-INF - classes(folder) - web.xml file and then under classes i web.xml goes into your WEB-INF

Re: application deploys twice

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 05:16:54PM -0400, Jignesh Patel wrote: : Whenever we deploys our application it deploys twice. : We couldn't able to identify the reason, why this is happening. 1/ Please post a *new* message to the list when you have a new question. Replying to old posts -- even if you

Re: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread John Villar
Remember that caching performance behaves like the gauss bell, it has an optimal point where the performance is top notch, but variating from there begins to affect the performance. to keep it simple, too much nor too little isn't good you have to have the *right* quantity of cache Out

Re: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 09:29:02AM -0400, John Villar wrote: : Something off topic, does anyone has wondered why M$ hasn't developed : its server line for linux? i know the usual response They want you to : buy W2K Server, but that would be superficial thinking Do you mean its .NET

Re: [OT]CVS Tag in source code

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:06:36PM +0530, Antony Paul wrote: : How to add @version $Revision: 1.3 $ $Date: 2004/07/23 22:57:35 $ when : checking out files from A CVS repository. I am using file based CVS. We use : Eclipse to checkout. This is very useful to us because we locally use : another

Re: Hi...

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:12:25PM +0530, Meena Alagappan wrote: : I did so.but even though my new servlet class is not loaded...when I access throu' browser... [I've included your earlier message below for searchability] Please search the archives, this question (and answer!) comes up a

Re: CLASSPATH in Windows XP

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:29:25PM +0200, Javier wrote: : Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that? You *really* want to follow standards here, and using a classpath env var with a webapp is not quite standard. Review the servlet spec. Do a search for WEB-INF/lib and

Re: Jakarta http server with LDAP security

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 09:45:05AM -0300, Ricardo Souza wrote: : I am running jakarta catalina version 5.0.27 on windows and I wanna remove : anonymous access to port 80 and I wanna integrate security to validate on LDAP : ( windows 2000 ADS - primary domain control ). : I am used to do that on

Re: how to set up Valve for a directory

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 02:00:05PM +0100, zhicheng wang wrote: : i need to protect a subdirectory and a serlet by : resticting the requesting IP. I can use Valve to : control the whole site, a context. but do not know how : to do this to a subdirectory and a servlet. You don't say what Tomcat

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread ohaya
Yoav, The problem is that I can't find any info at all on how to configure it to use a CRL. FYI, after an all-nighter, I was just able to get the client and server SSL part working with standalone Tomcat. Very cool :)! And, best of all, I was able to confirm that with this, I can access the

Re: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread John Villar
that's true i really like some of their products its a shame that their blind effort to deny something like linux is only going to leave them behind in the long run or not so long? 8-) The MS app-dev product line has many hooks into the OS itself. That would bring about several

RE: New idea - Enable Tomcat for SSL?

2004-08-20 Thread Shapira, Yoav
Hi, I'm afraid I can't help much with CRLs on Tomcat. I've never done that before ;) I don't see much in the docs. I do see hits on Google, such as http://proj-grid-data-build.web.cern.ch/proj-grid-data-build/edg-java-se curity/edg-java-security-1.5.9/tomcat/Authentication_Admin_Guide.html,

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread John Villar
Excuse me everyone who has talked on this thread, i haven't followed this thread closely, but why aren't you using a proven software for that matter like Apache HTTPD?. it has years of SSL patches, corrections and improvements, also, tomcat is just too slow to serve static content like

Help with a real ugly one

2004-08-20 Thread Randy Paries
Hello all, I have this problem that I am looking for any kind of help I am not sure what is causing it, I just know how It shows itself A couple of logistical things RH9 jakarta-tomcat-5.0.24 Apache 2 So here is the problem. Every once in a while, my httpd and java(tomcat) process go thru the

Re: [OT]CVS Tag in source code

2004-08-20 Thread Peng Tuck Kwok
Or $Id$ anywhere in the file (gives a whole bunch of things actually) . so on the same line as @version you add that after it. On Fri, 20 Aug 2004 08:39:03 -0500, QM [EMAIL PROTECTED] wrote: On Fri, Aug 20, 2004 at 12:06:36PM +0530, Antony Paul wrote: : How to add @version $Revision: 1.3

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 10:11:01AM -0400, John Villar wrote: : tomcat is just too slow to serve : static content like images or large files. Says who? ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: Help with a real ugly one

2004-08-20 Thread John Villar
how many traffic does have your site? it could be that you're having lots of hits that's just fine with me :-D Also, check the connection time out, maybe you have lots of connections lingering on your server. also, check if its from a set of IPs or just one IP that's hitting you

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread John Villar
Somewhere on the net don't know where :-D. just in case, i did test it. with the JK2 integrator with IIS and Tomcat 5.0.19 the performance tripled comparing with Tomcat 5.0.19 alone of course, with a site that has *LOTS* of statically placed images QM escribió: On Fri, Aug

RE: servlet lifetime question

2004-08-20 Thread Tobias Eriksson
Hi Well, I have a finalizer-method in both the servlet and the bean, which looks something like this: System.out.println(servelet finalizer!!!); /Tobias -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 15:17 To: Tomcat Users List

RE: New idea - Enable Tomcat for SSL?

2004-08-20 Thread Shapira, Yoav
Hi, I just love it when people pop in to a thread with assertions and their own performance tripled benchmarks. http://jakarta.apache.org/tomcat/faq/performance.html#faster Stop basing your decisions on out of date information. Yoav Shapira Millennium Research Informatics -Original

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread ohaya
John, FYI, that (Apache+SSL) was my first approach, and I spent over a week trying to get it working, and posted a bunch of times about my problems. I was able to get the SSL authentication working early on, but what I was struggling with is getting access to the client cert information from

New Loggers imply tomcat recompile????

2004-08-20 Thread John Villar
Hello everyone, a question i have in mind that has troubled me a lot lately If i want to include a new Logger class on tomcat, do i have to recompile the whole thing!!!??? :-O because i haven't found a way to append to the mbean descriptor without *violating* the tomcat package and

RE: Help with a real ugly one

2004-08-20 Thread Randy Paries
how many traffic does have your site? it could be that you're having lots of hits LOTS!! But the usage pattern is much more linear Also, check the connection time out, maybe you have lots of connections lingering on your server. Do you JNDI connection time out or connector timeout?

Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
Hi Guys, Are there any performance implications of running straight from a WAR for Tomcat? Does it uncompress the WAR each time .. how is this handled? Cheers, Allistair FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of

Re: New idea - Enable Tomcat for SSL?

2004-08-20 Thread John Villar
Please, don't start a flame war with this but in my enviroment (W2K Server, IIS 5.0, Tomcat 5.0.19, MS SQL Server 2000, J2SDK 1.4.1_02) it considerabily faster with when working in integrated mode. you could blame the OS (possibly that's the cause) but its a fact for me and my

Re: Help with a real ugly one

2004-08-20 Thread John Villar
Also, check the connection time out, maybe you have lots of connections lingering on your server. Do you JNDI connection time out or connector timeout? Every connection timeout counts specially the TCP connection timeout someone recently posted a problem having lots of

Re: Performance implications of running direct from WAR?

2004-08-20 Thread John Villar
The only performance hit is the first thime when the war is deployed on the context path, from there on your app runs from the deployed files. Allistair Crossley escribió: Hi Guys, Are there any performance implications of running straight from a WAR for Tomcat? Does it uncompress the WAR

RE: Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
So are you saying Host unpackWAR=false .. still means the files are deployed somewhere? Allistair Crossley -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: 20 August 2004 15:40 To: Tomcat Users List Subject: Re: Performance implications of running direct from

Re: Performance implications of running direct from WAR?

2004-08-20 Thread John Villar
another fact that really matters is your hardware specially if what you say about you traffic is true. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help with a real ugly one

2004-08-20 Thread John Villar
Subject wrong... sorry another fact that really matters is your hardware specially if what you say about you traffic is true. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Performance implications of running direct from WAR?

2004-08-20 Thread John Villar
So are you saying Host unpackWAR=false .. still means the files are deployed somewhere? in that case it probably represents an unnecesary performance hit, because what i said before is for the default tomcat configuration, which i assumed was yours why would you want tomcat to not

RE: Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
I'm struggling with the TC manager app/docs etc... and thought if just one file sat there I could deloy a new one easily and quickly. My Ant DIST target generates me a WAR. In an ideal world I would like to be able to either use a web UI to upload, or drop this WAR on top of the existing one in

RE: Performance implications of running direct from WAR?

2004-08-20 Thread Shapira, Yoav
Hi, There's no significant performance difference. But like all such questions, spend time benchmarking instead of asking on the list and waiting for responses ;) This is the type of question that's easily settled with a five minute JMeter test ;) Who knows, you might even find something

RE: New Loggers imply tomcat recompile????

2004-08-20 Thread Shapira, Yoav
Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August

[OF] Re: Performance implications of running direct from WAR?

2004-08-20 Thread John Villar
Who knows, you might even find something surprising like a three-fold increase when running with a packed WAR ;) (This is in good spirit, joking ;)) LOL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: New Loggers imply tomcat recompile????

2004-08-20 Thread John Villar
Shapira, Yoav escribió: Hi, If you were even remotely concerned with portability you wouldn't be writing custom Loggers, would you? ;) Waste of time, they're gone in Tomcat 5.5. Yoav Shapira Millennium Research Informatics NO MY LOGGER gg. i see then

Re: ajp1.3 errors while using tomcat 5.0.25, apache 2.0.49, modjk2

2004-08-20 Thread Greg Ward
On 17 August 2004, dawg fan said: I get the following error in apache's error logs while testing tomcat under extreme load: [Tue Aug 17 14:15:25 2004] [error] channelApr.receive(): Error receiving message body -1 11 [Tue Aug 17 14:15:25 2004] [error] workerEnv.processCallbacks() Error

Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I have upgraded my system from apache 3 and tomcat 3 and am now running tomcat 4.1.27-13 and apache 2.0.49-4. My webapp can't find a servlet after the upgrade. It's called servUploadMedia. I had it in my classes directory and it was configured in my web.xml file: web-app

Re: tomcat deployment (servlet)

2004-08-20 Thread Tim Funk
See Sun's Java Web Services Developer Pack http://java.sun.com/webservices/jwsdp/index.jsp -Tim [EMAIL PROTECTED] wrote: hi out there i am actually new to servlets and tomcat ofcourse. Basically the problem is that i have a servlet that i want to run in Tomcat. If you could just please tell

Tomcat 5 Shared File System (Farming)

2004-08-20 Thread Anthony Colebourne
Hi, I'm setting up a two server Tomcat 5.0.27 cluster. I have configured the host section of server.xml to point the appBase to a networked file system. I also have autoDeploy=true and unpackWARs=true When I initially put a war into the directory it becomes available form both machines. However

Re: Where do I place a servlet class

2004-08-20 Thread John Villar
You need to include yet another directive in your web.xml file called servlet-mapping, search the web for it Diego, Emil escribi: I have upgraded my system from apache 3 and tomcat 3 and am now running tomcat 4.1.27-13 and apache 2.0.49-4. My webapp can't find a servlet after the upgrade.

RE: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I added the servlet mapping entry but it's still not working. I have the class file in /dev_new/WEB-INF/classes/umJavaLib/. Does the class file need to go into a special directory of anything? servlet servlet-nameservUploadMedia/servlet-name

Re: Where do I place a servlet class

2004-08-20 Thread John Villar
did you restart tomcat or your context? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
Yes. I restarted. Emil Diego Website Administrator University of Miami School of Business 305.284.5449 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 11:55 AM To: Tomcat Users List Subject: Re: Where do I place a servlet class did you

RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Ernesto Echeverría
One of the major differences between your actual version and the your previous one has to do with disabling the invoker servlet. I don't know if you've checked this before, but take a look at http://www.ftponline.com/javapro/2002_11/online/servletsjsp_bkurniawan_11_08 _02/default_pf.aspx Just

Re: Where do I place a servlet class

2004-08-20 Thread John Villar
well your configuration seems fine i remember Cicer0 posted recently a problem like yours search the archive for ExportSerials - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I saw that. I've read a couple of negative things about enabling the invoker. It seems it's less secure and stuff. I figured it would be better to use explicit mapping, but cant get that to work. I'll keep trying but if I cant get it working I guess I'll just enable the invoker. Emil

Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:04:10PM -0400, Diego, Emil wrote: : I saw that. I've read a couple of negative things about enabling the invoker. : It seems it's less secure and stuff. I figured it would be better to use : explicit mapping, but cant get that to work. I'll keep trying but if I cant :

Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread John Villar
QM escribió: On Fri, Aug 20, 2004 at 12:04:10PM -0400, Diego, Emil wrote: : I saw that. I've read a couple of negative things about enabling the invoker. : It seems it's less secure and stuff. I figured it would be better to use : explicit mapping, but cant get that to work. I'll keep trying

Re: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:20:19PM -0400, John Villar wrote: : Also, if everything gets wacky and you're desperate, delete everything : under your work directory, on the tomcat root and see what happens : it helps sometimes No need for to wait for wacky -- I added a clean action to my

RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Ernesto Echeverría
Ok. I don't like the invoker either. I thought you were trying only to have things working as before, that's why I pointed out that difference. Starting from scratch, let's try to break the problem into smaller pieces. Have you checked if the invocation works right without passing thru

RE: New Loggers imply tomcat recompile????

2004-08-20 Thread Shapira, Yoav
Hi, Tomcat 5.5 concludes the trend started in 4.1.x and intensified in 5.0.x, which is to use commons-logging everywhere and gradually phase out org.apache.catalina.Logger. We don't need yet another Logger interface and implementation. Yoav Shapira Millennium Research Informatics

RE: Where do I place a servlet class

2004-08-20 Thread Shapira, Yoav
Hi, I added the servlet mapping entry but it's still not working. I have the class file in /dev_new/WEB-INF/classes/umJavaLib/. Does the class file need to go into a special directory of anything? servlet servlet-nameservUploadMedia/servlet-name

RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I have a script that resets the web and apache servers, compiles the webapp classes, and deletes the classes in the work directory. Emil Diego Website Administrator University of Miami School of Business 305.284.5449 -Original Message- From: John Villar [mailto:[EMAIL PROTECTED]

RE: [tomcat] Re: Where do I place a servlet class

2004-08-20 Thread Diego, Emil
I don't have tomcat configured to work standalone. Emil Diego Website Administrator University of Miami School of Business 305.284.5449 -Original Message- From: Ernesto Echeverría [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 12:23 PM To: 'Tomcat Users List' Subject: RE:

Re: New Loggers imply tomcat recompile????

2004-08-20 Thread John Villar
I see. now i understand the crappy design of ..catalina.logger, finally i can finish my implementation of the Overkill Mail Logger hahahaha. thanks Shapira, Yoav escribió: Hi, Tomcat 5.5 concludes the trend started in 4.1.x and intensified in 5.0.x, which is to use

RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?

2004-08-20 Thread Chang, Betty
Hi -- Thank you Jake! The http://jakarta.apache.org/commons/daemon/procrun.html web page did the trick. It describes the registry parameters and changing the 'Java' to the full path of jre.dll will change the JVM. (I had come close -- I was changing it to the path of java.exe, which did

mod_jk and Ajp13Connector

2004-08-20 Thread Corey Keith
Hello, We have a test and production tomcat (4.1.24) environment. When running the same web application on the test environment everything works fine while on the production environment the Ajp13Processor in tomcat starts brackground threads until it hits its maxprocessor limit and starts

Tomcat 5.0.27 virtual paths

2004-08-20 Thread Dan Schwartz
I have been searching thru the docs but I cannot figure this out. I just deployed and started my first webApp: /usr/tomcat/webapps/j606. I browse to this without a problem at http://localhost:8080/j606. But what I want is j606 to be the base folder when I use virtual paths inside it. to use

RE: Tomcat 5.0.27 virtual paths

2004-08-20 Thread Shapira, Yoav
Hi, One way to go about this is to define path= in conf/server.xml for your webapp. So you need a Context element for it whose path attribute is set to . I wouldn't claim the Tomcat does are as good or complete as Apache httpd's, but we make an effort and we especially try to quickly

Tomcat 5.0.27 [servlets]

2004-08-20 Thread Bhaarat19
Hi I know i have asked this before but i havnt gotten any response other than tellig me to read the same doc. Which i have done already and didnt help. i have tomcat 5.0.27 and want to run a SIMPLE servlet in it. i save the program in

Re: application deploys twice

2004-08-20 Thread Michael Echerer
Jignesh Patel wrote: Hi All, We are using tomcat5.0.19 and struts1.1. Whenever we deploys our application it deploys twice. We couldn't able to identify the reason, why this is happening. Can anybody give insight to us. We are not deploying war file as well as we are not deploying in server we

Configuring thread pools

2004-08-20 Thread julien-martin
Hello, Is there a way to configure the thread pool in tomcat - if thread pool there is - and ask for example for 100 threads to be placed in the thread pool? Thanks in advance, Julien Martin.

RE: Configuring thread pools

2004-08-20 Thread Shapira, Yoav
Hi, Yes, RTFM at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 2:51 PM To: Tomcat Users List Subject: Configuring thread

JSTL / MYSQL JDBC / TOMCAT 5

2004-08-20 Thread Williams, Mark L CIV NSWC-PC
Folks: I've run through the instructions at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples -howto.html for MySQL and have thrashed through the process to the point that I'm convinced that I have a database connection (I can get lots of errors from MySQL itself and I've

Building 5.0.27 fails in connectors/util

2004-08-20 Thread Arthur van Dorp
I'm trying to build Tomcat 5.0.27 on SuSE Linux 9.0 with ant 1.6.2 and Suns javac 1.4.2. It fails with the following messages: [javac] Compiling 57 source files to /home/arthur/Documents/Downloads/jakarta/jakarta-tomcat-5.0.27-src/jakarta-tomcat-5/build/classes [javac]

RE: Building 5.0.27 fails in connectors/util

2004-08-20 Thread Shapira, Yoav
Hi, Looks like a mismatch between the beanutils version on your classpath and the one expected by Tomcat. How did you configure the build? You should be able to just do ant download update build. Yoav Shapira Millennium Research Informatics -Original Message- From: Arthur van Dorp

kill him on the picture!

2004-08-20 Thread tomcat-user
your design is not good! Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Configuring thread pools: I meant servlet threads

2004-08-20 Thread julien-martin
Hello Yoav, Thanks for the reply but I meant servlet threads. Julien. - Original Message - From: Shapira, Yoav To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, August 20, 2004 9:03 PM Subject: RE: Configuring thread pools Hi, Yes, RTFM at

RE: Configuring thread pools: I meant servlet threads

2004-08-20 Thread Shapira, Yoav
Hi, sigh/. Perhaps you can explain what you think is the difference between connector threads and servlet threads ? Servlet instance are just objects in the JVM, they don't exist in their own threads. They are served by the connector threads. Yoav Shapira Millennium Research Informatics

Re: Building 5.0.27 fails in connectors/util

2004-08-20 Thread Arthur van Dorp
Hi. Thank you for your answer. Looks like a mismatch between the beanutils version on your classpath and the one expected by Tomcat. How did you configure the build? You should be able to just do ant download update build. I've downloaded

Re: JSTL / MYSQL JDBC / TOMCAT 5

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 03:29:42PM -0400, Williams, Mark L CIV NSWC-PC wrote: : Foo ${row.foo} : Bar ${row.bar} : : Verbatim. : [snip] : Any suggestions on what to try next (other than give up and go to : regular servlets) would be greatly appreciated. Well, I'd usually vote for a servlet/JSP

RE: New Loggers imply tomcat recompile????

2004-08-20 Thread Benjamin Armintor
You don't append to the mbean descriptor file: You write your own mbean-descriptor file, jar it up with your Logger (or any other managed object) implementation, and modify the ServerLifeCycleListener Listener in your server.xml to get the additional descriptor file. Then drop your jar in the

Re: Tomcat 5.0.27 [servlets]

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 02:49:08PM -0400, [EMAIL PROTECTED] wrote: : I know i have asked this before but i havnt gotten any response other than tellig me to read the same doc. Hello, It's unfortunate you haven't had much success with the list, but please note that your tone comes off as

Obtaining processed JSP from a servlet

2004-08-20 Thread John Villar
Hi everyone, i'm trying to obtain a processed JSP page from my own app, within a servlet, and i'm having trouble. i've tryied using application.getResource() but it gives me the unprocessed source, used an HttpURL... but i need client data (the beans that have been modified) does

RE: Obtaining processed JSP from a servlet

2004-08-20 Thread Benjamin Armintor
By processed JSP, do you mean the resulting java class's source? Or are you trying to forward a request off to a JSP to handle your display? Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED]

Re: Obtaining processed JSP from a servlet

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 04:51:37PM -0400, John Villar wrote: : Hi everyone, i'm trying to obtain a processed JSP page from my own app, : within a servlet, and i'm having trouble. i've tryied using : application.getResource() but it gives me the unprocessed source, used : an HttpURL... but i

  1   2   >