Re: From Websphere to Tomcat --> New to Tomcat

2005-11-11 Thread Information Architecture
I am not a very knowledgeable user and am not a java programmer, but I can actually answer a couple of these questions. 1. The web.xml file for your application typically goes in the lib directory under WEB-INF, which is under the container you have created for your application. The typical

Internationalization question

2005-11-11 Thread Scott Smith
I'm using Tomcat 4.1.29 on Windows. I have a context setup which contains some image files (simple jpgs). In the conf/server.xml file, the context looks something like: Some of the filenames in this directory have non-English characters (e.g., ESPAÑA.jpg). For the associated webs

From Websphere to Tomcat --> New to Tomcat

2005-11-11 Thread Jason T. Slack
Hello All, I am new to Tomcat, coming from a Websphere background. I am using Eclipse with the Tomcat plug-in installed. I can successfully start the server, everything seems OK so far. A few questions. 1. On Websphere I had a web.xml file where I would define servlet entry points, cont

Re: tomcat response on Linux is very slow for clients behind proxy server

2005-11-11 Thread Shankar Unni
faria hassan wrote: I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a proxy and making requests over Http1.0, the response time is very slow. However, for clients who are not behind a proxy server,

RE: SSL Setup

2005-11-11 Thread Teh, Bortie
Rick, thanks for the link, I changed the name of tcnative-1.dll in \bin to tcnative-1.dll.old and restart tomcat and that worked. CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauth

Re: SSL Setup

2005-11-11 Thread Rick van der Zwet
Teh, Bortie schreef: I've been trying to setup SSL for tomcat, I have created the keystore, generated a csr, ordered a certificate, imported the certificate, and configured the server to respond on port 8443. My problem is that I can not get any pages to load when I use https://localhost:844

RE: Tomcat 5.5 BindAddress errors on port 8005, but no Tomcat ports are in use.

2005-11-11 Thread Caldarale, Charles R
> From: Richard Schilling [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5 BindAddress errors on port 8005, but > no Tomcat ports are in use. > > I'll try to build 5.5.12 by hand You don't need to build any level of Tomcat on any platform, since it's pure Java (other than the optional APR li

SSL Setup

2005-11-11 Thread Teh, Bortie
I've been trying to setup SSL for tomcat, I have created the keystore, generated a csr, ordered a certificate, imported the certificate, and configured the server to respond on port 8443. My problem is that I can not get any pages to load when I use https://localhost:8443, but it works when I

Re: Tomcat 5.5 BindAddress errors on port 8005, but no Tomcat ports are in use.

2005-11-11 Thread Richard Schilling
5.5.9 is the default package downloaded by the BSD ports system. I'll try to build 5.5.12 by hand, but since I get the same error with all the versions of Tomcat on this box, and no errors on an i386 box I'm stumped. Not possible that another tomcat instance is running. netstat doesn't show

Re: maintain separate sessions for each browser tab/window

2005-11-11 Thread Vinny
I don't think that HTTP allows this unless you come with a really ugly hack. Single sessions are maintained between the browser and a host. This applies to frames as well. On 11/11/05, John Cartwright <[EMAIL PROTECTED]> wrote: > Hello All, > > Does anyone have a suggestion on how to maintain a

Re: Tomcat 5.5 BindAddress errors on port 8005, but no Tomcat ports are in use.

2005-11-11 Thread Vinny
Since you started from scratch , what made you choose 5.5.9 instead of 5.5.12? Is it possible that another tomcat instance is currently running? On 11/11/05, Richard Schilling <[EMAIL PROTECTED]> wrote: > I've looked all over for the answer to this particular problem, but > can't find it, and

maintain separate sessions for each browser tab/window

2005-11-11 Thread John Cartwright
Hello All, Does anyone have a suggestion on how to maintain a separate session for each browser tab and window? Currently the same session is shared for each frame, window, tab of a given brower instance and context. I understand that this is the way things are supposed to be, but for my ap

RE: Why can the JSESSIONID name not be changed?

2005-11-11 Thread George Sexton
I'm guessing the reason its in the spec is so that hardware load balancers can map sessions back to the originating machine. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Stefan Bethke [mailto:[EMAIL PROTECTED] > Sent: Frid

Tomcat 5.5 BindAddress errors on port 8005, but no Tomcat ports are in use.

2005-11-11 Thread Richard Schilling
I've looked all over for the answer to this particular problem, but can't find it, and can't find the searchable archives for this list. I'm setting up Tomcat 5.5 on a clean box. I've verified that all the ports Tomcat uses aren't in use. My system is FreeBSD 6.0 on AMD64. I get theses err

JNDIRealm (LDAP)

2005-11-11 Thread Gilbert, Antoine
Hi I am testing LDAP with a JNDI realm connecting to my sample SunOne directory server. Basicly I have this in my context ldap://dev21.korem.local:59004"; userPattern="uid={0},dc=korem,dc=local" userRoleName="nsroledn" roleName="cn"/> The bindi

Re: volume transferred statistcis

2005-11-11 Thread Rainer Jung
Hi, hava a look at tomcat's MBeans (via /manager/jmxproxy?qry=*:* or with Java 1.5 jconsole). There is number of requests and bytes for the GlobalRequestProcessor and also for any servlet. Rainer > Hi, > > Is it possible to obtain statistics about volume > transferred in a webapp ? > or just obt

Realms in 5.5x

2005-11-11 Thread Vinny
Hello Everyone, I am having a hard time getting a custom Realm to work in 5.5.12 (with the 1.4.2 compat libs). At first I tried using the same MyRealm.jar that works currently in tomcat 5.0.30. No authentication semmed to be taking place so I tried using the source of DataSourceRealm as my templat

Re: tomcat response on Linux is very slow for clients behind proxy server

2005-11-11 Thread faria hassan
On 11/10/05, faria hassan <[EMAIL PROTECTED]> wrote: > > Hi, > I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux > 2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a > proxy and making requests over Http1.0, the response time is very slow. > However,

Deploying webapp with multi-level context path using ant on Tomcat 5.0.28 Tomcat 5.0.28 or Tomcat 5.5

2005-11-11 Thread Eviano Afiemo
Hi, I'm having problems deploying remotely to the later versions of tomcat using ant's deploy task. Sorry if its a bit lengthy. The context paths for most of the applications deployed on our Tomcat servers are required to have several levels e.g. /tests/deployments. We currently host 22 web app

Re: Servlet alias cross Webapp boundaries

2005-11-11 Thread Peter Menzel
Lars Ohlén schrieb: Hi! I have a servlet in a webapp ( /web) but would like to be able to invoke the same servlet (without duplication of .class file) with another webapp name (/script) My original idea was to implement this in the httpd processing using mod_rewrite, but I have run into some

Servlet alias cross Webapp boundaries

2005-11-11 Thread Lars Ohlén
Hi! I have a servlet in a webapp ( /web) but would like to be able to invoke the same servlet (without duplication of .class file) with another webapp name (/script) My original idea was to implement this in the httpd processing using mod_rewrite, but I have run into some other issues with mod

Re: return status code 409 overwritten

2005-11-11 Thread Erik Eide
Cool, thanks Peter - thats probably more approriate. Cheers Erik On 11/11/05, Peter Menzel <[EMAIL PROTECTED]> wrote: > Erik Eide schrieb: > > Thanks Peter > > > > Thats works fine, I'm not using getWriter() as that was just an > > example, I forward to a JSP for displaying the error message. > >

Re: return status code 409 overwritten

2005-11-11 Thread Peter Menzel
Erik Eide schrieb: Thanks Peter Thats works fine, I'm not using getWriter() as that was just an example, I forward to a JSP for displaying the error message. In this case I recommend not to set the status in the servlet and forward to the jsp manually. It would possibly more save using respo

RE: SSO question

2005-11-11 Thread Klotz Jr, Dennis
>-Original Message- >From: Peter Crowther [mailto:[EMAIL PROTECTED] >Sent: Friday, November 11, 2005 4:20 AM >To: Tomcat Users List >Subject: RE: SSO question > >> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] >> Is it possible using LDAP, whether it is using custom JAAS code or a >> t

Re: return status code 409 overwritten

2005-11-11 Thread Erik Eide
Okay, my bad - I was forwarding to path missing a leading / so the 404 was probably from not finding the JSP to display the error. Thanks for the quick reply Erik On 11/11/05, Erik Eide <[EMAIL PROTECTED]> wrote: > Thanks Peter > > Thats works fine, I'm not using getWriter() as that was just an >

Re: return status code 409 overwritten

2005-11-11 Thread Erik Eide
Thanks Peter Thats works fine, I'm not using getWriter() as that was just an example, I forward to a JSP for displaying the error message. Erik On 11/11/05, Peter Menzel <[EMAIL PROTECTED]> wrote: > Erik Eide schrieb: > Hi > > > > I've a small REST web service, I'd like to deploy in Tomcat 5.5

JAAS Login not working since 5.5.10

2005-11-11 Thread Markus Plail
Hi there! Since 5.5.10 my JAAS LoginModule doesn't work anymore. I saw that JAASRealm was changed in 5.5.10 and I wonder if anyone can tell me what I am doing wrong. Here is the (hopefully) relevant snippet from the logs: DEBUG - Calling authenticate() DEBUG - JAASRealm login requested for usern

Re: return status code 409 overwritten

2005-11-11 Thread Peter Menzel
Erik Eide schrieb: Hi I've a small REST web service, I'd like to deploy in Tomcat 5.5.12. When I try and return status code 409 (Conflict) and an error message in the response body for a POST operation, Tomcat seems to overwrite the status code with a 404 (Not Found). If I do not return a res

return status code 409 overwritten

2005-11-11 Thread Erik Eide
Hi I've a small REST web service, I'd like to deploy in Tomcat 5.5.12. When I try and return status code 409 (Conflict) and an error message in the response body for a POST operation, Tomcat seems to overwrite the status code with a 404 (Not Found). If I do not return a response body, the origin

issue tomcat and special characters

2005-11-11 Thread ary martini
Hi Team I am using tomcat 4.1.29 with mysql 4.0 My application runs on tomcat. There is a file "includes.inc.jsp" on my application which specifies the character setting to ISO-8859-1. Issue: I cannot insert special characters into my database. Example: à , è or ü and ö are inserted as orph

AW: Why can the JSESSIONID name not be changed?

2005-11-11 Thread Bernhard Slominski
Hi, well as you said it's in the spec, amen! There is currently a new version JSP 2.1 on the way and there is an issue tracker where you can add proposal like yours. Look at: https://jsp-spec-public.dev.java.net/ http://www.jcp.org/en/jsr/detail?id=245 The other solution is change the sources of

Re: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-11 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On that page www.apachetomcat.com/tomcat-ssl-5-unix. They do not install the certificate into apache2, only tomcat5. If you want this kind of setup to work, you must shut down apache and have tomcat as a standalone. hope it helps - -reynir Gan

RE: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-11 Thread Peter Crowther
> From: Gangaa D [mailto:[EMAIL PROTECTED] > So How do I get Trusted Root Certification > Authorities? If you have control over all the browsers that will be accessing your application: put your self-signed certificate into each of their trusted stores. If you don't have control over some of the

Re: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-11 Thread Gangaa D
Dear, I have done SSL on apache2+jk2+tomcat2+RedHat using www.apachetomcat.com/tomcat-ssl-5-unix. So when we visit to https ie mark as "This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store." So How do I get Trusted Root Certification Autho

.Net Usercontrol in Tomcat Server is not getting downloaded in IE

2005-11-11 Thread Sivashanmuganathan, Sundaranathan \(Cognizant\)
Hi All, First of all please forgive if it is a duplicate post. I tried searching the archives but I am not able to find one. Here is my problem:- I have created and compiled a dll( that has a user control in it) using the .Net Framework ( Class Library Template ). Then Created a HTML Page

Why can the JSESSIONID name not be changed?

2005-11-11 Thread Stefan Bethke
Hi, I hope this is the right list to ask; if not, please direct me to a better place... We're currently integrating a couple of web sites under a single domain. Some of the sites run on separate Tomcats, others use PHP, Perl or a number of proprietary systems. We believe that having m

Re: SSL on tomcat + jk2 + apache2 + RedHat

2005-11-11 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, yes, if you think about it, if you put your ssl key in apache, it will be used to secure the comunication between apache(server) and the client(user). Apache will then decript the message and forward it via ajp into tomcat. If you want to put ssl

Re: Tomcat connector for IIS 5.1 error executing servlet example

2005-11-11 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, You should not be using workes2.properties. I would suggest to you that you use this tutorial: http://www.reynir.net/java/greinar/nr/14 JK2 is deprecated. Your workers file is quite complicated, for the task. you do not need it so complex to wor

Re: Can cached EJB HomeHandles be invalidated?

2005-11-11 Thread Santosh Asbe
Hi , I have faces similar problem with tomcat & websphere. Problem i have descirbed in detail. Do inform if any solution is there for this problem. I have tomcat 4.1.30 on Linux. It servers as a web server and contains only JSP & Servlets. We make a remote call to Websphere Application Server ( o

RE: SSO question

2005-11-11 Thread Peter Crowther
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] > Is it possible using LDAP, whether it is using custom JAAS code or a > third party product such as Vintela's VSJ > (http://www.vintela.com/products/vsj/), to do the following: > > "... prevent, control or limit the simultaneous active usage >