RE: Slightly OT: Yet another IE woe...

2004-12-07 Thread Brad Cobb
Hi, > From: Robert Hunt [mailto:[EMAIL PROTECTED] > Weider still, I comment out only the tag and the > download works fine; no-cache http headers are still > in place. So, it may > be something with https, but how? Have a look at this thread: http://forum.java.sun.com/thread.jspa?forumID=

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
Thanks! I've got Tomcat to work on port 80 with IIS service disabled! The problem now is request.getRemoteUser() returns NULL? Before, when I'm integrating it with IIS, request.getRemoteUser() returns the login name of the user... I need to get the user's domain login name... afterwhich, I will

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Caldarale, Charles R
> From: Aris Javier [mailto:[EMAIL PROTECTED] > Subject: RE: Help: Windows Server on Linux Client > > I've changed my server.xml to port 80 and disconnected IIS... > but "page cannot be displayed" appeared...? The first thing to try is a clean Tomcat install, updating server.xml to the desired p

Re: Help: Windows Server on Linux Client

2004-12-07 Thread Parsons Technical Services
1. Is IIS shutdown (Stop the service and disable it)? 2. Is Tomcat up and running? 3. http://localhost returns what? If you get the default start page there is a link to the manager. As for the login Benson is speaking of the authentication (login) box that appears when you hit a site with sec

Re: Slightly OT: Yet another IE woe...

2004-12-07 Thread Wade Chandler
Robert Hunt wrote: Weider still, I comment out only the tag and the download works fine; no-cache http headers are still in place. So, it may be something with https, but how? -- RH - Original Message - From: rh To: tc-u Sent: Tuesday, December 07, 2004 10:42 PM Subject: Slightly OT: Y

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
thanks Chuck! I've changed my server.xml to port 80 and disconnected IIS... but "page cannot be displayed" appeared...? http://server/myApp then, how to go to Tomcat web manager? http://server:80? aris -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wedne

Re: Slightly OT: Yet another IE woe...

2004-12-07 Thread Robert Hunt
Weider still, I comment out only the tag and the download works fine; no-cache http headers are still in place. So, it may be something with https, but how? -- RH - Original Message - From: rh To: tc-u Sent: Tuesday, December 07, 2004 10:42 PM Subject: Slightly OT: Yet another IE wo

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Caldarale, Charles R
> From: Aris Javier [mailto:[EMAIL PROTECTED] > Subject: RE: Help: Windows Server on Linux Client > > if I will not use IIS, how to remove 8080 in URL then? Tomcat's HTTP connector is configured in server.xml. By default, Tomcat ships with the port number set to 8080 so you can test without int

RE: Threads issues in Tomcat 5.0.28

2004-12-07 Thread Arnab Chakravarty
Hey, I see your problem similar to mine some time in the past. What you need to is the following: - Lower the number of threads and keep it close to 120-150 threads. - Are you using a database, if yes, check if the DB connection pool is the bottleneck - Yes, you can find what the 200 threads are

Re: tag reference advice

2004-12-07 Thread QM
On Tue, Dec 07, 2004 at 06:03:31PM -0700, D. Stimits wrote: : [snip] : so if I already know the tag name and the : library it is in I can easily look it up. What I'm looking for is some : sort of browsing reference that has all of the libraries listed together : or something with a functional se

Slightly OT: Yet another IE woe...

2004-12-07 Thread Robert Hunt
Under Tomcat 5.0.25, I've got a web-app creating a file on-the-fly. I've got the servlet "surrounded" by the following security constraint: -- /registration/file.xls 20040490 CONFIDENTIAL -- Witho

Consulting Opportunity: Thread issues in Tomcat 5.0

2004-12-07 Thread Matt Robinson
Hi, Forgive me if this is not the correct forum for Tomcat-related opportunities. We are looking for an experienced Java and Tomcat/IIS developer who has a deep knowledge of Tomcat (ideally 5.0.28+) -- particularly in medium to high load scenarios utilizing AJP13 connectors. We are located in the

re: IIS replacement

2004-12-07 Thread David Boyer
Actually, I've been using the JK2 ISAPI connector with IIS 6.0 (in worker process mode) just fine. If I'm not mistaken, I've also had the JK ISAPI connector running under IIS 6.0. I think the key is loading the filter at the site level and not at the global level, and making sure the site has its

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
but where to type [EMAIL PROTECTED] or foo\domain in linux? sorry im a newbie in linux... thanks! aris -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 10:12 AM To: Tomcat Users List Subject: RE: Help: Windows Server on Linux Client

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
im just using IIS to remove 8080 port number... with the help of jk2 connector... if I will not use IIS, how to remove 8080 in URL then? thanks! -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 10:20 AM To: Tomcat Users Li

wrongly URI-decoded request.getPathInfo()

2004-12-07 Thread Garret Wilson
I'm using Tomcat 5.5.4. I have an HTTP servlet mapped to /servlet/*. I send a request to the servlet on localhost like this: http://localhost/webapp/servlet/test/encoded%2Ffilename Here's what I get from the servlet request: request URI: /webapp/servlet/test/encoded%2Ffilename request URL: http://l

Threads issues in Tomcat 5.0.28

2004-12-07 Thread Matt Robinson
Hi, We have 5 instances of Tomcat 5.0.28 running on their own high performance servers (dual XEON / 2GB RAM, etc) receiving AJP13 connector requests via our main web server which has IIS 5, IIS redirector, and Tomcat4. This works great even under high loads except for one thing: after several ho

Re: Help: Windows Server on Linux Client

2004-12-07 Thread Parsons Technical Services
With the Anonymous Access disabled, did it prompt for a login on Linux machines? If yes, then Benson has you covered. If not, then can you use Tomcat without IIS? Is there something that has to run on IIS? As for the JDBCRealm, it does not matter what the client is. Doug - Original Message

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Benson Margulies
The user can type [EMAIL PROTECTED] in as their user name to the basic auth box, and their domain password, or foo\domain. And then the IIS will cheerfully authenticate them to the domain. - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Best place to store files ?

2004-12-07 Thread Eric VERGNAUD
le 8/12/04 0:15, Wendy Smoak à [EMAIL PROTECTED] a écrit : > From: "Eric VERGNAUD" <[EMAIL PROTECTED]> >> Yes it's simple. I was just wondering whether there was a preferred method >> for this, and maybe a folder in the Tomcat directory for that purpose. > > Nothing in the Servlet Specification r

RE: Help: Windows Server on Linux Client

2004-12-07 Thread Aris Javier
Hello! I already enabled "Anonymous Access" but to no success... =| I think the problem is in IIS ? because http://server:8080/myApp is working in linux but request.getRemoteUser() is null... well ofcourse, the user did not login inside the domain... how can a linux user login inside the domain? I

Re: tag reference advice

2004-12-07 Thread Azfar Kazmi
Not that I know of. However, if you (or someone else) could take the task. I am sure it will be very useful. -Azfar On Tue, 07 Dec 2004 18:03:31 -0700, D. Stimits <[EMAIL PROTECTED]> wrote: > I'm pretty new to using taglibs, struts, so on. I see various > alphabetical lists of tags after select

Re: GNOME INSTALLATION

2004-12-07 Thread ziggler
No for windows? On Tue, 7 Dec 2004 09:41:27 -0500, Phillip Qin <[EMAIL PROTECTED]> wrote: > You can do it by yourself. The installation is very easy. No advanced > knowledge required. > > -Original Message- > From: Keddie, Robert [mailto:[EMAIL PROTECTED] > Sent: December 7, 2004 9:43 AM

tag reference advice

2004-12-07 Thread D. Stimits
I'm pretty new to using taglibs, struts, so on. I see various alphabetical lists of tags after selecting various libraries from the jakarta.apache.org web site, so if I already know the tag name and the library it is in I can easily look it up. What I'm looking for is some sort of browsing refe

Re: [OT] connecting a profiler (WAS: Re: Connector debug)

2004-12-07 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 QM wrote: | I've changed the subject, since this your question is effectively a new | train of thought. | | On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote: | : Is there a way we could attach a debugger to an already running instance | : o

Re: when to use <%@include%> when to use

2004-12-07 Thread Ben Souther
> 1/ name your JSP fragments something other than ".jsp" (".jspf" is the > unofficial standard) such that they aren't picked up by a precompiler If you do this, I would recommend that you do something to keep your source from being viewed by a browser. This can be done with a mapping, or filter t

Re: when to use <%@include%> when to use

2004-12-07 Thread QM
On Wed, Dec 08, 2004 at 12:28:35AM +0800, Zerol Tib wrote: : As we know, <%@ include%> can include another jsp page : at "translation time" while can include another : jsp at "runtime". But when to use each? Could anyone give me : a scenario? Adding to the fine responses you've already received

Re: Documentation

2004-12-07 Thread QM
On Tue, Dec 07, 2004 at 09:01:07PM +0100, Pablo Carretero wrote: : I'm very new in the Open Source software, I good like the idea, and under my : point of view, is the best solution event the big companies. But for : beginner, is very difficult. I'd argue that just about any software -- commercia

[OT] connecting a profiler (WAS: Re: Connector debug)

2004-12-07 Thread QM
I've changed the subject, since this your question is effectively a new train of thought. On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote: : Is there a way we could attach a debugger to an already running instance : of tomcat? : JProfiler requires re-start of tomcat. : thanks, Not

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
JkAutoAlias does not seem to produce the results that I was looking for. I need some way to pass information to Tomcat as part of the JkMount /*.jsp ajp13 about the particular webapp which this VirtualHost is serving. The alias doesn't appear to give Tomcat any info about the Context path of t

Re: Best place to store files ?

2004-12-07 Thread Wendy Smoak
From: "Eric VERGNAUD" <[EMAIL PROTECTED]> > Yes it's simple. I was just wondering whether there was a preferred method > for this, and maybe a folder in the Tomcat directory for that purpose. Nothing in the Servlet Specification requires Tomcat to provide you with a permanent place to put uploaded

Re: simplest way to cache jsp pages into built "static" files?

2004-12-07 Thread Peter Johnson
Thought of that as well but wasn't sure how to accomodate "built" pages i.e. with includes etc so I ended up with an output filter to store and an input filter to serve. Now what if you don't want Tomcat to serve but rather Apache. Well the output filter would simply need to write to disk where

Re: Best place to store files ?

2004-12-07 Thread Parsons Technical Services
Not to my knowledge. But it has been known to be lacking at times. Doug - Original Message - From: "Eric VERGNAUD" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 5:55 PM Subject: Re: Best place to store files ? le 7/12/04 23:33, Parsons Te

Re: Best place to store files ?

2004-12-07 Thread Eric VERGNAUD
le 7/12/04 23:33, Parsons Technical Services à [EMAIL PROTECTED] a écrit : > I use a directory that belongs to the owner of Tomcat and is located outside > of the Tomcat directory. It really is a matter of preference. As for not > overwriting the files, I have yet to read anything on this. How wou

Re: simplest way to cache jsp pages into built "static" files?

2004-12-07 Thread Parsons Technical Services
Warning, I am going to twist things around a bit here. What if you wrote the pages that were to be cached as servlets. These would run in the background and regenerate the page at a set interval. The page is stored in a servlet as a string and served out whenever the servlet receives a matching r

HttpServletResponse.setStatus and setContentType

2004-12-07 Thread Dunlop, Aaron
I have a standard HTTP servlet acting as an XML web service endpoint, running on an embedded Tomcat 5.0.30. I of course use HttpServletResponse.setContentType to specify that the response is "text/xml". When the request is successful and I set a 2xx HTTP response code, the Content-Type header

Re: Repeating a question I did not get an answer for - from a novice

2004-12-07 Thread Filip Hanik - Dev
there are several different ways to install an app into tomcat, putting a war file under webapps/ is one way, read the docs to find out the others Filip - Original Message - From: "Venkat & Radha Venkataramanan" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tue

Re: Best place to store files ?

2004-12-07 Thread Parsons Technical Services
I use a directory that belongs to the owner of Tomcat and is located outside of the Tomcat directory. It really is a matter of preference. As for not overwriting the files, I have yet to read anything on this. How would you determine which file to keep and which to overwrite? If you never delete

Repeating a question I did not get an answer for - from a novice

2004-12-07 Thread Venkat & Radha Venkataramanan
Hello: I see that the TomCat Manager application is stored in Tomcat_Install_Dir\Server\Webapps while all other applications are installed under Tomcat_Install_Dir\Webapps. Can somebody tell me why? And, since the Admin application is not installed as part of the Tomcat installation, I would like

Re: Best place to store files ?

2004-12-07 Thread Eric VERGNAUD
le 7/12/04 23:20, Larry Meadors à [EMAIL PROTECTED] a écrit : > Put them in a database instead? > Thanks, but not an option in this case. --- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com --

Re: Best place to store files ?

2004-12-07 Thread Larry Meadors
Put them in a database instead? >>> [EMAIL PROTECTED] 12/07/04 3:11 PM >>> Hi, I'm developing a servlet which needs to handle file uploads and downloads. I manage to store the files in a directory inside my servlet, but each time I upload a new version of my servlet, the files are destroyed. Is

Re: simplest way to cache jsp pages into built "static" files?

2004-12-07 Thread Peter Johnson
I was looking into this option as well but one must be careful about session IDs if they are used as the cached page will contain the cookie header. We use a background process on the server to generate files every 60s and use a "-s" rewrite condition and then rewrite rule to serve. PJ Tim Fun

Best place to store files ?

2004-12-07 Thread Eric VERGNAUD
Hi, I'm developing a servlet which needs to handle file uploads and downloads. I manage to store the files in a directory inside my servlet, but each time I upload a new version of my servlet, the files are destroyed. Is there a preferred place to store such files in Tomcat, or is this entirely u

Re: I don't know what's wrong.

2004-12-07 Thread Wade Chandler
Warron French wrote: I can tell you that JBoss is indeed running but I don't know how it is configured, I would assume that I don't need a different version of JBoss installed if I am running different versions of Apache. Merry Christmas & Happy New Year! Warron French Sr. Network Engineer Xtria

Re: I don't know what's wrong.

2004-12-07 Thread Robert F. Hall
Hi Warron, We are using JBoss 3.2.5 w/embedded Tomcat 5.0.26 and have Apache 1.3.27 in front of JBoss/Tomcat A brief overview: [Web browser]<--->[Apache port 80]<--->[mod_jk port 8009]<--->[JBoss/Tomcat listener port 8009]<>[Database + other resources] If you could forward your Apache conf

RE: I don't know what's wrong.

2004-12-07 Thread Warron French
I can tell you that JBoss is indeed running but I don't know how it is configured, I would assume that I don't need a different version of JBoss installed if I am running different versions of Apache. Merry Christmas & Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg

RE: I don't know what's wrong.

2004-12-07 Thread Phillip Qin
Jboss is an application server (EJB container). Do you have any EJB application installed? Tomcat renders the pages. Those pages are the front end of your EJB application. -Original Message- From: Warron French [mailto:[EMAIL PROTECTED] Sent: December 7, 2004 4:35 PM To: Tomcat Users Li

RE: I don't know what's wrong.

2004-12-07 Thread Warron French
So, how does JBoss fit into the whole situation? Merry Christmas & Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTE

RE: I don't know what's wrong.

2004-12-07 Thread Phillip Qin
Mod_jk is the bridge between Apache and Tomcat. Consult jk 1.x documentation on how to configure it. Mysqld is the MySQL daemon on linux. Many websites use MySQL along with Apache and PHP. -Original Message- From: Warron French [mailto:[EMAIL PROTECTED] Sent: December 7, 2004 4:22 PM To:

I don't know what's wrong.

2004-12-07 Thread Warron French
We have a JBoss application? That uses .jsp files to interact with a supposedly searchable database. Can someone explain to me the concepts behind Tomcat, mod_jk, JBoss, and Apache, and if maybe I am missing something like the database. I am running mysqld, but as far as I know... the mysqld i

[ANN] Jakarta Tomcat Connectors 1.2.7-beta-2 released

2004-12-07 Thread Mladen Turk
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.7-beta-2. The release contains a fixes to few compilation problems detected with JK-1.2.7-beta version. This release also introduces a new domain concept clustering support. See Bugzilla

RE: GNOME INSTALLATION

2004-12-07 Thread Phillip Qin
I think it is totally offtopic from this list. If you use one of the linux distros, you shall be able to run a live update (e.g. redhat up2date, debian apt-get) to install gnome and the dependencies. I have done that by myself but I don't think you need to pay someone to do it. -Original Messa

RE: GNOME INSTALLATION

2004-12-07 Thread Webmaster
Im sorry but it seems complicated...You have to have all these libraries installed and I don't have the time to go to and fro...unless Im reading wrong. When I offered I was willing to pay someone. Is there a guide for newbs out there on installing this? Robert Keddie Web Development/MIS Phone: (

RE: Documentation

2004-12-07 Thread Shapira, Yoav
Hi, No problem. We're glad to help, and you should feel free to ask questions. That's why these mailing lists are here, and I think these lists and forums are one of the better assets of open-source software. Many paid support organizations have neither the expertise nor the enthusiasm found on

RE: Documentation

2004-12-07 Thread Pablo Carretero
Yoav and Filip, thanks a lot. I'm very new in the Open Source software, I good like the idea, and under my point of view, is the best solution event the big companies. But for beginner, is very difficult. Thank you very much I try continue with your indication. Best regards. -Original

Re: Won't deploy to root context even with Context path=""?

2004-12-07 Thread Ian Brandt
More info and a solution: I tried 5.5.4 with similar results. I found that I could hit my app at http://localhost:8080/, and use database connectivity, but no matter what I still always got that error at startup. On a tip from the author of AppFuse I: mv $CATALINA_HOME/webapps/myapp $CATALINA_H

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Well, I must have been using an older mod_jk version perhaps before this was supported, I guess although I am still unclear about whether the JkAutoAlias should go to Tomcat's webapps directory (where I have my webapp's context XML definition file located) or if I should just point it to the ac

RE: Documentation

2004-12-07 Thread Shapira, Yoav
Hi, >Maybe, I don't explain very well my case. For example, If I active the >debug >in the database pool connection, can I see the active connection, free >connection, the queries, etc... There are two ways to determine what logging output you will see if you enable debug-level logging for a giv

Re: Documentation

2004-12-07 Thread Filip Hanik - Dev
if you want to see cluster output, just configure debug for org.apache.catalina.cluster using log4j for example to setup log4j all I did was to add log4j.xml into common/classes and log4j.jar into common/lib Filip - Original Message - From: "Pablo Carretero" <[EMAIL PROTECTED]> To: "'

RE: Documentation

2004-12-07 Thread Pablo Carretero
Thanks Yoav, Maybe, I don't explain very well my case. For example, If I active the debug in the database pool connection, can I see the active connection, free connection, the queries, etc... Other example, I'm configuring a cluster in memory, I would like activate the debug option, in order t

Re: Connector debug

2004-12-07 Thread Sunitha Kumar
Hey folks: Is there a way we could attach a debugger to an already running instance of tomcat? JProfiler requires re-start of tomcat. thanks, -sunitha David Dankwerth wrote: Thanks for the help ill have a go at one of these profilers Thanks again David D Allistair Crossley wrote: something like J

Re: when to use <%@include%> when to use

2004-12-07 Thread Ben Souther
On Tue, 2004-12-07 at 11:28, Zerol Tib wrote: > Howdy, > > As we know, <%@ include%> can include another jsp page > at "translation time" while can include another > jsp at "runtime". But when to use each? Could anyone give me > a scenario? One small note to add to the other responses... At o

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread Mladen Turk
migar wrote: Keep getting error message when restarting Apache after adding the JkAutoAlias directive. I don't know if it's a syntactical thing or if I need to explicitly give apache access to this directory somewhere? Is there a syntactical modification necessary if the server is running Windows

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Keep getting error message when restarting Apache after adding the JkAutoAlias directive. I don't know if it's a syntactical thing or if I need to explicitly give apache access to this directory somewhere? Is there a syntactical modification necessary if the server is running Windows? Or can I n

RE: when to use <%@include%> when to use

2004-12-07 Thread Steve Kirk
Here's one perspective based on one way I have used them. there are others. <%@ include%> is useful when you know the name of the page you want to include at coding time. is useful when you do not know the name of the page you want to include until execution time, because it can evaluate jsp exp

RE: Documentation

2004-12-07 Thread Shapira, Yoav
Hi, >Where can I find documentation about Tomcat looger, and debug & verbosity >params? > > >I change the debug and verbosity values, and the log is always the same. Different Tomcat versions have different ways to configure logging. Make sure you're looking at the documentation for your Tomcat

Documentation

2004-12-07 Thread Pablo Carretero
Hi, Where can I find documentation about Tomcat looger, and debug & verbosity params? I change the debug and verbosity values, and the log is always the same. Thank you very much. - To unsubscribe, e-mail: [EMAIL PROT

Re: sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread Mladen Turk
migar wrote: I would like to set up my Apache2/Tomcat4.1 server so that my domain root the.domain.com will point directly ServerName the.domain.com DocumentRoot "C:/some/directory" #Add the auto aliasing here JkAutoAlias C:/some/directory JkMount /*.jsp ajp13 MT. --

sharing apache DocumentRoot with tomcat webapp directory, serving .jsps via mod_jk

2004-12-07 Thread migar
Hi - I would like to set up my Apache2/Tomcat4.1 server so that my domain root the.domain.com will point directly to a Tomcat non-default webapp which contains static HTML pages, jsp, servlets etc. In this scenario, I have set up Apache with a VirtualHost whose DocumentRoot is the directory loca

Re: Tomcat 5.0.27 Cluster Issues

2004-12-07 Thread Filip Hanik - Dev
By looking at the following log entries INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=232390] 07-dic-2004 18:34:46 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apa

Tomcat 5.0.27 Cluster Issues

2004-12-07 Thread Pablo Carretero
Hi all, I have some problem with my Tomcat cluster configuration. I’m doing the test only with to machines (Windows 2K, Tomcat 5.0.27 and the ISAPI Filter). I can’t setup the cluster ok. Now I’m using the default setup in both machines: As you can see in the logs, both machin

RE: Some problems with Tomcat

2004-12-07 Thread Shapira, Yoav
Hi, Thanks ;) It's been pretty cool, most of the donations have been small, but they sure add up... Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Warron French [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 07, 2004 11:44 AM >To: Tomcat Users List >Subject: RE:

RE: Some problems with Tomcat

2004-12-07 Thread Warron French
Yoav! Good luck with the college thing. I am not a rich philanthropist so I can't help you out. Thanks also for your input on these errors. I hope that if anyone else has a different opinion they speak up. I am trying to troubleshoot a website that doesn't appear to be working. I am not t

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

2004-12-07 Thread Adam Smith
private static final char[] enc="abcdefghijklmnopqrstuvwxyz".toCharArray(); for (int i=0;i<26;i++) System.out.print(enc[i]); - Original Message - From: "Nilesh Bhattad" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:34 AM Subject:

AW: Performance with/without loadbalancing

2004-12-07 Thread Michael Sudkamp
> > what I would do is to try a few things. > > 1. increase the ramp up time and see if that affects it. It could be > the load balancer is helping tomcat handle the load > My ramp up is sufficient. > 2. build the latest JMeter and use the distribution graph I wrote to > look at the requests. the

when to use <%@include%> when to use

2004-12-07 Thread Zerol Tib
Howdy, As we know, <%@ include%> can include another jsp page at "translation time" while can include another jsp at "runtime". But when to use each? Could anyone give me a scenario? Thanks in Advance. - To unsubscribe, e-mai

Re: Won't deploy to root context even with Context path=""?

2004-12-07 Thread Ian Brandt
Hi Yoav, Thanks for the reply. I changed my server.xml as follows: I restarted, but no change: Dec 7, 2004 7:56:37 AM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /myapp from URL file:/Applications/jakarta-tomcat-5.0.28/webapps/myapp I s

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 + 'a'); Note that the

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 convert an int to char The offset starts at '0' == 48

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

2004-12-07 Thread Parsons Technical Services
Cast it with the offset added. int i = 0; char ch = (char)(i+97); Wrap in a try catch block if desired. Doug - Original Message - From: "Nilesh Bhattad" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Yang Xiao" <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:51

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

2004-12-07 Thread Brantley Hobbs
These other guys are correct. You should do it with a mind toward portability if you can. Sometimes I slip into my old-school C and ASM ways! :-) I really liked Peter's method. B. > -Original Message- > From: Nilesh Bhattad [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 200

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

2004-12-07 Thread Robert Harper
The offset starts at '0' == 48 ( 0x30 hex ) for ASCII. To get the correct values, you should know what character set you are in. Robert S. Harper 801.265.8800 ex. 255 > -Original Message- > From: Brantley Hobbs [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 8:50 AM > To: Tomc

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 i convert an int to char Wow, was I off. Add a 9

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. - Peter -

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 > > Alternatively, y

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

2004-12-07 Thread Nilesh Bhattad
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 not sure which radix does it expect as a 2nd argument. btw Yang, thanks for quick response. - nilesh - Original Message ---

RE: Possible to Authenticate from Servlet/Webapp Code?

2004-12-07 Thread Shapira, Yoav
Hi, The Spec-mandated, and therefore portable, approach is via the web.xml declarative security. The Tomcat-specific way would mean you navigate down the container hierarchy, starting with ServerFactory.getServer, down to Service, Engine, Host, to find your Realm object. You could probably do th

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

2004-12-07 Thread Brantley Hobbs
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 for sure. B. > -Original Message- > From: Yang Xiao [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 10:42 AM > To: Tomc

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Parsons Technical Services
Try some google searches. I am sure there are some applications that will do it. Doug - Original Message - From: "Chirag" <[EMAIL PROTECTED]> To: "Parsons Technical Services" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 10:40 AM Subject: Re: Chirag: java.net

Possible to Authenticate from Servlet/Webapp Code?

2004-12-07 Thread Sawlor . TM
Question: - Is there a way to authenticate a user to the container (including SSO) from within a servlet? Something like: protected void service(HttpServletRequest req, HttpServletResponse resp) { Realm tomcatRealm = //how to get the realm??? tomcatRealm.authenticate("dauser", "d

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

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Chirag
This redirectional symbol does not works I even tried >> instead of > but of no use Is there any change in configuration which will help me to solve this problem I mean some change will automcatically log everything happening on the server Thanks in advance Chirag

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: FW: [Ticket System] Invalid Email

2004-12-07 Thread Alain Gaeremynck
i think every one who post get one of those. it's probable someone who subscribe a ticket system address to the list Phillip Qin wrote: What the heck is this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: December 6, 2004 4:15 PM To: [EMAIL PROTECTED] Subjec

Re: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-07 Thread karjera
Laba diena. Dėkojame, kad mums parašėte. Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-07 Thread Giuseppe SANTAMARIA
Hi >Hi, >When you download a Tomcat distro, there's a RUNNING.txt file in it. >Read it. Then search the list archives. But in tomcat ver 5.0 installation not exist the file "RUNNING.txt" thanks Peppe >-Original Message- >From: Giuseppe SANTAMARIA [mailto:[EMAIL PROTECTED] >Sent: Tue

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Parsons Technical Services
At the dos prompt: startup >c:\capout.txt This will send all output to the file capout.txt No output will show on the screen. Use any name for the file and you can direct it anywhere you like. - Original Message - From: "Chirag" <[EMAIL PROTECTED]> To: "Parsons Technical Services" <[EM

RE: Admin and Manager applications don't work withmodifiedCATALINA_BASE and startup.sh -security

2004-12-07 Thread David Crecente
I saved my problem with your tip. Thank you very much. -Mensaje original- De: Andoni [mailto:[EMAIL PROTECTED] Enviado el: martes, 30 de noviembre de 2004 12:12 Para: Tomcat Users List Asunto: Re: Admin and Manager applications don't work withmodifiedCATALINA_BASE and startup.sh -security

RE: GNOME INSTALLATION

2004-12-07 Thread Phillip Qin
You can do it by yourself. The installation is very easy. No advanced knowledge required. -Original Message- From: Keddie, Robert [mailto:[EMAIL PROTECTED] Sent: December 7, 2004 9:43 AM To: [EMAIL PROTECTED] Subject: GNOME INSTALLATION IS there anyone here interested in installing Gno

Re: Performance with/without loadbalancing

2004-12-07 Thread Peter Lin
perhaps black magic? what I would do is to try a few things. 1. increase the ramp up time and see if that affects it. It could be the load balancer is helping tomcat handle the load 2. build the latest JMeter and use the distribution graph I wrote to look at the requests. the new graph will show

  1   2   >