Re: mod_jk does not recognize extension

2009-06-17 Thread Tsirkin Evgeny
Actually i guess Rule extensions were added in mod_jk 1.2.17. Is probably enough .Just make it underlined or bold. Evgeny On Wed, Jun 17, 2009 at 1:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 6/16/2009 1:05 PM,

Re: mod_jk does not recognize extension

2009-06-17 Thread Rainer Jung
On 17.06.2009 00:09, Christopher Schultz wrote: Rainer, On 6/16/2009 1:05 PM, Rainer Jung wrote: Would you mind to provide some sentences or corrections for specific docs pages? How about adding: Rule extensions were added in mod_jk 1.2.17. If you would like to use rule (mount?)

Re: SSL Configuration Problem, can not open https://localhost:8443

2009-06-17 Thread yuting lv
From Caldarale, Charles R chuck.caldar...@unisys.com Subject RE: SSL Configuration Problem, can not open https://localhost:8443 Having multiple Tomcats installed on the same disk is not a problem. I have four different versions installed on my laptop, some with, some without

Re: Reading POSTed data

2009-06-17 Thread André Warnier
Kyle Brantley (and many others) wrote: ... Sorry to interrupt, but actually guys I believe that the problem is due to the way the data is POSTed, which in this case is - I believe - invalid. See http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 The data of a POST can be sent according

Re: Reading POSTed data

2009-06-17 Thread André Warnier
André Warnier wrote: Addendum : from Servlet Spec 2.5 : SRV.3.1.1 When Parameters Are Available The following are the conditions that must be met before post form data will be populated to the parameter set: 1. The request is an HTTP or HTTPS request. 2. The HTTP method is POST. 3. The

Tomcat shutdown problem due to running threads.

2009-06-17 Thread CBy
O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the JVM when Tomcat shuts down. My web service, however, uses a thread pool that is created via

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread André Warnier
CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the JVM when Tomcat shuts down. My web service, however, uses a thread pool that is created via

Problem with the Error Pages customization

2009-06-17 Thread Zeeshan Ahmad
Hello, I am facing Problem with the Error Pages customization on Tomcat, can someone assist me, thanks. Best Regards, Zeeshan Ahmad. P Save a tree...pls don't print this e-mail unless necessary

RE: Problem with the Error Pages customization

2009-06-17 Thread Ghufran
Hi Zeeshan Try to use the error page tag in web.xml See http://wiki.metawerx.net/wiki/Web.xml.ErrorPage for details Regards Ghufran -Original Message- From: Zeeshan Ahmad [mailto:zah...@i2cinc.com] Sent: Wednesday, June 17, 2009 1:48 PM To: 'Tomcat Users List' Subject:

RE: Beginner with apache

2009-06-17 Thread Hracek, Petr
Output of command find is: apache:~ # find /opt/secm/servlet -print /opt/secm/servlet /opt/secm/servlet/WEB-INF /opt/secm/servlet/WEB-INF/classes /opt/secm/servlet/WEB-INF/classes/SecMServlet.class /opt/secm/servlet/WEB-INF/web.xml apache:~ # Full URL is:

Session replication using only PersistenceManager + JDBCStore

2009-06-17 Thread Yves Glodt
Hello, I am currently trying to set up session replication, and reading this document [1], but a few questions remain. In my setup are 4 apaches with mod_proxy which connect to 4 tomcats. In front of the apaches is a hardware balancer which does round-robin, but with a kind of sticky

tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Hi On tomcat 6.0.18 i need to set the classpath of a webapp, its the only webapp running inside this tomcat. i believe i need to do something like the following in the web.xml context-param param-nameclasspath/param-name param-value/my/webapp/conf/param-value /context-param but this seems

Re: tomcat 6 - setting classpath

2009-06-17 Thread Mikolaj Rydzewski
Tom Brown wrote: On tomcat 6.0.18 i need to set the classpath of a webapp, its the only webapp running inside this tomcat. i believe i need to do something like the following in the web.xml context-param param-nameclasspath/param-name param-value/my/webapp/conf/param-value /context-param but

Re: tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Why not use WEB-INF/lib directory? quite a long story BUT that locations contains _default_ setting ie those for dev and when it goes into prod i need to override those with settings from the config directory - so i need to be able to manipulate it on the fly so to speak while still being

Re: tomcat 6 - setting classpath

2009-06-17 Thread Mikolaj Rydzewski
Tom Brown wrote: Why not use WEB-INF/lib directory? quite a long story BUT that locations contains _default_ setting ie those for dev and when it goes into prod i need to override those with settings from the config directory - so i need to be able to manipulate it on the fly so to speak

Re: tomcat 6 - setting classpath

2009-06-17 Thread Tom Brown
Is the difference only between configuration files, or between jar files also? I suggest to keep such configuration file outside of webapp - e.g. in ${tomcat}/lib/classes. So you'll have dev tomcat setup, prod tomcat setup and one war file. it is only configuration files - no jar changes.

Re: tomcat 6 - setting classpath

2009-06-17 Thread Mikolaj Rydzewski
Tom Brown wrote: it is only configuration files - no jar changes. I am trying to get these stripped from the war but thats a difficult process, i know i can do it in about 5 seconds but its a 'process' thing and then the war is 'different' Is what i am asking not possible? One can nest

Tomcat tracks at the ApacheConUS2009

2009-06-17 Thread jean-frederic clere
Hi, The Tomcat PMC has prepared the tracks of Tomcat for the ApacheCon US 2009. The first track is the official Tomcat Wednesday track the second one will be held in a small room (50) on Thursday after the main track. Drafts of the tracks are available at

Pointers on diagnosing session and thread hangs

2009-06-17 Thread Pete Helgren
We are having a devil of a time tracking down why a web app is hanging while running in Tomcat. We are running version 5.5.27 in Windows XP with 2Gb RAM. The symptom is that randomly a user will report that they cannot log into the application. When we view the Tomcat application using

RE: Beginner with apache

2009-06-17 Thread Hracek, Petr
Finally the servlet is working. Could you please tell me how to deploy the application to tomcat from command line? Is it enough to copy the application to the specific tomcat directories and afterwards restart tomcat? regards / S pozdravem Petr Hráček -Original Message- From: Hracek,

Re: Reading POSTed data

2009-06-17 Thread Tim Funk
Change your loop to be: int i; while ((i=in.read())) { out.write(i); } available() - Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. So its not an accurate gauge of how much

RE: SSL Configuration Problem, can not open https://localhost:8443

2009-06-17 Thread Caldarale, Charles R
From: yuting lv [mailto:yutin...@gmail.com] Subject: Re: SSL Configuration Problem, can not open https://localhost:8443 I found another tcnative-1.dll file under C:\windows\system32 directory too, I would remove it - that .dll should only be in Tomcat's bin directory. - Chuck THIS

Web Container Authentication Via LDAP for a JSPWiki

2009-06-17 Thread Stefan Kuhn
Hi, i have configured a Web Container Authentication Via LDAP with the instructions from this page: http://www.jspwiki.org/wiki/WebContainerAuthenticationViaLDAP I can now login to the wiki, but have problems with the rights, it isn't even possible to read pages. The web.xml seems to be

Serving images from classes directory

2009-06-17 Thread Susan G. Conger
This may be a bit weird, however there is a reason for it. I need to be able to serve images from the classes directory of my web app. The web app is created using another companies program and all of the code is in the classes directory. I want to add an images directory and put all of my

Re: Just a few questions on my Tomcat Configuration

2009-06-17 Thread Josh Gooding
On Wed, Jun 17, 2009 at 12:02 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: Just a few questions on my Tomcat Configuration No, the appBase attribute defines where *all* of the Host webapps go, each in its own

Mix http and https on one tomcat server?

2009-06-17 Thread Bruce Edge
Is it possible to deploy both http and https on the same tomcat instance? I'd like to expose https to the external IP addr and http to 127.0.0.1. How is this configured in the xerver.xml file? I'm using apache cxf if that matters. Thanks -Bruce P.S. Apologies if this is a resend, I have just

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread CBy
Thanks for pointing me in the right direction André. A ServletContextListener fixed my problem. André Warnier wrote: CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the

DBCP connection pool exhausted, can I trace borrowed connnections from pool?

2009-06-17 Thread Arrowx7
Using mysql JDBC driver. Somewhere in the appilcation, the connections are drawn from the DBCP pool, and never returned. I did dataSource.getNumActive() and dataSource.getNumIdle(). There are 2 idle connections, and 88 active connections. Somewhere in my web application a process does not

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread André Warnier
CBy wrote: Thanks for pointing me in the right direction André. A ServletContextListener fixed my problem. My own contribution was minimal, and due mainly to the fact that I am eavesdropping on the real Tomcat experts conversations here and remembering some things, even if I never used them

RE: DBCP connection pool exhausted, can I trace borrowed connnections from pool?

2009-06-17 Thread Propes, Barry L
You have leaks all over the place! You'll need to go explicitly close your connections with myriad try/catch/finally blocks and see if you can start shoring it up that way! -Original Message- From: Arrowx7 [mailto:aluminum3...@yahoo.com] Sent: Wednesday, June 17, 2009 9:45 AM To:

Re: DBCP connection pool exhausted, can I trace borrowed connnections from pool?

2009-06-17 Thread Filip Hanik - Dev Lists
set properties removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true This will expire leaked connections and print out the stack trace from where they were acquired. Filip Arrowx7 wrote: Using mysql JDBC driver. Somewhere in the appilcation, the connections are drawn from the

RE: Just a few questions on my Tomcat Configuration

2009-06-17 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: Just a few questions on my Tomcat Configuration This is what I was trying to figure out. How can I add one on the fly without restarting Tomcat each time I add / remove a subdomain. It's theoretically possible, since the APIs

RE: Serving images from classes directory

2009-06-17 Thread Caldarale, Charles R
From: Susan G. Conger [mailto:sus...@bfcassociates.com] Subject: Serving images from classes directory I need to be able to serve images from the classes directory of my web app. Try using ClassLoader.getResourceAsStream() to read the image, then write it to the response output stream.

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
So there isn't any easy way to do this without using java? I was just wanted to use a different url and have them served up correctly. Can you give me/point me to an example of what you are talking about below? Thanks, Susan -Original Message- From: Caldarale, Charles R

RE: Mix http and https on one tomcat server?

2009-06-17 Thread Caldarale, Charles R
From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Mix http and https on one tomcat server? Is it possible to deploy both http and https on the same tomcat instance? Of course. Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html

Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread Mladen Turk
If you didn't know... From the 1999 news: The Jakarta Project was announced by the Apache developer community and Sun Microsystems, Inc. on the 15th of June, 1999 at JavaOne. It will be composed of members from the current Apache JServ Project, Sun, IBM, and other corporations as well as all

Re: Serving images from classes directory

2009-06-17 Thread Hassan Schroeder
On Wed, Jun 17, 2009 at 6:56 AM, Susan G. Conger sus...@bfcassociates.com wrote: This may be a bit weird, however there is a reason for it.  I need to be able to serve images from the classes directory of my web app. I have to ask -- why? It seems a pointless complication... -- Hassan

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
The web app is made by another company that screen scrapes/translates a mainframe app and then makes a web app out of it. They store this in their classes directory. So in order to keep everything together and make maintenance and deployment easier, I would like to have all of the generated code

Re: Serving images from classes directory

2009-06-17 Thread Hassan Schroeder
On Wed, Jun 17, 2009 at 9:04 AM, Susan G. Conger sus...@bfcassociates.comwrote: The web app is made by another company that screen scrapes/translates a mainframe app and then makes a web app out of it. They store this in their classes directory. So in order to keep everything together and

Re: Mix http and https on one tomcat server?

2009-06-17 Thread Bruce Edge
On Wed, Jun 17, 2009 at 8:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Mix http and https on one tomcat server? Is it possible to deploy both http and https on the same tomcat instance? Of course. Read the

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
As I said. It is not a web app that I have created. It is generated by a third party development environment. If I want my stuff to play nice with their stuff then I have to wedge my stuff into their stuff. Which is located under the classes directory. I don't make the rules I just try to

Re: Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread Markus Schönhaber
Mladen Turk: So, wish us happy anniversary :) Congratulations! And thanks for a decade of good work! -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

RE: Mix http and https on one tomcat server?

2009-06-17 Thread Caldarale, Charles R
From: Bruce Edge [mailto:bruce.e...@gmail.com] Subject: Re: Mix http and https on one tomcat server? I assume that I need a different connector for each, so I changed the 8080 redirector in server.xml: Put it back the way it was; the redirectPort attribute is required so a switch to HTTPS

RE: Serving images from classes directory

2009-06-17 Thread Caldarale, Charles R
From: Susan G. Conger [mailto:sus...@bfcassociates.com] Subject: RE: Serving images from classes directory If I want my stuff to play nice with their stuff then I have to wedge my stuff into their stuff. So what is your stuff? Still haven't heard an explanation of why you think images

Re: Serving images from classes directory

2009-06-17 Thread Hassan Schroeder
On Wed, Jun 17, 2009 at 9:24 AM, Susan G. Conger sus...@bfcassociates.comwrote: As I said. It is not a web app that I have created. It is generated by a third party development environment. If I want my stuff to play nice with their stuff then I have to wedge my stuff into their stuff.

Re: Serving images from classes directory

2009-06-17 Thread Tim Funk
If the images are physical images in the classes directory - you have a few options. 1) At build time - move (or copy) the files from the classes directory to somewhere more sane that the default servlet can access 2) Write a filter the detects these images that live in the classes dir, and

Re: mod_jk does not recognize extension

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 6/17/2009 3:45 AM, Rainer Jung wrote: Thanks, added as r785498 in a slightly different wording. Will be part of 1.2.29. Does that mean that the website has to wait for 1.2.29 to be released for an update? It would be great if the doc

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
Thanks Tim. I don't have control during build because that is done by the third party tool. I am not going to mention their name. I was hoping that this would be easy. You know a servlet mapping in the web.xml file that would allow me to just map the directory/file type and I could just put

Re: Reading POSTed data

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 6/16/2009 11:24 PM, Kyle Brantley wrote: The getParameter() calls are going to be of little to no value for me. The data isn't in a form where those calls would recognize them. Unless I'm missing something very obvious...? No, if you're

Re: Serving images from classes directory

2009-06-17 Thread Pid
Susan G. Conger wrote: Thanks Tim. I don't have control during build because that is done by the third party tool. I am not going to mention their name. I was hoping that this would be easy. You know a servlet mapping in the web.xml file that would allow me to just map the directory/file

Re: Serving images from classes directory

2009-06-17 Thread Tim Funk
The filter (below) can be made smarter to perform smarter checks - so regular images could be excluded. -Tim Susan G. Conger wrote: Thanks Tim. I don't have control during build because that is done by the third party tool. I am not going to mention their name. I was hoping that this would

Re: Reading POSTed data

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/17/2009 4:06 AM, André Warnier wrote: Sorry to interrupt, but actually guys I believe that the problem is due to the way the data is POSTed, which in this case is - I believe - invalid. See

Error with Solr configuration in Tomcat container

2009-06-17 Thread Mukerjee, Neiloy (Neil)
When trying to integrate Tomcat 6.0.20 and Solr 1.3.0, I get the below error after trying to view the Solr admin page. I downloaded Tomcat from the Apache website, and its installation went well, as indicated by the fact that I can see the Apache Tomcat page in my browser when typing in my IP

Re: Address based security profile?

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce, On 6/16/2009 7:44 PM, Bruce Edge wrote: I have tomcat working with ssl, but I'd like to allow localhost clients to use no authentication. Is it possible to deploy the same service with authentication to external addresses and no auth to

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On 6/17/2009 4:33 AM, CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the JVM when Tomcat shuts down. My web

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
The template files are in the classes directory. This is a web app that is deploying it's own web app. So it is rather convoluted. The web app that gets deployed is my web app while the web app doing the developing is the third party tool. Thanks, Susan -Original Message- From: Pid

RE: Error with Solr configuration in Tomcat container

2009-06-17 Thread Caldarale, Charles R
From: Mukerjee, Neiloy (Neil) [mailto:neil.muker...@alcatel-lucent.com] Subject: Error with Solr configuration in Tomcat container The file solrconfig.xml is in /solr/conf/ in the Tomcat directory That wording is a bit ambiguous, since it's not clear what you mean by the Tomcat directory;

Re: Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread Ken Bowen
+1 exp 10! On Jun 17, 2009, at 12:28 PM, Markus Schönhaber wrote: Mladen Turk: So, wish us happy anniversary :) Congratulations! And thanks for a decade of good work! -- Regards mks - To unsubscribe, e-mail:

Re: DBCP connection pool exhausted, can I trace borrowed connnections from pool?

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arrow, On 6/17/2009 10:44 AM, Arrowx7 wrote: Using mysql JDBC driver. Somewhere in the appilcation, the connections are drawn from the DBCP pool, and never returned. I did dataSource.getNumActive() and dataSource.getNumIdle(). There are 2 idle

unsubscribe request

2009-06-17 Thread veena pandit
UNSUBSCRIBE

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread CBy
Thank you, Christopher. It appears that I now have to ways to solve my problem. Calling shutdown() stops the threads orderly, so I think I'll opt for the ContextListener, although I am not 100% sure. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On

RE: unsubscribe request

2009-06-17 Thread Mukerjee, Neiloy (Neil)
In order to unsubscribe from the list, send an e-mail to unsubscr...@tomcat.apache.org -Original Message- From: veena pandit [mailto:v.kri...@gmail.com] Sent: Wednesday, June 17, 2009 2:03 PM To: users@tomcat.apache.org Subject: unsubscribe request UNSUBSCRIBE

Re: Serving images from classes directory

2009-06-17 Thread Pid
Susan G. Conger wrote: The template files are in the classes directory. This is a web app that is deploying it's own web app. So it is rather convoluted. The web app that gets deployed is my web app while the web app doing the developing is the third party tool. For reference then, we'll

RE: Serving images from classes directory

2009-06-17 Thread Susan G. Conger
I started with the authors of the tool app and they said it was a tomcat limitation. Basically can't be done. So I figured I would try the list before I took their word for it. Yes, I use the tool to modify the template files. But that is basically just editing html using the tool. When the

Re: unsubscribe request

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neiloy, Amusingly enough, the email address you posted was wrong, but it's correct in the footer (users-unsubscr...@tomcat.apache.org). - -chris On 6/17/2009 2:04 PM, Mukerjee, Neiloy (Neil) wrote: In order to unsubscribe from the list, send an

Re: Pointers on diagnosing session and thread hangs

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 6/17/2009 8:33 AM, Pete Helgren wrote: I am not an expert by any stretch in Tomcat internals so what I need is a way to determine what is causing the sessions to hang and the threads to begin to grow beyond the maximum (650 in our case).

Re: tomcat 6 - setting classpath

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, On 6/17/2009 7:43 AM, Tom Brown wrote: it is only configuration files - no jar changes. If your code uses getResourceAsStream(), then the classpath will be checked. The webapp's classpath will essentially be

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On 6/17/2009 2:04 PM, CBy wrote: Thank you, Christopher. It appears that I now have to ways to solve my problem. Calling shutdown() stops the threads orderly, so I think I'll opt for the ContextListener, although I am not 100% sure. I'd

RE: Serving images from classes directory

2009-06-17 Thread Caldarale, Charles R
From: Susan G. Conger [mailto:sus...@bfcassociates.com] Subject: RE: Serving images from classes directory This is a web app that is deploying it's own web app. Isn't that illegal in some states/countries? The web app that gets deployed is my web app while the web app doing the

Re: Serving images from classes directory

2009-06-17 Thread Pid
Susan G. Conger wrote: I started with the authors of the tool app and they said it was a tomcat limitation. Basically can't be done. What is 'it', precisely? If they control the tool app then why can't they specify a location to place scripts, stylesheets and images, so that they output in

Re: Serving images from classes directory

2009-06-17 Thread David kerber
Susan G. Conger wrote: The template files are in the classes directory. This is a web app that is deploying it's own web app. So it is rather convoluted. The web app that gets deployed is my web app while the web app doing the developing is the third party tool. Thanks, Susan

RE: Error with Solr configuration in Tomcat container

2009-06-17 Thread Martin Gainty
Bonjour looking for solr configuration file solrconfig.xml i would ask the folks at solr about this as they could send you or at least suggest a working solrconfig.xml configuration is available at http://wiki.apache.org/solr/SolrConfigXml http://lucene.apache.org/solr/mailing_lists.html A

Re: Reading POSTed data

2009-06-17 Thread Kyle Brantley
Tim Funk wrote: available() - Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. So its not an accurate gauge of how much content is available from the client. That explains that quite

Re: [OT] Apache mod_jk HTTPS problem

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Attacus, On 6/16/2009 4:04 PM, attacus wrote: NameVirtualHost *:443 This ain't gonna work: SSL negotiation occurs /before/ the HTTP headers are sent, meaning that the VirtualHost has already been chosen before the Server header can be inspected.

Re: Session replication using only PersistenceManager + JDBCStore

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yves, On 6/17/2009 6:04 AM, Yves Glodt wrote: In my setup are 4 apaches with mod_proxy which connect to 4 tomcats. In front of the apaches is a hardware balancer which does round-robin, but with a kind of sticky TCP-sessions, so mostly the

RE: Error with Solr configuration in Tomcat container

2009-06-17 Thread Mukerjee, Neiloy (Neil)
The issue was indeed in the Java options in the startup file for Tomcat. In order to fix the issue, all I had to do was go to /etc/init.d/, edit the Tomcat startup file to include: explort JAVA_OPTS=$JAVA_OPTS -Dsolr.solr.home=/usr/local/tomcat6.0.20/solr, and restart Tomcat. Thank you!

Problems with juli ClassLoaderLogManager.readConfiguration()

2009-06-17 Thread Matt Passell
I'm working with a set of webapps running on Tomcat 6.0.20 that use java.util.logging (aka JDK1.4 Logging) for legacy reasons. Since the webapps each have their own logging configuration, I followed the instructions on the Tomcat logging page (

Re: Serving images from classes directory

2009-06-17 Thread André Warnier
Susan, have a look at this : http://tuckey.org/urlrewrite/ This is a servlet filter, which kind of wraps your webapp, intercepting all calls before they reach your webapp. On the way, it allows you to modify the request URL (for instance), to for example to redirect the call to some simple

Re: Serving images from classes directory

2009-06-17 Thread Tsirkin Evgeny
What is your OS? If this a *nix - then you have make sure that Web-INF is readable for the world, this is NOT good .On the other hand you could just create a soft link to whatever they have there... Evgeny On Wed, Jun 17, 2009 at 9:20 PM, Susan G. Conger sus...@bfcassociates.comwrote: I

Redeploy application

2009-06-17 Thread Tokajac
Hello, Whenever i want to deploy new version of application (that's VERY often), have to: stop tomcat; execute build.xml -ant script; start tomcat; Is there any way, target in ant, that can make this easier? Regards P.S.

Re: Reading POSTed data

2009-06-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/17/2009 4:06 AM, André Warnier wrote: Sorry to interrupt, but actually guys I believe that the problem is due to the way the data is POSTed, which in this case is - I believe - invalid. See

Re: Error with Solr configuration in Tomcat container

2009-06-17 Thread André Warnier
Mukerjee, Neiloy (Neil) wrote: ... The file solrconfig.xml is in /solr/conf/ in the Tomcat directory, but I'm not sure how to interpret the current working directory, and Googling this error hasn't led me in any direction. Any suggestions as to where to go from here would be greatly

Re: Redeploy application

2009-06-17 Thread Jonathan Mast
try: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html On Wed, Jun 17, 2009 at 4:53 PM, Tokajac imre_to...@hotmail.com wrote: Hello, Whenever i want to deploy new version of application (that's VERY often), have to: stop tomcat; execute build.xml -ant script; start tomcat;

Re: Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread André Warnier
+1 multiplied by the number of websites powered by Apache httpd. I don't know what else anyone could say that would be a greater endorsement and thank you. Ken Bowen wrote: +1 exp 10! On Jun 17, 2009, at 12:28 PM, Markus Schönhaber wrote: Mladen Turk: So, wish us happy anniversary :)

Re: Error with Solr configuration in Tomcat container

2009-06-17 Thread André Warnier
Martin Gainty wrote: Bonjour ... Bon Chance Martin Martin, the correct spelling is Bonne Chance. In French, Chance is a woman. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

RE: Reading POSTed data

2009-06-17 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Reading POSTed data Maybe I am interpreting this one step too far, but it seems to me from all this, that the designers of the Servlet Spec at least, were only planning for form data, in pairs of parameter=value, and not for one big

RE: Error with Solr configuration in Tomcat container

2009-06-17 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Error with Solr configuration in Tomcat container In French, Chance is a woman. Any response to that is bound to get someone in trouble... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

Re: Redeploy application

2009-06-17 Thread Tokajac
http://localhost:8080/manager/deploy?path=/appname but i get: Access to the requested resource has been denied with user: tomcat; pass: tomcat Can you explain step-by-step the redeployment configuration, please? Regards Jonathan Mast-2 wrote: try:

Re: Error with Solr configuration in Tomcat container

2009-06-17 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Error with Solr configuration in Tomcat container In French, Chance is a woman. Any response to that is bound to get someone in trouble... For good balance though, Malchance is also of the feminine

Re: Reading POSTed data

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/17/2009 4:58 PM, André Warnier wrote: Christopher Schultz wrote: Note that [restricted content-type] is an HTML thing, not an HTTP thing. HTML forms may only be sent using two distinct Content-Types, but HTTP POST can do anything it

Re: Redeploy application

2009-06-17 Thread Jonathan Mast
dude, step-by-step instructions are on that page, its actually one of the more clear and concise how-tos provided by tomcat. On Wed, Jun 17, 2009 at 5:21 PM, Tokajac imre_to...@hotmail.com wrote: http://localhost:8080/manager/deploy?path=/appname but i get: Access to the requested resource

Re: Reading POSTed data

2009-06-17 Thread Kyle Brantley
André Warnier wrote: To me thus, the correct way - and the only way a browser would do it - to POST this data, would be in the form of a multipart/form-data body, itself composed of a MIME header and a body that would be the XML blob. If I may: function loadXMLDoc(xmlRequest) {

Re: Reading POSTed data

2009-06-17 Thread David Smith
André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 6/17/2009 4:06 AM, André Warnier wrote: Sorry to interrupt, but actually guys I believe that the problem is due to the way the data is POSTed, which in this case is - I believe -

Re: Reading POSTed data

2009-06-17 Thread André Warnier
Kyle Brantley wrote: ... My point, is that it is entirely possible for a browser to POST data to a resource without sending it as multipart/form-data or application/x-www-form-urlencoded. Hey! that is cheating. You never mentioned Javascript before. ;-) But true. I wasn't thinking of

Re: Reading POSTed data

2009-06-17 Thread André Warnier
David Smith wrote: Having had to recently do some SOAP work, it looks to me that is at least partially what the OP was trying to begin with. SOAP performs a POST with XML as the body of the request. It's not URI encoded parameters or multipart data like the HTML Form posts, but a standard

Re: Reading POSTed data

2009-06-17 Thread Kyle Brantley
André Warnier wrote: Kyle Brantley wrote: ... My point, is that it is entirely possible for a browser to POST data to a resource without sending it as multipart/form-data or application/x-www-form-urlencoded. Hey! that is cheating. You never mentioned Javascript before. ;-) But true. I

Re: Pointers on diagnosing session and thread hangs

2009-06-17 Thread Pete Helgren
Thanks Chris. I'll see if I can get the relevant sections from the server.xml. The folks who have access to the server have gone home for the day. You said: Can you also post a thread dump? I'm surprised that Tomcat is exceeding (or appearing to exceed) its own limit on request processing

RE: Reading POSTed data

2009-06-17 Thread Martin Gainty
Kyle- i would like to hear some more on how to represent blob with title or content-type metadata an example would be axis2 1.4 HexBinary or Base64Binary (BLOBS) accompanied by a String title such as what is represented by this xmime.xsd xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;

Session replication fails on ReplicationValve invocation

2009-06-17 Thread David Nillesen
Hi, I'm currently trying to establish a cluster of tomcat 5.5.27 servers to deploy sakai in, so I'm stuck on version 5.5. It is not an option to upgrade to tomcat 6 which from all accounts has much better session replication. I have cluster membership up and working via

Re: Just a few questions on my Tomcat Configuration

2009-06-17 Thread Josh Gooding
Oh I love a good theory! Maybe each company would have a customized few pages each with their own directories, tied to their own schema, etc, but point to the core application in another directory. Everyone would see their own front ends, but use a common framework in the backend maybe? That is

  1   2   >