Re: Tomcat error, with Scalix

2007-10-23 Thread Neil Wilson
Christopher Schultz wrote: Okay. Using RPM, you ought to be able to figure out version numbers and stuff, though. I'd bet that mod_jk has its own RPM package, but I couldn't tell you what it's called. Try listing all packages and search for jk or something. Another thing you can do is find the

Tomcat6 + NIO connectors + AJP/mod_proxy_ajp

2007-10-23 Thread Rakesh Rajan
Hello Everyone! I am currently using Tomcat 6 to serve all my dynamic requests ( mostly ajax ) and Apache frontend to serve static files. ( The existing connection from apache to tomcat is using mod_jk ). I have couple of questions 1) I read that NIO connectors are way better that normal HTTP

RE: Start tomcat without Connector

2007-10-23 Thread Auke Noppe
Chris, I'm making a kind of framework for my company, it must be able to measure the time tomcat needs to compile the jsp's. this enables us to optimize more accurate. But, about starting tomcat etc. I am at a point that tomcat starts gracefully without connector, but the jsp's and Servlets

RE: Start tomcat without Connector

2007-10-23 Thread Auke Noppe
Thanks for your reply. Do you know what method really applies the mapping? And, is it possible to make my own implementation of the mapping digester(?)? Regards, Auke -Oorspronkelijk bericht- Van: news [mailto:[EMAIL PROTECTED] Namens Bill Barker Verzonden: dinsdag 23 oktober 2007

Why DefaultServlet listing does not work

2007-10-23 Thread Artur Rataj
Hello. I have the following servlet definition: servlet servlet-nameListings/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namedebug/param-name param-value0/param-value /init-param

Re: All threads busy + OutOfMemoryError

2007-10-23 Thread Dirk Weigenand
Hi, have a look at this blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6433 Perhaps you find the described tool (SAP Memory Analyzer) useful for inspecting your memory dump. regards Dirk Original-Nachricht Datum: Tue, 23 Oct 2007 10:43:39 +0200 Von:

Unit Testing DataSourceRealm

2007-10-23 Thread Kevin Jackson
Hi, We have to add functionality to the provided realms. We started with a JDBCRealm, extended it and added our custom functionality. Now I've changed from a JDBCRealm (as the super class) to a DataSourceRealm as the super class. The problem is - how can I unit test a DataSourceRealm outside

Re: Why DefaultServlet listing does not work

2007-10-23 Thread Tim Funk
You want listsings=true in web.xml contained in $CATALINA_HOME/conf/web.xml -Tim Artur Rataj wrote: Hello. I have the following servlet definition: servlet servlet-nameListings/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class

Re: how to submit

2007-10-23 Thread Tim Funk
I'd suggest reading these first.. http://tomcat.apache.org/faq/bugs.html http://tomcat.apache.org/bugreport.html http://tomcat.apache.org/faq/ -Tim Carlo Politi wrote: Good day, I would like to know if it's possible submit an add on to Apache Tomcat, which are the steps or whom contact.

setting up two tomcat instance on a single machine

2007-10-23 Thread sunil chandran
Hello, Please help me to set up two tomcat on single machine. i mean tomcat 51 and tomcat 52. i have created two directories of tomcat 51 and 52. now in server.xml of both the tomcat i have done some changes on server port and on JK2 Connector side. is it enough..please help me know more about

Re[2]: how to submit

2007-10-23 Thread Carlo Politi
Thanks Tim but i have not to submit a bug, just only a new kind of authenticator. I don't know if it's possible to submit to ASF, I have tried to read the steps for incubation but it seems too hard... In data martedì 23 ottobre 2007, alle ore 13.12, hai scritto: TF I'd suggest reading these

Re: Why DefaultServlet listing does not work

2007-10-23 Thread Artur Rataj
Is not the listings option in apps' web.xml enough? I wanted the app to decide if it allows listings of its servlet. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re[2]: how to submit

2007-10-23 Thread Carlo Politi
In data martedì 23 ottobre 2007, alle ore 14.38, hai scritto: TF It would be a bugzilla request marked as an ENHANCEMENT TF -Tim mmm, i will try this -- Carlo Politi eMail: [EMAIL PROTECTED] WebPage: http://politi.carlo.googlepages.com

RE: setting up two tomcat instance on a single machine

2007-10-23 Thread Nuno Manuel Martins
Hi, Do you want to implement clustering or just load balancing? Is 5.1 and 5.2 the versions of Tomcat? If so, why are you using different versions to set up clustering? -Original Message- From: sunil chandran [mailto:[EMAIL PROTECTED] Sent: terça-feira, 23 de Outubro de 2007 12:23

Re: Tomcat error, with Scalix

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Wilson wrote: Christopher Schultz wrote: Okay. Using RPM, you ought to be able to figure out version numbers and stuff, though. I'd bet that mod_jk has its own RPM package, but I couldn't tell you what it's called. Try listing all

Re: setting up two tomcat instance on a single machine

2007-10-23 Thread sunil chandran
i have version 5.1 of tomcat . i wanted clustering ... can u tell me clustering of tomcat without creating more than one tomcat directory. i have seen somewhere that there exists two server.xml files for each instance in one single directory of tomcat 5. how can i implement it here . also tell

RE: setting up two tomcat instance on a single machine

2007-10-23 Thread Caldarale, Charles R
From: sunil chandran [mailto:[EMAIL PROTECTED] Subject: Re: setting up two tomcat instance on a single machine i have version 5.1 of tomcat . There's no such version; what do you really have? Also note that mod_jk2 has been deprecated for over two years, so you shouldn't be attempting to

RE: Start tomcat without Connector

2007-10-23 Thread Auke Noppe
Hi, I have the app working. But I want to set some attributes on the session (like a user). Does anyone knows how I can get to the HttpSession? I tried to create a org.apache.catalina.connector.Request via connector.createRequest() and invoke the request.getSession() method, but I always receive

Re: Rebooting server under program control

2007-10-23 Thread Markus Schönhaber
David kerber wrote: What would I need to do to give me the ability to reboot a windows 2003 server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a java system call I can use, or do I need to call an external routine/script to accomplish this? I would be surprised if

Re: Rebooting server under program control

2007-10-23 Thread David kerber
Markus Schönhaber wrote: David kerber wrote: What would I need to do to give me the ability to reboot a windows 2003 server machine under the control of my TC 5.5 app (JRE 1.5)? Is there a java system call I can use, or do I need to call an external routine/script to accomplish this?

Re: [ANN] Apache Tomcat 5.0.x no longer supported

2007-10-23 Thread nambo
The Apache Tomcat team wishes to announce that Tomcat 5.0.x will no longer be supported. Users are encouraged to upgrade to the latest stable 6.x release or, if that is not practical, the latest stable 5.5.x for continued support. I found it. I was supprised that tomcat 5.0 documents

Re: application-managed security model and isUserInRole getRemoteUser

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen More wrote: On 10/12/07, Christopher Schultz wrote: Yes, this is how to do it. If you don't want to do it yourself, you can use securityfilter (http://securityfilter.sourceforge.net), which has already been written. Thanks,

Re: setting up two tomcat instance on a single machine

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sunil, sunil chandran wrote: Actually my version is Jakarata-tomcat-5.0.28 i am using mod_jk2 ..i know its deprecated but my production environment still has it..so i need to go forward with it. Upgrading from mod_jk2 to mod_jk is really the

Re: Rebooting server under program control

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: On Win XP there's shutdown.exe which you could call via Runtime#exec. My bet would be that shutdown.exe comes with Win 2003 too. Thanks for the suggestion! Don't forget that a machine can always stay up when it's

Re: Tomcat 5.5.20 and client certs, not working (browser is not sending the cert to the server)

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Werner, Is it possible that the problem is with your cert? Your tomcat cert: Owner: CN=192.168.1.34, OU=MYOU, O=MYORG, L=MYCITY, ST=MYSTATE, C=MY Issuer: CN=192.168.1.34, OU=MYOU, O=MYORG, L=MYCITY, ST=MYSTATE, C=MY Your error in FF: FF: Could

Re: Rebooting server under program control

2007-10-23 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: On Win XP there's shutdown.exe which you could call via Runtime#exec. My bet would be that shutdown.exe comes with Win 2003 too. Thanks for the suggestion! Don't forget

sun-web.xml file in Tomcat

2007-10-23 Thread Rob Tanner
Hi, I need to make my applications function in both Tomcat and Glassfish. In Tomcat the context root is simply the path in the context declaration in server.xml. In Glassfish, the default is the application name. In order to get Glassfish to assign the correct context root I have included

Re: sun-web.xml file in Tomcat

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, Rob Tanner wrote: I need to make my applications function in both Tomcat and Glassfish. In Tomcat the context root is simply the path in the context declaration in server.xml. In Glassfish, the default is the application name. In order to

Fwd: How can I ensure that client access servlets via HTTPS?

2007-10-23 Thread alla winter
I would appreciate if you answer the question bellow thanks -- Forwarded message -- From: alla winter [EMAIL PROTECTED] Date: Oct 22, 2007 2:48 PM Subject: How can I ensure that client access servlets via HTTPS? To: users@tomcat.apache.org I would appreciate if you give me a

RES: How can I ensure that client access servlets via HTTPS?

2007-10-23 Thread Milanez, Marcus
I think you could configure your server so that the 80 port is not available, only the 443 one. Programaticaly, you can invoke the request.isSecure() method to check whether your request uses https. -Mensagem original- De: alla winter [mailto:[EMAIL PROTECTED] Enviada em: terça-feira,

Re: RES: How can I ensure that client access servlets via HTTPS?

2007-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: I think you could configure your server so that the 80 port is not available, only the 443 one. Programaticaly, you can invoke the request.isSecure() method to check whether your request uses https. Or, better yet,

Re: sun-web.xml file in Tomcat

2007-10-23 Thread Rob Tanner
Thanks!! Christopher Schultz said the following on 10/23/2007 11:59 AM: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, Rob Tanner wrote: I need to make my applications function in both Tomcat and Glassfish. In Tomcat the context root is simply the path in the context declaration in

Tomcat mixes sessions?

2007-10-23 Thread Eero Nevalainen
Hello everyone, I've got a really serious issue with session handling in my web application. Some of my users complain that after they login into the app, they actually see someone else's data! Personally, I have never managed to replicate this, and most of the users seem to be perfectly happy.

Re: Include of Visual C++ runtime library into tomcat installation on Windows plattform..

2007-10-23 Thread Len Popp
The problem is that the DLL is not installed by/for Tomcat, therefore the software does not work. The DLL needs to be installed where Tomcat can find it. It's probably on the disk somewhere just doesn't work. -- Len On 10/22/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Sören

tomcat 5.0.25 migration to tomcat 6.0.14

2007-10-23 Thread Dustin Fortin
Hello, I apologize if this is the incorrect list to be writing to. Regardless, here is my problem; I have volunteerd to migrate my company from tomcat 5.0.25 to tomcat 6.0.14. All of our webapps, (around 15) are all working perfectly under tomcat 5. I read all that I could find on tomcat 6

a simple question about Directory structure in Tomcat

2007-10-23 Thread pesho318i
Hi all, I'd like to access a servlet, which resides in the following directory: webapps/myApp/WebContent/WEB-INF/classes/myServlet In my web browser I'm typing: http://localhost/myApp/WebContent/servlet //result - the requested resource is not available (I have done the servlet-mapping in

Tomcat Process Not Exiting

2007-10-23 Thread Adrian Sutton
Hi all, I need some help tracking down why the tomcat process (the actual server) never exits when executing shutdown.sh. I'm pretty sure it's something my webapp is doing but I'm not sure how to get the debugging information to track it down. If I execute startup.sh, wait for startup to

Re: tomcat 5.0.25 migration to tomcat 6.0.14

2007-10-23 Thread Markus Schönhaber
Dustin Fortin wrote: I apologize if this is the incorrect list to be writing to. No need to apologize, you found the correct place for your question. [...] upgraded t6 dev server. I copied the t5 server.xml from the working app to the dev, I wouldn't do that. [...] Oct 23, 2007 5:48:03

Re: a simple question about Directory structure in Tomcat

2007-10-23 Thread David Smith
This is by design. WEB-INF is a special directory that must be a direct subdirectory of the webapp's top level. In other words, webapps/myApp/WEB-INF is good. WEB-INF in any other location within your webapp is bad. All this is described in the servlet spec and not tomcat specific.

Re: Tomcat mixes sessions?

2007-10-23 Thread Konstantin Kolinko
Just to be sure. I hope that others have more fruitful thoughts. 1) Do you invalidate the session when the users log out ? 2) I do not like the following fragment: req.getSession().setAttribute(user, p); req.getSession().setAttribute(prev_session_time,

Re: Tomcat6 + NIO connectors + AJP/mod_proxy_ajp

2007-10-23 Thread Bill Barker
Rakesh Rajan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Everyone! I am currently using Tomcat 6 to serve all my dynamic requests ( mostly ajax ) and Apache frontend to serve static files. ( The existing connection from apache to tomcat is using mod_jk ). I have

Re: Tomcat 5.5.20 and client certs, not working (browser is not sending the cert to the server)

2007-10-23 Thread Bill Barker
By default, IE will store a self-signed cert as a CA cert, not as a user cert (which is why I don't like using self-signed certs for testing client-auth). Probably the quickest way to see what is wrong is to set -Djavax.net.debug=all (at least if you have a Sun JVM) in your JAVA_OPTS, and try

Re: Tomcat 5.5.20 and client certs, not working (browser is not sending the cert to the server)

2007-10-23 Thread yuanyuan
If you wanna browser is sending the cert to the server, you may try to set clientAuth=true in server.xml. - Original Message - From: Bill Barker To: users@tomcat.apache.org Sent: Wednesday, October 24, 2007 9:04 AM Subject: Re: Tomcat 5.5.20 and client certs, not working

Re: Start tomcat without Connector

2007-10-23 Thread Bill Barker
Nope, this won't work. The Request needs to be mapped before TC knows how to find the Session. After the Context is started, it should have a Manager (if you haven't explicitly configured one). I'm guessing that you are doing some sort of Mock unit testing, and you want the Session

Re: removing :xxxx port requirement in URL [update]

2007-10-23 Thread BuildSmart
I was beginning to be happy with the results of my work and was enjoying the ability to have apache serve the .jsp files from any of it's virtualhost document roots and not the Tomcat docroot and only having one Tomcat virtualhost defined allowed me to design an admin interface on the