tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <geor...@mhsoftware.com>
Subject RE: Absence of isapi_redirect log file
Date Mon, 15 Nov 2010 17:11:42 GMT
It's really difficult to troubleshoot ISAPI redirector problems. No one really seems to be
able to help much when you get a problem and the logs are either unhelpful or vastly too verbose.
I think that changes in IIS have dramatically complicated it and the Tomcat Docs have not
kept up. In particular there's no discussion of which application pool the jakarta redirector
is running as versus the default application pool for the server. I know for certain that
if they don't match up, things break in mysterious and unusual ways. Unfortunately, some of
these things only come up when you're dealing with real-world servers. If you have a toy server
set up for testing, none of these things like Application Pools break.

George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com

> -----Original Message-----
> From: Nick Beare [mailto:Nick.Beare@causeway.com]
> Sent: Thursday, November 11, 2010 3:09 AM
> To: Tomcat Users List
> Subject: RE: Absence of isapi_redirect log file
> 
> Thanks for your help on this.
> 
> Georges instructions set me on the right lines.
> Firstly I set full access on the log directory to all and restarted
> IIS.
> The log file had then been created. Hooray. Obviously this is not ideal
> from a security angle.
> I noted the creator user (NETWORK SERVICE in my case), then changed
> permissions to turn off full access. Added NETWORK SERVICE as an
> allowed user on the log directory and ensured this user had modify and
> write access).
> I removed the log file.
> Restarted IIS and again the log file was created ok.
> 
> Regards
> 
> Nick Beare
> Developer
> www.causeway.com
> 
> -----Original Message-----
> From: George Sexton [mailto:georges@mhsoftware.com]
> Sent: 09 November 2010 04:16
> To: 'Tomcat Users List'
> Subject: RE: Absence of isapi_redirect log file
> 
> 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:nickbearetomcat@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
> > <georges@mhsoftware.com>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:nickbearetomcat@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-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> Causeway has been nominated in the 2010 Construction Computing Awards.
> To find out more go to http://www.constructioncomputingawards.co.uk/
> Don’t forget to cast your vote by 15th November!
> 
> Causeway is committed towards reducing its carbon footprint. Please
> consider the environment before printing this email.
> 
> 
> Disclaimer Notice :-
> 
> The message and any attachments contained in this e-mail are intended
> for the named recipient(s) only. It may contain privileged or
> confidential information or information which is exempt from disclosure
> under the applicable laws. If you are not the intended recipient(s),
> you must not read, print, retain, copy distribute, forward or take any
> or refrain from taking any action in reliance on it or any of its
> attachments. If you have received or have been forwarded this e-mail in
> error, please notify us immediately by return e-mail or telephone (+44
> (0)1628 552000) and delete this message from the computer or any other
> data-reading device in its entirety.
> 
> Please advise us immediately if you do not or your employer does not
> consent to Internet e-mail for messages of this nature.
> 
> Internet communications cannot be guaranteed to be secure and error-
> free as the information could be intercepted, corrupted, lost, arrive
> late or contain viruses. The sender and this Company therefore do not
> and shall not accept any liability or responsibility of whatsoever
> nature in the context of this message and its attachment(s) which
> arises as a result of Internet transmission. Opinions, conclusion,
> representations, views and such other information in this message that
> do not relate to the official business of this Company shall be
> understood as neither given nor endorsed by it.
> 
> Registered Office: Comino House, Furlong Road, Bourne End,
> Buckinghamshire, SL8 5AQ
> Registered in England No: 3921897
> www.causeway.com


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


Mime
View raw message