Re: jasper2 in ant and the classpath

2003-07-17 Thread Johann Uhrmann
Johann Uhrmann wrote: [...] The taskdef tag and the jasper2 tag do not care about the path set in compile.classpath. Instead, the CLASSPATH variable from the shell is used. How do I make ant (or especially those two tags) recognize the path in compile.classpath? [...] Anybody? It seems that

Roles

2003-07-17 Thread [EMAIL PROTECTED]
Hi everyone, I have multiple virtual hosts and a specifc manager app for each, is it possible to define different users for each manager ? Thank you

method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread Alan Tang
Hi, Could anybody please tell me if there's an easy way to retrieve the port number (i mean in the program) being specified in conf/server.xml (e.g, 8080)? Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true

Re: method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread Friso Geerlings
Hi, You can get the port number by using the request-method getServerPort(). --Friso Geerlings, ISAAC Software Solutions www.isaac.nl - Original Message - Could anybody please tell me if there's an easy way to retrieve the port number (i mean in the program) being specified in

RE: method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread sankara
You can use the ServletRequest's getServerPort(). -A.Sankar. -Original Message- From: Alan Tang [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 12:43 PM To: Tomcat Users List Subject: method to retrieve the port number specified in conf/server.xml Hi, Could anybody please tell

RE: RE: File replication (Tomcat cluster ?)

2003-07-17 Thread Nicolas LANTERNIER
For the deployment, there's no problem, But my application allow users to upload files in Tomcat, so I need a synchronisation between my 2 tomcat -Message d'origine- De : David Rees [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juillet 2003 20:34 À : Tomcat Users List Objet : Re: RE:

Re: File replication (Tomcat cluster ?)

2003-07-17 Thread David Rees
Nicolas LANTERNIER wrote: For the deployment, there's no problem, But my application allow users to upload files in Tomcat, so I need a synchronisation between my 2 tomcat Then your best bet is either use NFS orother shared filesystem (which IMO somewhat defeats the purpose of clustering Tomcat

Tomcat Integration with Apache (Tomcat cluster)

2003-07-17 Thread Dasun Buddhika Ratnayake
Hi all, I'm searching for the best way to Integrate tomcat with apache. is it using mod_jk or mod_webapp, or anyother method. regards Dasun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Q on Tomcat + Apache sessions

2003-07-17 Thread Simon Pabst
You can use mod_jk2 sticky session (on by default) when load balancing with it, then you can ignore Apache. However the round robin distribution of users sessions in mod_jk1 and 2 doesn't work properly at the moment for prefork Apache (1.x and 2.x in default configuration), see this thread:

Where is ContextXmlReader ???

2003-07-17 Thread achana
Hi. I am in one of those sticky situations where I do not know which forum is the right one. I am trying to sync my Apache2 with my Tomcat4 by defining virtual hosts in httpd.conf and server.xml, if that sort of makes sense... Tomcat4 Questions === Where is the directive

setting JkMount

2003-07-17 Thread Werner van Mook
I have apache connected to tomcat through mod_jk. httpd.conf : In my VirtualHost tag I put a : JkMount xxx ajp13 server.xml : Connector debug=0 acceptCount=10 minProcessors=5 maxProcessors=75 port=8009

Re: JK2 Servlet Configuration Problem

2003-07-17 Thread Simon Pabst
Tomcat Users List [EMAIL PROTECTED] schrieb am 17.07.03 04:16:58: I'm running Tomcat 4.1.24 with Apache 2.0.46 using JK2 2.0.2 on a Red Hat 9 system (kernel 2.4.20). I followed the last HOWTO on the JK docs page (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html) and

which mod_jk.so to use with Apache 1.3

2003-07-17 Thread Astrid Wagner
Hi, I try to connect tomcat 4.1.24 to an existing Apache 1.3 installation (Solaris 8). To do so I read I need mod_jk.so and I found a download page http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/bin/solaris8/ but below it says to get * mod_jk2-1.3-eapi.so is

Re: HttpServletRequestWrapper / jsp:include interaction bug!

2003-07-17 Thread Tim Funk
If you create the HttpServletRequestWrapper in a filter - then all should work fine. If you create a HttpServletRequestWrapper in a servlet (which is what a jsp is too), then use that HttpServletRequestWrapper in a forward - you will get different behaviors on different engines. The spec

Re: Coyote connector and chunking

2003-07-17 Thread Tim Funk
(AFAIK) The only way to disable it is to supply your own Content-Length. -Tim Rick Blair wrote: Hi all, i have been searching, but cannot find away to turn off chunking in the coyote connecter 4.1.24. Is there a way, or do i revert to the older http1.1 connector. Thanks Rick

how two web applications share a java bean object ?

2003-07-17 Thread martin\(Feng-Chang\)
Dear All: I set a java bean in one web application, whether add this bean to session or ServletContext. I can't get it in the other web application. How does a bean transmit between different web applications in Tomcat ? Web Application 1 servlet1

web.xml parameters mappedfile and largefile don't work

2003-07-17 Thread Christian_Vogel
Hi everyone, I'm using Tomcat 4.1.24 and I have a problem with Jasper. My JSP Files are big and when Tomcat converts them to servlets javac couldn't compile them, because the generated method is bigger than 65536 bytes. In the source file of that servlet I saw, that every hmtl-tag is

Re: web.xml parameters mappedfile and largefile don't work

2003-07-17 Thread Jose Roberto M. Garcia
Hi people, I´m configuring Tomcat on Solaris as a production system to serve one app on our intranet. It really doesn´t have any static page, so we´ve decided not to integrate Apache. I´ve followed some of the optimization tasks suggested on tomcat docs for a production environment. One of

RE: SSL configuration for Apache HTTP server

2003-07-17 Thread Raible, Matt
http://raibledesigns.com/tomcat/ssl-howto.html HTH, Matt -Original Message- From: Sudhir Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 6:46 AM To: [EMAIL PROTECTED] Subject: SSL configuration for Apache HTTP server hello, How to configure SSL in apache HTTP

Antwort: Re: web.xml parameters mappedfile and largefile don't work

2003-07-17 Thread Christian_Vogel
I don't use Jikes I still use javac. But it would be really interessting to know.. Best regards Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat Integration with Apache (Tomcat cluster)

2003-07-17 Thread Juan Nin
From: Dasun Buddhika Ratnayake [EMAIL PROTECTED] I'm searching for the best way to Integrate tomcat with apache. is it using mod_jk or mod_webapp, or anyother method. use mod_jk mod_webapp is deprecated regards, Juan - To

JK2 performance tuning

2003-07-17 Thread joseph lam
I just got JK2 2.0.2 installed and working with Apache 2.0.47. Since my site will have high traffic and lots of concurrent connections, what parameters should I fine tune (other than the min/maxProcessor in server.xml) ? How does Apache manage its jk2 connections to Tomcat? Joseph Lam

The system cannot find the file specified - HELP

2003-07-17 Thread White, Joshua A (HTSC, CASD)
I am proxying Tomcat through IIS using the isapi_redirector2.dll. The uri I have specified in the workers2.properties file is [uri:/myapp/*] Ninety five percent of the time, every thing works fine. The other five percent of the time, users experience missing images and or css or js files.

Log4j initalized in each JSP ??

2003-07-17 Thread Abid Ali Teepo
Hi I've set up some logging for my main servlet, and it appears to be working good. Now i need to set up logging for the JSP's in my application, and i'm a little bit confused because i don't think i should be initializing and defining my logger for each jsp-page ?? That sunds a bit

Problem with Tomcat as a WIN 2000 service

2003-07-17 Thread Julio Cesar C Neto
Hi All, I´m running Tomcat 4.1.24 as a Win 2000 service and sometimes the tomcat service stops without any reason. Looking the event viewer log it says: Dr. Watson: The application generated as application error...The exception generated was c05 at address 6D603A30... Also, There isn´t any

RE: how two web applications share a java bean object ?

2003-07-17 Thread Shapira, Yoav
Howdy, Put the Bean (Bean.class) in a jar (Bean.jar) and put the jar in $CATALINA_HOME/shared/lib. And RTFM: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Yoav Shapira Millennium ChemInformatics -Original Message- From: martin(Feng-Chang) [mailto:[EMAIL

RE: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Shapira, Yoav
Howdy, What are you using (if a 3rd party package) to handle file uploads? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 7:30 PM To: '[EMAIL PROTECTED]' Subject:

RE: how two web applications share a java bean object ?

2003-07-17 Thread sankara
Put the Bean (Bean.class) in a jar (Bean.jar) and put the jar in $CATALINA_HOME/shared/lib. This is for placing the class files shared by more than one web app. But, I think Martin is asking how to get a bean instance in one web application that is created in another web application. -A.Sankar

Re: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-17 Thread John Turner
A Tomcat 404 generally means there is no Context configured in server.xml to match the request. In your case, it would typically mean that you're missing something like: Context path=/webapp docBase=webapp /Context John On Wed, 16 Jul 2003 19:57:16 -0700, Bongrip [EMAIL PROTECTED] wrote:

Re: how two web applications share a java bean object ?

2003-07-17 Thread laurent marot
have a look there : http://www.fwd.at/tomcat/sharing-session-data-howto.html - Original Message - From: martin(Feng-Chang) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:16 PM Subject: how two web applications share a java bean object ? Dear All: I set a

RE: Changing URL

2003-07-17 Thread Ruchi Dayal
John: Here's what I changed the root context of server.xml to, so that I can use http://localhost to get to the actual location http://localhost/xyz Context path= docBase=xyz debug=0/ Just like you mentioned. I also tried Context path=/xyz docBase=xyz debug=0 /

Re: I'm officially lost with mod_jk

2003-07-17 Thread Astrid Wagner
Hi Werner, Sorry to link into your conversation: It seems that you went through the problems I am about to have (connecting tomcat 4 to Apache 1.3: Solaris 8). Since I haven't gotten a response to a previous email: Where did you get mod_jk ? Why did you have to compile it and can you give more

Re: JK2 Servlet Configuration Problem

2003-07-17 Thread John Turner
I don't use JK2, but as far as I know, this is prefectly valid: [uri:vegas.x.multivisioninc.com/*.jsp] worker=ajp13:localhost:8009 [uri:vegas.x.multivisioninc.com/action/*] worker=ajp13:localhost:8009 Are you saying you have tried this and it does not work? Regarding your comments on the

JSP 2.0 in Tomcat 5.0.4

2003-07-17 Thread Raible, Matt
It's my understanding that JSTL is an integral part of any JSP 2.0-compliant container. To me, this means that I shouldn't have to include jstl.jar/standard.jar in my app's WEB-INF/lib folder. I would also assume that I don't need to declare the JSTL tags as a directive: %@ taglib

Tomcat and apache

2003-07-17 Thread Stephan Hintzen
Hi! I'm trying to integrate the apache web server and tomcat. I've read that in version 4.0.6 the warp connector has been used to do this (at least the book I'm working with says so...), but with version 4.1.24 obviously I have to use an other connector (I'm working with windows). Tomcat Website

Re: which mod_jk.so to use with Apache 1.3

2003-07-17 Thread John Turner
If you are looking for mod_jk.so for Solaris 8, you will have to go all the way back to November 2002: http://jakarta.apache.org/builds/jakarta-tomcat- connectors/jk/release/v1.2.1/bin/solaris8/ or else build your own from source. John On Thu, 17 Jul 2003 12:24:45 +0200, Astrid Wagner

Re: I'm officially lost with mod_jk

2003-07-17 Thread John Turner
http://jakarta.apache.org/builds/jakarta-tomcat- connectors/jk/release/v1.2.1/bin/solaris8/ John On Thu, 17 Jul 2003 15:08:24 +0200, Astrid Wagner [EMAIL PROTECTED] wrote: Hi Werner, Sorry to link into your conversation: It seems that you went through the problems I am about to have

Re: Tomcat and apache

2003-07-17 Thread John Turner
http://jakarta.apache.org/tomcat/faq/connectors.html Complete Windows HOWTO: http://www.johnturner.com/howto (version numbers are older but steps are the same) Incidentally, you don't need Apache or a connector at all...Tomcat works just fine by itself, regardless of what the book says. John

Re: setting JkMount

2003-07-17 Thread John Turner
VirtualHost * ServerName www.connecties.com JkMount /Friss/*.jsp ajp13 JkMount /Friss/servlet/* ajp13 /VirtualHost Context path=/Friss docBase=/some/path/to/Friss/webapp /Context Delete/disable the WARP connector in server.xml, you don't need it. Also, you're probably better off using the

Re: JSP 2.0 in Tomcat 5.0.4

2003-07-17 Thread Tim Funk
EL is integral to the jsp2 spec. Not jstl. EL is based off of jstl. From a quick glance at the spec, I see in Section 4: References to JSTL are informational - this library is not required by the JSP 2.0 specification. If you search for JSTL in the spec, its seems clear that if you want JSTL:

RE: how two web applications share a java bean object ?

2003-07-17 Thread Shapira, Yoav
Howdy, Put the Bean (Bean.class) in a jar (Bean.jar) and put the jar in $CATALINA_HOME/shared/lib. This is for placing the class files shared by more than one web app. But, I think Martin is asking how to get a bean instance in one web application that is created in another web application.

simple question - mapping url

2003-07-17 Thread James Richmond
How do I map www.site.com/support to www.site.com/html/help/support1.html? Simple question but cannot find relevant documentation. Thanks James _ Use MSN Messenger to send music and pics to your friends

Re: simple question - mapping url

2003-07-17 Thread John Turner
What environment? What do you mean by map? Tomcat alone or Tomcat + Apache? If Tomcat + Apache, what connector? In Tomcat alone: Context path=/support docBase=/some/path/www.site.com/html/help /Context Then in /some/path/www.site.com/html/help/WEB-INF/web.xml add support1.html as a welcome

RE: simple question - mapping url

2003-07-17 Thread Shapira, Yoav
Howdy, You could just put a simple index.html under the support directory which has a meta refresh tag redirecting to /html/help/support1.html. Tomcat doesn't have a URL rewriting engine, but the above is one mechanism to accomplish what you want. There are other ways, of increasing complexity.

RE: JSP 2.0 in Tomcat 5.0.4

2003-07-17 Thread Raible, Matt
Understood - thanks for the clear, and to the point error. Doesn't that mean that the following should work? c:set var=bodyId scope=request tiles:getAsString name=body.id ignore=true/ /c:set body id=${requestScope.bodyId}? Or just body id=${bodyId} Because it doesn't work for

RE: JSP 2.0 in Tomcat 5.0.4

2003-07-17 Thread Raible, Matt
I meant clear and to the point *answer* not error. ;-) -Original Message- From: Raible, Matt Sent: Thursday, July 17, 2003 7:52 AM To: 'Tomcat Users List' Subject: RE: JSP 2.0 in Tomcat 5.0.4 Understood - thanks for the clear, and to the point error. Doesn't that mean that the

Re: Changing URL

2003-07-17 Thread John Turner
Well, if Context path=/xyz docBase=xyz debug=0 / doesn't work then you have a fairly serious problem on your hands. Unless you mean that the above doesn't work for http://localhost;? (it shouldn't) But if you are saying it doesn't work for http://localhost/xyz; then that's a big problem. Can

Re: JSP 2.0 in Tomcat 5.0.4

2003-07-17 Thread Tim Funk
To use EL - you need a web.xml that says it is a 2.4 webapp. I think by default - EL is enabled and it can be turned off by url. But you'll need to see the spec for the intricacies of using EL in your own tag. (So you know the rules of setting data, primitives vs objects vs casting. I haven't

Re: I'm officially lost with mod_jk

2003-07-17 Thread Werner van Mook
Hi Astrid, I got the source code for mod_jk and build it myself. I did build it myself because I was having problems that could be related to the native parts inside mod_jk. (At leas that's what I came to think). I got the source code from the apache site.

RES: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Thank you! This is the real problem... Euclides. -Mensagem original- De: Rick [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 16 de julho de 2003 23:50 Para: Tomcat Users List Assunto: Re: Urgent please, what does this error mean( IncompatibleClassChangeError)? You might need to

RES: Urgent please, what does this error mean( IncompatibleClassChangeError)?

2003-07-17 Thread Jose Euclides da Silva Junior - DATAPREVRJ
No, iam using Jakarta-commons/fileupload ! I found out that it only runs if i work with DiskFileUpload class, instead of FileUpload ( I got a nullexception ). Very strange, isnt it? I have to deal with this problem, since i have just to persist streams on DB. Regarding the problem described

Classpath Conundrum

2003-07-17 Thread Robert Dobson
I have been tasked with trying to get a legacy Java Servlet based application running under Tomcat 4.1.24 -- The application currently runs on JRun 2.3.3 One of the requirements imposed upon me is that I can't disturb the existing directory structure. I can't rename or move any directories

Re: Log4j initalized in each JSP ??

2003-07-17 Thread Winifred Sanchez
Hi There's a sample initialization servlet in http://jakarta.apache.org/log4j/docs/manual.html. It runs when tomcat is started and there is no need to initialize log4j for every servlet. I guess it should also work for jsps. Regards, Winz From: Abid Ali Teepo [EMAIL PROTECTED] Reply-To:

Re: Tomcat Using Log4J ?

2003-07-17 Thread Lukas Bradley
Thanks for all the information. I tried removing Digester from WEB-INF/lib, but then Struts isn't initializing properly. For now, I also removed Xerces. Here is a list of my WEB-INF/libs. /WEB-INF/lib/activation.jar /WEB-INF/lib/commons-beanutils.jar /WEB-INF/lib/commons-collections.jar

javac vs. jikes (a corrected title now)

2003-07-17 Thread Jose Roberto M. Garcia
Hi people, I´m configuring Tomcat on Solaris as a production system to serve one app on our intranet. It really doesn´t have any static page, so we´ve decided not to integrate Apache. I´ve followed some of the optimization tasks suggested on tomcat docs for a production environment. One of

RE: javac vs. jikes (a corrected title now)

2003-07-17 Thread Søren Neigaard
Just interested in this also, can I change the compiler to use jikes, and still use the Sun JVM? /Søren -Original Message- From: Jose Roberto M. Garcia [mailto:[EMAIL PROTECTED] Sent: 17. juli 2003 16:26 To: Tomcat Users List Subject: javac vs. jikes (a corrected title now) Hi

Re: javac vs. jikes (a corrected title now)

2003-07-17 Thread John Turner
If it's truly a production box, the absolute fastest thing to do would be to precompile all of your JSP before they're deployed. Then you wouldn't need a compiler on the server at all. John On Thu, 17 Jul 2003 11:25:42 -0300, Jose Roberto M. Garcia [EMAIL PROTECTED] wrote: Hi people, Im

Classpath Conundrum (2nd try)

2003-07-17 Thread Thomas Davis
[I apologize is this message is a dupe. I had trouble sending messages to this group from a hotmail account.] I have been tasked with trying to get a legacy Java Servlet based application running under Tomcat 4.1.24 -- The application currently runs on JRun 2.3.3 On of the requirements imposed

Win2k/Tomcat 4.1.24/ISAPI_REDIRECT2 - RESOLVED

2003-07-17 Thread Lior Shliechkorn
Thank you all very much for the help. Especially John Turner who pointed me in the right direction. In turn, I created a document that people who are starting out (like me) can follow and get through the often painfull installation procedure of Tomcat. Hopefully this tutorial file can help those

RE: Classpath Conundrum (2nd try)

2003-07-17 Thread Bodycombe, Andrew
A very quick and very dirty solution is to change to setClasspath.sh (or .bat) script and include all your required .jar files in the tomcat system classpath. However, I would not recommend this solution. A better solution is to copy all your jar files into the WEB-INF/lib directory. Why are you

RE: Classpath Conundrum (2nd try)

2003-07-17 Thread Dmitry Sklyut
You can add setenv.bat/sh to you tomcat bin direcotry. catalina.bat/sh will do the following: rem Get standard environment variables if exist %CATALINA_HOME%\bin\setenv.bat call %CATALINA_HOME%\bin\setenv.bat # Get standard environment variables PRGDIR=`dirname $PRG` CATALINA_HOME=`cd

RE: Log4j initalized in each JSP ??

2003-07-17 Thread Abid Ali Teepo
Thanks for the reply I've read that article but it doesn't solve my problem. I want to have a different logger for each webapplication. And i think that initservlet is suppose to log for all webapplications. My other problem with that init servlet is why it doesn't contain the code i'm

Looking for a Valve to dump a posted form

2003-07-17 Thread Patrick Prodhon
Hi ! I've got an app that requires data inserted in it to be posted via an XML file to Tomcat. Yet, I do not know the format of this XML file. I've already found which action is invoked using the Request Dumper Valve. Yet, the latter does not allow me to see the data that is being posted.

Tomcat4-1, Apache2, jk2 setup problem - help!

2003-07-17 Thread Tricky
Hi, I'm trying to install tomcat 4.1 on my win XP machine using Apache 2 and jk2. However, I seem to be encountering some difficulties. The problem is, I can't seem to get tomcat to start as a service when I request a url (e.g. http://localhost/examples), it simply returns. *** The servlet

RE: Tomcat4-1, Apache2, jk2 setup problem - help!

2003-07-17 Thread Atreya Basu
Hi, I have a HowTo document at: http://www.greenfieldresearch.ca/technical/jk2_config.html That doesn't have a troubleshooting section but if you follow the directions you should be on your way without any problems. Cheers _ Atreya Basu Developer, Greenfield

re: Tomcat4-1, Apache2, jk2 setup problem - help!

2003-07-17 Thread Tricky
Also, I forgot to include the stderr.log message (located in apache/logs/) Cheers, Tristan TomcatStarter: main() Try org.apache.tomcat.startup.Main Try org.apache.catalina.startup.BootstrapService Starting org.apache.catalina.startup.BootstrapService Created catalinaLoader in:

RE: Looking for a Valve to dump a posted form

2003-07-17 Thread Shapira, Yoav
Howdy, The RequestDumperValve shows all request parameters and their value. If the XML data was a request parameter, you'd see it. Otherwise, feel free to write your own (Filter probably) which prints debug information about incoming requests. Yoav Shapira Millennium ChemInformatics

Session Timeout / SocketException / Coyote

2003-07-17 Thread christian . schuster
Hi list, I am sorry if this is an off topic. I am just not sure where my problem really is located. I have a web application which I start through web start. I do set the session timeout to 30 min for security reasons. So when the session is expired and the client tries to access again the

RE: Classpath Conundrum (2nd try)

2003-07-17 Thread Norris Shelton
I think this will work for non-windows, but YMMV... To start our Tomcat's on W2K, we modify setclasspath.bat to include %CLASSPATH% when it constructs it's classpath. Then tomcat is started via catalina.bat with a start parameter. It looks like there are .sh versions of all of these files. ---

Re: javac vs. jikes (a corrected title now)

2003-07-17 Thread Simon Pabst
I tried jikes, it failed the testing though, as it produced compile errors for our app where javac did not. At 11:25 17.07.2003 -0300, you wrote: Hi people, I´m configuring Tomcat on Solaris as a production system to serve one app on our intranet. It really doesn´t have any static page, so

[ANNOUNCE] Tomcat FAQ

2003-07-17 Thread John Turner
Greetings -   Before posting to this list, please consult the Tomcat documentation, as well as the Tomcat FAQ.   Tomcat FAQ: http://jakarta.apache.org/tomcat/faq/index.html   Tomcat 3.3 documentation: http://jakarta.apache.org/tomcat/tomcat-3.3- doc/index.html   Tomcat 4.0 documentation:

RE: javac vs. jikes (a corrected title now)

2003-07-17 Thread Shapira, Yoav
Howdy, Jikes has fallen out of favor with me as well, and I don't use it in production. Yoav Shapira Millennium ChemInformatics -Original Message- From: Simon Pabst [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 11:59 AM To: Tomcat Users List Subject: Re: javac vs. jikes (a

Tomcat XML/mod_jk and standalone installation

2003-07-17 Thread Daniel Herbison
Would anyone have a clue why the XML parsing routines would work fine when running them under the tomcat standalone installation but when hitting the same code from apache (mod_jk) it does not? I get the following as an error. org.xml.sax.SAXParseException: White spaces are required between

RE: Redirect to home page on logon

2003-07-17 Thread Tarek M. Nabil
Tim, the Filter thing is a great idea, and it worked just fine. Thanks a million. Now, I have another problem that I just can't figure out. After the session expires and the user makes a request, he's sent to the login page by Tomcat. After he logs in, he's still sent to the error page. Of

RE: javac vs. jikes (a corrected title now)

2003-07-17 Thread Chad Johnson
Hey, My own two cents on the topic. The only reason I ever used jikes with TC was to avoid the memory leak when compiling code internally in the jvm. Now that TC by default compiles jsp's via the command line javac it's a non issue to me. Chad Johnson Web Services Developer WS Packaging

Re: JK2 performance tuning

2003-07-17 Thread Simon Pabst
You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds) shouldn't be set to 0 (infinite) or too high, else your socket count will go up much as time goes by (which not only consumes file

Re: which mod_jk.so to use with Apache 1.3

2003-07-17 Thread Simon Pabst
For Apache 1.3 you're better off with mod_jk1 since mod_jk2 requires APR libraries which aren't included with Apache 1.x. Building those on Solaris is propably compiler hell ;-). Download mod_jk 1 source here:

Re: JK2 performance tuning

2003-07-17 Thread Luciano Kiniti Issoe
Have you already compiled Apache for MaxClients 256 ? - Original Message - From: Simon Pabst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:22 PM Subject: Re: JK2 performance tuning You can tune CoyoteConnector acceptCount and timeout

Re: Tomcat Integration with Apache (Tomcat cluster)

2003-07-17 Thread Simon Pabst
Use Apache 2 with worker mpm if you want round robin to work with mod_jk1/2 sticky session. Use mod_jk 1 or 2 as connector. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html http://www.johnturner.com/howto/apache-tomcat-howto.html

RE: JK2 Servlet Configuration Problem

2003-07-17 Thread Joe Krause
Great! Thanks guys - this works. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 6:09 AM To: Tomcat Users List Subject: Re: JK2 Servlet Configuration Problem I don't use JK2, but as far as I know, this is prefectly valid:

RE: Classpath Conundrum (2nd try)

2003-07-17 Thread Thomas Davis
--- Norris Shelton [EMAIL PROTECTED] wrote: To start our Tomcat's on W2K, we modify setclasspath.bat to include %CLASSPATH% when it constructs it's classpath. I tried that but could not get it to work. I'm apparently putting it in the wrong place. Could you please detail the change(s) you

Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-17 Thread Simon Pabst
workaround for that: # Set mod_jk2 log level to emergency errors so logfiles don't get flooded (in workers2.properties): [logger] level=EMERG If you want try using a more recent mod_jk2 version (build from source - latest release:

Re: Tomcat-ModJK2 -- [error] mod_jk child init 1 0

2003-07-17 Thread Simon Pabst
Another thing: Apache User/Group need write access to the mod_jk2 shm.file i think And check your jk2.properties config: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configtcex.html#jk2.properties At 18:59 17.07.2003 +0200, you wrote: workaround for that: # Set mod_jk2 log level to

RE: Log4j initalized in each JSP ??

2003-07-17 Thread Winifred Sanchez
Hi again. The init servlet can log only for the web application where you include it in (supposedly). It is included in the WEB-INF/web.xml file of the webapp. In the sample init servlet, the log4j config file being read is in the Java Properties format which is why PropertyConfigurator is

mod-jk and SSL certificates

2003-07-17 Thread Darren Marvin
Hi all, I have installed Apache and Tomcat together in various configurations - using modwebapp initially but now under mod-jk2. I can't get mod-jk to work because when I use it I get permission 403 errors from all the web application contexts and the following message appears twice in the

JK2 log entries

2003-07-17 Thread Jim Durnford
Hi, I am running IIS5 with the isapi_redirector2.dll connecting to Tomcat 4.1.24 using socket channel and I'm seeing a lot of the following entries in my log file (as well as a few other similar entries). Is this normal? If these are just normal wanrings how are they turned off? 7/14/2003

Re: Log4j initialized in each JSP?

2003-07-17 Thread Winifred Sanchez
Just a correction: % static Logger logg = Logger.getLogger(jspName); % _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread jeffh
Hi, I'm in a new position and trying to put together a replacement webserver that can run an existing set of servlets. The servlets were previously executed with JServ but I want to switch to Tomcat. My environment is Red Hat Linux 9, Apache 2.0.40, JDBC classes12.zip jdk 1.2.2 and Tomcat 4.1.24.

Re: JK2 performance tuning

2003-07-17 Thread Mauricio Nuñez
Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout values. acceptCount=10 should be fine, though you never know (test test test :-) timeout value (in seconds)

Re: Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread Bongrip
[EMAIL PROTECTED] wrote: Hi, I'm in a new position and trying to put together a replacement webserver that can run an existing set of servlets. The servlets were previously executed with JServ but I want to switch to Tomcat. My environment is Red Hat Linux 9, Apache 2.0.40, JDBC classes12.zip jdk

loaded jars

2003-07-17 Thread Dmitry Beransky
Hi, I'm in the process of setting up Tomcat 4.1.x to run JSF. At the moment, I'm having a hard time trying to figure out why I'm getting java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule when Tomcat is initializing the content for a demo JSF application. Is there a tool that

RE: Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread Shapira, Yoav
Howdy, My environment is Red Hat Linux 9, Apache 2.0.40, JDBC classes12.zip jdk 1.2.2 and Tomcat 4.1.24. I installed Tomcat with the rpm tomcat4-4.1.24-full.2jpp. I would suggest that starting out, you omit the apache front end. Also you'll need to rename classes12.zip to classes12.jar as

RE: loaded jars

2003-07-17 Thread Shapira, Yoav
Howdy, I'm in the process of setting up Tomcat 4.1.x to run JSF. At the moment, I'm having a hard time trying to figure out why I'm getting java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule when Tomcat is initializing the content for a demo JSF application. Make sure you only

Re: Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread Jeff Howard
I agree there may be a versioning/compatibility problem. I'm using jdk1.2.2 because I believe I need that to work with the jdbc drivers. Bongrip wrote: [EMAIL PROTECTED] wrote: Hi, I'm in a new position and trying to put together a replacement webserver that can run an existing set of servlets.

Re: mod-jk and SSL certificates

2003-07-17 Thread Simon Pabst
that error_log message typically comes up if workers2.properties is not found or loaded put the following in global httpd.conf (not into a (SSL) VirtualHost): JkSet config.file /path/to/workers2.properties Also check that Apache hast permissions to read it, and that you don't have and IfModule

Adherence to DTD issue

2003-07-17 Thread Gregory, Carlton
I have altered a web.xml file in my \webapps\test\WEB-INF directory. Upon startup I get a parse error about the structure of the file. I opened the file in XML spy and it said it was an servlet tag unexpected child element. I then downloaded the DTD from sun and printed it out. I am adhering to

Re: JK2 performance tuning

2003-07-17 Thread Simon Pabst
seconds as far as i know, not entirely sure though, anyone else knows? At 13:27 17.07.2003 -0400, you wrote: Sorry, but ¿timeout is in seconds or in milliseconds ? Thanks Mauricio Nuñez El Jue 17 Jul 2003 12:22, Simon Pabst escribió: You can tune CoyoteConnector acceptCount and timeout

Re: why is tomcat accessing webapps/examples

2003-07-17 Thread Paridhi Bansal
hi!! i am using red hat linux 7.3 and tomcat4.1.24. paridhi - Original Message - From: Susan Hoddinott [EMAIL PROTECTED] Date: Mon, 14 Jul 2003 16:23:21 +0800 To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: why is tomcat accessing webapps/examples Hi, If you are using Windows I

RE: Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread Shapira, Yoav
Howdy, I agree there may be a versioning/compatibility problem. I'm using jdk1.2.2 because I believe I need that to work with the jdbc drivers. You don't need JDK 1.2.2 for those drivers: JDK 1.3 and 1.4 work fine as well. The class file format (v47.0) is from JDK 1.3, and it's too new for

Re: Can't get Tomcat 4.X to startup on RH 9

2003-07-17 Thread Jeff Howard
Thank you for the suggestions. I'm using jdk 1.2.2 as I'm not sure newer versions of the jdk are compatible with the jdbc drivers for Oracle 9i. By omit the apache front end, do you mean temporarily shut down httpd? Thanks! Jeff Shapira, Yoav wrote: Howdy, My environment is Red Hat Linux

  1   2   >