Re: Using IIS with Tomcat

2002-01-25 Thread Hessing Ingo


Hi,

see this tutorial on integrating IIS and Tomcat 4:

http://www.vacodi.com/howto/tomcat/iisnt/index.html

There is also a howto for the Tomcat 3.2.X version:

http://www.verysimple.com/scripts/support_tc_iis.html

bestWISHES

Ingo Hessing

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 25. Januar 2002 06:15
 An: [EMAIL PROTECTED]
 Betreff: Using IIS with Tomcat
 
 
 Hi,
 I'd like to ask you a question about Tomcat Web
 Server.I used  tomcat to run a jsp pages using the
 (http://localhost:8080/myFolder)address ,but now I
 want to use school web server
 address(http://proj6.ict.np.edu.sg/myFolder) .
 So how can I use the school address?
 
 Thanks a lot,
 Htay San
 
 __
 Do You Yahoo!?
 Great stuff seeking new owners in Yahoo! Auctions! 
 http://auctions.yahoo.com
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-04 Thread Hessing Ingo


Hi,

you'll find the program on Daniel's sourceforge site:

https://sourceforge.net/projects/warpconduit/

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-04 Thread Hessing Ingo


Hi!

[EMAIL PROTECTED] wrote:
 we´re using tomcat 4.01 with mod_jk in production with IIS 5.0 with
 isapi_redirect.dll, with out problems.
 
 Does this little program have anything that the usual mod_jk, and
 isapi_redirect.dll doesn´t have ?

Then it seems that you don't rely on unified logs for both IIS and
Tomcat - because the isapi_redirect.dll works as a global filter within
IIS which means that only the access of the mere .dll is logged on the
IIS-side and not the actual JSP or servlet.

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-03 Thread Hessing Ingo


Hi, Daniel,

_how_ does your program redirect to the Tomcat server?

If it is not necessary to modify any of the conf files then you can't be
using the ajp13 protocoll (which is disabled by default) or any worker
concept (would need a workers.properties conf file), right? So do you
use the standard secondary web server HTTP port 8080 connection? This
would mean that Tomcat is in standalone-mode, right?

And one last question: are sessions supported by your method? Or does
each request start a new session (which also happens when the
isapi_redirect.dll-filter is _not_ global and therefor is no solution
either)? Would be great if you could test this (for example with the
numberguess demo of the Tomcat standard installation).

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Regarding tomcat3.2.3

2002-01-03 Thread Hessing Ingo


Hi!

There is an official howto here:

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html

Also I know two tutorials for SSL (unfortunately the second one which is
shorter and easier is German language only):

http://www.stephanwiesner.de/java/how_to_install_soap.htm

http://www.torsten-horn.de/techdocs/ssl.htm

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-02 Thread Hessing Ingo


Hi, Daniel,

You wrote:
 I've written a little program that allows Tomcat 4.01 to 
 be used with
 IIS.

do you mean a kind of redirector? Is it different from the known
isapi_redirect.dll that comes with the Tomcat 3.3 distribution?

As you might already know: that isapi_redirect.dll works with Tomcat
4.0.1, too. It integrates IIS and Tomcat using an ajp13-connector. See
this tutorial:

http://www.vacodi.com/howto/tomcat/iisnt/index.html

Unfortunately the 3.3.-redirector doesn't function with an inprocess
worker (only with an ajp13). Secondly it works as a global filter within
IIS which means that the IIS-log-file only contains references to the
mere .dll and not to the actual JSP/servlet resources. Would be nice if
your program could do inprocessing and complete logging on the IIS-side.

By the way: isn't there a redirector for Tomcat 4.0.1 being developed
within the Jakarta project (like for the Tomcat versions 3.X)? Perhaps
you could join?

Havn't seen your sourceforge project entry yet. ;-)

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Property names cannot be case sensitive?

2001-12-18 Thread Hessing Ingo


Hi!

Property names cannot be case sensitive? - I know that they _can_ be but
maybe not in all cases?

I have a property called pathLevel (it's a private int) in a Bean and
I'm unable to make a successful

jsp:setProperty name=formHandler property=pathLevel/

on it.

Everything works just fine if I rename the property all lowercase
pathlevel.

What's wrong here?

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problems w/ case sensitive property names

2001-12-17 Thread Hessing Ingo


Hi!

I have two properties in a bean:

private int pathLevel;
private int pathlevel;

As you can see the first one has got a capital L and the second is all
lower case.

In a JSP page I wrote the following:

jsp:useBean id=formHandler class=de.laudert.beans.Browser
scope=session/
jsp:setProperty name=formHandler property=pathLevel/
jsp:setProperty name=formHandler property=pathlevel/

pathLevel = %=formHandler.getPathLevel()%
pathlevel = %=formHandler.getPathlevel()%

If I request the page via

http://172.30.250.219:8082/browser.jsp?pathLevel=1pathlevel=2

the property pathLevel (with capital L) is _not_ set to 1. But
pathlevel (lowercase) is successfully set to 2.

Seems that the capital L is the problem here. Anybody?

bestWISHES

Ingo


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-22 Thread Hessing Ingo


Hi,

have you _tried_ defining your users on both sides - Tomcat and the IIS?
This might be the way within form-based auth, too. See my last two
postings concerning explanation.

Why don't you just try it?

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Samuel Rochas [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 21. November 2001 19:53
 An: Tomcat Users List
 Betreff: Re: form authentication with IIS - j_security_check 
 - error 405
 - tomcat 3.2.3
 
 
 Hello, 
 
  Supposed you did all that's said in the tomcat-iis-howto 
 (see docs), you
  have to adjust the conf/uriworkermap.properties file, that's where
  isapi_redirect.dll gets informations from ...
 I've written an entry to this file for the j_security_check, but it is
 still not recognized. 
 
 Who has experience in combining tomcat and IIS? Who did some FORM
 authentication within IIS?
 Does anybody have an idea where to search informations to the problem?
 
 Samuel
 -- 
 SWIPe Software Engineering  Project Management GmbH
 
 Solutions with Individual Profile
 
 Web: http://www.swipe.de
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-22 Thread Hessing Ingo


Hi,

[EMAIL PROTECTED] wrote:
 Of course I've tried your hint:
 -I've defined a user on my workstation (Win2K): tomcat/tomcat. It is
 member of almost all the local groups. I've defined the same 
 user in the
 tomcat-users.xml

Okay.

 -I've entered the groups into the security-constraint in web.xml
 (Benutzer, ...)

All I can say is that I had only _one_ group in my webapp. My
security-constraint (and login-config) looked like this:

security-constraint
web-resource-collection
web-resource-namesynthMAG/web-resource-name
url-pattern/*/url-pattern
http-methodGET/http-method
http-methodPOST/http-method
http-methodPUT/http-method
/web-resource-collection
auth-constraint
role-namesynthmagguest/role-name
/auth-constraint
/security-constraint

login-config
auth-methodBASIC/auth-method
realm-namesynthMAG/realm-name
/login-config

 -I have defined no restriction into the IIS

Okay.

 This was without success. Do you miss something in my configuration?

Nope. Unfortunately your problem seems to be much deeper...

 The BASIC authentication did not work, even accessing the 
 pages directly

You mean through port 8080 it did not work either? Sounds strange.

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-22 Thread Hessing Ingo


Hi, Samuel,

[EMAIL PROTECTED] wrote:
  role-namesynthmagguest/role-name
 So the user defined in tomcat-users.xml was member of this group:
 user name=tomcat  password=tomcat roles=synthmagguest  /

Yep, exactly.

 Did you define a group synthmagguest within Win2k?

No, that was not necessary.

  realm-namesynthMAG/realm-name
 And synthMAG is the Win2k user name?

No! In your above example (user name=tomcat...) the corresponding
W2k-user must be named tomcat, too.

 Do you have any hint to further web resources?

Nope. :-( Anybody?

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: Tomcat-4.0.1 and IIS

2001-11-22 Thread Hessing Ingo


Hi,

here's a howto:

http://www.vacodi.com/howto/tomcat/iisnt/index.html

You can use the isapi_redirect.dll of Tomcat 3.3.

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: amol [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 23. November 2001 07:53
 An: Tomcat Users List
 Betreff: Tomcat-4.0.1 and IIS
 
 
 I just downloaded and inatalled Tomcat-4.0.1
 Sample servlets are working fine on 8080 port ( tomcat's webserver )
 I am trying to integrate it with IIS and later i shall 
 replace IIS with
 Apache.
 
 The problem is that i got the how-to-integrate-with-iis 
 documentation for
 earlier tomcat version ( 3.3 ) but that doesnt seem to hold 
 true for 4.0
 There is no isapi_redirect.dll nor is there any sample 
 workers.properties in
 the conf directory.
 The 4.0 documentation doesnt talk anything abt integrating with iis.
 Any ideas how to go abt it?
 
 thnx
 amol
 
 
 
 _
 
 Do You Yahoo!?
 
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Hessing Ingo


Hi,

have you tried defining all the users a second time within NT 4? - If
your users are not only valid Tomcat users (defined in tomcat-users.xml)
but also valid Win NT 4 users the IIS 4 might let them through to the
isapi_redirect.dll in form-based authentification.

As you, Samuel, already know this was my solution on a W2k system with
IIS 5 and normal authentification. Maybe it's the same on NT 4 for
form-based authentification so you don't need a port-8080-workaround.

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Renato Romano [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 21. November 2001 17:22
 An: Tomcat Users List
 Betreff: R: form authentication with IIS - j_security_check - 
 error 405
 - tomcat 3.2.3
 
 
 I had the same problem with version 3.2.1, but i suppose the 
 workaround is
 the same.
 Supposed you did all that's said in the tomcat-iis-howto (see 
 docs), you
 have to adjust the conf/uriworkermap.properties file, that's where
 isapi_redirect.dll gets informations from ...
 Following is mine ...
 Renato
 
 #
 # Simple worker configuration file
 #
 #/*=ajp12
 /j_security_check=ajp12
 /servlet/*=ajp12
 /*.jsp=ajp12
 /whatever_reserved_area/*=ajp12
 
 -Messaggio originale-
 Da: Samuel Rochas [mailto:[EMAIL PROTECTED]]
 Inviato: mercoledi 21 novembre 2001 16.31
 A: Tomcat Users List
 Oggetto: form authentication with IIS - j_security_check - error 405 -
 tomcat 3.2.3
 
 
 Hello,
 
 I have troubles using the form authentication for an 
 application running
 on the IIS (4.0) with tomcat 3.2.3.
 
 The security example is running fine, that is because it is running
 directly with tomcat and not through IIS first. The authentication
 mechanism for my application running with the IIS brings an error 405
 with the URL:
 http://localhost/j_security_check
 
 It seems the IIS does not recognize that it should pass the request to
 the isapi_redirect.dll an tries to handle it itself, which brings the
 error.
 
 A workaround would be to set as URL for the login page something like:
 form-login-pagehttp://localhost:8080/login.jsp/form-login-page
 This would enforce the direct use of tomcat. I think it is 
 quite tricky
 an would prefer something cleaner here. Any hint?
 
 Sincerly
 Samuel Rochas
 --
 SWIPe Software Engineering  Project Management GmbH
 
 Solutions with Individual Profile
 
 Web: http://www.swipe.de
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: help tomcat 4.0 iis 5.0

2001-11-16 Thread Hessing Ingo


Hi,

which isapi_redirect.dll are you using? - I ask because the Tomcat 4.0.1
release doesn't contain one and all isapi_redirect.dll-files before
Tomcat 3.3 do _not_ support ajp13 that Tomcat 4.0.1 relies on.

So have you tried the isapi_redirect.dll from the Tomcat 3.3 release?

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Matt Laywell [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 15. November 2001 22:47
 An: '[EMAIL PROTECTED]'
 Betreff: help tomcat 4.0 iis 5.0
 
 
 I am using tomcat 4.0 with iis 5.0.  When I try to view jsp 
 pages from my
 website I get a 404 resource whatever.jsp is not available error from
 tomcat.  I believe the isapi redirector is working properly 
 because the
 error is from the tomcat server not from iis.  any help would be
 appreciated.
 
 new at this
 
 matt laywell
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Hessing Ingo


Hi,

maybe I have a solution. Your're using the isapi_redirect.dll and access
your contexts via IIS 4, right? Have you tried accessing your pages
using Tomcat directly? Does it work then?

I have a machine running W2k, IIS 5 and Tomcat - and had exactly the
same problem: The dialog box appeared asking for username and password
but you were unable to login. But the thing did work when accessing the
page through Tomcat on normal HTTP.

What helped was the following: I defined exactly the same users within
W2k having guest roles for IIS 5. And then the IIS did let through the
requests because he knew the users and their correct passwords.

So the problem seems to be IIS (in my case version 5 - maybe it's the
same with 4) or the isapi_redirect.dll neglegting the requests because
it doesn't recognize the users/passwords if they are not defined within
W2k in a parallel way.

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Samuel Rochas [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 16. November 2001 18:16
 An: Tomcat Users List
 Betreff: Re: Authentication with Tomcat 3.2 and IIS4
 
 
 Hello, 
 
 Ok, I am now able to prompt for a dialog box, asking for username and
 password. So far, exactly what I wanted.
 
 I have configured a user in the file /conf/tomcat-users.xml 
 according to
 the role defined in the role defined in the security 
 constraint for the
 application. 
 The trouble is that Jakarta does not regognize any of the defined user
 and I can't access the page. Can somebody tell me why? Should I make
 further changes in other config files?
 
 Sincerly
 Samuel
 
 Barney Hamish wrote:
  
  There is also a simple xml file authentication method that 
 Tomcat uses by
  default. You just add log-ins to an xml file. I believe 
 there is an example
  included with the Tomcat download (examples/jsp/security I think)
  
  Hamish
  
 -- 
 SWIPe Software Engineering  Project Management GmbH
 
 Solutions with Individual Profile
 
 Web: http://www.swipe.de
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: Ajp13 config + dll for IIS

2001-11-16 Thread Hessing Ingo


Hi,

I can now confirm that the isapi_redirect.dll of Tomcat 3.3 runs
successfully on W2k with IIS 5 redirecting to Tomcat 4.0.1.

And I've received this URL from a user of the list - a howto on this
topic:

http://www.vacodi.com/howto/tomcat/iisnt/index.html

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Hessing Ingo 
 Gesendet: Mittwoch, 14. November 2001 09:21
 An: 'Tomcat Users List'
 Cc: '[EMAIL PROTECTED]'
 Betreff: AW: Ajp13 config + dll for IIS
 
 
 
 Hi!
 
 I've heard that the ISAPI_REDIRECT.DLL for Tomcat 3.3 might 
 work with Tomcat 4.0.1, too.
 
 Can anybody verify this or does anybody know when a special 
 version for Tomcat 4.0.1 will be released?
 
 bestWISHES
 
 Ingo
 
  -Ursprüngliche Nachricht-
  Von: Abbrederis Thomas tab09 [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 14. November 2001 09:04
  An: 'Tomcat Users List'
  Betreff: Ajp13 config + dll for IIS
  
  
  Hello to all!
  
  I'm searching for tomcat 4.0.1 the ajp1.3 redirect dll for IIS 4.
  
  Did anybody have information about that?!?
  Where I can find it and how does it work?!?
  
  Thanks for reply!
  
  Best regards
  
  inet-logistics GmbH
  Thomas Abbrederis
  (software engineering)
  Holzriedstrasse 29
  A-6961 Wolfurt
  mailto:[EMAIL PROTECTED]
  http://www.inet-logistics.com
  
  
  --
  To unsubscribe:   
mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: Ajp13 config + dll for IIS

2001-11-14 Thread Hessing Ingo


Hi!

I've heard that the ISAPI_REDIRECT.DLL for Tomcat 3.3 might work with
Tomcat 4.0.1, too.

Can anybody verify this or does anybody know when a special version for
Tomcat 4.0.1 will be released?

bestWISHES

Ingo

 -Ursprüngliche Nachricht-
 Von: Abbrederis Thomas tab09 [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 14. November 2001 09:04
 An: 'Tomcat Users List'
 Betreff: Ajp13 config + dll for IIS
 
 
 Hello to all!
 
 I'm searching for tomcat 4.0.1 the ajp1.3 redirect dll for IIS 4.
 
 Did anybody have information about that?!?
 Where I can find it and how does it work?!?
 
 Thanks for reply!
 
 Best regards
 
 inet-logistics GmbH
 Thomas Abbrederis
 (software engineering)
 Holzriedstrasse 29
 A-6961 Wolfurt
 mailto:[EMAIL PROTECTED]
 http://www.inet-logistics.com
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.0 and IIS

2001-10-19 Thread Hessing Ingo


Hi!

Pier P. Fumagalli [EMAIL PROTECTED] wrote:
 You can't use TC4.0 w/ IIS (yet!)... :)

Does anybody know when it (= the redirection) will be available?

bestWISHES

Ingo



Which ISAPI_REDIRECT.DLL to use for Tomcat 4.0.1 w/ IIS 5?

2001-10-18 Thread Hessing Ingo


Hi!

I've just installed Tomcat 4.0.1 on W2k and it works. Next step would be
the installation of the ISAPI_REDIRECT.DLL to serve HTML-pages and stuff
via IIS 5.

But in contrast to Tomcat 3.2.3 there is no dedicated
ISAPI_REDIRECT.DLL-file that comes with version 4.0.1.

Question: Can I (should I) use the old .DLL-file or is a
Tomat-4-ready-version on its way?

And: If I am to use the old version - where do I put the
uriworkermap.properties file? There is none in the conf directory of
Tomcat 4.

bestWISHES

Ingo




AW: IIS, tomcat and logging

2001-09-07 Thread Hessing Ingo


Hi!

I have exactly the same logging problem as Mike on his box on my own
system (which is very similar to one of Mike's):

My system:
  W2k Server SP2
  JDK 1.3.1
  Tomcat 3.2.3
  IIS 5 (incl. latest security patches)

I have the latest isapi_redirect.dll and use both ajp12 and inprocess
workers. Within IIS 5 I've selected to log _everything_ (incl.
cs-uri-stem and uri-query), but all I get in the log file (no matter
which worker and no matter which context) is the mere .dll entry:

  (...) GET /jakarta/isapi_redirect.dll - (...)

But what I need is something like this:

  (...) GET /mycontext/mypage.jsp?language=encolor=blue - (...)

How can I log the whole URI right in IIS?

Anybody?

Best wishes

Ingo

 -Ursprüngliche Nachricht-
 Von: Mike Erickson [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 24. Juli 2001 02:43
 An: [EMAIL PROTECTED]
 Betreff: IIS, tomcat and logging
 
 
 Box #1:
 Win 2000 Server
 Sun JDK 1.3.1
 Tomcat 3.2.2
 IIS 5
 
 Box #2:
 Win 2000 Professional
 Sun JDK 1.3
 Tomcat 3.2.1
 IIS
 
 both boxes are mapped to use IIS, when I hit Box #1, the IIS log
 (cs-uri-stem column) shows me:
 /jakarta/isapi_redirect.dll
 when  I hit Box #2, the IIS log shows me :
 /contextname/dir/file.jsp?parameter=foo
 
 I want box #1 to log like Box #2.. but I can't figure out the 
 difference
 (besides a few small version changes), both are set to log 
 the URI-stem
 (Using the IIS logging extended properties) and both have the 
 isapi log
 level set to info..
 
 how do I setup IIS to log the requested filename instead of the filter
 name?
 
 thanks...




ISAPI redirect doesn't work w/ service but w/ startup.bat?

2001-08-30 Thread Hessing Ingo


Hi!

I've installed Tomcat 3.2.3 as a service on W2k Server (SP2) to work
with IIS 5 (including latest security patches) via the ISAPI redirecting
(latest isapi_redirect.dll).

Unfortunately this does not work. The Tomcat service itself _works_ (I
can reach the Tomcat server via http://localhost:8080/mycontext/) - but
all I get via IIS and the ISAPI redirect (http://localhost/mycontext/)
is a

 Not Found (404)

error from Tomcat.

But: If I stop the NT service by typing

 net stop jakarta

followed by a non-service startup of Tomcat with

 startup.bat

in the jakarta-tomcat\bin directory I then _am_ able to reach my
Tomcat via the ISAPI redirect (http://localhost/mycontext/ then shows my
context). So the redirecting does not work with the NT service but does
work with the Tomcat invoked by the startup.bat. Why is that? - I've
checked the logs but cannot find anything unusual.

Anybody?

Best wishes

Ingo

Laudert
Innovative Medientechnik
Ingo Hessing
Development
Von-Braun-Str. 5
48691 Vreden
Tel +49 (0) 2564 919-290
Fax +49 (0) 2564 919-389
[EMAIL PROTECTED]

P.S.: [zoom]en Sie sich ran! Unter www.laudert.de finden Sie unser
Online-Kundenmagazin [zoom] mit aktuellen Infos ueber uns, unsere Kunden
und die Top-Themen der Branche.





AW: virtual host works with 8080 but not without specifying...

2001-08-30 Thread Hessing Ingo


Hi!

Do you run Tomcat as a NT service?

Best wishes

Ingo

 -Ursprüngliche Nachricht-
 Von: Dhwani K. Bhayani [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 31. Juli 2000 07:31
 An: [EMAIL PROTECTED]
 Betreff: virtual host works with 8080 but not without specifying...
 
 
 Hello,
 As per the instruction in many of the archives I commented the 
 lines as 
  !-- Connector 
 className=org.apache.tomcat.service.PoolTcpConnector
  Parameter name=handler value=org.apache.tomcat.service.http.
 HttpConnectionHandler/
  Parameter name=port value=8080/ 
  /Connector --
 
 But it doesn't solve the purpose for vitual host ie.
 http://www.xyz-infoway.com/greet.jsp 
 Either I get invalid response or cannot find server.What to do? Is 
 there any problem in my isapi filter .And also Do this filter 
 isapi_redirect.
 dll has to be set for all sites or for the main root computer by 
 going into its properties and edit www properties?
 I haven't set any filter in the particular site.and now when I set 
 it it becomes green but its priority remains unknown and that also 
 doesn't solve the purpose.when I un comment these above line s it 
 works perfectly 
 by executing http://www.xyz-infoway.com:8080/greet.jsp
 what can be the problem pleaseplease guide me.I don't know where 
 is the problem?
 
 Dhwani
 
 
 
 
 
 
 
 
 




AW: IIS - Tomcat Configuration

2001-06-25 Thread Hessing Ingo

 
Hi!
 
You can find the mounting in the file uriworkermap.properties. Here you
can mount a context to the standard jni worker named inprocess. Here
is an example that mounts both the servlet and the examples context
to the jni worker named inprocess:
/servlet/*=inprocess
/examples/*=inprocess

Best wishes

Ingo Hessing

 

-Ursprüngliche Nachricht-
Von: mac [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 25. Juni 2001 12:25
An: [EMAIL PROTECTED]
Betreff: IIS - Tomcat Configuration


Hi,

I have follow the instruction in the HowTo to setup the
tomcat on IIS.
But I don't understand the last part of the setup. How am I
setting up the
Redirect contexts to the JNI workers. What is the mean by
modify the mount
file to mount contexts to the JNI worker.

Hope to get your reply soon. Thanks in advance.

Regards,
Kim Hong