Re: NIO connecter does not work after startup normally

2010-11-08 Thread Ben Xiong
?I changed the call to req.startAsync() then it seems working. But why's that? what happend in req.startAsync(req, res) which does not happen in req.startAsync() ? Thank you. -Original Message- From: jie tang Sent: Tuesday, November 09, 2010 2:40 PM To: Tomcat Users List Subject: Re:

Re: NIO connecter does not work after startup normally

2010-11-08 Thread jie tang
You recursively invoke startAsync unlimitedly. 2010/11/9 Ben Xiong > ?Another case: > > Web.xml > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web=" > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > xsi:schemaLocation="http://java.su

Re: NIO connecter does not work after startup normally

2010-11-08 Thread Ben Xiong
?Another case: Web.xml http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; id="W

Re: NIO connecter does not work after startup normally

2010-11-08 Thread Ben Xiong
?JDK 1.6 update 22. Tomcat 7.0.4. Windows 7 Ultimate 64. I have downloaded the native lib and therefore the nio connecter info seems correct. Anything else missing? Thank you. -Original Message- From: Caldarale, Charles R Sent: Tuesday, November 09, 2010 2:12 PM To: Tomcat Users List

RE: NIO connecter does not work after startup normally

2010-11-08 Thread Caldarale, Charles R
> From: Ben Xiong [mailto:xpsl...@gmail.com] > Subject: NIO connecter does not work after startup normally > Anyone can help? Not unless you tell us the version of Tomcat, the JVM, and the platform you're running on. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPR

NIO connecter does not work after startup normally

2010-11-08 Thread Ben Xiong
?Hi there, First here is the output of the startup: Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory

RE: Absence of isapi_redirect log file

2010-11-08 Thread George Sexton
Oops. Cut and pasted out of my manual. Substitute web app. George Sexton MH Software, Inc. 303 438-9585 www.mhsoftware.com > -Original Message- > From: Nick Beare [mailto:nickbearetom...@gmail.com] > Sent: Monday, November 08, 2010 9:15 AM > To: Tomcat Users List > Subject: Re: Absence o

Re: Absence of isapi_redirect log file

2010-11-08 Thread kellyj994
Nick Beare-2 wrote: > > Hi > > I have successfully installed several JK redirect systems on various > platforms (all windows based), linking IIS to JBoss(Tomcat) via AJP. > (Always version 30 of the dll) > Most recently, an NLB IIS cluster on twin windows 2003 R2 32 bit servers. > > I have nev

Re: Tomcat as Windows service - I can't set more than 768 Mb of memory

2010-11-08 Thread Konstantin Kolinko
2010/11/9 icarrara : > > because with values great than 768 the service don't starts. > Discussed about a month ago: http://markmail.org/thread/xwpedx67fjpdeczt - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: Tomcat as Windows service - I can't set more than 768 Mb of memory

2010-11-08 Thread Rainer Jung
On 08.11.2010 22:34, icarrara wrote: I manually installed Tomcat 6.0.29 on Windows Server 2003 R2 and all was fine. Then I use the "service install Alfresco" command to install Tomcat as Windows service. Using the "tomcat6w //ES//Alfresco" command I'll set up the "-XX:MaxPermSize=256m" in the

Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Rainer Jung
On 08.11.2010 14:46, Anthony Tuffour wrote: Hi all, I managed to setup IIS ISAPI redirect successfully to feed a Geoserver wms to IIS web application. I used the configuration guide below to do the set up; http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html http://tomcat.apache.

Tomcat as Windows service - I can't set more than 768 Mb of memory

2010-11-08 Thread icarrara
I manually installed Tomcat 6.0.29 on Windows Server 2003 R2 and all was fine. Then I use the "service install Alfresco" command to install Tomcat as Windows service. Using the "tomcat6w //ES//Alfresco" command I'll set up the "-XX:MaxPermSize=256m" in the Java Options and 1024 in the Initial an

Re: Absence of isapi_redirect log file

2010-11-08 Thread Nick Beare
Hi George, Not sure what you mean by 'calendar'. If I right click on my website>properties>'Home Directory' tab I observe that the Application Pool is set to 'DefaultAppPool'. I then right click on 'DefaultAppPool' under the 'Application Pools' node>Properties>'Identity Tab'. This shows the securi

RE: Absence of isapi_redirect log file

2010-11-08 Thread Anthony Tuffour
Hi all, Thanks very much all for your feedback. The website is working again. As suggested by George, I checked the application pool being used by the virtual host and the identity used and set the same application pool for Jakarta virtual directory and my application virtual directory. However,

RE: Tomcat 4 question - is this a known bug and if so which version is it fixed in?

2010-11-08 Thread Caldarale, Charles R
> From: Alan Williams [mailto:alan.willi...@3i-infotech.eu] > Subject: Tomcat 4 question - is this a known bug and if so which version is > it fixed in? > Tomcat 4.1 Not supported. > Java 1.5.0 Not supported (at least not by Oracle). Just a warning that you might not get any substantive answ

Re: servlet-mapping order?

2010-11-08 Thread Pid
On 08/11/2010 15:06, Ronald Klop wrote: > Hi, > > I have a couple of servlets and the mapping in web.xml is like this: > > >EntityServlet >/servlets/* > > > >RRDStatsServlet >/servlets/rrdstats > > > On startup EntityServlet sometimes complains th

servlet-mapping order?

2010-11-08 Thread Ronald Klop
Hi, I have a couple of servlets and the mapping in web.xml is like this: EntityServlet /servlets/* RRDStatsServlet /servlets/rrdstats On startup EntityServlet sometimes complains that is does not know anything about path /servlets/rrdstats. This is

Tomcat 4 question - is this a known bug and if so which version is it fixed in?

2010-11-08 Thread Alan Williams
We have been having occasional content-length mismatch errors which we now suspect may be linked to Tomcat 4 or the mod_jk connector. I am trying to find out if this is a known problem and if so which version of Tomcat and/or mod_jk we need to upgrade too. I have been looking through th

RE: Absence of isapi_redirect log file

2010-11-08 Thread George Sexton
Every time I have ever seen this problem, it's a permissions problem. Verify the user your app pool is running as has permissions. Don't make assumptions about what user your app pool is running as. 1. Open Windows Internet Information Services Manager and right click on the virtual host (or de

Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Nick Beare
Anthony One further thought for your problem. By default the redirector uses port 8009 for redirecting using AJP protocol. Has something else on your server started using that port? Or have you inadvertently removed/disabled the setting in your server.xml file On Mon, Nov 8, 2010 at 1:46 PM, Ant

Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Nick Beare
I have managed to get several installations working (although none are actually live - all are proof of concept installs). Perhaps you could paste your mapping file and worker properties file into an email to the user list so I can take a look. Looking more closely at your log file, it hints that

RE: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Anthony Tuffour
Nick, Thanks for the quick response. IIS service is running on the server and is on the same server as the Apache Tomcat 6.0. There are other websites running in IIS on the same server and they are working correctly without any errors. Initially nothing was logged into ISAPI redirect log. It was

Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Nick Beare
Hi Anthony, Is IIS service running on your server? If so, can you see the the default/home/index.html page on your IIS site. I have set up an index.html on mine so I can navigate there to check IIS operating correctly before setting up/checking out the redirect link. Have you checked your Event lo

HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector

2010-11-08 Thread Anthony Tuffour
Hi all, I managed to setup IIS ISAPI redirect successfully to feed a Geoserver wms to IIS web application. I used the configuration guide below to do the set up; http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html http://tomcat.apache.org/connectors-doc/reference/iis.html http://

RE: Malicious host is crashing my server

2010-11-08 Thread Martin Gainty
wireshark culprits can bypass your filter this by changing ips much better to: 1)encrypt your data BEFORE you put it on the wire http://www.mobilefish.com/developer/bouncycastle/bouncycastle.html 2)Implement SSL on Tomcat http://mircwiki.rsna.org/index.php?title=Configuring_Tomcat_to_Support_SSL

Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Tim Funk
An enhancement bug has been entered for those with the itch. It appears the existing JspC task still writes out 2.3 when it writes a new web.xml. https://issues.apache.org/bugzilla/show_bug.cgi?id=50234 -Tim On 11/8/2010 5:45 AM, Ronald Klop wrote: +1 Precompiled jsp's with annotations in a

Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Ronald Klop
+1 Precompiled jsp's with annotations in a jar. Op vrijdag, 5 november 2010 21:07 schreef Pid : On 05/11/2010 15:06, Christopher Schultz wrote: > Chuck, > > On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject

Absence of isapi_redirect log file

2010-11-08 Thread Nick Beare
Hi I have successfully installed several JK redirect systems on various platforms (all windows based), linking IIS to JBoss(Tomcat) via AJP. (Always version 30 of the dll) Most recently, an NLB IIS cluster on twin windows 2003 R2 32 bit servers. I have never managed to get any output to the isapi

Re: Malicious host is crashing my server

2010-11-08 Thread Ronald Klop
Use ngrep, tcpdump or wireshark to look at what he/she is requesting. If it is SQL injection you should rewrite your query's to use PreparedStatements. Ronald. Op zondag, 7 november 2010 18:31 schreef Assaf : Hi, It might be. But I am not sure how to find out more. Any suggestions? Assa

Re: Malicious host is crashing my server

2010-11-08 Thread Assaf
DumpFilter is a good idea. For the time being we have decided to just block the ip address. If it comes again from a different IP, I guess we will need to further examine! Thanks for all the good ideas Assaf - Original Message From: David Fisher To: Tomcat Users List Cc: Tomcat Use