Re: Tomcat 5.5: Why can't I see the applications?

2008-06-18 Thread jan
the Tomcat website - I found out in the end that I hadn't got rid of the repackaged version from memory, not quite sure why. Once I sorted that out it worked. Thanks for your help. /jan Steve Ochani wrote: Date sent: Wed, 18 Jun 2008 17:17:07 +0200 From: And

A few questions

2008-06-19 Thread jan
et the server to run, there is a link to an administration package that I am supposed to download from somewhere. Is there a standard place to find these things? /jan - To start a new topic, e-mail: users@tomcat.apache.org To

Re: A few questions

2008-06-19 Thread jan
Thanks, guys! /jan Walter Thompson wrote: Then use "startup.sh" or "shutdown.sh" Walter -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 10:44 AM To: Tomcat Users List Subject: RE: A few questions Date sent:

Tomcat and JDeveloper - installing ADF runtime

2008-06-24 Thread jan
I am learning Oracle JDeveloper at the moment for a project that I pioneer, and I want to use it with Tomcat. According to Oracle's documentation it is possible, but there aren't many details. Does anybody here have any experience with this? Any documentation or howto?

Custom error page

2021-09-24 Thread Jan Pernica
empty page. I have to propagate error page into all contexts. How to do it in one step? Thnx Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat service switches to another JDK under the hood

2022-04-11 Thread Jan Tosovsky
by this behavior. Kind of the race condition, which could be dangerous. Regards, Jan

RE: Tomcat service switches to another JDK under the hood

2022-04-11 Thread Jan Tosovsky
isplay the result - there is one extra 3rd party "hotfolder" Java app running as a service (JDK 8 is used in this case) -Original Message- From: Zdeněk Henek Sent: Monday, April 11, 2022 1:04 PM To: Tomcat Users List Subject: Re: Tomcat service switches to another JDK under the

RE: Tomcat service switches to another JDK under the hood

2022-06-09 Thread Jan Tosovsky
hared across threads/apps and some created without this system property in place was picked up. Now I am setting the system property as the command line param when starting the tomcat and issue has gone (= all httpClient instances are equivalent). Jan -Original Message- From: Zdeněk

Problem with next error during login: Number of simultaneous users reached

2006-07-25 Thread Jan Line
Hello all, I am new with tomcat problems and we are using it for supporting several web applications, one of them is giving this error when you try to login. I searched through config files and see that web.xml for the applicationfiltered=20 but we think that we are not really reaching

Re: Problem with next error during login: Number of simultaneous users reached

2006-07-25 Thread Jan Line
moment is the only toolkit we may use. See you, Leon Rosenberg <[EMAIL PROTECTED]> wrote: http://www.lambdaprobe.org regards Leon On 7/25/06, Jan Line wrote: > Hello all, > > I am new with tomcat problems and we are using it for supporting several web > applications, one

Re: Problem with next error during login: Number of simultaneous users reached

2006-07-25 Thread Jan Line
<[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html This is per default installed with Tomcat 5.0 You will need to add a role to tomcat/conf/users.xml Regards Andrew On 25/07/2006, at 2:51 PM, Jan Line

Re: Problem with next error during login: Number of simultaneous users reached

2006-07-25 Thread Jan Line
]> wrote: I do not really understand what you are trying to do here... But you may get more information from http:///manager/status As for 'maxUsers' in web.xml - no idea what that command does - never seen it before. Regards Andrew On 25/07/2006, at 4:03 PM, Jan Line wrote:

Re: Problem with next error during login: Number of simultaneous users reached

2006-07-25 Thread Jan Line
email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Jan Line" To: "Tomcat Users List" Sent: Tuesday, July 25, 2006 10:03 AM Subject: Re: Prob

Databaseaccess speed

2006-07-28 Thread Jan Strauch
Hello world !!! I have a greater problem with delays between write and read-access using tomcat. The scenario: tomcat 5.0.28 mysql Ver 14.7 Distrib 4.1.10a, for suse-linux (x86_64) 1. a servlet inserts data given by user via browser into the database 2. a second servlet uses these data to crea

application specific log4j configuration

2006-08-04 Thread Jan Zach
Hi, is there any possibility to customize log4j settings for particular application, e.g. in META-INF/context.xml or similar rather than in global settings common/classes/log4j.properties? I'd like to deploy an application and force it to log into its own file. Thanks Regard

Re: Re: application specific log4j configuration

2006-08-05 Thread Jan Zach
Hi Fred, it works nicely, thanks! regards jan >I believe you can put the log4j.properties into the >/WEB-INF/classes  and the log4j-.jar and >commons-logging.jar into the related WEB-INF/lib > >see  http://tomcat.apache.org/tomcat-5.5-doc/logging.html > >I tested with

Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Jan Andersson
s using Windows XP Prof with Tomcat 5.5 and Windows 2000 with Tomcat 5.0. Anyone have an idea of what this is all about? ____ Med vänlig hälsning / Kind Regards Jan Andersson Senior Software Engineering Specialist IBM Svenska AB, 164 92 Stockholm Visiting

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Jan Andersson
Markus Schönhaber <[EMAIL PROTECTED]> wrote on 2006-08-18 13:12:45: > Jan Andersson wrote: > > Trying to get Tomcat going with my app-under-development. Problem is that > > Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog (i.e. &g

Re: Error: Cannot get a connection, pool exhausted

2005-10-26 Thread Jan Pernica
And try to use removeAbandoned="true" logAbandoned="true" removeAbandonedTimeout="120" to track which connections were not properly closed (see http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html) Regards Jan Steve Kirk wrote: how ma

How to read and save a simple file?!?

2005-11-14 Thread Jan Andersson
ity is really annoying me. One doesn't think of reading and saving a simple text file as something that should be complicated. Please help! Jan Andersson Senior Software Engineering Specialist IBM Rational Brand Services +46 (0)70-793 23 02 Oddegatan 5 164 92 Stockholm

Re: How to read and save a simple file?!?

2005-11-15 Thread Jan Andersson
practically nothing about classloaders et al, and I do not tamper with them anywhere else in the web app. Jan Andersson Senior Software Engineering Specialist IBM Rational Brand Services +46 (0)70-793 23 02 Oddegatan 5 164 92 Stockholm ALEX HYDE <[EMAIL PROTECTED]> 2005-11-14 16:46

Strange behaviour with url rewrite when cookies are allowed

2005-12-09 Thread Jan Behrens
! Cheers, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22 - 187 - Fax: +49 4 41 97 22-102 E-mail: [EMAIL PROTECTED] - URL: http://www.offis.de

Session cookies on Linux

2005-12-11 Thread Jan Behrens
leset permission's? Tomcat runs as user tomcat and I think I checked each dir Tomcat needs to write into but I am not sure where cookies are normally stored in. Is this the temp dir or somewhere else? I would be very grateful for any help or suggestions as to what to do to get this fixed. TIA,

Antwort: Strange behaviour with url rewrite when cookies are allowed

2005-12-11 Thread Jan Behrens
Please ignore, have opened a new thread with an updated problem description. Jan Jan Behrens <[EMAIL PROTECTED]> schrieb am 09.12.2005 11:19:02: > Hi List, > > I have a legacy webapp that I am slowly migrating to Struts. It makes > heavy use of storing / retrieving objects

Antwort: Tomcat JDBC connection with Mysql

2005-12-12 Thread Jan Behrens
hostname under named hosts in mysql. afterwards don't forget to reload the user table in mysql and try again. HTH, jan marju jalloh <[EMAIL PROTECTED]> schrieb am 12.12.2005 12:22:30: > I can`connect to my database with via servlet. The connection > works well in PHP but not

Re: Session cookies on Linux

2005-12-12 Thread Jan Behrens
this behaviour both on my own app as well as on the admin app... I am at a loss as to what to do next :( Any ideas? TIA, Jan Peter Rossbach <[EMAIL PROTECTED]> schrieb am 12.12.2005 10:07:02: > a) Setup Firefox LiveHTTPHeader Plugin or nettools http proxy to scan > you traffic. >

Antwort: RE: Tomcat JDBC connection with Mysql

2005-12-12 Thread Jan Behrens
look here --> http://dev.mysql.com/doc/refman/4.1/en/connection-access.html rtfm ;) marju jalloh <[EMAIL PROTECTED]> schrieb am 12.12.2005 13:33:54: > But how to Grant permission to an ip host > > > Karthik <[EMAIL PROTECTED]> wrote: hI > > tHE PROBLEMS IS PRESENT WITHIN THE mysql SERVER,U

RE: Tomcat JDBC connection with MySQL

2005-12-12 Thread Jan Behrens
AdressBook" as root without a password... you should: - secure MySQL root with a password - create a new user with rights limited to db "AdressBook" and allow this user to connect from "%" for now - set a password for that user - reload user table! - change your url to the corr

Re: Session cookies on Linux

2005-12-12 Thread Jan Behrens
l directory is ok? We are using a couple, for /temp and /work amongst others. Because the work dir is used by Tomcat just fine however, I beliebe this should be ok. Any help on this is very much appreciated. TIA, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches Informationsmanagement Escher

Antwort: Re: Session cookies on Linux

2005-12-12 Thread Jan Behrens
something else... Thanks anyway, Jan "Martin Gainty" <[EMAIL PROTECTED]> schrieb am 12.12.2005 17:41:10: > This is a shot in the dark but does the sym linked folder have write > permission ? > assume that tomcat is installed to /usr/local/tomcat..e.g. > chmod +w /usr/loc

RE: How to reload jsp using ant in Tomcat 5.5

2005-12-12 Thread Jan Behrens
Just a gues, but maybe you have antiResourceLocking turned on? see --> http://issues.apache.org/bugzilla/show_bug.cgi?id=37668 Jan "Guillermo Sobrino" <[EMAIL PROTECTED]> schrieb am 12.12.2005 18:09:28: > > Hello again, > > trying to find a solution to my pr

Antwort: Need help with deployment

2005-12-12 Thread Jan Behrens
I am not a Linux man myself but I would think that you do have a problem with the access rights - unless Tomcat is running as root, which I thing would be even worse. If not, the Tomcat user will need rw access to its webapp dir (and should own it) in order to unpack anything. HTH, Jan Mark

Re: Session cookies on Linux

2005-12-13 Thread Jan Behrens
Guten Tag Martin, thanks again - still no luck though :( I had a look at catalina.policy (can't find java.policy) and there seems to be nothing wrong, plus Tomcat is not started in secure mode so these shouldn't be used, or not? Thanks, Jan "Martin Gainty" <[EMAIL

Antwort: Re: Antwort: Re: Session cookies on Linux

2005-12-13 Thread Jan Behrens
as third party after the initial response by the firewall and thus eliminated. I could bite my own a... for spending so much time on such a stupid mistake - but I never thought the firewall would be filtering cookies without ever telling me :( Going home now, Jan "Martin Gainty&quo

Antwort: WEB APPS OUTSIDE TOMCAT ENV 5.X

2005-12-14 Thread Jan Behrens
to point the docBase parameter to your (external) location and you are set. HTH, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22 - 187 - Fax: +49 4 41 97 22-102 E-mail: [EMAIL PROTECTED] - URL: http

Antwort: RE: Antwort: WEB APPS OUTSIDE TOMCAT ENV 5.X

2005-12-14 Thread Jan Behrens
state the URL path you want to access your webapp under - most probably /API in your case. This should work: HTH, Jan > Hi Form > > [ Sorry for the font's] > > I exactly did the same as u told several times last week (some body > mentioned this in the form) >

RE: Tomcat 5 error 404

2005-12-14 Thread Jan Behrens
you have been using the standard servlet mapping for your webapps before, check whether this is enabled by default (I think from 5.X onwards it aint) HTH, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches Informationsmanagement Escherweg 2 - 26121 Oldenburg - Germany Fon: +49 4 41 97 22

Antwort: RE: Performance degradation under load

2005-12-16 Thread Jan Behrens
Hi Marc, it still sounds like it could be a connection pool issue to me. Which of the available connection pools are you using and how exactly have you set it up in your tomcat config? Maybe we can see something in there. Cheers, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches

Re: Many questions are left unanswered.

2005-12-16 Thread Jan Behrens
experience - lead to even less answers... Anyway, looking at your last post I would suggest to give more details on your problem and say what you have tried so far. Maybe you have a misconfigured server.xml defining more than one host with the same name? Regards, Jan "Prathibha, Bha

Antwort: tomcat for public IP

2005-12-16 Thread Jan Behrens
. Cheers, Jan kumar anubhav <[EMAIL PROTECTED]> schrieb am 16.12.2005 14:28:38: > hi all, > I want to configure my tomcat server for public IP but > i didn't get any solution please help if any body > running server on public IP. > > its really urgent > &

custom jaas login module

2006-02-09 Thread Jan Zach
n why I cannot assing a subject both user and role principal? Thanks a lot Regards Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

mod_jk error numbers

2006-02-14 Thread Peters Jan
are the same requests at our apache firewall in mod_secure. These should have been blocked, but seem to get through to the connector. So my questions are: 1. What does the 449 and 461 numbers mean? 2. Is there a security hole in our server? Thanks for any reply and best regards Jan Peters-Anders

programatic jaas authentication

2006-03-19 Thread Jan Zach
/http request. I use JSF. Any idea? Thanks a lot Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

yet another SSL question

2007-01-05 Thread Jan Strauch
Hello world! My problem : I want some of my servlets to be accessible only when HTTPS is used: https:/ succeeds http:/ gives an error The first step seems to work, but when i have logged in into the secure area, load a page using https, delete the "s" and reload, the page is also loaded.

Re: yet another SSL question

2007-01-11 Thread Jan Strauch
first, thanks for your help. But now I got the next problem: Is it possible to have multiple different Login pages in one webapp? Scenario: - Two areas (DB,shop) in one webapp - two groups of users having access to one of the areas. - one member of both groups. When I am logged in to the DB-se

Tomcat 5.5.20 SSL "no errors" not working

2007-02-12 Thread Jan Eldenmalm
smime.p7s Description: S/MIME Cryptographic Signature

Tomcat 5.5.20 SSL "no errors" not working

2007-02-12 Thread Jan Eldenmalm
t, nor any port conflicts or other things even remotely connected to a web server or network connections... Any insights into where to start looking for the problem would be much appreciated. // Jan smime.p7s Description: S/MIME Cryptographic Signature

Tomcat 5.5.20 SSL "no errors" not working

2007-02-12 Thread Jan Eldenmalm
y connected to a web server or network connections... Any insights into where to start looking for the problem would be much appreciated. // Jan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Tomcat 5.5.20 SSL "no errors" not working

2007-02-12 Thread Jan Eldenmalm
in tomcat it is also worth noting that the configuration does not "use the implicit" catalina home - but requires full URIs ( c:/bla/bla/cert.crt ) after doing all these changes I had to restart the server twice for some reason before it stopped complaining about "multiple&

Undeploy problem

2005-10-24 Thread Jan Pernica
it. We get message the file is used by another process. We are running Tomcat 5.5.9 on Win XP with JDK 1.4.2_09 Thank you for your help. Jan Pernica - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: JMX task scheduler

2005-10-24 Thread Jan Pernica
We are facing the same problem. When we process the task, then we check for next planned execution time, Then we "sleep" for specified time. Process, and again. If task is running over next planned execution time, then this time is skipped. Jan Mikolaj Rydzewski wrote: Hello, I

Running Tomcat 5.0 as a Windows service using a specific user

2005-10-24 Thread Jan Andersson
cess to other computers to which I have access (and in Task Manager I see that the user running tomcat5.exe is me, not "SYSTEM"). Any ideas what's wrong and how to fix? Don't know much about these things so any help appreciated! And yes, I've googled, to no avail. Us

Undeploy/Deploy problem

2005-10-24 Thread Jan Pernica
We have problem with Undeploy war and deploy again. Tomcat does not remove folder under webapps and leaves some jars in the WEB-INF/lib. These jars are tomahawk.jar and ehcache.jar. Any sugestions how to avoid this problem?: Thank you Jan

Re: Undeploy/Deploy problem

2005-10-24 Thread Jan Pernica
e problem Jan is experiencing. antiResourceLocking definition from 5.5 server config reference says "If true, Tomcat will prevent any file locking. This will significantly impact startup time of applications, but allows full webapp hot deploy and undeploy on platforms or configurations where f

Re: content length on response

2005-10-24 Thread Jan Pernica
If you want a content length header then you will not be able to return partial results. The page can be generated at once only. Jan Enrique Rodriguez wrote: I have 9-8 tomcat with version 4.1.23 or 5.5.9. They never put content-length http header variable on responses. Why does tomcat has

Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Jan Pernica
In your deploy XML you should have somethink like this: type="javax.xml.DataSource"/> Where jdbc/global is defined in the Data Sources of the tomcat server. Jan rahul wrote: I am still not been able to use remote database, even after including in my web.xml -Ori

URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Jan Andersson
eease, any help very much appreciated! I'm totally lost on these things and need to get this working by Friday! Jan Andersson Senior Software Engineering Specialist IBM Rational Brand Services +46 (0)70-793 23 02 Oddegatan 5 164 92 Stockholm

RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Jan Andersson
quot;Tomcat Users List" cc Subject RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user > From: Jan Andersson [mailto:[EMAIL PROTECTED] > I'll try again: How do I do to run Tomcat 5.0 as a Windows > service using a > specific user? I've t

Content disposition header not reaching client

2008-09-10 Thread Jan Lendholt
name=\"Bookings.xls\""); arg1.setHeader("Pragma", "public" ); arg1.setHeader("Expires", "0" ); arg1.setHeader("Cache-Control", "public, must-revali

Tomcat UserDB in MySQL

2007-04-24 Thread Jan Strauch
I want to replace the "tomcat-users.xml" with two tables in MySQL: Database : auth table users :username varchar(15) primary key NN pass varchar(41) NN table roles : username varchar(15) primary key NN role varchar(10) NN Tried the solution from th

Re: Tomcat UserDB in MySQL

2007-04-27 Thread Jan Strauch
It still doesn´t work. this is what Catalina.out sais: INFO: Starting Coyote HTTP/1.1 on http-8080 27.04.2007 01:14:44 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 27.04.2007 01:14:44 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/228 config

Password Input on Tomcat Startup

2008-02-08 Thread Jan Mönnich
servlet (1). Unfortunately this requires our server to run X11... :-( Is there any (hidden) way to input this password on the terminal tomcat was started from? Thanks in advance for any idea! Jan -- Dipl.-Inf. (FH) Jan Mönnich, PKI Team Phone: +49 40 808077-632, Fax: +49 40 808077-556, [EMAIL PROTE

Re: Can Tomcat support multiple SSL certificates for multiple domains?

2008-02-11 Thread Jan Mönnich
Ooops, my fault! I've read and replied too fast (maybe because it's Monday? :-)) Of course this shouldn't be done with *two domain names* only with two host names in the same domain... I suppose it won't work in actual browsers but if it does I let you all know... Sorry J

Re: Can Tomcat support multiple SSL certificates for multiple domains?

2008-02-11 Thread Jan Mönnich
e workaround we are recommending to all of our customers. Greetz Jan Gabe Wong schrieb: > Dave wrote: >> Hi, >> I have one JBoss instance (4.0.5GA) running on Linux. The machine >> has one IP with two domains. >> www.domain1.com >> www.domain2.com >>

Logging in separate Thread

2008-02-14 Thread Jan Mönnich
! Jan -- Dipl.-Inf. (FH) Jan Mönnich, PKI Team Phone: +49 40 808077-632, Fax: +49 40 808077-556, [EMAIL PROTECTED] DFN-CERT Services GmbH, https://www.dfn-cert.de, Phone +49 40 808077-555 Sitz / Register: Hamburg, AG Hamburg, HRB 88805, Ust-IdNr.: DE 232129737 Sachsenstraße 5, 20097 Hamburg/Germany

Context.xml override problem

2008-10-27 Thread Jan Pernica
env-entry from web.xml then it works fine. Any hint? Regards Jan -- Děkuji a s pozdravem Jan Pernica === Pernica IT Solutions Masarykovo náměstí 8 664 51 Šlapanice Czech Republic tel,fax: +420 544 245 068 mobile: +420 777 634 665 mailto:[EMAIL PROTE

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-22 Thread Pfeifer Jan
ested many samples with no luck so far. Jan

Re: Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
-encoding filter and it worked. Now I am confused a little bit more. What is the difference in using request.setsetCharacterEncoding in JSP and in filter? Jan

Re: Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
8859-1"),"UTF-8"); for a start" I know about URIEncoding in server.xml and about using Encoding filter,but we use this for decoding GET request for historical reasons. Or is there more "correct" way to decode String? Jan

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-24 Thread Pfeifer Jan
the request body? "String decoded = new String(param.getBytes("iso-8859-1"),"UTF-8"); for a start" I know about URIEncoding in server.xml and about using Encoding filter,but we use this for decoding GET request for historical reasons. Or is there more "correct" way to decode String? Jan

Serving "static user generated" content

2009-07-08 Thread Jan Jonas
war file? This directory then could be used to store the content and a filter could check the session. Regards, Jan

AW: Serving "static user generated" content

2009-07-08 Thread Jan Jonas
a forward the request in one webapp the other one? Regards Jan -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Mittwoch, 8. Juli 2009 15:36 An: Tomcat Users List Betreff: RE: Serving "static user generated" content > Fr

ServletContext.getContext() always returns when calling from "root" context (even with crossContext)

2009-08-28 Thread Jan Jonas
n "/" or "" everything works fine. Is this a tomcat bug? My workaround now is to use apache's mod_rewrite to handle requests on "/". Regards Jan

tomcat web server optimization

2009-09-07 Thread Bilal Jan
Please consider the following details: Scenario: We put load on tomcat (basically a simple http request) and in response an http response sends 1 to show success.   Executor and Connector configuration (TOMCAT 6) with java version 1.4.2:     Now I have tried many other configurations but I think

Re: Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use

2009-10-14 Thread Jan Pernica
You cannot use port < 1024 as non-root. Use apache and AJP to connect tomcat running on eg. 8080. Regards Jan On 15.10.2009 8:18, Ken Johanson wrote: Hi everyone, Trying to run Tomcat Tomcat/6.0.18 + apr-1.3.8.tar.gz, I get a: Oct 15, 2009 12:11:20 AM org.apache.coyote.htt

POST request encoding - Tomcat/JVM configuration?

2009-10-22 Thread Pfeifer Jan
oding() %><br> Original value: '<span style='color:<%= request.getMethod().equals("GET") ? "red" : "green" %>'><%= param %></span>'<br> Decoded value: '<span style='color:<%= request.getMethod().equals("GET") ? "green" : "red" %>'><%= decoded %></span>'<br> </table> </body> </html> My output: Method: POST Encoding: UTF-8 Locale: cs Default System charset: Cp1250 Original value: 'čížek' Decoded value: 'čížek' Correct output (any other server): V2 Method: POST Encoding: UTF-8 Locale: cs Default System charset: Cp1250 Original value: 'čížek' Decoded value: '?�?ek' I spent last two days googling and looking for answer with no luck. Hope that someone can help. Thanks in advance Jan Pfeifer

Difference between running bootstrap.jar and catalina.bat

2009-05-13 Thread Jan Horký
which is based on jwsdp2 (jaxb2). I put some jars to app/lib, some to tomcat/lib and some to java/lib and it works with java -jar bootstrap.jar start, but not as service. Can anyone give me some advice? Realy thanks, hopeless Jan.

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Jan Horký
omcat this way (java -jar boot...). Than I can try to set service (windows registry, good to know, thx) same way as it's set when I'm using bootstrap class to tomcat run. Thanks for answer. Jan On Thu, May 14, 2009 at 10:31 AM, André Warnier wrote: > Jan Horkı wrote: > >>

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-14 Thread Jan Horký
on. I need to override somehow the jaxb1 api which I'm using for older custom component in application. I appreciate your time, thanks for answer, Jan. On Thu, May 14, 2009 at 8:56 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- &

Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Jan Peters
e taglibs the JSP loads in IE. I am a bit stuck here. Any ideas and suggestions how to configure my mod_jk e.g. or what else might be wrong are greatly welcome. I use Apache 2.2.3, Tomcat 5.5.23 and mod_jk 1.2.28. Thanks in advance Jan Peters-Anders -- Neu: GMX FreeDSL Komplett

Re: Problem: JSP works in Firefox but not in Internet Explorer

2009-05-19 Thread Jan Peters
he jsp without reloading the whole page again. Can you tell me another way of loading the ClimateConnector.jsp from the page? I just need to execute the jsp with a query parameter attache "id=..." to trigger the database query. That is what the taglib does at the moment. > Why

Re: Difference between running bootstrap.jar and catalina.bat

2009-05-20 Thread Jan Horký
Hi, Finally I managed It. Sadly, by different way. Every librarie magics failed than I wrote new web service based on axis. It's used jaxb1. Thank you all for your time. Jan. On Fri, May 15, 2009 at 4:57 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BE

problem with loading Bouncy Castle

2011-11-08 Thread Jan Vávra
omcat does complaint about "Illegal access"? Is there any way how to debug work of org.apache.catalina.loader.WebappClassLoader? My tomcat version is: Apache Tomcat/6.0.29 1.6.0_22-b04 Sun Microsystems Inc. Linux 2.6.32.36-0.5-default amd64 Thanks. Jan

Problem in Load Balancing (AJP)

2011-11-14 Thread ali jan
Dear all we have deployed our university application in a cluster(did load balancing using AJP) using tomcat application servers and apache access sever. *Following is our apache httpd.conf configuration* ProxyPass / balancer://myCluster/ stickysession=JSESSIONID|jsessionid nofailover=On timeou

Tomcat recycling

2011-11-18 Thread Jan Vávra
Hello, is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? If I add my own script containing "/etc/init.d/tomcat restart" to the crontab I loose the user sessions and users have to relogin. I experience some problems with OutOfMemory e

Re: where to put static files?

2011-11-21 Thread Jan Vávra
Hello, when I started my project others told me to use apache for static content and tomcat for java/jsp. It works quite good. Tomcat is hidden under reverse proxy (mod_ajp). So static content gives apache, dynamic tomcat. Jan. I have a spring project (web app), in my project where should

Re: Tomcat recycling

2011-11-21 Thread Jan Vávra
It's almost imposible to crash Apache like a whole (control + x worker processes). So .NET and php seems me they're more stable than tomcat because they have some possibilites. I haven't studied recovery options in other java app

Re: Tomcat recycling

2011-11-21 Thread Jan Vávra
Hello, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 11/18/11 10:35 AM, Jan Vávra wrote: is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? Tomcat does not come with any mechanism for doing that. IIS has hacks to work-around

Re: tomcat http connector

2011-11-21 Thread Jan Vávra
Hello, I use ajp, because on tomcat I make authentication based on client certificate. That you cannot do via http connector. Jan. Hi, Is there any document which I can refer to which states if tomcat's built in http connector (Coyote) can be used for production ? And also a compa

Re: Tomcat recycling

2011-11-22 Thread Jan Vávra
idn't properly restart tomcat. It could be due to a some untermintated thread, who knows... I must look more closely into doc - how tomcat is starting and shutdowning if I'd like to do some tomcat recycling by own or modified scripts. Thanks. Jan. -BEGIN PGP SIGNED MESSAGE-

Two auth methods for one application

2012-02-02 Thread Jan Vávra
-CERT SecustampRealm and tomcat calls the function (1). When I replace CLIENT-CERT for BASIC tomcat calls the function (2). Is it possible to configure tomcat to call both variants of functions? I'd like to write something like CLIENT-CERT or BA

Re: Two auth methods for one application

2012-02-02 Thread Jan Vávra
On 02/02/2012 15:00, Christopher Schultz wrote: Jan, On 2/2/12 6:26 AM, Jan Vávra wrote: Is it possible to configure tomcat to call both variants of functions? I'd like to write something like CLIENT-CERT or BASIC. The servlet spec doesn't support anything like this. I think w

RE: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Jan Kostelansky
documentation resource elements defined in context is private to that context only. Thank you in advance for any help, Jan

Word.Applicaiton acvivex components & tomcat & Windows 7

2012-12-07 Thread Jan Kostelansky
. This is not tomcat error precisely as it works on XP. I have a feeling enhanced Windows7 security causes this issues. However I hope somebody from tomcat community solved this issue. Thank you in advance, Jan

RE: Word.Applicaiton acvivex components & tomcat & Windows 7

2012-12-07 Thread Jan Kostelansky
trying to open ? on a local disk of the Tomcat host, or on a network drive ? The file is on local HDD of tomcat host, outside of program files directory. - what version of Java is running Tomcat ? a 32-bit or 64-bit version ? It is Windows 7 64 bit release. Thank you, Jan -Original Message

reload => drop jsp-page servlet instances

2012-12-27 Thread Jan Vanek
from the JspRuntimeContext, and set "reload=true" in each JspServletWrapper referenced from JspRuntimeContext. What is the best way to do this? Thanks and regards, Jan

smylink inside webapps to eclipse project fails

2013-01-21 Thread Jan Kessinger
: # root@machine:/var/lib/tomcat7/webapps# ls -la drwxrwxr-x 4 tomcat7 tomcat7 4096 Jan 21 09:27 . drwxr-xr-x 6 rootroot4096 Jan 20 20:59 .. drwxr-xr-x 3 rootroot4096 Jan 20 21:30 ROOT lrwxrwxrwx 1 rootroot 50 Jan 21 09:19 springapp -> /home/usr/Lab/SpringWorksp

Re: configuring tomcat7 with apache 2.2.22

2013-03-15 Thread Jan Vávra
oaded: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so In the Apache Tomcat's server.xml change ajp port to 9081 On WinXP there should be no problem. I personally develop on Win 7, production is Linux. Jan. Although not a newbie to building websites in html and php, and physical comput

Re: configuring tomcat7 with apache 2.2.22

2013-03-15 Thread Jan Vávra
8080. Depends on situation ... Jan. Thanks to some advice on this forum, and a lot of independent study and experimentation, I have a php app on apache (localhost:80) pulling in a database driven bar code from a IDAutomation Servlet running on tomcat (localhost:8080). Looks like this

Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
le: [root@node1 ~]# cat /web/tomcat/tomcat6/conf/server.xml Many thanks! jan - To unsubscribe, e-mail: user

  1   2   3   >