Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread David Kerber
On 12/29/2021 2:54 PM, Michael B Allen wrote: On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: One of the advantages of moving to Eclipse is that everyone involved in the spec, not just the spec lead, has an equal say in what goes into the spec. That sounds like design by committee which i

Re: Import file > 3gb possible?

2006-06-15 Thread David Kerber
Terry Orechia wrote: Is it possible to import a large file greater than 3 gigabytes to a tomcat web server? I am running tomcat 4.1 on debian with Tomcat/Apache JK2 Connector . I upload a file using multipart/form data on http Post request to servlet. I have successfully uploaded a file that

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
I think what he's getting at is that Tomcat (or any other web server) cannot tell how a browser is set wrt cookies without trying to set one and then seeing if it's there. Garey Mills wrote: Martin - I guess I'm being obtuse, but WHAT won't work? What I want to know is how Tomcat det

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
r not? And when does Tomcat try? Before control is passed to my app? Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Wed, 21 Jun 2006, David Kerber wrote: I think what he's getting at is that Tomcat (or any other web server) cannot tell how a browser

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Kerber
ser accepts cookies. But is my assumption correct, I don't know. That is what I am asking. Garey Mills Library Systems Office UC Berkeley The brain is not where you think On Wed, 21 Jun 2006, David Kerber wrote: Why would it try until your app tells it to? AFAIK (admittedly,

Re: Bandwidth Profiler?

2006-07-26 Thread David Kerber
A dialup modem usually works well for this! Michael Partheil wrote: Hi! I'm looking for a way to locally simulate a slow network connection with Apache Tomcat 5.5.9 running on Mac OS X 10.4.6 and Java 1.4.2. I need this to test how my web application works for users with slow internet con

Re: Initializing Parameter

2006-07-31 Thread David Kerber
Where are you getting the parameter from? Is it going to change a lot? I store parameters in the server.xml in the section as entries, and then retrieve them with a call to this routine: public static String getEnvironmentVariable( String envVarName, String varDefault) { String

Code performance question #1

2006-08-07 Thread David Kerber
I have a couple of questions about the performance of my code, but I'm going to ask them in separate threads. The first one is, if I have this loop: for ( ii = 0; ii < data.length; ii++ ) { where data is defined as byte[] , is the .length property evaluated each time through the loop,

Re: Code performance question #1

2006-08-07 Thread David Kerber
By the way, this code is in a servlet running under 5.5.12, if it matters. David Kerber wrote: I have a couple of questions about the performance of my code, but I'm going to ask them in separate threads. The first one is, if I have this loop: for ( ii = 0; ii < data.le

Code performance question #2

2006-08-07 Thread David Kerber
This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6. I use this code to break out individual data fields from a line which is structured as "a=1&b=2&c=3&d=4&e=5". It is executed for over 2 million data lines per day, so this routine is executed over 10 mi

Re: Code performance question #1

2006-08-07 Thread David Kerber
s per hour = 166.667 operation per minute = 2.777 operations per second. Given 100.000.000 operations per second your processor can manage, the performance benefit would be zero. On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote: I have a couple of questions about the performance of my co

Re: Code performance question #2

2006-08-07 Thread David Kerber
plit" method I could use? Or am I completely missing the point of what you are suggesting? Dave Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] It is executed for over 2 million data lines per day, so this routine is executed over 10 million times per day. [snip

Re: Code performance question #2

2006-08-07 Thread David Kerber
don't you tokenize it into string pairs, store the pairs and works with them? leon On 8/7/06, David Kerber <[EMAIL PROTECTED]> wrote: This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6. I use this code to break out individual data fields from a line which is stru

Re: Code performance question #2

2006-08-07 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Is there a more efficient "split" method I could use? Or am I completely missing the point of what you are suggesting? I think you've slightly missed the point. I assume you're calling your functio

Re: Code performance question #2

2006-08-07 Thread David Kerber
a get sent to the servlet (in, for example the query string)? The data is sent via an HTTP POST request, with the query string lightly encrypted. Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Is there a more efficient "split" method I could use? Or am I

Re: Code performance question #2

2006-08-08 Thread David Kerber
Pid wrote: David Kerber wrote: Pid wrote: here's another obvious question: if you're in a servlet, and you're getting an & separated string from somewhere, where is the "somewhere" that you're getting it from? does the servlet activate and collec

Re: Code performance question #2

2006-08-08 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Do you think it be more efficient to scan the string once and grab the field values as I get to each field marker? Yes. Yes, the machine is cpu-bound. My 768k data line will spike the cpu to 100% and hold it

Re: System requirements

2006-09-19 Thread David Kerber
Andrew Miehs wrote: Hi Nicolas, Tomcat works best with large hardware. I have found that using a Sun Enterprise 15K with 1 processor per online user gives me the best performance. Don't forget the 1GB of RAM per user... That combination would giive terrific performance ;-) Regards

Platform list

2006-09-25 Thread David Kerber
I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to see if it will run ok on a Fedora core 4 server. Dave - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Platform list

2006-09-25 Thread David Kerber
Oops, I knew that . Thanks for jerking my "d'oh" chain! Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Platform list I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to

Re: AOL

2006-10-10 Thread David Kerber
Daniel Blumenthal wrote: Chris, How does the lb decide where you go for all requests after the first one? Typically, the session id is sniffed from the URL or cookie and the lb maintains a table of mappings that expires after some time. Our two choices are evidently "IP-based" and

Writing a text file back to browser from a servlet

2006-10-13 Thread David Kerber
I'm trying to do something that seems like it should be very easy, but can't get it to work: sending a .txt file back to the user's browser so they can save it to their local hard disk. I am having no trouble creating the file and writing it to a temporary place on the server, but can't figur

Re: Writing a text file back to browser from a servlet

2006-10-14 Thread David Kerber
hould: response.setContentType("text/plain; charset=UTF-8"); response.setHeader("Content-disposition", "attachment; filename=.txt"); charset is optional... Tim -----Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 10:13 PM To: T

Re: Writing a text file back to browser from a servlet

2006-10-16 Thread David Kerber
to, but it would be nice if I could show my users the file content in the browser as well. Thanks! Dave David Kerber wrote: Thanks, Tim - I'll give that a try later today. Dave Tim Lucia wrote: You could stream it directly to the user, if practical (why write to a temp file only

Re: TC 5.5 practical limit on number of webapps it can support

2005-10-29 Thread David Kerber
What level of hardware are you running, and what OS? Dave George Sexton wrote: I'm running around 65 virtual hosts with one webapp per virtual host. I'm not having any problems. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- F

Re: question about web-inf/lib

2005-11-02 Thread David Kerber
John MccLain wrote: we currently have 1 project in tomcat webapps dir. We want to add another project there. The problemn is that we would like to have both projects' web-inf/lib populated with the same set of libraries (jar files). When we kick off Tomcat with this configuration,The second cont

Re: Multiple thread pools in Tomcat 5.5

2005-12-09 Thread David Kerber
Mikolaj Rydzewski wrote: Kirk Gray wrote: This e-mail is intended only for the personal and confidential use of the recipient(s) named above. It may include Blackboard confidential and proprietary information, and is not for redistribution. I wonder if you'll bue sued because this email is

Re: Comparing Tomcat Performance on Windows vs. Linux

2006-01-05 Thread David Kerber
Ours is more of a small-to-medium environment than it is enterprise, but we put antivirus on our servers... Tim Funk wrote: Interesting. In enterprise environments, I also hear it common to see antivirus software also run on windows servers too. (Yes, you read that correctly) I'd be curious t

Re: Single Thread is deprecated?

2006-01-06 Thread David Kerber
Christian Stalp wrote: Remy Maucherat wrote: It's deprecated because it is confusing, but it is actually very useful performance wise in some cases, since it does pooling. I will make sure this feature remains available in the future. That means, I still can use it?! Deprecated is not proh

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Roel De Nijs wrote: Hi, I heard that resources, updates, development and support of tomcat are slightly disappearing. MAny people are looking for alternatives (e.g. JBoss). Even Microsoft and HP are cooperating with JBoss very closely. As far as i know Tomcat is the most used app server, so

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Sweet sweet flame fodder. Tomcat is as alive as the community of developers that are willing to work on it (like any open source project). I guess you could consider it flame fuel, but it's also a legitimate question, IMO. Your answer below looks good to me. Tomcat did t

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Apache is a legal entity which is composed of many developers who work on a variety of software projects in a variety of programming languages. Some projects are related to one another, others are not. Apache != httpd. httpd was the first Apache project. True, but the HTTP s

Re: Betr.: Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Roel De Nijs wrote: or they think coffee and/or island :-) [EMAIL PROTECTED] 2/02/2006 16:50:03 >>> True, but the HTTP server is still what most people think of when they hear the name "Apache". Probably same people, that think of Applets or Javascript when they hear the wo

Re: caseSensitive on Windows XP

2006-02-08 Thread David Kerber
Merico Raffaele wrote: Dear Community I am developing a web application based on Tomcat 5.5. and on Cocoon 2.1.8. I am doing all the work on a Windows XP platform. Now, somehow, I have seen filenames are not treated case-sensitive. In order to change this behaviour on Tomcat level I added the f

Logging session timeouts

2006-02-09 Thread David Kerber
Is there any way of trapping session timeouts, so I can log them? I am logging when a user logs in and when they explicitly log out, but would like to log when their session times out, if that is possible. TIA! Dave - To un

Re: Logging session timeouts

2006-02-09 Thread David Kerber
} /** * Return string representation of this object * @return a String representation of this object */ public String toString() { return getClass().getName() + "#" + hashCode(); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTE

Re: Logging session timeouts

2006-02-09 Thread David Kerber
ons * @return The high water mark of sessions tracked */ public static int getSessionCountHighWater() { return sessionCountHighWater; } /** * Return string representation of this object * @return a String representation of this object */ public String toString()

Re: Logging session timeouts

2006-02-09 Thread David Kerber
)+milliseconds; String secondsStr = (seconds<10 ? "0" : "")+seconds; String minutesStr = (minutes<10 ? "0" : "")+minutes; String hoursStr = (hours<10 ? "0" : "")+hours; return new String(d

Re: Logging session timeouts

2006-02-09 Thread David Kerber
ve. Dave Tim Lucia wrote: Add the following fragment to your web.xml: SessionCountFilter SessionCountFilter SessionCountFilter /* -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 10:56 AM To: Tomcat

Re: Logging session timeouts

2006-02-09 Thread David Kerber
t the filter first. (If a user goes inactive, the session will expire, and the listener will catch it and log it) -----Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session timeouts Tha

Re: Logging session timeouts

2006-02-09 Thread David Kerber
a user to hit the filter first. (If a user goes inactive, the session will expire, and the listener will catch it and log it) -----Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session

Re: Logging session timeouts

2006-02-09 Thread David Kerber
xactly once and destroyed exactly once. -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts I still have a question about performance: any idea which of these met

Re: Someone successfully Installed Tomcat as Windows Service with StartMode=java or StartMode=exe?

2006-02-13 Thread David Kerber
I run tomcat 5.5.12 as a service on Win2K (not 2k3), but don't know what mode it is in. How do I find that? Sebastian Himberger wrote: Hi, a week ago i posted a question regarding my problem installing Tomcat as a windows service. Before i'll try again to get it work it would be nice if

Can't get caseSensitive="false" to work

2006-02-14 Thread David Kerber
I read the thread from last week about case-sensitivity, and did some additional googling when it didn't work, but still can't get my Tomcat 5.5.12 on Win2k, running with Java 1.5.0_06 to be case-INsensitive for the context path. That is a problem for my users, because we migrated them from Si

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
Nobody has any suggestions on this? I still can't get it to go. Thnaks! Dave David Kerber wrote: I read the thread from last week about case-sensitivity, and did some additional googling when it didn't work, but still can't get my Tomcat 5.5.12 on Win2k, running with Java

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
ETA-INF with no luck. Are you sure it works in 5.5.12? A couple of the posts I've seen while googling have implied that the last version this worked in was 5.5.9. That would really suck if correct! If it matters, I'm running jdk 1.5.0_06. David Kerber wrote: Nobody has any

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
Ok, thanks. Obviously I'm missing something, then. I'll keep digging... Bob Faist wrote: I'm using Tomcat 5.5.14 and jdk 1.5.0_06. -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 9:44 AM To: Tomcat Users List Sub

Question about caseSensitive - how does it work?

2006-02-15 Thread David Kerber
With the trouble I've been having with getting caseSensitive="false" to work in my app, I got to wondering if it really does what I think it does on Windows XP. My interpretation of the doc description is that when caseSensitive=:"false", I should be able to have a document root and context p

Re: Question about caseSensitive - how does it work?

2006-02-15 Thread David Kerber
ns, but at the moment I don't give a rat's a** about them; I just want my context path to be non-case sensitive. Mark Thomas wrote: David Kerber wrote: With the trouble I've been having with getting caseSensitive="false" to work in my app, I got to wondering if it

Re: Quick question

2006-03-03 Thread David Kerber
I thought it was .../shared/lib... ? Alex Jalali wrote: You would have to add those to the ../WEB-INF/lib/ In this case for javax.mail.* you would need to downlaod the java mail API and put the mail.jar under that folder. Any package that you place in that folder will be added to your class

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Buddy wu wrote: 2006/3/7, Long <[EMAIL PROTECTED]>: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http://localhost/test.html' equals to 'http://localhost/TEST.htm'. Can I do it ? or just in WINDOWS can

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
ity issues with this (jsp code disclosure!)!! David Kerber a écrit : Buddy wu wrote: 2006/3/7, Long <[EMAIL PROTECTED]>: Buddy wu wrote: I wan't to know there is any way to set tomcat NOT CASE SENSITIVE in URL I mean: when I write in browser's 'http:/

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
s security risk works? David Delbecq wrote: I suspect a call to /something.JSP will not go thru the jsp engine. I can also guess that calls the security constraints applied on /servlet will not apply on /SERVLET David Kerber a écrit : I've seen that notice, but could you explain to m

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
sed by anything else then file loading. David Kerber a écrit : If it works that way (and I haven't tried it), then I would say that the caseSensitive="false" flag was not working as I would expect. I would expect that things defined for /MYNAME would work for /myname if caseSen

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
't define "case sensitivity checks". http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Read this too http://marc.theaimsgroup.com/?l=tomcat-user&m=114002237714355&w=2 (David Kerber started this one.) -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTE

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
ed to *.jsp (and not *.JSP). Thus, someone can see the internal workings of your jsp and make 'better' hacking attempts. Is there something else about security you are concerned with? -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2

Re: How can I set tomcat NOT Case Sensitive

2006-03-07 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Ok, I see that, and it's kind of scary! That seems like a pretty poor design for the compiler not to handle that kind of change. It ain't the compiler - the JSP compiler never gets invoked because the mappi

Re: How can I set tomcat NOT Case Sensitive

2006-03-08 Thread David Kerber
You're welcome. That tradeoff between security and usability is a decision only you and your users can make, but I like to have the option to make that tradeoff if necessary. Dave Buddy wu wrote: 2006/3/7, David Kerber <[EMAIL PROTECTED]>: thanks a lot. it worked.

Are filters restricted to be within contexts?

2006-03-10 Thread David Kerber
Basically, I'd like to know if a filter can be used to change a context path, or are they restricted to acting within a given context? For example, can I set up a filter at a higher level, so that it will trigger even on a context that doesn't exist in the current Tomcat instance? Thanks! Da

Re: Are filters restricted to be within contexts?

2006-03-10 Thread David Kerber
o, I could just correct the path or forward the request to the correct context. I've been told I can do this with Apache HTTPD, but didn't want to have to install that just to get this bit of added functionality. Does that sound doable? Dave Peter Crowther wrote: From: Da

Re: Fairwell to JB, but having Jasper problems

2006-03-13 Thread David Kerber
My previous java IDE was UltraEdit (a text editor), and batch files for compilation and deployment. I tried both NetBeans and Eclipse, and actually liked NetBeans a bit better, but not enough better to overcome the appeal of a rapidly-evolving open-source solution like Eclipse, which other peo

Re: how can I run normal web sites using Tomcat?

2006-03-14 Thread David Kerber
My stuff is 90% java and jsp, with only a few static resources. Where should I put them in the Tomcat structure? Do they go under the appropriate spot in /webapps? Filip Hanik - Dev Lists wrote: the setup can be trivial, if you pair one apache to one tomcat, and use mod_proxy. you should

Re: how can I run normal web sites using Tomcat?

2006-03-14 Thread David Kerber
Thanks! Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: how can I run normal web sites using Tomcat? My stuff is 90% java and jsp, with only a few static resources. Where should I put them in the Tomcat structure? Do they go under the appropriate

Trouble parsing SOAP return value

2006-03-15 Thread David Kerber
I have an Apache SOAP server set up in tomcat, the server side works fine, and I can see through the Eclipse TCP/IP monitor that it is returning the correct data. What I can't figure out is how to parse out the simple Integer[] array when it gets back to the client. I've been googling and rea

How to reduce bandwidth (meaning message size) with Axis

2006-03-15 Thread David Kerber
Are there any adjustments I can do to my Axis settings to reduce the bandwidth usage on my SOAP requests? In particular, I would like to know how I can get rid of the "xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/""; items in the argument elements. I'm using the minimum call setti

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread David Kerber
It's not company advertising. Look at the return address: it's a US government (military) email server, and requires it to be noted when information is unclassified. It's probably added automatically by the server. Mladen Turk wrote: Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification:

SOAP reverse-engineering tool?

2006-03-17 Thread David Kerber
Does anybody know of a tool to help me reverse-engineer a SOAP request? We have a SOAP service and client which are both implemented in Delphi, and the server is not scaling well. I'm a newbie to SOAP, and I'm trying to make a compatible service to run under Tomcat, but haven't been able to g

Converting characters to "ascii" value

2006-03-19 Thread David Kerber
I know "Ascii value" isn't quite the correct term, but it's the only one I could come up with. What Im trying to come up with is the simplest way of coming up with the numeric value associated with a given character, and to go back the other direction as well. In VB, these are the ASC() and c

Re: Converting characters to "ascii" value

2006-03-19 Thread David Kerber
Thanks! Artur Rataj wrote: char is a numeric type. You might try this code as an example: char c = 32; c += '@'; if(c > 31) System.out.println(c + " = " + (int)c); The exception is it adds to strings as a character, thus the cast is needed. Regards, Artur -

Re: Converting characters to "ascii" value

2006-03-19 Thread David Kerber
o: int i = (int)'A'; will result in i=65, the ASCII value for A. char is a numeric type remember, so you don't really have to cast to int, I just did it that way to better illustrate what was happening. To go the other way, it's just: int i = 65; char c = (char)i; That assum

Re: Converting characters to "ascii" value

2006-03-19 Thread David Kerber
ding on your needs. BTW I've not tested the code above, I'm just typing it as I speak. HTH Nic On 19/03/06, David Kerber <[EMAIL PROTECTED]> wrote: I know "Ascii value" isn't quite the correct term, but it's the only one I could come up with. What Im tr

Re: Converting characters to "ascii" value

2006-03-19 Thread David Kerber
ive you B The only thing you need to watch is the byte number, I think you get a number between -128 and +127, so you may need to adjuct depending on your needs. BTW I've not tested the code above, I'm just typing it as I speak. HTH Nic On 19/03/06, David Kerber <[EMAIL PROTECTED

Re: Converting characters to "ascii" value

2006-03-19 Thread David Kerber
Indeed it is! Frank W. Zammetti wrote: String myString = "ABCDEFG"; int myInt = (int)myString.charAt(1); Even simpler than VB :) Frank David Kerber wrote: To be more specific than my last message, my ultimate goal is to be able to do something like: String myString = "A

How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
I have a situation where my java-Tomcat application will be writing lines of data one at a time (but quickly and lots of them, eventually approx 2 million lines per day, though only about 500k right now) to a disk file, and another, Delphi, appication will be reading and processing those line

Re: [OT] How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: How does Synchronized code interact with other applications This has nothing to do with Tomcat. I suspected that, but wasn't sure; that's why I mentioned it. If I use a Synchronized block

Re: How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
Leon Rosenberg wrote: On 3/20/06, David Kerber <[EMAIL PROTECTED]> wrote: I have a situation where my java-Tomcat application will be writing lines of data one at a time (but quickly and lots of them, eventually approx 2 million lines per day, though only about 500k right now) to

Re: [OT] How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: [OT] How does Synchronized code interact with other applications Ok. So if I were to port the Delphi app to java and run it as another thread in my app, I would be ok there... Not necessarily. You

Re: running two instances of tomcat

2006-03-22 Thread David Kerber
Jim the Standing Bear wrote: Hi, Is there a way to run two instances of tomcat 5.5 on the same machine? Because me and a coworker were developing some webapps using the same node, but under two different tomcat instances. We just learned a painful lesson that as soon as the second instance of

Re: running two instances of tomcat

2006-03-22 Thread David Kerber
nu it's copying the shortucut to If I have the time I will post a feature request on bugzilla... Will definitively post my step-by-step procedure tomorrow Nic On 22/03/06, David Kerber <[EMAIL PROTECTED]> wrote: Jim the Standing Bear wrote: Hi, Is there a way to run two inst

Re: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread David Kerber
Allistair Crossley wrote: Tomcat is just adhering to the Sun Java specification naming conventions. Packages should be lowercase. If Eclipse allows it, it's being "nice" to you in the same way that IE is "nice" about rendering invalid HTML. It's better Tomcat forces you to correct your bad nami

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread David Kerber
Ryan Daly wrote: On Wed, 2006-03-22 at 19:34 -0500, Tim Lucia wrote: You can specify parameters on the various tabs under the servicew app (the tray monitor). You probably want "Startup" in this case, so it would go alongside the "start" option. I did try that. However, each time I

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread David Kerber
Ryan Daly wrote: On Thu, 2006-03-23 at 08:52 -0500, David Kerber wrote: I believe you need the permission level which allows you to run as a service, in order to change one. IIRC, this means either power user or administrator permissions. I'm having the service log on as &q

Re: Classloader question

2006-03-24 Thread David Kerber
Boris Unckel wrote: ... To the mailing-list: If you have an library which has not the explicit recommendation to put it in common/shared lib path (i.E. a special JDBC driver where the vendor recommends one to put it into shared) what do you prefer - the single point of change in shared or the i

AJP connector required?

2006-03-24 Thread David Kerber
If I'm not using the apache HTTPD in front of tomcat, do I need the ajp connector activated in the server.xml? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AJP connector required?

2006-03-24 Thread David Kerber
Thanks. Allistair Crossley wrote: no -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 15:43 To: Tomcat Users List Subject: AJP connector required? If I'm not using the apache HTTPD in front of tomcat, do I need the ajp connector activated i

Re: help please?

2006-03-27 Thread David Kerber
Waited a bit too long to start your homework, did you? ;-) Asegid Debebe wrote: Dear all, I really need to complete a very "simple" web application which demonstrate the MVC architecture fully. I would love to do it myself from scratch but given the time I have, I can't!. I really appreciate

Re: help please?

2006-03-27 Thread David Kerber
n the mid-70's (on an HP-2000 mini computer), but the only formal programming course I've had was Fortran in college, and I've never taken any computer science or programming theory courses. Asegid Debebe wrote: Do you have any suggestion, David? Thanks, On 3/27/06

Re: help please?

2006-03-27 Thread David Kerber
view should be displayed). This is the overall description of MVC and it is the best choice complex enterprise applications. Thx, On 3/27/06, David Kerber <[EMAIL PROTECTED]> wrote: No, I don't know anything about MVC as such. I know MVC stands for "Model View Controller"

Re: Where does the output of -verbose:gc get written

2006-03-28 Thread David Kerber
It's in the jakarta_service_mmdd.log file, in your tomcat logs directory. Turbett, Tim wrote: I'm running Tomcat as a windows service. I want to study what's going on with the JVM memory. I add the -verbose:gc Java option, and start Tomcat. What directory and file contains the GC inf

Daily log rotation?

2006-03-29 Thread David Kerber
Is there any way of getting Tomcat to start its standard logs (stdout_mmdd, jakarta_service_mmdd, etc) new each day, rather than continuing to append to the log which was started days ago when I last restarted the Tomcat service? Thanks! Dave

Re: Daily log rotation?

2006-03-29 Thread David Kerber
Boy, log rotation sure seems like it would be a reasonable function to have built into tomcat's native logging... Tim Lucia wrote: Use Log4J, or another logger implementation of your choosing, with a RollingDailyFileAppender (Log4J) or equivalent (your choosing) as the target. -Origina

Re: Daily log rotation?

2006-03-30 Thread David Kerber
I'm planning on trying, but considering how much trouble I have just getting my own apps to work properly, I don't know how much luck I'll have working with other people's code ;-) Parsons Technical Services wrote: Write a patch and submit it. - Original Messag

Re: Daily log rotation?

2006-03-30 Thread David Kerber
? 1. It's already written 2. It already works 3. It has log rotation (either size-based, or interval based) 4. It has customizable appenders to output the information you want, in the format you want ... Tim -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thu

Re: Daily log rotation?

2006-03-30 Thread David Kerber
separate log4j jars and configs, or don't supply any at all in your application and use the jar and configs from common/lib. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 8:42 AM To: Tomcat Users List Subject: Re: Daily log rotati

Re: Daily log rotation?

2006-03-30 Thread David Kerber
-Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 8:42 AM To: Tomcat Users List Subject: Re: Daily log rotation? Can I use it for the Tomcat standard logs without changing my applications? I want to rotate the stdout_, jakarta_service_, etc lo

Re: Managing sessions - Object destruction

2006-03-30 Thread David Kerber
I don't know javascript hardly at all, but would it work to write a little script and use an onClose event to trigger a logout request? Victor Hugo Germano wrote: it should be good for me... ty for the explain peter... :-) Peter Crowther escreveu: From: Victor Hugo Germano [mailto:[EMAIL

Re: Managing sessions - Object destruction

2006-03-30 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] I don't know javascript hardly at all, but would it work to write a little script and use an onClose event to trigger a logout request? Yes, unless the browser crashes, the user disconnects from the internet b

Re: The problem i have met

2006-03-31 Thread David Kerber
Steve Ochani wrote: On 31 Mar 2006 at 19:34, Jay wrote: I am pretty new to tomcat. I recently read a post http://marc.theaimsgroup.com/?l=tomcat-user&m=114372017420869&w=2 which solved a problem I have been having for tomcat 5.5 also. I thank that person for posting the solution. I als

Re: FarmWarDeployer ROOT.war -> / - How to?

2006-03-31 Thread David Kerber
Filip Hanik - Dev Lists wrote: two things: 1. I don't see that you specified path="" in your element, I would try that. 2. Deleting a .war deletes webapps directory, yeah, you can call that a pretty big oops! if you open a bugzilla item I will be happy to fix that, I of course never thought

Re: FarmWarDeployer ROOT.war -> / - How to?

2006-03-31 Thread David Kerber
Ok, thanks. After re-reading this thread again, I had just figured that out and was going to post a "Never mind" message, but you beat me to it... Filip Hanik - Dev Lists wrote: what you are missing is the complete file name being ".war" ie, only a suffix, no actual file

  1   2   3   4   5   6   7   8   9   10   >