RE: Instructions for compiling JK2 connector for tomcat 5?

2003-12-04 Thread Jerry Birchler
Neil, Have not talked to you in a while, and I have not tried this particular Linux configuration, but I can tell you that it is not unusual to have to either copy files from one directory to another or set up symbolic links to make the ant build/make work. My primary target platform for Tomcat i

RE: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-04 Thread Pon Umapathy K.S.
> > Likely, you can get better advice if you try to explain what problem it is > you are using InheritableThreadLocal for :). > Let me explain what exactly i am trying to acheive. We have a web server which runs a suite of applications.There are a large number of backend libraries which are used

Re: can getRequestURL() overridden?

2003-12-04 Thread Brent Verner
[2003-12-04 21:58] Brent Verner said: | Hi, | | I've been fighting with how to get a Filter to modify a given | request... It seems that defining getServletPath() make "bad things" happen :-) All is well here, now. brent

Re: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-04 Thread Bill Barker
Yoav is pretty much right. And, this is pretty much true for Tomcat 4.1.x and Tomcat 5.0.x, since they all use the same threading code. Given the limitations of the 2.2 spec, the easiest is to use Request attributes to pass things along. This works for includes, forwards, and even JSP tags (who

Re: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-04 Thread Bill Barker
iginal Message - From: "Marten Lehmann" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, December 04, 2003 9:46 AM Subject: anyone running tomcat-4.1.29 with commons-daemons? > Hello, > > I'm trying to use the commons-daemons package

Re: Newer mod_jk for Tomcat 3.3.1?

2003-12-04 Thread Bill Barker
It seems that gmane is on the fritz today :(. You can currently use any version of mod_jk with any version of Tomcat >= 3.3.0. I'm happily using mod_jk 1.2.5 with Tomcat 3.3.1 at the moment. - Original Message - From: "Volker" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.us

can getRequestURL() overridden?

2003-12-04 Thread Brent Verner
Hi, I've been fighting with how to get a Filter to modify a given request... I have a request for http://whatever.com/path/to/something/~~/base64encodedQueryString that I'm tring to modify in a Filter so that the subsequent servlet thinks it is handling http://whatever.co

Re: RequestDispatcher.forward to cgi?

2003-12-04 Thread Tim Funk
Just curious ... what are the errors? -Tim Januski, Ken wrote: I've finally managed to get cgi working in Tomcat. Now I need to forward from a servlet to a cgi page. But both RequestDispatcher.forward and RequestDispatcher.include are failing. I'm not surprised that include does but I thought it

Re: Port 8443 Connector Question

2003-12-04 Thread Tim Funk
From ... http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html "Set this value to true if you want Tomcat to require all SSL clients to present a client Certificate in order to use this socket." -Tim John Kammer wrote: ... In the server.xml file... Having enabled SSL on port 8443 I

Re: 2 Hosts: 2nd one tries to load the first's XML files

2003-12-04 Thread Liem Do
If each virtual host has their own set of applications then you should set the appBase for each host to different directories. So in your case the Host defs should look like the following: ... ... Where webapps and webapps2 are directories at the same level under your TOMCAT_HOME. HTH ---

Re: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-04 Thread Marten Lehmann
Hello, It's commons-daemon (not daemons) ;) To run it with 4.1.29 you need to right some code. Tomcat 5 has an implementation of the DaemonContext, you'd need to do something similar for tomcat 4. It's possible. In fact I believe a solution with more details was discussed within the past two m

jkstatus

2003-12-04 Thread yuval
Hi, I configure the jkstatus in the worker2.properties like this: [status:status] [uri:/jkstatus/*] worker=status:status but when i try in the browser (127.0.0.1/jkstatus/) to see the status i get 404 error. How do i see the status? Yuval

Instructions for compiling JK2 connector for tomcat 5?

2003-12-04 Thread Neil Aggarwal
Hello: Are there any instructions for compiling the JK2 connector for Tomcat 5? I am trying to do this on a RedHat 9 machine with the IBM 1.4.1 SR1 JDK. I have ant 1.5.3 installed and the ANT_HOME variable set properly. I have apache 2.0.45 installed in /usr/local/apache I have an enviroment var

2 Hosts: 2nd one tries to load the first's XML files

2003-12-04 Thread Matt Raible
I have two domains that I host with tomcat - raible.net and raibledesigns.com. In $CATALINA_HOME/conf/Catalina/raible.net - no XML files exist. In Catalina/raibledesigns.com, I have many XML files for the differents apps I host. However, it seems that raible.net is trying to load all the apps fr

RequestDispatcher.forward to cgi?

2003-12-04 Thread Januski, Ken
I've finally managed to get cgi working in Tomcat. Now I need to forward from a servlet to a cgi page. But both RequestDispatcher.forward and RequestDispatcher.include are failing. I'm not surprised that include does but I thought it might be possible with forward. Since this is part of a large ap

mod_jk worker help please!!

2003-12-04 Thread Stephanie A Bickel
I am trying to configure Apache 1.3.X with tomcat 4.1.29. I am trying to use the connector mod_jk for connect the two. I am having the following problem: In my workers.properties I have a worker I defined as test (or a thousand other names). No matter how I change my worker.properties, an ins

[TOMCAT] 5.0.16

2003-12-04 Thread Schalk
I have been running Tomcat 4.1.29 with no problems. When trying to upgrade to Tomcat 5.0.16 via the .exe download the installation program keeps saying JRE not found and cancel the installation. Anyone know why this is happening? Kind Regards Schalk Neethling Web Developer.Designer.Programmer

How to send URL?

2003-12-04 Thread Zsolt Koppany
Hi, I have modified the webdav servlet of tomcat-4.1.24 (I have the same problem with 5.0.16) and everything seems to be fine. The only problem (as far as I know) when I try to open a directory containing German Umlauts for example hellö. The Windows XP webfolder client doesn't even send a request

RE: Problem with tomcat, iis and jk2

2003-12-04 Thread Chris Donges
Those jk1 docs have an error that I have corrected. logLevel in the registry should be log_level. Christoph > -Original Message- > From: Mark Eggers [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 December 2003 8:50 AM > To: Tomcat Users List > Subject: Re: Problem with tomcat, iis and j

RE: weird digester issues

2003-12-04 Thread Andre Mermegas
Yeah that is line wrapping, it also validates fine for me. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 5:22 PM To: [EMAIL PROTECTED] Subject: RE: weird digester issues I'm assuming that the separation of " on the next line are due to l

RE: weird digester issues

2003-12-04 Thread Jeff Tulley
I'm assuming that the separation of " on the next line are due to line-wrap in your email client. If not, that is your problem. com.foo.bms.listeners.ApplicationContextListener Beyond that, the document seems to obey the DTD (I scanned it visually against the DTD, and then opened the file

Re: tomcat 5.0.16 log4j wierd behaviour

2003-12-04 Thread Daniel
Oops, it would help if I included the stack trace :) See below... On Thu, 4 Dec 2003, Daniel wrote: > > Hi everyone, > > I'm trying out the new tomcat 5.0.16 with a simple turbine 2.3 webapp that > uses log4j. > > When I deploy the webapp into /webapps/ then start tomcat, I get the > error belo

Tomcat, jpda and eclipse

2003-12-04 Thread Sergi Erola
Hi, I have tomcat 5.0.12 in a machine. This machine is a server. I execute Tomcat wiht jpda, with "./catalina jpda start" I work in a other machine and I work with eclipse. First of all, i don't know where I must create a project. This project i must create in a server or client??? Moreover, i

jsp:getProperty returns "null" for null string in TC5

2003-12-04 Thread Ben Souther
In Tomcat 4x jsp:getProperty calls would return an empty string if the bean's property was null. In 5x it's returning "null". Has this been changed intentionally? -- Ben Souther F.W. Davison & Company, Inc. - To unsubscr

Hot Deployment

2003-12-04 Thread Sleeper, Jesse
Hello, I have never seen a webapp update properly when redeploying using Ant on a Win2k server. Steps: Undeploy app Deploy app Result: Does not update with changes. (old app is cached in work directory) Steps: Undeploy app Remove app folder from work directory Deploy a

Port 8443 Connector Question

2003-12-04 Thread John Kammer
... In the server.xml file... Having enabled SSL on port 8443 I have a question regarding the "clientAuth" attribute of the tag. The value for the clientAuth attribute can be either 'true' or 'false'. What specifically will the server be expecting from a connection when clientAuth is set to

RE: Where does Tomcat puts it's log?

2003-12-04 Thread Shapira, Yoav
Howdy, >Thanks for the answer. I'll try to do what you suggested and see what'll >happen. But is there anything else I can do? The Catalina.out file gets >created but it's just empty. I checked permissions on it and it's fine. >Should I maybe upgrade Tomcat first? Not an upgrade, but a clean

RE: tomcat 5.0.16 log4j wierd behaviour

2003-12-04 Thread Shapira, Yoav
Howdy, >When I deploy the webapp into /webapps/ then start tomcat, I get the >error below--not when it loads my webapp--but when it loads the >tomcat-docs webapp...?? So I copy the commons-logging.jar and >log4j.jar into /commons/lib/ dir and the problem goes away, but is that >how things should

RE: Where does Tomcat puts it's log?

2003-12-04 Thread Nadia Kunkov
Thanks for the answer. I'll try to do what you suggested and see what'll happen. But is there anything else I can do? The Catalina.out file gets created but it's just empty. I checked permissions on it and it's fine. Should I maybe upgrade Tomcat first? P.S. I have gotten a lot of answers

tomcat 5.0.16 log4j wierd behaviour

2003-12-04 Thread Daniel
Hi everyone, I'm trying out the new tomcat 5.0.16 with a simple turbine 2.3 webapp that uses log4j. When I deploy the webapp into /webapps/ then start tomcat, I get the error below--not when it loads my webapp--but when it loads the tomcat-docs webapp...?? So I copy the commons-logging.jar and

Re: Need Help getting SSL to work with HttpsURLConnections

2003-12-04 Thread John Kammer
Mike, Thanks, that seems to have solved the problem. In a cascasde effect most of the other problems I was having also went away. I agree that finding the solution to this one was like finding the proverbial needle in the haystack. -- Thanks! > John, > > I found a solution. > Add the l

RE: weird digester issues

2003-12-04 Thread Andre Mermegas
Looks like this. http://java.sun.com/dtd/web-app_2_3.dtd";> BMS Web Application com.foo.bms.listeners.ApplicationContextListener action org.apache.struts.action.ActionServlet config

RE: weird digester issues

2003-12-04 Thread Shapira, Yoav
Hi, Digester is not liking your web.xml -- please post it. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Andre Mermegas [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 3:31 PM >To: [EMAIL PROTECTED] >Subject: weird digester issues > >Hey All, I'm trying

weird digester issues

2003-12-04 Thread Andre Mermegas
Hey All, I'm trying to get my application up and running in tomcat for some testing, the original container is websphere and im getting my logs files completely spammed with digester output Looks like this on and on and on until I kill the process, any ideas why? (DEBUG) [2003-12-04 13:45:3

RE: [offtopic] Architecture Question

2003-12-04 Thread Shapira, Yoav
Howdy, It's home grown and simple. I can't discuss its details for a few reasons... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Hall [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 3:22 PM >To: Tomcat Users List >Subject: Re: [offtopic] Archit

Newer mod_jk for Tomcat 3.3.1?

2003-12-04 Thread Volker
Hi, I am running Tomcat 3.3.1 and now surprisingly found out that it was shipped with version 1.1.0 of mod_jk when I had a look into the error_log of apache: Apache/1.3.27 OpenSSL/0.9.7 (Unix) mod_jk/1.1.0 PHP/4.3.2 configured Now I wonder if I can use a later mod_jk version (i.e. mod_jk-1.2.4)

RE: Re[4]: Your configuration Files

2003-12-04 Thread Asif Chowdhary
The load balancing does work I can have multiple instances and I have tested that. -Original Message- From: Ingmars Rubenis [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:26 PM To: Tomcat Users List Subject: Re[4]: Your configuration Files Hi, So I guess load balancing d

Re[4]: Your configuration Files

2003-12-04 Thread Ingmars Rubenis
Hi, So I guess load balancing does not work. I think these messages shows that. That is all. I think this problem is not in my hands to solve. Asif> Hi, Asif> I looked in my log files and found the same error. Asif> But in my case everything seems to work fine. Asif> If you find the answer to

Re: Tomcat on Sun's Java Desktop System

2003-12-04 Thread Robert Hall
No testing experience with Suns's JDS. We're running JBoss 3.2.1 w/embedded Tomcat 4.1.24 on SuSE 8.1and SuSE 8.2, Java 1.4.1_02-b06, J2EE 1.3 w/o problems in development. Production system is on Solaris 8. Robert Jim Urban wrote: Has anyone been involved with testing Sun's Java Desktop Syste

Re: [offtopic] Architecture Question

2003-12-04 Thread Robert Hall
Hi Yoav, We are considering setting up a similar service here. Would it be possible to get some architectural details info for your Authentication Web Service? Is it home grown? Regards, Robert Shapira, Yoav wrote: Howdy, In a similar situation we use a web service running on another (3rd) tomca

RE: Where does Tomcat puts it's log?

2003-12-04 Thread Shapira, Yoav
Howdy, Tomcat doesn't use any other file unless you changed its configuration. I'm sure people read your original post: no one cared enough or knew enough to help. For starters, what happens if you do a new tomcat installation, not from an RPM, into a clean new location, and tell it to use your n

Re: tomcat jni configuration...

2003-12-04 Thread Tony
No. When it starts, I see the following error: . org.apache.jk.server.JkMain newHandler SEVERE: No class name for channelJni channelJni org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni componentes: java.io.IOException: java.lang.UnsatisfiedLinkError: no jnjni in java.libr

RE: Re[2]: Your configuration Files

2003-12-04 Thread Asif Chowdhary
Hi, I looked in my log files and found the same error. But in my case everything seems to work fine. If you find the answer to the errors let me know. Try testing without the Uportal. Just the basic configuration. Good Luck -Original Message- From: Ingmars Rubenis [mailto:[EMAIL PROTEC

Where does Tomcat puts it's log?

2003-12-04 Thread Nadia Kunkov
Hi, this is basically a repost, since I still can't get this working. I have upgraded my Linux box to j2sdk1.4.1_04 from jdk1.3.1_04. I have fixed the Java_Home variable in /tomcat4/conf/tomcat4.conf file to use the new one. Now, when I run my java applications usually catalina.out gets populated

Re[2]: Your configuration Files

2003-12-04 Thread Ingmars Rubenis
Asif> did you see the jkstatus page Asif> is the jk2.shm file created when you start apache. Yes Do you have such error? here is error [Thu Dec 04 19:13:03 2003] [error] jk2_init() Can't find child 9532 in scoreboard [Thu Dec 04 19:13:03 2003] [error] mod_jk child init 1 -2 [Thu Dec 04 19:13:50 200

java.net.SocketException: Socket closed

2003-12-04 Thread Simha, Kailas
Hi, Can anyone tell me what causes this and how to avoid it? Ajp13Processor[8051][8] process: invoke java.net.SocketException: Socket closed at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java(Compiled Code)

Apache, Tomcat and authentication appear to be working correctly<%String uName = request.getRemoteUs

2003-12-04 Thread Howard Watson
Apache, Tomcat and authentication appear to be working correctly<%String uName = request.getRemoteUser();%> //returns nullNetware 6 sp3Apache 2.0.48Tomcat 4.1.29mod_jk 1.2.5more info: http://developer-forums.novell.com/group/novell.devsup.webserver.apache2/readerNoFrame.tpt/@[EMAIL PROTECTED]@[

Re: JAASRealm Tomcat 5.x -> Tomcat 4.1.x

2003-12-04 Thread Tim Funk
The code for JAASRealm for 4.1 is probably exactly the same as 5 (exact for some import cleanups). If there is a bug in 4.1, there is probably a bug in 5. (And vice versa) -Tim Adam Hardy wrote: On 12/04/2003 07:00 PM Oliver Wulff wrote: AFAIK, the JAASRealm in Tomcat 4.1.29 is a beta version

RE: Problem with httpsessionlistener

2003-12-04 Thread Rhodes, Phil
From: Atreya Basu [mailto:[EMAIL PROTECTED] > Now there is another problem > > I'm trying: > Object obj = session.getAttribute("j_username"); > (I'm doing FORM based authentication and this definitely works.) > but I'm getting a null value for obj. I believe the sessionCreated method

Re: JAASRealm Tomcat 5.x -> Tomcat 4.1.x

2003-12-04 Thread Adam Hardy
On 12/04/2003 07:00 PM Oliver Wulff wrote: AFAIK, the JAASRealm in Tomcat 4.1.29 is a beta version. Is the JAASRealm in Tomcat 5.x for production? If yes, can I use the JAASRealm of Tomcat 5.x in Tomcat 4.1.29? Hi Oliver, where does it say that JAASRealm is beta? Adam -- struts 1.1 + tomcat 5.0.16

Re: Problem with httpsessionlistener

2003-12-04 Thread Atreya Basu
Okay, So I have an idea of what's going on. What is going on is that the session is being created before the user is authenticated. Each time a user hits the login page a session is created. However I want the session to be created after the user has logged in. Is there anything I can do a

RE: [offtopic] Architecture Question

2003-12-04 Thread Justin Ruthenbeck
At 05:51 AM 12/4/2003, you wrote: Howdy, In a similar situation we use a web service running on another (3rd) tomcat server. It's worked well, especially as we've added more applications beyond our original two. Agreed. This is the cleanest long-term solution I've come across as it clearly defi

Unclear about JDBC resource def in Tomcat 4.1

2003-12-04 Thread Dean, Michael D.
I'm using Tomcat 4.1... I have the O'Reilly after-market book for reference AWA the Jakarta info... I'm unclear about JDBC config issues... * Any JDBC client webapp can instantiate a driver and get a Connection WITHOUT ANY DEFINITION TO THE server.xml or the web.xml as long as the driver j

Recall: Unclear about JDBC resource def in Tomcat 4.1

2003-12-04 Thread Dean, Michael D.
Dean, Michael D. would like to recall the message, "Unclear about JDBC resource def in Tomcat 4.1". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Installation Problem - Service wont start

2003-12-04 Thread Ewa Efendy
Hi, I am installing Tomcat 5 on XP Pro. I followed the "installation problem thread" which is very helpful. I can run my tomcat from command line (catalina run), but when I tried to start the tomcat service, it wont start. Path to executable on tomcat services is :\Program Files\Apache Software F

Re: Upgrade from 4.1.29 to 5.0.16, logging is too verbose?

2003-12-04 Thread Remy Maucherat
Ryan Cornia wrote: I was running tomcat 4.1.29 with a log4j jar in the $CATALINA_HOME/common/lib folder and a log4j.properties file in $CATALINA_HOME/common/classes folder. This worked fine, and kept the log messages at the level I wanted them. When I installed 5.0.16, I put the log4j jar and prop

Unclear about JDBC resource def in Tomcat 4.1

2003-12-04 Thread Dean, Michael D.
I'm using Tomcat 4.1... I have the O'Reilly after-market book for reference AWA the Jakarta info... I'm unclear about JDBC config issues... * Any JDBC client webapp can instantiate a driver and get a Connection WITHOUT ANY DEFINITION TO THE server.xml or the web.xml as long as the driver j

Re: Problem with httpsessionlistener

2003-12-04 Thread Atreya Basu
Sorry, Shapira you are right. There was a SESSION.ser file. I got rid of it and it worked. Now there is another problem I'm trying: Object obj = session.getAttribute("j_username"); (I'm doing FORM based authentication and this definitely works.) but I'm getting a null value for obj

Re: Problem with httpsessionlistener

2003-12-04 Thread Atreya Basu
That's helpful. Any idea how I might verify this? I haven't found a SESSION.ser file. Atreya Shapira, Yoav wrote: Howdy, Is it possible this session was persisted to disk and recreated on tomcat startup (as opposed to newly created by a user request)? Recreation of persisted sessions (correct

Upgrade from 4.1.29 to 5.0.16, logging is too verbose?

2003-12-04 Thread Ryan Cornia
I was running tomcat 4.1.29 with a log4j jar in the $CATALINA_HOME/common/lib folder and a log4j.properties file in $CATALINA_HOME/common/classes folder. This worked fine, and kept the log messages at the level I wanted them. When I installed 5.0.16, I put the log4j jar and properties file in the

RE: anyone running tomcat-4.1.29 with commons-daemons?

2003-12-04 Thread Shapira, Yoav
2:47 PM >To: [EMAIL PROTECTED] >Subject: anyone running tomcat-4.1.29 with commons-daemons? > >Hello, > >I'm trying to use the commons-daemons package as of 20031204.tar.gz with >jakarta-tomcat-4.1.29, everything should be in the right place,

RE: Problem with httpsessionlistener

2003-12-04 Thread Shapira, Yoav
Howdy, Is it possible this session was persisted to disk and recreated on tomcat startup (as opposed to newly created by a user request)? Recreation of persisted sessions (correctly) does not trigger the sessionCreated event. Yoav Shapira Millennium ChemInformatics >-Original Message- >

Problem with httpsessionlistener

2003-12-04 Thread Atreya Basu
Hello, I'm having some difficulty with my session listener. I set up a session listener in my web.xml file as such: com.gri.web.SessionTracker Now when I go to the context that is under the listener method sessionCreated doesn't get executed. However a session is created be

Re: Monitoring Apache Traffic

2003-12-04 Thread Ben Ricker
Look at the browsers "Lock" icon. Sniffing the traffic seems like overkill to me. Ben Ricker Wellinx, Inc. On Thu, 2003-12-04 at 11:30, Asif Chowdhary wrote: > Hi, > > Is there any way to determine if the contents sent from the client to the server is > encrypted or not? I am not using a browse

JAASRealm Tomcat 5.x -> Tomcat 4.1.x

2003-12-04 Thread Oliver Wulff
Hi AFAIK, the JAASRealm in Tomcat 4.1.29 is a beta version. Is the JAASRealm in Tomcat 5.x for production? If yes, can I use the JAASRealm of Tomcat 5.x in Tomcat 4.1.29? Thanks for your help Oliver *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfäll

RE: Monitoring Apache Traffic

2003-12-04 Thread Edson Alves Pereira
If you make tomcat use SSL everything will use this protocol, then your requests and responses will be encrypted. If you plainly see what client browser is passing to tomcat or tomcat is passing to user, sure its not a safe request. > -- > De: Asif Chowdhary[SMTP:[EMAIL PROTECTED

jasper offline produces NullPointerException in tomcat-4.1.24?

2003-12-04 Thread Edson Alves Pereira
Hello folks, i wonder if is really possible to compile JSP pages offline, because all that i doing is going wrong, take a look at this output: $java org.apache.jasper.JspC -d blah -uribase http://osctrl -webapp /usr/local/ApacheGroup/tomcat-4.1.24/webapps/osctrl-app -uriroot /usr/local/Apa

anyone running tomcat-4.1.29 with commons-daemons?

2003-12-04 Thread Marten Lehmann
Hello, I'm trying to use the commons-daemons package as of 20031204.tar.gz with jakarta-tomcat-4.1.29, everything should be in the right place, but jsvc exits with java.lang.NoSuchMethodException: org.apache.catalina.startup.BootstrapService.init([Ljava.lang.String;)

jikes/Win32 with encoding

2003-12-04 Thread Florian Ebeling
Hi, I built jikes for win32 with -encoding compiled in and I wonder if anyone cares to use it, for example for JSP compilation, as suggested in the "Definitive Guide." Without thsi option, it was impossible to use jikes in conjuction with ant. http://www.javaroom.de/index.html Best, -Florian

Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature ending

2003-12-04 Thread Remy Maucherat
Dirk Griesbach wrote: Rémy, I'm quite sure. With a summary of oreilly´s sources I see: class MultipartParser { ... private ServletInputStream in; private byte[] buf = new byte[8 * 1024]; ... ServletInputStream in = req.getInputStream(); ... do { String line = readLine(); if (line ==

Monitoring Apache Traffic

2003-12-04 Thread Asif Chowdhary
Hi, Is there any way to determine if the contents sent from the client to the server is encrypted or not? I am not using a browser as a client. I am using a windows application. If I can see the contents then I will know if SSL is working. Any tools that will sniff the line to display the conte

RE: tomcat question

2003-12-04 Thread Guy Lubovitch
Actually in solaris and linux its working for me, I can be more exact and exaplain that the problem is that I cannot connect to my jboss from tomcat because of some initial class the tomcat load before jboss_client.jar and the only way I made it work was addd this line to setclasspath,bat : set CLA

RE: tomcat question

2003-12-04 Thread Nadia Kunkov
I'm almost sure that in Tomcat_Home/conf/tomcat4.conf there should be an entry for that. Well I'm talking about Linux, actually, but the setup should be similar for Windows... -Original Message- From: Guy Lubovitch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 12:14 PM To

tomcat question

2003-12-04 Thread Guy Lubovitch
Title: Message im not sure im sending my question to the right mailing list,  but here we go.   i have tomcat 4.1.29 installed on window 2000 and im running it as service, the question is how do i change the classpath of the tomcat?   i change setclasspath file but it didnt help   thank you

RE: Best JVM for Tomcat

2003-12-04 Thread Shapira, Yoav
Howdy, I've seen exactly the same behavior as Senor Alibert. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Aymeric Alibert [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 03, 2003 4:23 PM >To: [EMAIL PROTECTED] >Subject: RE: Best JVM for Tomcat > >We are runnin

RE: How to measue performance? Log4j on/off.

2003-12-04 Thread Ralph Einfeldt
I would expect that the Appenders and Formatters only come into play if debug is enabled. Am I wrong ? > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 3:34 PM > To: Tomcat Users List > Subject: RE: How to measue performance? Log4j o

RE: How to measue performance? Log4j on/off.

2003-12-04 Thread Shapira, Yoav
Howdy, The whole point was to change at runtime without recompiling. This is what lgo4j allows you to do. As to my order of magnitude improvement by using if(logger.isDebugEnabled()) -- it's well-proven and benchmarked in the log4j documentation, and the log4j kit comes with the benchmarks you c

Re: Restarting tomcat from web page

2003-12-04 Thread Rodrigo Ruiz
The only way to restart a Windows service is through native code. You could use JNDI, or Runtime.exec() to run a "net stop & net start" script, or a perl script, or a vbs one... there are many options here :-) Apart from protecting the page, I would also implement a first step with a countdown,

RE: Your configuration Files

2003-12-04 Thread Asif Chowdhary
Try this [shm] info=Scoreboard. Required for reconfiguration and status with multi process servers file=/var/log/httpd/jk2.shm size=1 -Original Message- From: Ingmars Rubenis [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 7:41 AM To: Asif Chowdhary Subject: Re: Your config

Re: Tomcat 4.x non .jsp suffix for includes?

2003-12-04 Thread Richard Bondi
Thanks to Chris and and Tim Funk for pointing me in the right direction. For the archives, I found that adding the following two lines to %catalina_home%/conf/web.xml did the trick: jnc org.apache.jasper.servlet.JspServlet logVerbosityLevel

RE: Restarting tomcat from web page

2003-12-04 Thread Shapira, Yoav
Howdy, Restarting all of tomcat or just selected webapps? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Altug B. Altintas [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 10:57 AM >To: Tomcat Users List >Subject: Restarting tomcat from web page > >Hi >Ho

Re: Restarting tomcat from web page

2003-12-04 Thread Tim Funk
I have heard of this done by using a second webserver with perl installed and then using Perl Win32 calls from webserver A to webserver B to restart the server. You could always run the other webserver on a high protected port so you don't need a second box. -Tim Altug B. Altintas wrote: Hi

RE: Best JVM for Tomcat

2003-12-04 Thread Dhruva B. Reddy
Were these crashes, by any chance, preceded by OutOfMemoryError's? --- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Howdy, > I've seen exactly the same behavior as Senor Alibert. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: Aymeric Alibert [mailto

Restarting tomcat from web page

2003-12-04 Thread Altug B. Altintas
Hi How can i restart Tomcat which is running as service, from a web page 1 - calling bat file ? (not working) 2 - calling http://localhost:8080/manager/html/start?path=/engine (asking password) any clean way ? Regards Altug. -

RE: How to measue performance? Log4j on/off.

2003-12-04 Thread Shapira, Yoav
Howdy, This is off-topic now, but the short answer is no. The longer answer is that java doesn't have such constructs at runtime, and we are talking about runtime not recompiling the code. The even longer answer has to do with log4j architecture and Logger#debug being a potentially very expensiv

Authenticate userrole, using form based login

2003-12-04 Thread Ostad, James
Hi, I am using form based authentication with this system: win.2K adv. server SQL 2k Tomcat 4.1 After fixing many problems, thanks to you guys and specially Tim Funk, I am getting this error now, which is giving me a http status 403, access forbidden. I have checked database and each column name,

RE: PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?

2003-12-04 Thread Brent Sims
I've run into this before. Although every document I've read refers to the driver as "COM.ibm.db2.jdbc.app.DB2Driver," in actuality the package name is "com.blah.blah." Change your upper case COM to lower case and it should work. >>> [EMAIL PROTECTED] 12/3/2003 12:13:59 PM >>> hiya, try renam

RE: Best JVM for Tomcat

2003-12-04 Thread Shapira, Yoav
Howdy, Nope, not at all related to memory problems. These are internal crashes that produce a core dump and the hotspot error report file (hs_err_[pid]). Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED] >Sent: Thursday, Decemb

Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature ending

2003-12-04 Thread Remy Maucherat
Dirk Griesbach wrote: Rémy, this copy is of type javax.servlet.ServletInputStream.readLine() acquired by HttpServletRequest.getInputStream(); Would you agree that this is a good idea ? Are you sure ? There's a ServletIS.readLine(byte[] b, int off, int len) method, but no readLine ret

re: compiling tomcat-5.0.16 from source

2003-12-04 Thread James Black
Hello, I am curious how I compile all the components of tomcat from source code. I am having various problems, the only one that made sense was that I had to upgrade mail.jar. From the $HOME_DIR/jakarta-tomcat-5.0.16/src I should just be able to type 'ant' and have it compile, but it appears

Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature ending

2003-12-04 Thread Dirk Griesbach
Rémy, I'm quite sure. With a summary of oreilly´s sources I see: class MultipartParser { ... private ServletInputStream in; private byte[] buf = new byte[8 * 1024]; ... ServletInputStream in = req.getInputStream(); ... do { String line = readLine(); if (line == null) { throw n

RE: Your configuration Files

2003-12-04 Thread Asif Chowdhary
did you see the jkstatus page is the jk2.shm file created when you start apache. -Original Message- From: Asif Chowdhary Sent: Thursday, December 04, 2003 10:07 AM To: [EMAIL PROTECTED] Subject: RE: Your configuration Files Try this [shm] info=Scoreboard. Required for reconfiguration an

RE: compiling tomcat-5.0.16 from source

2003-12-04 Thread Shapira, Yoav
Howdy, Assuming you're following http://cvs.apache.org/viewcvs/jakarta-tomcat-5/BUILDING.txt?rev=1.32&con tent-type=text/vnd.viewcvs-markup, can you tell us what errors you're getting? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: James Black [mailto:[EMAIL PROTECTE

RE: How to measue performance? Log4j on/off.

2003-12-04 Thread Ralph Einfeldt
there are two things to consider: - the time that is spent in arguments of the call. - the time that is spent in the call If you have something like debug("abc") there is hardly any time spent constructing the argument. But if you have debug("abc" + someNestedObject.toString()); or debug(tr

Re: Tomcat 4.x non .jsp suffix for includes?

2003-12-04 Thread Rodrigo Ruiz
In fact, I think you could reuse the default "jsp" servlet, and simply add jsp *.jnc to your webapp WEB-INF/web.xml, or $CATALINA_HOME/conf/web.xm, whichever you preferl What I am not sure about is whether the JSP servlet has its name fixed in the JSP specification, or it is lef

RE: TC 4 <-oreillyMultipart-> TC5

2003-12-04 Thread Shapira, Yoav
Howdy, >Hi Joav, There's a Y there, not a J ;) >the hint putting the lib into WEB-INF/lib instead of >$CATALINA_HOME/common/lib >put it, thanks to you. >But why ? Another classloader issue ? I think this could only be a Yes, basically. A combination of issues. This is one of the many reasons

Re: TC 4 <-oreillyMultipart-> TC5: Corrupt form data: premature ending

2003-12-04 Thread Dirk Griesbach
Rémy, this copy is of type javax.servlet.ServletInputStream.readLine() acquired by HttpServletRequest.getInputStream(); Would you agree that this is a good idea ? grisi - Original Message - From: Remy Maucherat <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sen

RE: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-04 Thread Chris Ward
Thanks for the extra info Matt (& Adam) I'm going to try to continue with my login work next week - the newer version of Matt's "Remember-me" JSP/Servlet/Filter seems to have a lot going on in there. I feel a little daunted to be honest. But I shall play around with it some more. Thanks again

RE: How to measue performance? Log4j on/off.

2003-12-04 Thread Shapira, Yoav
Howdy, >I would expect that the Appenders and Formatters only come >into play if debug is enabled. Am I wrong ? You're right in principle, but the definition of "debug is enabled" is not always trivial: a class may have multiple loggers (and in log4j 1.3, multiple loggers in multiple logging dom

RE: Tomcat's ThreadPool and InheritableThreadLocal variables

2003-12-04 Thread Shapira, Yoav
Howdy, >Is there some release note or something regarding this which i can refer >to? Nope, this is not addressed in the documentation as it's a relatively fringe and risky issue that's far from being a recommended standard practice. Yoav Shapira This e-mail, including any attachments, is a

  1   2   >