Tomcat not setting session cookies ??

2006-06-15 Thread Mon Cab
Hi All of a sudden tomcat has stopped settign session cookies. I have been developing on my local machine for approx 1yr. Now, When I goto my webapps home page. (http:/127.0.0.1:8080/webapp), tomcat is rewriting the URL as http://127.0.0.1:8080/webapp/Welcome.do;jsessionid=DAF0604E76E234C157A9

Re: MOD_JK load balancing algorithm?

2006-06-15 Thread Pankaj DHINGRA
Are you using sticky sessions? if you are using sticky sessions, the apache will route all the requests from the same user to the same server. this property is defined in worker.properties file. Thanks, Pankaj Edmon Begoli wrote: MOD_JK documentation says that mod_jk is employing weighted roun

Re: flushing system.out

2006-06-15 Thread Mir Kasim Ali
Can u tell me which OS ure using and what version of Tomcat On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote: i'm printing stuff out to system.out in tomcat, but it doesn't get flushed till the end of the request. (i've tried system.out.flush()) has anyone got solutions to this problem

Re: Tomcat SSL, how to set up with clientAuth="true".

2006-06-15 Thread frankpeng
Hi, Sorry I made a mistake with the file name: truststoreFile="d:\tomcat\conf\truststore-itcilo.jks" It should be: truststoreFile="d:\tomcat\conf\truststore-itcilo2.jks" Now both IE and Netscape have entered the SSL session but they cannot get through. I think the reason is that both IE and N

Tomcat SSL, how to set up with clientAuth="true".

2006-06-15 Thread frankpeng
Hi, List! I have set up a SSL connection for my Tomcat 5.5.17 to a database connection using SSL. In my CATALINA_OPTS, there are some parameters to define where the store files are. It is like this: -Djavax.net.ssl.keyStore= -Djavax.net.ssl.keyStorePassword= The JDBC driver works fine with t

flushing system.out

2006-06-15 Thread Nishant Deshpande
i'm printing stuff out to system.out in tomcat, but it doesn't get flushed till the end of the request. (i've tried system.out.flush()) has anyone got solutions to this problem? i'm not sure if its a tomcat problem or some OS / jvm thing... thanks --

Apache with Tomcat and session affinity problem

2006-06-15 Thread Sharma, Siddharth
I have IBM HttpServer 2.0 (it is an apache essentially) fronting two tomcat instances (version 5.5.16) using mod_jk over ajp13. I have configured a load balancer worker to spray load across two workers representing these two tomcat instances. And it works. The problem is I do not see a session

Re: Import file > 3gb possible?

2006-06-15 Thread Mark Thomas
Tim Funk wrote: > It should be. But you cannot use request.getContentLength() to get the > length of the posted data. You will need to get the Content-Length > header and parse it to a long. Things like this were done in tomcat5 for > serving files larger than 2GB. I am unsure if there is anything

Re: How one can use different versions of classes on differenet webapps

2006-06-15 Thread Mark Thomas
Dmitry S. Kravchenko wrote: > But the library is in permanently development, so we have new and new > versions of it every several months. Sometimes it is not backward > compatible. So we need old applications work with old version of library and > new -- with new. Is it possible? Wouldn't these fi

extending Embedded (basically copying Catalina) - Address already in use: JVM_Bind:80

2006-06-15 Thread Robert Koberg
Hi, I want to use a standard startup the same way startup.sh -> catalina.sh -> Bootstrap -> Catalina handles it. I want to make the (standard)server available to a custom manager in the main webapp. I want to be able to start up a Context when a user enters a project in my webapp (i.e. I don

Re: Tomcat SSL, how to set up clientAuthenticaton

2006-06-15 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

How one can use different versions of classes on differenet webapps

2006-06-15 Thread Dmitry S. Kravchenko
Hi! We have some library, that we use in our web applications. We put jars of this library into WEB-INF/lib directory of each application. But the library is in permanently development, so we have new and new versions of it every several months. Sometimes it is not backward compatible. So we need

Re: can't save a context.--both work

2006-06-15 Thread Jay G. Scott
> > ok... > just for the sake of problem identifying: can you stop your tomcat > go into webapps directory, create a new directory foo > change into foo, create an empty WEB-INF directory. > > copy a plain html and a plain jsp file into webapps/foo, like foo.jsp > and foo.html > > try http://hos

Tomcat SSL, after clientAuth="false" worked, how to set up to "true"?

2006-06-15 Thread frankpeng
Hi, I have followed this procedure twice and all are failed at the browsers. Some one please help to work out a proceducre so that we can set up clientAuth="true" after clientAuth="false" worked. Now, in this procedure, there are 3 aliases, itcilo_ca, map-test and santiago, which I cannot underst

Re: can't save a context.

2006-06-15 Thread Leon Rosenberg
ok... just for the sake of problem identifying: can you stop your tomcat go into webapps directory, create a new directory foo change into foo, create an empty WEB-INF directory. copy a plain html and a plain jsp file into webapps/foo, like foo.jsp and foo.html try http://host:port/foo/foo.html

can't save a context.

2006-06-15 Thread Jay G. Scott
okay. i'm being seen. thanks for that, at least. i can't save a context. I go to catalina-> localhost->make a context i put in the paths. i click save, it says save successful. i click commit changes. i then try to use the context, on a file some vendor supplied, called about.jsp. it does no

Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Filip Hanik - Dev Lists
how are you redirecting to http://localhost/Dir1/serverMessage.html Filip Mann, Bradley wrote: Hello, I have Tomcat running a web application behind HTTPD using the Jakarta connector. Here is my scenario: I navigate to http://localhost/Dir1/ This is essentially a login page for my web app

Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Mann, Bradley
Hello, I have Tomcat running a web application behind HTTPD using the Jakarta connector. Here is my scenario: I navigate to http://localhost/Dir1/ This is essentially a login page for my web application. The login link directs to http://localhost/webapps/MyApp/servlet/Login?Tool=X And HTTPD us

Re: is anyone seeing my posts? i need help.

2006-06-15 Thread Leon Rosenberg
yes, we do, whats the problem once again? On 6/15/06, Jay G. Scott <[EMAIL PROTECTED]> wrote: i've posted a couple of times. i need help. i can't tell if anyone is seeing the posts, or no one is replying, or what. would someone at least acknowledge that the posts are getting in? j. -- Jay

is anyone seeing my posts? i need help.

2006-06-15 Thread Jay G. Scott
i've posted a couple of times. i need help. i can't tell if anyone is seeing the posts, or no one is replying, or what. would someone at least acknowledge that the posts are getting in? j. -- Jay Scott 512-835-3553[EMAIL PROTECTED] Head of Sun Support, Sr. Operating

Tomcat 5.5 / IIS 6 web server log question

2006-06-15 Thread 0 8
Hello, I have Tomcat 5.5 and IIS 6 integrated using isapi_redirect.dll. So far, they are working together just fine. I noticed in my IIS web server logs that the GET requests are not being recorded as I would expect. I'm currently seeing... GET /jakarta/isapi_redirect.dll ...when I expected

mod_jk and vhosts and webapps deployed under "/" context

2006-06-15 Thread Amir Mistric
Hi I was wondering if someone can tell me how to mount webapp via mod_jk when webapp is deployed under "/" context using vhosts... Here is the scenario: I have 2 webapps deployed under "/" context on Tomcat using vhosts When I access http://webapp1.domain.ext:8080/ I get webapp1 http

Tomcat SSL, how to set up clientAuthenticaton

2006-06-15 Thread frankpeng
Hi, I am setting up a client authentication for Tomcat. I followed the following procedure but failed browsers. It says the issuer not found. Also I found another complete instruction which says 2 files are needed to import into browser's machine. I am trying to name the CN and the OU to match t

MOD_JK load balancing algorithm?

2006-06-15 Thread Edmon Begoli
MOD_JK documentation says that mod_jk is employing weighted round robin load balancing. However, if all workers are assigned weight of one I do not see exact round robin I would expect. I do not see uniform round robin distribution among peer servers I would expect to see. It seems that there is

RE: Tomcat java processes eat processor.

2006-06-15 Thread Peter Crowther
> From: Rick Cockerham [mailto:[EMAIL PROTECTED] > When I do a 'top' and look at the java threads I > have a few threads a day that never stop and eat the system. [...] > how can I see what's going on in that thread? > I do not have console access to the machine, so it has to be > done through

Tomcat java processes eat processor.

2006-06-15 Thread Rick Cockerham
Hello all, I've been using tomcat and apache for years, but haven't had a problem like this before. I'm running: Gentoo Linux 1.4, ibm-jdk-1.4.1, postgresql, tomcat4 and apache2 I've been running the same application for about five years now. The usage has grown to the point where I get a

RE: tomcat

2006-06-15 Thread Peter Crowther
> From: Jignesh Shah [mailto:[EMAIL PROTECTED] > After deploying my application on tomcat, I need to > upload few files in my application. Some files can be > as large as 7MB. The code used to work fine on JRUN > and works fine generally on Tomcat, however sometimes > when I am in https mode, I se

tomcat

2006-06-15 Thread Jignesh Shah
Hi, After deploying my application on tomcat, I need to upload few files in my application. Some files can be as large as 7MB. The code used to work fine on JRUN and works fine generally on Tomcat, however sometimes when I am in https mode, I see out of memory errors. So do I have to set some para

Re: Import file > 3gb possible?

2006-06-15 Thread Tim Funk
It should be. But you cannot use request.getContentLength() to get the length of the posted data. You will need to get the Content-Length header and parse it to a long. Things like this were done in tomcat5 for serving files larger than 2GB. I am unsure if there is anything in the way in tomcat

RE: Import file > 3gb possible?

2006-06-15 Thread Bob Damato
I'd imagine the JVM heap would have to be cranked up well over 2GB to handle that too. If you are using the 32 bit JVM, you might not be able to set the heap over 2GB. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 11:02 AM To: Tomcat Users

Re: Import file > 3gb possible?

2006-06-15 Thread David Kerber
Terry Orechia wrote: Is it possible to import a large file greater than 3 gigabytes to a tomcat web server? I am running tomcat 4.1 on debian with Tomcat/Apache JK2 Connector . I upload a file using multipart/form data on http Post request to servlet. I have successfully uploaded a file that

Import file > 3gb possible?

2006-06-15 Thread Terry Orechia
Is it possible to import a large file greater than 3 gigabytes to a tomcat web server? I am running tomcat 4.1 on debian with Tomcat/Apache JK2 Connector . I upload a file using multipart/form data on http Post request to servlet. I have successfully uploaded a file that was just under 2 g

RE: Template tool

2006-06-15 Thread GB Developer
Velocity can do 'templates as Strings'. > -Original Message- > From: Michael Rimov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 6:38 PM > To: 'Tomcat Users List' > Subject: RE: Template tool > > > > > does it can handle templates from String or has to > be templ

Re: Newbie - question about tld or dtd files

2006-06-15 Thread Wendy Smoak
On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: How can I place them locally? In the office where I work, we have a fire wall and I get connection error messages when I try to use www whatever in my jsps or in other files. This is most likely a problem with a DOCTYPE declaration in on

Re: Newbie - question about tld or dtd files

2006-06-15 Thread Wendy Smoak
On 6/15/06, Tim Lucia <[EMAIL PROTECTED]> wrote: xyzzy.jsp: <%@ taglib uri="/tags/struts-bean" prefix="bean" %> web.xml: /tags/struts-bean /WEB-INF/struts-bean.tld Then place the actual tld file where the element says it should be. This is not necessary if you're using a Ser

RE: Newbie - question about tld or dtd files

2006-06-15 Thread Tim Lucia
xyzzy.jsp: <%@ taglib uri="/tags/struts-bean" prefix="bean" %> web.xml: /tags/struts-bean /WEB-INF/struts-bean.tld Then place the actual tld file where the element says it should be. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thurs

Re: Tomcat Service on Windows.

2006-06-15 Thread Martin Gainty
In services if you locate the Tomcat service and click on Properties/Log on..You will see which user to invoke Tomcat service HTH, Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is address

Re: Configure SSL

2006-06-15 Thread Mark Thomas
ngolehung84 wrote: > But if I have 2 site: > http://localhost/site1/ > http://localhost/site2/ > and I want only site1 use SSL, site2 does not! > So what must I do? > Thanks in advance! Put the security constraint in the applications web.xml file rather than the global one. Mark ---

Newbie - question about tld or dtd files

2006-06-15 Thread carrie . latimer
How can I place them locally? In the office where I work, we have a fire wall and I get connection error messages when I try to use www whatever in my jsps or in other files. Carrie Latimer Florida's Turnpike Enterprise Tolls Data Center Main 561.488.5361 SC 247.5361 Fax 561.470.6615 Mobile: 561

Re: help getting jsvc up and running on sles9 on ibm pseries (power5)

2006-06-15 Thread Christian Andersson
anyone? Christian Andersson wrote: > Hi there, I have a small problem that I'. hoping that you can help me solve. > > I want to be able to run tomcat on a server that we have available at a > hosting firm. > > I can get tomcat up and running on it witohut problem, as long as I > don't try to use

Re: Ip on the diferent apps on Tomcat

2006-06-15 Thread Tim Funk
tomcat.apache.org/faq/security.html#restrict -Tim Julio Rios wrote: Hello I have one machine with this release: Información de Servidor Versión de Tomcat: Apache Tomcat/5.5.17 Versión JVM: 1.4.2_01-b06 Vendedor JVM: Sun Microsystems Inc. Nombre de SO: Windows XP Versión de SO: 5.1 Arquitectura

Re: downloaded JK binaries for Linux - which to use? workers or prefork?

2006-06-15 Thread Nikola Milutinovic
--- Kim Albee <[EMAIL PROTECTED]> wrote: > yes -- but what is the difference? i'm running Fedora Core 3 on a single > processor Linux box, running Apache 2.x > > what does prefork mean? vs. worker? Basically, PreFork is the old MPM from Apache 1.3 series and forks one process for each new requ

RE: Template tool

2006-06-15 Thread Sanjeev Kumar Bhat, Noida
--- Begin Message --- You can also have your templates in a database. There is a way to tell the velocity engine to load templates from a database. From: Michael Rimov [mailto:[EMAIL PROTECTED] Sent: Thu 6/15/2006 5:08 AM To: 'Tomcat Users List' Subject: RE: Temp

Ip on the diferent apps on Tomcat

2006-06-15 Thread Julio Rios
Hello I have one machine with this release: Información de Servidor Versión de Tomcat: Apache Tomcat/5.5.17 Versión JVM: 1.4.2_01-b06 Vendedor JVM: Sun Microsystems Inc. Nombre de SO: Windows XP Versión de SO: 5.1 Arquitectura de SO: x86 In this server I have two application and one web server u