RE: tomcat certificate

2004-03-18 Thread Idoia Murua Belacortu
Could you send us a sample of that web.xml file? I am also using client certificates over SSL with Tomcat, but as I could not find much information about it in Tomcat I configured it with Apache. Idoia

[NOTIFICATION DE NON REMISE DE MAIL]

2004-03-18 Thread j-chkmail . atacama
Ce message a été vérifié par le système de filtrage de notre serveur de messagerie. (This message was verified by the filtering system of our mail server.) Le message original a été remplacé par celui-ci pour la raison suivante : (Original message was replaced by this one by the following

CPU Binding - How to enable sun 1.3.1 for multi cpu

2004-03-18 Thread John Hilton - CPX COA
I am using the following JAVA version java version 1.3.1_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3. Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode) I have noticed that only 1 CPU on a 4 CPU machine is handling load for JAVA, can anyone help in how to configure

Re: CPU Binding - How to enable sun 1.3.1 for multi cpu

2004-03-18 Thread Antonio Fiol Bonnín
On Linux, you can choose green threads or native threads. The former means single process, so one CPU, and the latter means multiple processes, so it benefits from multiple CPUs. No idea under Windows. Good luck. John Hilton - CPX COA wrote: I am using the following JAVA version java

Re: Horrible memory leak in tomcat 5.0.19

2004-03-18 Thread Robert Krüger
Hi, we had the same problem (enormous memory leak which frequently made our production system crash), downgraded to 5.0.18 and everything went back to normal. Just yesterday a colleague of mine came to the conclusion that it is not too unlikely that it is the problem described in the message

RE: RE: jk2 shared memory

2004-03-18 Thread Yiannis Mavroukakis
It means that tomcat is running as an internal process of apache, so the data flow is not via sockets, rather via native calls to tomcat. -Original Message- From: tomcatuser [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 18:35 To: Tomcat Users List Subject: Re: RE: jk2 shared memory I was

RE: Client authentication and customized error pages

2004-03-18 Thread Carlos Guardiola
(Hi everyone! Here i'm again, asking for some help about https authentication and custom error pages.) Dear Mr. Bill Barker, We've used clientAuth=want as you suggested; and now we've managed to know that a client tried to access the application without a valid certificate. That's is OK, and we

java.util.zip.ZipException error message

2004-03-18 Thread Chris Daly
hi i'm trying to stop tomcat 4.1 (bin/shutdown.sh) and getting the following error (unix sun machine) java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:110) at

Re: Kumar's JDBC problems with MySQL

2004-03-18 Thread Adam Hardy
If you are having problems with JNDI connection pooling and you can't work out the problem, I would pay attention to the Host node settings in the server.xml. I would even get a fresh installation of tomcat and start from scratch with a simple test case. The attributes of Host, e.g.

how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
Dear all can any one tell me how to disbale the TRACE|TRACK method in tomcat (4.1.27 i am using) any suggesstions are welcome many thanks = Best wishes Z C Wang ___ Yahoo! Messenger - Communicate

Net Integrator Virus Alert

2004-03-18 Thread Virus Scanner
WARNING: a virus (probably I-Worm.Mydoom.e) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. ---BeginMessage--- Is that yours? ---End Message---

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread Philipp Taprogge
Hi! zhicheng wang wrote: can any one tell me how to disbale the TRACE|TRACK method in tomcat (4.1.27 i am using) any suggesstions are welcome Well then, here goes. I don't know if there's a configuration option in tomcat somewhere (I never needed to disable a method), but could you not just

Tocat 5.0.19 Bug ?

2004-03-18 Thread João Augusto Charnet
Hello, I'm having some trouble with tomcat 5.019 running in a linux Box. One I update any of my JSP's, without restarting Tomcat, Tomcat is supposed to re-compile the JSP since it has been modified. But at some point I get an error from Tomcat telling me that it didn't find Java's tool.jar.

Tomcat Apache connector not working

2004-03-18 Thread Allan Bruce
I have apache and tomcat both up and running. Now I want to be able to set up a connector so that I can browse the 'examples' directory of the tomcat installation through apaches port. The below config doesnt seem to work, can somebody please tell me where I am going wrong? Thanks -

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
thanks for the very good solution if there is no way to config cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng wang wrote: can any one tell me how to disbale the TRACE|TRACK method in tomcat (4.1.27 i am using) any suggesstions are welcome Well then, here goes. I

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
hi, my colleague has find the solution is here: http://archives.real-time.com/pipermail/tomcat-users/2003-June/115025.html if your website provides login functions, i do recommend that you apply this restrictions. regards cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng

Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Hi, i got jk 2.0.4 from cvs, compiled it and added it to my http.conf via LoadModule. Apache 1.3.29 won't start: Cannot load /usr/lib/apache/1.3/mod_jk2.so into server: /usr/lib/apache/1.3/mod_jk2.so: undefined symbol: jk_jni_status_code The compilation did well, no error messages. Any ideas

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread Philipp Taprogge
Hi! zhicheng wang wrote: hi, my colleague has find the solution is here: http://archives.real-time.com/pipermail/tomcat-users/2003-June/115025.html Just for the record: it is at least questionable (from the rfc's point of view) to have your server respond to a TRACE with a 3xx and especially a

Re: Tocat 5.0.19 Bug ?

2004-03-18 Thread Jacob Kjome
Are you running Tomcat as a service on Windows? The default service install doesn't put tools.jar in the classpath. You can use the service.bat file in CATALINA_HOME/bin to reinstall the service. I modified mine to include this stuff %EXECUTABLE% //IS//%SERVICE_NAME% --DisplayName

RE: Problems building jk 2.0.4

2004-03-18 Thread Yiannis Mavroukakis
You probably did not include the jni option in the ./configure script. -Original Message- From: Jens Saade [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 13:08 To: Tomcat Users List Subject: Problems building jk 2.0.4 Hi, i got jk 2.0.4 from cvs, compiled it and added it to my http.conf

Re: JDBC/mySQL problem.

2004-03-18 Thread Francois Dufour
hi my aplication use mysql and the conection config looks like that: (piece) DRIVERcom.mysql.jdbc.Driver/DRIVER URLjdbc:mysql://localhost:3306/database/URL LOGINroot/LOGIN PASSWORD/PASSWORDyou dont need password wen your in local context +did you downloader the latest connecter

Out of memory -Tomcat4.x

2004-03-18 Thread armalai
Hi., I'm getting out of memory Error. How do i know the current jvm memory? I know the hardware memory details? Please advise me which one is causing this error and how do i know the current settings? Thanks., MALAI

RE: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-18 Thread Anbu
First of all did u try without tomcat? [EMAIL PROTECTED] wrote: Still I am looking in to it. If you have any idea please let me know. Regards saravanan -Original Message- From: Anbu [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 7:38 PM To: Tomcat Users List Subject: Re:

RE: CPU Binding - How to enable sun 1.3.1 for multi cpu

2004-03-18 Thread Shapira, Yoav
Hi, Ain't going to happen. Sun JDK 1.3.1 is not that good with multiprocessors, 1.4 is much better. It's not a configuration thing, it's in the JVM's implementation for the most part. Yoav Shapira Millennium Research Informatics -Original Message- From: John Hilton - CPX COA

RE: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread Shapira, Yoav
Hi, Set allowTrace=false on your HTTP connector in server.xml. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Yoav Shapira Millennium Research Informatics -Original Message- From: Philipp Taprogge [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 6:15 AM To:

Re: Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Yes, I did --with-jni Yiannis Mavroukakis wrote: You probably did not include the jni option in the ./configure script. -Original Message- From: Jens Saade [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 13:08 To: Tomcat Users List Subject: Problems building jk 2.0.4 Hi, i got jk

RE: Tomcat 4.1.12LE Disappears

2004-03-18 Thread Shapira, Yoav
Hi, Any and all suggestions will be welcome? ;) OK. Drop the JdbcOdbc bridge so fast you do it even before the end of this sentence. Use a thin/type4 JDBC driver for your database. What's happening is that your JdbcOdbc bridge driver is crashing with a native-level (i.e. some DLL on Windoze)

RE: Tomcat 5.0.18 doesn't work

2004-03-18 Thread Shapira, Yoav
Hi, You need to be more specific about your errors: what's in your logs? As an aside, try a better (again, more specific) subject line next time and you might get more responses. Yoav Shapira Millennium Research Informatics -Original Message- From: Anand Gondhiya [mailto:[EMAIL

RE: Tomcat5 service on Windows

2004-03-18 Thread Shapira, Yoav
Hi, Not, tomcat doesn't require a JRE ;) It requires a JDK, always has. And the location of the JDK installation is not hard-coded anywhere. Yoav Shapira Millennium Research Informatics -Original Message- From: Daryl Stultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004

Making suggestions

2004-03-18 Thread Jeff Poling
What is the procedure for suggesting a new feature for tomcat? *Jeff Poling, Research and Development, CMHC Systems** ** For every difficult problem, there is * A warp core breach is imminent? ** ** a solution that is simple, obvious, * This calls for the handyman's

RE: WebappClassLoader: Lifecycle error : CL stopped

2004-03-18 Thread Shapira, Yoav
Hi, I'd say the proof is in the CVS, not the JavaDoc: http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/log4 j/LogManager.java. The method has been there since the first log4j 1.2 alpha tags, 2.5 years ago. So Jacob's right ;) Yoav Shapira Millennium Research Informatics

RE: Making suggestions

2004-03-18 Thread Shapira, Yoav
Hi, A good place to start would be right here (in a separate thread). Solicit feedback from other users and developers. This list has a number of experienced users who will shoot down a dumb idea before you propose it to the tomcat developers ;) Yoav Shapira Millennium Research Informatics

mod_jk (with Apache 1.3.29) support for cronolog

2004-03-18 Thread Anbu
Hello Team, The mod_jk module from version 1.2.3 onwards (with Apache 2.0) has support for cronolog. I am trying to get it work on Apache 1.3.29 with mod_jk 1.2.5 (by porting the code from mod_jk.c of Apache 2.0). Alas I have tried quite good number of times and yet to succeed. Please let

Re: Making suggestions

2004-03-18 Thread Tim Funk
Bugzilla enhancement http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205 But it will probably be ignored unless a PATCH is submitted with the bug. -Tim Jeff Poling wrote: What is the procedure for suggesting a new feature for tomcat?

RE: Making suggestions

2004-03-18 Thread Shapira, Yoav
Hi again, I'm not saying that your idea would be dumb of course ;) Just that this is a good first screen before posting on tomcat-dev. Yoav Shapira Millennium Research Informatics -Original Message- From: Shapira, Yoav Sent: Thursday, March 18, 2004 9:07 AM To: Tomcat Users List

RE: Jk2 installation failure

2004-03-18 Thread Mike Burkhouse
Thanks Yiannis, Hi Everyone, This appears to be helpful, but I have run into another problem: As root, I am trying to run ./configure --with-apxs=/usr/sbin/apxs --with-tomcat-41=/opt/jakarta/jakarta-tomcat --with-java-home=/usr/java/j2sdk1.4.2_03 --with-apache2=/usr/local/apache2 Which fails

JAAS Realm - GSSAPI

2004-03-18 Thread Nikola Milutinovic
Hi. This is off the top of my head. I'm currently trying to get mod_spnego to work with my Apache 2.0.48 on Tru64 UNIX. I have just browsed Tomcat 5.0 docs and there is a JAAS realm, can it be used in MS ADS and Kerberos/GSSAPI environment? Ideally, I would like my users to login to Active

Re: Tocat 5.0.19 Bug ?

2004-03-18 Thread João Augusto Charnet
Thanks for the advice. But the problem is happenning in a Linux Operating System, and not Windows. Could it be the same problem ? Thanks again Jacob Kjome wrote: Are you running Tomcat as a service on Windows? The default service install doesn't put tools.jar in the classpath. You can

RE: Making suggestions

2004-03-18 Thread Shapira, Yoav
Hi, Once again it appears as if I'm answering myself, but I wanted to respond to Tim's suggestion. It's very rare that I even slightly disagree with him ;) I want to encourage people to discuss enhancements and patches on here before posting them to bugzilla. We get a significant amount of

Re: Native libraries configuration under tomcat.

2004-03-18 Thread Christopher Schultz
Nick, JMagick comes as a semi-stub library .jar archive and a native library libJMagick.so - under the command line my code works (following ldconfig), but I get errors in the catalina.out complaining about being unable to find the library (details at the end of this message). the key clause

Connection warning

2004-03-18 Thread Jeff Poling
At 09:06 AM 3/18/2004, Shapira, Yoav wrote: A good place to start would be right here (in a separate thread). Solicit feedback from other users and developers. This list has a number of experienced users who will shoot down a dumb idea before you propose it to the tomcat developers ;) Fair

Moving from 4.1 to 5

2004-03-18 Thread Michael Davis
Hi, I've got an app running nicely on tomcat 4.1. We're setting up a brand new server, and I'm trying to decide whether it's a good time to migrate to version 5. Will my app run without modification? I'm using the Standard Tag Library and the Hibernate persistence library, nothing else

RE: Connection warning

2004-03-18 Thread Shapira, Yoav
Hi, working for the company (and therefore using the system). What I'd like is some way to keep tabs on the number of processes for any given connector(s) in use, and if it exceeds a certain threshhold, give some sort of sign ... an email, logfile entry, burning bush, whatever. A few things: -

RE: Jk2 installation failure

2004-03-18 Thread Yiannis Mavroukakis
You don't need to specify --with-apache2. Change --with-apxs to --with-apxs2 -Original Message- From: Mike Burkhouse [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 14:10 To: 'Tomcat Users List' Subject: RE: Jk2 installation failure Thanks Yiannis, Hi Everyone, This appears to be

Question about tomcat 5.0.19 jsp XML syntax and Validation and output?

2004-03-18 Thread Eric Suen
Hi, I have a jspx file like this: | ?xml version=1.0? | fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; | xmlns:jsp=http://java.sun.com/JSP/Page; | | fo:blocklt;fo:inlinegt;/fo:block | fo:block![CDATA[fo:inline]]/fo:block | /fo:root and I try tomcat 5.0.19 resin 3.0.6, and the

Context mapping and war

2004-03-18 Thread Jesse Vitrone
When I try to install my application, I put the war file in the webapps directory, and in the server.xml I add a context mapping. When I start Tomcat, my war file isn't getting extracted. Unpack wars is set to true: Host name=localhost debug=0 appBase=webapps unpackWARs=true

Tomcat 5 Startup Warning question

2004-03-18 Thread Tom K
Does anyone know what is causing me to get this message? Note: it prints the message 6 times before starting up! WARNING: Duplicate name in Manifest: Class-Path Mar 17, 2004 12:01:40 PM java.util.jar.Attributes read TIA Tom K. --- Outgoing mail is certified Virus Free. Checked by AVG

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
Which version of Tomcat? I believe this is known behavior for Tomcat 4, if you define a context element pointing to a war fail. There should be no problem with functionality; can you verify? A War is not required to be extracted in order for it to load properly. -Original Message-

RE: Jk2 installation failure

2004-03-18 Thread Mike Burkhouse
I added --with-apache2 because configure failed with an error message that it could not find a web server. I removed the --with-apache2 argument and changed the apxs argument to --with-apxs2=/usr/sbin/apxs and I get the error: could not find /usr/sbin/apxs I removed the --with-apxs argument and

RE: Connection warning

2004-03-18 Thread Peter Lin
Actually if you use JMeter as the monitor, you can send out email alerts if x requests to the status servlet fails. JMeter has a module called Mailer Visualizer. I'm stilld debating whether I want to write a new mailer module specifically for the monitor. the existing mailer component only

RE: Context mapping and war

2004-03-18 Thread Jesse Vitrone
I'm running Tomcat 4.1.30 When I try to hit the app, I get a 404. I believe this is known behavior for Tomcat 4 Is it different for Tomcat 5? Thanks, Jesse -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:43 AM To:

RE: Jk2 installation failure

2004-03-18 Thread Yiannis Mavroukakis
Is apxs in that path? And if it is, is it the binary that came with apache 2? -Original Message- From: Mike Burkhouse [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 14:46 To: 'Tomcat Users List' Subject: RE: Jk2 installation failure I added --with-apache2 because configure failed with an

RE: Moving from 4.1 to 5

2004-03-18 Thread D'Alessandro, Arthur
There is no blanket statement that can answer your question without testing.. TC4 implements jsp 1.2, TC5 implements JSP 2... We found some small problems when we migrated with closing tags element value value /element Works, however element /element Needs to be written as element/ in

RE: Jk2 installation failure

2004-03-18 Thread Yiannis Mavroukakis
Is /usr/sbin/ap -Original Message- From: Mike Burkhouse [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 14:46 To: 'Tomcat Users List' Subject: RE: Jk2 installation failure I added --with-apache2 because configure failed with an error message that it could not find a web server. I

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
Change you docbase to 'mywebapp.war' and retry. -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:52 AM To: 'Tomcat Users List' Subject: RE: Context mapping and war I'm running Tomcat 4.1.30 When I try to hit the app, I get a 404. I

Keystore help OT?

2004-03-18 Thread Hamilton Andrew
Anyone know how to get a private key out of a keystore? I may have screwed up, maybe not. I created a keystore and a cert request using the keys in the keystore. I got my new certificate but now I need my private key out of the keystore to match my new certificate. I don't know how to tell

Re: Problems building jk 2.0.4

2004-03-18 Thread Daniel Savard
Le jeu 18/03/2004 à 09:01, Jens Saade a écrit : Yes, I did --with-jni Yiannis Mavroukakis wrote: You probably did not include the jni option in the ./configure script. I noticed some deviation with 2.0.4 from instructions. Instead of jkjni.so, there is a libjkjni.so library produced

RE: Context mapping and war

2004-03-18 Thread Jesse Vitrone
That works! There's no way to make it extract though? Jesse -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:53 AM To: Tomcat Users List Subject: RE: Context mapping and war Change you docbase to 'mywebapp.war' and retry.

Tomcat 5 Config

2004-03-18 Thread LILES, DAVID (CONTRACTOR)
For several days now I've been trying to configure Tomcat 5 with IIS and have had nothing but problems. I have configured the isapi_redirector2.dll with IIS and for the web app I'm trying to work with I've created a virtual directory jakarta that points to the location of the .dll and the arrow

RE: Native libraries configuration under tomcat.

2004-03-18 Thread Nick Holmes
hmm, well I have tried putting the libJMagick.so into all the places I can think of - even in the sdk's .so path - but with no luck so far. (and I have just re-validated the basic code in a standalone app too. The app is very light and is only used on an irregular basis, so the scope for it all

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
thnaks for Phil and Shapira it seems that a beeter solution is to migrate to t5 cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng wang wrote: hi, my colleague has find the solution is here: http://archives.real-time.com/pipermail/tomcat-users/2003-June/115025.html

RE: Jk2 installation failure

2004-03-18 Thread Mike Burkhouse
Yes, that is the correct path to apxs but it may not have been the binary that came with apache2. I did the following: 1) mv /usr/sbin/apxs /usr/sbin/apxs.old 2) cp /usr/local/src/httpd-2.0-48/support/apxs /usr/sbin/apxs 3) chmod 755 /usr/sbin/apxs 4) cd

RE: Context mapping and war

2004-03-18 Thread D'Alessandro, Arthur
Is there a need to? Unless your accessing files directly through the file system, it is not required... In TC5, you can add this context to your war, and it should expand (given the host configuration options defined). -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]

RE: Context mapping and war

2004-03-18 Thread Jesse Vitrone
The app works fine running from the war, it's just sometimes we have to send a hotfix and it's easier for someone to be able to just drop a jsp or a class file in the directory. I'll take a look at TC5, we'd probably switch to that eventually anyway. Thanks, Jesse -Original

tomcat and jdk1.4 migration

2004-03-18 Thread meissa . Sakho
hi all, we are running Tomcat 4.1.18 under linux with jdk 1.3.1 We'd like to use the jdk1.4 and we know that everything must work fine. To do that, I'm thinking of the two steps below: 1) I install the jdk1.4 and update JAVA_HOME location and that's all. 2) I install the jdk1.4 , update

RE: tomcat and jdk1.4 migration

2004-03-18 Thread Shapira, Yoav
Hi, The first step is enough. Do NOT copy tools.jar from its normal location to the tomcat installation. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 10:29 AM To: [EMAIL PROTECTED]

RE: Context mapping and war

2004-03-18 Thread Jesse Vitrone
So in TC5, the conext is part of the war file, and I don't need to do anything separate? All that info can be in the war file? Jesse -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 10:24 AM To: Tomcat Users List Subject: RE:

RE: Jk2 installation failure

2004-03-18 Thread Yiannis Mavroukakis
Yep you need to link against the pcre lib. Look for it in /usr/lib -Original Message- From: Mike Burkhouse [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 15:23 To: 'Tomcat Users List' Subject: RE: Jk2 installation failure Yes, that is the correct path to apxs but it may not have been the

Tomcat5 service on Windows

2004-03-18 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: Hi, Not, tomcat doesn't require a JRE ;) It requires a JDK, always has. And the location of the JDK installation is not hard-coded anywhere. That's good. So any idea how I can debug the failure of tomcat.exe to start the service? Since Tomcat doesn't

RE: Tomcat5 service on Windows

2004-03-18 Thread Shapira, Yoav
Howdy, That's good. So any idea how I can debug the failure of tomcat.exe to start the service? Since Tomcat doesn't actually start, the log files aren't created and tomcat.exe doesn't output anything to the console. Nope, no idea, as I don't use it as a service nor on windows. Yoav Shapira

Re: Problems building jk 2.0.4

2004-03-18 Thread Jens Saade
Hm, libjnjni.so or jkjni.so is not built ... here's my configure line: ./configure --with-apxs=/usr/bin/apxs --with-apr-util=/home/ratze/apr-util-0.9.4 --with-apr=/home/ratze/apr-0.9.4 --with-tomcat41=/var/tomcat/ --with-java-home=/usr/java/java --with-jni Do i need it to be built separately?

Re: Jk2 installation failure

2004-03-18 Thread Chong Yu Meng
Mike Burkhouse wrote: Yes, that is the correct path to apxs but it may not have been the binary that came with apache2. I did the following: 1) mv /usr/sbin/apxs /usr/sbin/apxs.old 2) cp /usr/local/src/httpd-2.0-48/support/apxs /usr/sbin/apxs 3) chmod 755 /usr/sbin/apxs 4) cd

Re: mod_jk3, Tomcat, Apache2 Wildcard problem (Linux)

2004-03-18 Thread Chong Yu Meng
Hi Ken, First, there is no mod_jk3 that I am aware of. You are referring to mod_jk2, perhaps? Second, please look at Appendix A of my Tomcat 5 write-up (http://cymulacrum.net/writings/tomcat5/c1215.html). I encountered the same problem. You wouldn't be using Mandrake or Mandrake's Advanced

Location of webapp directory

2004-03-18 Thread Jonathan Melhuish
The JSP files for my web application are located within a subdirectory of the Tomcat webapps directory. Is there any way to read the filesystem location of this subdirectory from within a JSP page? I would have thought this would be easy, but I haven't managed to find anything that does this

RE: Location of webapp directory

2004-03-18 Thread D'Alessandro, Arthur
IF (and this is a big IF) your webapp is expanded, your relative path then becomes from the catalina bin directory, so ../webapps/webappname/otherpath Should work, but it's, I've had succes and failures doing this. -Original Message- From: Jonathan Melhuish [mailto:[EMAIL PROTECTED]

RE: Location of webapp directory

2004-03-18 Thread Shapira, Yoav
Hi, IF your webapp is expanded, use ServletContext#getRealPath. Don't rely on this relative to $CATALINA_HOME/bin approach. Yoav Shapira Millennium Research Informatics -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:15 AM To:

RE: JMX conflict in Tomcat 5.0

2004-03-18 Thread Mark Richards
I just wanted to provide another data-point on this issue in case anyone has any ideas. When I move the JMX jars from Tomcat's common/lib directory and put them into the server/lib directory, my web-app works fine. Also, I tried running the manager and admin web-apps and they seem ok. I also

RE: Location of webapp directory

2004-03-18 Thread D'Alessandro, Arthur
Problem is ServletContext#getRealPath returns null if the webapp doesn't get expanded, is what I've had problems with in the past. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:19 AM To: Tomcat Users List Subject: RE: Location of

Re: Context mapping and war

2004-03-18 Thread Chong Yu Meng
Jesse Vitrone wrote: When I try to install my application, I put the war file in the webapps directory, and in the server.xml I add a context mapping. When I start Tomcat, my war file isn't getting extracted. Unpack wars is set to true: Host name=localhost debug=0 appBase=webapps

Re: Connection warning

2004-03-18 Thread Adam Hardy
On 03/18/2004 03:22 PM Jeff Poling wrote: We use tomcat as our middleware to provide a GUI-like interface for our UNIX character-based back-end. We are running into a problem with maxProcesses being maxed out and users not being able to use the system. A good rule of thumb is to multiply

Re: Problems building jk 2.0.4

2004-03-18 Thread Daniel Savard
Le jeu 18/03/2004 à 10:56, Jens Saade a écrit : Hm, libjnjni.so or jkjni.so is not built ... here's my configure line: ../configure --with-apxs=/usr/bin/apxs --with-apr-util=/home/ratze/apr-util-0.9.4 --with-apr=/home/ratze/apr-0.9.4 --with-tomcat41=/var/tomcat/

RE: JMX conflict in Tomcat 5.0

2004-03-18 Thread Shapira, Yoav
Hi, I just wanted to provide another data-point on this issue in case anyone has any ideas. When I move the JMX jars from Tomcat's common/lib directory and put them into the server/lib directory, my web-app works fine. Also, I tried running the manager and admin web-apps and they seem ok. I

security-constraint question

2004-03-18 Thread Koes, Derrick
I have a web application which uses a security-constraint in the deployment descriptor. My lone url-pattern in my web-resource-collection is for my welcome page. This has worked well enough. However, now I wish to access a specific URL, a servlet that produces pdf documents, bypassing the

RE: Location of webapp directory

2004-03-18 Thread Shapira, Yoav
Hi, Problem is ServletContext#getRealPath returns null if the webapp doesn't get expanded, is what I've had problems with in the past. Yup, that's why I said IF your webapp is expanded. His design in this area is already bad, so this isn't a stretch. The approach of relative location to

Re: Location of webapp directory

2004-03-18 Thread Jonathan Melhuish
Thanks for your speedy replies! It looks like my webapp isn't expanded (whatever that means), as it creates files in the bin directory within the Tomcat home. How can I make it expanded? I'd like to avoid using a relative path if possible, just in case the webapp name changes. Cheers, Jon

RE: web.xml Welcome -file and for SSL

2004-03-18 Thread Forte, Graham
Uma, I have set the web.xml welcome file to index.jsp and then in index.jsp(which the user never sees) I do a %response.sendRedirect(https://myDomain.com:8443/sslIndex.jsp;);% For your needs you could just have the user logon on the http page. On the html page set the form

RE: JMX conflict in Tomcat 5.0

2004-03-18 Thread Mark Richards
Thanks for the help! Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: March 18, 2004 11:23 AM To: Tomcat Users List Subject: RE: JMX conflict in Tomcat 5.0 Hi, I just wanted to provide another data-point on this issue in case anyone has any ideas. When I

RE: Context mapping and war

2004-03-18 Thread Jesse Vitrone
Thanks, for now, I think I'm just going to set the docBase to be the war file. Jesse -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:35 AM To: Tomcat Users List Subject: Re: Context mapping and war Jesse Vitrone wrote: When I try to

Re: apache 1.3 tomcat 5.0.19

2004-03-18 Thread Emerson Cargnin
any answer to this question Emerson Cargnin wrote: my question is: does tomcat 5 have automatic generation of mod_jk.conf and if does, is it the same of 3.2.3? Emerson Cargnin wrote: for the first question, any answer? :) Hi all I'm migrating a tomcat 3.2.3 isntallation to version

RE: Tomcat5 service on Windows

2004-03-18 Thread LILES, DAVID (CONTRACTOR)
I recently installed TC5 on a Win2000 server. My first attempt I downloaded and extracted the binary files. I have JAVA_HOME (1.4) configured as an environment variable and when I would execute the startup.bat file a command console window would briefly flash but TC would never start. I then

Re: apache 1.3 tomcat 5.0.19

2004-03-18 Thread Emerson Cargnin
a second question: may I use the same mod_jk.so I used with tomcat 3.2.3?? Emerson Cargnin wrote: any answer to this question Emerson Cargnin wrote: my question is: does tomcat 5 have automatic generation of mod_jk.conf and if does, is it the same of 3.2.3? Emerson Cargnin wrote: for

Tomcat5 service on Windows

2004-03-18 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: when I would execute the startup.bat file a command console window would briefly flash but TC would never start. ... It runs as a service and my only issues now are trying to get a web app working. ugh... I think my problem is opposite yours. I can

Java Heap Memory

2004-03-18 Thread armalai
Hi., If i did not set any particuler memory size means what will be default value? For Example we can set like this. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx256m Thanks., MALAI

RE: Java Heap Memory

2004-03-18 Thread Shapira, Yoav
Hi, The defaults depend on the JDK version as well as the Operating System. There is no minimum set by default for the heap, typically, only a maximum, and on many JDK/OS combinations it's 64MB. Yoav Shapira Millennium Research Informatics -Original Message- From: armalai

Re: Context mapping and war

2004-03-18 Thread Mike Millson
I have no problem unpacking wars on Tomcat 4.1.x. I set the Host appBase to the absolute (not relative) path of the directory where the war will be located. For example: Host name=localhost.struts appBase=/home/tomcat/struts debug=0 unpackWARs=true In this case you would put mywebapp.war in

Re: Context mapping and war

2004-03-18 Thread Parsons Technical Services
Jesse, In order for unpackWar to work two things must be true. 1. The application directory and any subdirectories for that context/app cannot exist. 2. You must place the war in the webapps directory. So if you have an app called getmoney then to redeploy the war you will need to delete the

RE: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-18 Thread saravanan.babu
Hi I got the answer and its working too. saravanan -Original Message- From: Anbu [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 7:17 PM To: Tomcat Users List Subject: RE: HTTPS support for tomcat using openSSL with Client Authentication First of all did u try without tomcat?

What's wrong with this picture.

2004-03-18 Thread Werner van Mook
Hi all, I created a jsp with this tag : ina:displayResponse / I included a taglib directive and did all things I should do to get it working. The class for this tag is : import java.io.IOException; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import

Re: apache 1.3 tomcat 5.0.19

2004-03-18 Thread Christopher Schultz
Emerson, a second question: may I use the same mod_jk.so I used with tomcat 3.2.3?? The configuration of mod_jk is independent of the Tomcat version. As long as the version of Tomcat that you are using supports mod_jk (really ajp13), you can use mod_jk with it (including any existing

Configure Apache for running Perl(cgi)

2004-03-18 Thread Vivek Sivagiri
Hi I need to run Perl scripts as CGI on Apache Tomcat. How do I need to configure the server? Thanks Vivek

  1   2   >