Re: Catalina.out

2013-03-04 Thread Markus Schönhaber
04.03.2013 12:33, vicky007aggar...@yahoo.co.in: I am using tomcat 7.0.30(os: redhat linux) referring below link for implementing log4j at the container level http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j Using this link i am still not able to rotate the Catalina.out

Re: [OT] list server issues ?

2013-03-04 Thread Markus Schönhaber
04.03.2013 14:31, André Warnier: I don't know if it is the case for everyone, but I seem to be receiving messages from the list in some random order, totally out of timely sequence. Anyone notice the same, or is it just me ? I didn't notice anything like that. You could take a look at the

Re: Directory contents listing of Aliases Directory

2011-11-23 Thread Markus Schönhaber
23.11.2011 12:53, Asha K S: Currently when I set Aliases attribute for Context ,Tomcat serves resources from Aliases directory but I am unable to get the directory listing for the Aliases Directory.Can you please let me know if anyone has tried this or if there is any other way to do it.

Re: Overriding web.xml parameters

2011-09-27 Thread Markus Schönhaber
27.09.2011 11:00, Romaric: context.xml : Context Parameter name=name value=value override=false / ---^ /Context The problem is that the values in web.xml override those in context.xml when it should be the other way around. Do you have any idea what the problem

Re: URL for Tomcat forums

2011-09-08 Thread Markus Schönhaber
08.09.2011 10:28, Sonwabo Jordan: What is the URL for the Tomcat forums so that I can go and have a look at questions already asked before I submit my own? http://tomcat.apache.org/lists.html provides links to archives of the various Tomcat mailing lists. Although only the MARC archives are

Re: Custom URL configuration in Tomcat

2011-07-28 Thread Markus Schönhaber
28.07.2011 05:57, Dhana kumar: instead of http://localhost:8080/meobizWeb/index.html, could we make url accessible across the intranet, something like this,. http://www.mydomain.com/meobizWeb/index.html Yes. Configure Tomcat to listen on port 80 and configure your internal DNS to resolve the

Re: Tomcat 7: Why is JDK needed ?

2011-07-23 Thread Markus Schönhaber
21.07.2011 21:58, Bobi St: why is Why is JDK needed also for Tomcat 7 ? Does it use a compiler, or why not simply using for example jre6 ?!? I have to install always extra JDK because of it ... Who says Tomcat needs a JDK? From

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Markus Schönhaber
20.07.2011 23:02, Falzone.Matthew: Didn't mean to, I sent it too soon so I started a new thread. Was there an issue with starting a new one? Yes. The issue was: you didn't start a new thread. If you push the reply button of your mail client when viewing some message, it will create a reply

Re: Document of Tomcat 6.0.32.

2011-06-09 Thread Markus Schönhaber
09.06.2011 10:13, Nash: I want to know how I can get the API Document of Tomcat 6.0.32 so I can refer it regardless of Internet connection. Thank you a lot! Download the fulldocs package, which, as it seems, is not linked to from the download page of 6.0. The name of the package is

[OT] facepalm (was: Re: Trouble configuring the manager :()

2011-01-06 Thread Markus Schönhaber
06.01.2011 22:12, Christopher Schultz: Is there an emoticon for smacking yourself in the forehead? There doesn't seem to be a standard one, though googling for facepalm smiley or facepalm emoticon lists quite a few. Nevertheless, I *really* like that non-emoticon one

Re: Can't access tomcat manager

2010-12-02 Thread Markus Schönhaber
02.12.2010 15:43, Lava Saleem: Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments brackets or anything so is there any other reason for this to happen ? do I need to modify anything else ? What *missing* comment brackets? What André tried

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Markus Schönhaber
02.12.2010 20:44, Pid: On 12/2/10 12:34 PM, Justin Case wrote: From: Pid p...@pidster.com If the request isn't being routed to your application, then without a ROOT application the host hasn't got a mechanism to serve any response other than an error. Error is fine, as long it's a 404

Re: Can't access tomcat manager

2010-12-01 Thread Markus Schönhaber
01.12.2010 23:05, Lava Saleem: I have installed apache tomcat 7.0.4 on a centos linux box, I have modified the tomcat-users.xml file as shown below and restarted it, my tomcat still can't get an access to the manager, I deleted the other users and just put mine in the xml file but this

Re: Configure read/write-access in TomCat

2010-08-18 Thread Markus Schönhaber
18.08.2010 16:55, André Warnier: Pid wrote: On 18/08/2010 14:56, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Configure read/write-access in TomCat The conf/web.xml is the web.xml for the default servlet. It's a bit more than that, actually. The

Re: Running PHP?

2010-08-03 Thread Markus Schönhaber
03.08.2010 13:20, michel: sorry, another empty email with just attachments ... No. It's not Pid's fault if your mail program doesn't understand PGP/MIME. -- Regards mks - To unsubscribe, e-mail:

[OT] broken mail clients (was: Re: Running PHP?)

2010-08-03 Thread Markus Schönhaber
03.08.2010 18:14, michel: From: Markus Schönhaber tomcat-us...@list-post.mks-mail.de 03.08.2010 13:20, michel: sorry, another empty email with just attachments ... No. It's not Pid's fault if your mail program doesn't understand PGP/MIME. OK, I checked online and found Handling

Re: Error: Invalid or unreadable WAR file : error in opening zip file

2010-07-09 Thread Markus Schönhaber
09.07.2010 15:38, Caldarale, Charles R: From: Fernando Morgenstern [mailto:ferna...@consultorpc.com] Subject: Error: Invalid or unreadable WAR file : error in opening zip file I'm running the following version of tomcat: Server version: Apache Tomcat/6.0-snapshot Server built: Nov 15

Re: Question on IE zones with Mod_jk

2010-06-08 Thread Markus Schönhaber
08.06.2010 09:16, Robin Diederen: The problem: - I surf to http://portal - IE recognizes the site as trusted / in the intranet zone - I click the sign in link and get redirected to http://portal/c/portal/login; IE now thinks I'm in the _internet_zone_ (thus NTLM auth doesn't work) - From

Re: Tomcat scalability settings

2010-04-08 Thread Markus Schönhaber
08.04.2010 09:42, cinl...@gmail.com: I am newbie here. I don't understand what you meant by hi-jacking this thread. I simply asking tomcat user mailing lis of any solution to my issue. Did I do something wrong? If so, please let me know what I did wrong. When you want to talk about a new

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 10:25, Alexander Skwar: I didn't look at your build script, just a general remark below. Or is it just, that this shows, that our web app doesn't have a bottleneck in the JSP land (which would be a true statement - it communicates with some background databases and apps, which

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 12:43, Alexander Skwar: Do you happen to have any idea, why I did not notice any impovements in the 1st time load delay? Ie. why do I still have to wait 10s after having deployed, before the login screen is shown for the first time? At this point in time, the web app does not

Re: No gain after pre-compilation

2010-03-09 Thread Markus Schönhaber
09.03.2010 13:25, Markus Schönhaber: What you could check [...] Forgot to mention: it might be useful to increase the log-level of Jasper's Compiler class, i. e. add org.apache.jasper.compiler.Compiler.level=FINE to conf/logging.properties You should then see in Tomcat's logs whether

Re: Startin tomcat5 instead of jsvc with java

2010-03-04 Thread Markus Schönhaber
04.03.2010 13:50, Petr Hracek: from the documention I have read that tomcat5.5 ( http://tomcat.apache.org/tomcat-5.5-doc/setup.html) can be started with the help of command jsvc. Is there any other possibility how to start up tomcat with java? I wouldn't start tomcat 5.5 over rcScript

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Markus Schönhaber
04.03.2010 14:00, maven apache: I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 , also I have set up a permanent environment variable JAVA_HOME which link to the jdk directory. I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Markus Schönhaber
04.03.2010 14:44, maven apache: The tomcat directory is /home/kk/ProgramFiles/apache-tomcat-6.0.24' In the terminal , I enter this the bin directory and run sudo ./startup.sh Why do you start Tomcat as root? -- Regards mks

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Markus Schönhaber
04.03.2010 14:56, maven apache: 2010/3/4 Markus Schönhaber tomcat-us...@list-post.mks-mail.de Why do you start Tomcat as root? Ok, I tried it again. ? -- Regards mks - To unsubscribe, e-mail: users-unsubscr

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Markus Schönhaber
04.03.2010 15:01, maven apache: 2010/3/4 Caldarale, Charles R chuck.caldar...@unisys.com From: maven apache [mailto:apachemav...@gmail.com] Subject: Re: can not start tomcat and the jre_home var error In the terminal , I enter this the bin directory and run sudo ./startup.sh Try it

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Markus Schönhaber
04.03.2010 15:13, maven apache: Now I found there is something wrong with the apr component because I got the info: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

Re: Cyclos Webapp Trouble (404)

2010-01-18 Thread Markus Schönhaber
18.01.2010 15:57, Rick Bragg: On Mon, 2010-01-18 at 09:43 -0500, David Smith wrote: MySQL leave the tcp port disabled for security reasons. I've never understood the decision, but it happens. You can test w/ the mysql command: mysql -P 3306 -h localhost -u cyclos -p Yes the above works

Re: TomCat multiple ssl support

2009-12-29 Thread Markus Schönhaber
29.12.2009 15:28, Mark Thomas: However, there is a spec for this: RFC 4366, SNI (Server Name Indication). It should be implementable for at least the APR/native connector. Not sure of the extent, if any, of support in the browsers. If a recent article in the German c't magazine is right (an I

Re: Tomcat Config Question

2009-12-09 Thread Markus Schönhaber
09.12.2009 15:31, steflik: I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in their application I

Re: SSL only working on localhost

2009-12-02 Thread Markus Schönhaber
In addition to Pid's comment, which you should take heed of: 02.12.2009 13:41, Michael Dockery: i have wiresharked the server, and can see the inbound 443 connections, so the firewall does not seem to be the issue. (note: the other computers are on the same subnet/lan) What exactly do

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Markus Schönhaber
Am 27.11.2009 15:00, schrieb Rocco Scappatura: I have no idea if it's in any way related to the problem you're seeing, but... vm_info: Java HotSpot(TM) Server VM (1.5.0_09-b01) for windows-x86, built on Sep 7 2006 13:40:20 by java_re with MS VC++ 6.0 ...the first thing I'd check is whether a

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Markus Schönhaber
TheGrailer: So what do you all think? Is the Apache2 infront of the Tomcat 6 a waste of time or worth while? I agree with what Pid and Peter already said. Just to phrase it with my own words: I see two major reasons why you'd want to put httpd in front of Tomcat 1. To act as a load balancer

Re: How to make tomcat persistant ?

2009-11-02 Thread Markus Schönhaber
daulat khan: I know that tomcat use session manager to persist sessions and reload them when \ server starts up. But I can not find where to configure it. How can I turn it off so \ that I don't get the error message? Take a look at conf/context.xml. -- Regards mks

Re: Understanding context.xml

2009-11-02 Thread Markus Schönhaber
Carsten Pohl: When I deploy the project to a local tomcat (Apache Tomcat/6.0.20) Everything works as expected. Meaning, the context.xml is copied to /conf/Catalina/localhost and renamed to testprojekt.xml. When I edit the testprojekt.xml to: ?xml version=1.0 encoding=UTF-8? Context

Re: Understanding context.xml

2009-11-02 Thread Markus Schönhaber
Carsten Pohl: If I change the testprojekt.xml in conf/Catalina/localhost/testprojekt.xml my webapplication will be redeployed (assuming the bug is fixed), and it would get the new values. If I change the conf/context.xml all my webapps will be RELOADED, but new values and changes to values

Re: doubts about tomcat form based authentication

2009-10-20 Thread Markus Schönhaber
Nirvann: I mean't authorization. Consider a scenario as follows. There are two users, admin and user. Consider two pages adminPage.jsp and userPage.jsp. Admin has rights to both the pages but user can access only userPage.jsp. Lets assume that the user logs in as user (not admin) and accesses

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Markus Schönhaber
Alan Kennedy: I need to find out what is the difference between running Tomcat 6 as a Windows Service and running it from the command line. The reason is that I'm getting a bizarre bug when a jython based servlet is run under Tomcat6-as-Service. But the bug does NOT appear when Tomcat 6 is

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Markus Schönhaber
Alan Kennedy: Unfortunately, it did not solve the problem: the behaviour is exactly the same when running under my own account: the bug still occurs. Well, that seems to rule out any permission problems - and leaves me pretty much out of ideas. One thing, though: do you run Tomcat in both

Re: Logging startup parms for Tomcat...

2009-10-11 Thread Markus Schönhaber
Tony Anecito: I need to see the jvm startup params (memory settings, ect) for Tomcat. How do I enable that to showup in the logs? If you simply want to see the JVM startup params (i. e. logging them would be just one one way to achieve that, but not the only one acceptable to you), you could

Re: Increasing Heap Size and Max Perm Size

2009-08-19 Thread Markus Schönhaber
Daniele Development-ML: Forgot to mention that when I try with the following command: java -Xms512m -Xmx750m it does succeed in creating the JVM [...] I don't understand why I get different behaviour passing this option the JVM when starting Tomcat, and when I give directly to the JVM

Re: catalina.sh and java_opts question

2009-08-17 Thread Markus Schönhaber
Susan Teague Rector: I've searched around on the net and have found differing opinions about where to actually place the java_opts env var for tomcat. Should this variable be in /tomcat/bin/catalina.sh? When I set it in this file and then print out all env vars, it looks like it is not set.

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Markus Schönhaber
Fred Janon: It looks like you have an extensive experience deploying Tomcat 5.5.x on Win XP, SBS, Enterprise and Datacenter, so maybe you can tell me where the option to use APR/tc-native is during the installation using the msi file? The installation wizard contains a page where you can

Re: IAVM Identified Vulnerability - 2009-B-0026_0028

2009-07-23 Thread Markus Schönhaber
Owen, Scott A CTR IT/IM Bldg1490: I am currently running Tomcat 5.5.27 on a Windows 2003 server for the application Business Objects Enterprise XI R2. I have been notified by my IA department of an IAVA that has been identified and needs immediate action. The IAVM is 2009-B-0026_0028 and

Re: Problem of port 8080

2009-06-25 Thread Markus Schönhaber
Please don't hijack a completely unrelated thread. Xia Guowen: Tomcat running for some time, do not have access to 8080, but 8009 and 8005 is ok. mod_jk access is normal. Is a Connector listening to port 8080 indeed configured? If so, what's in the logs? # netstat -lnut |grep 8080 tcp

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread Markus Schönhaber
tomcatastrophe: When I try to run /etc/init.d/tomcat restart or /sbin/service tomcat restart (or stop or start) I get this error: -bash: /etc/init.d/tomcat: /bin/bash^M: bad interpreter: No such file or directory When you create script files for Linux on a Windows box, make sure you save

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread Markus Schönhaber
tomcatastrophe: I was using root just trying to get it to work. I'm not sure what you mean about line endings here... I don't have any \n in my file... or do you mean the character return ? I'm a little confused. I'm talking about the character(s) that denotes a line ending, return in a

Re: Celebrating Apache Tomcat 10th Anniversary

2009-06-17 Thread Markus Schönhaber
Mladen Turk: So, wish us happy anniversary :) Congratulations! And thanks for a decade of good work! -- Regards mks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: chunked encoding

2009-06-12 Thread Markus Schönhaber
Anthony J. Biacco: Hence the idea about downgrading to http 1.0. But that doesn't get me the content length header still (which in itself is strange), No, it's not strange at all. If the length of the response body is not known when the response headers are sent, you obviously can't add a

Re: chunked encoding

2009-06-12 Thread Markus Schönhaber
Rainer Jung: On 12.06.2009 10:43, Markus Schönhaber wrote: No, it's not strange at all. If the length of the response body is not known when the response headers are sent, you obviously can't add a Content-Length header. That has nothing to do with the HTTP version used. ... true

Re: chunked encoding

2009-06-12 Thread Markus Schönhaber
André Warnier: In summary thus : - making the request be HTTP 1.0, no matter how it's done, is not going to magically make Tomcat send the response in one chunk nor add a Content-Length header. Exactly. (it may just /prevent/ it from adding a Content-transfer-encoding: chunked

Re: chunked encoding

2009-06-11 Thread Markus Schönhaber
Anthony J. Biacco: Here's my problem. When the request is to a servlet (static apache files and JSPs through mod_jk are fine) in the form of a GET, instead of sending a Content-Length response header, I get a Transfer-Encoding: chunked header I'd like to know: 1) What are the causes of

Re: Tomcat 6.0.18 access files case-insensitive

2009-06-11 Thread Markus Schönhaber
André Warnier: the filesystem which matters. If the filesystem is case-insensitive, it doesn't matter whether the URL is /ABC.PDF or /abc.pdf, does it ? No. Try http://localhost:8080/tomcat.gif and http://localhost:8080/tomcaT.gif with a default Tomcat install. -- Regards mks

Re: chunked encoding

2009-06-11 Thread Markus Schönhaber
Anthony J. Biacco: The only thing that makes me question this, is that if I query the servlet directly on port 8080 instead of through mod_jk/ajp, it doesn't get chunked. Well, I don’t get a transfer-encoding header I should say. But I don’t get a content length through there either. And

Re: Tomcat 6.0.18 access files case-insensitive

2009-06-11 Thread Markus Schönhaber
Markus Schönhaber: André Warnier: the filesystem which matters. If the filesystem is case-insensitive, it doesn't matter whether the URL is /ABC.PDF or /abc.pdf, does it ? No. Try Hm, re-reading the way you asked the question, this should be Yes, it does matter instead

Re: Header names lower case

2009-06-08 Thread Markus Schönhaber
Alexander Müller: I noticed the Tomcat implementation of HttpServletRequest.getHeaderNames() returns all header names in lower case. Is there any possibility to get them with their original case? I can't answer your question but I'm curious: why is a HTTP header name's case of any importance

Re: Header names lower case

2009-06-08 Thread Markus Schönhaber
Alexander Müller: RFC 2616 defines field names as case-insensitive. Relying on a header field's case therefore seems at least non-portable to me. Maybe you should elaborate what problem you are really trying to solve. For me the case wouldnt be important, but I am forwarding (basically a

Re: Newbie question: How to test if Tomcat is running?

2009-06-02 Thread Markus Schönhaber
Peter Crowther: From: Kai Behncke [mailto:kai-behn...@gmx.de] I have installed tomcat on a Debian Etch-System via http://www.myhomepage.de:8180 nothing at all appears? Unless Debian changes Tomcat's configuration a lot, the default port is port 8080, not 8180. Try that? IIRC Debian

Re: Windows x64 Installer

2009-05-29 Thread Markus Schönhaber
János Löbb: Because the electron has resting mess, it will never go with speed of light. The info by the way is not supplied by the electron, but rather with electromagnetic waves around the wire who have no resting mess, Oh, what a mess! ;-) -- Regards mks

Re: mod_proxy, Tomcat and request URL

2009-05-20 Thread Markus Schönhaber
Andre-John Mas: this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means that the Tomcat server does not know what hostname was used to access the Apache server, instead getting http://localhost:8080/ . Is

Re: Tomcat doesn't stop if a java thread is running

2009-04-20 Thread Markus Schönhaber
Paolo Gambetti: I have this problem. If in my web application running in Tomcat there is a java thread running when i stop Tomcat with shutdown.bat or shutdown.sh tomcat process doesn't end and i have to kill it manually. How can i solve this problem? Is there anything to change in java

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Markus Schönhaber
Leon Rosenberg: tomcat standalone performs better in most setups (yes, yes sendfile myth is there too, but the performance measurements shows that tomcats plain old java connector performs better) Which performance measurements do show that? Regards mks

Re: Tomcat 5 and UTF-8

2009-04-03 Thread Markus Schönhaber
Christopher Schultz: The problem is when the web server sends a response, it sends it using a particular character set (let's just say UTF8 for argument's sake). If you also report that the character set is UTF8 in the META tags, then it's only valid if the client saves the file to the disk

Re: XSD mime type

2009-03-16 Thread Markus Schönhaber
Pid: What, if any, is the correct MIME type for the XSD file type? When you say the XSD file type, you're talking about files containing XML Schemas? IIRC there's no special media type for schemas. But since they are themselves XML files, this... I'm guessing it's text/xml or application/xml

Re: howto clear Tomcat 6.0 ServerInfo.properties ?

2009-03-13 Thread Markus Schönhaber
Caldarale, Charles R: You still haven't explained why you think it's necessary to update ServerInfo.properties at all. If you want to differentiate multiple Tomcat instances, the value of ${catalina.base} would seem to suffice. My guess would be that she wants to hide Tomcat version

Re: howto clear Tomcat 6.0 ServerInfo.properties ?

2009-03-13 Thread Markus Schönhaber
Stephanie Wullbieter: I mean what did not work was adding common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/lib,${catalina.base}/lib/*.jar to $CATALINA_BASE/conf/catalina.properties and unzipping the SystemInfo.properties from

Re: howto clear Tomcat 6.0 ServerInfo.properties ?

2009-03-13 Thread Markus Schönhaber
Caldarale, Charles R: From: Markus Schönhaber My guess would be that she wants to hide Tomcat version information from Tomcat's error pages. Then setting the server attribute of the Connector element and providing custom error pages would seem to be a whole lot easier and more robust

Re: tcnative-1.dll

2009-03-13 Thread Markus Schönhaber
markov.ya...@neftochim.bg: How can I tell for sure that tcnative-1.dll is used by tomcat ? System is Windows 2003 SP2, Tomcat 5.5.20, JDK 1.5.0_11, tcnative-1.dll used is 1.1.12 Tomcat is started as a service. File tcnative-1.dll is placed in directory mentioned within -Djava.library.path

Re: how to compile tomcat source

2009-02-28 Thread Markus Schönhaber
h iroshan: I am new to Apache Tomcat. Can any body explain me to how to compile the source code of Apache Tomcat 5.5. http://tomcat.apache.org/tomcat-5.5-doc/building.html But: if you're new to Tomcat, what makes you think it's necessary for you to build it from source? Regards mks

Re: error while building tomcat 5.5

2009-02-28 Thread Markus Schönhaber
h iroshan: I tried to build the Tomcat 5.5 source with ant 1.7 and SVN 1.5 . while building I faced with following error . BUILD FAILED /home/iroshan/Documents/sources/tomcatBuild/build.xml:67: The following error occurred while executing this line:

Re: Wrong install on debian server 40r6

2009-02-04 Thread Markus Schönhaber
cactux: The Tomcat install on Debian Server 40r6 is quite weird and not functionnal, although I used the package manager. I just installed tomcat5.5 on debian server 40r6, with: aptitude install sun-java5-jre aptitude install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps Most people on this

Re: Tuning Tomcat

2009-02-03 Thread Markus Schönhaber
Sergey Livanov: Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 I hope you follow Chuck's good advice and re-describe your problem in a way others can understand. Moreover, if you're interested in tuning, you could start by downloading a Tomcat version that is not

Re: Indicator APR is loaded - TC 5.5

2009-01-29 Thread Markus Schönhaber
Gregor Schneider: I guess that the APR-message usually showing up in the logs IMHO is triggered by the APRLifeCycleListener (true?) Yes. Could it be that the APRLifeCycleListener is loaded lazy, and since no static HTML is served, the APRLifeCycleListener ist not loaded and therefore no

Re: Tomcat and OpenSSL 9.8.0j ?

2009-01-28 Thread Markus Schönhaber
franziska.oliv...@postfinance.ch: I need a Tomcat version with Open SSL 9.8.0j (came out beginning of January 2009). Does anyone know when this version of OpenSSL will be integrated in a Tomcat distribution? Probably never. At least, I don't know of an official Tomcat distribution that is

Re: How to prevent direct ip address

2009-01-23 Thread Markus Schönhaber
Jaakko Taipale: I have specified domain eg. www.myapp.com and I have tomcat running my machine that have IP address 123.123.123.123. Now I can access to my app with two address: http://www.myapp.com/myapp or http://123.123.123.123/myapp How can I prevent tomcat to response when

Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread Markus Schönhaber
kareda: thanks for the tip. indeed, the server.xml is not used at all. I removed it completely from the conf dir and when I ran catalina.bat run, the log output didn't change at all - still the same error. I have another tomcat instance on the same server, running as a service. so it's

Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-15 Thread Markus Schönhaber
kareda: I need to have Tomcat running on a win2003 server that also has IIS running. IIS uses port 80. I have changed the port in connector element in server.xml: Connector port=90 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8493

Re: Tomcat 6, APR, native wrapper and shutdown-port

2009-01-08 Thread Markus Schönhaber
Gregor Schneider: I'm running Tomcat using the APR and the native wrapper jsvc so that Tomcat runs on privileged port 80. Could somebody please be so kind to explain to me why there's no port 8005 listening on localhost? That's the way it's intended to be when you start Tomcat via jsvc. If

Re: Setting /WebContent as ROOT for an application

2008-12-13 Thread Markus Schönhaber
Tom Blank: The reason why I'm asking is, because I'm using eclipse and its 'dynamic web project' structure. I'm no Eclipse user either, but AFAIR the folder Webapps is part of an Eclipse Dynamic Web Project. And a project folder is not meant to be simply copied to Tomcat's appBase (judging

Re: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread Markus Schönhaber
BoyePeter: I am running Windows XP Professional version 2002 SP 3 with all updates applied. I am running Internet Explorer v 7.0.5730.11. I have installed Java JDK 1.6.0_11 with the JRE from the same download. Care to mention the Tomcat version you're using? I copied the servlet-api.jar to

Re: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread Markus Schönhaber
BoyePeter: I have installed Tomcat version 6. Although I doubt it's of any importance wrt your problem, for the future: Tomcat's version numbers consist of three numbers separated by dots - like 6.0.18. I copied the servlet-api.jar to the JDK directory because, according to Java for Dummies,

Re: SSL/Apache and Proxy

2008-12-08 Thread Markus Schönhaber
Doctor Khumalo: Anyone know anything about this or will my post be ignored? Hijacking unrelated threads is a good way to get ignored. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Markus Schönhaber
André Warnier: I have tried to download and find this in the Servlet 2.5 Specification, but I seem to get a series of html pages describing the API, without telling me much about the general principles. Yep, for some reason unknown to me it's unnecessarily difficult to find the PDF with the

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Markus Schönhaber
André Warnier: It appears anyway that my previous attempted logic was quite wrong. But I still find the spec quite confusing. There is some kind of mixture between servlet and web application that is not very clear, at least to me. As I understand it now, there are 2 steps : 1) the

Re: Deployment Web App on Debian

2008-11-07 Thread Markus Schönhaber
Kevin Jackson: Do you have the JDK installed or just the jre? Remember tomcat really needs a jdk to compile jsps No, it doesn't. A JRE is enough for modern Tomcat versions - at least this is true for the official builds from Apache. Regards mks

Re: MySQL DBCP Connection Example?

2008-10-19 Thread Markus Schönhaber
Martin Gainty: Im not baiting you but rebutting your wrong answer to davids right answer you pick fights with people and state what they say is wrong without doing any research Oh, please, this is ridiculous! You are wrong - as you are so often. And all the foot stamping of yours won't

Re: cannot seem to see deployed application

2008-10-07 Thread Markus Schönhaber
cooper5114: So in trying to figure out what was going on, i edited the webapps/ROOT/index.jsp page to verify that it would change. It didn't. So i figured it must be cached, so i killed my browser, restarted. No change. I also deleted $CATALINA_HOME/work directory (which i believe is used for

Re: tomcat6 + proxy issues

2008-10-02 Thread Markus Schönhaber
Mark Thomas: Actually, mod_proxy_http is usually a better choice than mod_proxy_ajp Could you please explain a little further? Since at one site I'm using mod_proxy_ajp I'm interested in what the advantage of switching to mod_proxy_http might be. Regards mks

Re: tomcat6 + proxy issues

2008-10-02 Thread Markus Schönhaber
Mark Thomas: Generally, and YMMV, mod_proxy_http is more stable. This is only a generalisation though. I have used mod_proxy_ajp in the past without any problems. Ah, OK. Since the mod_proxy_ajp setup I use is extremely simple and for a low-volume site, I don't expect any problems. Other

Re: JVM config for tomcat5.5

2008-09-21 Thread Markus Schönhaber
Martin Gainty: you'll definitely need the JDK in $JAVA_HOME and $JDK_HOME/bin to compile the JSPs.. No, a JRE is enough. Regards mks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Tomcat 6 + Native Library + HTTPS

2008-09-12 Thread Markus Schönhaber
StrongSteve wrote: Can anyone tell me - or give me a resource - on how to configure SSL in Tomcat 6 with an installed Native Library? I did it as usual in the following way: Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true

Re: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-11 Thread Markus Schönhaber
Johnny Kewl wrote: http://www.kewlstuff.co.za/test/test.htm What do you see in this test page? The output of a server that lies right to my face. It says, it is serving UTF-8-encoded text, while it really serves text encoded with some 8-bit charset - probably ISO-8859-1. Regards mks

Re: https problem after upgrading from Tomcat 5.5 to Tomcat 6

2008-09-06 Thread Markus Schönhaber
randomw wrote: I've been trying to upgrade from Tomcat 5.5.26 to Tomcat 6.0.18 for the past couple days but just cannot get https to work. Everything works as expected in Tomcat 5.5. Plain old http works in Tomcat 6, but the moment I try to switch to https, the connection just times out.

Re: APR SSL not working

2008-09-01 Thread Markus Schönhaber
Gregor Schneider wrote: The solution was: - create an .rnd-file within the user-space: openssl rand -out $HOME/.rnd 2048 - compile the APR with /dev/urandom: ./configure --with-apr=/usr/bin/apr-1-config \\ --with-devrandom=/dev/urandom \\

Re: APR SSL not working

2008-09-01 Thread Markus Schönhaber
Gregor Schneider wrote: seems I was a bit too optimistic... although I compiled APR with /dev/urandomPLUS creating $HOME/.rnd (changed 2048 to 4096 since this is the value specified in /proc/sys/kernal/poolsize), it's again taking ages to start up tomcat. AFAIK is /dev/urandom guaranteed not

Re: APR SSL not working

2008-08-29 Thread Markus Schönhaber
Gregor Schneider schrieb: Anybody out there who has the following combination up running: - Linux (Debian preferred, other distributions also welcome) - Tomcat 5.5 - APR - SSL Yes. into server.xml, Tomcat-startup hangs when initializing Coyote HTTP/1.1: 2008-08-29 17:15:31,722 INFO

Re: Tomcat 5.5 context.xml, how to configure the Host element

2008-08-26 Thread Markus Schönhaber
jerrycat wrote: Here is the context.xml Context path= docBase=C://Program Files//Apache Software Foundation//Tomcat 5.5//webapps//test [...] /Context Please read the docs: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Especially the last paragraphs in the descriptions of the

Re: Tomcat 5.5 context.xml, how to configure the Host element

2008-08-26 Thread Markus Schönhaber
jerrycat wrote: Thanks, just a question here. Set the appBase attributes for all your Host elements to different paths and make sure that not one is contained in another. For example, if you've got two hosts, localhost and www.test.com, you could configure them like that: Host name=localhost

Re: Tomcat 5.5 context.xml, how to configure the Host element

2008-08-25 Thread Markus Schönhaber
jerrycat wrote: I understand that Tomcat 5.5 prefers that your web application comes with a context.xml file under the META-INF folder. OK. So I added a context.xml file under the META-INF folder of my web application, please have a look below. context.xml [code] [/code] Looks

  1   2   3   4   5   >