How do I map realm name to none memory database

2005-08-29 Thread Alan Chandler
n database how do I specify the Realm Name? -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi Jo, Thanks, that's exactly what I was looking for. Ike -Original Message- From: Jo [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:36 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Previous mails on 'j-security_check & sessio

RE: How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi Chris, Thanks, the information you provided is very useful. Ike -Original Message- From: Chris Holden [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 6:48 PM To: Tomcat Users List Subject: Re: How do I get user credential in Tomcat Well thanks to Frank I have been looking

Re: How do I get user credential in Tomcat

2005-08-01 Thread Chris Holden
this site you might find it useful http://www.unix.org.ua/orelly/java-ent/servlet/ch08_01.htm#ch08-3-fm2xml Chris. - Original Message - From: "Jo" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, August 02, 2005 12:36 AM Subject: Re: How do

Re: How do I get user credential in Tomcat

2005-08-01 Thread Jo
]> To: Sent: Tuesday, August 02, 2005 7:30 AM Subject: How do I get user credential in Tomcat > Hi all, > > > > I am implementing Basic authentication, I would like to make both the > Principal and Credential visible to my > > servlet being managed by Tomcat, I know how

How do I get user credential in Tomcat

2005-08-01 Thread Ikonne, Ike
Hi all, I am implementing Basic authentication, I would like to make both the Principal and Credential visible to my servlet being managed by Tomcat, I know how to get the Principal, but I can't seem to find a away to get the Credential. Does anyone have an idea as to how I can get this info

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-04 Thread Edmund Urbani
Bill Barker wrote: >"Edmund Urbani" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] > > >>hi! >> >>i ran into some trouble with tomcat5 and its slash adding behaviour. >>there's this MS WebFolder client (M$ for WebDAV), that does not seem to >>be able to cope with status 302 redire

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Bill Barker
"Edmund Urbani" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > hi! > > i ran into some trouble with tomcat5 and its slash adding behaviour. > there's this MS WebFolder client (M$ for WebDAV), that does not seem to > be able to cope with status 302 redirects in some situations. in

RE: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Sheets, Jerald
Works here... -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 10:17 AM To: Tomcat Users List Subject: Re: how do i prevent tomcat5 from adding trailing slash? actually i'm currently using a standalone tomcat with its own http conn

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Edmund Urbani
t;The Weather Channel Interactive > > >-Original Message----- >From: Edmund Urbani [mailto:[EMAIL PROTECTED] >Sent: Friday, July 01, 2005 9:43 AM >To: tomcat-user@jakarta.apache.org >Subject: how do i prevent tomcat5 from adding trailing slash? > > >hi! > >

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Mladen Turk
Sheets, Jerald wrote: In your mod_jk.conf, you have JkMount directives like so: JkMount /servlet/* ajp13 JkMount /jsp-examples/* ajp13 JkMount /servlets-examples/* ajp13 I find that in your mounts that if you simply remove the trailing slash in these, you can then call those URIs without the sl

RE: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Sheets, Jerald
July 01, 2005 9:43 AM To: tomcat-user@jakarta.apache.org Subject: how do i prevent tomcat5 from adding trailing slash? hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with

how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Edmund Urbani
hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with status 302 redirects in some situations. in order to work around this problem i modified the class org.apache.tomcat.util.http.mapp

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Louis Moore
P's outside of it I guess? > >Thanks, Jason > > > Jim Henderson wrote: > > >Take a look at yesterdays (6/23 5:02 PM) posting > "Blocking urls". That > >should help. > > > >-Original Message- > >From: Jason Novotny

RE: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Jim Henderson
riday, June 24, 2005 1:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: how do i restrict servlet access? / blocking URLs Hi Jim, Thanks-- I just looked at using a filter as a solution, but there seems to be a problem. I want the servlet in webapp A to be able to dispatch to B bu

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Frank W. Zammetti
>>From: Jason Novotny [mailto:[EMAIL PROTECTED] >>Sent: Thursday, June 23, 2005 10:13 PM >>To: tomcat-user@jakarta.apache.org >>Subject: how do i restrict servlet access? >> >> >> >>Hi, >> >>I have a webapp A that uses cross-cont

Re: how do i restrict servlet access? / blocking URLs

2005-06-24 Thread Jason Novotny
wrote: Take a look at yesterdays (6/23 5:02 PM) posting "Blocking urls". That should help. -Original Message- From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 10:13 PM To: tomcat-user@jakarta.apache.org Subject: how do i restrict servlet access? H

RE: how do i restrict servlet access?

2005-06-24 Thread Jim Henderson
Take a look at yesterdays (6/23 5:02 PM) posting "Blocking urls". That should help. -Original Message- From: Jason Novotny [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 10:13 PM To: tomcat-user@jakarta.apache.org Subject: how do i restrict servlet access? Hi,

how do i restrict servlet access?

2005-06-23 Thread Jason Novotny
Hi, I have a webapp A that uses cross-context to dispatch requests to webapp B. However, I want users to have to go thru webapp A and the mapping I set in web.xml. How do I restrict access so only webapp A can invoke B's servlet but B should be inaccessible to users navigation. Is

RE: After a successful build of tomcat from build.xml, how do I i nstall it?

2005-06-09 Thread Clark, Benjamin
rg Subject: Re: After a successful build of tomcat from build.xml, how do I install it? Optionally copy your build.properties file to .../jakarta-tomcat-5. Then in your .../jakarta-tomcat-5/build.properties file add the property: tomcat.dist=/path/to/my/tomcat/install/dir Then from .../jakarta-t

Re: After a successful build of tomcat from build.xml, how do I install it?

2005-06-08 Thread Bill Barker
Optionally copy your build.properties file to .../jakarta-tomcat-5. Then in your .../jakarta-tomcat-5/build.properties file add the property: tomcat.dist=/path/to/my/tomcat/install/dir Then from .../jakarta-tomcat-5 do 'ant dist'. This is the closest to 'ant install' that you can get. The oth

After a successful build of tomcat from build.xml, how do I insta ll it?

2005-06-08 Thread Clark, Benjamin
I am a Tomcat newbie, having been a Perl webguy for the past 5 years. Because I like to build that which I use from source, I am trying to get Tomcat running on my Linux laptop using a build.xml file from http://jakarta.apache.org/tomcat/tomcat-5.5-doc/build.xml

Re: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
se, > > Add the following to your apache config file httpd.conf change > > ErrorDocument 503 /your_file.html > ErrorDocument 200 /your_file.html > > -B > -Original Message- > From: j r [mailto:[EMAIL PROTECTED] > Sent: Monday, June 06, 2005 5:40 PM > To: tom

RE: How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread Brian McGovern
] Sent: Monday, June 06, 2005 5:40 PM To: tomcat-user@jakarta.apache.org Subject: How do I change the error page being served while tomcat is starting up? When I start tomcat, it takes approximately 1 minute to complete its startup process. If apache is up during that period, the following pag

How do I change the error page being served while tomcat is starting up?

2005-06-06 Thread j r
When I start tomcat, it takes approximately 1 minute to complete its startup process. If apache is up during that period, the following page gets served: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Ple

Re: How do I handle International Characters

2005-05-10 Thread Harry Mantheakis
> A method we have used with success for inbound request encoding is to add a > Servlet Filter to our application whose sole job is to call > request.setCharacterEncoding("UTF-8") > > Allistair. And you might consider adding a call to: response.setContentType( "text/html; charset=UTF-8" );

RE: How do I handle International Characters

2005-05-10 Thread Allistair Crossley
: 10 May 2005 08:54 > To: Tomcat Users List > Subject: Re: How do I handle International Characters > > > Lutz Zetzsche wrote: > > >Hi Harry, > > > >Am Montag, 9. Mai 2005 20:53 schrieb Harry Mantheakis: > > > > > >>Browsers should (a

Re: How do I handle International Characters

2005-05-10 Thread Christoph Kutzinski
Lutz Zetzsche wrote: Hi Harry, Am Montag, 9. Mai 2005 20:53 schrieb Harry Mantheakis: Browsers should (and mostly do, I think) respect the encoding you specify when setting the response content-type (and the meta-tag content-type) so you can simply assume (in your filter) that your form-data wil

Re: How do I handle International Characters

2005-05-10 Thread Harry Mantheakis
Hi Lutz > As far as HTML forms are concerned, you can force the browser to submit > them to the server using a particular charset by adding the > "accept-charset" attribute to the form tag, i.e.: > > > ... > > > http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset Thanks fo

Re: How do I handle International Characters

2005-05-09 Thread Lutz Zetzsche
Hi Harry, Am Montag, 9. Mai 2005 20:53 schrieb Harry Mantheakis: > Browsers should (and mostly do, I think) respect the encoding you > specify when setting the response content-type (and the meta-tag > content-type) so you can simply assume (in your filter) that your > form-data will be in UTF-8.

Re: How do I handle International Characters

2005-05-09 Thread haim
I am using the following plug-in for properties file. http://propedit.sourceforge.jp/index_en.html Helps when using messages resources , eliminate the need of native2ascii.exe Regards Haim Harry Mantheakis wrote: Hello I am using Tomcat 5.0 and I am trying to receive and send thai characters. C

Re: How do I handle International Characters

2005-05-09 Thread Harry Mantheakis
Hello > I am using Tomcat 5.0 and I am trying to receive and > send thai characters. Can someone please tell me the > simplest ways to do this. This worked for me with Japanese characters: Use a filter to set encodings for both requests and responses: request.setCharacterEncoding( "UTF-

Re: How do I redirect all tomcat ports to use SSL?

2005-05-09 Thread Donny R Rota
he.org cc Subject Re: How do I redirect all tomcat ports to use SSL? The below will make Tomcat require the use of SSL. To have Tomcat automaitcally redirect for SSL, you must code redirectPort="443" as part of your port=80 connector definition in the server.xml file. Regar

Re: How do I handle International Characters

2005-05-07 Thread David Harland
็Hi Mark, Many thanks for your help. Dave. --- Mark Thomas <[EMAIL PROTECTED]> wrote: > David, > > You also need to look at how the parameters are set > in the first place. > Are you using GET or POST? If you are using GET have > you set any of the > character encoding settings on the connect

Re: How do I handle International Characters

2005-05-07 Thread Mark Thomas
David, You also need to look at how the parameters are set in the first place. Are you using GET or POST? If you are using GET have you set any of the character encoding settings on the connector? The following index.jsp works for me: <%@ page contentType="text/html; charset=UTF-8" %> C

Re: How do I handle International Characters

2005-05-07 Thread David Harland
Hi Mark If I have tried the following. response.setContentType("text/html; charset=utf-8"); PrintWriter out = response.getWriter(); request.setCharacterEncoding("UTF-8"); String test=request.getParameter("login"); out.println("Input string:"+test);

Re: How do I handle International Characters

2005-05-07 Thread Mark Thomas
http://jakarta.apache.org/tomcat/faq/misc.html#tomcat5CharEncoding Mark David Harland wrote: I am using Tomcat 5.0 and I am trying to receive and send thai characters. Can someone please tell me the simplest ways to do this. Many thanks Dave. __ Do Y

How do I handle International Characters

2005-05-07 Thread David Harland
I am using Tomcat 5.0 and I am trying to receive and send thai characters. Can someone please tell me the simplest ways to do this. Many thanks Dave. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.ya

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Bob Feretich
The below will make Tomcat require the use of SSL. To have Tomcat automaitcally redirect for SSL, you must code redirectPort="443" as part of your port=80 connector definition in the server.xml file. Regards, Bob Feretich Subject: Re: How do I redirect all tomcat ports to use SSL? Fr

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Fabian Pena
roup 20 Maguire Road, Lexington, MA 02421-3104 Tel: 781 676 2655, Fax: 781 676 7645 [EMAIL PROTECTED] Fabian Pena <[EMAIL PROTECTED]> 05/04/2005 04:51 PM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: How do I redirect all tomcat ports to use SSL?

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Hassan Schroeder
Donny R Rota wrote: Thanks, I use security-constraints now, and I've been looking for this answer for weeks. I've not found that option available. Can you send me an URL to this? In the mean time, I'm going to see if I can find that option in my other sources. Uh, your "other sources" would pres

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Donny R Rota
at Users List" To Tomcat Users List cc Subject Re: How do I redirect all tomcat ports to use SSL? In a web application, you can edit your web.xml file and add a to redirect all application requests to SSL. I Hope this help Fabian Donny R Rota wrote: > > This weeks p

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Fabian Pena
In a web application, you can edit your web.xml file and add a to redirect all application requests to SSL. I Hope this help Fabian Donny R Rota wrote: This weeks puzzler 8^) I want all my Tomcat requests to go through SSL. I setup tomcat, and got port 80 and port 443 (SSL) working. But I canno

How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Donny R Rota
This weeks puzzler  8^) I want all my Tomcat requests to go through SSL. I setup tomcat, and got port 80 and port 443 (SSL) working. But I cannot redirect port 80 to 443.  I keep getting refused: Is there a way in Tomcat to redirect all port 80 requests to SSL(443)? I know you can do it the othe

How do I Logout using JAAS

2005-04-14 Thread Scot Meyer
I have JAAS implemented and working properly. Except when I attempt to invalidate the session it keeps me logged in. Is this because of SSO? What do I need to do to Logout the user in question. Thanks Scotchy __ Do you Yahoo!? Yahoo! Small Bu

RE: How do I restrict access to webapps applications from browser users?

2005-04-14 Thread Darryl Wilburn
Another option would be the BadInputFilterValve. I can't really speak to that option as I have not used it. But, maybe someone else has? Darryl __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.c

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Robert r. Sanders
Note that there are also a number of Filters that can implement something similar, with much more fine grained control than the servlet-spec allows for container-managed security. Darryl Wilburn wrote: I lost the thread to this original message, but found what I consider good information. Ike, H

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Hassan Schroeder
Ikonne, Ike wrote: It is more like the last thing you listed below. I know that when fronted with Apache, that can be done, I thought tomcat had similar directory control that apache has without having to setup security constraints. You basically nailed it, I may have to tell my clients to just

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
tomcat with Apache. Again, thanks for your response -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:27 PM To: Tomcat Users List Subject: Re: How do I restrict access to webapps applications from browser users? On 4/13/05, Ikonne, Ike

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Jason Bainbridge
On 4/13/05, Ikonne, Ike <[EMAIL PROTECTED]> wrote: > Hi Darryl, > > Thanks, I thought there was another way to do it other than setting up > security constraints and making users to get the signon page that is > associated with this. > Maybe you need to describe what you are actually trying to a

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
:09 PM To: tomcat-user@jakarta.apache.org Subject: How do I restrict access to webapps applications from browser users? I lost the thread to this original message, but found what I consider good information. Ike, Here's a link to some information on using security-constraint:

How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Darryl Wilburn
I lost the thread to this original message, but found what I consider good information. Ike, Here's a link to some information on using security-constraint: http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html It also states: "The sub-element defines the authentication method for the defi

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
ROTECTED] Sent: Wednesday, April 13, 2005 9:30 AM To: Tomcat Users List Subject: RE: How do I restrict access to webapps applications from browser users? Hi Fritz, So, are you saying that I have to have basic authentication enabled in order to restrict access to certain directories

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Dakota Jack
authentication enabled in order > to restrict > access to certain directories? > > Thanks, > > Ike > > > -Original Message- > From: Fritz Schneider [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 11:04 AM > To: 'Tomcat Users

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
7; Subject: RE: How do I restrict access to webapps applications from browser users? Ike. You need to complete your with authorization, login, and role information. Here is what works for me: Restricted Files /* app1 BA

RE: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Fritz Schneider
Ike. You need to complete your with authorization, login, and role information. Here is what works for me: Restricted Files /* app1 BASIC My Application The role that is required to log in to the applicat

How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Ikonne, Ike
Hi all, I am trying to restrict access to directories under webapps/myapp and I have the following in my WEB-INF/web.xml, but users still can browse through all the directories under webapps/myapp What am I doing wrong? I have the same thing for Jetty webserver and it works. I am running t

How do I "force session cookies to be set to the root path"?

2005-04-08 Thread Jeff Hoffmann
t find anything that actually says how to do it. Is this still possible, and if so, how do I do it? -- Jeff Hoffmann [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

how do I correct keytool error

2005-03-13 Thread James T. Studebaker
I ran the keytool utility to create a self signed certificate.  I used the changeit password.  The utility completed successfully.  However when I used the keytool -list command I get the following error:   keytool error: java.io.IOException: Keystore was tampered with, or password was inco

How do I configure the Tomcat admin app to read and write a JDBCRealm user database?

2005-03-02 Thread Joseph Silverman
Not so new Tomcat user here, but looking to learn more about what is going in there and what I can make it do for me! I have configured server.xml in tomcat to read users, groups, and roles using mysql easily and successfully. Now I would like to edit these tables from tomcat as well - seems li

how do i set thread stack size in TOMCAT5.5.4

2005-01-31 Thread fan lianjie
I have a .exe TOMCAT vesion. and how do i set the thread stack size? -- MSN:[EMAIL PROTECTED] QQ:29967409 - _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com

Re: How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-11 Thread Parsons Technical Services
impson" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 11, 2005 12:15 PM Subject: Re: How do I reset the Default Context for all tomcat application in a Server Container?? I was afraid I was going to have to do it for each application. I was hoping that I

Re: How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-11 Thread Troy Simpson
I was afraid I was going to have to do it for each application. I was hoping that I could set a Tomcat Server Wide Base URL then let each webapp append to it. Does anyone think that this might be a benefitial feature for a future release? Thanks Troy -- Troy Simpson Applications Analyst/Prog

Re: How do I force the expiration of the JSESSIONID cookie for proxies?

2005-01-11 Thread Mike Fowler
Ian - HttpSession.invalidate() will cause the client's cookie to expire. -Mike Fowler "I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it" Ian Stevens wrote: I have a system which renders a session stored in the HttpSession unusable once th

Re: How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-10 Thread Parsons Technical Services
doc/config/context.html Doug - Original Message - From: "Troy Simpson" <[EMAIL PROTECTED]> To: "tomcat-user" Sent: Monday, January 10, 2005 9:16 PM Subject: How do I reset the Default Context for all tomcat application in a Server Container?? I have two instances of Tomc

How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-10 Thread Troy Simpson
I have two instances of Tomcat 5.0.28 running with one instances of Apache 2.0.52. Is there a way to reset Applications Context (URL) Paths. For example, the Welcome to tomcat page is set to ROOT (http://www.domain.com/) and I would like to reset it to (http://www.domain.com/dli/) I would like to

How do I force the expiration of the JSESSIONID cookie for proxies?

2005-01-10 Thread Ian Stevens
I have a system which renders a session stored in the HttpSession unusable once the user logs out. All initialisation on the session is performed inside a HttpSessionListener.sessionCreated() method. Further accesses under the same JSESSIONID result in an error detailing that the user must close

Re: How Do I Install A Valve

2005-01-03 Thread Mark Anderson
erver, not inside the web app, they need to be in the server classpath. You can either do what you did or edit catalina.properties. -Original Message- From: Mark Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:48 PM To: Tomcat Users List Subject: Re: How Do I Inst

RE: How Do I Install A Valve

2004-12-30 Thread Benson Margulies
edit catalina.properties. -Original Message- From: Mark Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:48 PM To: Tomcat Users List Subject: Re: How Do I Install A Valve Through some trial and error, I solved the problem. The class file apparently needs to be under CATALINA

Re: How Do I Install A Valve

2004-12-30 Thread Mark Anderson
Through some trial and error, I solved the problem. The class file apparently needs to be under CATALINA_HOME/server/classes. If one bundles it into a jar file, the jar needs to be in CATALINA_HOME/server/lib. I'm real new to Tomcat, so I don't know if this is really the place to put it. Is th

How Do I Install A Valve

2004-12-30 Thread Mark Anderson
Hi. I've written a Valve that I will configure inside the element in server.xml. I've made my valve class part of the org.apache.catalina.valves package. My questions is this: Where to I put the class file so that Tomcat can use it? (I'm using Tomcat 5.0.27.) - Mark ---

Re: off topic - how do i convert an int to char

2004-12-07 Thread Adam Smith
: Tuesday, December 07, 2004 10:34 AM Subject: off topic - how do i convert an int to char folks, sorry for posting this offtopic qns here.. but would someone plz help me out in converting an int value to char? my requirement is very simple. i'm looping thro a list and for each counter i ne

RE: off topic - how do i convert an int to char

2004-12-07 Thread Caldarale, Charles R
> From: Parsons Technical Services [mailto:[EMAIL PROTECTED] > Subject: Re: off topic - how do i convert an int to char > > Cast it with the offset added. > int i = 0; > char ch = (char)(i+97); Or if you want to make it a little more understandable: char ch = (char) (i

Re: off topic - how do i convert an int to char

2004-12-07 Thread Filip Hanik - Dev
am I being silly? char ch = (char)myint; Filip - Original Message - From: "Robert Harper" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:01 AM Subject: RE: off topic - how do i conver

Re: off topic - how do i convert an int to char

2004-12-07 Thread Parsons Technical Services
CTED]> Sent: Tuesday, December 07, 2004 10:51 AM Subject: Re: off topic - how do i convert an int to char That would be the last solution if i dont get any other better way of doing it... i tried with Character.forDigit(97, 2) hoping to get 'a' back but it returned 0... i'm no

RE: off topic - how do i convert an int to char

2004-12-07 Thread Brantley Hobbs
y, December 07, 2004 11:01 AM > To: Brantley Hobbs; Yang Xiao > Cc: Tomcat Users List > Subject: Re: off topic - how do i convert an int to char > > Thanks!!! > that worked !! > > - Original Message - > From: "Brantley Hobbs" <[EMAIL PROTECTED]>

RE: off topic - how do i convert an int to char

2004-12-07 Thread Robert Harper
, 2004 8:50 AM > To: Tomcat Users List; Yang Xiao > Subject: RE: off topic - how do i convert an int to char > > Alternatively, you can add the ASCII offset to the integer, then get the > char that evaluates to that ASCII code. I think its 32, but you'll need > to check fo

Re: off topic - how do i convert an int to char

2004-12-07 Thread Nilesh Bhattad
Thanks!!! that worked !! - Original Message - From: "Brantley Hobbs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Yang Xiao" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:54 AM Subject: RE: off topic - how do

RE: off topic - how do i convert an int to char

2004-12-07 Thread Peter Crowther
> From: Nilesh Bhattad [mailto:[EMAIL PROTECTED] > Subject: Re: off topic - how do i convert an int to char Oh, come on. String letterAt(int i) { return "abcdefghijklmnopqrstuvwxyz".substring(i, i + 1); } Fast, portable, simple.

RE: off topic - how do i convert an int to char

2004-12-07 Thread Brantley Hobbs
Wow, was I off. Add a 97 to your int value to get the lower-case English letters. B. > -Original Message- > From: Brantley Hobbs > Sent: Tuesday, December 07, 2004 10:50 AM > To: Tomcat Users List; Yang Xiao > Subject: RE: off topic - how do i convert an int to char >

Re: off topic - how do i convert an int to char

2004-12-07 Thread Nilesh Bhattad
riginal Message - From: "Yang Xiao" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:42 AM Subject: Re: off topic - how do i convert an int to char make a hash or array? On Tue, 7 Dec 2004 10:34:15 -0500, Nilesh B

RE: off topic - how do i convert an int to char

2004-12-07 Thread Brantley Hobbs
10:42 AM > To: Tomcat Users List > Subject: Re: off topic - how do i convert an int to char > > make a hash or array? > > > On Tue, 7 Dec 2004 10:34:15 -0500, Nilesh Bhattad <[EMAIL PROTECTED]> > wrote: > > folks, > > sorry for posting this offtopic qns her

Re: off topic - how do i convert an int to char

2004-12-07 Thread Yang Xiao
make a hash or array? On Tue, 7 Dec 2004 10:34:15 -0500, Nilesh Bhattad <[EMAIL PROTECTED]> wrote: > folks, > sorry for posting this offtopic qns here.. but would someone plz help me out > in converting an int value to char? my requirement is very simple. i'm > looping thro a list and for each

off topic - how do i convert an int to char

2004-12-07 Thread Nilesh Bhattad
folks, sorry for posting this offtopic qns here.. but would someone plz help me out in converting an int value to char? my requirement is very simple. i'm looping thro a list and for each counter i need to get 'a', 'b' and so forth. basically i need some conversion routine which will convert 0 t

Re: Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
good reason. Shapira, Yoav wrote: Hi, 1. How do I stop the window started my Catalina from disappearing so I can see what the problem is. Use "catalina.bat run" instead of startup.bat (which calls "catalina.bat start"). 2. In Tomcat 4.0 can I have a config file for m

RE: Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Shapira, Yoav
Hi, >1. How do I stop the window started my Catalina from disappearing so I >can see what the problem is. Use "catalina.bat run" instead of startup.bat (which calls "catalina.bat start"). >2. In Tomcat 4.0 can I have a config file for my application rather than

Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
window but then disappears immediately before I am able to trap the problem, there is nothing in the log file to indicate the problem. Could anybody please help with any of the following ? 1. How do I stop the window started my Catalina from disappearing so I can see what the problem is. 2. In

Re: how do I unsubscribe from this mailing list?

2004-11-01 Thread Antony Paul
You will get a mail asking for confirmation whether you want to unsuscribe. Send an empty reply for it. rgds Antony Paul On Mon, 1 Nov 2004 09:31:04 -, Adrian Harrison <[EMAIL PROTECTED]> wrote: > can anyone please tell me how to? > > sent an email to this address but still receiving tomcat

AW: how do I unsubscribe from this mailing list?

2004-11-01 Thread Canto IT System Manager
Be sure that you use the right email account by sending your email ;-) -Ursprüngliche Nachricht- Von: spammemothers [mailto:[EMAIL PROTECTED] Im Auftrag von Adrian Harrison Gesendet: Montag, 1. November 2004 10:31 An: 'Tomcat Users List' Betreff: how do I unsubscribe from th

how do I unsubscribe from this mailing list?

2004-11-01 Thread Adrian Harrison
can anyone please tell me how to? sent an email to this address but still receiving tomcat emails [EMAIL PROTECTED] thanks harry

Re: How do I configure Tomcat to write to a Serial Port?

2004-10-02 Thread Parsons Technical Services
What OS? - Original Message - From: "Donald Horrell (BT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 02, 2004 9:04 AM Subject: How do I configure Tomcat to write to a Serial Port? > I've downloaded and installed the Java Comm

How do I configure Tomcat to write to a Serial Port?

2004-10-02 Thread Donald Horrell \(BT\)
I've downloaded and installed the Java Communications API (version 2) and Tomcat 5.0.25. The whole lot uses Java 1.4.0. My servlet is below, but when I invoke it, I get a log and an exception: "Serial port is already in use." javax.servlet.ServletException comms.Send.init(Send.java:55) javax.serv

Re: how do i set max session time in 4.1.27

2004-09-09 Thread Arun Prasad R
ECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, September 09, 2004 4:03 PM > Subject: how do i set max session time in 4.1.27 > > > hi all > > > > how do i set max session time in 4.1.27 > > Thanks in Advance > &

Re: how do i set max session time in 4.1.27

2004-09-09 Thread Antony Paul
sad R" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 4:03 PM Subject: how do i set max session time in 4.1.27 > hi all > > how do i set max session

how do i set max session time in 4.1.27

2004-09-09 Thread Arun Prasad R
hi all how do i set max session time in 4.1.27 Thanks in Advance arun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Jay Glanville
e- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Friday, September 03, 2004 2:07 PM > To: Tomcat Users List > Subject: RE: How do I programmatically find the DocBase of my webapp? > > > > Hi, > Why don't people ever search the archives before posting

RE: How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Shapira, Yoav
nville, Jay [mailto:[EMAIL PROTECTED] >Sent: Friday, September 03, 2004 2:00 PM >To: [EMAIL PROTECTED] >Subject: How do I programmatically find the DocBase of my webapp? > >Hello all, > >Quick question here (I hope). Inside of my web application, I want to >find the full,

How do I programmatically find the DocBase of my webapp?

2004-09-03 Thread Glanville, Jay
Hello all, Quick question here (I hope). Inside of my web application, I want to find the full, absolute file path to this application's doc base. How do I do this? Basically, I want to ensure that files X, Y and Z exist before my application starts to respond to requests. JDG -

RE: How do I make my servlet the welcome page - resolved

2004-09-01 Thread Brad Taylor
After trying both suggestions (moving welcome file list to end of web.xml and adding the 2.4 schema to the web tag), it still did not work. I tried changing the web.xml in the tomcat\conf directory, it still did not work. I removed index.html from my directory and it started displaying the direct

Re: How do I make my servlet the welcome page

2004-09-01 Thread Jonathan Eric Miller
AIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 2:26 PM Subject: Re: How do I make my servlet the welcome page On Wed, Sep 01, 2004 at 02:16:49PM -0500, Brad Taylor wrote: : I am running tomcat 5.0.9. I currently enter a url like : http:/

  1   2   3   4   5   6   7   8   9   >