domain name mapping

2009-12-23 Thread DebasisM
Hi All, I am running many web application on tomcat.I just want to map the domain name by which if i shifts the server from one machine to other user won't come to know about the url change.Example my url is now-http://kmsrv9:8090/svn.If i shift the server to other machine then url would be http:

Re: Getting Servlet-api.jar source.

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime, On 12/15/2009 5:50 AM, Jaime Carmona Loeches wrote: > Where Can I download Servlet-api.jar source? For the most part, the servlet-api.jar contains only interfaces. The concrete classes are pretty much trivial. Is there anything in particular y

Re: Www-authenticate ...

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/23/2009 2:13 PM, Mark Thomas wrote: > On 23/12/2009 16:49, Christopher Schultz wrote: >> The servlet specification actually makes DIGEST authentication optional >> for spec0compliant containers, which is interesting. There is also no >> (s

Re: submitting more patches

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/20/2009 4:23 PM, André Warnier wrote: > Rainer Jung wrote: > ... >> >> They might not have existed at the time the original translation was >> done (or the original author is still thinking about the right french >> servlet grammar ...).

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
On Dec 23, 2009, at 2:36 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 01:46 PM, John Tangney wrote: On Dec 23, 2009, at 12:19 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 11:42 AM, John Tangney wrote: it's failing on this operation: socket.setInterface(mcastBindAddress); There is a

Tomcat server in Spanish language computer shows grove

2009-12-23 Thread SRama
Dear All, I am using my application in Spanish language computer but when I start tomcat server it shows grove Catalina started. But I want to know one thing server console output will show Server: Catalina started 16/12/2009 10:06:21 AM org.apache.catalina.core.AprLifecycleListener init INFO:

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread Filip Hanik - Dev Lists
On 12/23/2009 01:46 PM, John Tangney wrote: On Dec 23, 2009, at 12:19 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 11:42 AM, John Tangney wrote: it's failing on this operation: socket.setInterface(mcastBindAddress); There is a small chance that Window's doesn't allow multicast sockets t

Tomcat Statup issue

2009-12-23 Thread SRama
Dear All, I have deployed my web application on tomcat 6.0 server , server get started but application not running. Can you please help I have attached console start up output. please let me know any thing wrong in config files.. 14/12/2009 05:28:34 PM org.apache.catalina.core.AprLifecycleListen

Re: Remote Database connections

2009-12-23 Thread Pid
On 23/12/2009 21:31, jared.r.kn...@gmail.com wrote: Windows, Mysql, Java 1.6.0_13 I was able to deploy the JasperServer war to JBoss just fine after setting up my data sources, so this is no longer a critical issue, although it would be nice to be able to deploy just using Tomcat. You're usi

Re: Remote Database connections

2009-12-23 Thread Pid
On 23/12/2009 17:35, jknipp wrote: I'm running Tomcat 5.5 with Jasper Reports and a simple test application that attempts to connect to a remote data source. However, when I execute the jsp for testing connectivity, the page just hangs with no error message in the log. My database is accessible

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
On Dec 23, 2009, at 12:19 PM, Filip Hanik - Dev Lists wrote: On 12/23/2009 11:42 AM, John Tangney wrote: it's failing on this operation: socket.setInterface(mcastBindAddress); There is a small chance that Window's doesn't allow multicast sockets to be bound to an IP try removing the "bind"

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread Filip Hanik - Dev Lists
On 12/23/2009 11:42 AM, John Tangney wrote: Thanks for your response, Filip! On Dec 23, 2009, at 6:05 AM, Filip Hanik - Dev Lists wrote: sorry, ignore previous post, Yeah, I had the same reaction to 224.0.0.0 but it works when one Tomcat is running, so I assumed it's OK. it's failing on

Re: Www-authenticate ...

2009-12-23 Thread Mark Thomas
On 23/12/2009 16:49, Christopher Schultz wrote: > The servlet specification actually makes DIGEST authentication optional > for spec0compliant containers, which is interesting. There is also no > (standard) way to configure the algorithm for DIGEST authentication. > Tomcat allows you to do it using

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread John Tangney
Thanks for your response, Filip! On Dec 23, 2009, at 6:05 AM, Filip Hanik - Dev Lists wrote: sorry, ignore previous post, Yeah, I had the same reaction to 224.0.0.0 but it works when one Tomcat is running, so I assumed it's OK. it's failing on this operation: socket.setInterface(mcastBi

Remote Database connections

2009-12-23 Thread jknipp
I'm running Tomcat 5.5 with Jasper Reports and a simple test application that attempts to connect to a remote data source. However, when I execute the jsp for testing connectivity, the page just hangs with no error message in the log. My database is accessible via ping, telnet, etc but I cannot c

Re: Www-authenticate ...

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/21/2009 7:34 AM, André Warnier wrote: > insi wrote: >> Hi, >> >> My tomcat server is sending www-authenticate (digest) header but the >> header >> doesn't contain the algorithm field, which one is choosen by default? > MD5 >> How do I specify i

Re: 404 for JSPs

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Clay, On 12/20/2009 9:32 PM, Clay McCoy wrote: > When I run embedded Tomcat my jsps 404, but my servlets work. When I > run standard (by putting my war on the Tomcat/webapps directory) my > servlets 404 but my jsps work (without any css). Can anyone s

Re: question about Tomcat5.5 getServletContext().getContext(String url);

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/22/2009 4:35 AM, André Warnier wrote: > In other words, [that code] is trying to get the context of a webapp which > should > be located at webapps/File. > If you do not have such a webapp, then that is the reason for the > message above

Re: j_security_check not working with flash

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Papado, On 12/21/2009 5:23 PM, vpapado wrote: > Thank you for fast reply. > I try everything. Open in different browser, etc. > But the whole login procedure seems to result to error from Tomcat when I > have my flash on the login.jsp page. > When I r

Re: Tomcat 5.5.17 - allowLinking property - symbolic links

2009-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/22/2009 4:33 AM, Mark Thomas wrote: > On 22/12/2009 08:58, Vishwa. K wrote: >> thanks Mark, >>But I was wondering why Tomcat did not remove the complete directory >> itself.(softlink target directory). It removed only the nested files

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread Filip Hanik - Dev Lists
sorry, ignore previous post, it's failing on this operation: socket.setInterface(mcastBindAddress); There is a small chance that Window's doesn't allow multicast sockets to be bound to an IP try removing the "bind" attribute Filip On 12/23/2009 06:48 AM, Filip Hanik - Dev Lists wrote: addr

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread Filip Hanik - Dev Lists
address="224.0.0.0" that's not an IP, the last 0 is not allowed, must be 1-254 Filip On 12/22/2009 05:36 PM, John Tangney wrote: We run two tomcats on the same Windows Server 2008 box. They have their server.xml tweaked so that they use unique ports. Here's a diff: $ diff server.xml /cygdrive

Re: Every couple hours, Tomcat stops - FIXED

2009-12-23 Thread Pid
On 22/12/2009 18:44, Bruce wrote: Juha, The problem is fixed. My customer's site has been up for 24 hours with no problems. The problem became apparent when I went to the JVM line in localhost:8080/manager/status. That was showing .5 MB free memory. I went to the configure Tomcat. I clicked on

Re: Error running two tomcats in same cluster on same Windows box

2009-12-23 Thread Pid
On 23/12/2009 00:36, John Tangney wrote: We run two tomcats on the same Windows Server 2008 box. They have their server.xml tweaked so that they use unique ports. Here's a diff: $ diff server.xml /cygdrive/c/Program\ Files/Apache\ Software\ Foundation/Tomcat\ 6.0/conf/server.xml 22c22 < ---

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Tsirkin Evgeny
As Johan already pointed (or almost pointed ) out. check the domain & path of the JSESSIONID cookie . If those are different then that's why you get 2 of them. Evgeny On Wed, Dec 23, 2009 at 10:52 AM, Johan Thorselius < johan.thorsel...@gmail.com> wrote: > Hi Ron, > > Actually, there is an Apache

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Konstantin Kolinko
In a valve Request.getSession() can return null. See how it is implemented. (org.apache.catalina.connector.Request) -> getSession(), doGetSession(boolean) I do not know, why it happens in your circumstances. 2009/12/23 Johan Thorselius : > Hi Ron, > > Actually, there is an Apache in front of Tom

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Johan Thorselius
Hi Ron, Actually, there is an Apache in front of Tomcat when on Linux (sorry about that vital detail), can that create the problem ? I will check the configuration of Apache with other staff, can't be before x-mas. Thanks - Johan 2009/12/23 Ron McNulty > Hi Johan > > Two JSESSIONID values do