SSL client authentication

2003-09-22 Thread Twan Munster
Hello, I've always used apache http server for client authenticatien with ssl. I've installed Tomcat now voor mij jsp's. But I'm not able to get the ssl client authentication working. The problem is getting my existing certificates working in tomcat. Is apache http server it was very easy. I

Re: article on tomcat performance

2003-09-22 Thread Jan Agermose
PDF and/or html - how about hosting? Has Jakarta offered to host - they really should but I they refuse, please let me know - Original Message - From: Peter Lin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 22, 2003 3:44 AM Subject: Re: article

RE: IIS 5.1 and Tomcat 4

2003-09-22 Thread Jon Skeet
I'm trying to get IIS 5.1 and Tomcat 4 to play nicely together. snip Did this question not get answered because: a) I didn't provide enough information b) Few people on the list have hooked IIS up to Tomcat c) A more interesting question (OutOfMemoryError) came in soon afterwards ? If you

Re: Catalina.stop: java.net.ConnectException: Connection refused

2003-09-22 Thread Ilja Hehenkamp
Anyone? It's quite urgent and I'm stuck now... On Sun, 21 Sep 2003 21:53:30 +0200, Ilja [EMAIL PROTECTED] said: Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused

Re: Can JSP track users in a basic authentication protected realm ?

2003-09-22 Thread Jon Wingfield
You could possibly track the referer header of the request. If the referer is a site outside your protection domain then re-authenticate. This could be done in a filter: Check the header, log out the user, redirect to the requested page to trigger re-authentication. This technique assumes the

RE: Catalina.stop: java.net.ConnectException: Connection refused

2003-09-22 Thread Euan Guttridge
Possibly Tomcat or something else is already running on your TC port, therefore TC cannot start. Run a simple ps -ef | grep java and kill all TC processes, restart TC. -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 10:43 To: [EMAIL PROTECTED]

Problem finding class files in tomcat-4.1.24

2003-09-22 Thread N.B.Bopanna
Hi All, I am not able to find unpackaged class files in my web application. Class files which are packaged are working fine. I have placed the file in catalina_home\shared\classes. The server is Tomcat-4.1.24. Thanks in advance, Bopanna Sr Software Engineer, RCS Technologies.

RE: Problem finding class files in tomcat-4.1.24

2003-09-22 Thread Bodycombe, Andrew
Check the FAQ http://jakarta.apache.org/tomcat/faq/classnotfound.html -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 11:33 To: [EMAIL PROTECTED] Subject: Problem finding class files in tomcat-4.1.24 Hi All, I am not able to find unpackaged class

WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all i have my application running at www.demo.local in Tomcat 4.1.24 Linux RH 9 the dir is /webapps/demo and the files are unpacked Now i'd like to clear it and create a WAR file. So i've done this 1. jar cf demo.war * 2. copied the file in /webapps 3. deleted the directory /webapps/demo 4.

Re: article on tomcat performance

2003-09-22 Thread Tim Funk
PDF. Then its one document which will look the same everywhere. I prefer not to use Office documents for cross company transmission since I can't trust the other party sending me a virus free document. (Even if my security settings are high) -Tim Peter Lin wrote: Here is a quick update. I

WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all i have my application running at www.demo.local in Tomcat 4.1.24 Linux RH 9 the dir is /webapps/demo and the files are unpacked Now i'd like to clear it and create a WAR file. So i've done this 1. jar cf demo.war * 2. copied the file in /webapps 3. deleted the directory /webapps/demo 4.

Re: Config Error ??

2003-09-22 Thread Tim Funk
Your web.xml says the URL is: /Login You are requesting in your webbrowser: http://myserver/naccrrajsp/servlet/naccrra.servlets.LoginServlet And you jk config looks ok. So ask for in your webbrowser: http://myserver/naccrrajsp/Login Your other syntax looks like it wants to use the invoker, a

Re: Directory generator beginner's question

2003-09-22 Thread Tim Funk
No. But you can extend the Default servlet and override its welcome file processing. -Tim Faehndrich Philippe wrote: Hello, I wish I could display the content of a directory, as we can do with a directory generator. The problem is, I don't want to display the file names, or creation or

Re: Config Error ??

2003-09-22 Thread Jon Wingfield
A config error and a coding error. You've set up a servlet mapping but aren't using it. Instead of using the URI /naccrrajsp/servlet/naccrra.servlets.LoginServlet use /naccrrajsp/Login Then you'll need to add a JKMount for /naccrrajsp/Login HTH, Jon David OBrien wrote: I'm having a bit of a

Re: Blocking html

2003-09-22 Thread Tim Funk
So people are using your server as a proxy server? Tomcat (AFAIK) does not allow that from its base functionality. If so - that is a security flaw. -Tim John Wallis wrote: Hi users, The html pages are of the web and are not mine. My server somehow acts like a proxy giving my callers access to

single sign-on, form-based CMA, etc

2003-09-22 Thread Adam Hardy
Looking through the archives I see this topic has had some heavy discussion in the past, but I just want to bring it up again to verify a few points. To overcome the issue with tomcat 4.x where the first session amongst all contexts to time-out will time-out all the user's other sessions, I

printing from java bean to jsp page

2003-09-22 Thread Michael Ni
System.out.print from a java bean writes to the command prompt but how do i write to a jsp page where inside that jsp page i call the java bean. must i pass it in as a variable or can i write psuedo code such as println(htmlblah/html); if so how. mike

RE: servlet question

2003-09-22 Thread Shapira, Yoav
Howdy, Whoa, what's going on with this thread? ;) There's no j2ee.jar with tomcat, there can't and shouldn't be. Don't look for it. You don't need all the classes in commons/lib to compile your servlets, don't add them all to the classpath. Add only the ones you need, which is typically just

RE: tomcat won't read classes unless in explicit packages

2003-09-22 Thread Shapira, Yoav
http://tomcatfaq.sourceforge.net/classnotfound.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 11:47 PM To: Tomcat Users List Subject: tomcat won't read classes unless in explicit

Yoav do you know how to solve my problem?

2003-09-22 Thread Michael Ni
My question is in the email above from Michael Ni _ Instant message with integrated webcam using MSN Messenger 6.0. Try it now FREE! http://msnmessenger-download.com

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Denise Mangano
After compiling and running some offline sample java programs, it seems unlikely that the problem is with the JVM. If it were I shouldn't be able to run any java programs under non-root users, but I can. The problem still only appears to be when starting and stopping Tomcat as a non-root user.

RE: CPU usage 100%

2003-09-22 Thread Ravi Puthiyattil
I donot have infinite loops. i did little bit of testing last week. kill -s 24 (STOP) made the cpu to come down to 0%. It paused the application. Then i tried kill -s 3 the cpu went back to 100% but no dump. This tells me that tomcat is responding to signals, but still doesnt explain why it

Host will not save session data

2003-09-22 Thread Lon Palmer
Hello Tomcat Gurus, I've created a new host in my server.xml file for a site, new_tridentms.com. This site is redirected from apache. The problem is this: My new host will not save session info. I created the site on a development server under the webapps default host and everything

Where's the coyote?

2003-09-22 Thread Benjamin R. DeBiase
Help! Maybe I'm blind or something but I cannot find on your website any place to download the Coyote JK2 or other connectors. Lot's of documention links. No download links.

newbie jasperException

2003-09-22 Thread Biswas, Goutam_Kumar
Hi, I am getting the following JasperException. (Please scroll below for the exception :-) ). I am relatively new to jsp. Can anyone please point me as to what's going wrong here? FYI I am including the jsp code also. -jsp code html head script

stdout.log file growing very quickly.

2003-09-22 Thread Wood, Daniel
Hello, We're using Tomcat 4.1 and we have a problem where the logs\stdout.log grows very quickly. I was wondering if you had any advice to offer? What would be ideal is if we could have the properties of org.apache.catalina.logger.FileLogger to create a new log every new day. I've

RE: stdout.log file growing very quickly.

2003-09-22 Thread Shapira, Yoav
Howdy, Why is it growing so fast? You have several options, all of which have been discussed on the list in the past. They include: - Using an external program like logrotate to rotate the stdout log for you. - Adding swallowOutput=true to your context so that stdout/stderr output from those

Help is setting up my First Servlet

2003-09-22 Thread Giri Gopal
Hello: I am new to JAVA and JSP. Last week with help from the post, I have tomact 5.0 installed and working. (side note: I can start tomcat only from startup cmd in the Bin folder). I cannot start from the GUI I get when I installed tomcat. Either way, it's working that's good news. I can run

RE: Help is setting up my First Servlet

2003-09-22 Thread Lon Palmer
I havent used 5 ( only 4.1 ) but the first thing I noticed is that on item 3 you wrote: 5.0\webapps\root\web-inf\classes\org.apache.jsp do you actually mean: 5.0\webapps\root\web-inf\classes\org\apache\jsp ? If not, this would cause the error your seeing. The

Re: stdout.log file growing very quickly.

2003-09-22 Thread Adam Hardy
another question on this topic which has long puzzled me: is tomcat being changed over to commons-logging to output log statements? Or is it all configured going to remain controlled by the debug attributes of nodes in server.xml? If I set all those debug attributes to 0, will tomcat become

RE: stdout.log file growing very quickly.

2003-09-22 Thread Shapira, Yoav
Howdy, another question on this topic which has long puzzled me: is tomcat being changed over to commons-logging to output log statements? It would be good to start a different mailing list thread when you have a different (albeit related) question ;) Or is it all configured going to remain

Re: IIS 5.1 and Tomcat 4

2003-09-22 Thread Mats Andersson
I think you must have this row in your workers.properties: worker.list=ajp13 More comments are embedded in your text below. Please let me know it this helps. /Mats Jon Skeet wrote: I'm trying to get IIS 5.1 and Tomcat 4 to play nicely together. So far I've not got very far. I've got: o

RE: Help is setting up my First Servlet

2003-09-22 Thread Giri Gopal
Hi Palmer: You are correct, It's my error. It is : 5.0\webapps\root\web-inf\classes\org\apache\jsp thanks -Original Message- From: Lon Palmer [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:16 AM To: Tomcat Users List Subject: RE: Help is setting up my First Servlet I

two tomcat instances

2003-09-22 Thread Chris Daly
hi i have an application which uses tomcat 4.0 and i have copied the application and tomcat to two different folders. as far as i can see i have changed the configuration settings on the second instance of server xml which are different server ports different ajp13 connector ports different

RE: IIS 5.1 and Tomcat 4

2003-09-22 Thread Jon Skeet
(Thanks for replying, btw :) I think you must have this row in your workers.properties: worker.list=ajp13 I'm afraid I already have that - I must have been a bit overenthusiastic when snipping my file down to a manageable file for mailing list purposes. o isapi_redirect.dll from

MORE INFO: Host will not save session data

2003-09-22 Thread Lon Palmer
All, I found a post at http://marc.theaimsgroup.com/?l=tomcat-devm=104247780113629w= that points to a problem with cookies and sub domains using IE 6 and sure enough Netscape 7 has no problem with my site. Of course that is no comfort to any tomcat user considering half the world in on IE 6. So

Re: newbie jasperException

2003-09-22 Thread Christopher Williams
Hi, Your JSP code is wrong. The %@ page import... % directive needs to go at the top of the page. When the Jasper compiler turns it into Java, that directive gets turned into one or more Java import statements, and you wouldn't stick those in the middle of your code. Remember, all the HTML

Re: Disabling session management (FAQ not enough)

2003-09-22 Thread Greg Ward
On 20 September 2003, Chris Rolfe said: You might try: Manager classname=org.apache.catalina.session.StandardManager pathname= / Yep, I eventually found that in the O'Reilly Tomcat book. Turns out classname isn't even necessary, so this is a one-line-of-XML-per-context configuration

Re: stdout.log file growing very quickly.

2003-09-22 Thread Adam Hardy
On 09/22/2003 04:25 PM Shapira, Yoav wrote: Tomcat is already mostly switched over to commons logging. tomcat 4 as well, or just 5? If so, then presumably there is a logging properties config file somewhere, which the original poster could configure so that less output goes to the console? In

RE: IIS 5.1 and Tomcat 4

2003-09-22 Thread Jon Skeet
Just checking this, my log definitely shows it's found the ajp13 stuff: [Mon Sep 22 16:22:03 2003] [jk_worker.c (82)]: Into wc_open [Mon Sep 22 16:22:03 2003] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers [Mon Sep 22 16:22:03 2003] [jk_worker.c (213)]: build_worker_map,

Re: CPU usage 100%

2003-09-22 Thread Christopher Williams
Ravi, Assuming that your code is at fault, have you tried doing debug output so you can find the part of your code that causes CPU usage to hit 100%. Just do this: void myMethod() { System.out.println(In myMethod); ... } You can put similar statements in your JSP code as well. Chris.

PROBLEM SOLVED: MORE INFO: Host will not save session data

2003-09-22 Thread Lon Palmer
Ok found the problem. NOT a Tomcat problem but still useful to tomcat developers who might run into it. Both IE 5.5 and 6 has a new security path out that prevents invalid domain names from storing cookies. Aparently the '_' character I was using in my test configuration for new_tridentms.com

RE: newbie jasperException

2003-09-22 Thread Biswas, Goutam_Kumar
Chrish, Thanks for finding time to reply to my question. After some hours of churning the jsp code around I tracked down my mistake to not passing a command line property (-Dpos.home-...) to the JVM. When I set this property using CATALINA_OPTS=-Dpos.home=... I got the output. Thanks again.

RE: stdout.log file growing very quickly.

2003-09-22 Thread Shapira, Yoav
Howdy, tomcat 4 as well, or just 5? If so, then presumably there is a logging properties config file somewhere, which the original poster could configure so that less output goes to the console? Tomcat 4 to a lesser extent than tomcat 5. You can add a configuration file if you wish to

Re: SOLUTION!! -- Cannot load JDBC driver class 'null'

2003-09-22 Thread Paul
hope this is helpful: the ResourceLink line, i was able to get my datasource resource accessible to each web app by creating a new unique name for the name parameter in the ResourceLink tag for each context, while keeping the global name (specified in the Resource tag) as the value for the global

Re: article on tomcat performance

2003-09-22 Thread Eric MacAdie
--- Peter Lin [EMAIL PROTECTED] wrote: Here is a quick update. I plan to release the finished article thursday or friday. tim and mike were kind enough to review it. I'm still waiting for the other reviewers. My question is what format would people like? word openoffice pdf

Re: tomcat - thread per connection model

2003-09-22 Thread Rau NF
Hi - Not sure about one thing - what if someone opens up a 100 odd connections and sends data over the pipe slowly ? This will definitely keep that particular server (Tomcat 4.1.24) busy for a long time and no new user can get in. In this case, the throttling logic in tomcat will probably do

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Denise Mangano
When Tomcat is shut down and I run a ps -ef no java threads are displayed. Is there any way for me to go in manually and check if there are any threads are being held onto by Tomcat/Java, and release them? Thanks. Denise -Original Message- From: Denise Mangano Sent: Monday,

Re: tomcat won't read classes unless in explicit packages

2003-09-22 Thread Paul
for what it is worth: i may not understand problem statement correctly, but if the problem is having all classes in one directly, why not place them all in same package; or possibly jar them alltogether and place in /commons directory.??? -paul lomack - Original Message - From: Luke

Is there really no answer? How to cancel a large upload request with a servlet?

2003-09-22 Thread Peter H.
Hello, I've written a file upload where the user get's informed of the currently transferred bytes (asynchron with meta refresh)... on this info page the user can press cancel - an async request is send to the server to another thread of course. this thread informs the uploading thread that it

Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Kruse, Matt
I know I'm ignorant in some areas of this problem, so please forgive me if I don't explain it well or if I'm missing something obvious! PROBLEM: Tomcat won't startup (via Eclipse plugin) when Apache's commons-digester.jar is included as a project lib. QUESTION: How can I use the Digester in my

RE: Cannot run Tomcat as new user

2003-09-22 Thread Ralph Einfeldt
If ps doesn't show any, there aren't any. What make you think there are ? -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 5:50 PM To: Tomcat Users List Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat -

RE: Cannot run Tomcat as new user

2003-09-22 Thread Denise Mangano
The problem that I am having doesn't appear to make any sense - so unfortunately I am grasping at straws. The common response that I seemed to get from the java forums, the Linux forums, and at times here is a memory issue. However, when starting Tomcat as root these memory problems do not

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Ralph Einfeldt
May be you should run ulimit -a # sh/bash as shell limit # tcsh as shell for the root user and the user you wann't to start tomcat with. Maybe that shows something interesting. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003

Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-22 Thread joe gspeed
Hoping that someone can help me with Tomcat crashes we are experiencing.  Here is our setup: Tomcat Box: Dual 2.4Ghz Xeon (w/hyperthreading) RedHat 7.3 running Tomcat 4.0.6 and Java SDK 1.4.2 Apache Box: Dual 2.4Ghz Xeon (w/hyperthreading) RedHat 7.3 running Apache 2.0.47 (using the worker MPM

RE: Cannot run Tomcat as new user

2003-09-22 Thread Ralph Einfeldt
To me your problem sounds as if some system or user parameter has been set manually to some value and this setting has vanished after the last reboot. -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 6:14 PM To: Tomcat Users List

problem with tomcat 4.1.27

2003-09-22 Thread Kelly Goedert
Hi all, i just downloaded tomcat 4.1.27 for windows and installed it on a windows 2000 professional machine. During the setup everything was just fine but when i try to start tomcat i get the following errors: Using CATALINA_BASE: C:\tomcat 4.1 Using CATALINA_HOME: C:\tomcat 4.1 Using

RE: Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-22 Thread Shapira, Yoav
Howdy, Make sure you have the latest OS patches required for the JDK version you're running. Yoav Shapira Millennium ChemInformatics -Original Message- From: joe gspeed [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Signal 11 Error:

RE: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Shapira, Yoav
Howdy, What tomcat version? Where's the digester jar that ships with tomcat? You can't have more than one digest jar in the classloader hierarchy. So keep yours in WEB-INF/lib and make sure tomcat's is in $CATALINA_HOME/server/lib (not commons/lib or shared/lib). Yoav Shapira Millennium

RE: Cannot run Tomcat as new user

2003-09-22 Thread Denise Mangano
The output of ulimit for the user 'jakarta' and root are the same: core file size(blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) 5000 open files

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
What tomcat version? I've tried 4.1.27 and 5.0.9 with the same results. Where's the digester jar that ships with tomcat? c:\tomcat\server\lib\commons-digester.jar You can't have more than one digest jar in the classloader hierarchy. So keep yours in WEB-INF/lib and make sure tomcat's is

Re: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Remy Maucherat
Kruse, Matt wrote: What tomcat version? I've tried 4.1.27 and 5.0.9 with the same results. Where's the digester jar that ships with tomcat? c:\tomcat\server\lib\commons-digester.jar You can't have more than one digest jar in the classloader hierarchy. So keep yours in WEB-INF/lib and make

RE: Cannot run Tomcat as new user

2003-09-22 Thread Ralph Einfeldt
More a OS parameter. (As otherwise tc wouln't run as other user) E.G.: max user processes (-u) 20 max memory size (kbytes, -m) 5000 These are quite low. We have 256 and unlimited. 20 processes per user and especially 5MB memory is not enough to run tomcat. (I'm not shure if these values are

Re: Printing from java bean to jsp page

2003-09-22 Thread Christopher Williams
If you need to capture output from a bean, don't use System.out.print - that goes to the system console or a log file. The out variable on a JSP page is a java.io.Writer object (or at least it is deep down). You should set this as a member variable of your bean class and write output through

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
This works fine for me. It is very obvious: just try one example Struts WAR (which has commons-digester.jar), and it will work fine. I'm not sure why this would work, but I admittedly don't know much about WAR files. Could have something to do with when they are processed during startup,

OT: sloppy English

2003-09-22 Thread Christopher Williams
A lot of posts to this mailing list seem to use really lazy English: I consistently in lowercase, missing punctuation, missing capital letters at the start of sentences, etc. Two things: 1. A sentence which goes something like must i do x or can i do y is hard to read. 2. Writing like this makes

RE: sloppy English

2003-09-22 Thread Jeremy Whitlock
Chris, I agree and disagree. It is always good to do thing proper but who are we to expect things from the end users? No one here has a right to enforce or even demand such a change. If you notice, I always have proper syntax and punctuation as well but I do not demand it of others. If

Re: Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-22 Thread Christopher Williams
Signal 11 is a segmentation error (I think), which would be caused by attempting to access an invalid memory address. This in turn might be caused by attempting (in native code) to construct an instance of a Java class that the class loader can't find, something like: jclass clz =

Re: OT: sloppy English

2003-09-22 Thread Tim Funk
i disaggree, unforuntealy i don't have time to perfom complete spel checks or fix grammar on all words. i try to be as coherent as possible but since i do this for free, you get what your pay for. please killfile me if it is that bothersome. I don't mind bad grammar and spelling. I detest

RE: OT: sloppy English

2003-09-22 Thread Jeremy Whitlock
Tim, Very well said...and understandable too. ;) -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 11:05 AM To: Tomcat Users List Subject: Re: OT: sloppy English i disaggree, unforuntealy i don't have time to perfom complete spel

RE: sloppy English

2003-09-22 Thread Kannan Sundararajan
Please do not think the programmers are using lazy English or moron(watch you before you put like these kind of words). They are hard working, their backbone is fingers and they are very tired of doing shift key, coz they are keen on typing technical stuff not on fancy grammatical. If you do

RE: Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-22 Thread Shapira, Yoav
Howdy, Signal 11 is a segmentation error (I think), which would be caused by attempting to access an invalid memory address. This in turn might be caused by attempting (in native code) to construct an instance of a Java class that the class loader can't find, something like: This is

Re: OT: sloppy English

2003-09-22 Thread Michele Emmi
I would like to point out that English is not the first language of everyone on this list. Regards, Michele From: Christopher Williams [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: OT: sloppy English Date: Mon, 22 Sep 2003 17:48:28 +0100 A lot of

RE: Cannot run Tomcat as new user

2003-09-22 Thread Denise Mangano
Well I'll be I just increased those settings, therefore: max memory size (kbytes, -m) unlimited max user processes(-u) 256 Wouldn't you know it I can now start Tomcat as the user 'jakarta'! So perhaps as you said root ignores those values. A million thanks cannot even

Re: Cannot run Tomcat as new user

2003-09-22 Thread Christopher Williams
Denise, Java makes tracking your own memory usage quite difficult, which is good in some ways, not so good in others. What you could try is temorarily removing your web app. Then create a dummy servlet which gets loaded when Tomcat loads. This servlet won't do anything, it will just hang

OT: Apologies

2003-09-22 Thread Christopher Williams
Sorry, folks, I didn't mean to start a flame war. Also, I certainly didn't mean to call anybody a moron - I simply meant that sloppy writing makes you sound less intelligent than you really are (and unpunctuated sentences really are harder to read). I also appreciate that English is not

Re: OT: sloppy English

2003-09-22 Thread Ben Souther
I'd bet that every, native English speaking, person on this list can easily discern which posts are written by non-native English speakers and which are written by English speakers who are just being lazy and sloppy. I've never seen anyone who has made an honest attempt to post a question in

Re: OT: sloppy English

2003-09-22 Thread Nikola Milutinovic
i disaggree, unforuntealy i don't have time to perfom complete spel checks or fix grammar on all words. i try to be as coherent as possible but since i do this for free, you get what your pay for. please killfile me if it is that bothersome. I don't mind bad grammar and spelling. I detest

Re: OT: sloppy English

2003-09-22 Thread Tim Funk
If people read the Preface here (and its links): http://jakarta.apache.org/tomcat/faq/tomcatuser.html ... and follow it ... Then I'm a happy camper. ;) -Tim Nikola Milutinovic wrote: Agreed, but the main point was in: - capital letters at the beginning of the sentence - capital I for first

JNDI lookup of datasource objects.

2003-09-22 Thread Wynkoop, Robert M
Is there a way to configure Tomcat so I can lookup datasoruce objects by doing .lookup(jdbc/someName) instead of .lookup(java:comp/env/jdbc/someName). I'm trying to work locally on a webphere project using Tomcat / Netbeans. In Webphere lookups are done using jdbc/someName. Thanks, Robert

RE: sloppy English

2003-09-22 Thread Luke Vanderfluit
Hi, If you are a programmer or in any way write code you must be accustomed to case sensitivity. So it can't be that hard to use the shift key. I don't believe anyone just types on the keyboard without using a shift key. Nah. sorry. On another note: Imagine all programming code was in

RE: JNDI lookup of datasource objects.

2003-09-22 Thread Shapira, Yoav
Howdy, java:comp/env is defined in the servlet specification to be the naming context for environment entries. You could get the env context by doing a lookup for just java:comp/env on the initial context, and then do relative lookups from this env context rather than absolute lookups from an

Servlet Tag problem

2003-09-22 Thread Jay Doggett
Hello everyone! I have these lines in a very simple html page, intending to invoke my servlet and pass some params to it: SERVLET CODE=iTraxMainView PARAM NAME=Panel value=TOC /SERVLET Can anyone tell me why the servlet is never getting called? Thanks Jay

Re: Servlet Tag problem

2003-09-22 Thread rsequeira
I don't believe the SERVLET tag is supported in Tomcat. I know it was supported in JRun. But you could write a jsp and then from the jsp call the servlet you desire Thanks, RS

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
I have solved the problem below. The solution involved changing a couple of the Tomcat source files due to Digester instances not using the correct Classloader upon Tomcat startup. The changes I made are as follows: 1) in Catalina.java: /** * Create and configure the Digester we will

RE: sloppy English

2003-09-22 Thread Kannan Sundararajan
When we are tired, then we will understand what a real programming means. Specially, if you are overloaded with programms, task, and schedule, and lack of time by working in major cities, I doubt we will smiling at each of our sentences to convey our message. -Original Message- From:

Configuring and using cgi scripts in Tomcat

2003-09-22 Thread Wilson, Allen
Hello... I am trying to configure Tomcat to run a perl script that is part of an application I am moving over from another server. Since this is one script I do not want to rewrite it so I thought that I could set the server to run CGI scripts. I have put the entries in the web.xml file and

Special permission in a webapp.

2003-09-22 Thread webmaster
Hi all, I have a user that needs the following permission in its webapp. java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.session What are the implications of giving up such a permission ? Thanks !! - To

Re: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Marco Tedone
It would take too long to tell you how to use commons-digester with Tomcat (or whatever other application); I'm using it with a Struts application running under Tomcat and it works greately. I put it under WEB-INF/lib folder and I don't have it under common/lib Marco - Original Message -

Can .WAR files be compressed if unpackWARs=false?

2003-09-22 Thread Andoni
hello, Just a quickie. Is there any problem with serving from a compressed .war file? I have been having problems which I cannot explain and have just realised that since using ANT I have been inadvertently compressing my .war file. I cannot find anything to say that this is a problem but

RE: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Mike Curwen
I'm very interested to hear what Tomcat gurus/commiters think of this mod. Given the links that describe the problem, and because I just have this feeling that classloading issues are so replete with 'good intentioned, but ultimately doomed architectures'... ya know... here's someone that

Re: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Filip Hanik
not sure why someone would go in and mock with the Tomcat source when there is no need to :) have fun maintaining upgrades ;) We use the digester in our webapp without any problems what so ever, we simple place it in WEB-INF/lib We have the following jars in WEB-inf/lib

can I run an app. from a *compressed* .war file with unpackWARs=false ?

2003-09-22 Thread Andoni
hello, Just a quickie. Is there any problem with serving from a compressed .war file? I have been having problems which I cannot explain and have just realised that since using ANT I have been inadvertently compressing my .war file. I cannot find anything to say that this is a problem but

Multiple Web Apps... Am I missing anything?

2003-09-22 Thread Eriksen, Kjell
We are testing out Tomcat to host multiple app instances - any feedback would be greatly appreciated. To install multiple web apps on W2K - each with its own service/instance: 1) Copy/rename server.xml (webapp1.xml) a. config non-SSL Coyote HTTP/1.1 Connector on open port, say 8081

Multiple Web Apps... Am I missing anything?

2003-09-22 Thread Eriksen, Kjell
*** I apologize for sending the previous in RICH text format *** *** Plain text follows *** We are testing out Tomcat to host multiple app instances - any feedback would be greatly appreciated. To install multiple web apps on W2K - each with its own service/instance: 1) Copy/rename

RE: sloppy English

2003-09-22 Thread Sagara Wijetunga
Making an attempt to write properly in whatever language implies that you care and respect the audience that you write. Sagara __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

Forwarding with Tomcat Standalone

2003-09-22 Thread Michael Futeran
I am trying to replace an Apache/Tomcat combination with Tomcat standalone. I have everything else working, but I can not figure out how to get requests for secure pages to be auto forwarded to https the way they are with Apache.

Re: sloppy English

2003-09-22 Thread BAO RuiXian
Sagara Wijetunga wrote: Making an attempt to write properly in whatever language implies that you care and respect the audience that you write. Sagara Agreed. Besides, careless and hurry-up writing might be one reason causing this list huge traffic. It is amazing that often one posting only

Javaw

2003-09-22 Thread Dave Stoker
I cannot add all the class files I need to a shortcut that calls Javaw (due to the number of characters) so I have created a batch file for same. In order to suppress the DOS window I call the file from another batch file. Does someone have a more elegant method? TIA, Dave

Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-22 Thread Sarika N Inamdar
Hi All, Please let me know if struts.jar should be present under /WEB-INF/lib with tomcat 4.1.24 ? We have jps's which do not struts. But when I start tomcat,encounter the following exception in /logs/localhost_log file . This execption does not hamper the functionality though !!! 2003-09-22

  1   2   >