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: NIO connecter does not work after startup normally

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.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
  id="WebApp_ID" version="3.0">
  TomcatComet
  
  s3
  comet.Servlet3
  true
  
  
  s3
  /s3
  


comet.Servlet3 source code:

package comet;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Servlet3 extends HttpServlet {

  public void doGet(HttpServletRequest req, HttpServletResponse res) {
  req.startAsync(req, res);
  System.out.println("=Finally, it works!
");
  }
}

Server startup log:

INFO: SessionListener: contextInitialized()
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
deployDirectory

INFO: Deploying web application directory host-manager
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
deployDirectory

INFO: Deploying web application directory manager
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
deployDirectory

INFO: Deploying web application directory ROOT
Nov 9, 2010 2:24:13 PM org.apache.coyote.http11.Http11NioProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 9, 2010 2:24:14 PM org.apache.coyote.ajp.AjpAprProtocol start

INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 9, 2010 2:24:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1586 ms

URL: http://localhost:8080/TomcatComet/s3

Exception:

INFO: Server startup in 1586 ms
Nov 9, 2010 2:24:50 PM
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run
SEVERE:
java.lang.StackOverflowError
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  at
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
  ..

Same Win 7 64 bit, native connecter, tomcat 7.0.4, :(





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
>   id="WebApp_ID" version="3.0">
>   TomcatComet
>   
>   s3
>   comet.Servlet3
>   true
>   
>   
>   s3
>   /s3
>   
> 
>
> comet.Servlet3 source code:
>
> package comet;
>
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> public class Servlet3 extends HttpServlet {
>
>   public void doGet(HttpServletRequest req, HttpServletResponse res) {
>   req.startAsync(req, res);
>   System.out.println("=Finally, it works!
> ");
>   }
> }
>
> Server startup log:
>
> INFO: SessionListener: contextInitialized()
> Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>
> INFO: Deploying web application directory host-manager
> Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>
> INFO: Deploying web application directory manager
> Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig
> deployDirectory
>
> INFO: Deploying web application directory ROOT
> Nov 9, 2010 2:24:13 PM org.apache.coyote.http11.Http11NioProtocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Nov 9, 2010 2:24:14 PM org.apache.coyote.ajp.AjpAprProtocol start
>
> INFO: Starting Coyote AJP/1.3 on ajp-8009
> Nov 9, 2010 2:24:14 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 1586 ms
>
> URL: http://localhost:8080/TomcatComet/s3
>
> Exception:
>
> INFO: Server startup in 1586 ms
> Nov 9, 2010 2:24:50 PM
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run
> SEVERE:
> java.lang.StackOverflowError
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   at
> org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
>   ..
>
> Same Win 7 64 bit, native connecter, tomcat 7.0.4, :(
>
>


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="WebApp_ID" version="3.0">
   TomcatComet
   
   s3
   comet.Servlet3
   true
   
   
   s3
   /s3
   


comet.Servlet3 source code:

package comet;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Servlet3 extends HttpServlet {

   public void doGet(HttpServletRequest req, HttpServletResponse res) {
   req.startAsync(req, res);
   System.out.println("=Finally, it works! 
");

   }
}

Server startup log:

INFO: SessionListener: contextInitialized()
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig 
deployDirectory

INFO: Deploying web application directory host-manager
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig 
deployDirectory

INFO: Deploying web application directory manager
Nov 9, 2010 2:24:13 PM org.apache.catalina.startup.HostConfig 
deployDirectory

INFO: Deploying web application directory ROOT
Nov 9, 2010 2:24:13 PM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 9, 2010 2:24:14 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 9, 2010 2:24:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1586 ms

URL: http://localhost:8080/TomcatComet/s3

Exception:

INFO: Server startup in 1586 ms
Nov 9, 2010 2:24:50 PM 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run

SEVERE:
java.lang.StackOverflowError
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)
   at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1031)

   ..

Same Win 7 64 bit, native connecter, tomcat 7.0.4, :(

-Original Message- 
From: Caldarale, Charles R

Sent: Tuesday, November 09, 2010 2:12 PM
To: Tomcat Users List
Subject: RE: NIO connecter does not work after startup normally


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 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 computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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
Subject: RE: NIO connecter does not work after startup normally


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 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 computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 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 computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 examples
Nov 9, 2010 12:14:08 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 9, 2010 12:14:08 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 9, 2010 12:14:08 PM org.apache.coyote.http11.Http11NioProtocol 
start==
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 9, 2010 12:14:08 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 9, 2010 12:14:08 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 12744 ms

Notice that the Http11NioProtocol started on port 8080. Now when I try to write 
my own @WebServlet, 
OR run cometd demo from cometd.org, the same errors happened:

Nov 9, 2010 12:14:10 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [cometd] in context with path 
[/cometd-demo-2.1.0.beta1] threw exception
java.lang.IllegalStateException: Not supported.
at org.apache.catalina.connector.Request.startAsync(Request.java:1593)
at org.apache.catalina.connector.Request.startAsync(Request.java:1586)
at 
org.apache.catalina.connector.RequestFacade.startAsync(RequestFacade.java:1024)
at 
org.eclipse.jetty.continuation.Servlet3Continuation.suspend(Servlet3Continuation.java:171)
at 
org.cometd.server.transport.LongPollingTransport.handle(LongPollingTransport.java:254)
at org.cometd.server.CometdServlet.service(CometdServlet.java:152)
at org.cometd.server.CometdServlet.service(CometdServlet.java:121)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:186)
at 
org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:158)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:386)
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:373)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1526)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Anyone can help? Thank you.

Ben

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 of isapi_redirect log file
> 
> 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 security account is set
> to
> 'predefined'.
> I noted the greyed out user name against the unselected 'Configurable'
> option.
> 
> I then went and added the 'greyed' user above to the users for the log
> directory and file and set enabled modify and write permissions for the
> same.
> 
> Restarted IIS. Still no log file.
> 
> Any suggestions?
> 
> Regards
> Nick
> 
> 
> On Mon, Nov 8, 2010 at 2:59 PM, George Sexton
> wrote:
> 
> > 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 default website) for the calendar and choose
> Properties.
> > 2. Switch to the Home tab and write down the Application Pool name.
> > 3. In the left frame, click on the Application Pools folder, and then
> > right-click on the application pool name from the step above.
> > 4. Click on the identity tab and write down the identity used.
> >
> >
> > 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 3:45 AM
> > > To: users@tomcat.apache.org
> > > Subject: Absence of isapi_redirect log file
> > >
> > > 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_log file, no
> matter
> > > what
> > > logging level I stipulate in the registry keys.
> > > I have double, triple and quadruple checked that registry entries
> are
> > > complete and spelled correctly.
> > > I have check permissions on the log directory and they look okay.
> > > Does the dll create the log file if it doesn't yet exist?
> > >
> > > Does logging work? Has anybody seen the log file getting populated
> in a
> > > windows environment?
> > >
> > > Regards
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 never managed to get any output to the isapi_log file, no matter
> what
> logging level I stipulate in the registry keys.
> I have double, triple and quadruple checked that registry entries are
> complete and spelled correctly.
> I have check permissions on the log directory and they look okay.
> Does the dll create the log file if it doesn't yet exist?
> 
> Does logging work? Has anybody seen the log file getting populated in a
> windows environment?
> 
> Regards
> 
> 

Thanks you for the post.



__
http://moviesonlinefree.biz


-- 
View this message in context: 
http://old.nabble.com/Absence-of-isapi_redirect-log-file-tp30159412p30166063.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 additional commands, e-mail: users-h...@tomcat.apache.org



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 Java Options and 1024 in the Initial and
Maximum memory pool ... The problem is that I can't set more than 768 Mb of
memory because with values great than 768 the service don't starts.

I get the error "Could not reserve enough space for object heap".  I'm using
JDK 1.6.0_22u and the machine have 4 Gbyte of phisical RAM...


What other startup flags are configured? E.g. is there a stack size set? 
How do your connector configurations in server.xml look like?


Thread stacks, Java heap and perm and some other native memory parts all 
have to fit nto 2GB if it is 32Bits Windows/Java.


Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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.org/connectors-doc/reference/iis.html
http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html

My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
Connector version is 1.2.31.
Everything was working successfully and tested it for almost 2days. But
all of a sudden the application went down with the following error
message:

Service Temporary Unavailable!
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)

I changed the application pool to a different one and I am getting the
error message "You are not authorized to view this page. HTTP Error 403
- Forbidden: Access is denied. "

The error below is from ISAPI_Redirect.log;

[Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
init_jk::jk_isapi_plugin.c (2562): Starting
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
(446): Duplicate key '/geoserver/*' detected - previous value
'worker1;fail_on_status=-404,-500,503' will be overwritten with
'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
[4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
key '/geoserver/*' detected - previous value
'worker1;use_server_errors=400' will be overwritten with
'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
[4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
(2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
12:04:19.738 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'myworker' in uri map post processing. [Mon Nov 08
12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'defworker' in uri map post processing.
[Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'defworker' in uri map post processing.[Mon Nov 08
12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
Could not find worker with name 'wlb' in uri map post processing.[Mon
Nov 08 12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
Could not find worker with name 'jkstatus' in uri map post
processing.[Mon Nov 08 12:04:19.754 2010] [4604:3188] [info]
init_jk::jk_isapi_plugin.c (2741): Jakarta/ISAPI/isapi_redirector/1.2.31
(1026297) initialized[Mon Nov 08 12:04:23.629 2010] [4604:2720] [info]
TerminateFilter::jk_isapi_plugin.c (2271):
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297) stopping
I have tried changing the permissions but not luck. Under IIS ISAPI
filters, the ISAPI redirector is loaded and the green arrow is pointing
upwards and priority is high.
Accessing the same URL from port 8080 displays the page without any
problems.

Is there anything that needs to get back to normal and searched and
tried everything in the book without success.


Lots of errors above, like e.g.

worker worker2 can't resolve tomcat address otherhost

which means you configured "otherhost" as worker address and this canot 
be resolved to an IP address.


Maybe time to present your complete configuration?

Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 and
Maximum memory pool ... The problem is that I can't set more than 768 Mb of
memory because with values great than 768 the service don't starts. 

I get the error "Could not reserve enough space for object heap".  I'm using
JDK 1.6.0_22u and the machine have 4 Gbyte of phisical RAM...

Please, could you help me ?

Thank you in advance!

Ivano
-- 
View this message in context: 
http://old.nabble.com/Tomcat-as-Windows-service---I-can%27t-set-more-than-768-Mb-of-memory-tp30164308p30164308.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 security account is set to
'predefined'.
I noted the greyed out user name against the unselected 'Configurable'
option.

I then went and added the 'greyed' user above to the users for the log
directory and file and set enabled modify and write permissions for the
same.

Restarted IIS. Still no log file.

Any suggestions?

Regards
Nick


On Mon, Nov 8, 2010 at 2:59 PM, George Sexton wrote:

> 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 default website) for the calendar and choose Properties.
> 2. Switch to the Home tab and write down the Application Pool name.
> 3. In the left frame, click on the Application Pools folder, and then
> right-click on the application pool name from the step above.
> 4. Click on the identity tab and write down the identity used.
>
>
> 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 3:45 AM
> > To: users@tomcat.apache.org
> > Subject: Absence of isapi_redirect log file
> >
> > 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_log file, no matter
> > what
> > logging level I stipulate in the registry keys.
> > I have double, triple and quadruple checked that registry entries are
> > complete and spelled correctly.
> > I have check permissions on the log directory and they look okay.
> > Does the dll create the log file if it doesn't yet exist?
> >
> > Does logging work? Has anybody seen the log file getting populated in a
> > windows environment?
> >
> > Regards
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


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, these were the same settings before the site went down with the
error message;
Service Temporary Unavailable! The server is temporarily
unable to service your request due to maintenance downtime or capacity
problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.31
(1026297)
Is there anything that might have caused that error I should be aware
of?

Thank you.

Anthony 


-Original Message-
From: George Sexton [mailto:geor...@mhsoftware.com] 
Sent: 08 November 2010 15:00
To: 'Tomcat Users List'
Subject: RE: Absence of isapi_redirect log file

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 default website) for the calendar and choose
Properties.
2. Switch to the Home tab and write down the Application Pool name.
3. In the left frame, click on the Application Pools folder, and then
right-click on the application pool name from the step above.
4. Click on the identity tab and write down the identity used.

 
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 3:45 AM
> To: users@tomcat.apache.org
> Subject: Absence of isapi_redirect log file
> 
> 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_log file, no
matter
> what
> logging level I stipulate in the registry keys.
> I have double, triple and quadruple checked that registry entries are
> complete and spelled correctly.
> I have check permissions on the log directory and they look okay.
> Does the dll create the log file if it doesn't yet exist?
> 
> Does logging work? Has anybody seen the log file getting populated in
a
> windows environment?
> 
> Regards


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Hackney Council may exercise its right to intercept any communication,
the only exception to this would be confidential survey data, with any
employee or agent of the Council using its telephony or data networks.
By using these networks you give your consent to Hackney Council
monitoring and recording your communication.

If you have received this e-mail in error please delete it immediately
and contact the sender.

For further information about Hackney Council policies please contact
Hackney Service Centre on: 020 8356 3000

Click
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
Xoqi!8pHMxMHKR1Bxe5g5VknU+VexpeXXgeaPLWGci2!g==  to report this email as
spam.


Hackney Council may exercise its right to intercept any communication, the only 
exception to this would be confidential survey data, with any employee or agent 
of the Council using its telephony or data networks. By using these networks 
you give your consent to Hackney Council monitoring and recording your 
communication.

If you have received this e-mail in error please delete it immediately and 
contact the sender.

For further information about Hackney Council policies please contact Hackney 
Service Centre on: 020 8356 3000


** 

London Borough of Hackney may exercise its right to intercept any communication 
on its networks - for more information see 

http://www.hackney.gov.uk/email_disclaimer.html 

** 

This message has been scanned for malware by Websense. www.websense.com


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 answers unless someone 
here has very good long-term memory or you can reproduce the problem on a 
supported version of Tomcat.

If you can reproduce the problem, we'll also need to know the mod_jk and httpd 
versions. 

 - Chuck


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 computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 that is does not know
> anything about path /servlets/rrdstats. This is an error I throw myself.

Does it perform an HTTP request to during init to rrdstats?


p

> This is between:
> Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8080
> 
> Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM
> org.apache.coyote.http11.Http11Protocol start
> Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8443
> Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM
> org.apache.coyote.http11.Http11Protocol start
> Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8444
> Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM
> org.apache.catalina.startup.Catalina start
> Nov 08 15:35:32 rwlinux54 INFO: Server startup in 75504 ms
> 
> After 'Server startup' everything works as expected. So the order of
> servlet-mapping in web.xml doesn't look important to me.
> What is happening? Are servlets available to early? Before all the
> mappings are ready.
> 
> And what is the best thing to do for me to fix this?
> 
> Using Tomcat 6.0.29 on Debian Lenny with java 6.0.20 from Debian pkgs.
> 
> Ronald.
> 
> 



0x62590808.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


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 an error I throw myself.
This is between:
Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8080

Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM 
org.apache.coyote.http11.Http11Protocol start
Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8443
Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM 
org.apache.coyote.http11.Http11Protocol start
Nov 08 15:35:32 rwlinux54 INFO: Starting Coyote HTTP/1.1 on http-8444
Nov 08 15:35:32 rwlinux54 Nov 8, 2010 3:35:32 PM 
org.apache.catalina.startup.Catalina start
Nov 08 15:35:32 rwlinux54 INFO: Server startup in 75504 ms

After 'Server startup' everything works as expected. So the order of 
servlet-mapping in web.xml doesn't look important to me.
What is happening? Are servlets available to early? Before all the mappings are 
ready.

And what is the best thing to do for me to fix this?

Using Tomcat 6.0.29 on Debian Lenny with java 6.0.20 from Debian pkgs.

Ronald.



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 the bugs database but have been unable to find it
with any certainty. Could someone help please?

 

The problem : content length mismatches (due to the parameters from 2
different POST requests being mixed up?)

Versions : Tomcat 4.1, Java 1.5.0 on HP-UX. I do not have the version of
mod_jk used on that machine at present but can obtain it. 

 

Could someone tell me if this is a known problem and point
me to its details? If it is a problem with Tomcat/mod_jk could someone
tell me which version it was fixed in?

 

 

More Details on the problem

 

The reason we now suspect Tomcat 4 or mod_jk is because it
appears that the POST parameters from 2 different requests have been
mixed up. This has been recreated internally by a script which was
firing requests for a JSP page Welcome.jsp every 30 seconds with the
same set of POST parameters ALAN=WILLIAMS&TEST=1 (length = 20). An error
was reported in a servlet which expected a content length of 183. The
Tomcat logs reported that the parameters it received were
ALAN=WILLIAMS&TEST=1 (length =20). Somehow it was accessing the
parameters for a request for a different URL from a different user. The
excerpt from the Tomcat log is below.

 

2010-09-02 10:02:46 HttpRequestBase.parseParameters content length
mismatch

  URL: http://10.16.99.102:16513/RSTES2/servlet/MyServlet Content
Length: 183

Read: 20

  Bytes Read: ALAN=WILLIAMS&TEST=1 (These parameters were
for Welcome.jsp not the servlet)

 

I suspect that both requests were sent correctly and have
become entangled. The requests did not originate at the same time. The
access logs show that the last request for the JSP page was 24 seconds
earlier. It's as if the details from an old request were picked up when
processing a new one.

 

10.16.200.54 - - [02/Sep/2010:10:02:22 +0100] "POST
/RSTES2/jsp/login/Welcome.jsp HTTP/1.0" 200 5631 (most recent request
for JSP page by the script)

10.99.1.4 - - [02/Sep/2010:10:02:24 +0100] "POST
/RSTES2/servlet/MyServlet HTTP/1.1" 200 42505 (a single user using the
system normally)

10.99.1.4 - - [02/Sep/2010:10:02:30 +0100] "POST /RSTES2/servlet/
MyServlet HTTP/1.1" 200 42505 (a single user using the system normally)

10.99.1.4 - - [02/Sep/2010:10:02:35 +0100] "POST /RSTES2/servlet/
MyServlet HTTP/1.1" 200 42505 (a single user using the system normally)

10.99.1.4 - - [02/Sep/2010:10:02:41 +0100] "POST /RSTES2/servlet/
MyServlet HTTP/1.1" 200 42505 (a single user using the system normally)

10.99.1.4 - - [02/Sep/2010:10:02:43 +0100] "POST /RSTES2/servlet/
MyServlet HTTP/1.1" 200 206 (a single user using the system normally)

(error occurred at 10:02:46 as above)

10.99.1.4 - - [02/Sep/2010:10:02:47 +0100] "POST /RSTES2/servlet/
MyServlet HTTP/1.1" 200 42505 (a single user using the system normally)

10.16.200.54 - - [02/Sep/2010:10:02:52 +0100] "POST
/RSTES2/jsp/login/Welcome.jsp HTTP/1.0" 200 5631 (a later request for
the JSP page by the script)

 

 

 
Alan





 

Alan Williams, Senior Analyst/Programmer, 3i Infotech - Western Europe 
Tel. Direct: + 44 (0)121 260 3346  |  Email: 
alan.willi...@3i-infotech.eu | www.3i-infotech.com 



 

This message is intended for the named recipient only and may be
privileged and/or confidential. If you are not the intended or named
recipient or have received this email in error then you should not copy,
forward or disclose it to any other person. The views and opinions
expressed in this e-mail are those of the sender and may not represent
the views and opinions of 3i Infotech (Western Europe) Limited
(registered number 2760212, with its registered office at Level 35, 25
Canada Square, Canary Wharf, London, E14 5LQ) or any subsidiary or
affiliated company within the 3i Infotech group of companies. If you
have received this email in error you should destroy it or contact
postmas...@3i-infotech.eu so that we may take appropriate action. 

 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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 default website) for the calendar and choose Properties.
2. Switch to the Home tab and write down the Application Pool name.
3. In the left frame, click on the Application Pools folder, and then
right-click on the application pool name from the step above.
4. Click on the identity tab and write down the identity used.

 
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 3:45 AM
> To: users@tomcat.apache.org
> Subject: Absence of isapi_redirect log file
> 
> 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_log file, no matter
> what
> logging level I stipulate in the registry keys.
> I have double, triple and quadruple checked that registry entries are
> complete and spelled correctly.
> I have check permissions on the log directory and they look okay.
> Does the dll create the log file if it doesn't yet exist?
> 
> Does logging work? Has anybody seen the log file getting populated in a
> windows environment?
> 
> Regards


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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, Anthony Tuffour <
anthony.tuff...@hackney.gov.uk> 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.org/connectors-doc/reference/iis.html
> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html
>
> My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
> Connector version is 1.2.31.
> Everything was working successfully and tested it for almost 2days. But
> all of a sudden the application went down with the following error
> message:
>
> Service Temporary Unavailable!
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)
>
> I changed the application pool to a different one and I am getting the
> error message "You are not authorized to view this page. HTTP Error 403
> - Forbidden: Access is denied. "
>
> The error below is from ISAPI_Redirect.log;
>
> [Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
> init_jk::jk_isapi_plugin.c (2562): Starting
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
> 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
> Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
> overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
> 12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
> (446): Duplicate key '/geoserver/*' detected - previous value
> 'worker1;fail_on_status=-404,-500,503' will be overwritten with
> 'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
> [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
> key '/geoserver/*' detected - previous value
> 'worker1;use_server_errors=400' will be overwritten with
> 'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
> [4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
> can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
> 12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
> (2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
> 12:04:19.738 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'myworker' in uri map post processing. [Mon Nov 08
> 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'defworker' in uri map post processing.
> [Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'defworker' in uri map post processing.[Mon Nov 08
> 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
> Could not find worker with name 'wlb' in uri map post processing.[Mon
> Nov 08 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
> Could not find worker with name 'jkstatus' in uri map post
> processing.[Mon Nov 08 12:04:19.754 2010] [4604:3188] [info]
> init_jk::jk_isapi_plugin.c (2741): Jakarta/ISAPI/isapi_redirector/1.2.31
> (1026297) initialized[Mon Nov 08 12:04:23.629 2010] [4604:2720] [info]
> TerminateFilter::jk_isapi_plugin.c (2271):
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297) stopping
> I have tried changing the permissions but not luck. Under IIS ISAPI
> filters, the ISAPI redirector is loaded and the green arrow is pointing
> upwards and priority is high.
> Accessing the same URL from port 8080 displays the page without any
> problems.
>
> Is there anything that needs to get back to normal and searched and
> tried everything in the book without success.
>
> Any help will be welcomed.
>
> Thank you.
>
> Anthony.
>
>
>
>
>
> Hackney Council may exercise its right to intercept any communication, the
> only exception to this would be confidential survey data, with any employee
> or agent of the Council using its telephony or data networks. By using these
> networks you give your consent to Hackney Council monitoring and recording
> your communication.
>
> If you have received this e-mail in error please delete it immediately and
> contact the sender.

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 it is attempting to
redirect through port 8080, which seems surprising (or the examples use 8009
for AJP - which is what I use). This should just be the Tomcat (or in our
case JBoss port).
Have you used the default website on your IIS server for redirection, or
have you used a new one?
What URL are you typing into your browser address window?

Regards
Nick




On Mon, Nov 8, 2010 at 2:17 PM, Nick Beare wrote:

> 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 logs for any errors? I found them illuminating
> when I had a bad dll.
> Have you looked in your W3SVC logs (typically in
> C:\WINDOWS\system32\LogFiles)?
>
> Now perhaps you can help me? I have never been able to get any output
> logged to the ISAPI redirect log. I have been using 1.2.30.0 dll.
> I posted a question earlier today, but have had no response.
> You are using an almost identical setup to ourselves and you have manage to
> get output in your redirect log.
> I have set logging level to debug (log_level key = registry set to 'debug')
> I have set the log_file key to 'C:\Program Files\Apache Software
> Foundation\Jakarta Isapi Redirector\log\isapi_redirect.log'
> Permissions on the directory are set to all except special, for the
> administrator, and 'read and execute', 'list folder contents', 'Read' and
> 'Write' for the Internet Guest Account.
> I have not created an empty log file (i.e. have left it to the dll to
> create the log in the first instance.
>
> Regards
> Nick
>
>
>
> On Mon, Nov 8, 2010 at 1:46 PM, Anthony Tuffour <
> anthony.tuff...@hackney.gov.uk> 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.org/connectors-doc/reference/iis.html
>> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html
>>
>> My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
>> Connector version is 1.2.31.
>> Everything was working successfully and tested it for almost 2days. But
>> all of a sudden the application went down with the following error
>> message:
>>
>> Service Temporary Unavailable!
>> The server is temporarily unable to service your request due to
>> maintenance downtime or capacity problems. Please try again later.
>> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)
>>
>> I changed the application pool to a different one and I am getting the
>> error message "You are not authorized to view this page. HTTP Error 403
>> - Forbidden: Access is denied. "
>>
>> The error below is from ISAPI_Redirect.log;
>>
>> [Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
>> init_jk::jk_isapi_plugin.c (2562): Starting
>> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
>> 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
>> Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
>> overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
>> 12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
>> (446): Duplicate key '/geoserver/*' detected - previous value
>> 'worker1;fail_on_status=-404,-500,503' will be overwritten with
>> 'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
>> [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
>> key '/geoserver/*' detected - previous value
>> 'worker1;use_server_errors=400' will be overwritten with
>> 'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
>> [4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
>> can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
>> 12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
>> (2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
>> 12:04:19.738 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'myworker' in uri map post processing. [Mon Nov 08
>> 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'defworker' in uri map post processing.
>> [Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'defworker' in uri map post processing.[Mon Nov 08
>> 12:04:19.754 2010] [460

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 set to Info
in the registry and I changed it to debug and I saw that it has been
updated. Initially, I was worried it was not logging anything? Since the
first log, nothing has been updated.

You have to create the log file to the same as found in the registry
value of the log file otherwise it will not work.

Have you got your ISAPI Redirector working and for how long? How stable
is it? I need to get it working again badly. My application was suppose
to go live this evening and for some unknown reason is crashed on me.

Thanks.

Anthony


-Original Message-
From: Nick Beare [mailto:nickbearetom...@gmail.com] 
Sent: 08 November 2010 14:18
To: Tomcat Users List
Subject: Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 &
Tomcat 6.0 Connector

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 logs for any errors? I found them
illuminating
when I had a bad dll.
Have you looked in your W3SVC logs (typically in
C:\WINDOWS\system32\LogFiles)?

Now perhaps you can help me? I have never been able to get any output
logged
to the ISAPI redirect log. I have been using 1.2.30.0 dll.
I posted a question earlier today, but have had no response.
You are using an almost identical setup to ourselves and you have manage
to
get output in your redirect log.
I have set logging level to debug (log_level key = registry set to
'debug')
I have set the log_file key to 'C:\Program Files\Apache Software
Foundation\Jakarta Isapi Redirector\log\isapi_redirect.log'
Permissions on the directory are set to all except special, for the
administrator, and 'read and execute', 'list folder contents', 'Read'
and
'Write' for the Internet Guest Account.
I have not created an empty log file (i.e. have left it to the dll to
create
the log in the first instance.

Regards
Nick


On Mon, Nov 8, 2010 at 1:46 PM, Anthony Tuffour <
anthony.tuff...@hackney.gov.uk> 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.org/connectors-doc/reference/iis.html
> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html
>
> My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
> Connector version is 1.2.31.
> Everything was working successfully and tested it for almost 2days.
But
> all of a sudden the application went down with the following error
> message:
>
> Service Temporary Unavailable!
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)
>
> I changed the application pool to a different one and I am getting the
> error message "You are not authorized to view this page. HTTP Error
403
> - Forbidden: Access is denied. "
>
> The error below is from ISAPI_Redirect.log;
>
> [Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
> init_jk::jk_isapi_plugin.c (2562): Starting
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08
12:04:17.379
> 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
> Duplicate key '/geoserver/*' detected - previous value 'worker1' will
be
> overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
> 12:04:17.379 2010] [4604:3188] [warn]
jk_map_handle_duplicates::jk_map.c
> (446): Duplicate key '/geoserver/*' detected - previous value
> 'worker1;fail_on_status=-404,-500,503' will be overwritten with
> 'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
> [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
> key '/geoserver/*' detected - previous value
> 'worker1;use_server_errors=400' will be overwritten with
> 'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
> [4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker
worker1
> can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
> 12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
> (2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov
08
> 12:04:19.738 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'myworker' in uri map post processing. [Mon Nov 08
> 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'defworker' in 

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 logs for any errors? I found them illuminating
when I had a bad dll.
Have you looked in your W3SVC logs (typically in
C:\WINDOWS\system32\LogFiles)?

Now perhaps you can help me? I have never been able to get any output logged
to the ISAPI redirect log. I have been using 1.2.30.0 dll.
I posted a question earlier today, but have had no response.
You are using an almost identical setup to ourselves and you have manage to
get output in your redirect log.
I have set logging level to debug (log_level key = registry set to 'debug')
I have set the log_file key to 'C:\Program Files\Apache Software
Foundation\Jakarta Isapi Redirector\log\isapi_redirect.log'
Permissions on the directory are set to all except special, for the
administrator, and 'read and execute', 'list folder contents', 'Read' and
'Write' for the Internet Guest Account.
I have not created an empty log file (i.e. have left it to the dll to create
the log in the first instance.

Regards
Nick


On Mon, Nov 8, 2010 at 1:46 PM, Anthony Tuffour <
anthony.tuff...@hackney.gov.uk> 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.org/connectors-doc/reference/iis.html
> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html
>
> My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
> Connector version is 1.2.31.
> Everything was working successfully and tested it for almost 2days. But
> all of a sudden the application went down with the following error
> message:
>
> Service Temporary Unavailable!
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later.
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)
>
> I changed the application pool to a different one and I am getting the
> error message "You are not authorized to view this page. HTTP Error 403
> - Forbidden: Access is denied. "
>
> The error below is from ISAPI_Redirect.log;
>
> [Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
> init_jk::jk_isapi_plugin.c (2562): Starting
> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
> 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
> Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
> overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
> 12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
> (446): Duplicate key '/geoserver/*' detected - previous value
> 'worker1;fail_on_status=-404,-500,503' will be overwritten with
> 'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
> [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
> key '/geoserver/*' detected - previous value
> 'worker1;use_server_errors=400' will be overwritten with
> 'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
> [4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
> can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
> 12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
> (2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
> 12:04:19.738 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'myworker' in uri map post processing. [Mon Nov 08
> 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'defworker' in uri map post processing.
> [Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'defworker' in uri map post processing.[Mon Nov 08
> 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
> Could not find worker with name 'wlb' in uri map post processing.[Mon
> Nov 08 12:04:19.754 2010] [4604:3188] [error]
> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
> Could not find worker with name 'jkstatus' in uri map post
> processing.[Mon Nov 08 12:04:19.754 2010] [4604:3188] [info]
> init_jk::jk_isapi_plugin.c (2741): Jakarta/ISAPI/isapi_redirector/1.2.31
> (1026297) initialized[Mon Nov 08 12:04:23.629 2010] [4604:2

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://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html

My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
Connector version is 1.2.31.
Everything was working successfully and tested it for almost 2days. But
all of a sudden the application went down with the following error
message:

Service Temporary Unavailable!
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297) 

I changed the application pool to a different one and I am getting the
error message "You are not authorized to view this page. HTTP Error 403
- Forbidden: Access is denied. "

The error below is from ISAPI_Redirect.log;

[Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
init_jk::jk_isapi_plugin.c (2562): Starting
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
(446): Duplicate key '/geoserver/*' detected - previous value
'worker1;fail_on_status=-404,-500,503' will be overwritten with
'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
[4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
key '/geoserver/*' detected - previous value
'worker1;use_server_errors=400' will be overwritten with
'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
[4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
(2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
12:04:19.738 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'myworker' in uri map post processing. [Mon Nov 08
12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'defworker' in uri map post processing.
[Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'defworker' in uri map post processing.[Mon Nov 08
12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
Could not find worker with name 'wlb' in uri map post processing.[Mon
Nov 08 12:04:19.754 2010] [4604:3188] [error]
uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
Could not find worker with name 'jkstatus' in uri map post
processing.[Mon Nov 08 12:04:19.754 2010] [4604:3188] [info]
init_jk::jk_isapi_plugin.c (2741): Jakarta/ISAPI/isapi_redirector/1.2.31
(1026297) initialized[Mon Nov 08 12:04:23.629 2010] [4604:2720] [info]
TerminateFilter::jk_isapi_plugin.c (2271):
Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297) stopping
I have tried changing the permissions but not luck. Under IIS ISAPI
filters, the ISAPI redirector is loaded and the green arrow is pointing
upwards and priority is high.
Accessing the same URL from port 8080 displays the page without any
problems.

Is there anything that needs to get back to normal and searched and
tried everything in the book without success.

Any help will be welcomed.

Thank you.

Anthony.





Hackney Council may exercise its right to intercept any communication, the only 
exception to this would be confidential survey data, with any employee or agent 
of the Council using its telephony or data networks. By using these networks 
you give your consent to Hackney Council monitoring and recording your 
communication.

If you have received this e-mail in error please delete it immediately and 
contact the sender.

For further information about Hackney Council policies please contact Hackney 
Service Centre on: 020 8356 3000


** 

London Borough of Hackney may exercise its right to intercept any communication 
on its networks - for more information see 

http://www.hackney.gov.uk/email_disclaimer.html 

** 

This message has been scanned for malware by Websense. www.websense.com


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

Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Mon, 8 Nov 2010 01:09:12 -0800
> From: ass...@yahoo.com
> Subject: Re: Malicious host is crashing my server
> To: users@tomcat.apache.org
> 
> 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 Users List 
> Sent: Mon, November 8, 2010 12:00:49 AM
> Subject: Re: Malicious host is crashing my server
> 
> You could modify the RequestDumpFilter to only dump the request for that ip 
> address.
> 
> Regards,
> Dave
> 
> Sent from my iPhone
> 
> On Nov 7, 2010, at 12:28 PM, Assaf  wrote:
> 
> > A filter to block is good. But then I would not be able to see him doing it 
> > again and then find out the issue.
> > 
> > Assaf
> > 
> > 
> > - Original Message 
> > From: "Caldarale, Charles R" 
> > To: Tomcat Users List 
> > Sent: Sun, November 7, 2010 6:48:20 PM
> > Subject: RE: Malicious host is crashing my server
> > 
> >> From: Assaf [mailto:ass...@yahoo.com] 
> >> Subject: Malicious host is crashing my server
> > 
> >> what can I do to better protect?
> > 
> > As a temporary preventive measure, you can disable access from this 
> > particular 
> 
> > IP address by configuring the RemoteAddrValve in server.xml:
> > 
> >  > deny="79\.177\.23\.102"/>
> > 
> > That should give you some time to work out the real fix.
> > 
> > - Chuck
> > 
> > 
> > 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 computers.
> > 
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> > 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
  

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 jar.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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: JSP Precompilation and Servlet 3.0
> 
>>> Hopefully, this will make JSP precompilation less onerous for

>>> users.
> 
>> I don't think the current mechanism is particularly onerous, since

>> Tomcat supplies an ant script to do all the dirty work, including the
>> update of web.xml.
> 
> My understanding is that the ant script needs some "help" to get

> started: you can't simply run the JSP precompiler against an existing
> webapp without seeding web.xml, at least a bit.

I suggested generating annotated java a little while back and didn't get
an overly enthusiastic reception, but I like the general idea of the
JSPs being in their own jar.

I think it would be good if Tomcat 7.0 featured and used Servlet 3.0
functions, the source is available and it'll help users get to know the
spec.


p













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_log file, no matter what
logging level I stipulate in the registry keys.
I have double, triple and quadruple checked that registry entries are
complete and spelled correctly.
I have check permissions on the log directory and they look okay.
Does the dll create the log file if it doesn't yet exist?

Does logging work? Has anybody seen the log file getting populated in a
windows environment?

Regards


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?

Assaf


- Original Message 
From: Marc Boorshtein 
To: Tomcat Users List 
Sent: Sun, November 7, 2010 6:29:09 PM
Subject: Re: Malicious host is crashing my server

JDBC?  Are you sure its not an attempted SQL Injection attack?

On Sun, Nov 7, 2010 at 12:23 PM, Assaf  wrote:
> Hello,
>
> I have a recurring visitor (from a fixed IP
> address: bzq-79-177-23-102.red.bezeqint.net) who is constantly visiting my 
site

> and EACH time causes the server to crash. My server actually gets a JDBC begin
> failed error for the next http calls.
>
> Analyzing the logs, I cannot find out what is wrong. I can see it is a script 
>as

> he is visiting the same pages in the same order (never downloading
> images/css/js). The only thing that I have noticed that is different with this
> user are the http headers he uses:
>
> "Expand HTTP read ahead 1.0"
>
> I could not google anything about those. I am running tomcat 6.0.20 on linux
> with mysql.
>
> Anyone has an idea what this can be? How to find out? Also, what can I do to
> better protect?
>
> Thanks,
>
> Assaf
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


  


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org









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 Users List 
Sent: Mon, November 8, 2010 12:00:49 AM
Subject: Re: Malicious host is crashing my server

You could modify the RequestDumpFilter to only dump the request for that ip 
address.

Regards,
Dave

Sent from my iPhone

On Nov 7, 2010, at 12:28 PM, Assaf  wrote:

> A filter to block is good. But then I would not be able to see him doing it 
> again and then find out the issue.
> 
> Assaf
> 
> 
> - Original Message 
> From: "Caldarale, Charles R" 
> To: Tomcat Users List 
> Sent: Sun, November 7, 2010 6:48:20 PM
> Subject: RE: Malicious host is crashing my server
> 
>> From: Assaf [mailto:ass...@yahoo.com] 
>> Subject: Malicious host is crashing my server
> 
>> what can I do to better protect?
> 
> As a temporary preventive measure, you can disable access from this 
> particular 

> IP address by configuring the RemoteAddrValve in server.xml:
> 
>  deny="79\.177\.23\.102"/>
> 
> That should give you some time to work out the real fix.
> 
> - Chuck
> 
> 
> 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 computers.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


  

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org