AW: AW: java

2016-07-18 Thread Steffen Heil (Mailinglisten)
Hi > > I am not sure that this related, be we were having issues after > > updating from 1.8.0_31 to 1.8.0_72 with certificates signed by > > root-cas that have a md5 signature. While the CA signature in the CA > > certificate does not provide any security, a bug in the jre rejected > > the

AW: java

2016-07-18 Thread Steffen Heil (Mailinglisten)
Hi > With jdk 1.8.0.45 our ldap communication is giving results. As soon as we > change tomcat to use jdk1.8.0_51, I am getting below > exception. I am not sure security changes in jdk 1.8.0_51 preventing the ldap > certificate loaded in cacerts in java not communicating > properly to our ldap

AW: SocketTimeoutException in CoyoteInputStream

2016-07-18 Thread Steffen Heil (Mailinglisten)
8.0.26 > -Ursprüngliche Nachricht- > Von: Mark Thomas [mailto:ma...@apache.org] > Gesendet: Montag, 18. Juli 2016 13:37 > An: Tomcat Users List <users@tomcat.apache.org> > Betreff: Re: SocketTimeoutException in CoyoteInputStream > > On 18 July 2016 1

SocketTimeoutException in CoyoteInputStream

2016-07-18 Thread Steffen Heil (Mailinglisten)
Hi I am getting the following exception: 2016-07-18 07:46:52.667 /http/httpmodule WARN null - error during upload | java.net.SocketTimeoutException | at org.apache.tomcat.util.net.NioBlockingSelector.read(NioBlockingSelector.java:202) | at

AW: Memory Leak

2016-06-29 Thread Steffen Heil (Mailinglisten)
Hi > > Here, the log. I am quite sure how to go about troubleshooting it. > > Any help is greatly appreciated. > The application has a memory leak. You need to get it fixed. > > catalina.out.prob:SEVERE: The web application [] appears to have > > started a thread named > >

NPE in tomcat because of WebSocket API and Lambdas

2016-06-27 Thread Steffen Heil (Mailinglisten)
Hi I just got the following NPE in tomcat: java.lang.NullPointerException at org.apache.tomcat.websocket.Util.getGenericType(Util.java:217) at org.apache.tomcat.websocket.Util.getMessageType(Util.java:171) at

AW: AW: AW: AW: How to cancel download on the server side

2016-06-06 Thread Steffen Heil (Mailinglisten)
Hi > It is a dirty Tomcat specific trick that will only work as long as the code > is the way it is but if you throw a ClientAbortException wrapped > in a ServletException you shouldn't see that log message. Thanks a lot, this was just what I was looking for. Regards, Steffen

AW: AW: AW: How to cancel download on the server side

2016-06-03 Thread Steffen Heil (Mailinglisten)
Hi > throw new ServletException(); That was the difference. I threw a IllegalStateException(), so tomcat sent "0\r\n". I changed my code to throw a ServletException() and now it works. Thanks for that. One very little thing left: Is there a way to suppress the logged exception: Jun 03, 2016

AW: AW: How to cancel download on the server side

2016-06-03 Thread Steffen Heil (Mailinglisten)
Hi > > Yes, we thought about that. However it still leaves the problem of a > > lot of storage on the server that is used for no reason and increasing > > the time to download the backup.. > So it's better to buffer the huge download in memory instead of on the disk? > Maybe I don't understand

AW: AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
> > That's another story. > > I tried that. And the internet explorer as well as curl report an error, if > > the download stops without the ending 0\r\n. > > > > But I had to set "Connection: close" and "Transfer-Encoding: chunked" > > myself and encode the chunk headers myself. > > If I leave

AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
Hi > I believe that, while the HTTP specification supports what you want to do, > neither servers nor clients support it. For example, you can > use "trailers" (headers end the end of the response) to tell the client what > happened, but I suspect that no client will actually read > them or

AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
Hi > We had a similar problem. We just added a "preparation" step before the > actual download. > > 1. User clicks on "request download" link 2. jQuery sends a request to > servlet and instructs it to prepare the download 3. Meanwhile > the request download link has been changed with

How to cancel download on the server side

2016-05-29 Thread Steffen Heil (Mailinglisten)
Hi I am streaming a huge file from a servlet to the browser. It can easily be multiple gigabytes. Currently the data is prepared on the server, stored in a file and then sent to the client with a "Content-Disposition: attachment" header, so the browser handles it as a download. After the

AW: AW: WebSocket asynchronous reads

2015-09-06 Thread Steffen Heil (Mailinglisten)
Hi > > Which means I have to either buffer all incoming messages until I am > > ready to process them (might occupy lots of memory) or I have to drop > > them. Both is not really ideal. > I'm largely ignorant of the asynchronous world, but I do have a question > about what you're asking. Are

AW: Connection resets without timeout

2015-08-27 Thread Steffen Heil (Mailinglisten)
terminator) or by closing the connection (inbound only) after the data. However, even if the inbound connection is closed, the response should still be sent to the client, so in that case the client even expects some answer after he sent FIN... -Ursprüngliche Nachricht- Von: Steffen Heil

AW: WebSocket asynchronous reads

2015-08-26 Thread Steffen Heil (Mailinglisten)
Hi Is there a way to tell tomcat to stop receiving data for a certain websocket? (Not to close it, but not to read from inputstream for some time.) Sorry, no. The best you can do is a no-op branch in the message handler. Which means I have to either buffer all incoming messages until I

AW: AW: Asynchronous writes (Servlet and WebSocket)

2015-08-26 Thread Steffen Heil (Mailinglisten)
Hi The equivalent code for NIO is in org.apache.coyote.http11.InternalNioOutputBuffer Thanks for the reference. I took a short look at it. As soon as I have a little time left, I will analyze it in more depth, as I am very interested in NIO... For now the assertion that write are indeed

AW: Exception using Async Servlet

2015-08-26 Thread Steffen Heil (Mailinglisten)
Hi Make sure you are using the latest 8.0.26 release. There have been some fixes around async dispatch. If you still see the issue then we'll need a test case (as simple as possible) that reproduces the issue for us to investigate. I just upgraded to 8.0.26. But I see the same exception

AW: Exception using Async Servlet

2015-08-26 Thread Steffen Heil (Mailinglisten)
a lot of guessing about the interactions between the 3 different callbacks. Is there any documentation on how they interact? Regards, Steffen -Ursprüngliche Nachricht- Von: Steffen Heil (Mailinglisten) [mailto:li...@steffen-heil.de] Gesendet: Mittwoch, 26. August 2015 10:04

WebSocket asynchronous reads

2015-08-26 Thread Steffen Heil (Mailinglisten)
Hi Is there a way to tell tomcat to stop receiving data for a certain websocket? (Not to close it, but not to read from inputstream for some time.) Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

Connection resets without timeout

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi When using async servlets with timeout set to 0, tomcat seems not to detect, if the client closes the connection. At least the servlet listener is not notified. I expected AsyncListener.onComplete or AsyncListener.onError or AsyncListener.onTimeout, but none of these are called. The only

Exception using Async Servlet

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi I am using servlets with startAsync to be able to read and write asynchronously. However from time to time the following is logged: Aug 25, 2015 5:52:32 PM org.apache.catalina.connector.CoyoteAdapter asyncDispatch SCHWERWIEGEND: Exception while processing an asynchronous request

AW: Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi Thanks for assuring me, that it really is asynchronous. That was a blocker for us. archive? I'm guessing you mean achieve. Yes, I did. Sorry, not a native English speaker... No, it will buffer it all in the SocketWrapper. You won't get another notification until the buffered data

Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi I am investigating, how I can archive asynchronous writes with tomcat. For servlets I came up with code like this: final AsyncContext context = request.startAsync(); final ServletInputStream input = request.getInputStream(); final ServletOutputStream output =

URI Templates

2015-08-20 Thread Steffen Heil (Mailinglisten)
Hi I have several servlets with mappings such as /a/* /b/* /c/* And so on. One of these mappings was for the old Tomcat 7.0.27 websocket implementation: /ws/* That worked. Now, with the new JSR version in Tomcat 8, I cannot get this to work. The problem is, that all of the following

Forcing SSL Renotiation

2015-06-26 Thread Steffen Heil (Mailinglisten)
Hi My tomcat installation offers pages through https only. So when accessing these pages, an ssl connection is established. Later on, a user may decide to log in, hence hitting a page, that requires client certificates, and the browser pops up a selection dialog for a certificate. Once

How to configure a TrustManager in code?

2015-05-26 Thread Steffen Heil (Mailinglisten)
Hi I am creating several components for my web application in java code instead of the xml files. For this I am using a privileged servlet that (besides other things) creates a Connector and a Realm. That's working fine. As I can do context.setRealm(...) I can use a Realm that is loaded in

AW: Choosing provider to load pkcs12 keystore for ssl

2014-06-16 Thread Steffen Heil (Mailinglisten)
Hi Okay, I must have overlooked the keystoreProvider attribute completely. Sorry for that and thanks a lot for the hint. However that only solved the loading part of the problem. The certificate is still unusable. When I try to connect, the browser reports an error. I set javax.net.debug=all

Choosing provider to load pkcs12 keystore for ssl

2014-06-14 Thread Steffen Heil (Mailinglisten)
Hi I am using tomcat with the NIO connector, so I load the ssl certificate and private key from a keystore in pkcs12 format. This works fine using RSA. Now I want to switch to a certificate using ECC and that EC is not supported by the JRE. It IS however supported by bouncycastle. In my own

AW: Adding Connectors

2013-03-21 Thread Steffen Heil (Mailinglisten)
Hi I think this should be discussed on the users' list. I'm cross-posting this message one time for that purpose. See below. Sorry, as I assumed that in a state where tomcat does not start connectors defined in server.xml it should also not start other connectors, I regarded this as a bug.

Small bug in Tomcat and interest in wildcard patch

2013-03-02 Thread Steffen Heil (Mailinglisten)
Hi I looked into the source of tomcat 7 (7.0.x trunk) to extend it to support wildcard aliases (such as *.example.com). I found the class org.apache.tomcat.util.http.mapper.Mapper. Looking at it, I found a small bug (lines 210-213): if (pos 0) { log.error(No host found: +

Connector with wrong protocol

2013-02-24 Thread Steffen Heil (Mailinglisten)
Hi I need to start and stop a connector inside a servlet. That works with the following code: final org.apache.catalina.connector.Connector nioConnector = new org.apache.catalina.connector.Connector( org.apache.coyote.http11.Http11NioProtocol );

How to do a clean connector shut down?

2013-02-24 Thread Steffen Heil (Mailinglisten)
Sorry, I already posted this question with the wrong subject. (I started the mail earlier, when I had another problem...) Hi I need to start and stop a connector inside a servlet. That works with the following code: final

Configure connectors while running tomcat from webapp

2013-01-22 Thread Steffen Heil (Mailinglisten)
Hi Currently I need to find a way to replace the ssl certificate used by a (nio) connector at runtime. It also needs to be done by the (only) webapp. Is there a way to do this? Soon we will need a way to change the ip address a connector is listening on. Both could be solved by removing a

NullPointerException in NioBlockingSelector - not a problem though

2012-12-12 Thread Steffen Heil (Mailinglisten)
Hi I cannot reproduce it, but I've seen the following error in my logs a few times now: SEVERE: Error reading request, ignored java.lang.NullPointerException at org.apache.tomcat.util.net.NioBlockingSelector.read(NioBlockingSelector.java :193) at

AW: Accidentally remove catalina.out file

2012-11-29 Thread Steffen Heil (Mailinglisten)
Hi What should happen when catalina.out is deleted? Please, I need to resolve this question. So far as I know it's just a logfile and all that happens is that you lost the log output. The file should be created on the next start of the server. Even when the server is running and the

AW: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Steffen Heil (Mailinglisten)
Hi See if this fixes if for you: http://people.apache.org/~markt/dev/tomcat-7/v7.0.33-r1397089/apache- tomcat-7.0.33-r1397089.tar.gz Preliminary tests look promising. Everything worked (using a few single click tests so far). Thanks! This is not an official release. Use it at your own

WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi We have a web application that makes more and more use of websockets. (In fact we emulate websockets with comet servlets for older browsers and want to use real websockets for current ones.) We implemented our websocket support using tomcat 7.0.30 and a servlet extending

AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi Check to see if the WebSocket examples that ship with Tomcat work with your configuration. If they don't compare the differences between the default configuration and you configuration to and find the change that breaks stuff. First, thanks for the reply. I downloaded tomcat 7.0.32

AW: AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to switch to BIO for now? And does Comet work with BIO? Regards, Steffen smime.p7s Description:

Sending through WebSockets

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi I have a server with several websocket connections. (Or at least I will have at some time, see thread about ssl problems...) Now just as in the chat example, I need to send some data from time to time so some (but not neccessarily all) of those connections. Now, what happens if one of the

AW: How to cancel upload?

2011-08-21 Thread Steffen Heil (Mailinglisten)
Hi Short question: How can I prevent tomcat to receive the complete post data? Stop sending the data before it's all been sent. Sorry, I don't understand what you mean. If you mean to send only small parts and only those that are wanted, that's nothing I can do. I need to support the

AW: AW: How to cancel upload?

2011-08-21 Thread Steffen Heil (Mailinglisten)
Hi Actually, I'm not entirely correct and I am now remembering this has been discussed before on either this list or the tomcat-dev list. Do you remember anything else about that thread? Something that might help me find it... ? Are you throwing an exception, or closing the inputstream? I

How to cancel upload?

2011-08-19 Thread Steffen Heil (Mailinglisten)
Hi Short question: How can I prevent tomcat to receive the complete post data? Long question: I have a servlet that uses apache commons fileupload to process incoming uploads using the streaming api. Short version of the code: InputStream inputStream; try { ServletFileUpload upload =

AW: Is it possible to configure 2 SSL connectors on one Tomcat instance?

2011-03-08 Thread Steffen Heil
Hi If you have only 1 ip address then you might have a problem. The problem with name based virtual hosts under https/ssl is that ssl handshake (which involves server sending a certificate for some domain) happens after tcp/ip connection is established - before the HOST part of the http

AW: Several hosts within one tomcat / catch-all problem

2010-11-24 Thread Steffen Heil
Hi Perhaps I don't understand, but I agree with Pid's suggestion: just use defaultHost -- that's what it's for, right? Yes, if you have only one. However we have the following setup: App1: domain1.tld, www.domain1.tld App2: domain2.tld, www.domain2.tld, additional.domain2.tld App3:

Several hosts within one tomcat / catch-all problem

2010-11-19 Thread Steffen Heil
Hi We have a web application which usually runs on a certain host all alone - it is the only context for that host. However, it allows to use different hostnames and therefore we use aliases in our server.xml per host. Now more and more users of those application want to use more subdomains and

OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi I am sorry, I am asking something not really related to tomcat here. While this may sound like a beginners question, I think I really what I am doing in java, but this time I suspect I have found a scenario where the sun/oracle VM exposes a bug with pure String handling. So anyone who can

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
could be of any help solving this mystery, I will provide any information needed. Regards, Steffen On Mon, Aug 30, 2010 at 3:38 PM, Steffen Heil li...@steffen-heil.de wrote: Hi I am sorry, I am asking something not really related to tomcat here. While this may sound like a beginners

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06 and b07. java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) So I should update, right?

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi From your original post The exception is only thrown under 64bit Linux Server-VM, within tomcat. It is neither thrown under 64bit Windows, nor on the very same Linux VM as standalone testcase, nor when a debugger is remotely attached. Sounds like you're saying it only happens within

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
: Steffen Heil [mailto:li...@steffen-heil.de] Gesendet: Dienstag, 31. August 2010 01:46 An: 'Tomcat Users List' Betreff: AW: OFFTOPIC: Java String problem - possible VM bug Hi Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06 and b07. java version

AW: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Steffen Heil
Hi You're right, it doesn't, at least on Windows. Just verified that: r...@www:/opt/java/jdk1.6.0_21# ./bin/java -server -version java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

AW: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-06-04 Thread Steffen Heil
Hi I just read that reply and noticed that I have the same fault in my code. How can I measure the length of the utf8-Encoding? The only way I can think of is to convert the String to byte[] and the take its length. However at that point it does not make any sense to use a writer, it would be

AW: md5

2010-05-06 Thread Steffen Heil
You are using the wrong util (at least in a wrong way). md5 -s apache-tomcat-6.0.26.zip MD5 (apache-tomcat-6.0.26.zip) = d0892b5662287d18c06b167c4bba249d This command seems to hash the argument instead of the file. This IS the hash of the string. Try md5sum apache-tomcat-6.0.26.zip Regards,

AW: Would like to extract every request to servelt except index.html

2010-04-03 Thread Steffen Heil
Hi Assuming you need to redirect everything except /index.html, then the following will probably work: servlet-mapping servlet-namedefault/servlet-name url-pattern/index.html/url-pattern /servlet-mapping servlet-mapping

AW: AW: Virtualization (Xen, vmware) + Tomcat

2010-03-31 Thread Steffen Heil
Hi Looks fine, no direct pointers... Only one strange thing: root 13234 0.1 2.5 4484708 412636 pts/0 Sl Mar30 1:12 /usr/local/jdk/bin/java -Djava.util.logging.config.file=/usr/local/jakarta/tomcat/conf/logging.prope rties

AW: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Steffen Heil
Hi Can you post: - `uname -a` inside both your dom0 as well as your domU - the config file for your domU - `ps aux | grep java` inside your domU - `free` inside your domU - `xm list` inside your dom0 Maybe there will be hints to help you. I am running lots of tomcats in domUs (actually all

AW: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Steffen Heil
And maybe `xm info` in the dom0. -Ursprüngliche Nachricht- Von: Steffen Heil [mailto:li...@steffen-heil.de] Gesendet: Mittwoch, 31. März 2010 00:12 An: 'Tomcat Users List' Betreff: AW: Virtualization (Xen, vmware) + Tomcat Hi Can you post: - `uname -a` inside both your dom0 as well

AW: AW: Shutdown hook for correctly unloading drivers

2010-03-29 Thread Steffen Heil
Hi I am thinking about a strategy to iterate over all running threads and interrupt (and if absolutely necessary stop) all threads started by a certain classloader (not sure if it is possible, but I suspect so - might require instrumention though.) Tomcat can already do this. Great.

AW: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Steffen Heil
Hi How does tomcat unload classes? It doesn't, at least not directly. Tomcat simply eliminates all references to the classes; the actual unloading is done by GC at some point in the future. Is there even a way in java to do this? Just the above. But making the classes unreachable should

AW: Shutdown hook for correctly unloading drivers

2010-03-28 Thread Steffen Heil
instrumention though.) Regards, Steffen -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Sonntag, 28. März 2010 16:39 An: Tomcat Users List Betreff: RE: Shutdown hook for correctly unloading drivers From: Steffen Heil [mailto:li

AW: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Steffen Heil
Hi I would like to know, if there is a shutdown-hook for Tomcat available. Or what the prefered way is, to correctly unload drivers like JDBC drivers. Tomcat has unloaded the driver. That won't be causing your memory leak. How does tomcat unload classes? Some (especially some pool

AW: Why is tomcat taking so long to start?

2010-03-26 Thread Steffen Heil
While this may be an unsupported version of Tomcat, version support is not an issue for us here. Support is not an issue for you, still you are asking for support? smime.p7s Description: S/MIME cryptographic signature

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-26 Thread Steffen Heil
That's another discussion, but it could really make sense, if you use a connector bound to a non-public interface (or even localhost) just for administration. Which is what the RemoteAddrValve is for. Yes, I know. Still some people might prefer complete separation (instead of hiding) and

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Steffen Heil
Hi As Pid pointed out, this doesn't work: the scope of the manager webapp is the Host it's deployed under. I didn't realize that part of his last line... The whole idea smacks of security through obscurity - which means you've accomplished nothing. That's another discussion, but it could

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Steffen Heil
Hi Is it possible to set the port for tomcat manager to 8080 and root port 80??? Yes. You need to define TWO service / nodes, each with its own connector / (using different ports) an its own engine /, each with its own host /, one with the manager as context /, one with the other web

Tomcat 7

2010-03-19 Thread Steffen Heil
Hi I know (from this list) that there is work going on for tomcat7. However it is not even listed on the homepage as alpha/beta. Can someone comment on the status of development for tomcat 7 and some propable timeframe (in years or months) for a beta or stable version? Note: I don't expect

AW: Comet Request identification

2010-03-16 Thread Steffen Heil
Hi I am using a ConcurrentHashMap on event.getHttpServletRequest() and this works quite well. - I am not sure, if this is by occasion or by design though. Regards, Steffen -Ursprüngliche Nachricht- Von: Animesh Sonkar [mailto:akson...@gmail.com] Gesendet: Montag, 15. März 2010 15:30

AW: Multiple SSL certificates on same server

2010-03-10 Thread Steffen Heil
Hi I'm not using XP, but a Unix server OS, and my domains are radically different - so the wildcard cert won't work either. sigh This is not about the OS the tomcat is running on, but about the OS the client browser is using... There are certificates with multiple names (even radically

AW: tomcat memory usage

2010-01-27 Thread Steffen Heil
Hi So, static members are stored outside the heap? Where are they stored? PermGen? For sure, no. ALL persistent java objects are on the heap. With optimization some very short living objects may reside on the stack only. References to static objects ARE probably stored in PermGen, but the

AW: Comet Connection Writeable?

2010-01-22 Thread Steffen Heil
to write sample applications against this, it turned out to be very complex programming. You can check out that branch and build it and see if its something we should still pursue Filip On 01/18/2010 09:06 AM, Steffen Heil wrote: Hi I am using comet connections for some time now in a server

Comet Connection Writeable?

2010-01-18 Thread Steffen Heil
Hi I am using comet connections for some time now in a server push manner: Whenever the server needs to inform the client about some event, it sends a packet to the client and waits for a reply in the same connection. As soon, as a READ event is triggered, that reply is read and the next message

SSL Client Certificates and web appliactions

2008-10-20 Thread Steffen Heil
Hi I need to setup tomcat to use https certificates for client authentication. Does anyone have a working example for this? Which certificates does tomcat accept in that case? Which way can be used by the appliaction to detect which certificate was used? Regards, Steffen

Embedded Tomcat again

2008-10-20 Thread Steffen Heil
Hi Once a year I spend some days trying to figure out, how to used embedded tomcat. I didn't find a working (real live) example so far. Can anyone help? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

AW: XP/Vista/Office 2007/IE Compatibility Question

2008-09-30 Thread Steffen Heil
Hi Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office 2000 to Office 2007. They have installed on, I'm not sure how many, some computers Apache Tomcat, version 5.5. Please answer the following questions at

AW: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-09-30 Thread Steffen Heil
Hi The method yielding the problem is the following one: private static PageLifecycleFactory getDefaultInstance() { if (defaultInstance == null) { defaultInstance = new DefaultStrutsPageLifecycleFactory(); } return defaultInstance; } Make

RE: Blocking threads in Tomcat

2008-07-01 Thread Steffen Heil
Hi If you are on linux, do the following: killall -3 java Then look into catalina.out. It will print all stack traces, including monitors being hold and waited for. Regards, Steffen -Original Message- From: Fredrik Tolf [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01,

RE: tomcat embedded

2008-04-20 Thread Steffen Heil
Hi Sorry to ask again, but this is a common feature that I cannot find any documentation for... I think the answer is google like hell, that what we ended up doing a long while ago... Its not that no one uses it, its everywhere... like inside every application server out there. But

RE: tomcat embedded

2008-04-18 Thread Steffen Heil
Hi Sorry to ask again, but this is a common feature that I cannot find any documentation for... Is there really no documentation for tomcat embedded nor anyone who uses it? Regards, Steffen -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15

tomcat embedded

2008-04-15 Thread Steffen Heil
Hi I am searching for some documentation about tomcat embedded. I am trying to convert a very simple setup (configuration below) to java code, not using any xml file. Any link, hint, etc. would be helpful. Could someone give me a hint? Regards, Steffen === server.xml

RE: Top mail servers

2008-03-31 Thread Steffen Heil
Hi I would suggest investigating several different MUAs and deciding which one best balances the capability you need with the pain of configuring it. Properly setting up an MUA, *any* MUA, is not simple. I agree with this, if you replace MUA with MTA... However, my personal preference

Comet-Client

2008-03-25 Thread Steffen Heil
Hi I am searching for comet clients for java, perl and C. (I know, this is basically the wrong list, but I expect to find people here who had the same problem and maybe solutions...) In Java HTTPClient, which is my favorite http client for java doesn't seem to support tranfer-encoding: chunked

RE: mod_jk malfunction?

2007-02-23 Thread Steffen Heil
Hi This symptom occured only after their host suspended their account ... They propably changed the configuration thatfor. Are they sure, the configuration is the same again? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

RE: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread Steffen Heil
Hi That's the way You should go: http://www.linux.org.mt/article/tomcat-ports I totally disagree. First, it would surely be best to update to 6.0 and run it using jsvc However, let's look at the solution in the link above. 1. The Apache solution. (Which should be called the httpd

RE: Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat freezes at a high level of workload

2006-11-29 Thread Steffen Heil
Hi First, 5.5.9 is definitly outdated. Update. [This might help.] Second, if tomcat is not reaction to kill -9, then it's you VM or even the OS that has a problem. Javacode can never to anything against kill -9, which is only handled by the OS. [This is only about symptoms.] Regards, Steffen

RE: tomcat memory usage.

2006-11-21 Thread Steffen Heil
Hi Description : right after system(tomcat) is started, the top command show that tomcat process will use 210M memory, the heap size (using Jprofiler) is 58m/20m(total/used). there is a 150M gap between total process memory size and java heap size. There needs to be some memory for the

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-14 Thread Steffen Heil
Hi I downloaded Wireshark and I think you are absolutely right. The packets are not even reaching my machine in this situation. Something in between is stopping them. So this is not a Tomcat question at all. Can you offer me any suggestions as to how I can track down the problem? My

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Steffen Heil
Hi The URL of my servlet is http://www.noveleditions.com/gaaradio/servlet/GAARadioServlet. My servlet does read from the input stream of the http servet request, and doesn't use FileUploadBase directly. The servlet lives in a webapp directory called gaaradio. The servlet mapping is set

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Steffen Heil
Hi Apparently the reason Apache rejects this request is that there is a Content Length check for -1 in the FileUploadBase class. BTW, this makes me think about your setup. Do you have apache in front of tomcat? Then try tomcat standalone first. Regards, Steffen smime.p7s Description:

RE: Is Tomcat a good solution for me?

2006-11-07 Thread Steffen Heil
Hi I currently have PWS running in '98se with ASP pages. I don't expect to expand the web pages. These two sentences make me think the following: PWS is basically nothing different than IIS, but compiled for Windows 98. As Windows XP comes with IIS this is propably the best chiose for you.

RE: catalina.sh == artifact

2006-11-06 Thread Steffen Heil
Hi Sorry, but 5 answers of the kind RTFM are simply not nice. It's just a sentence, so here it goes: If you use java -Djava.security.manager -Djava.security.policy==someURL SomeApp (note the double equals) then just the specified policy file will be used; all the ones indicated in the

RE: placing context.xml in META-INF works?

2006-10-19 Thread Steffen Heil
Hi 2) User places our clean database file in the recommended location on the server machine. i.e c\databse\ourfile.gdb A off-topic side note on this: The c and the backslashes suggest you are using windows. The gdb extension suggest you are using firebird or interbase. My recommendation:

RE: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread Steffen Heil
) Sorry and regard, Steffen -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Saturday, September 23, 2006 3:27 AM To: 'Tomcat Users List' Subject: Tomcat 5.5.17 has max 40 KB / sec Hi I use tomcat 5.5.17 and want to upload files. As this was *very* slow

Tomcat 5.5.17 has max 40 KB / sec

2006-09-22 Thread Steffen Heil
Hi I use tomcat 5.5.17 and want to upload files. As this was *very* slow in some cases, I wrote a benchmark servlet. Code is below. I get the following statistics: 1. Running server on debian linux it accepts about 8.5 MB / sec. (Could slowed down by VM overhead.) 2. Running server on windows xp