filter: How to set browser encoding?

2005-10-12 Thread Mark
Hi everybody, I've got a request from my client to force an encoding in the browser, regardless what user have set. When I set encoding inside my filter to Windows-1257 in the HTML source code I see only ?s:??? ? ???. Is there any easy way to enforce browser to set proper encoding? May be

Re: filter: How to set browser encoding?

2005-10-12 Thread Frank W. Zammetti
Mark, have a look here: http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/CharacterEncodingFilter.html Just added that to JWP last weekend :) It essentially calls request.setCharacterEncoding() with whatever you configure. (Oops... ignore the description of the encodingScheme

RE: [OT] How much RAM can java use

2005-10-07 Thread Edmon Begoli
] Subject: [OT] How much RAM can java use Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5?

RE: [OT] How much RAM can java use [255767:132281]

2005-10-07 Thread RTE - Meridian Club
[EMAIL PROTECTED] Received: 10/7/2005 3:50 PM To: tomcat-user@jakarta.apache.org Subject: RE: [OT] How much RAM can java use I asked this same question Cameron Purdy, CEO of Tangosol (maker of a leading Java cache product) this question during the TheServerSide this year. His business is all

how to disable jk2 and enable jk1 on Tomcat5 with Apache 1.3

2005-10-06 Thread alebu
On Tomcat startup there is info message that indicates that tomcat starts using jk2. As I understand, that cames from that line in server.xml: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / How to disable jk2 and prevent tomcat to use jk1.2 ?

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread Jon Wingfield
Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot probably aren't right. [EMAIL PROTECTED] wrote: Hi, I am trying to get our JSPs to be precompiled as part of our ant build process to catch all syntax errors at compile time. The problem I have run into is that we are

[OT] How much RAM can java use

2005-10-06 Thread Leon Rosenberg
Sorry for off-topic, but there are so many experts here! :-) Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? It seems to me, that the VM don't use more than 1.2 GB RAM even I gave it more (with mx/ms settings). We are planning to go to 16GB RAM machines to have a better

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
October 2005 16:53 To: Struts Users Mailing List; Tomcat Users List Subject: [OT] How much RAM can java use Sorry for off-topic, but there are so many experts here! :-) Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? It seems to me, that the VM don't use more than 1.2 GB RAM

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: [OT] How much RAM can java use Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? The answer is very platform specific. For example, on a normal 32-bit Windows system, each process has a maximum of 2 GB to play

Re: [OT] How much RAM can java use

2005-10-06 Thread Leon Rosenberg
On 10/6/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: [OT] How much RAM can java use Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? The answer is very platform specific. For example, on a normal 32-bit

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 17:16 To: Tomcat Users List Subject: Re: [OT] How much RAM can java use On 10/6/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: [OT] How much RAM can java use Does anyone

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: [OT] How much RAM can java use I've seen 64-bit Sparc systems with Java heaps sized at hundreds of megabytes... Oops, I meant hundreds of _gigabytes_ (just a slight miscalculation :-). With the 32-bit Sun JVM, you're not going

How to use JkAutoAlias with a URL Path

2005-10-06 Thread Bhavin Modi
Is it possible to define a URL path under which the JKAutoAlias is configured ? What I am trying to say is, can we have something like JkAutoAlias /java-apps /usr/local/tomcat/webapps that would effectively make all my tomcat webapps accessible under http://localhost/java-apps/ Is there any

Re: [OT] How much RAM can java use

2005-10-06 Thread J. Ryan Earl
Leon Rosenberg wrote: Debian 3.1, kernel 2.6.x-smp (32 bit) or Debian 3.1, kernel 2.6.x-smp-emt64 (64 bit) Hardware: AMD Opteron and Xeon64 (both 64 bit) SUN jdk1.5 and/or jdk1.4.2 4 GB total RAM for 32-bit linux, with 3/1 memory partitioning 16GB total RAM for 64-bit linux. I've tested

Re: how to disable jk2 and enable jk1 on Tomcat5 with Apache 1.3

2005-10-06 Thread Mark Thomas
alebu wrote: On Tomcat startup there is info message that indicates that tomcat starts using jk2. As I understand, that cames from that line in server.xml: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / How to disable jk2 and prevent tomcat to use jk1.2

Re: [OT] How much RAM can java use

2005-10-06 Thread Leon Rosenberg
Chuck, Ryan, thanx, you were extremely helpful! regards Leon On 10/6/05, J. Ryan Earl [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: Debian 3.1, kernel 2.6.x-smp (32 bit) or Debian 3.1, kernel 2.6.x-smp-emt64 (64 bit) Hardware: AMD Opteron and Xeon64 (both 64 bit) SUN jdk1.5 and/or

RE: [OT] How much RAM can java use

2005-10-06 Thread Mark Benussi
This was probably one of the best threads I have 'listened' to in ages. I am researching setting up my own Tomcat hosting. This is going to be of use. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 20:48 To: Tomcat Users List Subject: Re: [OT] How

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread ut9h-3pye
Jon, Thanks for your help. The uribase and uriroot were not set correctly. Here is the final version that I got working. I had one additional twist that I needed to copy the JSP files to another location first using the ant copy task. I set uriroot to the webapps root {dir}/html, and then

precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-05 Thread ut9h-3pye
Hi, I am trying to get our JSPs to be precompiled as part of our ant build process to catch all syntax errors at compile time. The problem I have run into is that we are using apache + tomcat and we have set the following rules in apache httpd. conf: JkMount /servlets/* ajp13 JkMount

Re: How to PreCompile JSPs

2005-10-04 Thread Frank Langanke
Murali schrieb: Hi , Can you someone provide me some information on how to precompile JSPs (probably thousands of JSPs) ? Regards, Murali http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html - To unsubscribe

How to get login username with pageContext?

2005-10-04 Thread 梁炳場
% pageContext.getRequest().??? List userRoleList = UserRoleService.getInstance().getUserRoleList(); % I fail to find getRemoteUser() in pageContext.getRequest after login with JDBCRealm. I'd like to pass it in as a parameter in getUserRoleList(). Thanks

RE: How to get login username with pageContext?

2005-10-04 Thread Raghupathy,Gurumoorthy
% String user = request.getRemoteUser(); % -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 October 2005 15:34 To: Tomcat Users List Subject: How to get login username with pageContext? % pageContext.getRequest().??? List

Re: How to get login username with pageContext?

2005-10-04 Thread 梁炳場
PROTECTED] Sent: 04 October 2005 15:34 To: Tomcat Users List Subject: How to get login username with pageContext? % pageContext.getRequest().??? List userRoleList = UserRoleService.getInstance().getUserRoleList(); % I fail to find getRemoteUser() in pageContext.getRequest

RE: How to logout after login with JDBCRealm?

2005-10-03 Thread Raghupathy,Gurumoorthy
What type of authentication are you using ? FORM / BASIC ? If Basic then no you cant If form based then ( sesssion.invalidate() ) Guru -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 October 2005 03:08 To: Tomcat Users List Subject: How to logout after

How to logout after login with JDBCRealm?

2005-10-02 Thread 梁炳場
The webapp is enabled with JDBCRealm. After login, how to logout without closing the browser? Thnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-10-01 Thread Werner Punz
out on how to get it up and running (hence I wrote this), the latest upgrade hosed it again, I have not had time to look into the issue yet, I assume something dumped another binary into jaspers path of nor return ;-), but Tomcat itself works, it is just problematic that jasper has this weird

Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Thomas K. Cheriyan Jr.
Hey guys, Im trying to get the latest version of TomCat on my laptop which has has MacOS Tiger 10.4. I have also installed the latest version of Java. I read the installation guide on the Jakarta site as well as many others online and they haven't worked at all. If somebody is an expert at this

Re: Newb question - How to install TomCat on MacOS Tiger 10.4

2005-09-30 Thread Fadil
Hi, What's the problem ? Send us the log, if there is. Witch version of tomcat ?jdk ? do you set the JAVA_HOME=/Library/Java/Home in your env ? do you update os ? Fadil On 9/30/05, Thomas K. Cheriyan Jr. [EMAIL PROTECTED] wrote: Hey guys, Im trying to get the latest version of TomCat on my

How to PreCompile JSPs

2005-09-29 Thread Murali
Hi , Can you someone provide me some information on how to precompile JSPs (probably thousands of JSPs) ? Regards, Murali

Re: How to PreCompile JSPs

2005-09-29 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Murali wrote: Hi , Can you someone provide me some information on how to precompile JSPs (probably thousands of JSPs) ? This might help. http://www.rgagnon.com/javadetails/java-0414.html - -- Love is mutual self-giving that ends in self

TC 5.5.9 - how to use the system classpath

2005-09-29 Thread Norris Shelton
Our tomcat's are configured to use the system classpath for a large amount of the libraries. With TC 4.1.30, we modify the setclasspath.* and use catalina.sh start to start it. I tried this with TC 5.5.9 and it did not work. Is there something else that I am supposed to do to make the system

AW: How to PreCompile JSPs

2005-09-29 Thread Bernhard Slominski
From the Tomcat docs: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html -Ursprüngliche Nachricht- Von: Murali [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. September 2005 16:54 An: tomcat-user@jakarta.apache.org Betreff: How to PreCompile JSPs Hi , Can

how to turn off session cookies

2005-09-28 Thread Fredrik Wendt
One-liner: How do you turn session cookies off, server side? Hi! Nowadays it's illegal to use cookies on web sites in sweden, without informing the visitor that it's done and why, what cookie is etc. Since I don't have any use of a session nor am interested in adding a page saying we use

Re: how to turn off session cookies

2005-09-28 Thread Anto Paul
On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote: One-liner: How do you turn session cookies off, server side? Context/ element has an attribute cookies. set it to false to turn off session cookies. See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Hi! Nowadays it's

RE: how to turn off session cookies

2005-09-28 Thread Johan Wallinder
Maybee OT, but is using URL rewriting considered as cookie? /Johan -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: den 28 september 2005 13:12 To: Tomcat Users List Subject: Re: how to turn off session cookies On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote: One

How to disable the internet DTD lookup in Tomcat ?

2005-09-28 Thread Cels M.
Hi, I've been trying to disable the DVD lookup in Tomcat. Even if this seems to be a common requirement, I was unable to find something related to it in the docs. Does anyone know how to disable it (or create a XML catalog to redirect a public ID to a local one? Thanks in advance

How to share the session between two web-applications?

2005-09-27 Thread starki78
Hi I've a web-application with authentification that is running on tomcat. Now we have the problem that another webapplication is deployed that shall work with the userobject of the other web-application. But I'm not able to enable a session-object being valid for two web-applications. Can

How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread Edmon Begoli
Anyone, I want to configure Tomcat 5.5.x to access each database in the Oracle cluster, and not using the pool. This configuration is for database diagnostic puproses, so I need to create a single connection everytime. What is the most appropriate way to this using Oracle driver? Currently I am

Re: How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread andy gordon
The attribute maxactive controls how big the pool is. if maxactive is set to 1 then there can be only 1 per time. There are also non-dbcp solutions which have oracle examples described under JDBC datasources link in tomcat 5.5 doc at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi

Re: How to limit the size of TOMCATs stdout file

2005-09-24 Thread Tim Funk
Tomcat doesn't explicitly log to standard output. The underlying logging mechanism does. The docs and faq talk about how to configure logging so standard out is not used. -Tim Leon Rosenberg wrote: actually tomcat spams a lot in the catalina.out, this is my favorite: [EMAIL PROTECTED

RE: How to start Tomcat using differnt JRE

2005-09-23 Thread KEREM ERKAN
:16 AM To: tomcat-user@jakarta.apache.org Subject: How to start Tomcat using differnt JRE Hi sorry for sending this twice, but I am using new email program and it kinda flipped out when I first sent it, was not sure it went through the first time. Hello I have searched far

Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?

2005-09-23 Thread Stagger Lee
Come on guys, don't tell me no one had to solve this yet. Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread rahul
Hi all, My questing is derived from the sample code given at : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations If you can see the subsection 4(i.e. testcode) of section MySQL DBCP Example, to get

RE: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5. 0?

2005-09-23 Thread KEREM ERKAN
back to their original names. That will absolutely work :-) Cheers, Kerem -Original Message- From: Stagger Lee [mailto:[EMAIL PROTECTED] Sent: Friday, September 23, 2005 1:28 PM To: Tomcat Users List Subject: Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0

Re: HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread David Smith
://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations If you can see the subsection 4(i.e. testcode) of section MySQL DBCP Example, to get a connection following code is used

How to limit the size of TOMCATs stdout file

2005-09-23 Thread John . Tal
How do you limit the size of Tomcats stdout file. If you look at version 5.5, the dialog for the service lets you put in default or some path for the stdout file. But there is no option to set the limiting size or other parameters as you would with log4j. This is the stdout log file which

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Ben Souther
I tried asking this to the tomcat team via bugzilla and they were not helpful. Nobody pointed you to this link?: See http://jakarta.apache.org/tomcat/faq/logging.html for logging help first - it answers this question. :) On Fri, 2005-09-23 at 14:45, [EMAIL PROTECTED] wrote: How

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Tim Funk
- the custom code is too agressive in catching exceptions and should let the container handle them correctly. (And probably incorrectly using error.printStackTrace() instead of a logger) -Tim [EMAIL PROTECTED] wrote: How do you limit the size of Tomcats stdout file. If you look at version 5.5

Re: How to limit the size of TOMCATs stdout file

2005-09-23 Thread Leon Rosenberg
- the custom code is too agressive in catching exceptions and should let the container handle them correctly. (And probably incorrectly using error.printStackTrace() instead of a logger) -Tim [EMAIL PROTECTED] wrote: How do you limit the size of Tomcats stdout file. If you look

how to setup context.xml for virual hosts

2005-09-23 Thread jimbo-black
ok so i define my connection pools etc in the context.xml but when the site is accessed from the virutal host, it does not see the connection pool since its defined as: Context path=/struts docBase=/struts debug=1 reloadable=true antiJARLocking=true ResourceLink

Rép. : Re: How show CLIENT-CERT Rea lm

2005-09-22 Thread Antony GUILLOTEAU
Thanks. Like I've found nothing, I'm choosing a solution like this. So it is impossible to show CLIENT-CERT realm like response.setHeader(WWW-Authenticate, CLIENT-CERT realm=\myName\); I've an another question : how to redirect an request to the secure port within a serlvet ? I post a new

How to start Tomcat using differnt JRE

2005-09-22 Thread lanna august
and this I cannot change it must remain. I thought awhile ago I came across mention of how to start up the Tomcat server and tell it what JRE to be using. But I don't remember exactly. Can anyone help? I tried making a Tomcat user and placing the Tomcat server in this Tomcat users directory

RE: How to start Tomcat using differnt JRE

2005-09-22 Thread Jan Fredrik Fallsen
You must change the JAVA_HOME in system variables -Original Message- From: lanna august [mailto:[EMAIL PROTECTED] Sent: 23. september 2005 07:16 To: tomcat-user@jakarta.apache.org Subject: How to start Tomcat using differnt JRE Hi sorry for sending this twice, but I am using new email

RE: Create Valve and Deploy How to Help Please ????

2005-09-21 Thread Barbara.Townsend-Batten
Please remove me from this reply list. -Original Message- From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 11:06 PM To: Tomcat Users List Subject: RE: Create Valve and Deploy How to Help Please I have created a new Valve in the authenticator

RE: Create Valve and Deploy How to Help Please ????

2005-09-21 Thread KEREM ERKAN
@jakarta.apache.org Subject: RE: Create Valve and Deploy How to Help Please Importance: High Please remove me from this reply list. -Original Message- From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 11:06 PM To: Tomcat Users List Subject: RE: Create Valve

Re: Create Valve and Deploy How to Help Please ????

2005-09-21 Thread Parsons Technical Services
How to Help Please Please remove me from this reply list. -Original Message- From: Bovy, Stephen J [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 20, 2005 11:06 PM To: Tomcat Users List Subject: RE: Create Valve and Deploy How to Help Please I have created a new Valve

How show CLIENT-CERT Realm

2005-09-21 Thread Antony GUILLOTEAU
I'm able to show the login window of a basic realm with following code : response.setHeader(WWW-Authenticate, BASIC realm=\myName\); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); Now I wish to show the window like CLIENT-CERT : when all realm parameters are set in the web.xml

How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?

2005-09-21 Thread Stagger Lee
XML APIs. Is there a way how to start Tomcat correctly on JDK 5.0 w/o removing the compatibility jars? (i.e. the same catalina home dir can be used for running Tomcat on both JDK 1.4 and 5.0 at the same time) Would the following work-around work? 1. remove ${catalina.home}/common/endorsed/*.jar

Re: How show CLIENT-CERT Realm

2005-09-21 Thread Mark Thomas
Antony GUILLOTEAU wrote: I'm able to show the login window of a basic realm with following code : response.setHeader(WWW-Authenticate, BASIC realm=\myName\); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); Now I wish to show the window like CLIENT-CERT : when all realm parameters

How can iredirect a request from one apache to other apache.

2005-09-20 Thread Rohit Maheshwari
Hi All, I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server I want to redirect the request sent to one apache to other apache which in turn sends the request to the Weblogic server. So please help me out on how can I redirect the user request from

RE: How can iredirect a request from one apache to other apache.

2005-09-20 Thread Caldarale, Charles R
From: Rohit Maheshwari [mailto:[EMAIL PROTECTED] Subject: How can iredirect a request from one apache to other apache. I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server And what does this have to do with Tomcat? - Chuck

RE: Create Valve and Deploy How to Help Please ????

2005-09-20 Thread Bovy, Stephen J
I have created a new Valve in the authenticator package called ThreadSignOn I added a descritpion for it to the mbean description xml file. I re-built and verified that my new valve and the new description is in catalina.jar But When I refference my new valve nothing happens it does not work

How to get process URL in different context?

2005-09-19 Thread Kyle
in the right directon as to what to read to find out how to get tomcat to let me do this please? -- Kind Regards Kyle - To unsubscribe, e-mail: [EMAIL

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
Hassan Ok, I understand so where do I put the reference to the shared asset Context? I cannot put it in server.xml. Let's say I put want to put the reference in an application called app2, that would work fine expect I already have a Context element defined in context.xml for the app2

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 13:22, KEREM ERKAN wrote: OK, start with downloading and installing a binary version of Tomcat for your OS and also download the 1.2.10 version of mod_jk. I think we should handle the rest off list not to bother the list anymore. Yes, that's lot's already installed and

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-16 Thread Peter Flynn
On Wed, 2005-09-14 at 14:04, Michael Lai wrote: KEREM ERKAN wrote: OK, start with downloading and installing a binary version of Tomcat for your OS and also download the 1.2.10 version of mod_jk. I think we should handle the rest off list not to bother the list anymore. Just to give you

Re: How to share static content across applications

2005-09-16 Thread Hassan Schroeder
Ritchie Gillam wrote: I need the following entries: Context docBase=/data0.../webapps/sharedHRM path=/sharedHRM/ and then one entry for each application that references the shared assets like this: Context docBase=/data0.../webapps/sharedHRM path=/app1/sharedHRM/ Context

Re: How to share static content across applications

2005-09-16 Thread Ritchie Gillam
You were right... I simply removed all the Context elements now in the server.xml file and changed all my code to reference ../sharedHRM or /sharedHRM depending on if the tag appends the Application Context or not. Thanks for your help. Ritchie Gillam Programmer Analyst, Information Services,

Re: How to change the SSL port

2005-09-16 Thread Bradley McLain
PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, September 15, 2005 11:15 PM Subject: RE: How to change the SSL port Guys, Thank you. Stephen posted the original question on my behalf. I am just now joining the list. Iannis and Chuck thank you for your feedback

Fwd: Re: How to change the SSL port

2005-09-16 Thread CommonGround Softworks/Phil McNamara
On 9/15/05, Hassan Schroeder [EMAIL PROTECTED] wrote: CommonGround Softworks/Phil McNamara wrote: The tomcat log does show a bind error message after my server.xml edit to port 443. Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing

Re: How to get user name after login

2005-09-15 Thread Caroline Jen
I think it is getRemoteUser(); --- ±ç¬±³õ [EMAIL PROTECTED] wrote: After implementation of JDBCRealm, how to retrieve the username in Servlet after login? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED

How to define paths to inidividual user directories

2005-09-15 Thread Michael Sullivan
at espersunited.com. Each of these users has under their user accounts a directory called ~/webspace/html. Here they put their static (and .PHP) web site files. I would like to create a ~/webspace/tomcat directory under each of their accounts for .jsp and/or servlet files, but I'm not sure exactly how

A good place to leanr how to use digest authentication

2005-09-15 Thread Chandan Gupta
Hi, Im trying to use Digest authentication with an AXIS web service hosted on Tomcat 5.0.28. The problem is in setting up Digest authentication for Tomcat. I did as was written in HOW-TO setting up a JDBC realm, I tried to connect the URL configured on the secure realm from IE 6.0. Presto

Re: How to get user name after login

2005-09-15 Thread Sonja Löhr
It is: request.getUserPrincipal().getName(); To check for a special role, use: request.isUserInRole(rolename); Am Donnerstag, den 15.09.2005, 03:49 -0700 schrieb Caroline Jen: I think it is getRemoteUser(); --- ±ç¬±³õ [EMAIL PROTECTED] wrote: After implementation of JDBCRealm, how

Re: A good place to leanr how to use digest authentication

2005-09-15 Thread bachoo jahnkar
http://www.devx.com/DevX/Article/21911 Chandan Gupta [EMAIL PROTECTED] wrote: Hi, Im trying to use Digest authentication with an AXIS web service hosted on Tomcat 5.0.28. The problem is in setting up Digest authentication for Tomcat. I did as was written in HOW-TO setting up a JDBC realm, I

Re: A good place to leanr how to use digest authentication

2005-09-15 Thread Jim Moy
On 9/15/05, bachoo jahnkar [EMAIL PROTECTED] wrote: Im trying to use Digest authentication with an AXIS web service hosted on ... connect the URL configured on the secure realm from IE 6.0. Presto whatever I tried I always got 401. Once i changed authentication back to basic, things started

How to share static content across applications

2005-09-15 Thread Ritchie Gillam
I am not sure if this is suppose to be done in the Tomcat/Java world but here is my question anyway. How do I go about allowing applications to share static content in Tomcat 5.5.7? Some would argue that each WAR file should be self contained but surely there is a way to use the same image

Re: How to share static content across applications

2005-09-15 Thread Tim Funk
if this is suppose to be done in the Tomcat/Java world but here is my question anyway. How do I go about allowing applications to share static content in Tomcat 5.5.7? Some would argue that each WAR file should be self contained but surely there is a way to use the same image file for all applications

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
to redeploy without restarting the server which is even a bigger problem. This is really the reason I posted the question in the first place. Did you mean you are using another Content element to find the shared content? If so, where did you put it. If not, how are you referencing

Re: How to share static content across applications

2005-09-15 Thread Maurice Yarrow
Hello Tim Saw your posting on the tomcat user's list. I have a question about your response: So how do you access the static resources, i.e., images, from the other two web apps? This is what I tried and it does not work: I created a separate webapp context with images, and placed into tomcat

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
Ritchie Gillam wrote: I am creating a new Context element for the shared assets but the problem is by putting the Context element directly in the server.xml file, I am not longer able to undeploy and redeploy the shared assets application without restarting the server... OK, so don't do

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
. Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902) 490-6583 [EMAIL PROTECTED] 09/15/05 4:01 pm Hello Tim Saw your posting on the tomcat user's list. I have a question about your response: So how do

Re: How to share static content across applications

2005-09-15 Thread Ritchie Gillam
In the applications that need the shared assets, I already have a Context defined in the context.xml file for each app and I can only have the one. Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: [EMAIL PROTECTED] Phone: (902) 490-6167 Fax: (902)

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
Ritchie Gillam wrote: In the applications that need the shared assets, I already have a Context defined in the context.xml file for each app and I can only have the one. ? An application *is* a Context; the point is to create a single shared asset Context and reference it from wherever. As

Re: How to share static content across applications

2005-09-15 Thread Tim Funk
. This is really the reason I posted the question in the first place. Did you mean you are using another Content element to find the shared content? If so, where did you put it. If not, how are you referencing with a 3rd app when it is not a true app but just resources to share? Appreciate any

How to change the SSL port

2005-09-15 Thread Stephen Caine
All: Is there any way I can change the default SSL port from 8443 to 443? Change the port attribute of the SSL connector in your server.xml file. And use port number 443. yup, I tried this. It doesn't work. I tried edits to server xml connector from 8443 to 443 - 443 port unresponsive

RE: How to change the SSL port

2005-09-15 Thread Iannis Hanen
PM To: Tomcat Users List Subject: How to change the SSL port All: Is there any way I can change the default SSL port from 8443 to 443? Change the port attribute of the SSL connector in your server.xml file. And use port number 443. yup, I tried this. It doesn't work. I tried edits

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
From: Stephen Caine [mailto:[EMAIL PROTECTED] Subject: How to change the SSL port I tried edits to server xml connector from 8443 to 443 - 443 port unresponsive after tomcat restart. What does netstat say about who's listening on which ports? Tried 8442 also. No joy. Only plays

Re: How to change the SSL port

2005-09-15 Thread Stephen Caine
Lannis, Check your tomcat log file. If tomcat could bind properly on the SSL port you mentioned, it should show up in the log file (one of the first lines on the top). If not (e.g. because the port is already in use), it will show you a bind error message there as well. If the log says

Re: How to change the SSL port

2005-09-15 Thread Stephen Caine
Charles, What does netstat say about who's listening on which ports? Will check this out. Tried 8442 also. No joy. Only plays with 8443. There is another setting somewhere Really, there isn't. Sounds like you're not editing the server.xml file that's actually being used by

RE: How to change the SSL port

2005-09-15 Thread CommonGround Softworks/Phil McNamara
to the server.xml are correct. Iannis -Original Message- From: Stephen Caine [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 7:07 PM To: Tomcat Users List Subject: How to change the SSL port All: Is there any way I can change the default SSL port from 8443 to 443? Change

Re: How to change the SSL port

2005-09-15 Thread Hassan Schroeder
CommonGround Softworks/Phil McNamara wrote: The tomcat log does show a bind error message after my server.xml edit to port 443. Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Permission denied:443 Are you

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
From: CommonGround Softworks/Phil McNamara [mailto:[EMAIL PROTECTED] Subject: RE: How to change the SSL port It would seem to me that this demonstrates that I am editing the correct server.xml instance. Agreed. Sounds like something else has grabbed or disabled 443, especially since

Re: How to change the SSL port

2005-09-15 Thread Jason Bainbridge
On 9/15/05, Hassan Schroeder [EMAIL PROTECTED] wrote: CommonGround Softworks/Phil McNamara wrote: The tomcat log does show a bind error message after my server.xml edit to port 443. Sep 15, 2005 10:37:07 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing

Re: How to change the SSL port

2005-09-15 Thread Parsons Technical Services
: Thursday, September 15, 2005 11:15 PM Subject: RE: How to change the SSL port Guys, Thank you. Stephen posted the original question on my behalf. I am just now joining the list. Iannis and Chuck thank you for your feedback. Maybe I can provide some more info. Appreciate any further suggestions. I

How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Peter Flynn
-config'd into mod_jk.conf are relative to the Tomcat webapps directory. How do I write a url pattern that can be interpreted as relative to Apache's document root, so that JSP files in there will be passed to Tomcat for serving? If you have a tomcat webapp that serves jsp's such as http

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Michael Lai
Peter Flynn wrote: If you have a tomcat webapp that serves jsp's such as http://localhost:8080/mywebapp, then you can map jsp requests to that webapp using JkMount /mywebapp/*.jsp Ah...this exposes the gap in my understanding. Where do I get a tomcat webapp that serves jsp's? This is

Re: How to serve just JSP (was: Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-14 Thread Peter Flynn
On Wed, 2005-09-14 at 10:17, Michael Lai wrote: Peter Flynn wrote: If Tomcat doesn't have any such webapp, where do I get one? I certainly can't write one, as I'm not a Java programmer. I am limited in my knowledge of tomcat but from my understanding, tomcat can be ran either as a

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-14 Thread KEREM ERKAN
Unfortunately I have to keep the main port 80 httpd, as it's serving 20Gb of other material (the entire campus web site). All I need is the trick to make Apache httpd hand off any .jsp files to Tomcat. As I am newly subscribed to this list, I don't know if you have got a satisfactory

RE: How to serve just JSP (was: Re: JSP on RHEL4 with Apache http d RPM?

2005-09-14 Thread Peter Flynn
jsp files to Tomcat. You can find the necessary documentation in Connectors part of Tomcat documentation. Aha! Yes, AJP connector looks like what I need. Unfortunaely the documentation doesn't seem to show how to do this. If you can't get out of it, I can help you set it up off or on list

  1   2   3   4   5   6   7   8   9   10   >