Re: IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Johannes Edmeier
Am So., 20. Okt. 2019 um 16:11 Uhr schrieb Mark Thomas : > > On October 20, 2019 9:43:00 AM UTC, Johannes Edmeier > wrote: > >Hi folks, > > > >I have a async response which is designed to run as long as the > >browser is connected (using SSE). > >After the

IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Johannes Edmeier
the state handling logged (see below) which is quite noisy. Is there somehow to prevent this from happening? or is this a bug? (also happens with tomcat 9.0.27) The spring boot guys also did have a lookt at it: https://github.com/spring-projects/spring-boot/issues/15057 Cheerio Johannes 2018-1

Re: Endorsed mechanism in Tomcat 8

2017-01-24 Thread Johannes F. Knauf
f bin/setenv.sh -- >8 snip begin 8< -- CATALINA_OPTS="-Djava.endorsed.dirs=${CATALINA_HOME}/endorsed/" -- >8snip end 8< -- Thanks a lot again Johannes - To unsubscribe, e-mail

Endorsed mechanism in Tomcat 8

2017-01-24 Thread Johannes F. Knauf
ill mentioning it https://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html What is the recommended mechanism of using java.endorsed.dirs in Tomcat 8 + JDK 8? I already searched the web, but couldn't find anything helpful. Cheers

Re: Fwd: No longer able to use my own org.apache.catalina.authenticator.BasicAuthenticator in Tomcat 8.5.5

2016-10-03 Thread Johannes Michler
icauthenticator as well, correct? But this would still require us to install a tomcat version specific library globally, wouldn't it? Br Johannes Am 03.10.2016 15:01 schrieb "Mark Thomas" : On 01/10/2016 18:50, Johannes Michler wrote: > Hi, > > for our own web-applicati

Fwd: No longer able to use my own org.apache.catalina.authenticator.BasicAuthenticator in Tomcat 8.5.5

2016-10-01 Thread Johannes Michler
behaviour. Also when comparing the Valve-Documentation of Tomcat 8.5 and 8.0 I do not see a difference. Or would it be better to address this with d...@tomcat.apache.org since it might as well be a bug? Or is there a more elegant way to solve this problem to not reply with

Re: userfriendly failed client authentification

2015-05-08 Thread Johannes
tp traffic happens after ssl authentification, so I can imagine that this has good reasons. But maybe there is a way... Am 08.05.2015 um 08:28 schrieb Violeta Georgieva: > Hello, > > 2015-05-07 20:54 GMT+03:00 Johannes : >> >> >> >> Hello. >> >> I'

userfriendly failed client authentification

2015-05-07 Thread Johannes
ve a tomcat 401 http error page (which can be customized) if no client certificate was found on a protected resource. But entering a bad passphrase shows a ugly browser error page again. Is there a way to deal with that? I believe the user acceptance will be low with that behavior. B

Re: AJAX Authentification

2013-02-09 Thread Johannes Meyer
, you can make a filter that > catches all ajax context after it goes through the security class filters. > Take a look here : > > http://static.springsource.org/spring-security/site/ > > If you think this is a solution for you let me know and I can provide more > details. > > Jimm

Re: AJAX Authentification

2013-02-08 Thread Johannes Meyer
Hi Konstantin, thank you for answer. > HttpServletRequest.login(..) ? > (in a Servlet 3.0 application) If I call this function, only the current request is authorized, but not the whole session. Is there any solution to authorize the session? Thank you, Johannes 2013/2/8 Konstantin K

AJAX Authentification

2013-02-08 Thread Johannes Meyer
? Best regards, Johannes - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Johannes Ernst
On Mar 16, 2012, at 5:07, Pid wrote: > On 15/03/2012 23:44, Johannes Ernst wrote: >> I've implemented my own org.apache.catalina.loader.WebappLoader. It consults >> a bunch of JARs held in the file system outside of the WAR. > > Would one of the shared/common classloa

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Johannes Ernst
On Mar 16, 2012, at 3:30, Konstantin Kolinko wrote: >> Where is a good breakpoint or debug switch that I could set to see with >> which class path values Jasper and javac are being invoked? > > Why are you asking if the source code is available? Because I'm a little lost in the source code. E

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-15 Thread Johannes Ernst
#initSecurity() > TldLocationsCache#scanJars() Where is a good breakpoint or debug switch that I could set to see with which class path values Jasper and javac are being invoked? Thank you! Johannes. - To unsu

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-15 Thread Johannes Ernst
On Mar 15, 2012, at 16:50, Konstantin Kolinko wrote: > 2012/3/16 Johannes Ernst : >> I've implemented my own org.apache.catalina.loader.WebappLoader. It consults >> a bunch of JARs held in the file system outside of the WAR. >> >> One of those outsid

Custom WebappLoader, Jasper and custom JSP tags

2012-03-15 Thread Johannes Ernst
ooking for custom tags. How would I do that? A few hours worth of poking around in the source code hasn't helped … This is Tomcat 6.0.28 but any answer for any version is appreciated. Thanks, Johannes. - To unsubscribe

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
> The documentation has to be updated. Please file an issue. https://issues.apache.org/bugzilla/show_bug.cgi?id=51727 Personally I feel the documentation is correct and the code is wrong. What point is there to have a path parameter in context.xml if it has to be specified (redundantly) as a UR

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? > >> >> Is there some way I can debug this? >> > > Yes. Debugging is d

Re: manager / deploy context file

2011-08-26 Thread Johannes Ernst
On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > 2011/8/26 Johannes Ernst : >> I'd like to do this in Tomcat 6: > > Which exactly version of Tomcat 6.0.x you are using? Standard issue Ubuntu Lucid which apparently is 6.0.24. http://packages.ubuntu.com/lucid/tomcat6

manager / deploy context file

2011-08-25 Thread Johannes Ernst
I might be missing? /tmp/mycontext.xml does contain a path setting. I'd hate having to write some code to parse out the path setting from the context file and then add it to the URL ... Is there some way I can debug this? Thanks!! Johannes. ---

Re: Multiple contexts pointing to same WAR

2011-08-15 Thread Johannes Ernst
I will try that, thanks, and report back. If it works, will that create one ClassLoader for foo.war, or two (one per context?) On Aug 15, 2011, at 9:43, Mark Thomas wrote: > On 15/08/2011 17:38, Johannes Ernst wrote: >> I'd like to run the same web app at multiple paths in

Multiple contexts pointing to same WAR

2011-08-15 Thread Johannes Ernst
can do I this so I can make updates to the app without restarting Tomcat? Do I have to duplicate the WAR into foo1.war and foo2.war? Thanks, Johannes. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additi

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
z : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Johannes, > > On 1/13/2011 2:20 PM, Johannes Stein wrote: >> Now $CATALINA_HOME is setted to "/usr/share/tomcat6". > > Was that set to something else, earlier? /usr/share/tomcat6 looks like > the CATAL

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
Sorry for my stupidity. Now $CATALINA_HOME is setted to "/usr/share/tomcat6". There i can find "bin, lib, webapps". But now srv2.tudom.de is not resolvable. Any ideas? 2011/1/13 Johannes Stein : > When i am entering the $CATALINA_HOME directory in the shell with cd >

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
When i am entering the $CATALINA_HOME directory in the shell with cd $CATALINA_HOME There is nothing else then there is nothing. cd $CATALINA_HOME/bin redirects me into the bin folder. 2011/1/13 Johannes Stein : > 2011/1/13 Christopher Schultz : >> -BEGIN PGP SIGNED MESSAGE- >

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
2011/1/13 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Johannes, > > On 1/13/2011 11:34 AM, Johannes Stein wrote: >> >> >> >>     >               type="org.apache.catalina.UserDatabase" >>          

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
Enclosed the server.xml, hope this helps! srv2.tudom.de 2011/1/13 Caldarale, Charles R : >> From: Johannes Stein [mailto:johannes.st...@googlemail.com] >> Subject: Re: vhost - servlets not availa

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
? 2011/1/13 Johannes Stein : > 2011/1/13 Christopher Schultz : >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Johannes, >> >> On 1/13/2011 10:01 AM, Johannes Stein wrote: >>> i deployed a gwt-application in tomcat 6.0.18 without any pr

Re: vhost - servlets not available

2011-01-13 Thread Johannes Stein
2011/1/13 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Johannes, > > On 1/13/2011 10:01 AM, Johannes Stein wrote: >> i deployed a gwt-application in tomcat 6.0.18 without any problems. I >> pointed a url to the ip-adress and deployed th

vhost - servlets not available

2011-01-13 Thread Johannes Stein
Hey, i deployed a gwt-application in tomcat 6.0.18 without any problems. I pointed a url to the ip-adress and deployed the application unter webapps/myfolder, so that the app was reachable unter http://mydomain/myfolder. It worked fine. But since im using a vhost in tomcat i got a problem. Every ti

Johannes Frings ist außer Haus.

2009-12-01 Thread Johannes . Frings
VEDA FA Finanzen 02404 5507 1444 VEDA FA Kosten02404 5507 1444 VEDA HR Entgelt 02404 5507 1555 VEDA HR Manager 02404 5507 1666 VEDA HR Zeit 02404 5507 1777 Mit freundlichen Grüßen Johannes Frings - To

Re: Profiling tomcat applications with -Xrunhprof (Tomcat runs asa Windows Service)

2009-03-31 Thread Haase, Johannes | SCARUS
service via console? Thanks a lot! Johannes THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all

Re: Profiling tomcat applications with -Xrunhprof (Tomcat runs as a Windows Service)

2009-03-31 Thread Haase, Johannes | SCARUS
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johannes, On 3/31/2009 9:56 AM, Haase, Johannes | SCARUS wrote: "-Xrunhprof:heap=sites,depth=10,file=C:\hprof.txt". [snip] However no further information except the general infos were written

Profiling tomcat applications with -Xrunhprof (Tomcat runs as a Windows Service)

2009-03-31 Thread Haase, Johannes | SCARUS
figuration for tomcat 5.5. The environment is an productive one. Many thanks for help in advanced. Appreciated! Johannes

Re: Getting Tomcat 6 to compile JSP with Java 1.6

2008-06-20 Thread Johannes Schmidt
2008/6/21 Caldarale, Charles R <[EMAIL PROTECTED]>: >> From: Johannes Schmidt [mailto:[EMAIL PROTECTED] >> Subject: Getting Tomcat 6 to compile JSP with Java 1.6 >> >> I have just spent 4+ hours trying to get Tomcat 6(.0.14) to compile my >> JSPs with Java 1.6

Getting Tomcat 6 to compile JSP with Java 1.6

2008-06-20 Thread Johannes Schmidt
t to be able to use generics in my JSPs, since I'm using them in my servlets, and want the JSPs to be able to handle them neatly. Thanks very much if you bothered to read this far, and thanks in advance for any help! Hopefully so

Resource problem with ActiveMQ

2007-12-16 Thread Johannes Carlén
vContext.lookup("jms/test/TEST001FirstQueue")); TextMessage testMessage = session.createTextMessage(); testMessage.setText("My Message); producer.send(testMessage); This works just fine running in Eclipse/WTP but not in plain Tomcat. Anyone

SO_LINGER

2007-05-09 Thread Wolter, Johannes - ENCOWAY
ev/200201.m box/%3C000101c19864$2645ba60$033cc80a%40octovma%3E <http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-dev/200201. mbox/%3C000101c19864$2645ba60$033cc80a%40octovma%3E> Thanks for any hint, Johannes Wolter

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Johannes
Try to disable the security manager. Edit /etc/init.d/tomcat and change the security to no. # Use the Java security manager? (yes/no) TOMCAT5_SECURITY=no ~Johannes -Originalmeddelande- From: Stepan Yakovenko [EMAIL PROTECTED] Date: Fri, 10 Nov 2006 12:13:31 +0100 To: users

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-06 Thread Johannes
I had to try it and... It did not work as you already knew. Is there any other possibility besides writing my own Valve (that no one so far has said don't work. But I have no clue how that is done.) ~Johannes -Originalmeddelande- From: Mark Thomas [EMAIL PROTECTED] Date: Sat, 0

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-03 Thread Johannes
That is really a REALLY good idea! And if that works the solution is solved. To bad that I have to go home now and I'll have to wait until Monday to try it. But this sounds like the solution! I'll get back with the answer on Monday. ~Johannes -Originalmeddelande- From:

Re: Tomcat authenticate with BASIC Auth (Pre: Active directory)

2006-11-03 Thread Johannes
bapp in the server.xml file be protected by one simple login WITHOUT the need to modify the webapp itself every time we get a new version of the webapp? ~Johannes -Originalmeddelande- From: Johannes [EMAIL PROTECTED] Date: Thu, 02 Nov 2006 12:55:13 +0100 To: users@tomcat.apache.org Sub

Tomcat authenticate with Active directory

2006-11-02 Thread Johannes
tried searching for a good tutorial/guide how to make this happen step by step but without success. Have this been done by anyone here that could give me some help setting this up. Or can direct me to a good step by step tutorial to get this up and running? ~Joh

Re: IPTABLES

2006-10-20 Thread Johannes
I'm running IP tables with the addition that it's possible for the apps to talk on port 80. This is the script I'm using: #!/bin/sh IPTABLES=/sbin/iptables EXTERNAL_IP= # The IP-address of the external interface of the firewall EXTERNAL_INTERFACE=eth0 # The external