HTTP Status 404.

2003-11-24 Thread Anunay Ashish
Hi, I have Apache Tomcat 4.0.3 on my system. I am trying to access a file index.htm in the folder D:\ApacheTomcat4\webapps\pg_mdp through the url http://p223.tis.co.in:8080/pg_mdp/index.htm but is showing HTTP Status 404. What is the problem? Thanks in advance. Regards, Anunay.

Re: Slow on Linux

2003-11-24 Thread Nikola Milutinovic
Yonatan Goraly wrote: The exact execution time of that line of code is not very relevant, since the difference is between an interval I can't notice to an interval I can notice very well - should be at least a factor of x100. I just finished installing RedHat 9 (32 bit), the performance is much

Re: Slow on Linux

2003-11-24 Thread Oscar Carrillo
Hi, You could buy an Enterprise edition of a distribution that supports AMD 64-bit. It does not seem to be quite ready in the main distributions. If you aren't willing to compile a new kernel, then I would not recommend going to native 64-bit AMD. Even if you are willing to, you might encounter so

TC 5 CATALINA_BASE JSP FileNotFound for .java files

2003-11-24 Thread John Saunders
Linux. New but learning TC user. New install, TC 5.0.14. Using jsvc and non-root user, port 80. Works good ... except Trying to use CATALINA_BASE=/u01/catalina_base When deploying or hitting hello.jsp ( the first webapp in the TC docs ), this appears in in the logfile. 2003-11-24 21:26:28

need attribute for java key password for ssl connector

2003-11-24 Thread Ian Elverson
I have a customer that has assigned a password to his private key and a separate password to his keystore...and is unwilling to make them the same. I can't get Tomcat (using 4.0) to access the cert in his keystore because I can't figure out what attribute to use to specify the key password. I have

Tomcat not resolving host name when using ant tasks...otherwise all is fine

2003-11-24 Thread Mike Klein
As my tomcat is behind a firewall and not publicly visible (I use Apache connector) I had selected localhost as the engine name and host name. All of my tomcat functionality is working: manager, admin, jsps under docroot, axis, struts, blah blah. My tomcat version is 4.1.27, and it is using an

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, With your help, I got it to work. Thank you so much, Glad you got it working. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Extending JNDIRealm

2003-11-24 Thread Tim Funk
Odd, based on what I see so far, I would expect it to crash with a StackOverFlow exception. -Tim Hart, Justin wrote: Whoops, the code is actually as follows... No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my site, I have an

definition/usage of session-timeout?

2003-11-24 Thread WALKUP, RON [AG/1000]
Hi, I'm a relatively new Tomcat user, running 4.0.4 (testing on Windows, deploying on Sun UNIX). The UNIX servlet is having rare problems "hanging", for which the exact cause is unknown. I'm trying to see if a session timeout can solve the problem, but have not been able to get it to work.

RE: Problems following symlinks

2003-11-24 Thread Subir Sengupta
Put this line in your context, in server.xml. Subir -Original Message- From: John Prout [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 12:24 PM To: Tomcat Users List (E-mail) Subject: Problems following symlinks Using Tomcat, I am not able to open a JSP page, when the page

RE: Extending JNDIRealm

2003-11-24 Thread Hart, Justin
Whoops, the code is actually as follows... No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my site, I have an interesting issue, however. If, I try this : public Principal authenticate(DirContext context, String username,

Extending JNDIRealm

2003-11-24 Thread Hart, Justin
No sure what's going on with this code... I'm attempting to extend JNDIRealm so I can add a few features I need for my site, I have an interesting issue, however. If, I try this : public Principal authenticate(DirContext context, String username, String credentials) throws NamingException

Re: Slow on Linux

2003-11-24 Thread Yonatan Goraly
The exact execution time of that line of code is not very relevant, since the difference is between an interval I can't notice to an interval I can notice very well - should be at least a factor of x100. I just finished installing RedHat 9 (32 bit), the performance is much better, and the CPU is

Security

2003-11-24 Thread Sergey.Livanov
I'm launching a SSL technology portal. Would appreciate if you could give me a tip on what should be done to secure the portal. Do you have any recommendations ? Best regards, Sergey.Livanov mailto:[EMAIL PROTECTED]

Re: open filehandles

2003-11-24 Thread Jean-Francois Arcand
You need to update to Tomcat 5 if you want that problem fixed. The required changes are too critical to apply them to the 4.1.x trunk. Wait a couple of days and try it with "soon to be release" 5.0.15, which is a stable Tomcat 5. -- Jeanfrancois Matthew Boeckman wrote: Hello list, I have

Re: ScriptAlias equivalent in tomcat

2003-11-24 Thread Tim Funk
To map an entire directory, uncomment in $CATALINA_HOME/conf: cgi /cgi-bin/* To map another directory called cowbell: cgi /cowbell/* To map *.cgi, add this instead: cgi *.cgi You can't mix path and extension. (The spec do

Re: Problems following symlinks

2003-11-24 Thread John Sidney-Woollett
John In Tomcat 4.1.* you need to add the following attribute to your Resources entry within the context entry in conf/server.xml to allow symlinks. For example: This works for me on Solaris. The /apps/tomcat directory is not within the tomcat web root (for the "root" context example above)

RE: [OT] Why did you choose Tomcat? (FKA: Re: IIS is not s upported in Tomcat 4.1.29.)

2003-11-24 Thread Kannan Sundararajan
Ben, >>what made you choose Tomcat and why you wanted to integrate it with IIS. I'd >>also like to know why, specifically, you are so against using .NET. I was wondering how could .NET compare with Tomcat. Is .NET a J2EE app server? Well I don't think so, .NET is completely different from Tomc

open filehandles

2003-11-24 Thread Matthew Boeckman
Hello list, I have a problem that has occurred under tomcat-4.1.12/j2sdk1.4.1_02 that caused me to want to ask the group a question. The problem was "Too many open files", java.io.FileNotFoundException . In looking into this, I notice that Tomcat seems to keep a LOT of open file handles around

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, With your help, I got it to work. Since I am downloading images, I just have to change the way I copy the files from the source to the web app directory. The format of the path was the problem. In the case you are interested: - I get the UNC file path format from SQL database - then copy

Re: Problem with JDBC and Tomcat

2003-11-24 Thread Ben Souther
> es.tid.teledomo.asistel.FormularioTeleasistencia.listaConfiguracion(F > ormularioTeleasistencia.java:3604) Can you post your code? The driver is throwing a generalSQLException. It's hard for us to see what the problem is from this. Have you tested the ODBC data source? Do you have other page

Problem with JDBC and Tomcat

2003-11-24 Thread ANA JUNQUERA FERREIRAS
Hi, I have a problem with JDBC. I am using JDK1.3.1, tomcat 4.1.24 with Microsoft Access 2000 and when I am trying to close an opened connection I get the following message: EXCEPCION: java.sql.SQLException: General error at sun.jdbc.odbc.JdbcOdbc.throwGenericSQLException(JdbcOdbc.java:616

Problems following symlinks

2003-11-24 Thread John Prout
Using Tomcat, I am not able to open a JSP page, when the page is a symlink to another file. When I replace the symlink with the file, everything works fine. Googling around, I've found some mention of Tomcat not following symlinks by default, but that there's an attribute "allowLinking" to over-

[OT] Why did you choose Tomcat? (FKA: Re: IIS is not supported in Tomcat 4.1.29.)

2003-11-24 Thread Ben Souther
Roeland, Just out of curiosity, why did you choose Tomcat, or any OSS app, over .NET (and no, this isn't an attempt to start another thread about J2EE vs .NET)? You've stated that: 1.) That you are deploying on WinXXX and, more specifically, IIS. 2.) That you are specifically prohibited from h

JDBC Problem

2003-11-24 Thread ANA JUNQUERA FERREIRAS
--- Begin Message --- Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] FAQ - Frequently asked questions of the [EMAIL PROTECTED] list. None available yet. --- Administrative commands for the tomcat

RE: Slow on Linux

2003-11-24 Thread Shapira, Yoav
Howdy, I understand and agree with your considerations. The only thing I asked was very simple: how fast does the same call perform on a different platform. Not the overall application, not DB queries, just the exact same line of code (which has four function calls). Yoav Shapira Millennium Che

Re: ScriptAlias equivalent in tomcat

2003-11-24 Thread Yochi Toledano
Hi Tim, Well, I shame for myselft but I couldn't anything in the release notes. Can you be more specific. I was able to enable the regular (default) cgi capability, but I would like to define additional directories. I'm new to tomcat configuration. The CGI-HOWTO for tomcat indeed talks ab

Re: HTTP Error 302

2003-11-24 Thread Antonio Fiol Bonnín
If you are calling a servlet from another servlet using HTTP, that does not seem "the best approach". Can you use forward()? Otherwise, you can try to include the session ID in your HTTP request. Antonio Fiol Günter Kukies wrote: Hi, after investigating the Problem, we found that we generate

Re: Slow on Linux

2003-11-24 Thread Yonatan Goraly
The same application is deployed on multiple Windows boxes, with excellent performance (unless there is a heavy DB query involved, with a fast network and client machine the response seems to be instant with servers that should be dwarfed by this one). As we start to provide hosted services, the

Re: how to customize HTTPSession

2003-11-24 Thread Antonio Fiol Bonnín
Please remember that you can only add cookies to the response BEFORE committing the response. That means, if you do write a (big) part of the result and Tomcat starts sending it to the browser, you will not be able to set any more cookies (or will not be sent to the browser anyway). Yours, Ant

Re: httpd 500s without tomcat 500s

2003-11-24 Thread Antonio Fiol Bonnín
Try mod_jk.log Good luck! Antonio J D wrote: I see quite a few httpd 500s in the httpd access.logs without corresponding entries in the tomcat access.log. I am using Apache 2.0.42, mod_jk2, and Tomcat 4.1.24. Any suggestions on how I can debug these? Thanks

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, I am using a JSP to do the download. I pass the relative path to the jsp page with the file name. Before your last email, I was creating a file instance and use that for my hyper link. I changed the code to it will reflect the http:// path rather than the file:// . Now I get the tomcat erro

Re: Tomcat 4.1.27/IE 6.0 Lockup

2003-11-24 Thread Christopher Schultz
Steve, My application can run for weeks or minutes before the user experiences a browser lockup – this can be when navigating between jsp’s in my application or mostly when a javascript popup window is invoked to view some other application data. Does the browser lock up, or does the app server lo

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, You have no idea what I have gone through to figure this out. I will do this as long as you last. That is not a tomcat error. It is an IE error. \\ipaddress\temp$\ceo\test\temp$\00064735.tif I have not activated the DNS yet, that is why the IP address is showing up. when I move the cursor

Tomcat 4.1.27/IE 6.0 Lockup

2003-11-24 Thread S R
Hi, My application can run for weeks or minutes before the user experiences a browser lockup – this can be when navigating between jsp’s in my application or mostly when a javascript popup window is invoked to view some other application data. The intranet system displays dhtml-rich realtime vari

Tomcat and jpda

2003-11-24 Thread Jason Wood
I can get jpda to work when executing the catalina.bat jpda start command from the command line. When I launch Tomcat from the "Start Tomcat", "Stop Tomcat" desktop icons or as a service jpda is not started. What do I need to change in order to have jpda active when using the desktop or service s

beginner asks: why doesn't administration-tool save changes?

2003-11-24 Thread [EMAIL PROTECTED]
hello, i recently installed tomcat 4.1 on my windows xp computer just to test my java-applications. i imported a war-file with tomcat-manager. worked. then i wanted to change cookie-behavior. i opened the administration-tool-page, found my project, i clicked for cookies "no", hit the save button

RE: HTTP 404 response for directory listing

2003-11-24 Thread Atreya Basu
I am able to load JSPs and Servlets just fine. _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From: Jared Priddy [mailto:[EMAIL PROTECTED] Sent: November 24, 2003 2:23 PM To: 'Tomc

RE: HTTP 404 response for directory listing

2003-11-24 Thread Jared Priddy
When you have the "LoadModule..." statement in httpd.conf, are you able to load .jsp pages, or do they fail as well? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 11:54 AM To: Tomcat Users List Subject: Re: HTTP 404 response for d

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
Yes, that's the one. Marked mine as duplicate. Thanks Euan Christopher Schultz wrote: > Tim, > >> Is it similar to: >> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 > > > This seems to indicate that Tomcat uses ant internally to compile > (translated) JSP files. Is this accurat

RE: directive/Virtual host problem

2003-11-24 Thread john-paul delaney
Bravo...that did it! Thanks again Patrick, /j-p. On Mon, 24 Nov 2003, Patrick Willart wrote: > You might want to try placing you alias directives as the first thing inside > the host directive. That's how I have it and if I am right the order of this > is important (although I would expect you

RE: directive/Virtual host problem

2003-11-24 Thread Patrick Willart
You might want to try placing you alias directives as the first thing inside the host directive. That's how I have it and if I am right the order of this is important (although I would expect you to see an error message in such case). Patrick -Original Message- From: john-paul delaney [ma

RE: simple classpath / webapp question

2003-11-24 Thread Shapira, Yoav
Howdy, The reason I suggested WAR file deployment is that otherwise you would have to remove old versions from WEB-INF/lib as well as copying new ones. This is one occasion where the WAR deployment fits perfectly. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ben

RE: download file issue

2003-11-24 Thread Ostad, James
You have no idea what I have gone through to figure this out. I will do this as long as you last. That is not a tomcat error. It is an IE error. \\ipaddress\temp$\ceo\test\temp$\00064735.tif I have not activated the DNS yet, that is why the IP address is showing up. when I move the cursor over

Re: jsp cache issue

2003-11-24 Thread Tim Funk
(AFIAK) yes -Tim Christopher Schultz wrote: Tim, Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 This seems to indicate that Tomcat uses ant internally to compile (translated) JSP files. Is this accurate? -chris ---

Re: jsp cache issue

2003-11-24 Thread Christopher Schultz
Tim, Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 This seems to indicate that Tomcat uses ant internally to compile (translated) JSP files. Is this accurate? -chris - To unsubscribe, e-mail: [EMAIL P

Re: simple classpath / webapp question

2003-11-24 Thread Ben Souther
I assume from the backslashes in your pathname that you are running on Windows. Otherwise, I would suggest using symlinks to point to the jar files that need to be updated often. Since that's not an option, I would go with Yoav's suggestion and use an ant script for updating your libs. On Mo

RE: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Dennis McRitchie
This problem also does not occur when you build mod_jk2 from jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz . Dennis > -Original Message- > From: Stefan Proels [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 8:32 AM > To: Tomcat Users List > Subject: Re: mod_jk2/tomcat 4.1.29

Re: jsp cache issue

2003-11-24 Thread Tim Funk
Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 -Tim Euan Guttridge wrote: Nothing found in bugzilla. Logged as new bug. Thanks Euan -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 16:59 To: Tomcat Users List Subject: Re: jsp

RE: simple classpath / webapp question

2003-11-24 Thread Shapira, Yoav
Howdy, He already said he needs different versions of those jars, so common/lib or shared/lib is NOT a solution. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Schalk [mailto:[EMAIL PROTECTED] >Sent: Monday, November 24, 2003 12:20 PM >To: 'Tomcat Users List' >Subjec

RE: directive/Virtual host problem

2003-11-24 Thread john-paul delaney
Thanks Patrick... then as suspected, I must have a misconfiguration: www.mydomain.com ... Now the index.jsp in mydomain.com (forwards to a servlet) works ok, but when I try www.mydomain.com, I get a 404 requested resource (/index.jsp) is not available. Any suggestion

Re: Starting Tomcat as nobody...

2003-11-24 Thread QM
: % sudo -u nobody /path/to/startup.sh I use a tool called "erni" to kick off daemons and such. Then again, I'm a little biased. ;) In addition to the "change to user X, execute command Y" provided by su and sudo, erni lets you: - chroot the command - assign group memberships on-the-fly - set t

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, Here is the error page: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Sorry for the back-and-forth: is this a Tomcat error (light blue and wh

RE: simple classpath / webapp question

2003-11-24 Thread Schalk
Mark I would think the easiest is including al your .jar's in Tomcat's common\lib\ directory. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL P

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
Nothing found in bugzilla. Logged as new bug. Thanks Euan -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 16:59 To: Tomcat Users List Subject: Re: jsp cache issue Look at bugzilla (use ant in the description), it might be an ANT config related issue.

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, Here is the error page: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

XSQL installation

2003-11-24 Thread Daniel Fullum
I have been trying to install Oracle's XSQL in Tomcat 4.1.29 without much success. I am using Windows2k and Java 1.4 The closest I get is by installing all JAR files, including OJDBC14 driver. in ...\WEB-INF\lib\ and creating a context with the Administration tools. Even then I keep getting: Ora

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, > I am not using IIS at this time. So, this is standalone Tomcat. Okay. I am able to login, pass the information, and even get the database file information with an hyperlink to the file. But when I double click on it gives me an error page, or if I right click on it to save the target as,

Re: jsp cache issue

2003-11-24 Thread Tim Funk
Look at bugzilla (use ant in the description), it might be an ANT config related issue. I remember something about files being written to weird places and it was due to ant. -Tim Euan Guttridge wrote: So considering TC is writing these temp files to whereever it is started from and *not* the /w

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, While I am within the host server, everything works fine. But let say that I try to get the site from a local workstation through internet. I am able to login, pass the information, and even get the database file information with an hyperlink to the file. But when I double click on it gives

RE: directive/Virtual host problem

2003-11-24 Thread Patrick Willart
Hi JP, You don't need to do that. The Alias directive is able to do this. 111.111.111.111 mydomain.com www.mydomain.com grts, Patrick --- From: john-paul delaney [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 8

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
So considering TC is writing these temp files to whereever it is started from and *not* the /work directory should I log this as a bug? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 14:59 To: Tomcat Users List Subject: Re: jsp cache issue

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, I have created a web site that allows users to download files. It is working at the server level, but not out site of the server, at user level. Can you describe what you mean by "doesn't work outside the server"? What happens when you try to download? -chris -

Re: HTTP 404 response for directory listing

2003-11-24 Thread Christopher Schultz
Atreya, In terms of URI directives that is the only one. I don't have a specific directive in httpd.conf to include workers2.properties, that file gets loaded automatically when I load the jk2 module. Also I don't have any JkMount directives in my httpd.conf file. Hmmm... this is very strange. I

directive/Virtual host problem

2003-11-24 Thread john-paul delaney
Hello List... In order that a virtual host respond correctly to urls: http://mydomain.com http://www.mydomain.com I've had to add two host entries in server.xml (one for mydomain.com, the other for www.mydomain.com). I thought it would have been enough to add the alias directive for the www

Re: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Christopher Schultz
Roeland, Before I sound too much like byting the hand that feeds, let me thank you for the useful information that you have provided. Fair enough. Although we must be in different time zones, 'cause I definately didn't write that at 4:26 AM :) For one thing, whether you guys know it or not, Java

RE: tomcat-jg vs tomcat-replication

2003-11-24 Thread jean-philippe . belanger
I just tried changing to tomcat-replication and well, that didn't go as well as I wished! :) Seams like the setAttribute, getAttribute and sessionCreation does work. Both my server gets the replication messages. My problem is that the browse never gets the request back! Everything looks done on

RE: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Januski, Ken
It's hard not to think that there's a lot of misspent energy here. Many people have problems setting up Tomcat, esp. with IIS, and I'm one of them. In fact I had a thread that went on for 50+ messages before it got solved. But generally most people to get their problems resolved. The original messa

Re: tomcat stats and performances

2003-11-24 Thread Peter Lin
when you say SAP, I take it is refering to SAPDB. The first thing you to do is to time how long it takes to execute the query. If the query is not a problem, then I would move on to timing the processing time in struts. What I've done in the past is to take some of the production queries and

download file issue

2003-11-24 Thread Ostad, James
I have created a web site that allows users to download files. It is working at the server level, but not out site of the server, at user level. Server is win2k adv. server. Tomcat is 4.1.29 Any suggestion would appreciated. James Out---> (1)

Re: tomcat 4.1.29 in SSL mode on AIX 5; Algorithm SunX509 not available

2003-11-24 Thread Michael E. Allen
Bill Barker wrote: I'm guessing that you are running IBM's JVM. The Tomcat 5 ssl-howto has been updated for what you need for running with IBM (Tomcat only defaults to Sun). The main thing is to add 'algorithm="IbmX509"' to the Factory element. "Michael E. Allen" <[EMAIL PROTECTED]> wrote in mess

RE: Tomcat Dies

2003-11-24 Thread Peter Guyatt
Hi There, It looks like there is a memory lieak in your code, do you have any listeners, and if so are you storing the session objects in a collection and not removing them from the collection when they are being invalidated. Thanks Pete -Original Message- From: Rob Wichterman [

Tomcat Dies

2003-11-24 Thread Rob Wichterman
I have two tomcat instances each on a separate folder. My problem is that after a few days we get one the following errors in Catalina.out 1. Exception java.lang.OutOfMemoryError: requested 24 bytes for promotion. Out of swap space? 2. SEVERE: Caught exception executing [EMAIL PROTECTED]

AW: Multiple Tomcats handled by one Apache

2003-11-24 Thread Wegener, Dierk
Another hello, so it seems that putting the "include mod_jk.conf" in a VirtualHost directive is ignored by Apache. Every time I try I get a "workers not found - jk will not work". Maybe someone can help me getting on - or say that it isn't possible at all. Thanx! Dierk -Ursprungliche Nach

Re: tomcat stats and performances

2003-11-24 Thread arinsoun
When I say "it doesn't respond very well" I refer that when there are most people entering to the application sometimes when you type a action on the navigation bar on the browser it doesn't respond anything, it doesn't show the page, appear error 404 not found, and if you wait a moment and try af

RE: simple classpath / webapp question

2003-11-24 Thread Shapira, Yoav
Howdy, Or you could have ant scripts that create and deploy WAR files for you. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mark D. Hansen [mailto:[EMAIL PROTECTED] >Sent: Monday, November 24, 2003 10:14 AM >To: Tomcat User (E-mail) >Subject: simple classpath / web

RE: simple classpath / webapp question

2003-11-24 Thread Mark D. Hansen
Unfortunately, I can't do that because I've got webapps that use different versions of the same runtime libraries. > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 10:24 AM > To: Tomcat Users List > Subject: Re: simple classpath / webapp

Tomcat connectors on Aix

2003-11-24 Thread Jose
Hello. I need your help to compile mod_jk2 connectors on Aix 4.3.3 I use gcc 3.2.1, libtool 1.4.2, autoconf 2.53, automake 1.5 I have downloaded jakarta-tomcat-4.1.29 and it is works fine. Now i need apache 2.0.48 works with tomcat and i have downloaded jakarta-tomcat-connectors-4.1.29-src (i don'

RE: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Bodycombe, Andrew
Please read the tomcat FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Original Message- From: Charles Gardner [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 14:35 To: Tomcat Users List Subject: Moving from 3.3.1 to 4.1.29 question I am converting from 3.3.1 to 4.1.29.

Re: simple classpath / webapp question

2003-11-24 Thread Ben Souther
You could put them in TOMCAT_HOME/common/lib. Then the jars will be accessible to all webapps running in that instance of Tomcat. On Monday 24 November 2003 10:13 am, Mark D. Hansen wrote: > Is there any way to put .jar files on a Webapp's classpath other than > placing the .jar files into th

Re: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Charles Gardner
Thanks that did the trick. Charles @ home - Original Message - From: "Simon Taylor" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, November 24, 2003 8:42 AM Subject: RE: Moving from 3.3.1 to 4.1.29 question > You need to explicitly specify a servlet

simple classpath / webapp question

2003-11-24 Thread Mark D. Hansen
Is there any way to put .jar files on a Webapp's classpath other than placing the .jar files into the WEB-INF\lib directory? I've got a lot of webapps, and it is a real chore keeping these WEB-INF\lib directories up-to-date as all the various java libraries that they rely on get updated. Is the

Re: How to set the user runnig tomcat ? ( + start/stop problem)

2003-11-24 Thread Timothy Stone
Julien, If I can just provide you some feedback, at least if only to let you know that someone is reading and following this thread. :) I'm am trying to do the same, not on Linux but Mac OS X. I'm very interested in this as well. That said, allow me to provide some comments on your post: Juli

RE: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Simon Taylor
You need to explicitly specify a servlet mapping for all servlets or uncomment the invoker section in the server.xml Being a newbie I asked this question just the other day - see:- http://marc.theaimsgroup.com/?l=tomcat-user&m=103945394724196&w=2 Simon -Original Message- From: Charles G

mod_jk2 and ajp12-Support

2003-11-24 Thread mfleige
hi there, i'm pretty new to this apache/tomcat connector thingy and so, there are two open questions i was unable to solve by googling... maybe some of you can help me? :-) ok, here they are: 1.) does mod_jk2 (v2.0.2) still support ajp12? 2.) how do i compile mod_jk2 into apache2 statically? th

Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Charles Gardner
I am converting from 3.3.1 to 4.1.29. Everything seems to be works, got the admin part working. It will bring up my application web pages but when it goes to run a servlet which is in the same place as it was in 3.3.1, it give me the following error on any servlet. The web page specifies the s

RE: OutOfMemory Error in Catalina

2003-11-24 Thread Shapira, Yoav
Howdy, >I tried to increase the heap size to 1200 MB in catalina.sh file >(JAVA_OPTS="-Xms64m -Xmx1200m"), It didn't work. I was suggested one more It didn't work in what way? Did the JVM actually allocate 1200MB and then die with an OutOfMemoryError, or did it never allocate that much (e.g. be

Re: OutOfMemory Error in Catalina

2003-11-24 Thread Tim Funk
I bet your going down the wrong path for debugging, from the FAQ: -- You have too many threads running. Some OS's have a limit to the number of threads which may be executed by a single process. (Which is what the JVM is.) Refer to your OS docs for more information on how to raise this threshold

i18n problem

2003-11-24 Thread Fernandez Angil Marian
Jakarta i18n does not work with tomcat 4.1, does anyone know the reason. I am trying desperately trying to get it work through any help is greatly appreciated Thanks in advance Fernandez - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: OutOfMemory Error in Catalina

2003-11-24 Thread Abhijeet Selukar
Hi, I tried to increase the heap size to 1200 MB in catalina.sh file (JAVA_OPTS="-Xms64m -Xmx1200m"), It didn't work. I was suggested one more way is to increase the server's maximum file descriptor limit. But I don't know where to increase this limit. Apart from that, is there any other way / u

RE: shared object cache

2003-11-24 Thread Shapira, Yoav
Howdy, Ahh yes, shows how much JSP writing I do ;) I didn't see servlet context is necessarily better than a static manager class, but now that you ask, I'll give two reasons: - Less code for you to write, always good - Much simpler handling of application restart/reload Yoav Shapira Millennium

RE: Sending to Printer?

2003-11-24 Thread Shapira, Yoav
Howdy, You can use the JavaScript window.print() function ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Luc Foisy [mailto:[EMAIL PROTECTED] >Sent: Monday, November 24, 2003 9:10 AM >To: Tomcat User List (E-mail) >Subject: Sending to Printer? > > >Is there any cod

Re: shared object cache

2003-11-24 Thread Tim Funk
Warning! In a JSP ... pageContext.setAttribute(...) should be application.setAttribute(...) or pageContext.setAttribute(..., PageContext.APPLICATION_SCOPE) -Tim Shapira, Yoav wrote: Howdy, If you're using servlets, getServletContext().setAttribute("myPersistenceManager", myPersistenceManag

Re: shared object cache

2003-11-24 Thread Vidar Langberget
- Original Message - From: "Shapira, Yoav" [EMAIL PROTECTED] > Howdy, > If you're using servlets, > getServletContext().setAttribute("myPersistenceManager", > myPersistenceManager) would do the trick. If you're using JSPs, it's > pageContext.setAttribute(...). Is there any reason why

Sending to Printer?

2003-11-24 Thread Luc Foisy
Is there any code I could use to send something to a printer? Via the print writer I suppose would be needed. Is there some kind of jsp tag library to do this, or some particular way I can send a page that would be pushed to thier browsers printing functions? --

RE: Tomcat 4 request filter

2003-11-24 Thread Shapira, Yoav
Howdy, That's because modifying the contents of a request is: a. Much less common b. Much more difficult c. Indicates bad design usually A request is a request: someone asked for something. If they wanted something else, they'd ask for something else. You shouldn't pretend you know what they wa

RE: Starting Tomcat as nobody...

2003-11-24 Thread Shapira, Yoav
Howdy, I like sudo and have been using it for years. I like commons-daemon too (naturally). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Christopher Schultz [mailto:[EMAIL PROTECTED] >Sent: Sunday, November 23, 2003 7:52 PM >To: Tomcat Users List >Subject: Re: Sta

RE: Slow on Linux

2003-11-24 Thread Shapira, Yoav
Howdy, First of all, how fast was the forward call on another platform? OTOH, 500ms for the line of code you gave below is not that atrocious. Both the getRequestDispatcher and forward calls are not lightweight. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Yonatan

RE: Tomcat JSP/HTML caching

2003-11-24 Thread Shapira, Yoav
Howdy, It could also be done with a trivial filter, maintaining a map of request URLs to output html Strings. Just be careful if your request includes POST parameters that affect the output... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Tim Funk [mailto:[EMAIL PR

Re: tomcat stats and performances

2003-11-24 Thread Peter Lin
The first thing you will want to consider is do you really need to use JSP tags. If you read my little article on performance, you'll see jsp tags reduces performance. The newest jasper in tomcat5 has a plugin feature, which allows you to convert jsp tags to pure java code. You're going to

  1   2   >