Tomcat with SSL

2004-04-16 Thread Hiemer, Bernhard
Hi at all! I´m trying to configure my Tomcat-Standalone for SSL-Support. I use Win XP, JRE 1.3.1 and JSSE 1.0.3_02. The Tomcat-Versions I tried are 4.1.30 and 5.0.19. I worked along the HOW-TO on the Jakarta-Website: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html BUT I receive

Re: Migrating from Tomcat404 to Tomcat5019. Problem with Filter

2004-04-16 Thread Antonio Fiol Bonnín
Two things I would double-check: a) The approach of creating a PrintWriter at constructor time. Is that the right way of doing that? b) Think of implementing flush and/or close for your ServletOutputStream. HTH (but these are mostly wild guesses) Antonio Fiol Alex Moots wrote: I've been

Re: shared/lib again...

2004-04-16 Thread Veniamin Fichin
Julio César Aguilar wrote: If you use multiple instance Tomcat's feature, this may be the case. In Windows I'm using a single instance of tomcat, there's no CATALINA_BASE so it should be the same as CATALINA_HOME if I understand correctly. Then I don't know... My installation is that:

RE: Session persistance

2004-04-16 Thread Johan Wasserman - CPX Mngd Services
Any luck Anu? I have exactly the same request... I need to serialize the session (HttpSession to a byte array) and save it to a blob in MySql (i use Hibernate). I have tried, for example; ... ByteArrayOutputSream baos = new ByteArrayOutputstream(); ObjectOutputStream oos = new

RE: Session persistance

2004-04-16 Thread Filip Hanik \(lists\)
that will not work from a war file, cause you only get a facade to the actual session. in order to serialize a session you need access to the tomcat internal classes. what I suggest you do though is that you create session attribute listeners and store your sessions there. there should also be

Vedr.: IIS and Tomcat security

2004-04-16 Thread Thomas Nybro Bolding
Yes it does. request.getRemoteUser() in your JSP gives you the IIS authenticated user. Make sure your IIS is set to Integrated Windows authentication and insert request.tomcatAuthentication=false in your jk2.properties file. /Thomas Insyde [EMAIL PROTECTED] 15-04-2004 18:06 Besvar

Tomcat Administration

2004-04-16 Thread Lee Chin Khiong
Can't login into tomcat administration. /admin/. not found. why ?

domino redirector

2004-04-16 Thread Luca Saccarola
Hi Guys, using tomcat v4.1.27 with domino jk connector v1.2.5 on a red hat v7.3 (kernel 2.4.20-28.7) based system. All works fine as long as a request for a servlet that implement an http upload is made: file transfer will succeed but every additional servlet request call the already loaded

HttpProcessor Problem - Starting background thread

2004-04-16 Thread Namasivayam, Sudhakar (Cognizant)
Hi, My webapp was running fine for 2 days when suddenly, a static thread had stopped... this thread should be always alive I searched the logs but find only this entry 2004-04-16 13:43:41 HttpProcessor[8080][6] Starting background thread What does this mean? Please can any tell me the

Re: jk connector build / configure failure

2004-04-16 Thread Christoph P. Kukulies
On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote: On 4/15/2004 10:28 PM, C. Kukulies wrote: In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build jakarta-tomcat-connectors-jk-1.2.5-src/jk/native

Re: Re: Thanks!

2004-04-16 Thread tomcat-user
Please read the attached file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

jk.log error messages - english grammar

2004-04-16 Thread C. Kukulies
[Fri Apr 16 11:17:29 2004] [jk_uri_worker_map.c (500)]: Attempting to map URI '/servlets-examples' [Fri Apr 16 11:17:29 2004] [jk_uri_worker_map.c (514)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match worker2 - /servlets-examples [Fri Apr 16 11:17:29 2004] [jk_worker.c

Mail Delivery (failure tomcat-user@jakarta.apache.org)

2004-04-16 Thread tomcat-user
If the message will not displayed automatically, follow the link to read the delivered message. Received message is available at: www.jakarta.apache.org/inbox/tomcat-user/read.php?sessionid-27983

Re: jk connector build / configure failure

2004-04-16 Thread John Sidney-Woollett
Christoph P. Kukulies said: On Fri, Apr 16, 2004 at 07:31:40AM +0800, Eric Noel wrote: On 4/15/2004 10:28 PM, C. Kukulies wrote: In the vein of getting tomcat 5 apache 1.3.29 integration working I'm now at the point where I came to the conclusion that I need to build

RE: tomcat 4 vs 5 form based container auth filters

2004-04-16 Thread Martin Alley
FYI this is catered for in tomcat 5 with the filter-mapping/dispatcher element (see servlet 2.4 spec). Thanks to Bill Barker for the info. Martin -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 16:35 To: 'Tomcat Users List' Subject: RE: tomcat 4 vs 5

Tomcat 5, cross context problem

2004-04-16 Thread Rainald Suchan
Hi, I have 2 web applications, a JSP and a Servlet, that are in differed contexts. For both I have set cross context to true. In the JSP I put some attributes in the session and use a RequestDispatcher and call the include() function to pass the request to the servlet. In the servlet I get these

Session expired

2004-04-16 Thread UmamaheswarKalluru
Hi, I am working on a JSP / Servlet application where in the session is expired as soon as I enter a servlet from the JSP page. I do not know the reason why this is happening. From JSP to JSP it works good. I am using Tomcat 5.0.19 Any idea would be great. Thank you, Best Regards, Uma

RE: session affinity with loadbalancing (apache2, mod_jk, tomcat5 on linux 9, jdk1.4.2)

2004-04-16 Thread ian
Yah I missed that one. thanks -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 3:50 PM To: Tomcat Users List Subject: RE: session affinity with loadbalancing (apache2, mod_jk, tomcat5 on linux 9, jdk1.4.2) Did you set the jvmRoute in the

getContext() returns null

2004-04-16 Thread Umer Rashid
Hello, I was able to acess A.war from B.war, but after I set B.war as ROOT (by setting Context path= in server.xml), getServletContext().getContext(/A) in B.war return null, even though I have set crossContext =true in Context tag of B. Can anyone tell me how this problem can be fixed?

RE: URI definitions for isapi_redirector2.dll IIS

2004-04-16 Thread Shlomi Levi
try http://www.dynamichostings.com/TomCat5IIS5.do it helped me :) -Original Message- From: BARBEY Stuart R [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:34 AM To: '[EMAIL PROTECTED]' Subject: URI definitions for isapi_redirector2.dll IIS Does anyone know where I can find

JNDI or LDAP services for tomcat

2004-04-16 Thread Shlomi Levi
Does anybody knows if Tomcat 5.0 is supplying LDAP engine? if it does, can you direct me to the documentation? if it doesn't, does anybody know of a pluging already written? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Attn: Mark Thomas

2004-04-16 Thread Tomcat User
Mark, Here is a message sent from jakarta at trollingers dot com. Maybe something on my end is filtering mail from lists but I doubt it. Oh well.. We will see. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

context/domain mapping issues

2004-04-16 Thread Wouter de Vaal
Hi, I was wondering if the following scenario is possible and how it should be accomplished, or maybe how I should handle it differently. I'm using tomcat 5.0.19 and I'm also using apache webserver 2.0.49 I've got in my webapps directory two applications A and B and I have two domains

Re: tomcat 4 vs 5 form based container auth filters

2004-04-16 Thread Adam Hardy
Martin, how does it cater for it? Are you saying you can use web.xml to map filters to the j_security_check URL? Adam On 04/16/2004 11:41 AM Martin Alley wrote: FYI this is catered for in tomcat 5 with the filter-mapping/dispatcher element (see servlet 2.4 spec). Thanks to Bill Barker for the

Why is this happening? :(

2004-04-16 Thread UmamaheswarKalluru
Hi, I have an application where my JSP talks to the Servlet for further processing of my form. I am maintaining the user information in a session( UserDetails) object since the user has logged in. My application works sometimes, but never works sometimes. When I try to navigate within the

RE: getContext() returns null

2004-04-16 Thread Shapira, Yoav
Hi, Did you try setting crossContext to true for the A context as well? ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Umer Rashid [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 6:49 AM To: Tomcat Users List Subject: getContext() returns null Hello,

RE: HttpProcessor Problem - Starting background thread

2004-04-16 Thread Shapira, Yoav
Hi, 2004-04-16 13:43:41 HttpProcessor[8080][6] Starting background thread What does this mean? Please can any tell me the scenarios it could happen It means there was sufficient concurrent load on the server that it needed to start another processing threads, and that less than the maximum

RE: Migrating from Tomcat404 to Tomcat5019. Problem with Filter

2004-04-16 Thread Shapira, Yoav
Hi, But I think the guesses are on the right path: it's definitely an IO problem. I don't like an approach that's subject to breaking if the underlying stream processor implementation changes (as it did from tomcat 4 to 5). Your 10KB/3KB approach suggests a buffering or chunking issue. I

JDNI, DBCP and global naming resources - problem solved!

2004-04-16 Thread Thomas Nybro Bolding
Dunno if this might be of interest to others but I guess some might have or get the same problems as I have been through for the past couple of hours and therefore post my findings... Setting up a database connection pool in Tomcat is pretty straightforward: either edit the server.xml or use

RE: Session persistance

2004-04-16 Thread Shapira, Yoav
Hi, I already RTFM. From the manual I understood that you are also part of developing TFM. But in TFM, restoring of the session is mentioned as automatic when the applicatio/server restarts. But I want to control both storing and restoring of the session using my code. Is this possible? Of

REQUEST_URI and mod_jk2

2004-04-16 Thread Herbert G. Fischer - Mamute
Hi, I'm very lost using jk2. I've searched on the web for some tip without success. I'm using Apache 2 + jk2 + Tomcat 4.1 and trying to do a simple 404 ErrorDocument with JSP. I've tryed using REFERER to know what whas the requested page that generated the error, but some browsers do not send

RES: [work] RE: tomcat 5, Tiles and encoding

2004-04-16 Thread Paulo Alvim
Thanks Yan, But I already have that enctype in my form declarations (in a Tiles ancestor layout) and it used to work in Tomcat 4... -Mensagem original- De: Yansheng Lin [mailto:[EMAIL PROTECTED] Enviada em: terca-feira, 13 de abril de 2004 17:47 Para: 'Tomcat Users List' Assunto: [work]

RE: HttpProcessor Problem - Starting background thread

2004-04-16 Thread Namasivayam, Sudhakar (Cognizant)
thanks Yoav.. Actually The Thread hang was a DB problem and i confused with this log msg.. sudhakar -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 6:28 PM To: Tomcat Users List Subject: RE: HttpProcessor Problem - Starting background

How to really destroy a Session

2004-04-16 Thread marc . baumgartner
Hi all, I am using Tomcat 5.0.19. In my application the generated sessions are identified by a cookie on the client. I only allow single sign on. Now I want to destroy the session and I call in a session an invalidate() and the session isn't available. Then the application redirect the

RE: How to really destroy a Session

2004-04-16 Thread Mike Curwen
The cookie is removed when the user closes the browser, no ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 8:34 AM To: [EMAIL PROTECTED] Subject: How to really destroy a Session Hi all, I am using Tomcat 5.0.19.

RE: How to really destroy a Session

2004-04-16 Thread Yang Xiao
That's if it's a session cookie, is it? You can always use the Cookie API to force the cookie to expire. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 9:56 AM To: 'Tomcat Users List' Subject: RE: How to really destroy a Session The cookie is

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread Jeanfrancois Arcand
Rossen Raykov wrote: Probably you can define interface and use casting while you are accessing your Principle implementation. Frankly, I didnt try it but it seems like usable solution. There is another technique that is quarantined to work though. It is very simple and employs only Javas

Re: security permissions

2004-04-16 Thread Jeanfrancois Arcand
Andrea Powles wrote: Hi Tomcat users, I wish for one of my web apps in Tomcat to execute another program on my computer using the exec method. I know that I cant currently do this due to the security restrictions. I have tried changing the Catalina policy file but Im unsure of exactly what

RE: How to really destroy a Session

2004-04-16 Thread Mike Curwen
well uh... we're talking about JSESSIONID, no? So if you call session.invalidate on the server-side, then that JSESSIONID is removed from whatever internal session management 'space' that Tomcat uses. When the client then makes additional requests, and sends that JSESSIONID cookie along with

Incomplete HTML

2004-04-16 Thread Leonardo Ribas
My tomcat is returning incomplete html pages when the html to be returned is too big. For example, when i want to create a combo box with all cities from my country, tomcat return a incomplete html like this: ... select optioncity 1/option optioncity 2/option optioncity 3/option ... optioncity

Setting a default Locale for Tomcat

2004-04-16 Thread Kevin Schroeder
Hello, I'm running an installation of Tomcat for a client when a JSP formats a currency it always uses the generic currency symbol ¤ rather than the $ sign. How do I go about changing Tomcat's default locale so the $ comes up instead of ¤. I'm running about 5 different installations of

Antwort: RE: How to really destroy a Session

2004-04-16 Thread marc . baumgartner
I have tested some other cases: We have a SessionListener who sets a flag of the user to logout out, when there is a session invalidate. Now it seems that the session.invalidate() don't calls the listener in Tomcat 5.0. is this possible? Thanks, Marc

Re: Antwort: RE: How to really destroy a Session

2004-04-16 Thread Jacob Kjome
Quoting [EMAIL PROTECTED]: I have tested some other cases: We have a SessionListener who sets a flag of the user to logout out, when there is a session invalidate. Now it seems that the session.invalidate() don't calls the listener in Tomcat 5.0. is this possible? Thanks, Marc I

jboss tomcat integration

2004-04-16 Thread Peter Choe
i want to be able to use jboss as my ejb container and tomcat. i know that jboss comes with tomcat integrated, but i want to be able use the tomcat instance that i already have running. i have tried to look for documentation on how this can be done, but haven't found any clear answers. has

Re: Here

2004-04-16 Thread tomcat-user
Your file is attached. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RequestDispatcher and pageEncoding question...

2004-04-16 Thread Yansheng Lin
Hi, You are confused with request and response. The request is shared by the forwarding jsp and the forwarded jsp, not the response(well kind of, but not until it's being generated). You will have to explicitly set the response contentType to utf-8 in the forwarded page. -Yan

Re: JNDI or LDAP services for tomcat

2004-04-16 Thread jerome moliere
Shlomi Levi wrote: Does anybody knows if Tomcat 5.0 is supplying LDAP engine? definitely NO if it does, can you direct me to the documentation? if it doesn't, does anybody know of a pluging already written? no plugin needed, use a proper JNDI context put the required library in the

RE: Tomcat 5.0.19, IIS, Windows XP

2004-04-16 Thread Jay Rutten
After scrounging around in the Event Viewer and lots of other places, I have come up with the idea that the load balancer was having problems. This was in the event log: Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date:

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-16 Thread Thomas D. Zeimet
HI again, Are you using the AJP13 connector in tomcat or did you install and configure the coyote connector. Thanks, -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: Hi, Hmm. I commented out the shm.file line in my jk2.properties because it doesn't seem to be working, but I just did a test with

RE: Incomplete HTML

2004-04-16 Thread Yansheng Lin
Hi, Normally that's an indication of a programming error. There is no file size limit in java, so I don't think Tomcat would impose a limit all by itself. -Yan -Original Message- From: Leonardo Ribas [mailto:[EMAIL PROTECTED] Sent: April 16, 2004 08:34 To: [EMAIL PROTECTED] Subject:

Re: JK connector -- isapi2 -- file upload

2004-04-16 Thread E Cunningham
We verified this using Tomcat 4.1.30 not 5.x. Therein may be the problem. The connector code in Tomcat. Let's ask this then. Is there a dependency between JK2 and Tomcat? When they started to release separately one would think that any JK2 would work with any Tomcat? Does JK2 need to include

Re: jboss tomcat integration

2004-04-16 Thread Jules Gosnell
Peter Choe wrote: i want to be able to use jboss as my ejb container and tomcat. i know that jboss comes with tomcat integrated, but i want to be able use the tomcat instance that i already have running. i have tried to look for documentation on how this can be done, but haven't found any

Re: Vedr.: IIS and Tomcat security

2004-04-16 Thread Insyde
Thomas I can't get the 'remote user' information in my web application. I think that is some wrong configuration. Can you send me workers2.properties and jk2.properties example files? Thanks Maurício Kanada - Original Message - From: Thomas Nybro Bolding [EMAIL PROTECTED] To: Tomcat

RE: Incomplete HTML

2004-04-16 Thread Adam Buglass
The only situation where I can imagine tomcat forcing a file size limit is when it runs out of disk-space and this should produce an error message. I seem to remember a similar problem, I can't remember exactly how I solved it ( I may have re-written the page ) but here are some things to look

Re: RequestDispatcher and [contentType] question...

2004-04-16 Thread Timothy Stone
Yansheng Lin wrote: Hi, You are confused with request and response. The request is shared by the forwarding jsp and the forwarded jsp, not the response(well kind of, but not until it's being generated). You will have to explicitly set the response contentType to utf-8 in the forwarded page.

Re: Vedr.: IIS and Tomcat security

2004-04-16 Thread Reynir Þór Hübner
Hi, Just wanted to add one thing : If I remember correctly, IIS only returns remoteUser on the authenticating request. If you want to use it's userid, you must grabb that in the first request and put it into the session, and use it from there afterwards. If my understanding of the matter is

RE: JK connector -- isapi2 -- file upload

2004-04-16 Thread JoAnn Lemm
While we're discussing this ... has anyone developed a work-around for this problem? I have beta product clients calling me, so this is extremely critical. Leaving debug running seems to only fix the problem intermittently. Is there another ISAPI that will work? --JoAnn -Original

RE: Handling SOAP faults

2004-04-16 Thread Yansheng Lin
How about setting the fault on the response? With 500 as status. Or is that what you asked for? -Yan -Original Message- From: Bill Harrelson [mailto:[EMAIL PROTECTED] Sent: April 15, 2004 19:04 To: Tomcat Users List Subject: Handling SOAP faults Hello, I'm using Tomcat 4.2.14, JDK

Re: context/domain mapping issues

2004-04-16 Thread John H
We do this using apache's rewrite module. in httpd.conf: IfModule !mod_rewrite.c LoadModule rewrite_module modules/mod_rewrite.so /IfModule VirtualHost * ServerName a.mycom.com RewriteEngine On RewriteRule ^/$ /a [R,L] /VirtualHost from there, mod_jk takes over and maps the

RE: Tomcat 4.1.3

2004-04-16 Thread Angus Mezick
Do you mean tomcat 4.1.30? If not, UPGRADE NOW! --Angus -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 9:47 AM To: Tomcat Users List (E-mail) Subject: Tomcat 4.1.3 I was using Tomcat 4.0.4. I am now using 4.1.3. I cannot seem to

TLS encryption and application/pdf mime types

2004-04-16 Thread John Thaemlitz
I am running TomCat 5.0.19 on AIX 5.2 using IBM's J2RE 1.4.1 I have the TLS SSL encryption working and everything works great in Mozilla. However in IE I am unable to access PDF's. HTML, forms and images load/submit fine. IE uses the acrobat plugin when I access PDF's via the insecure port.

Re: jboss tomcat integration

2004-04-16 Thread Peter Choe
thanks for the reply. so, once the initialcontext is set up in the environment, i just need to put everything (jsp, servlets, ejbs) under the webapps directory? and i would start jboss without starting the embedded tomcat? how can i disable the embedded tomcat that comes with jboss not to

RE: Tomcat 4.1.3

2004-04-16 Thread Mike Curwen
Otherwise, you might be running into the 'invoker disabled', that most people run into when they upgrade from something before version 4.1.12 to something after that version. It's in the tomcat faq. -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Friday, April

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-16 Thread Angus Mezick
The docs at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.htm l#How%20Load%20Balancing%20Works have been improved. Try reading them again. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: Handling SOAP faults

2004-04-16 Thread Bill Harrelson
What the SOAP spec says is that a SOAPfault XML document needs to be returned in the errorStream and a response code of 500 returned. Sending a response 500 is easy, including a response message is also easy. But, what is included in the response message is not written to the errorStream.

RE: how does lb factor work?

2004-04-16 Thread Angus Mezick
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.htm l#How%20Load%20Balancing%20Works -Original Message- From: ian [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 3:42 AM To: 'Tomcat Users List' Subject: how does lb factor work? Can anyone explain

RE: Handling SOAP faults

2004-04-16 Thread Yansheng Lin
Hi, Ok, I think what happened here is: the response message is *overwritten* since you already defined a custom error-page in your deployment descriptor. You can do a few simple tests to find out whether this is true: 1) by taking out the error-page and see what's on the default 500 page

RE: IOException: Stream closed error when using custom tags

2004-04-16 Thread Yansheng Lin
Can you do a trace to see where it fails when you use jsp:include? Is it in doAfterBody() or doStartTag()? Actually I don't quite understand your problem. You said it works fine when you try to display it, but doesn't work when you set it as an attribute of jsp:include. Is that right? If that's

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread John H
Thanks for the replies. I've tried some of the suggestions, and I guess I've hit a wall again. From what I'm seeing, in order extend RealmBase/GenericPrincipal, your class MUST exist in server/lib (given the default configuration). I see no other way, unless I'm missing something. RealmBase is

Tomcat and TCP Window Size

2004-04-16 Thread Raines, David N
I am trying to run Tomcat on a special customer demo network that I have set up. The network includes an unnaturally long delay, and we have found that we need to change the TCP Window Size for our different programs to get good performance. The server is Windows 2000 Server. I've set the

RE: TLS encryption and application/pdf mime types

2004-04-16 Thread John Thaemlitz
I created a work around by setting up a servlet that streams the pdf to the browser. The key to making it work is setting Content-Disposition in the respones header. resp.setContentType(application/pdf); resp.setHeader( Content-Disposition, inline; filename=my.pdf ); ... If someone knows how to

Web Start and Tomcat 4.1.29 after upgrade

2004-04-16 Thread talley_angelina
Hello! We have a simple servlet that basically just queries a few things off of the HttpServletRequest and spits back a dynamically generated JNLP file for Java Web Start. For some reason, when we were running with Tomcat 4.0.6 this worked fine, but with the upgrade to Tomcat 4.1.29 it does not.

Re: jboss tomcat integration

2004-04-16 Thread Nikola Milutinovic
Peter Choe wrote: thanks for the reply. so, once the initialcontext is set up in the environment, i just need to put everything (jsp, servlets, ejbs) under the webapps directory? No, I believe the idea is to let JBoss handle everything except JSP/Servlet. So EJBs will be on JBoss. and i

Domain Names for Session Cookies

2004-04-16 Thread John Gibson
I'm running Tomcat 4.0.6 with Apache 2.0.46 on RedHat Advanced Server and I'm running into a problem with the domain for session cookies. I have a host setup as foobar.com with an alias of www.foobar.com. When a client visits foobar.com I create a cookie-based session for the user. Everything

reload TC5.0.19 x TC 4.124

2004-04-16 Thread Paulo Alvim
Hi! I've just migrated to TC 5.0.19 and I had TC4 configured to reload my apps based on web.xml changes...since this isn't the default in TC 5.0.19 anymore, anyone knows how to make this configuration? Thanks in advance Paulo Alvim

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread Jeanfrancois Arcand
John H wrote: Thanks for the replies. I've tried some of the suggestions, and I guess I've hit a wall again. From what I'm seeing, in order extend RealmBase/GenericPrincipal, your class MUST exist in server/lib (given the default configuration). I see no other way, unless I'm missing

Re: shared/lib again...

2004-04-16 Thread Julio César Aguilar
I've done several tests in Windows and this is what I found. To remember my settings No CATALINA_BASE defined. Tests done with CATALINA_HOME/shared/lib. 1. As being told, I can find jars put in CATALINA_HOME/common/lib. 2. What exactly the moment when CNFE is thrown? You said that the

ServerLifecycleListener and SHUTDOWN

2004-04-16 Thread Ken McCloskey
I know that you can add a ServerLifecycleListener under Server in conf/server.xml to receive notifications for the major server lifecycle events, one of which is shutdown. However, because of the way classloaders work in Tomcat, there is no way (that I know of) to call from the

Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
I'm just getting started with my JSP and tomcat experience, and while learning how JSP works, I'm can't get tomcat to recognize supporting class definitions that I have placed in myapp/WEB-INF/classes. Here's my setup: * tomcat 5.0.19, running on RedHat Linux 9.0 Pro * no customization to

JSP expression with null value

2004-04-16 Thread Rick Wong
Hi, Should a JSP expression evaluate a null expression as a string 'null', or as an empty string ''? In other words, should '%=null%' be evaluated to 'null' or ''? Thanks, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Caldarale, Charles R
From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Subject: Classpath problems with tomcat on Linux 9 .../work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42 symbol : class UserData location: class org.apache.jsp.savename_jsp UserDAta user = null

Request Filter Valve

2004-04-16 Thread Chirayu Shah
I am trying to set request filter at host level programatticaly for Embedded Tomcat. It doesn't seem like working. Anyone can poing out what i am supposed to do. Here, is the Code Snippet that i am using: host = embedded.createHost(localhost, getPath() + /webapps); RemoteAddrValve filter = new

Re: Migrating from Tomcat404 to Tomcat5019. Problem with Filter

2004-04-16 Thread Alex Moots
Thank you to both Antonio and Yoav for your suggestions. I tried implementing a flush() method. It is only called once toward the end of the 3KB of data that are transmitted. close() is never called. That seems kinda odd, but maybe it is normal? Yoav, could you suggest where I could look

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-16 Thread Emerson Cargnin
isn't missing the include to the mod_conf.xml Yang Xiao wrote: Hi, In httpd.conf: LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat

Re: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
Ah, if it was only that simple... The capital A is a typo in the email message, not in the actual error. I'm using IE on a WinXP box as my browser, but I sent my email from my Linux machine and I can't copy/paste between the two. -Andy. On Friday 16 April 2004 03:32 pm, Caldarale, Charles R

RE: Handling SOAP faults

2004-04-16 Thread Bill Harrelson
Thanks for the interest and reply Yan, but you make assumptions that are incorrect: Ok, I think what happened here is: the response message is *overwritten* since you already defined a custom error-page in your deployment descriptor. No, the response message is sent back as the error response

Re: Tomcat 5, cross context problem

2004-04-16 Thread Norris Shelton
I have also had problems getting crossContext to work with 5.0.19. No one ever gave an answer. Good Luck. --- Rainald Suchan [EMAIL PROTECTED] wrote: Hi, I have 2 web applications, a JSP and a Servlet, that are in differed contexts. For both I have set cross context to true. In the JSP I

[OT] Pager Tag Library v2.0 usage w/Tomcat 5

2004-04-16 Thread Tom K
I have pagination working with Tomcat 5 through a bean. I like the flexible features that Pager Tag Library v2.0 has and would like to implement it in my jsp. I know I have everything configured correctly because I can get the paging to display but not more to the next or previous page. Does

RE: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Berry, Layton
I'm guessing you need to put the UserData class in a package, and import it into your savename page. Quoting from JSP 2.0 spec, As of JSP 2.0, it is illegal to refer to any classes from the unnamed (a.k.a. default) package. -Layton -Original Message- From: Andy Wadsworth [mailto:[EMAIL

configure data source

2004-04-16 Thread Niraj Alok
Hi All, I am trying to obtain a connection using DataSource in Tomcat5 . I get the following error : org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver My source code is :

Simple Hello World JSF... NO GO

2004-04-16 Thread Mike Sowka
Hey Folks, I had used Tomcat5 for some simple JSP school projects, and now that I'm evaluating Websphere Studio (for it's swell drag and drop features, can't believe how easy it is!) I've run into a stump... and I refuse to even consider using anything but Tomcat for serving purposes. My Hello

File transfer very slow, my java httpd server much faster????

2004-04-16 Thread Kris Rasmussen
When transfering files over my lan via tomcat I get very slow transfer speeds (20KB/s) where as when I use a mini httpd server I wrote in java with the ability to install custom extensions, I can transfer at 440KB/s, why is tomcat transfering so slowly Kris

Re: configure data source

2004-04-16 Thread twcTC
I have the same problem -Original Message- From: Niraj Alok [EMAIL PROTECTED] Sent: Apr 16, 2004 8:04 PM To: Tomcat Users List [EMAIL PROTECTED] Subject: configure data source Hi All, I am trying to obtain a connection using DataSource in Tomcat5 . I get the following error :