RE: X509 certificates and https

2004-05-28 Thread rlipi
Hi, I think I have seen this Exception. I had certificate with both human readable and encoded parts. I deleted human readable part (I left only encoded part between -BEGIN CERTIFICATE- and -END CERTIFICATE- including these tags). After this, I was able to import this certificate.

Re: X509 certificates and https

2004-05-28 Thread Bill Barker
First you need to import you CA cert into a JKS keystore file (usually different from the one that you are using for Tomcat's keystore). Since you are using 4.1.x, you then need to add: -Djavax.net.ssl.trustStore=/path/to/truststore/file to the command line that starts Tomcat. (For TC 5, you

RE: API for authenticating user

2004-05-28 Thread Koji Sekiguchi
As I told in this thread before, what I want to do is authenticating users as soon as they register themselves. Currently new users have to (1) visit subscribing page to subscribe and then (2) visit login page and input user name and password again. I want to avoid (2) step for new users. And I

Re: Context path

2004-05-28 Thread Bill Barker
Those viral hosts can be even more nasty than the spam hosts ;-). But seriously, yes this is the right place to ask your question. However, if you'll have to provide more details on what you are trying to do to get a serious answer. stella luna [EMAIL PROTECTED] wrote in message news:[EMAIL

registering Tomcat as service

2004-05-28 Thread Paul Wallace
Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ

RE: API for authenticating user

2004-05-28 Thread Koji Sekiguchi
I also tried: String url = /j_security_check + ? + j_username + = + username + + j_password + = + password; RequestDispatcher dispatcher = getServlet().getServletContext().getRequestDispatcher( url ); dispatcher.include( request,

RE: How to know http port and https port on tomcat

2004-05-28 Thread Mariano
That's ok, but when I recieve a SSL request and i want to redirect to NON SSL request i need to know the other port, not the port of the curren request. Thanks -Mensaje original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviado el: jueves, 27 de mayo de 2004 14:50 Para: Tomcat Users

Re: Looking for sample config files mod_jk2.

2004-05-28 Thread Dan Barron
I need to integrate Tomcat 3.3 with Apache 2.0.48. Does any body sample configuration files for mod_jk2 to go with this configuration. I will be happy, even if the files for a different configuration. Here's basic jk2.properties file and workers2.properties for a fresh Tomcat 5.0.24, Apache

help needed...........

2004-05-28 Thread Rahul Bhardwaj
hi all! we have a project requirement where in we have to use tomcat 4.1 along with win2k japanese version. wat all changes i have to make in tomcat for this. we will have JSP and java beans. database will be oracle 9i. warm rgds, Rahul Bhardwaj

Problems building mod_jk2 (aclocal)

2004-05-28 Thread Lars Nielsen Lind
I have problems building mod_jk2 with Fedora Core 2. It seems to a problem with the mod_jk2 aclocal script??? Anyone that has successfully build mod_jk2 with Fedora Core 2? Here are the output: [EMAIL PROTECTED] native2]# ./buildconf.sh libtoolize --force --automake --copy aclocal

RE: JK2 connector binary for solaris8

2004-05-28 Thread Kommuru, Bhaskar
Hi, I am trying compiling Mod_jk2-2.0.4. As Matt Igor told me i need to specify ./configure where my Tomcat is. But i have JBoss 3.2.3 (built in tomcat41 as service). Must i still have Tomcat41 on the system where i compile mod_jk2?? Thanks Bhaskar -Original Message- From: Dale, Matt

Re: n00b applet URI question

2004-05-28 Thread alu, artifex
i don't think the webbrowser can access the jar file inside the WEB-INF directory, it is protected by tomcat. you have to place the jar file containing the applet code in a public location such as [...]/hello/applet. the rendered output (sent to the client) of the jsp page would be interesting,

Tomcat 5: default unpackWARs bahaviour?

2004-05-28 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- I'm busy writing installation instructions for a webapp, and I've just had my first draft sent back to me as 'much too technical and complex'. For the webapp to work, I need 'unpackWARs' to be true in the server.xml file. A lot of Tomcat 4 distributions I've

Re: Tomcat logging and the referer

2004-05-28 Thread Jon Wingfield
Extract from the HTTP spec: The Referer field MUST NOT be sent if the Request-URI was obtained from a source that does not have its own URI, such as input from the user keyboard. http://www.w3.org/Protocols/rfc2616/rfc2616.txt So unless someone links to your index page you'll probably never get a

RE: Tomcat 5: default unpackWARs bahaviour?

2004-05-28 Thread Shapira, Yoav
Hi, Don't rely on a default value for unpackWARs: put it in your instructions that it must be true, because that's a place where your webapp deviates from the Servlet Specification (which only requires containers to support packed WARs). Yoav Shapira Millennium Research Informatics

Re: JSVC to run tomcat?

2004-05-28 Thread RJ
Hi: I'm certainly no expert, but the way I did it, you don't directly invoke jsvc -- you just edit-up the Tomcat5.sh script, and use it to start and stop tomcat: e.g., on my setup, ./usr/local/tomcat5/bin/jsvc-src/native/Tomcat5.sh start The startup/shutdown script takes care of calling jsvc and

Re: Why so many sessions?

2004-05-28 Thread Leonard Sitongia
On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote: On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There are now 170 sessions. Some sessions apparently expire

RE: registering Tomcat as service

2004-05-28 Thread None None
Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004

RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as

how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread Eyup TEKIN
hi i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i migrate my web site to tomcat.5x and apache 2.x(latest version) my aim is to make website so portable that when apache and tomcat release new version i can upgrade my system easily.is it possible ? sincerely

RE: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread Shapira, Yoav
Hi, Yeah, it's possible, if you stick to the Servlet Specification. That includes: - Deploying and running from a packed WAR - Allow the server administrator to configure any external resources you need, such as writing directories and database information, via the standard J2EE JNDI mechanisms

Apx error when building Mod_JK2.0.4

2004-05-28 Thread Kommuru, Bhaskar
What should i do when i get this error on solaris8 (when i say ./config --with-apxs2=/usr/local/apache2/bin/apxs...etc.) could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs2 path Thanks Bhaskar

Re: Apx error when building Mod_JK2.0.4

2004-05-28 Thread Alex
did you build apache2 with apxs support? if not, recompile. ./configure --help On Fri, 28 May 2004, Kommuru, Bhaskar wrote: Date: Fri, 28 May 2004 15:44:58 +0200 From: Kommuru, Bhaskar [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL

Re: how to plan upgrade from tomcat 4.x to tomcat 5.x strategy

2004-05-28 Thread QM
On Fri, May 28, 2004 at 04:38:48PM +0300, Eyup TEKIN wrote: : i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i : migrate my web site to tomcat.5x and apache 2.x(latest version) I have a (brief) Tomcat 4-5 upgrade doc on my website at http://www.BrandXDev.net : my aim

FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to office@vojvodina.com

2004-05-28 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i4SE8nE5028344/i4SE8nE5028344

RE: registering Tomcat as service

2004-05-28 Thread Jacob Kjome
You can modify the service parameters via the GUI. See... http://jakarta.apache.org/commons/daemon/procrun.html Even though most of the instructions on that page are outdated, the information near the bottom of the page is still useful. In particular... Changing the Service Parameters from the

RE: Apx error when building Mod_JK2.0.4

2004-05-28 Thread Kommuru, Bhaskar
NO. but i have downloaded apache2 from Sunfreeware.com for solaris2.8 did you build apache2 with apxs support? if not, recompile. ./configure --help On Fri, 28 May 2004, Kommuru, Bhaskar wrote: Date: Fri, 28 May 2004 15:44:58 +0200 From: Kommuru, Bhaskar [EMAIL PROTECTED] Reply-To:

creating web applications

2004-05-28 Thread swapna gupta
Hello, I have installed Tomcat 5.0.25 . I am trying to create a web application, but having trouble deploying servlets. I have created the required directory structure in the TOMCAT_HOME/webapps directory...namely examples/WEB-INF/classes. Also I added Context path=/examples docBase=examples

RE: tomcat worker (node) down

2004-05-28 Thread Kommuru, Bhaskar
Nada Did you get reply for this. I too have to same problem. I heard it is one of those missing feature of AJP1.3. I want to know how can we do a work around for this. Let me know if you know Thanks Bhaskar -Original Message- From: Nanda [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26,

RE: Tomcat 5: default unpackWARs bahaviour?

2004-05-28 Thread Mike Curwen
Please forgive this email. It's a self-improvement exercise. I didn't take logic in University, so I'm genuinely asking the questions below. I'm not being sarcastic ;) Only bother reading this if you're on lunch, and care to take a bit of a thought exercise. I cannot find a single place in

RE: creating web applications

2004-05-28 Thread Shapira, Yoav
http://jakarta.apache.org/tomcat/faq/misc.html#invoker Yoav Shapira Millennium Research Informatics -Original Message- From: swapna gupta [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 11:38 AM To: [EMAIL PROTECTED] Subject: creating web applications Hello, I have installed

RE: Tomcat 5: default unpackWARs bahaviour?

2004-05-28 Thread Shapira, Yoav
Hi, In short: - Yes some of the spec parts use weak wording, e.g. may, take that up with the spec JSR group (there's contact info on the JSR web page) - It's clear that supporting a packed WAR is required - It's clear that supporting open file system structure is optional - No one is saying open

Mod_jk error... help me please

2004-05-28 Thread Kommuru, Bhaskar
I have compiled Mod_jk2-2.0.4 with apache2.0.49. But when i configtest/start apache i get the following error. # /usr/local/apache2/bin/apachectl configtest Syntax error on line 269 of /usr/local/apache2/conf/httpd.conf: Can't locate API module structure `jk2_module' in file

RE: registering Tomcat as service

2004-05-28 Thread Carl Olivier
Hi there. The GUI is not always going to be good for me as I need to make the change command line settings via my own web based server management interface. I assume that the app changes registry enties? Is there documentation on the registry entries? I could then make changes directly in the

Re: Mod_jk error... help me please

2004-05-28 Thread Emerson Cargnin
I'm confused... are you trying to use mod_jk or mod_jk2? mod_jk2 is on mod_jk.so, not mod_jk.so, this is the mod_jk library. Kommuru, Bhaskar wrote: I have compiled Mod_jk2-2.0.4 with apache2.0.49. But when i configtest/start apache i get the following error. # /usr/local/apache2/bin/apachectl

ajp13 protocol specifications

2004-05-28 Thread Nitin Verma
Where will I get ajp13 protocol specifications? I need to make my own mod_jk2's java variant. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 5 out of memory

2004-05-28 Thread James Sherwood
I am using Tomcat 5.025 Mod jk 1.2.5 and Apache 2.0.49 Memory just keeps ramping up untill it goes out of memory It is on a Windows 2003 server Any Ideas? Thanks James - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Connection timeout when using OutputStream

2004-05-28 Thread Paul Mitchell
Hello, I am running into problems with downloading unusually big files within my application using the ServletOutputStream. From what I read on the documentation I set the Coyote Connector attribute connectionTimeout=-1 and still the problem persists. Any ideas/advice anyone ? Thanks, Paul.

Re: Connection timeout when using OutputStream

2004-05-28 Thread Paul Mitchell
I forgot to mention - I am running Tomcat 4.1.27 on Win2K. Thanks. --- Paul Mitchell [EMAIL PROTECTED] wrote: Hello, I am running into problems with downloading unusually big files within my application using the ServletOutputStream. From what I read on the documentation I set the

QoS in Tomcat?

2004-05-28 Thread Rui Zhang
Hi all, Is there any infrastruture availabe (or at least any possiblities) in Tomcat to tune the QoS requests are receiving? For instance, is it possible to give differentiated treatments to requests of various importance, by granting them different amount of resources, queueing them

Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread David Erickson
Hey All I am running Tomcat 5.0.24 on a RH9 Machine, at startup using JSVC. My root problem is I am unable to get tomcat's SSL port to run on 443.. (works peachy on 8443, but when I hit 443 I get nothing it just hangs and timesout). Well anyway I was trying to get Log4j logging to work so I could

Re: Tomcat 5 out of memory

2004-05-28 Thread Emerson Cargnin
I have the same configuration (except tomcat 5.0.19 and Suse linux 9.1) and have the same problem... do you have this kind of message at your catalina.log? May 28, 2004 2:44:14 PM org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 May 28, 2004 2:44:49 PM

RE: Can I change Tomcat's default character encoding?

2004-05-28 Thread Dev Team
In the catalina.bat (catalina.sh) I added the java args... set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8 then all my encodings seem to come across as UTF-8 by default.. so far its been working. -Rick -Original Message- From: rlipi [mailto:[EMAIL

How does one get notified of webapp shutdown in the webapp to do clean up?

2004-05-28 Thread Dev Team
Hello, I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a shutdown Tomcat can't shutdown completely because OpenJMS server is still running in its own thread ( I presume ). If I use the OpenJMS management classes and tell the server to shutdown, then tell Tomcat to shutdown,

Re: Problems building mod_jk2 (aclocal)

2004-05-28 Thread Dan Barron
I just recently successfully built mod_jk2 v2.0.4 under Fedora Core 2 Test 3. I first had to rebuild Apache - I used v2.0.49 - for apxs to work properly when compiling jk2. I then brought down the latest src for jk2 - v2.0.4. Here are the configure scripts I used for httpd and jk2. They are

Re: Re: Re: tomcat 5.0.25 - Problem in running jsp

2004-05-28 Thread Rajesh_Narayanan
Hi, Yes Finally i figured out the problem... its all because of the outdated .jar file in my app [I changed to latest j2ee.jar and it worked fine]. Tomcat 5 is working fine :)) thanks to all for ur reply.. Cheers, Raj Hi, For starters, run it standalone. Always get things working

Re: How does one get notified of webapp shutdown in the webapp to do clean up?

2004-05-28 Thread Tim Funk
See ServletContextListener -Tim Dev Team wrote: Hello, I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a shutdown Tomcat can't shutdown completely because OpenJMS server is still running in its own thread ( I presume ). If I use the OpenJMS management classes and tell the server

Memory problems with Tomcat 4.1.27

2004-05-28 Thread Anand Narasimhan
Hi, I am trying to debug a memory consumption issue with an application. I would appreciate any help I can get. The application I am debugging is a web application written using j2sdk 1.4.1_02 and struts 1.0.2. The tomcat version I am using is 4.1.27. The backend has a relational database

Re: QoS in Tomcat?

2004-05-28 Thread Tim Funk
Nope. The spec doesn't spell this out. If your feeling daring, you could write a filter that tries to set and reset the Thread.priorities on the fly. Then if your JVM pays attention to the thread priorities - you might get the tweaking you need. (You can also do this in a Valve if you want to

RE: How does one get notified of webapp shutdown in the webapp to do clean up?

2004-05-28 Thread Dev Team
Thanks Tim, can't believe I didn't see that. -Rick -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Posted At: Friday, May 28, 2004 11:57 AM Posted To: Tomcat Dev Conversation: How does one get notified of webapp shutdown in the webapp to do clean up? Subject: Re: How does

Re: JSVC to run tomcat?

2004-05-28 Thread Bob White
My guess is that jsvc is failing. Is there an error in your output file or error file? (ie. ../logs/catalina.out ../logs/catalina.err). As for why it was failing, I found it was so unreliable on my system that I eventually ditched it (but then I don't need port 80). All in all, it's easier to

Re: Tomcat 5 out of memory

2004-05-28 Thread Mark Lowe
Upgrade to tc5.024 Its been sorted, i had the same jazz happening. I changed to 5.0.24 as no problems since. On 28 May 2004, at 19:55, Emerson Cargnin wrote: I have the same configuration (except tomcat 5.0.19 and Suse linux 9.1) and have the same problem... do you have this kind of message at

Re: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread David Erickson
After hours of messing around trying to get the log4j to initialize with tomcat here's what you need to do: Put the log4j jar file into $CATALINA_HOME/common/lib, and your log4j.properties or log4j.xml into $CATALINA_HOME/common/classes. Then modify your tomcat jsvc classpath variable to look

Re: JSVC to run tomcat?

2004-05-28 Thread Justin Jaynes
I rechecked my configuration file, and I was using to JSVC script for tomcat 4 which loads a different class than the tomcat 5 script. I corrected the class and it works flawlessly. There are always TWO JSVC processes running. Is that normal? And can somebody please explain exactly what is

Re: QoS in Tomcat?

2004-05-28 Thread Rui Zhang
Many thanks, Tim. That at least sounds worth a try... I've got a valve sampling performance data up and running already. But, Is it sensible we may alter Tomcat to make it QoS-enabled? If so, where shall we look at to start? Best regards, Rui On Fri, 28 May 2004, Tim Funk wrote: Nope. The

RE: QoS in Tomcat?

2004-05-28 Thread Ram Mahajan
Can some one tell me how to unsubscribe from this group ? Thanks Ram -Original Message- From: Rui Zhang [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 3:59 PM To: Tomcat Users List Subject: Re: QoS in Tomcat? Many thanks, Tim. That at least sounds worth a try... I've got a valve

RE: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread Filip Hanik \(lists\)
After hours of messing around trying to get the log4j to initialize looking in the archives would have saved you hours of work! http://www.mail-archive.com/[EMAIL PROTECTED]/msg126799.html Filip -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, May 28,

Re: JSVC to run tomcat?

2004-05-28 Thread Parsons Technical Services
Justin, It is normal for there to be two processes running. As for exactly, I can't say, but my understanding is that jsvc start the process, in this case tomcat, then after tomcat has allocated the ports on 80 and/or 443 the privileges are then change to the level of the user specified in the

Re: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread David Erickson
Believe me I looked through the archives.. this post doesn't work when using JSVC to launch TC. And apparently somewhere in the last hour I had something working because it generated a console.log but I didn't notice it and then when i did notice it I had changed stuff and it was broken again...

[tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread Victor Goldberg, Ph.D.
Hi Everybody! I am new to Tomcat and to the list. I just downloaded and installed Tomcat/4.1.30. The only reason I did it is to learn about Tomcat and J2EE. At this point in time I am not yet interested in an actual fully functional web server. Well, when I tried to access familiar web pages

Re: [tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread Mark Lowe
By saying you installed it, I'm left with the impression you downloaded and double clicked the windows installer. Tomcat's built in http server catalina serves over port 80 Point your browser here and you never know it could already be running http://localhost:8080/ If not tell me what os

Re: QoS in Tomcat?

2004-05-28 Thread Tim Funk
Personally - I would run many instances of tomcat clustered to get the performance you need. It would be much more predictable to maintain. -Tim Rui Zhang wrote: Many thanks, Tim. That at least sounds worth a try... I've got a valve sampling performance data up and running already. But, Is it

Re: QoS in Tomcat?

2004-05-28 Thread Rui Zhang
Good point. I will look into that. Many thanks. Rui On Fri, 28 May 2004, Tim Funk wrote: Personally - I would run many instances of tomcat clustered to get the performance you need. It would be much more predictable to maintain. -Tim Rui Zhang wrote: Many thanks, Tim. That at least

Re: [tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread Victor Goldberg, Ph.D.
By saying you installed it, I'm left with the impression you downloaded and double clicked the windows installer. Something like that. Tomcat's built in http server catalina serves over port 80 Point your browser here and you never know it could already be running

Re: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread David Erickson
Ok this time I got it working for sure, note this is specific to getting log4j working to log tomcat's classes when launched from jsvc. 1) Download commons-logging.jar and put it in $CATALINA_HOME/bin 2) Download the log4j jar and also put it in $CATALINA_HOME/bin 3) Create your log4j.properties

Re: [tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread QM
On Fri, May 28, 2004 at 06:09:46PM -0400, Victor Goldberg, Ph.D. wrote: : My problem is that there : is something in its configuration that is not allowing me access any other : web sites, Google. When I try to access other sites, all I get is the : default Tomcat home page. What I want is to be

mod_jk.so

2004-05-28 Thread Gibson, Danny
Good day All, Below are my configurations and versions. The problem I have is that when I try to load the mod_jk.so, it appears to load but fails with the following error message when starting Apache: /opt/app/apache1.3.31/bin] ./apachectl start Syntax error on line 654 of

Re: mod_jk.so

2004-05-28 Thread QM
On Fri, May 28, 2004 at 05:44:19PM -0500, Gibson, Danny wrote: : Syntax error on line 654 of /opt/app/apache1.3.31/conf/httpd.conf: : Invalid command 'JkMount', perhaps mis-spelled or defined by a module not : included in the server configuration : ./apachectl start: httpd could not be started

tomcat 4.04 SSL third party certificates..does it work? need help

2004-05-28 Thread John DEsposito
Attempting to SSL enable tomcat 4.04. Have implemented JSSE. SSL works fine when I create a keystore with a self generated certificate. keytool -genkey -alias tomcat -keyalg RSA -keystore .keystore We now want to cutover using a production certificate. We create a .cer file by accessing our