RE: Read-Only Context with Tomcat + Hibernate

2006-02-15 Thread Abraham Fdez
Yeah Kenevel, I know this (This is what I am doing) but I want to give a name to Hibernate's SessionFactory like "mailto:[EMAIL PROTECTED] Enviado el: miércoles, 15 de febrero de 2006 14:46 Para: Tomcat Users List Asunto: Re: Read-Only Context with Tomcat + Hibernate Abraham Fdez wrote: > I'm ma

Re: NetBeans Servlet Compilation & Deployment

2006-02-15 Thread Mike Reynolds
Mike Reynolds <[EMAIL PROTECTED]> wrote: I created a project in NetBeans choosing Samples->Web->Tomcat Servlet Example, and yet it does not create a WAR file on compilation. Relax. Yahoo! Mail virus scanning helps detect nasty viruses!I ment to say, it creates a JAR file instead of a WAR file.

Re: Assistance required

2006-02-15 Thread Prashant Saraf
why u want to configure server.xml and web.xml, jdbc with mysql download mysql-connector-java respect to your mysql server. flow it's docs. On 2/16/06, Medha Parathasarathy <[EMAIL PROTECTED]> wrote: > > Hi, > > I am new to tomcat. I am trying to configure tomcat, jdbc and mysql. I > am facing pro

NetBeans Servlet Compilation & Deployment

2006-02-15 Thread Mike Reynolds
Is there a basic reference on how to create a simple servlet with NetBeans 4.1 and deploy it to Tomcat? I created a project in NetBeans choosing Samples->Web->Tomcat Servlet Example, and yet it does not create a WAR file on compilation. And of course once I'm past that I have to figure out how to

Assistance required

2006-02-15 Thread Medha Parathasarathy
Hi, I am new to tomcat. I am trying to configure tomcat, jdbc and mysql. I am facing problem in the configuration of jdbc. Can some body assist me with a prototype of server.xml and web.xml environement fedore core4 regards -- http://www.fastmail.fm - A no graphics, no pop-ups email service

test

2006-02-15 Thread Hiroshi Iwatani
This is a test. Sorry for disturbance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

is it ok to run tomcat 3.3 in jre 1.4?

2006-02-15 Thread Akoulov, Alexandre
Hi all, we need to urgently fix one web app that runs in tc 3/ java 1.3. The fix is only available with java 1.4. My question is: can we run tomcat 3.3 in java 1.4.2_10 Kind regards, Sasha. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 Fe

RE: New to apache / Tomcat

2006-02-15 Thread Caldarale, Charles R
> From: Andrew English [mailto:[EMAIL PROTECTED] > Subject: RE: New to apache / Tomcat > > Could it be they are running both? Certainly could be, but I would have to wonder why... > I looked through all the jboss folders and found nothing related to > catalina just the files which make up the w

Re: VirtualHost + SSL and only one ip

2006-02-15 Thread gsexton
No its not possible. Here's a link to the FAQ for Apache that discusses the issues. http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts > Hello, > > is it posible to have differnet VirtualHost host1..com and > host2..com and, > All with different SSL-Keys but ony one IP. > > I'm

Re: Re: context error

2006-02-15 Thread jacky
BTW, if i remove the from the server.ml, then tomcat can start. but i can't login the manager tool which is http://localhost:8080/manager/html with admin/admin, and still can't access myworkflow by http://localhost:8080/myworkflow/ Best Regards. jacky - Original Messa

Re: Re: context error

2006-02-15 Thread jacky
hi, RedHat7.3, J2sdk1.4.2_10 server.xml is the default server.xml:

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
See my previous post it's on agnes the command java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron and on ovea-inspiron start comand : java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 agnes the ouput as the same a the other tests but tcpdump info are now :

VirtualHost + SSL and only one ip

2006-02-15 Thread Haluk Durmus
Hello, is it posible to have differnet VirtualHost host1..com and host2..com and, All with different SSL-Keys but ony one IP. I'm running tomcat 5.5.12 on Linux lot of thanks in advance, Haluk - To unsubscribe, e-m

RE: New to apache / Tomcat

2006-02-15 Thread Andrew English
Hi Chuck, Could it be they are running both? Their folder structure is: ASNWeb\JbossTomcat\catalina ASNWeb\JbossTomcat\jboss I know that catalina runs under Windows Services along with 3 other services related to it, and I know from looking in the catalina folder and reading the readme.txt fil

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
I've been developing with Tomcat for years, and I never really know about this issue. I'd have to say that it must not be a widely known issue. Perhaps since the security picture has changed over the past couple of years its time to revisit this issue. George Sexton MH Software, Inc. http://www

RE: New to apache / Tomcat

2006-02-15 Thread Caldarale, Charles R
> From: Andrew English [mailto:[EMAIL PROTECTED] > Subject: New to apache / Tomcat > > As for the Windows Tomcat server it looks something like > c:\asnweb\jboss_tomcat\jboss\catalina\ssar.e\ssapp (as example), and > when you look for the asn.html file on the windows machine you find it > in tota

Re: Performance issues with tomcat 5

2006-02-15 Thread Leon Rosenberg
Thank you very much David, seems like we have to upgrade. On 2/15/06, David Bishop <[EMAIL PROTECTED]> wrote: > Hi, > > I was running Apache Cocoon with Tomcat 5.0.28 and a Sun 1.4.2 JVM. > > Unexpectedly the system was falling over at a certain load and not > gracefully slowing down. At a certain

New to apache / Tomcat

2006-02-15 Thread Andrew English
I work for a company that had to recently let go its IT/Dev staff because of issues. This company runs Tomcat 4.03 on Windows 2003 Server with Catalina, and has Apache running on a Linux machine. Being use to IIS and not really having a lot of experience with Tomcat I had hit a few road blocks a

Re: New isapi_redirect.dll issues

2006-02-15 Thread Mark Thomas
David Thielen wrote: > I put all of the requested files in a zip at > http://www.windward.net/tomcat_error.zip along with my registry settings. > The errors have not occurred yet but I will leave it running (this is our > production system) and I am sure I will get the errors by morning. I will > p

isapi_redirect suggestion

2006-02-15 Thread David Thielen
Hi; I think the following log items should be level info instead of debug: [Wed Feb 15 16:02:01 2006] [1680:4084] [debug] jk_shm.c (134): Initialized shared memory size=67584 free=65536 addr=0x187 [Wed Feb 15 16:02:01 2006] [1680:4084] [debug] jk_isapi_plugin.c (1166): Using registry. [W

New isapi_redirect.dll issues

2006-02-15 Thread David Thielen
Hi; I put all of the requested files in a zip at http://www.windward.net/tomcat_error.zip along with my registry settings. The errors have not occurred yet but I will leave it running (this is our production system) and I am sure I will get the errors by morning. I will post those then. Tha

Tomcat problems.

2006-02-15 Thread Angel Prieto
Hello, I'm having some problems with apache+tomcat with this configuration: Apache 2.0.51 (on Fedora Core 2) Tomcat 5.0.28 JDK 1.4.0_04 Mod_jk connector for FC2. Sometimes system goes down and we don't have any idea what the reason is. We get this error sometimes: 10-feb-2006 10:05:02 org.apa

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
ok, we will work through it one item at the time. show me the output from both servers MCaster program (not the tcpdump) when they run simultanously. Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
Yes you're right i' ve a problem in my /etc/hosts as you can see in my response to Hanik. I hope this type of thread can help people to save time. Because some skills are necessary for reolve the problem. Thank you Paul ;) On 2/15/06, Paul Smith <[EMAIL PROTECTED]> wrote: > > Is the multicast g

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
You're right so : 1 - I reboot my too servers agnes : 192.168.2.102 and ovea-inspiron : 192.168.2.103 2 - I test the multicat on each server for that, I start on agnes the command java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron output : Usage MCaster [

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
> -Original Message- > From: Joey Geiger [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 15, 2006 2:27 PM > To: 'Tomcat Users List' > Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox) > > Oddly enough, the banks don't even care about this. > > US Bank, for ex

Re: classloader issue?

2006-02-15 Thread Boris Unckel
Rik Claesen wrote: Thnx Boris, I forgot to mention it. The assist.jar is currently located in the WEB-INF/lib. and ...this is working fine as long as the security manager is not active. Maybe to put this into the system path would solve your problem. But I think it is better to solve the secu

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Joey Geiger
Oddly enough, the banks don't even care about this. US Bank, for example, claims their login on the front page is "secure" and has you enter your account data into a non https form. After the browser sends the information, it then redirects to a secure(https) link. I wrote them about this, and th

Re: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Filip Hanik - Dev Lists
Adam and Mallory have to stop shopping! =) this debate has been going on for years, you just caught onto to it now, and I was in it last time, don't plan on participating again. Have fun with it though!! Filip George Sexton wrote: An even simpler case: Adam visits a banking site. On enter

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
An even simpler case: Adam visits a banking site. On entering the site he gets a cookie. Mallory snoops the session ID on the data stream. Adam then authenticates to read his account information. The application sets a session attribute (say a bean with the account name and number) on the sess

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
> -Original Message- > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 15, 2006 1:16 PM > To: Tomcat Users List > Subject: Re: Session Expires At Every Request (Tomcat5.0.28/Firefox) > > George Sexton wrote: > > Does the code transparently create a ne

RE: Question about caseSensitive - how does it work?

2006-02-15 Thread Bob Faist
My guess is that the web app name will need to be treated as case sensitive regardless of the configuration. http://localhost:8080/tomcat-docs/INDEX.html http://localhost:8080/tomcat-docs/index.html Both of these work for serving static content. http://localhost:8080/TOMCAT-DOCS/index.html Thi

Re: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Filip Hanik - Dev Lists
George Sexton wrote: Does the code transparently create a new JSessionID value then? George, you might wanna rethink your comments, they don't shine any light on the issue and they for sure don't state any facts, let me prove you I am right. Below is the headers I tracked with LiveHttpHeaders

Re: question about JNDIRealm and OpenLDAP with access control

2006-02-15 Thread Gary
Gary wrote: Hi, I have JDNIRealm set in the context.xml like this connectionURL="ldap://localhost:389"; userPattern="uid={0},ou=people,dc=example,dc=com" userRoleName="affiliation" /> Authentication works fine until I added this to slapd.conf access

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Paul Smith
Is the multicast going over the 127.0.0.1 instead? We've had this problem before (redhat el3), and to fix it, you have to make sure that in /etc/hosts that localhost is bound to a real IP address and not 127.0.0.1. for some reason, in Java it always seems to want to stick to the local int

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
Does the code transparently create a new JSessionID value then? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 15, 2006 12:48 PM > To: Tomcat User

Re: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Filip Hanik - Dev Lists
sessions started in non-ssl mode should carry over to SSL, but not the other way around. Filip Joey Geiger wrote: You do realize that sessions don't carry over between SSL and non-SSL request don't you? What is the proper/best way to go about this then, since I will be facing a simila

Re: New isapi_redirect.dll has problems

2006-02-15 Thread Mark Thomas
One more thing, turn up the logging level to debug and post the sequence of log messages associated with one of these odd URLs. Cheers, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: New isapi_redirect.dll has problems

2006-02-15 Thread Mark Thomas
David Thielen wrote: > Hi; > > I checked the registry - it's using the workers.properties.minimal I believe > (but I would be happier if it logged the files it uses). > > The problem with the urls it should not touch only showed up with the new > version from Mark - that never happened before. >

RE: LoginModule JAAS and Tomcat (initialize method is not called)

2006-02-15 Thread Vincent Delhommois
Thanks for your answer. You are right.I tried several positions. I'm sure that the conf file is used. In my conf file : MyLoginModule { com.gcatrans.testappli.MyLoginModule required debug=true app=testAppli; }; I don't know where is made the mapping between the realm name and the conf file...

Re: Question about caseSensitive - how does it work?

2006-02-15 Thread David Kerber
I have read it several times, each time more carefully than the last, and googled several dozen references, and the way I read that doc and everything else, it should work the way I describe. But I cannot get it to work and it's driving me nuts! I'm aware of the security implications, but at

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
In my shopping cart application, I create a cart with a unique (random) id and track the request type (secure/non-secure). If they invoke the program from an SSL request, and the previous request was non-SSL then I create a new cart with a new unique ID, copy the information from the insecure car

Re: Question about caseSensitive - how does it work?

2006-02-15 Thread Mark Thomas
David Kerber wrote: > With the trouble I've been having with getting caseSensitive="false" to > work in my app, I got to wondering if it really does what I think it > does on Windows XP. I strongly suggest you read the documentation for this attribute before you go any further. http://tomcat.apach

Re: Performance issues with tomcat 5

2006-02-15 Thread David Bishop
Hi, I was running Apache Cocoon with Tomcat 5.0.28 and a Sun 1.4.2 JVM. Unexpectedly the system was falling over at a certain load and not gracefully slowing down. At a certain number of concurrent users it was returning very strange errors including Java Out of Memory errors, but only aft

Re: Change Max Post Size

2006-02-15 Thread Mark Thomas
Diwan, Dronesh (Genworth, Contractor) wrote: > Thanks Carl for the update.We have already tried changing maxPostSize in > the Connector tag option but it does not work. Works for me. Did you restart Tomcat after the change? Mark -

RE: App will work on localhost but blank on client PC.

2006-02-15 Thread Alexander Alekseev
I checked server.xml and found So I changed the value to 43, and was able to access http://192.168.2.100:8447/ from the server (before could only access localhost:8447 Still can't access 192.168.2.100:8447 from client PC's -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Joey Geiger
>>You do realize that sessions don't carry over between SSL and non-SSL >>request don't you? What is the proper/best way to go about this then, since I will be facing a similar situation in the near future? (Shopping cart bean, customer bean saved in the session.) Thanks. -Original Message-

Re: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Filip Hanik - Dev Lists
for FireFox - use LiveHttpHeaders and the webDeveloper plugins to examine requests/responses cookies and more I think chuck might be onto something Filip Caldarale, Charles R wrote: From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] Subject: RE: Session Expires At Every Request (Tomcat5.0.

RE: LoginModule JAAS and Tomcat (initialize method is not called)

2006-02-15 Thread Caldarale, Charles R
> From: Vincent Delhommois [mailto:[EMAIL PROTECTED] > Subject: Re: LoginModule JAAS and Tomcat (initialize method > is not called) > > I start Tomcat with the following option : > set > JVM_OPTS=-Djava.security.auth.login.config=D:/Appl/eclipse/wor > kspace2/testAppli/jaas.conf

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Caldarale, Charles R
> From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] > Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox) > > As the problem occurs with a live site, you can see > it yourself at www.tophotelchoices.com. (OT: A bit depressing to see a Holiday Inn at Aylesbury - I used to l

Re: LoginModule JAAS and Tomcat (initialize method is not called)

2006-02-15 Thread Vincent Delhommois
I start Tomcat with the following option : set JVM_OPTS=-Djava.security.auth.login.config=D:/Appl/eclipse/workspace2/testAppli/jaas.conf (in the catalina.bat) My jaas.conf is : /** Login Configuration for the JAAS **/ MyLoginModule { com.gcatrans.testappli.MyLoginModule required

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread George Sexton
You do realize that sessions don't carry over between SSL and non-SSL request don't you? You can't have a session ID that carries over from a non-ssl session to an SSL session because that session ID is compromised (it has been exposed) as plain text. As an aside, I looked at your form. You shoul

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
As the problem occurs with a live site, you can see it yourself at www.tophotelchoices.com. Do a search for any hotel. You will see the results. By the time the results page is loaded your session has expired but you do not know. Click on the "Book" or "Request" button of any hotel and you wil

RE: Tomcat 5.5.15 Context Reloading issue

2006-02-15 Thread Joey Geiger
Well, I discovered the cause of the bug, and I can now stop it from happening, but I'm unable to *fix* the problem. The top logging statement works properly, while the commented one does not. The NullPointer on the date occurs because a date is not being sent to the logger when the context is rel

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
I tried with NetScape and Opera to see what happens. For NetScape the first time I tried it was ok up to the stage that I switched to SSL. At that step, I lost my session. After trying several times again I noticed NetScape was ok. With Opera all works fine, like with IE, from the beginning.

question about JNDIRealm and OpenLDAP with access control

2006-02-15 Thread Gary
Hi, I have JDNIRealm set in the context.xml like this connectionURL="ldap://localhost:389"; userPattern="uid={0},ou=people,dc=example,dc=com" userRoleName="affiliation" /> Authentication works fine until I added this to slapd.conf access to * by

Configuring a web application at the container level

2006-02-15 Thread Matt Munz
Hi all, Here's a newbie question -- I'm looking forward to RTFM :) I would like to find a consistent way to do application-specific configuration of a web application. Is there a best-practice for this that you might recommend? Consider the following example. I have a hello world applicati

Question about caseSensitive - how does it work?

2006-02-15 Thread David Kerber
With the trouble I've been having with getting caseSensitive="false" to work in my app, I got to wondering if it really does what I think it does on Windows XP. My interpretation of the doc description is that when caseSensitive=:"false", I should be able to have a document root and context p

LoginModule JAAS and Tomcat (initialize method is not called)

2006-02-15 Thread Vincent Delhommois
Hello, I developped my own LoginModule which is very simple for the moment. I wanted to know if I have to create the JAAS configuration file ? If yes where you I locate it ? When I start Tomcat, the constructor of the LoginModule is well called but Tomcat failed before the initialize method. Tom

Problem with hosting web application on tomcat / error 404 for an exists file

2006-02-15 Thread Legolas Woodland
Hi Thank you for reading my post. I have a web application which i developed and works well on my tomcat 5.5.9 Now i purchase a hosting plane with tomcat 5.5.9 it is on linux and have cpanel. they said that i should upload all contents of my war file into http_doc folder , so i did I used ftp to

RE: Change Max Post Size

2006-02-15 Thread Diwan, Dronesh \(Genworth, Contractor\)
didn't work. http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html Thanks Dronesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 1.1409 (20060215) Infor

Error using java archives

2006-02-15 Thread Eduardo Clemos
Im trying to display data from an java object in a web page, invoking the method toString implicitly. The java programs run ok, I have tested them. But when I include the tag <%=resp%> (the object resp is of type Respuesta) I obtain this result in Tomcat: Error in servlet generated: The t

RE: Change Max Post Size

2006-02-15 Thread Carl Olivier
omcat-5.5-doc/config/ajp.html Thanks Dronesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 1.1409 (20060215) Information __ This message was che

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
David, you are all over the place. Slow down for a second. my guess is that one of your interfaces is not doing what you think it is doing. follow these simple steps 1. Make sure that your multicast is working 2. Stop all your tomcat processes 3. Make sure nothing else is broadcasting on the s

Change Max Post Size

2006-02-15 Thread Diwan, Dronesh \(Genworth, Contractor\)
Any idea on how to change the maxPostSize in the Connector instead of using the dafault values. I have problem in uploading files > 2 MB. I tried setting different values as prescribed but it didn't work. http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html Thanks Dronesh

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
Yes all right ! INFO: Register manager /cluster-1.0-SNAPSHOT to cluster element Host with name localhost Feb 15, 2006 10:47:32 AM org.apache.catalina.cluster.session.DeltaManagerstart But Why my mcastAddress is good ! now i' ve a new error Feb 15, 2006 10:50:41 AM org.apache.catalina.c

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
I try it and the multicast seems OK ? On 2/15/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > > It is a multicast problem, your second box is not receiving any > multicast messages, only from itself. > > To run this test properly, you will need to shutdown your tomcats, then > run MCaster

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
Not at the stage that this problem occurs. SSL is used further on when the user logs in to make a payment but the SSL pages are never reached with FireFox because of the early timeout. With IE all is ok, including SSL connections. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[

Tomcat & JNDI -> javax.naming.NamingException: Cannot create resource instance

2006-02-15 Thread Claus Giesenberg (1&1 Privat)
Hi ! While writing a custom JNDI Resource factory, Tomcat 5 runs into an exception i can't explain: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:132) at javax.naming.spi.NamingManager.

Re: password protection

2006-02-15 Thread David Delbecq
Zohar Amir a écrit : > Thank you again, > I've set a security-constraint on the context (in the web.xml), and it > works OK now. > What I'd like to know is: > 1. Can I do it anywhere else other than the web.xml, so that the > deployer can control this and not the developer? No, but on some webapp

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
In principle, one could try the below (a stand-alone jsp) which resides in my application with a timeout of 30 minutes: <[EMAIL PROTECTED] import="java.util.Enumeration,java.util.Date" contentType="text/html"%> <[EMAIL PROTECTED] pageEncoding="UTF-8"%> JSP Page <% Enumeration reqHead

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread alexandre.tastet
Are you using SSL connection ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ache.org]De la part de Michael Andreas Omerou Envoye : mercredi 15 fevrier 2006 16:34 A : 'Tomcat Users List' Objet : RE: Session Expires At Every Request (Tomcat5.0.28/Firefox) It is 30 m

Re: password protection

2006-02-15 Thread Zohar Amir
Thank you again, I've set a security-constraint on the context (in the web.xml), and it works OK now. What I'd like to know is: 1. Can I do it anywhere else other than the web.xml, so that the deployer can control this and not the developer? 2. Can I set it for a group of contexts, so that they

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
It is 30 minutes. If I do request.getSession().getMaxInactiveInterval() I get 1800 (seconds I guess) which is the correct value for 30 minutes. Michael >-Original Message- >From: Earnie Dyke [mailto:[EMAIL PROTECTED] >Sent: 15 February 2006 17:25 >To: Tomcat Users List >Subject: RE: Se

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
It is a multicast problem, your second box is not receiving any multicast messages, only from itself. To run this test properly, you will need to shutdown your tomcats, then run MCaster on both machines at the same time, if both machines are not receiving messages from each other (like your ex

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Earnie Dyke
The META tags should not have an effect on cookies. Firefox would not be the one that expires your session, Tomcat would. Do you have a session timeout specified in your application? Earnie! -Original Message- From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] Sent: Wednesday, Febru

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
Ok, thanks. Obviously I'm missing something, then. I'll keep digging... Bob Faist wrote: I'm using Tomcat 5.5.14 and jdk 1.5.0_06. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 9:44 AM To: Tomcat Users List Subject: Re: Can't ge

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
Hi Earnie, Cookies are allowed at the browser. It seems for some reason that at then end of loading each JSP firefox expires my session. I use some meta tags (, , ) and also set the corresponding header values using response.setHeader but even if I remove them nothing changes. Michael >-Or

Re: Apache / mod_jk / Multiples instances of Tomcat

2006-02-15 Thread David Avenante
You can see this URL http://www.paulkimbrel.com/?p=3 my configuration for me with one apache in front on two tomcat (for my tests) is : after install mod_jk of course ;) httpd.conf : # Load mod_jk module LoadModulejk_modulemodules/mod_jk.so JkWorkersFile /etc/apache2/workers.properties J

RE: Can't get caseSensitive="false" to work

2006-02-15 Thread Bob Faist
I'm using Tomcat 5.5.14 and jdk 1.5.0_06. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 9:44 AM To: Tomcat Users List Subject: Re: Can't get caseSensitive="false" to work Thanks for the response, but I still can't get it to go. I se

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
Thank you very much for the toolkit ;) My feeling was also on my multicast support. But i' ve read more documentation for my Linux and i think that my servers support MULTICAST like explaned on my first message (compile kernel support and add route + test with tcpdump) So this toolkit seems confir

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Earnie Dyke
Are you blocking cookies at the browser? Earnie! -Original Message- From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 10:06 AM To: 'Tomcat Users List' Subject: Session Expires At Every Request (Tomcat5.0.28/Firefox) Anybody has an idea what could

Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-15 Thread Michael Andreas Omerou
Anybody has an idea what could be causing what I describe in the below two emails? >-Original Message- >From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED] >Sent: 15 February 2006 13:10 >To: 'Tomcat Users List' >Subject: RE: Session Problems with Firefox > >Further to my below email I

webapp references, classloaders and GC (oh my)

2006-02-15 Thread Tim Lucia
I have a question about references held to my webapp from Tomcat. I have observed the behavior below on both Red Had EL V.4, and on WinXP, using Tomcat 5.5, and JDK 1.5. I used JProfiler to trace the allocations. Some background: The environment here is such that we have a shared sandbox for QA,

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Peter Rossbach
Can you test your config without the parameter mcastBindAddress="xx"? Peter Am 15.02.2006 um 14:35 schrieb David Avenante: Yes MULTICAST is enabled i see that by too fact : first, ifconfig eth0 : eth0 Link encap:Ethernet HWaddr 00:13:D4:45:A6:3F inet addr:192.168.2.102 Bc

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
Thanks for the response, but I still can't get it to go. I set up another server with the entries in the context.xml instead of in server.xml, so things are where the docs recomment, but still nothing. I've put the caseSensitive="false" in both the one in /conf, and in META-INF with no luck.

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Peter Rossbach
Am 15.02.2006 um 15:11 schrieb Filip Hanik - Dev Lists: >1)Clustering need sticky_session=true and is only design for failover (see servlet spec). Not true for Tomcat, using replicationMode="pooled" and waitForAck="true", you can do round robin non sticky load balancing as long as yo

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
>1)Clustering need sticky_session=true and is only design for failover (see servlet spec). Not true for Tomcat, using replicationMode="pooled" and waitForAck="true", you can do round robin non sticky load balancing as long as you don't have more than one thread accessing the session at any

Apache / mod_jk / Multiples instances of Tomcat

2006-02-15 Thread Farid Izem
Hi all, I'm currently trying to build a Apache load balancings against multiples instances of Tomcat. On my host, i have three instances of Tomcat (ie using CATALINA_BASE variable), each listening on differents ports for AJP Connector. On the same server, i have an Apache using Mod_jk. Is it pos

RE: Can't get caseSensitive="false" to work

2006-02-15 Thread Bob Faist
I know that it works in conf/context.xml. Can you just setup a minimal config in the context.xml file? WEB-INF/web.xml According to the docs, the server.xml is not recommended place to put setup. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html -Original Message

Re: Can't get caseSensitive="false" to work

2006-02-15 Thread David Kerber
Nobody has any suggestions on this? I still can't get it to go. Thnaks! Dave David Kerber wrote: I read the thread from last week about case-sensitivity, and did some additional googling when it didn't work, but still can't get my Tomcat 5.5.12 on Win2k, running with Java 1.5.0_06 to be case

Re: Read-Only Context with Tomcat + Hibernate

2006-02-15 Thread Kenevel
Abraham Fdez wrote: > I'm making a Web application with Apache + Tomcat + Mod_Jk + > Hibernate + Postgresql. I need that hibernate binds factory to JNDI > but when I do that it gives me and error that context is read-only. >From memory Tomcat has a JNDI context that is read-only, but which can acc

Read-Only Context with Tomcat + Hibernate

2006-02-15 Thread Abraham Fdez
Hi all, I’m making a Web application with Apache + Tomcat + Mod_Jk + Hibernate + Postgresql. I need that hibernate binds factory to JNDI but when I do that it gives me and error that context is read-only. Is there any method to implement this or any config tag that makes context writable?.

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread David Avenante
Yes MULTICAST is enabled i see that by too fact : first, ifconfig eth0 : eth0 Link encap:Ethernet HWaddr 00:13:D4:45:A6:3F inet addr:192.168.2.102 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX

Performance issues with tomcat 5

2006-02-15 Thread Leon Rosenberg
Hi, has someone ever estimated the max possible load for tomcat? We are suffering from very odd behaviour, as long as tomcat/machine is under certain load it works very well, but then it just "breaks a magical limit" and the performance breaks down. Tomcat or the JVM are starting to leak memory (w

Re: password protection

2006-02-15 Thread David Delbecq
http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html http://www.cafesoft.com/products/cams/tomcat-security.html for other ones, use favorite search engine. Zohar Amir a écrit : > Thanks, > Where can I find info on how exactly to do this? maybe an example...? > - Original Message - F

Re: password protection

2006-02-15 Thread Zohar Amir
Thanks, Where can I find info on how exactly to do this? maybe an example...? - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, February 15, 2006 2:52 PM Subject: Re: password protection Zohar Amir a écrit : Hello, I'm using tom

Re: password protection

2006-02-15 Thread David Delbecq
Zohar Amir a écrit : > Hello, > I'm using tomcat 5.5.15 on Win XP. > I have a servlet that is deployed on a certain context. I would like > anyone trying to use that servlet use a username-password. how do I do > this? set a security-constrain in WEB-INF/web.xml > What if I need to protect a jsp

Re: classloader issue?

2006-02-15 Thread Rik Claesen
Thnx Boris, I forgot to mention it. The assist.jar is currently located in the WEB-INF/lib. and ...this is working fine as long as the security manager is not active. Rik From: "Boris Unckel" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: classloader i

RE: Setting up a parallel test environment on the same machine as main server

2006-02-15 Thread Tim Lucia
I believe you need to have a virtual host in Tomcat for each one on Apache. I also believe that the name of the workers is irrelevant, as is the IP address over which they communicate -- as long as the servers are bound to the right address(es). All differentiation takes place on the host header o

  1   2   >