Regarding tomcat installation

2008-06-23 Thread Arun Raj Ramkumar
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 available. I downloade windows installer service , but am not able to start , stop the server as there is no batch file available in that version. It meant i

Re: Problem mod_jk.so (1.2.26) 100% process (Tomcat 5.5.26 + Apache 2.2.9)

2008-06-23 Thread Rainer Jung
Estevam Henrique Portela Mota e Silva schrieb: Hi, Install - Apache 2.2.9 (ok!), Tomcat 5.5.26 (ok!) e JDK 1.5.0_15 *Entered link with the Tomcat happened was that Tomcat5.exe has process is 100%. It is the problem MSVCRT.dll* * Details MSVCRT.dll* Tamanho: 335 KB (343.040 bytes) Versão:

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

Re: Regarding tomcat installation

2008-06-23 Thread Johnny Kewl
- Original Message - From: Arun Raj Ramkumar [EMAIL PROTECTED] To: users@tomcat.apache.org 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

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.

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

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.

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. However,

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.

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

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 filter

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

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

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 think you

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?

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

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 confusing

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]] -

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 Resource 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

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,

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

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: 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

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

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

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: 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 :

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 web

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

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 : |

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

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

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

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

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: 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

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:

Re: Pointers in tomcat

2008-06-23 Thread Philip Wigg
How can I do this? My web app points to ROOT.war. Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliaswww.mysite.com/Alias Aliasmysite.com/Alias /Host If you're

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

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 the

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

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. | | Host name=localhost

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

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,

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

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

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

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

Re: server resources

2008-06-23 Thread Johnny Kewl
- Original Message - From: Marcos Molina [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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

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 Apache PHP's ability to multi-thread? anyone? Martin - Original Message - From: Johnny Kewl [EMAIL PROTECTED] To: Tomcat Users List

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

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

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:

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 the

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,

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

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