Re: admin app for Tomcat 6?

2008-06-23 Thread Mark Thomas
Tim Byford wrote: Hi, I have searched in vain for the admin app for Tomcat 6 - its not in the download folder as it was for 5.5. So, is there an admin app for 6.x or should I install the latest one I could find, which is 5.5.26? I would think such an app is version specific. There is no a

Re: admin app for Tomcat 6?

2008-06-23 Thread Mark Thomas
Tim Byford wrote: Hi, I have searched in vain for the admin app for Tomcat 6 - its not in the download folder as it was for 5.5. So, is there an admin app for 6.x or should I install the latest one I could find, which is 5.5.26? I would think such an app is version specific. There is no a

admin app for Tomcat 6?

2008-06-23 Thread Tim Byford
Hi, I have searched in vain for the admin app for Tomcat 6 - its not in the download folder as it was for 5.5. So, is there an admin app for 6.x or should I install the latest one I could find, which is 5.5.26? I would think such an app is version specific. Thanks, Tim

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Ole Ersoy
Martin wrote: Found this helpful http://tomcat.apache.org/tomcat-5.5-doc/logging.html default logging is commons-logging with known limitation to Engines and Hosts this limitation of JDK Logging appears to be the genesis of per-web application logging as the configuration is per-VM That sou

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Ole Ersoy
Super - Thanks for the elaboration! - Ole Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ole, Ole Ersoy wrote: | I hope the mappings are all inclusive from java.util.logging's | perspective so that if I set the a level to INFO I get info, plus | possibly some other l

Re: Faster resource servlet

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Fisher wrote: | Incrementally try larger buffer sizes. Or, better yet, allow the buffer size to be configurable as deployment time as an init-param. | Also, | |> response.setContentLength( (int)file.length() ); | | May be expensive, se

Re: tomcat 5.5 loads a blank page

2008-06-23 Thread Steve Ochani
On 23 Jun 2008 at 18:37, Adam Posner wrote: Date sent: Mon, 23 Jun 2008 18:37:06 -0700 From: Adam Posner <[EMAIL PROTECTED]> Subject:tomcat 5.5 loads a blank page To: users@tomcat.apache.org Send reply to: Tomcat Users List > Hi, > I'm new to this newsgroup and have a vexing

RE: tomcat 5.5 loads a blank page

2008-06-23 Thread Caldarale, Charles R
> From: Adam Posner [mailto:[EMAIL PROTECTED] > Subject: tomcat 5.5 loads a blank page > > I installed this version from the ubuntu(gutsy) > repositories using apt-get. What you're experiencing is why those of us who have been around awhile strongly recommend (aka, insist) you don't try to use th

tomcat 5.5 loads a blank page

2008-06-23 Thread Adam Posner
Hi, I'm new to this newsgroup and have a vexing problem. I run tomcat using the startup script, for ex. /usr/share/tomcat5.5/bin startup.sh and everything startsup with no errors, ie: Using CATALINA_BASE: /usr/share/tomcat5.5 Using CATALINA_HOME: /usr/share/tomcat5.5 Using CATALINA_TMPDIR: /us

Re: Faster resource servlet

2008-06-23 Thread David Fisher
Incrementally try larger buffer sizes. byte[] bbuf = new byte[1024]; byte[] bbuf = new byte[2048]; byte[] bbuf = new byte[4096]; byte[] bbuf = new byte[8192]; byte[] bbuf = new byte[16834]; Then narrow in on the

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Martin
Found this helpful http://tomcat.apache.org/tomcat-5.5-doc/logging.html default logging is commons-logging with known limitation to Engines and Hosts this limitation of JDK Logging appears to be the genesis of per-web application logging as the configuration is per-VM to overcome these limitat

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ole, Ole Ersoy wrote: | I hope the mappings are all inclusive from java.util.logging's | perspective so that if I set the a level to INFO I get info, plus | possibly some other level's that are greater than INFO? In other words | something that shou

Re: server resources

2008-06-23 Thread Martin
assuming you'll want to manage multiple resources such as DB connection(pools) and/or webservices and/or JMS Messaging Queues havent heard about PHP's ability to multi-thread? anyone? Martin - Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Mo

Re: server resources

2008-06-23 Thread Johnny Kewl
- Original Message - From: "Marcos Molina" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 23, 2008 11:49 PM Subject: server resources Hi people! I´m working with tomcat for years, in intranet envoiroment. And now i need to put some works in anothers servers, and the

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Mark Thomas
André Warnier wrote: Mark Thomas wrote: I tend to use the following as a starting point to check my config is OK. It is also useful to compare headers etc for your application against the headers from this simple test case. http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q4 This is a

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Ole Ersoy
SNIP No it would grab the logger for the context, which will automatically be the one for [/mywebapp] and not [/manager]. It can't log to the logger of another context. Look at javax.servlet.ServletContext.log(). OOh - OK - The gears are starting to turn...maybe. The context logger confi

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread André Warnier
Mark Thomas wrote: I tend to use the following as a starting point to check my config is OK. It is also useful to compare headers etc for your application against the headers from this simple test case. http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q4 This is a bit outside the scope

Faster resource servlet

2008-06-23 Thread Mathias P.W Nilsson
Hi! I have made a resource servlet to handle static content outside of tomcat, wicket. It looks like this package se.edgesoft.hairless.web.resource; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import javax.servlet.ServletCon

server resources

2008-06-23 Thread Marcos Molina
Hi people! I´m working with tomcat for years, in intranet envoiroment. And now i need to put some works in anothers servers, and then i talk about tomcat with another people, but most servers admins tell me that TomCat need too much resoruces from machines. Is that right ?? Thanks for your res

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Mark Thomas
André Warnier wrote: If you agree, a question to start in that process : In the login page, the element should have the following attributes : ...> Does it ? Ref : http://www.w3.org/TR/html401/interact/forms.html#submit-format and in particular : 17.13.4 Form content types (among other things

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: It is quite possible that Tomcat's innards do not do things correctly when they decode a POST, and just deliver the raw parameter value as received. But that would surprise me, and I would submit that it would then be a bug. As far as I am aware, Tom

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Ole Ersoy
SNIP I think one of the confusing things about the current logging environment is the lack of documentation about the mapping between commons-logging and java.util.logging levels and APIs, as implemented by JULI. For example, c-l has six logging levels, whereas as j.u.l has seven; some of th

Re: Pointers in tomcat

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathias, Mathias P.W Nilsson wrote: |> If, as I suspect, you *do* own MYSITE.COM, you just need to set up a |> default virtual host and have it redirect to WWW.MYSITE.COM. |> | | How can I do this? My web app points to ROOT.war. | | |

RE: Pointers in tomcat

2008-06-23 Thread Walter Thompson
The Thawte certificate is not you domain registration. Your domain registration is separate from the certificate. Since I don't know the actual domain name you are refering to, I can't look up who did you domain registration. By the way www.mysite.com is a working website, is this your actual web

RE: java.lang.LinkageError

2008-06-23 Thread Caldarale, Charles R
> From: Fátima Milla Olaya [mailto:[EMAIL PROTECTED] > Subject: java.lang.LinkageError > > Hi! I have a problem with the configuration of the logs in Tomcat > (it puts the logs in Windows/System32) and also I get an error > that doesn't let me start the service: Don't suppose you'd want to tell us

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Mark Thomas
André Warnier wrote: It is quite possible that Tomcat's innards do not do things correctly when they decode a POST, and just deliver the raw parameter value as received. But that would surprise me, and I would submit that it would then be a bug. As far as I am aware, Tomcat correctly decodes

Re: Pointers in tomcat

2008-06-23 Thread Philip Wigg
> How can I do this? My web app points to ROOT.war. > > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> >www.mysite.com >mysite.com > If you're hitting the same server through both URLs then your DN

RE: Pointers in tomcat

2008-06-23 Thread Mathias P.W Nilsson
> If, as I suspect, you *do* own MYSITE.COM, you just need to set up a > default virtual host and have it redirect to WWW.MYSITE.COM. > How can I do this? My web app points to ROOT.war. www.mysite.com mysite.com -- View this message in context:

RE: Pointers in tomcat

2008-06-23 Thread Mathias P.W Nilsson
I own the domain but didn't buy a wildcard certificate. So the only thing that works is www.mysite.com for the certificate. When I type mysite.com I get to the same server but it is not ssl enabled -- View this message in context: http://www.nabble.com/Pointers-in-tomcat-tp18075070p18075744.html

RE: Pointers in tomcat

2008-06-23 Thread Walter Thompson
On second thought, is thawte who registered your domain or did they just provide your server certificate? Where ever you registered your domain is where you can get them to do the redirect. I think there is a small fee for this service. Walter -Original Message- From: Mathias P.W Nilsso

Re: Pointers in tomcat

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathias, Mathias P.W Nilsson wrote: | I have a web page that is deployed as ROOT.war. In my web app I have created | a connector for https that points to the www.mysite.com. My problem is that | I also want it to point to mysite.com without the www.

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Christopher Schultz wrote: | The filter example on this page needs to be | fixed so that the encoding is only set if one is not detected. This is a | BIG BUG in the filter shown on that page, and someone should fix it | (maybe I will... I just r

RE: Pointers in tomcat

2008-06-23 Thread Walter Thompson
You should get your registor (thawte) to add the redirect to your domain. No need to change webapp. Walter -Original Message- From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 1:18 PM To: users@tomcat.apache.org Subject: Pointers in tomcat Hi! I have a

Pointers in tomcat

2008-06-23 Thread Mathias P.W Nilsson
Hi! I have a web page that is deployed as ROOT.war. In my web app I have created a connector for https that points to the www.mysite.com. My problem is that I also want it to point to mysite.com without the www. I have only bought www.mysite.com from thawte so the browser complains about the mysi

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Rainer Jung
Ole Ersoy wrote: No, the call log.info(SOMETHING) will need to calculae something, before it really calls the error method of the logger, which then immediately might notice, that the configured log level doesn't allow handling an info message. Now SOMETHING is quite often not a simple string

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | I am sorry to butt in again, but are you *really* sure that the problem | is not earlier in the chain than what you think ? | I have read the article at the link given earlier : | http://wiki.apache.org/tomcat/Tomcat/UTF

Re: Windows Task Manager - tomcat processes

2008-06-23 Thread David Smith
I've found Process Explorer miles better than the built in Task Manager Windows provides. It'll provide all the info you need to know which is which: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx --David Andrew Hole wrote: Hi! If I have more than one tomcat instance install

Re: Tomcat 6.0 Clustering

2008-06-23 Thread Shamshad Ansari
Thanks Chris, Re-login may be accepted. I will follow your instruction and the URL you provided. Thanks again, --Sam On Mon, Jun 23, 2008 at 12:36 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Sam, > > Shamshad Ansari wrote: > | I have a w

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Youssef, Youssef Mohammed wrote: Guys, I am sorry to butt in again, but are you *really* sure that the problem is not earlier in the chain than what you think ? I have read the article at the link given earlier : http

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Ole Ersoy
SNIP Close to that. Since "Catalina" and "localhost" are names of elements in server.xml, and those names can be changed, this logger name is generated dynamically. So you won't find it verbosely in the code. Look at method logName() in ContainerBase.java. Thanks for the tip - I will do. No

Re: Tomcat 6.0 Clustering

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, Shamshad Ansari wrote: | I have a web application which runs on Tomcat. There will be at any | given time a maximum of 20 users. So, the traffic is not much. | However, the application is kind of mission critical and therefore, we | can not affo

Tomcat 6.0 Clustering

2008-06-23 Thread Shamshad Ansari
Hi Guys, I have a web application which runs on Tomcat. There will be at any given time a maximum of 20 users. So, the traffic is not much. However, the application is kind of mission critical and therefore, we can not afford any downtime. I am thinking Clustering would be an option where if one se

Re: Tomcat 6.0.16 on Java SE 6 Update 6

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rakesh, rakesh dharangaonkar wrote: | I want to use / install Tomcat 6.0.16 employing Java SE 6 update 6. | The documentation on | | http://tomcat.apache.org/tomcat-6.0-doc/appdev/installation.html | | says that "Tomcat 6.0 was designed to run on J2S

Tomcat 6.0.16 on Java SE 6 Update 6

2008-06-23 Thread rakesh dharangaonkar
Hi Stars, I want to use / install Tomcat 6.0.16 employing Java SE 6 update 6. The documentation on   http://tomcat.apache.org/tomcat-6.0-doc/appdev/installation.html   says that "Tomcat 6.0 was designed to run on J2SE 5.0".   Will it run properly on Java SE 6 update 6?   Is anyone using the same

Re: Nginx Front End

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Nelson-Smith wrote: | I'm considering looking at nginx as Apache seems somewhat resource | intensive. Has anyone on the list tried this? Does nginx support (or | need to support) ajp13? If Nginx can do HTTP proxying, you can use t

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Youssef, Youssef Mohammed wrote: | I don't think you need to encode again in the reset or validation. I am not | quite sure if calling setCharacterEncoding twice would be the problem here. | but just try to remove the redundant ones. At best, callin

Re: Tomcat Connection Pooling - wait_timeout

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Haines wrote: | I've used the validation query within the as you suggested. | This has stopped the "first connection after a while is a dead one" | problem, and all is well in the land of my webapp! I was reading the changelog for Co

java.lang.LinkageError

2008-06-23 Thread Fátima Milla Olaya
Hi! I have a problem with the configuration of the logs in Tomcat (it puts the logs in Windows/System32) and also I get an error that doesn't let me start the service: 16:24:20,234 (Thread-1) ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/authz]] - StandardWrapper.Thro

RE: [Logging] Facility Specific Properties

2008-06-23 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:[EMAIL PROTECTED] > Subject: Re: [Logging] Facility Specific Properties > > > if (myLogger.getLevel() >= Level.WARNING) > > { > > myLogger.warn('This is a warning'); } > > More precisely: > > if (log.isDebugEnabled()) > log.debug(SOMETHING); I think one of the c

Re: Tomcat Connection Pooling - wait_timeout

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin wrote: | I see autoReconnect functionality in mysql-connector-java-5.1.6.tar.gz | driver distro located at | http://ftp.plusline.de/mysql/Downloads/Connector-J/ Why not just go to the canonical source? MySQL's website has everything y

Re: Tomcat Connection Pooling - wait_timeout

2008-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin wrote: | I see autoReconnect functionality in mysql-connector-java-5.1.6.tar.gz | driver distro located at | http://ftp.plusline.de/mysql/Downloads/Connector-J/ Why not go to the canonical source? http://dev.mysql.com/doc/refman/5.0/

Tomcat cluster problem - null pointer exeptions - bad members

2008-06-23 Thread Milan Cvejic
Hello, i am having problem with tomcat cluster on the same machine... This is a config from first node: channelSendOptions="4"> className="org.apache.catalina.tribes.transport.ReplicationTransmitter" replicationMode="fastasyncqueue" compress="true" doTransmitterProcessingStats="true" ack

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Youssef Mohammed
On Mon, Jun 23, 2008 at 4:29 PM, Christoph Pirkl <[EMAIL PROTECTED]> wrote: > > Hi Youssef, > > thank you for your tip, but we are already using a filter that does exactly > the same thing. We also set the character encoding in the reset and > validation methods of all action forms. I don't thin

Re: Tomcat Connection Pooling - wait_timeout

2008-06-23 Thread Thomas Haines
Chris / David / Youssef Thanks for the help. Problem has been resolved! Comments inline. | a) downgrade to MySQL Connector/J 5.0.8 and see if this fixes it; This may fix your problem, but probably not. Confirmed, this had no effect. | b) add a while (!verified && attempts<2) type loop in

RE: Windows Task Manager - tomcat processes

2008-06-23 Thread Caldarale, Charles R
> From: Andrew Hole [mailto:[EMAIL PROTECTED] > Subject: Windows Task Manager - tomcat processes > > If I have more than one tomcat instance installed and > started, how do I now wich process in task manager > corresponds to the tomcat instance? Since each Tomcat must be using distinct ip:port com

RE: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Christoph Pirkl
Hi Youssef, thank you for your tip, but we are already using a filter that does exactly the same thing. We also set the character encoding in the reset and validation methods of all action forms. Is it possible, that this character encoding filter is called too late, i.e. when the submitted r

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Youssef Mohammed
Christoph; We used to have the same issue two years ago with older version of tomcat 4.x . And yes it was working just nice with Websphere. We resolved that but just adding a filter that would always set the encoding to utf8. namely ... in web.xml CharEncoding com.company.ipo.utils

RE: Help in Tomcat 6.0

2008-06-23 Thread Narendra Sharma
Sample pages are available in the tomcat installation itself. You can refer to the root application. Please attach the complete trace and the JSP (source) you are trying to execute. Regards, Narendra Sharma, Technical Architect, Sigma Software Solutions Pvt Ltd. "There are only 10 types of people

Help in Tomcat 6.0

2008-06-23 Thread ajay singh
Hi, I installed Tomcat 6.0, but whenever we run the JSP file, I am getting the following error: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 22 in the generated java file The method getJspApplicationContext(S

Re: UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread André Warnier
Hi. Christoph Pirkl wrote: [...] Not being a Tomcat/Websphere expert myself, but having had to track down similar problems before, just a couple of notes : If this is true : Both forms use the "post"-method. then the userid and password are sent in the body of the request, not in the URI

Re: Changing roles on the fly

2008-06-23 Thread Pid
Lyallex wrote: On Sat, Jun 21, 2008 at 12:41 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: Johnny Kewl wrote: - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> Allowing a user to add a role is simple enough. Is it? Yes. snip ... If you change web.xml, yes TC will restart. How

Windows Task Manager - tomcat processes

2008-06-23 Thread Andrew Hole
Hi! If I have more than one tomcat instance installed and started, how do I now wich process in task manager corresponds to the tomcat instance? In task manager I only see things like that: tomcat5.exe tomcat5.exe tomcat5.exe Thanks a lot A.

UTF-8 handling differs between two servlets within the same application

2008-06-23 Thread Christoph Pirkl
Hi, we are developing an application, where we experience an interesting UTF-8 related behaviour. For the development the team mostly uses Tomcat, since the deployment is much faster and nicer. All tests are repeated on WebSphere, because that is what our customer runs. We are running a T

Nginx Front End

2008-06-23 Thread Stephen Nelson-Smith
Hello, I'm currently using Apache 2.2 and mod_proxy_ajp to load balance across 3 tomcat servers. I'm considering looking at nginx as Apache seems somewhat resource intensive. Has anyone on the list tried this? Does nginx support (or need to support) ajp13? S. -

Re: Regarding tomcat installation

2008-06-23 Thread Johnny Kewl
- Original Message - From: "Arun Raj Ramkumar" <[EMAIL PROTECTED]> To: Sent: Monday, June 23, 2008 8:16 AM Subject: Regarding tomcat installation Hi , I want to install tomcat 5.5 in my home PC. Which distribution should i download from apache website , as there are many versions a

Re: [Logging] Facility Specific Properties

2008-06-23 Thread Rainer Jung
Ole Ersoy schrieb: Rainer Jung wrote: SNIP org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] is the name of a logger, in this case the name of the logger associated with the context /manager in host localhost in Engine Catalina. Most loggers get their names from class

Re: JNDI realm strange problem(Tomcat 6.0.16)

2008-06-23 Thread Kumar Gaurav Srivastava
hello chris, yes, our ldap server and tomcat server are both up for 24 hours and 7 days. yes, restarting tomcat server, problem vanishes. thank you, On Fri, 2008-06-20 at 10:20 -0400, Christopher Schultz wrote: > king again? -- Kumar Gaurav Srivastava A B Technologies SDF Building