Tomcat & buffered output

2004-12-28 Thread Denis Navitaniuk
Hi all! How increasing output buffer size for servlets/jsp's will affect the overall server performance? As I know this should lead to more intensive memory usage... What about response time? Regards. Denis. - To unsubs

Tomcat & buffered output

2004-12-28 Thread Denis Navitaniuk
Hi all! How increasing output buffer size for servlets/jsp's will affect the overall server performance? As I know this should lead to more intensive memory usage... What about response time? Regards. Denis. - To unsubs

error page and buffering - tomcat bug?

2004-12-25 Thread Denis Navitaniuk
Hi all! My env is: sun_jdk142_04 + JBoss323 + Tomcat 4.1.29 I have the chain of 4 included pages a1.jsp includes a2.jsp, a2.jsp includes a3.jsp etc... each include looks like: a1: at the start of each jsp I wrote <%@ page buffer="2048kb"%> // much more than I need <%@ page autoFlush="false" %>

test

2004-12-25 Thread Denis Navitaniuk
test please ignore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is there a mechanism to control the HTTP header order?

2004-09-08 Thread Denis Haskin
And you should tell the vendor of the COTS search engine that they're not following the HTTP spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 "The order in which header fields with differing field names are received is not significant." dwh Tim Funk wrote: Nope. -Tim Sean Coo

Re: OT: Eclipse users list/mail group

2004-07-27 Thread Denis Haskin
When you find it please tell the rest of us! It's unclear to me which of the lists is a general-user list... they seem to be very specific. Thanks, dwh Sternbergh, Cornell wrote: Hi First, my apologies for being off-topic. I've been searching eclipse.org for list/forum/group/whatever, for simple

Re: Repeat: Can Tomcat be used with non-webapps?

2004-06-14 Thread Denis Haskin
Maybe I'm just being really dense, but why might you want to do this? Wouldn't it make more sense to use one of the other (non-webapp-specific) containers? dwh Chris Collins wrote: Hi, guys, I am trying to use tomcat as a container for my program which is not a web-application. -

Re: Yoav -->RE: TC 5 production use

2004-04-09 Thread Denis Haskin
Also keep in mind that Apache isn't the *only* thing you can put in front of Tomcat. While we do have Apache in the mix (for some legacy apps), we also run Squid [1] in reverse-proxy mode in front of *that* to (a) reduce response time on cachable content and (b) remove some of the load on Tom

Re: httpd trace and tomcat

2004-04-08 Thread Denis Haskin
A google search on "tomcat http trace" came up with a slew of pages about this... Did you try that? dwh Sankaranarayanan (Ganesh) Ganapathy wrote: Hi All, It was brought to my attention that tomcat by default runs httpd trace and that it is a potential security hole. I don't understand what h

Re: Tomcat 5 vs. Resin?

2004-04-02 Thread Denis Haskin
"...a great reputation for being small, fast, and easy to configure" And here I thought you were talking about Jetty... dwh p.s. I haven't actually used Jetty, but have have heard good things about it and have been meaning to. Josh Rehman wrote: Has anyone compared Tomcat 5 and Resin? Res

Re: [OT] The Way Java Handles Date

2004-04-02 Thread Denis Haskin
Why does Sun need to do it? Anyone could do it. Seems like it could be a candidate for Jakarta Commons... or is it too trivial? http://jakarta.apache.org/commons/ dwh Yansheng Lin wrote: As I said, this is a faq. There is already tutorials on Sun's Website. But the way it works now is kind

Re: -verbose:gc

2004-01-22 Thread Denis Haskin
See http://java.sun.com/docs/hotspot/gc1.4.2/index.html#2.2. Measurement|outline dwh Derek Mahar wrote: Would someone please decipher the following line in $CATALINA_HOME/logs/catalina.out? [GC 28827K->22937K(64896K), 0.0062130 secs]

tomcat webapp welcome file

2004-01-19 Thread Denis
index.jsp and just display http://localhost? Thanks in advance. - Denis

Re: OpenSource / Free Profilers to use with Tomcat

2004-01-12 Thread Denis Haskin
I used IBM alphaworks' jinsight (http://www.alphaworks.ibm.com/tech/jinsight) several years ago to do some profiling of a Tomcat-hosted application. YMMV. dwh Allistair Crossley wrote: Hi Guys, I hope you dont mind me asking if there are any free/opensource profilers out there that are quite

RE: UNSUBSCRIBE!!!

2003-11-17 Thread Jean B. Denis
Me t -Original Message- From: ArcherDaPunk [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:46 PM To: Tomcat Users List Subject: UNSUBSCRIBE!!! UNSUBSCRIBE ME PLEASE! OR TELL ME HOW!! - To unsubscribe

How to retrieve the information of current HTTP request Tomcat is processing?

2003-10-14 Thread Denis
Can I write a jsp or servlet to list all the HTTP request the tomcat is processing currently? Is it possible? - Denis

Re: tomcat jitters, then hangs - please help

2003-10-01 Thread Denis Haskin
I would also get a thread dump from the JVM. dwh Arthur Veinstein wrote: Hi Noam, Sounds like you have some problem with the DB connection. Can you provide the server.xml configuration ? - To unsubscribe, e-mail: [EMAIL

Are there any successful website using Apache Tomcat + MySQL + Windows OS?

2003-06-15 Thread Denis
Just curious about the scalibility of this combination. - Denis

Re: Newbie: Java Mail Problem

2002-12-28 Thread Denis Haskin
From the error, looks like it's still trying to connect to an smtp server at localhost. Did you restart Tomcat after changing mail.smtp.host? dwh David Diskin wrote: I've just set up Tomcat 4.1.18 on my Windows XP Home PC. I installed it as a service. I have no problem connecting to the

Re: Beginner

2002-12-11 Thread Denis Haskin
What happens when the examples "do not work"? Do you get an error message? What is it? dwh eduardofcomelo wrote: I have installed the Tomcat but the examples aren't working very well. Example the numberguess do not work. All the examples are out of work ! -- To unsubscribe, e-mail:

Re: Thread dump

2002-12-06 Thread Denis Haskin
Run it under a JPDA debugger and use something like - Xrunjdwp:transport=dt_shmem,server=y,suspend=y so that the JVM stops and waits for debugger commands right away. Then you could get to the right point in your code, and with any decent debugger look at the thread dump without needing to send

Re: DB2/servlet error....Help need please

2002-08-02 Thread Denis Haskin
Then it is most likely a classpath problem. You need to make sure the db2 jars are on the classpath for Tomcat. Looks like you're on NT or Win2K, not sure which version of Tomcat... I think your best bet is to modify tomcat.bat and just add all the db2 jars to the classpath there. (Someone

Re: DB2/servlet error....Help need please

2002-08-02 Thread Denis Haskin
Not clear what your response to my first question was: does db2 connectivity work from code that is executed *outside* of a servlet context, that is, from the command line? I would make sure that works first. dwh [EMAIL PROTECTED] wrote: > Hello Denis > > Thanks for your suggestio

Re: DB2/servlet error....Help need please

2002-08-02 Thread Denis Haskin
Can you run the same code outside of a servlet context? If so then it sounds like classpath problems. If not, can you re-install DB2? Sounds like your installation might be bad or you might be missing some components. dwh [EMAIL PROTECTED] wrote: > (Thu Aug 01 15:52:50 2002) pid= 2192 jdb

Re: localhost vs IP address in the URL

2002-07-24 Thread Denis Haskin
I'm not a networking guru, (and this is sort of OT for Tomcat) but I'm not convinced by M.Schwartz's response that this is due solely to DNS name resolution. I don't think that would account for such a big difference in time--once the name was resolved to the IP address, behavior should be the sa

Re: version question

2002-07-22 Thread Denis Haskin
Sounds premature to blame Tomcat (or that version) for this. I can think of a lot of questions I would want to have answered before I assumed it was a problem specific to 3.3: - does this happen when you run against Tomcat standalone, or only when running through Apache? mod_jk can be a pai

Re: good profiler software for Java apps ??

2002-06-20 Thread Denis Haskin
I agree with Chris' recommendations for testing automation. For profiling, I've had best luck with the IBM alphaworks jinsight: http://www.alphaworks.ibm.com/tech/jinsight. Not quite as easy to use as commercial products, but a good bargain for the money... dwh Chris Bailey wrote: > Check ou

Re: Auto Start Tomcat

2002-06-11 Thread Denis Haskin
This is a Linux question, not Tomcat-specific. Try google and search on "linux startup scripts". Looks like Linux (which I don't know) is like Solaris (which I sorta know) in that you probably want to link your Tomcat startup scripts into /etc/rc3.d with the right names. You don't want cron f

Re: ***Please reply as no one on this list has offered ANY help***

2002-05-21 Thread Denis Haskin
Without digging in too deeply, is it possible your problem is the cloning of the 'meet' Hashtable in connectUser? Remember that cloning a Hashtable (and other Collection/Dictionary objects) is a shallow clone. Only the table itself is cloned, not the objects pointed to by the table. I'm not *su

When is Tomcat going to support Xerces 2?

2002-03-27 Thread Denis Goeury
Tomcat 4 doesn't seem to like Xerces 2. Anybody knows when it will start liking it? Denis. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

configure Apache-Tomcat to read "local" web.xml for each webapp

2002-03-18 Thread Denis Wang
uot; web.xml? Any help will be highly appreciated! Thanks, Denis __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[E

Re: somebody trying hack me, what they really wanted?

2001-12-14 Thread Denis Balazuc
I do - Original Message - From: "E B" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 04:28 AM Subject: Re: somebody trying hack me, what they really wanted? > just for statistics, how many of you run tomcat > directly without apache/iis,

Re: Crystal report work with Tomcat

2001-12-12 Thread Denis Balazuc
support is just great ! Thanks for the info ! Denis - Original Message - From: "Brian Adams" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 10:36 AM Subject: RE: Crystal report work with Tomc

Re: about servlet-mapping in web.xml file

2001-12-12 Thread Denis Balazuc
Try to set the "load-on-startup" parameter to -1 for your RequestHooker. This has the nice effect of creating your servlet when Tomcat is starting and before it accepts any request We use this to initialize our API before serving our pages, and it works like a charm.... Denis

Re: Crystal report work with Tomcat

2001-12-12 Thread Denis Balazuc
they provide is not multi-threadedwhich is a nightmare in a web-environment because every creation of a report is queued... Hope this helps you find another solution Denis - Original Message - From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]> To: "'Tomc

Re: Me and include directives....

2001-12-11 Thread Denis Balazuc
> > relative URL=absolute URL - servlet context name (or as you call root>) That's exactly the answer I was looking for ! Thanks a lot > this is the best way: <%@ include file="/common/begin.jsp" %> All right then, I'll standardize my stuff right

Me and include directives....

2001-12-10 Thread Denis Balazuc
be using relative URLs, and I'm experiencing the exact contrary when I'm not using Tomcat 3.2... I'm trying to use absolute URLs (because I want things to work with Tomcat 4.0 !) and make this a rule of thumb, but I'm not sure I've taken the good decision. So, any defin

Re: Tomcat 3.2.2 & HTTP 500 Internal Server Error

2001-12-10 Thread Denis Balazuc
our webapps 100% functionalbut this is only because we did things wrong (I think...) and that 3.2 was accepting the wronginess of our code Hope this helps Denis - Original Message - From: "Pieters, Marina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Pieter

Re: Last attempt before I heave sun box out of the window!

2001-12-06 Thread Denis Balazuc
Have you set the "trusted" flag to "true" for your context in server.xml ? That might do the job... - Original Message - From: "Cross Fire Labs B.A. Lambrechts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 10:27 AM Subject: Last attempt before I heave sun

Re: Need help on Session's null pointer exception

2001-12-04 Thread Denis Balazuc
Hi You are simply trying to set a null value in a session, which is forbidden.something like session.setAttribute("HelloWorld", null); I'm not sure this behaviour is specified in JSP specs though it's more because a Hashtable is used as the Map to store key=value session attributes withi

Re: How to prevent access to the content of a folder?

2001-12-04 Thread Denis Balazuc
Set the "suppress=" value in server.xml.. It should do the job for Tomcat 3.2.x - Original Message - From: "August Detlefsen" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 03:55 PM Subject: Re: How to prevent access to the content of a fo

Re: Help : Use Oracle 8i JDBC driver

2001-12-04 Thread Denis Balazuc
ou should do it You can customize Tomcat 3.2.x startup scripts and modify the internal classpath, but you should avoid setting anything in your environment variable Anyway, check the archives, this topic has already been discussed a lot I think.... Cheers Denis - Original Message -

Re: jsp precompilation

2001-12-04 Thread Denis Balazuc
the .war Definitely, you should use Ant ;-) http://jakarta.apache.org/ant Cheers Denis -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: Known Memory clean-up issues?

2001-11-29 Thread Denis Balazuc
is to monitor the server and automatically restart it when it fails to respond. Any guidance to solve the problem would be appreciated ;-) Thanks Denis Balazuc - Original Message - From: "Yoav Shapira" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL

Re: Where to place JDBC drivers? How? SOLUTION FOUND!

2001-11-28 Thread Denis Balazuc
Just rename the ZIP file to JAR...(100% safe) Or maybe Tomcat does support the ZIP extension too ? - Original Message - From: "Marx, Mitchell E (Mitch), ALSVC" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 02:26 PM Subject: RE: Where to

Re: Where to place JDBC drivers? How? SOLUTION FOUND!

2001-11-28 Thread Denis Balazuc
If you have only one web-app that references this driver, you should put it in WEB-INF/lib. This allows for better maintenance and management of your libraries and dependencies. To reference/load the driver classname, you could use a parameter entry in the web.xml file... You could even have a sta

Re: Integrating Tomcat with Apache on NT

2001-11-26 Thread Denis Haskin
Alan Scott wrote: > Not to ask a dumb question. It's only a "dumb" in that, as far as I can tell, you haven't bothered to try and find any of this information first. > How do I integrate both these products on NT? I assume there are some > settings I need to apply to one or the other. Is there

Re: Tomcat dies with Signal 11

2001-11-20 Thread Denis Haskin
Daren Desjardins wrote: > We are running our webapp on Tomcat 3.2.2 and have been experiencing a > Signal 11 Stack Overflow error occasionaly. It occured on two machines > [...] > Server Specs: > > - JVM Params: > -server -XX:NewSize=128m -XX:MaxNewSize=512m -Xms512m -Xmx1792m > -XX:Survi

Re: How To Unload A TomCat Servlet To Reload A New Instance?

2001-11-20 Thread Denis Haskin
Gary Fix wrote: > Now my question is, once I have loaded a Tomcat servlet, is there a way to > unload it to get an updated version loaded, without having to shutdown the > entire Tomcat? Yes, see the documentation for server.xml: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.h

Re: Including Tomcat in stand-alone app

2001-11-19 Thread Denis Haskin
Simon McClenahan wrote: > >From what I understand it is possible to run the Tomcat servlet > implementation without running a web server like Apache httpd. I am > writing an application that receives SOAP messages via HTTP, and I would > like to use the servlet API, but not run anything as heavyw

Re: Java program interferring with Tomcat

2001-11-19 Thread Denis Balazuc
(something like a registry key lookup that takes forever to complete), but it's apparently not the case... As this does not happen with other install-shield based program, I think there's something wrong in the JRE Regards Denis - Original Message - From: "David Frankso

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Denis Haskin
David Frankson wrote: > Only Tomcat hangs, the other program continues on. I thought a database > deadlock only happens when both threads are trying to write and holding a > lock on each other's data? The external java process is read-only. Hmm. That's why I asked. Sounds like maybe the

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Denis Haskin
Ralph Einfeldt wrote: > Sounds like a deadlock on the database. > > To verify that have a look at the server manager > to see if there are locks. I agree with Ralph, that the problem is probably in your SQL access. Do *both* processes hang (e.g. Tomcat & the scheduled job) or only Tomcat? I wo

Re: Fail to bring up Tomcat 3.3 for windows 2000

2001-11-15 Thread Denis Haskin
Ai Zhang wrote: > I follow your suggestion, here is the error I get. Do you have any idea about this >error? > > D:\Web\Tomcat\jakarta-tomcat-3.3\bin>tomcat run > Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/sta > rtup/Main Try setting your default to D:\Web\Tomc

Re: Where to put .properties so web app finds it

2001-11-13 Thread Denis Balazuc
you have to modify a file that does belong to Tomcat and not to your App. Hope this helps. Denis - Original Message - From: "MacDonald, Todd" <[EMAIL PROTECTED]> To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 5:59 PM Subje

Re: Tomcat for Large Team Size

2001-11-13 Thread Denis Balazuc
Tomcat server with multiple instances but, we're using Tomcat 3.2 and this schema is best with Tomcat 4... Regards Denis - Original Message - From: "Jim Urban" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 13,

Tomcat /Apache Security Exception

2001-10-22 Thread Denis Simonneau
Hello all, I've configured two machines, one with Apache and the other one with Tomcat and the application I want to access to. But when I'm trying to access to the servlet, I 've the following error. Does anybody has an idea ? Thanks for any help Denis access:

Sybase TDSTunnelServlet performance.

2001-10-03 Thread Denis Putnam
some configuration or environment variable that I need to set or to make some buffer larger, or anything in that regard? Sincerely, Denis M. Putnam mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> winmail.dat

Re: How to declare Output as Image?

2001-09-07 Thread Denis Haskin
Andrej Rosenheinrich wrote: > Hello, > > i have a servlet, getting an BufferedImage, that shall be displayed in > my webpage. for doing this I use the following code: > > ServletOutputStream sos = response.getOutputStream(); > JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder

Re: The Problem Posted Again....

2001-09-07 Thread Denis Haskin
"Ron Nicoletti Jr." wrote: > I've completed my installation of jakarta-tomcat-3.2.3 on windows 2000 > running IIS, and ISA Server. > > The positives ... > Tomcat starts and creates log files > IIS is showing a green up arrow on isapi_redirect.dll > > The Negatives ... > When I run a test on the l

Re: does tomcat have the cajones?

2001-09-06 Thread Denis Haskin
alex reuter wrote: > Hello Everyone, > > I have a general question about tomcat's cajones. Er... I think you mean "cojones". A cajon is a kind of percussion instrument. But we know what you mean ... Okay, back on topic.

Re: optimal SUN JVM config

2001-09-06 Thread Denis Haskin
[EMAIL PROTECTED] wrote: > I know this question is a bit general. but I am very interested in which > Sun Hotspot jvm options you are using to start up tomcat. > (like -server -Xincgc ...) > And what impact they had/have on performance. > > I am trying to tune garbage collection and perf

Re: Multiple Tomcat Instances

2001-09-06 Thread Denis Haskin
Abhijat Thakur wrote: > I need to run multiple instances of Tomcat on Apache. As mentioned in > documentation i have the two server.xml files specifying two different > ports. Tomcat starts fine with the two server.xml files. > > I might be wrong when it comes to changes in Apache configuration

Re: using a central repository for servlets

2001-09-06 Thread Denis Haskin
Joao Carlos wrote: > I simply want to migrate to tomcat using this kind of configuration. > Many servlets have links to others servlets (written in code) using > /servlets/any_servlet, so that's impossible to me to create a context and > access the servlets using /context/servlet > Is the

Re: No one answering my question (security realted problem)

2001-09-05 Thread Denis Haskin
Sukhwinder Singh wrote: > Hello, > > I have downloaded tomcat version 3.2.3 source code and compiled it on my > windows 95 machine with Sun JDk 1.3.1. I also had to download JSSE because > there was no option to compile without ssl support. ... > Is there any option to compile tomcat without ss

Re: Netbeans to Tomcat

2001-08-24 Thread Denis Haskin
Uh... none? Seriously, I do all my servlet development in Netbeans and test & deploy on Tomcat. Since we're not in serious deployment yet I don't bother with packaging classes up into jars and all that. On my Win2k box, my servlet environment is set up thusly (extraneous stuff omitted): d:\ser

Re: I do not want to use 'webapps'

2001-08-24 Thread Denis Haskin
Yup, just set up a new context in server.xml: Which can then be accessed with the url http://localhost:8080/mysandbox (using the standalone http connector). Note the use of forward slashes, not backward, even though you're on Windows... dwh Claes Holmerson wrote: > Hello! > > I am

[OT] Re: Tomcat Shirts?

2001-08-24 Thread Denis Haskin
Fine, be a technology bigot . There's a couple of other web sites that offer similar services. I just happen to know about cafepress. dwh "James, Stuart" wrote: > .aspx, sound's like a Mickey mouse website.

Re: Tomcat Shirts?

2001-08-24 Thread Denis Haskin
Well, if someone has a logo, someone could set up a store at www.cafepress.com and sell lots of stuff with Tomcat on it. Either no profit (sure, cafepress gets some) or I suppose some small money back to Apache. Does the Apache Foundation have a policy on this? Anyway, see http://www.cafepres

Re: Free hosting of Servlet/Jsp ?

2001-08-22 Thread Denis Haskin
A couple of sites are listed at http://directory.google.com/Top/Computers/Programming/Languages/Java/Server-Side/Servlets/Hosting/Free/ (although at least one is a free-for-2-months only...) dwh >> From: "Sheila Ratnam" <[EMAIL PROTECTED]> >> >> Hi all, >> >> Is there a free-hosting site wher

Re: How do I make Tomcat include needed jars for my servlet?

2001-08-21 Thread Denis Haskin
For Tomcat 3.2.x, just modify your tomcat.bat file to set up the classpath as you need it. I assume something similar can be done for TC4. dwh Ju Yan Jery Qin wrote: >Hi all, > I have read this topics but it still can not resolve my problem. Your >suggestion is to copy application relat

Re: how to automatically load the servlet

2001-08-21 Thread Denis Haskin
1) Read the FAQ: http://jakarta.apache.org/site/faqs.html 2) Where you will discover: http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/43/question_id/230 dwh Rajesh wrote: >Hi, >How to load the servlet when tomcat3

Re: Q: How to use mod_rewrite with mod_jk?

2001-08-21 Thread Denis Haskin
It does appear that you have everything set up properly. I'm unable to duplicate the behavior you're seeing, but the environment I have to test it is Solaris, Apache 1.3.19, Tomcat 3.2.1. I wonder if it's a bug just with directory listing? Can you get to servlets or JSP pages via the rewrite

Re: Connections !! Classpath!!!

2001-08-20 Thread Denis Haskin
Put the jars you need in the WEB-INF/lib subdirectory of your context. Tomcat will make them available to your servlet. See the doc at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html, especially section 3.2: "WEB-INF/lib/ - This directory contains JAR files that contai

Re: URL mapping: /appname/stuff/login.jsp --> /appname/login.jsp ?

2001-08-20 Thread Denis Haskin
You're 'locked in' to the structure you describe only if you use the default webapp context. Instead, create your own context(s). Create a new context in $TOMCAT_HOME/conf/server.xml: and then at /usr/appname you would have a hierarchy like this: /usr/appname login.jsp WEB-I

Re: Q: How to use mod_rewrite with mod_jk?

2001-08-20 Thread Denis Haskin
Hmm. Works fine for us (Tomcat 3.2.x, Apache 1.3.19, Solaris, jdk 1.3.1). Given that you're tried the ordering of the AddModule lines (don't know if LoadModule needs to be in order too--wouldn't think so) and you have the PT flag, I guess I would recommend turning mod_rewrite logging up to ful

Re: Tomcat on Windows vs. Unix

2001-08-20 Thread Denis Haskin
Ditto. Development is on Win 2000, deployment on Solaris. No issues. dwh Jim Urban wrote: >We do all our application (servlets only) development on Win (NT) and have >deployed to Win 2K, Solaris and AIX. We have used Oracle, MS-SQL and MySQL >for databases. We have had no problems with thi

Re: REMOTE_HOST not showing up in Tomcat3.2

2001-08-17 Thread Denis Haskin
It's a known bug. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=208. dwh >>-Original Message- >>From: Mark Diggory [mailto:[EMAIL PROTECTED]] >>Sent: Friday, August 17, 2001 5:06 PM >>To: [EMAIL PROTECTED] >>Subject: Fwd: REMOTE_HOST not showing up in Tomcat3.2 >> >>>Hello, >>>

Re: Internal Server Error on first couple requests

2001-08-16 Thread Denis Haskin
You're right, it looks like that's only true for ajp13 and only with Tomcats prior to 3.3. See http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s10, 4th item. dwh Dmitri Colebatch wrote: >is this true? where is it documented - I've never had to restart apache >when restart

Re: Internal Server Error on first couple requests

2001-08-16 Thread Denis Haskin
What exactly do you mean by 'startup'? If you're using ajp, you must start Apache and Tomcat together, because of the persistent connections. That is, if you shut down Tomcat, you have to shut down Apache also, and vice-versa. This is documented... Or do you mean to say that when you start b

Re: Version

2001-08-16 Thread Denis Haskin
Marc Saegesser wrote: >You can always use telnet to open up a >connection to the server and do a GET / command. The HTTP response will >contain the Tomcat version number. > >[...] >Feel free to send me $10,000 anytime you like. > I agree. I think Marc gets the $10K. :-) Telnetting in is the mo

Re: Version

2001-08-16 Thread Denis Haskin
Back to what I said earlier... since you found the Tomcat home directory, look in the doc subdirectory for the readme file. That has the Tomcat version in it. Or at least mine does... Barnabas Yohannes wrote: >Rob, >Obviously, you and I need to learn a little more before we can open our own

Re: Version

2001-08-16 Thread Denis Haskin
$10K? Geez, I'm in the wrong business... Someone may have a better way to check the Tomcat version, but for my version at least (3.2.1) the quickest way seems to be to look in the docs/readme file under the Tomcat home directory. Right at the top it says the version. None of the startup mes

Re: Servlet Runs SLow

2001-08-15 Thread Denis Haskin
Do you know for sure the difference in 'load' time is at the server, and not at the client? What's the content coming back from the server? I would grab a copy of that, put it in a file, and load that in IE and Netscape to see if there's any difference in load times. I suppose it's possible

Re: Jakarta crashes after 900+ simultaneous connection

2001-08-10 Thread Denis Haskin
I would definitely upgrade your JVM to the most current version (I'm at 1.3.1-b24, but that's on Solaris and Win2k). I had segment violation crashes related to networking in earlier Java 2 versions, although I don't know that they were exactly this problem. I don't know much about Linux but I

Re: Configure to use mod_jk

2001-08-09 Thread Denis Haskin
Tomcat-apache.conf is not used when you're using the jk connectors. Use mod_jk.conf instead (if mod_jk.conf is not there, look for mod_jk.conf-auto as a starting point). dwh Mike Givens wrote: > How do I get the tomcat-apache.conf file to load the mod_jk module > instead of the mod_jserv mod

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Denis Haskin
Uh... the solution is the 2 items in my response (load mod_jk before mod_rewrite, put [PT] on RewriteRules). dwh Loïc Lefèvre wrote: >Indeed, phew I finally found someone with the same hemm...problem ;) > >Did you find a solution? >Did you try to "patch" Tomcat? ;) >

Re: Problem in Intigration Apache & Tomcat

2001-08-09 Thread Denis Haskin
Chill out, Pier. I suspect the initial poster was not a native English speaker, so the lack of politeness was accidental, I think... That being said, I agree that there's a huge number of people who post to this list (and many other lists, unfortunately) who seem to turn to NGs and mailing li

Re: [MOD_REWRITE] Why...

2001-08-09 Thread Denis Haskin
We found that we had to do 2 things: 1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite, which meant moving the loading of mod_jk from mod_jk.conf to Apache's httpd.conf, and we listed it in the LoadModule and AddModule lists *before* mod_rewrite. That ensured that mod_rewri

Re: Using Servlet in different path then /examples/servlets/

2001-08-08 Thread Denis Haskin
Yuval wrote: >How can I run servlet on my web server on different path than >/examples/servlets/ >I tried to define: >reloadable="true" > > >and its not working. > In what way is it "not working"? What are you trying (e.g. what path)? Are you going against the Tomcat HTTP liste

Re: Where are the topic archives (TOMCAT 4 b6)

2001-08-03 Thread Denis Haskin
See http://jakarta.apache.org/site/mail2.html for links to archives. Note that I find this one the easiest to use: http://marc.theaimsgroup.com/ , poor color choices notwithstanding. dwh Curtis Dougherty wrote: > I'm looking for the discussion archives - particularly TOMCAT 4 b6 topics... >

ADD_SSL_INFO in mod_jk.c, and ajp13 performance in general.

2001-07-27 Thread Denis Haskin
Perhaps this is a better question for tomcat-dev, but in mod_jk.c there's a comment that says: /* * If you are not using SSL, comment out the following * line. It will make apache run faster. */ #define ADD_SSL_INFO I can find no reference to ADD_SSL_INFO to any other Tomcat or Apache (1.3.x)

Re: Directory Listing

2001-07-19 Thread Denis
stop apache start tomcat and start apache see error.log access.log tomcat.log good luck denis At 12:20 19/07/01 -0300, you wrote: >yes >i´m using 8080 >but ´my app dir is mapped at Apache, and I don´t need to use :8080 but it´s >allowing directory listing ! >is it possible to avoid

Re: Tomcat+Apache

2001-07-19 Thread Denis
??? :) >[] >Daniel >___ >Daniel de Almeida Alvares >Santos - SP - Brasil >[EMAIL PROTECTED] > > ----- Original Message - > > From: "Denis" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, July 19, 2001 12:13 PM

Re: Directory Listing

2001-07-19 Thread Denis
check your configuration file what port are u using ? 8080 ajpv12 ajpv13 if 8080 try http://localhot:8080 can u see tomcat app ? At 12:09 19/07/01 -0300, you wrote: >Hi, >I am configuring Tomcat and Apache. They seem to be integrated, but when I >type for example: > >htt

Re: Tomcat+Apache

2001-07-19 Thread Denis
Denis At 11:06 19/07/01 -0300, you wrote: >h >but if u compare the 2 files ... they are different, aren´t they ? >[] >Daniel > >- Original Message - >From: "Denis" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, J

Re: Tomcat+Apache

2001-07-19 Thread Denis
both of them work but tomcat.conf is more "conventional" At 10:43 19/07/01 -0300, you wrote: >Hi all, >I have a doubt >When I include the tomcat conf file at the botton of >Apache´s httpd.conf file , what line should I use ? >1) >include /tomcat.conf > >or >2) >include tomcat-apache.conf > >thank

Starting tomcat

2001-06-07 Thread Denis Kovalkov
I installed Tomcat 3.2.2 on win2000 with jdk 1.3.1. When I start it I get next message: Files\Apache was unexpected at this time. How to correct this? Apache is shuted down. Get free email and a permanent address at http://w

unsubcribe

2001-05-16 Thread Denis Markov
unsubcribe tomcat-user

working directory getting too big

2001-05-07 Thread denis
can anyone tell me if there is a way to manage the working directory, (where tomcat places the JSP compiled files .java, .class) my application automatically creates new JSP who get compiled and their files get put in the working directory. THEREFORE IT WILL GROW INDEFINITLY. What i am looking f

  1   2   >