RE: JK + client authentication: getRemoteUser() returns null

2003-03-12 Thread Ignacio J. Ortega
Peter,
 
where do you search? :) better to search where the info is ...
 
http://marc.theaimsgroup.com/?w=2r=1s=tomcatAuthenticationq=t
 
elaborating on b):
 
jk2 is the internal name for 2 things:
 
1) a new native connector arch based on jk but enterely new..
2) the new Coyote based ajp13 connector, that is the java code that
manages ajp13 connections.. and it's compatible with native jk and jk2..
that is this new connector replace the ajp13connector you found in 4.0.6
server.xml jk2.properties it's a cfg file for Coyote/jk2..
 
here it's a explanation of the subtles for this 3 different things, jk
native, jk2 native, and Coyote/jk2 connector for tomcat..,
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/
 
Saludos,
Ignacio J. Ortega 

 
 
-Original Message-
From: Mayne, Peter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:22 AM
To: 'Tomcat Users List'
Subject: RE: JK + client authentication: getRemoteUser() returns null



a) My apologies. I certainly try to send plain text, but Outlook has a
mind of its own, however tiny it may be. I think I've now beaten it into
submission.

b) I'll give it a try. From what I've seen mentioned of jk2, it's not
ready for production use, not as tested and reliable as jk, etc, so
I've haven't tried it. I also presumed that jk and jk2 being different
things, that a jk2.properties file wouldn't modify a jk configuration.

c) I've searched for tomcatAuthentication, but I didn't realise that
putting it in the properties file (as opposed to specifying it in
server.xml) would make a difference.(Not to mention that searching the
archive is currently returning 0 results.)

Thanks. 

PJDM 
-- 
Peter Mayne 
Technology Consultant 
Spherion Technology Solutions 
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 
T: 61 2 62689727  F: 61 2 62689777 

 -Original Message- 
 From: Ignacio J. Ortega [ mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 12 March 2003 1:56 AM 
 To: 'Tomcat Users List' 
 Subject: RE: JK + client authentication: getRemoteUser() returns null 
 
 
 Peter, 
 
 a) Dont send HTML messages to this list, Read 
 http://jakarta.apache.org/site/mail.html. 
 b) jk2.properties it's used for the coyote connector jk 
 configuration ( 
 aka jk2 java part), not matter which native connector 
 (jk,jk2) you use.. 
 
 c) The recipe of i gave to you has been proved to death, by 
 many people, 
 search archives for tomcatAuthentication.. 
 
 Saludos, 
 Ignacio J. Ortega 
 
 
 
 -Original Message- 
 From: Mayne, Peter [ mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 11, 2003 2:27 AM 
 To: 'Tomcat Users List' 
 Subject: RE: JK + client authentication: getRemoteUser() returns null 
 
 
  add ... to jk2.properties 
 jk2, even though I'm using jk? 
 Anyway, I tried it and it still didn't work. 
 Thanks anyway. 
 PJDM 
 -- 
 Peter Mayne 
 Technology Consultant 
 Spherion Technology Solutions 
 Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 
 T: 61 2 62689727  F: 61 2 62689777 
  -Original Message- 
  From: Ignacio J. Ortega [ mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, 11 March 2003 12:21 PM 
  To: 'Tomcat Users List' 
  Subject: RE: JK + client authentication: getRemoteUser() 
 returns null 
  
  
  add 
  
  request.tomcatAuthentication=false 
  
  to jk2.properties 
  
  Saludos, 
  Ignacio J. Ortega 
  
   -Original Message- 
   From: Filip Hanik [ mailto:[EMAIL PROTECTED] 
   Sent: Tuesday, March 11, 2003 1:12 AM 
   To: Tomcat Users List 
   Subject: RE: JK + client authentication: getRemoteUser() 
  returns null 
   
   
   you are correct, there is a bug filed for this, 
   Bugzilla Bug 11563 
    
   
   not sure anyone is dealing with it though, 
   Filip 
   -Original Message- 
   From: Mayne, Peter [ mailto:[EMAIL PROTECTED] 
   Sent: Monday, March 10, 2003 4:01 PM 
   To: Tomcat Users List 
   Subject: JK + client authentication: getRemoteUser() returns null 
   
   
   I'm using 
   Windows XP 
   Apache 2.0.44 
   OpenSSL 0.9.7a 
   mod_jk-2.0.43.dll 
   Tomcat 4.1.18 
   I've followed the instructions at 
  http://www.johnturner.com/howto/winxp-howto.html to set up 
 Apache and 
  Tomcat using JK, with authentication using client certificates. 
  Everything seems to be working fine, except 
 request.getRemoteUser() is 
 
  returning null. (The REMOTE_USER is shown from a CGI script, so 
  authentication is working.) 
  The only reference I can find to this problem is in 
  /tomcat-docs/config/jk.html: setting the tomcatAuthentication 
  attribute 
  when using org.apache.ajp.tomcat4.Ajp13Connector, but since this 
  connector doesn't appear in my server.xml, it doesn't seem to be 
  relevant. (It does seem to be relevant for Tomcat 4.0.6, but 
  I'd rather 
  not have to try dropping back to there.) 
  Before I post voluminous config files, am I missing something 
  obvious? 
  Thanks. 
  PJDM 
  -- 
  Peter Mayne 
  Technology Consultant 
  Spherion Technology Solutions 
  Level 1, 243

RE: JK + client authentication: getRemoteUser() returns null

2003-03-11 Thread Ignacio J. Ortega
Peter,

a) Dont send HTML messages to this list, Read
http://jakarta.apache.org/site/mail.html.
b) jk2.properties it's used for the coyote connector jk configuration (
aka jk2 java part), not matter which native connector (jk,jk2) you use..

c) The recipe of i gave to you has been proved to death, by many people,
search archives for tomcatAuthentication.. 

Saludos, 
Ignacio J. Ortega 



-Original Message-
From: Mayne, Peter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 2:27 AM
To: 'Tomcat Users List'
Subject: RE: JK + client authentication: getRemoteUser() returns null


 add ... to jk2.properties 
jk2, even though I'm using jk? 
Anyway, I tried it and it still didn't work. 
Thanks anyway. 
PJDM 
-- 
Peter Mayne 
Technology Consultant 
Spherion Technology Solutions 
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 
T: 61 2 62689727  F: 61 2 62689777 
 -Original Message- 
 From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 11 March 2003 12:21 PM 
 To: 'Tomcat Users List' 
 Subject: RE: JK + client authentication: getRemoteUser() returns null 
 
 
 add 
 
 request.tomcatAuthentication=false 
 
 to jk2.properties 
 
 Saludos, 
 Ignacio J. Ortega 
 
  -Original Message- 
  From: Filip Hanik [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, March 11, 2003 1:12 AM 
  To: Tomcat Users List 
  Subject: RE: JK + client authentication: getRemoteUser() 
 returns null 
  
  
  you are correct, there is a bug filed for this, 
  Bugzilla Bug 11563 
   
  
  not sure anyone is dealing with it though, 
  Filip 
  -Original Message- 
  From: Mayne, Peter [mailto:[EMAIL PROTECTED] 
  Sent: Monday, March 10, 2003 4:01 PM 
  To: Tomcat Users List 
  Subject: JK + client authentication: getRemoteUser() returns null 
  
  
  I'm using 
  Windows XP 
  Apache 2.0.44 
  OpenSSL 0.9.7a 
  mod_jk-2.0.43.dll 
  Tomcat 4.1.18 
  I've followed the instructions at 
 http://www.johnturner.com/howto/winxp-howto.html to set up Apache and 
 Tomcat using JK, with authentication using client certificates. 
 Everything seems to be working fine, except request.getRemoteUser() is

 returning null. (The REMOTE_USER is shown from a CGI script, so 
 authentication is working.) 
 The only reference I can find to this problem is in 
 /tomcat-docs/config/jk.html: setting the tomcatAuthentication 
 attribute 
 when using org.apache.ajp.tomcat4.Ajp13Connector, but since this 
 connector doesn't appear in my server.xml, it doesn't seem to be 
 relevant. (It does seem to be relevant for Tomcat 4.0.6, but 
 I'd rather 
 not have to try dropping back to there.) 
 Before I post voluminous config files, am I missing something 
 obvious? 
 Thanks. 
 PJDM 
 -- 
 Peter Mayne 
 Technology Consultant 
 Spherion Technology Solutions 
 Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 
 T: 61 2 62689727  F: 61 2 62689777 
 The information contained in this email and any attachments to it: 
 
 (a) may be confidential and if you are not the intended recipient, any

 interference with, 
 use, disclosure or copying of this material is unauthorised and 
 prohibited; and 
 
 (b) may contain personal information of the recipient and/or 
 the sender 
 as defined 
 under the Privacy Act 1988 (Cth). Consent is hereby given by the 
 recipient(s) to 
 collect, hold and use such information and any personal information 
 contained in a 
 response to this email, for any reasonable purpose in the ordinary 
 course of 
 Spherion's 
 business, including forwarding this email internally or 
 disclosing it to 
 a third party. All 
 personal information collected by Spherion will be handled in 
 accordance 
 with 
 Spherion's Privacy Policy. If you have received this email in error, 
 please notify the 
 sender and delete it. 
 
 (c) you agree not to employ or arrange employment for any candidate(s)

 supplied in 
 this email and any attachments without first entering into a 
 contractual 
 agreement with 
 Spherion. You further agree not to divulge any information 
 contained in 
 this document 
 to any person(s) or entities without the express permission 
 of Spherion. 
 
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 
 
The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any
interference with, 
use, disclosure or copying of this material is unauthorised and
prohibited; and

(b) may contain personal information of the recipient and/or the sender
as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the
recipient(s) to 
collect, hold and use such information and any personal information
contained in a 
response to this email, for any reasonable purpose in the ordinary
course of 
Spherion's 
business, including forwarding this email internally or disclosing it to
a third party. All 
personal information

RE: JK + client authentication: getRemoteUser() returns null

2003-03-10 Thread Ignacio J. Ortega
add

request.tomcatAuthentication=false

to jk2.properties

Saludos, 
Ignacio J. Ortega 

 -Original Message-
 From: Filip Hanik [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 11, 2003 1:12 AM
 To: Tomcat Users List
 Subject: RE: JK + client authentication: getRemoteUser() returns null
 
 
 you are correct, there is a bug filed for this,
 Bugzilla Bug 11563 
  
 
 not sure anyone is dealing with it though,
 Filip
 -Original Message-
 From: Mayne, Peter [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 4:01 PM
 To: Tomcat Users List
 Subject: JK + client authentication: getRemoteUser() returns null
 
 
 I'm using 
 Windows XP 
 Apache 2.0.44 
 OpenSSL 0.9.7a 
 mod_jk-2.0.43.dll 
 Tomcat 4.1.18 
 I've followed the instructions at 
http://www.johnturner.com/howto/winxp-howto.html to set up Apache and
Tomcat using JK, with authentication using client certificates.
Everything seems to be working fine, except request.getRemoteUser() is
returning null. (The REMOTE_USER is shown from a CGI script, so
authentication is working.)
The only reference I can find to this problem is in
/tomcat-docs/config/jk.html: setting the tomcatAuthentication attribute
when using org.apache.ajp.tomcat4.Ajp13Connector, but since this
connector doesn't appear in my server.xml, it doesn't seem to be
relevant. (It does seem to be relevant for Tomcat 4.0.6, but I'd rather
not have to try dropping back to there.)
Before I post voluminous config files, am I missing something obvious? 
Thanks. 
PJDM 
-- 
Peter Mayne 
Technology Consultant 
Spherion Technology Solutions 
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 
T: 61 2 62689727  F: 61 2 62689777 
The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any
interference with, 
use, disclosure or copying of this material is unauthorised and
prohibited; and

(b) may contain personal information of the recipient and/or the sender
as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the
recipient(s) to 
collect, hold and use such information and any personal information
contained in a 
response to this email, for any reasonable purpose in the ordinary
course of 
Spherion's 
business, including forwarding this email internally or disclosing it to
a third party. All 
personal information collected by Spherion will be handled in accordance
with 
Spherion's Privacy Policy. If you have received this email in error,
please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s)
supplied in 
this email and any attachments without first entering into a contractual
agreement with 
Spherion. You further agree not to divulge any information contained in
this document 
to any person(s) or entities without the express permission of Spherion.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help me out! IIS Redirector, POST problem

2003-03-01 Thread Ignacio J. Ortega
Rick,

 
 With Tomcat 4.1.18 and the latest JK IIS redirector (on 
 Windows XP Pro), HTTP POST requests to a servlet fail with 
 what appears to be a socket timeout error.  HTTP GET's work 
 perfectly.  The identical code runs perfectly (POST or GET) 
 when using Apache 2.0.43 with JK.
 
 

any logs? isapiredirector at debug level should help..

can you test with jk2? tried myself many times with jk2 and i know it
works well at least with slide sending big files, and slide is a pretty
complex app that make big use of POST.. i know that the same webapp (
using slide ) gave problems on jk.. soo.. 


Saludos, 
Ignacio J. Ortega 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Where to put workers2.properties?

2003-02-13 Thread Ignacio J. Ortega
Brett,

 
 If I could find this information anywhere, I'd be delighted 
 to modify the
 documentation and submit a patch.  But I don't know how to find the
 information online, and I'm currently too busy on other 
 matters to walk
 through the code to understand how it's actually supposed to work.
 

Please add a bug report with this message contents ( it will be a very
good report on how bad are our docs ;) to bugzilla,
http://nagoya.apache.org/bugzilla..

Thanks in advance, i'll try to take care of this ASAP.. ( ASAP for me is
not very soon at all :()..

Saludos, 
Ignacio J. Ortega 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Where to put workers2.properties?

2003-02-12 Thread Ignacio J. Ortega
Hola a todos, John:

 AFAIK, JK2 (mod_jk2) already knows where its files can be 
 found.  There is
 no JK2 equivalent for JK's JkWorkersFile.
 

This not true..

To make jk2 in apache look for a wk2.p file in any place you choose, you
only need to issue :

JkSet config.file /opt/jakarta/conf/workers2.properties

In your httpd.conf after the loadmodule line, in fact you can have a
wk2.p file less config, by using JkSet and JkUriSet for everything you
should put in a wk2.p file look at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html#
Server-specific%20configuration for a (brief i know ) explanation..


Saludos, 
Ignacio J. Ortega 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: newbie installation problem

2003-02-12 Thread Ignacio J. Ortega
Steve,

 
 Excuse my ignorance please, but what does RPM stand for 
 exactly?? I guess that the PM is package management. 
 

Do you use google? 

http://www.google.com 

Go to the editbox put RPM inside, click Search.. the first link you
will get IS the RPM explanation .. most if not ALL your question before
this one could have been  solved this simple trick..

Given the amount of trafic you have generated lately, please dont take
me wrong, i only want to help you abit..

Most of the time when i've got a term or a word i'd like to understand
with the simple trick above, i go..

Saludos, 
Ignacio J. Ortega 

PS: this message not an AD :))




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Building ISAPI connector with Ant - How to materialize apr.h?

2003-02-11 Thread Ignacio J. Ortega
Alex,

1) Install apache 2 latest version on your system, and you will get all
files  needed to get jk2 i_r2.dll to compile.. 

2) tweak b.p to suit to your needs.. 

3) call the vcvars32.bat file you will have in your MSVC6 or 7 install

4) ant.. 


Saludos, 
Ignacio J. Ortega 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Tomcat 4.1.18, JK2 - no iis_redirect.log

2003-02-06 Thread Ignacio J. Ortega
Roger, 

 
 Thanks Reynir I found it. Is it possible to change this 
 behaviour back to
 its original 3.2 behaviour. Our development server is 
 physically located
 at the other end of the building and I would like to be able 
 to view the log
 without taking a long walk :)

Yes it's possible add this to your wk2.p file, if the secttions are
created already, only add the values..

8--- 
#creates a new File logger to use instaead of the 
#default one, for IIS the default it's the event log
[logger.file:0]
file=${serverRoot}/logs/jk2.log

#uses the newly created File logger as the default one..
[workerEnv:]
logger=logger.file:0
8--- 

Saludos, 
Ignacio J. Ortega 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Tomcat 4.1.18, JK2 - no iis_redirect.log

2003-02-06 Thread Ignacio J. Ortega
Roger,

 Thanks Ignacio, that seems to be working. Is there anywhere where the
 possible contents of workers2.properties is documented.  This 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ despite the URL
given, this has information pertaining to both jk and jk2, take care..

 has been the
 major cause of my problems in getting Tomcat to work. For 
 example, I only
 found out about the need for [shm] through the archives of this list.
 

[shm] is needed section is needed to run i_r2.dll ?  

i'll test this.. shouldnt be needed at all.. or at least have a
plausible default that to not cause any problems if not needed..

I think it's a bug.. Please report this issue at
http://nagoya.apache.org/bugzilla.. Thanks..

Saludos, 
Ignacio J. Ortega 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: tomcat /apache2 / jk2 rewrites https:// requests as http://

2003-02-03 Thread Ignacio J. Ortega
Aaron,

 [uri:/tomcat/*]
 info=Tomcat

 I can't figure out how to get this to apply only to the SSL 
 virtual host
 in apache, but that's not a big deal - I can just deny access to that
 location from the non-SSL virtual host and allow access from the SSL
 host, or set up some kind of rule so that non-SSL requests 
 get rewritten
 appropriately.

Our fault, the docs are at least brief in this aspect and a little
outdated.. 

You can use 2 ways to acomplish wha you want:

1) add the vhost to the uri element

[uri:yourhost.com/tomcat/*]
info=Tomcat

2) adding a directive to httpd.conf, you dont need uri entry in wk2.p
file if using this way..

VirtualHost
...
JkUriSet worker ajp13_worker

/VirtualHost

 The main problem is that if I go to https://somehost.umd.edu/tomcat,
 something feels the need to rewrite that to
 http://somehost.umd.edu:443/tomcat, which needless to say 
 does not work.

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12998 this was
fixed time ago, i bet you are using a release without the fix, but as
you didnt post any information regarding what versions you use of
everything..  ;)

Read http://jakarta.apache.org/site/mail.html

Thanks

Saludos, 
Ignacio J. Ortega

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Ignacio J. Ortega
Andres,

 
 I too encounter the same problem. I checked the docs on
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
 . However,
 it seems that it still shows wrong commands for jk2. For example, on
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html ,
 JkMount is still posted
 (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowt
 o.html#mod_jk%20Directives).
 

Althought i can coincide with you that the documentation for JK/JK2 is
far from perfect, the 2 last documents you point out are jk docos
transformed to the new look, not jk2 docs, this directory bundles jk and
jk2 docos together under jk2 directory.. 

TO take a look at apache directives for JK2 see at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html#S
erver-specific%20configuration it must be clarified thought, any patches
are welcomed as ever ;)..

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Ignacio J. Ortega
Aleix,

 
 Hi,
 
   In the mail I wrote incorrectly the tomcatAuthentication 
 sentence, but
 I wrote it correctly in the jk2.properties file.
 

Think of it too ;), but discarded to ask for :) thanks for the
clarification..

   My authentication in Apache is made throw a users file that can be
 declared in httpd.conf in Apache. Then in the same file, I have the
 sentences to connect to Tomcat, and it works fine because I 
 can call all
 my servlets without problems. Maybe I'm forgetting something.
 

I assume that without tomcat using only apache you can see the BAsic
Auth dialog pops up..

Sorry to insist but the behaviour one can observe, when the 2 servers
(tomcat  apache ) are throwing his auth independently, is other, one
see Apache throwing his auth dialogs, but later Tomcat refuses to enter
in the protected area, so you can end seeing 2 auth dialogs poping up..
but to see only the tomcat one is really strange.. seems as Apache not
correctly configured from here..


Saludos, 
Ignacio J. Ortega 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Ignacio J. Ortega
Aleix,

 
 security-constraint
  display-nameExample Security Constraint/display-name
  web-resource-collection
  web-resource-nameProtected Area/web-resource-name
  url-pattern/*/url-pattern
  http-methodDELETE/http-method
  http-methodGET/http-method
  http-methodPOST/http-method
  http-methodPUT/http-method
  /web-resource-collection
  auth-constraint
  role-nametomcat/role-name
  /auth-constraint
 /security-constraint
 login-config
  auth-methodBASIC/auth-method
  realm-nameBASIC Authentication/realm-name
 /login-config
 security-role 
 role-nametomcat/role-name 
 /security-role
 


Oops, sorry senility is starting to bother me ;)..

Well the problem is related to the fact that Apache doenst have a
roleslike info and of course not having them Tomcat cannot know it from
him, so your security constraint ends not seeing the correct role for
that user, you need to have a correctly configured realm, using the
exact same names you get from apache, where tomcat can go to ask for the
user's roles... the Realm type doesnt matter for our porpouse..

If configuring exactly the same user name to have the needed roles in a
tomcat realm doesnt work, i think it's a bug in tc 4.1.18..

So to summarize:

1) Apache needs to be configured tro do the auth
2) Tomcat needs a Realm ( JDBC,MEMORY or whatever ) containing the same
exact usernames, with the associated roles, tha Apache will transmit to
TC..
3) tomcatAuthentication=false, so tomcat will get the username from
Apache..

I know is a pain, but the lack of the roles concept in Apache makes it
cumbersome, as web.xml only uses role names for security constraint not
usernames..

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob,

 However, I've tested both Tomcat-4.1.18 and Tomcat-4.1.19 and both
 seem to ignore the tomcatAuthentication=false.

add

request.tomcatAuthentication=true

to jk2.properties, it should work this way..

Saludos, 
Ignacio J. Ortega 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Opening Files Outside Context

2003-01-22 Thread Ignacio J. Ortega
Ricardo,

 
 I know for a fact the path is correct - when I run exactly 
 the same code
 with exactly the same file path it works... When I attempt to open the
 same file path in Tomcat I get a FileNotFoundException. The path is
 networked and on a different drive (h:) from the Tomcat and 
 when I moved
 the target file to the same, local drive (c:) it worked. Obviously
 either Java cannot see networked drives or some sort of file filter is
 in place. Strange...
 

Did you run Tomcat as a Service?

If you do, A service can not use mapped network drives if not configured
to be run by an user with network access, you will need to change from
the user in the service configuration to Administrator or a user with
acces with the same mapped drive  confiigured.

Another source of troubles are Java security plicy, AFAIK tc 4.1 run
with security policies activated, so probably you will need to grant
some acces to your servlet.. 

Saludos, 
Ignacio J. Ortega 


application/ms-tnef--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Jacob,

 
 BTW, I used
 request.tomcatAuthentication=false
 not
 request.tomcatAuthentication=true
 

Ooops, sorry, of course if you want tomcatAuthentication=false, you need
to put request.tomcatAuthentication=false not true :, next time i
will edit my CutPaste first i promise ..;)

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix,

 
 Hola Ignacio,
 
 He estado probando exactamente lo que vosotrois comentais, pero
 Tomcat me sigue pidiendo que entre login i password.
   Alguna idea?
 

No entiendo bien, estas seguro de que quien pide el password es tomcat y
no el servidor de http?

Un poco de informacion  sobre tu configuracion ayudaria un tanto, IIS?
Apache? version tomcat? etc etc

Y mejor en ingles en adelante.. asi se entera todo el mundo..

   Gracias
 
 Aleix
 

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: tomcatAuthentication=false and getRemoteUser returning null in recent versions of Tomcat

2003-01-22 Thread Ignacio J. Ortega
Aleix, 

 
 Ok,
 
Sorry about the laguage.
 

Conoces el chiste del taxista de Nueva york? ;)

My Apache version is 2.0.43 and Tomcat 4.1.18. I have a 
 servlets path
 with the web.xml file with the authentication configuration 
 in this way:
 
 

I suppouse you have configured apache to do the security, dont you?

I dont know very well Apache config but i think this is done be tweaking
.htaccess files.. 

Sorry for the dumbest question, but i must ask first  :)

 
 But, tomcat asks me for the login! 
 My users are authenticated throw Apache, and I want to use this logins
 with my servlets.
 

Ithink there is a misconception here, to make apache ask for a user and
pass is an apache thing, the only thing tomcatAuthentication does is to
ignore or use any auth done by the Http server at tomcat level, what
this means? You need to config apache first and after that, make tomcat
use it.. Tomcat will not command apache to do any auth based on web.xml
constraints..

If not the case, i think i'll need to see some logs, the access.log from
apache, error.log etc, and the tomcat related ones, not very sure which
tomcat logs contains auth info, but putting debug='99' at the context
level and authenticator in server.xml will help..

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat IIS Worker problem

2002-10-15 Thread Ignacio J. Ortega

 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 7:09 PM

 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (82)]: Into wc_open
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (207)]: Into 
 build_worker_map, creating 1 workers
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (213)]: 
 build_worker_map, creating worker ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (138)]: Into wc_create_worker
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (152)]: 
 wc_create_worker, about to create instance ajp12 of ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (264)]: Into 
 ajp12_worker_factory
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (161)]: 
 wc_create_worker, about to validate and init ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (182)]: Into 
 jk_worker_t::validate
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (194)]: In 
 jk_worker_t::validate for worker ajp12 contact is localhost:8007
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (177)]: 
 wc_create_worker, done
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (223)]: 
 build_worker_map, removing old ajp12 worker 
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (235)]: 
 build_worker_map, done


This log excerpt seems to say that your workers.properties files doenst
define a ajp13 worker, and you are assinging the uri to this
nonexistent worker.. 

1) To see it working use ajp12 instead of ajp13 in your uw.p file
2) post your w.p file to help you use the better ajp13 protocol instead
of ajp12

HTH

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: RE: HELP How to build JK2.2.0.1 on linux

2002-10-14 Thread Ignacio J. Ortega

 From: yoom nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 14, 2002 2:21 AM

 [tomcat@dev1 jk]$ ant jkant
 Buildfile: build.xml
 
 jkant:
 
 BUILD FAILED
 file:/db2/tomcat/jk2201/jk/build.xml:228: 
 srcdir /db2/tomcat/jk2201/jk/jkant/java does not exist

Which sources are you using? if using CVS maybe you need to do a cvs
update -P -d -a, to get all the source dirs, your installation lacks the
jk java part, where is located the jkant code..

Saludos, 
Ignacio J. Ortega 

 -Original Message-
 To: Tomcat Users List
 Subject: Re: RE: HELP How to build JK2.2.0.1 on linux
 
 
 This is what I got back.  
 
 
 Total time: 6 seconds
 
 
 - Original Message -
 From: Ignacio J. Ortega [EMAIL PROTECTED]
 Date: Saturday, October 12, 2002 8:16 pm
 Subject: RE: HELP How to build JK2.2.0.1 on linux
 
   From: yoom nguyen [mailto:[EMAIL PROTECTED]]
   Sent: Saturday, October 12, 2002 9:16 PM
  
   
   ***
   If I run ant under /distribution-from-apaches/jk/native2 
   directory I got
   these errors
   
   1.
   [taskdef] Could not load definitions from resource 
 META-IN It coul
   d not be found.
   
   BUILD FAILED
   file:/db2/tomcat/jk2201/jk/native2/build.xml:276: Could not 
   create task
   or type 
   of type: so.
   
   
  
  
  You need frist to compile the needed task classes for ant, to do 
  it go
  jk dir and issue ant jkant
  
  
  Saludos, 
  Ignacio J. Ortega 
  
  --
  To unsubscribe, e-mail:   mailto:tomcat-user-
  [EMAIL PROTECTED]For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
  
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: HELP How to build JK2.2.0.1 on linux

2002-10-13 Thread Ignacio J. Ortega

 From: yoom nguyen [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, October 12, 2002 9:16 PM

 
 ***
 If I run ant under /distribution-from-apaches/jk/native2 
 directory I got
 these errors
 
 1.
 [taskdef] Could not load definitions from resource META-INF/ant.tasks.
 It coul
 d not be found.
 
 BUILD FAILED
 file:/db2/tomcat/jk2201/jk/native2/build.xml:276: Could not 
 create task
 or type 
 of type: so.
 
 


You need frist to compile the needed task classes for ant, to do it go
jk dir and issue ant jkant


Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Documentation

2002-10-02 Thread Ignacio J. Ortega

 De: Turner, John [mailto:[EMAIL PROTECTED]]
 Enviado el: 1 de octubre de 2002 14:12

 they should cover.  If they did, this list wouldn't get 
 100-150 messages
 every night.

:-), Please count how many messages of this 100 or 150 are from simply
not reading ANY docs... good or bad.. 

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




JK2: Mod_jk2 Isapi_redirector2.dll

2002-09-26 Thread Ignacio J. Ortega

Hola a todos:

We ( jk2 developers ) need some numbers about people using mod_jk2 and
isapi_redirector2.dll, simply reply to this message with a me too, you
can in addition outline problems you are having with this new code, we
will try to solve them before the first beta ( later on october ) .. 

Thanks all in advance..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat+IIS+https redirect

2002-09-25 Thread Ignacio J. Ortega

 De: Hoffman, Matt [mailto:[EMAIL PROTECTED]]
 Enviado el: 25 de septiembre de 2002 5:18

 found it. We recently implemented an SSL accelerator which acts as a
 frontend, transfering de-encrypted SSL communcation to IIS, which then
 transfers it to Tomcat. The only problem is when we use a 

It's a issue with Tomcat ( any version if i recall well ), tomcat does a
redirection to the welcome pages, and your acelerator is sending the req
uest to tc and iis withoput the correct scheme, when tomcat trie to do a
redirect for the welcome page i does not have any way to get to know
that the redirection   should be with https instead of http.. 

a Solution could be to use a static page for welcome file served
directly from IIs not tomcat, IIS doesnot redirect for welcome files,
does the equivalent to a jsp:forward..

In anycase with your setup, you couldnt do any redirect from tomcat nor
from IIS.. 

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache/Tomcat Production Configuration

2002-09-17 Thread Ignacio J. Ortega

 De: Glenn Nielsen [mailto:[EMAIL PROTECTED]]
 Enviado el: 17 de septiembre de 2002 2:11


Glenn,

 I haven't looked much into using jk2 for production yet 
 because it doesn't have the
 features I need and is still a relatively new codebase.
 

Which features do you need on jk2?

I think it's the right moment to ask for them, and include some new
ones.. too :))

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: HTTP 1.0 under Tomcat

2002-09-10 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Enviado el: 10 de septiembre de 2002 17:05
 Para: [EMAIL PROTECTED]
 Asunto: HTTP 1.0 under Tomcat
 
 
 Hi,
 
I need to force Tomcat to downgrade to HTTP 1.0 support. I 
 specifically need to test what happens when our HTTP 1.1 
 compliant client interacts with your HTTP 1.0 server for QA 
 purposes. Does anyone know how this can be done using Tomcat 
 or Apache? Are there old versions which are strictly HTTP/1.0 
 compliant I can use?
 
 Thank you,
 Gili
 

First HTTP/1.0 doesnt exist as a recognized protocol,. at least it not
defined with a formal set of features like it's HTTP1.1, is more like a
set of recommendations to build interoperable clients and server, see
http://www.rfc-editor.org/rfc/rfc1945.txt Section 1.1 This
specification reflects common usage of the protocol referred too as
HTTP/1.0. This specification describes the features that seem to be
consistently implemented in most HTTP/1.0 clients and servers. 

Said that ( that there is no client or server with plain HTTP1.0 ) your
best bet is to use tomcat 3.3 and his standalone http connector.. 


Saludos ,
Ignacio J. Ortega


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Manger problem when integrate Tomcat 4 with IIS

2002-09-05 Thread Ignacio J. Ortega

Please do not doble post, and this is a user message so .. 

TO use tomcat own auth You do need to disable completely the
authentication in your IIS server, the 3 fields login i think indicate
that your browser is seeing a NTLM challenge from the IIS server (
nothing that Tomcat generate in anycase ), to desactivate the IIS auth
.. go to the Interent services console, and dig into the serever
properties... i use a Spanish w2k.. it's difficult to indicate the exact
place :)), anyone?


Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Shan Fu [mailto:[EMAIL PROTECTED]]
 Enviado el: 5 de septiembre de 2002 23:52
 Para: [EMAIL PROTECTED]
 Asunto: Manger problem when integrate Tomcat 4 with IIS
 
 
 Tomcat 4.0.4 and IIS 5 on Windows 2000 professional is successfully
 installed and integrated. Example application runs well. When I try to
 access manager, a authentication challenge window popped up - 
 everything
 is ok till this time - but the problem is that I got a three field
 window instead of the two one. I was asked for a Domain 
 name. What is
 this supposed to be? I tried our network domain name with and without
 the suffix, I add a new user with the same name and password 
 as the one
 specified in the tomcat-user.xml file...still not work. Anyone has any
 idea?
  
 Thanks.
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Compiling mod_jk, mod_jk2 on Solaris

2002-08-30 Thread Ignacio J. Ortega



Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Enviado el: 30 de agosto de 2002 16:59
 Para: [EMAIL PROTECTED]
 Asunto: Compiling mod_jk, mod_jk2 on Solaris
 
 
 Sorry,
 the two lines
 target name=all-native depends=native,native2 
 target name=all-clean-native depends=clean-native,clean-native2 
 
 are missing the closing slash and should read
 
 target name=all-native depends=native,native2 /
 target name=all-clean-native 
 depends=clean-native,clean-native2 /
 
 I  apologize for that.
 Gabriele.
 
 [EMAIL PROTECTED]
 055-420 2832
 388-9473323
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4

2002-08-30 Thread Ignacio J. Ortega

Pleas, dont send high priority signed messages they are cumbersome,
thanks.

 De: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
 Enviado el: 31 de agosto de 2002 1:29
 Para: [EMAIL PROTECTED]
 Asunto: Re: HELP! 3 days and still no go with Apache2 and TomCat 4.0.4
 
 On Fri, Aug 30, 2002 at 07:04:38PM -0400, Dennis Megarry wrote:
 

 the directives don't work with jk2.  it uses the jk2.properties and
 workers2 files.
 

Wrong, there are directives for mod_jk2, only they are different and
badly documented ;), but they are, i mainly use IIS so my knowledge of
the mod_jk2 is limited but directly from the sourec i've get this..

static const command_rec jk2_cmds[] =
{
/* This is the 'main' directive for tunning jk2. It takes 2
parameters,
   and it behaves _identically_ as a setting in
workers.properties.
*/
AP_INIT_TAKE2(
JkSet, jk2_set2, NULL, RSRC_CONF,
Set a jk property, same syntax and rules as in JkWorkersFile),
AP_INIT_TAKE2(
JkUriSet, jk2_uriSet, NULL, ACCESS_CONF,
Defines a jk property associated with a Location),
NULL
};

So here they are.. :)

 
 now hopefully, cluefull.  :-)
 

hmm..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Little trouble with IIS 5 and Tomacat 4.0.4

2002-07-26 Thread Ignacio J. Ortega

sop you  only needs to map jsp files? all other content goes to iis ?

try

/*.jsp=$(default.worker)

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester
 Enviado el: 26 de julio de 2002 0:47
 Para: [EMAIL PROTECTED]
 Asunto: Re: Little trouble with IIS 5 and Tomacat 4.0.4
 
 
 Well gues what Ignacio?  You have shown me why I lost my ASP 
 sessions using JRun
 4.  When I did as you suggested I was able to do 
 http://localhost/mypage.jsp.
 Worked great.  Then in about 20 minutes I guess it was 
 Exchange Internet
 Messaging closed down.  I thought crap but OK.  Then I 
 noticed my ASP Web Site
 had no longer worked.  This http://localhost/default.asp is 
 giving a Tomcat
 Error.  So what is happening?  Well of course there is no 
 default.asp in
 C:\Program Files\Apache Tomcat 4.0\webapps\ROOT and I doubt I 
 could put one
 there.  If I can then it is going to take a major overhaul of 
 my Server.  If I
 can't then I am going to have to remove your suggestion.  
 Aren't puters
 wonderful?
 
 --
 George Hester
 _
 Ignacio J. Ortega [EMAIL PROTECTED] wrote in message
 80F5674514B4D311BAFC0040F6A45EEE2EB825@ntserver">news:80F5674514B4D311BAFC0040F6A45EEE2EB825@ntserver...
  ROOT is directory name where ROOT context resides ( the 
 one that get
  served by default when there is no context name in the URL), so when
  writing a uwp.p file to redirect / to IIS you need to do :
 
  /=$(default.worker)
  /*=$(default.worker)
 
  Saludos ,
  Ignacio J. Ortega
 
 
   -Mensaje original-
   De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester
   Enviado el: 25 de julio de 2002 22:24
   Para: [EMAIL PROTECTED]
   Asunto: Re: Little trouble with IIS 5 and Tomacat 4.0.4
  
  
   Here I was thinking a little more about what you said.  So I
   went to C:\Program
   Files\Apache Tomcat 4.0\conf\server.xml and opened it in
   Notepad.  I have this:
  
   Fo ROOT:
   ___
   !-- Tomcat Root Context --
  
   Context path= docBase=ROOT debug=0/
   ___
  
   For examples:
   
   !-- Tomcat Examples Context --
   Context path=/examples docBase=examples debug=0
reloadable=true crossContext=true
 Logger 
 className=org.apache.catalina.logger.FileLogger
prefix=localhost_examples_log. 
 suffix=.txt
  timestamp=true/
 Ejb   name=ejb/EmplRecord type=Entity
home=com.wombat.empl.EmployeeRecordHome
  remote=com.wombat.empl.EmployeeRecord/
   ___
  
   It seems that ROOT is very sparse.  examples has lots a stuff
   there.  examples
   works as in http://localhost/examples but ROOT does not as in
   http://localhost/ROOT.  But this does work showing index.html
   in C:\Program
   Files\Apache Tomcat 4.0\webapps\ROOT\index.html
   http://localhost:8080  This
   tells me ROOT is not being seen by IIS.
  
   --
   George Hester
   _
   George Hester [EMAIL PROTECTED] wrote in message
   ahpkto$o4d$[EMAIL PROTECTED]">news:ahpkto$o4d$[EMAIL PROTECTED]...
ROOT as in the ROOT folder that was put in C:\Program
   Files\Apache Tomcat
4.0\webapps\ROOT upon installing Tomcat.  I followed the
   directions on this
page:
   
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
   
and this folder:
   
C:\Program Files\Apache Tomcat 4.0\webapps\examples
   
works just has he says it should.  I do not recall I making
   any changes to
server.xml from what he said other then where he says:
_
Edit server.xml file
   
Open the %CATALINA_HOME%\conf\server.xml file for editing
   
The AJP connector is not enabled by default. To enable it,
   uncomment the
following section in $CATALINA_HOME/conf/server.xml:
(in original file, its line 74 ;)
   
!--
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0/
--
   
Also note that when placing new files (e.g. jars) into
   %CATALINA_HOME%\/lib
   edit
the wrapper.properties, and make sure to restart WWW
   Publishing Service (IIS)
rather than the Tomcat service in order to have the new
   libs used by Tomcat.
__
   
and as that is not specific to examples I figured that
   was not part of the
solution.
   
You say it is?  Can you be more descriptive?  Like what I
   need to do?  Thanks.
   
--
George Hester
_
Turner, John [EMAIL PROTECTED] wrote in message
   
   
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Tomcat has to be configured in addition to
   uriworkermap.properties.  Do you
 have a Context in server.xml 

RE: Weird errors in iis_redirect.log

2002-07-26 Thread Ignacio J. Ortega

This is a code red worm attack or something, when you map /* to tomcat (
as in my first response to your questions ), then all the requests
without context are redirected to tomcat, hence you see i_r.dll refusing
to map that bad request, and you see the result in logs..

if you use the second mapping proposed (/*.jsp) you'll not see any logs
about this, because tomcat will not see this requests.. and will not log
anything..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester
 Enviado el: 25 de julio de 2002 21:26
 Para: [EMAIL PROTECTED]
 Asunto: Weird errors in iis_redirect.log
 
 
 This is using Tomacat with IIS 5 Windows 2000 and the ISAPI 
 available here:
 
 http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
 
 In my log I am getting very many errors all the same and they are:
 
 [Sat Jul 20 23:23:56 2002]  [jk_isapi_plugin.c (588)]: HttpFilterProc
 [/scripts/..À/../winnt/system32/cmd.exe] contains forbidden 
 escape sequences.
 
 Many of these; all the same; except the date changes.  They 
 seem to occur every
 hour.
 
 Can I stop this and if so can you suuggest how?  Thanks.
 
 --
 George Hester
 _
 
 
 
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Little trouble with IIS 5 and Tomacat 4.0.4

2002-07-25 Thread Ignacio J. Ortega

ROOT is directory name where ROOT context resides ( the one that get
served by default when there is no context name in the URL), so when
writing a uwp.p file to redirect / to IIS you need to do :

/=$(default.worker)
/*=$(default.worker)

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester
 Enviado el: 25 de julio de 2002 22:24
 Para: [EMAIL PROTECTED]
 Asunto: Re: Little trouble with IIS 5 and Tomacat 4.0.4
 
 
 Here I was thinking a little more about what you said.  So I 
 went to C:\Program
 Files\Apache Tomcat 4.0\conf\server.xml and opened it in 
 Notepad.  I have this:
 
 Fo ROOT:
 ___
 !-- Tomcat Root Context --
 
 Context path= docBase=ROOT debug=0/
 ___
 
 For examples:
 
 !-- Tomcat Examples Context --
 Context path=/examples docBase=examples debug=0
  reloadable=true crossContext=true
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=localhost_examples_log. suffix=.txt
timestamp=true/
   Ejb   name=ejb/EmplRecord type=Entity
  home=com.wombat.empl.EmployeeRecordHome
remote=com.wombat.empl.EmployeeRecord/
 ___
 
 It seems that ROOT is very sparse.  examples has lots a stuff 
 there.  examples
 works as in http://localhost/examples but ROOT does not as in
 http://localhost/ROOT.  But this does work showing index.html 
 in C:\Program
 Files\Apache Tomcat 4.0\webapps\ROOT\index.html 
 http://localhost:8080  This
 tells me ROOT is not being seen by IIS.
 
 --
 George Hester
 _
 George Hester [EMAIL PROTECTED] wrote in message
 ahpkto$o4d$[EMAIL PROTECTED]">news:ahpkto$o4d$[EMAIL PROTECTED]...
  ROOT as in the ROOT folder that was put in C:\Program 
 Files\Apache Tomcat
  4.0\webapps\ROOT upon installing Tomcat.  I followed the 
 directions on this
  page:
 
  http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
 
  and this folder:
 
  C:\Program Files\Apache Tomcat 4.0\webapps\examples
 
  works just has he says it should.  I do not recall I making 
 any changes to
  server.xml from what he said other then where he says:
  _
  Edit server.xml file
 
  Open the %CATALINA_HOME%\conf\server.xml file for editing
 
  The AJP connector is not enabled by default. To enable it, 
 uncomment the
  following section in $CATALINA_HOME/conf/server.xml:
  (in original file, its line 74 ;)
 
  !--
  Connector className=org.apache.ajp.tomcat4.Ajp13Connector
  port=8009 minProcessors=5 maxProcessors=75
  acceptCount=10 debug=0/
  --
 
  Also note that when placing new files (e.g. jars) into 
 %CATALINA_HOME%\/lib
 edit
  the wrapper.properties, and make sure to restart WWW 
 Publishing Service (IIS)
  rather than the Tomcat service in order to have the new 
 libs used by Tomcat.
  __
 
  and as that is not specific to examples I figured that 
 was not part of the
  solution.
 
  You say it is?  Can you be more descriptive?  Like what I 
 need to do?  Thanks.
 
  --
  George Hester
  _
  Turner, John [EMAIL PROTECTED] wrote in message
  
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  
   Tomcat has to be configured in addition to 
 uriworkermap.properties.  Do you
   have a Context in server.xml for that directory?  I'm 
 curious, when you type
   ROOT do you actually mean a directory called ROOT or 
 is that like a
   placeholder for something else?
  
   John Turner
   [EMAIL PROTECTED]
  
  
   -Original Message-
   From: George Hester [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, July 25, 2002 3:22 PM
   To: [EMAIL PROTECTED]
   Subject: Little trouble with IIS 5 and Tomacat 4.0.4
  
  
   I followed this web site to integrate IIS with Tomact:
  
   http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
  
   It works fine in the examples folder as how he has it in 
 the test.  But I
   don't
   want that to be the only folder in fact I don't want that 
 folder at all to
   be
   used through IIS.  I would like the ROOT folder to be 
 used.  It seems based
   on
   his suggestions on how to get Tomcat and IIS to work 
 together I need to make
   only one change and that is in:
  
   C:\Program Files\Apache Tomacat 
 4.0\conf\ntiis\uriworkermap.properties and
   that
   is this:
  
   /examples=$(default.worker)
   /examples/*=$(default.worker)
   /ROOT=$(default.worker)
   /ROOT/*=$(default.worker)
  
   But that didn't work.
  
   Any ideas how I get the ROOT folder to be used by IIS?
  
   Right now I get the correct output if I put in 
http://localhost/examples
 
  but if I try http://localhost/ROOT I get a Tomacat Error that
nothing can be
  found here.
 
  --
  George Hester
  _
 
 
 
 
 
  --
  To unsubscribe, e-mail:

RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Ignacio J. Ortega

I'm little out if this thread, could anyone give detaails about the test
case, maybe attaching it to an ad hoc bug in bugzilla, thanks

I'll take a look on this, if i can reproduce it..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Short, Dave [mailto:[EMAIL PROTECTED]]
 Enviado el: 24 de julio de 2002 21:21
 Para: 'Tomcat Users List'
 Asunto: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
 
 
 Perhaps one of the mod_jk2 developers could comment?
 
 -Original Message-
 From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Sent: July 24, 2002 12:15 PM
 To: Tomcat Users List
 Subject: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
 
 
 Hello Dave,
 
 Yeah, I've noticed the same thing with Mozilla (latest nightly build).
 It think mod_jk2 is doing something wrong with the http headers.  IE
 tends to be really lax in enforcing various specs which is why you
 always hear complaints saying but it works in IE thinking it is
 Netscape's fault for not doing it right when, in fact, Netscape is
 doing things propery and IE is just ignoring bad syntax.
 
 Either way, something is not quite right with mod_jk2 and http1.1
 
 Jake
 
 Wednesday, July 24, 2002, 12:11:59 PM, you wrote:
 
 SD I'm using mod_jk2...  
 
 SD It seems to work somewhat consistently on IE 5.5 and VERY 
 inconsistently
 on
 SD Netscape 4.7x on my W2K professional laptop.  It works 
 fine with IE 5.5
 on
 SD my W2K server tower, but not with Navigator 4.7x.  Strange.
 
 SD -Original Message-
 SD From: Chris McCabe [mailto:[EMAIL PROTECTED]]
 SD Sent: July 24, 2002 10:06 AM
 SD To: Tomcat Users List
 SD Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
 
 
 SD I ran into the same problem, and it appears to be related to the 
 SD mod_webapp module.  I switched to using mod_jk and it now 
 works.  I 
 SD could not find any clues to what was causing the problem 
 (exceptions, 
 SD etc.) and searching the web only turned up others having the same 
 SD problem with no solution.
 
 SD Chris
 
 SD Short, Dave wrote:
 
 There is an issue with Apache 2.0.39 and Tomcat 4.1.8 
 (actually this issue
 first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
 SD servlet
 returns content (dynamically built HTML for instance) which 
 exceeds 8192
 in
 length, the content is truncated at 8192 and a blank page 
 is rendered by
 Apache.  Actually, Apache renders what was returned by 
 Tomcat (8192 bytes
 SD of
 the dynamically generated HTML page).  Basically, an 
 incomplete HTML page
 -
 hence it is displayed as blank.
 
 --
 To unsubscribe, e-mail:
 SD mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 SD mailto:[EMAIL PROTECTED]
 
 
   
 
 
 
 
 
 
 -- 
 Best regards,
  Jacobmailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to do stop-start fast?

2002-07-18 Thread Ignacio J. Ortega



Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Aleksi Kallio [mailto:[EMAIL PROTECTED]]
 Enviado el: 17 de julio de 2002 12:21
 Para: [EMAIL PROTECTED]
 Asunto: How to do stop-start fast?
 
 
 I have a script that stops Tomcat (shutdown.sh), does stuff and then 
 restarts it (startup.sh). Doing stuff doesn't take long enough and 
 Tomcat refuses to restart because the port is still reserved.
 
 Removing the restart from script and waiting a few secs after running 
 the script, then restarting manually, works. It is just a bit 
 frustrating. Also if a restart too early, Tomcat fails to start and 
 produces a process that has to be killed by hand and it's 
 also frustrating.
 
 How to check if Tomcat is stopped properly?
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000

2002-07-18 Thread Ignacio J. Ortega

 4. Build jk2 from cvs (current builds wont work)

Why? current nigthtly is a little outdated ( 2 weeks ) but should work..

This night i will replace nightlies ..

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: IIS + ISAPI Redirector (virtual host)

2002-07-16 Thread Ignacio J. Ortega

read http://marc.theaimsgroup.com/?t=10075719914r=1w=2

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: TurtleBF [mailto:[EMAIL PROTECTED]]
Enviado el: 16 de julio de 2002 19:40
Para: Tomcat Users List
Asunto: IIS + ISAPI Redirector (virtual host)


Hi all,

Iam working with IIS and Tomcat 4.0.4 and it is working fine. But...
I would like to know if it is possible (and how) to define one
uriworkermap file for each virtual host in IIS.

Thanks in advance.

Regards,

TBF


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: IIS + ISAPI Redirector (virtual host)

2002-07-16 Thread Ignacio J. Ortega

ughh, sorry the prior link was wrong here is the correct one,
http://marc.theaimsgroup.com/?l=tomcat-userm=100758131830979w=2 

Hope that helps..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-09 Thread Ignacio J. Ortega

 De: Short, Dave [mailto:[EMAIL PROTECTED]]
 Enviado el: 9 de julio de 2002 23:36

You doesnt need to copy libapr*.dll's if using apache2.. at least you'll
need to use the ones present at your install, or put them at
windows/system32..

And i dont know if the version i've built yesterday would work with
4.1.7, you'll need to wait until next release ( 4.1.8?), or build
Coyote/jk2 from CVS and add it to the installed 4.1.7 version, remember
this binaries are truly nightlies put in there for the unfainted heart
:), not for general use..

I'll check Apache2, for IIs they are ok.. ( given that you  use CVS
version for tc+coyote/jk2)

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: '[EMAIL PROTECTED]'
 Asunto: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
 
 
 I just downloaded the versions (jkjni.dll, libapr.dll, 
 libaprutil.dll into
 c:\tomcat\bin) and (mod_jk2.dll into c:\apache2\modules) from 
 yesterday and
 get the same result.
 
 An unexpected exception has been detected in native code 
 outside the VM.
 Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at 
 PC=0x100055b0
 Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
 Library=C:\Tomcat\bin\jkjni.dll
 
 Current Java thread:
   at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
   at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
   at org.apache.jk.server.JkMain.start(JkMain.java:286)
   at
 org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
   at
 org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCon
 nector.java:10
 02)
   at
 org.apache.catalina.core.StandardService.initialize(StandardSe
 rvice.java:579
 )
   at
 org.apache.catalina.core.StandardServer.initialize(StandardSer
 ver.java:2241)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
   at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at java.lang.reflect.Method.invoke(Native Method)
   at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
 Dynamic libraries:
 0x0040 - 0x00405000   C:\JDK1.3.1\bin\java.exe
 0x77F8 - 0x77FFB000   C:\WINNT\System32\ntdll.dll
 0x77DB - 0x77E0B000   C:\WINNT\system32\ADVAPI32.dll
 0x77E8 - 0x77F35000   C:\WINNT\system32\KERNEL32.DLL
 0x77D4 - 0x77DB   C:\WINNT\system32\RPCRT4.DLL
 0x7800 - 0x78046000   C:\WINNT\system32\MSVCRT.dll
 0x6D42 - 0x6D4F   C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
 0x77E1 - 0x77E74000   C:\WINNT\system32\USER32.dll
 0x77F4 - 0x77F7C000   C:\WINNT\system32\GDI32.DLL
 0x7757 - 0x775A   C:\WINNT\System32\WINMM.dll
 0x681A - 0x681A7000   C:\WINNT\System32\serwvdrv.dll
 0x6674 - 0x66747000   C:\WINNT\System32\umdmxfrm.dll
 0x6D22 - 0x6D227000   C:\JDK1.3.1\jre\bin\hpi.dll
 0x6D3B - 0x6D3BD000   C:\JDK1.3.1\jre\bin\verify.dll
 0x6D25 - 0x6D266000   C:\JDK1.3.1\jre\bin\java.dll
 0x6D3C - 0x6D3CD000   C:\JDK1.3.1\jre\bin\zip.dll
 0x6D34 - 0x6D348000   C:\JDK1.3.1\jre\bin\net.dll
 0x7505 - 0x75058000   C:\WINNT\System32\WSOCK32.dll
 0x7503 - 0x75043000   C:\WINNT\System32\WS2_32.DLL
 0x7502 - 0x75028000   C:\WINNT\System32\WS2HELP.DLL
 0x785C - 0x785CC000   C:\WINNT\System32\rnr20.dll
 0x7798 - 0x779A4000   C:\WINNT\System32\DNSAPI.DLL
 0x7734 - 0x77353000   C:\WINNT\System32\iphlpapi.dll
 0x7752 - 0x77525000   C:\WINNT\System32\ICMP.DLL
 0x7732 - 0x77337000   C:\WINNT\System32\MPRAPI.DLL
 0x7515 - 0x7516   C:\WINNT\System32\SAMLIB.DLL
 0x7517 - 0x751BF000   C:\WINNT\System32\NETAPI32.DLL
 0x77BE - 0x77BEF000   C:\WINNT\System32\SECUR32.DLL
 0x751C - 0x751C6000   C:\WINNT\System32\NETRAP.DLL
 0x7795 - 0x77979000   C:\WINNT\system32\WLDAP32.DLL
 0x77A5 - 0x77B46000   C:\WINNT\system32\OLE32.DLL
 0x779B - 0x77A4B000   C:\WINNT\system32\OLEAUT32.DLL
 0x773B - 0x773DE000   C:\WINNT\System32\ACTIVEDS.DLL
 0x7738 - 0x773A2000   C:\WINNT\System32\ADSLDPC.DLL
 0x7783 - 0x7783E000   C:\WINNT\System32\RTUTILS.DLL
 0x7788 - 0x7790D000   C:\WINNT\System32\SETUPAPI.DLL
 0x77C1 - 0x77C6D000   C:\WINNT\System32\USERENV.DLL
 0x774E - 0x77512000   C:\WINNT\System32\RASAPI32.DLL
 0x774C - 0x774D1000   C:\WINNT\System32\RASMAN.DLL
 0x7753 - 0x77552000   C:\WINNT\system32\TAPI32.DLL
 0x7170 - 0x7178A000   C:\WINNT\system32\COMCTL32.DLL
 0x70BD - 0x70C1C000   C:\WINNT\system32\SHLWAPI.DLL
 0x7736 - 0x77379000   C:\WINNT\System32\DHCPCSVC.DLL
 0x775A - 0x77625000   C:\WINNT\System32\CLBCATQ.DLL
 0x777E - 0x777E8000   C:\WINNT\System32\winrnr.dll
 0x777F - 0x777F5000   C:\WINNT\System32\rasadhlp.dll
 0x74FD - 0x74FEF000   C:\WINNT\system32\msafd.dll

RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-09 Thread Ignacio J. Ortega

I can confirm that tc4.1.x from CVS works nice with the nightly
binaries.. i still dont know of 4.1.7.. so this problem will be fixed in
a upcoming tomcat release for sure.. 

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Short, Dave [mailto:[EMAIL PROTECTED]]
 Enviado el: 9 de julio de 2002 23:51
 Para: 'Tomcat Users List'
 Asunto: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
 
 
 I tried moving the libapr*.dll from apache2\bin into 
 tomcat\bin and it still
 doesn't work.  If I remove the files from tomcat\bin tomcat displays a
 message stating that it can't find libapr.dll.
 
 -Original Message-
 From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
 Sent: July 09, 2002 2:46 PM
 To: 'Tomcat Users List'
 Subject: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
 
 
  De: Short, Dave [mailto:[EMAIL PROTECTED]]
  Enviado el: 9 de julio de 2002 23:36
 
 You doesnt need to copy libapr*.dll's if using apache2.. at 
 least you'll
 need to use the ones present at your install, or put them at
 windows/system32..
 
 And i dont know if the version i've built yesterday would work with
 4.1.7, you'll need to wait until next release ( 4.1.8?), or build
 Coyote/jk2 from CVS and add it to the installed 4.1.7 
 version, remember
 this binaries are truly nightlies put in there for the unfainted heart
 :), not for general use..
 
 I'll check Apache2, for IIs they are ok.. ( given that you  use CVS
 version for tc+coyote/jk2)
 
 Saludos ,
 Ignacio J. Ortega
 
 
  -Mensaje original-
  Para: '[EMAIL PROTECTED]'
  Asunto: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
  
  
  I just downloaded the versions (jkjni.dll, libapr.dll, 
  libaprutil.dll into
  c:\tomcat\bin) and (mod_jk2.dll into c:\apache2\modules) from 
  yesterday and
  get the same result.
  
  An unexpected exception has been detected in native code 
  outside the VM.
  Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at 
  PC=0x100055b0
  Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
  Library=C:\Tomcat\bin\jkjni.dll
  
  Current Java thread:
  at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
  at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
  at org.apache.jk.server.JkMain.start(JkMain.java:286)
  at
  org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
  at
  org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCon
  nector.java:10
  02)
  at
  org.apache.catalina.core.StandardService.initialize(StandardSe
  rvice.java:579
  )
  at
  org.apache.catalina.core.StandardServer.initialize(StandardSer
  ver.java:2241)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
  at 
  org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
  at 
  org.apache.catalina.startup.Catalina.process(Catalina.java:180)
  at java.lang.reflect.Method.invoke(Native Method)
  at 
  org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
  
  Dynamic libraries:
  0x0040 - 0x00405000 C:\JDK1.3.1\bin\java.exe
  0x77F8 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
  0x77DB - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
  0x77E8 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
  0x77D4 - 0x77DB C:\WINNT\system32\RPCRT4.DLL
  0x7800 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
  0x6D42 - 0x6D4F C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
  0x77E1 - 0x77E74000 C:\WINNT\system32\USER32.dll
  0x77F4 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
  0x7757 - 0x775A C:\WINNT\System32\WINMM.dll
  0x681A - 0x681A7000 C:\WINNT\System32\serwvdrv.dll
  0x6674 - 0x66747000 C:\WINNT\System32\umdmxfrm.dll
  0x6D22 - 0x6D227000 C:\JDK1.3.1\jre\bin\hpi.dll
  0x6D3B - 0x6D3BD000 C:\JDK1.3.1\jre\bin\verify.dll
  0x6D25 - 0x6D266000 C:\JDK1.3.1\jre\bin\java.dll
  0x6D3C - 0x6D3CD000 C:\JDK1.3.1\jre\bin\zip.dll
  0x6D34 - 0x6D348000 C:\JDK1.3.1\jre\bin\net.dll
  0x7505 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
  0x7503 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
  0x7502 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
  0x785C - 0x785CC000 C:\WINNT\System32\rnr20.dll
  0x7798 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
  0x7734 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
  0x7752 - 0x77525000 C:\WINNT\System32\ICMP.DLL
  0x7732 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
  0x7515 - 0x7516 C:\WINNT\System32\SAMLIB.DLL
  0x7517 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
  0x77BE - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
  0x751C - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
  0x7795 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
  0x77A5 - 0x77B46000 C:\WINNT\system32\OLE32.DLL
  0x779B - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
  0x773B - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
  0x7738 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL

RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-09 Thread Ignacio J. Ortega

One precision, you doesnt need jkjni at all to run a bare mod_jk2, with
tomcat 4.1.7, you will have some messages about apr not loaded but they
are harmless, actually the things that need jkjni all relate to Unix
machines, but shm.. and all of this is not needed to run successfully
mod_jk2 in win32 with tc 4.1.7..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Short, Dave [mailto:[EMAIL PROTECTED]]
 Enviado el: 9 de julio de 2002 23:36
 Para: '[EMAIL PROTECTED]'
 Asunto: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
 
 
 I just downloaded the versions (jkjni.dll, libapr.dll, 
 libaprutil.dll into
 c:\tomcat\bin) and (mod_jk2.dll into c:\apache2\modules) from 
 yesterday and
 get the same result.
 
 An unexpected exception has been detected in native code 
 outside the VM.
 Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at 
 PC=0x100055b0
 Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
 Library=C:\Tomcat\bin\jkjni.dll
 
 Current Java thread:
   at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
   at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
   at org.apache.jk.server.JkMain.start(JkMain.java:286)
   at
 org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
   at
 org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCon
 nector.java:10
 02)
   at
 org.apache.catalina.core.StandardService.initialize(StandardSe
 rvice.java:579
 )
   at
 org.apache.catalina.core.StandardServer.initialize(StandardSer
 ver.java:2241)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
   at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
   at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at java.lang.reflect.Method.invoke(Native Method)
   at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
 Dynamic libraries:
 0x0040 - 0x00405000   C:\JDK1.3.1\bin\java.exe
 0x77F8 - 0x77FFB000   C:\WINNT\System32\ntdll.dll
 0x77DB - 0x77E0B000   C:\WINNT\system32\ADVAPI32.dll
 0x77E8 - 0x77F35000   C:\WINNT\system32\KERNEL32.DLL
 0x77D4 - 0x77DB   C:\WINNT\system32\RPCRT4.DLL
 0x7800 - 0x78046000   C:\WINNT\system32\MSVCRT.dll
 0x6D42 - 0x6D4F   C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
 0x77E1 - 0x77E74000   C:\WINNT\system32\USER32.dll
 0x77F4 - 0x77F7C000   C:\WINNT\system32\GDI32.DLL
 0x7757 - 0x775A   C:\WINNT\System32\WINMM.dll
 0x681A - 0x681A7000   C:\WINNT\System32\serwvdrv.dll
 0x6674 - 0x66747000   C:\WINNT\System32\umdmxfrm.dll
 0x6D22 - 0x6D227000   C:\JDK1.3.1\jre\bin\hpi.dll
 0x6D3B - 0x6D3BD000   C:\JDK1.3.1\jre\bin\verify.dll
 0x6D25 - 0x6D266000   C:\JDK1.3.1\jre\bin\java.dll
 0x6D3C - 0x6D3CD000   C:\JDK1.3.1\jre\bin\zip.dll
 0x6D34 - 0x6D348000   C:\JDK1.3.1\jre\bin\net.dll
 0x7505 - 0x75058000   C:\WINNT\System32\WSOCK32.dll
 0x7503 - 0x75043000   C:\WINNT\System32\WS2_32.DLL
 0x7502 - 0x75028000   C:\WINNT\System32\WS2HELP.DLL
 0x785C - 0x785CC000   C:\WINNT\System32\rnr20.dll
 0x7798 - 0x779A4000   C:\WINNT\System32\DNSAPI.DLL
 0x7734 - 0x77353000   C:\WINNT\System32\iphlpapi.dll
 0x7752 - 0x77525000   C:\WINNT\System32\ICMP.DLL
 0x7732 - 0x77337000   C:\WINNT\System32\MPRAPI.DLL
 0x7515 - 0x7516   C:\WINNT\System32\SAMLIB.DLL
 0x7517 - 0x751BF000   C:\WINNT\System32\NETAPI32.DLL
 0x77BE - 0x77BEF000   C:\WINNT\System32\SECUR32.DLL
 0x751C - 0x751C6000   C:\WINNT\System32\NETRAP.DLL
 0x7795 - 0x77979000   C:\WINNT\system32\WLDAP32.DLL
 0x77A5 - 0x77B46000   C:\WINNT\system32\OLE32.DLL
 0x779B - 0x77A4B000   C:\WINNT\system32\OLEAUT32.DLL
 0x773B - 0x773DE000   C:\WINNT\System32\ACTIVEDS.DLL
 0x7738 - 0x773A2000   C:\WINNT\System32\ADSLDPC.DLL
 0x7783 - 0x7783E000   C:\WINNT\System32\RTUTILS.DLL
 0x7788 - 0x7790D000   C:\WINNT\System32\SETUPAPI.DLL
 0x77C1 - 0x77C6D000   C:\WINNT\System32\USERENV.DLL
 0x774E - 0x77512000   C:\WINNT\System32\RASAPI32.DLL
 0x774C - 0x774D1000   C:\WINNT\System32\RASMAN.DLL
 0x7753 - 0x77552000   C:\WINNT\system32\TAPI32.DLL
 0x7170 - 0x7178A000   C:\WINNT\system32\COMCTL32.DLL
 0x70BD - 0x70C1C000   C:\WINNT\system32\SHLWAPI.DLL
 0x7736 - 0x77379000   C:\WINNT\System32\DHCPCSVC.DLL
 0x775A - 0x77625000   C:\WINNT\System32\CLBCATQ.DLL
 0x777E - 0x777E8000   C:\WINNT\System32\winrnr.dll
 0x777F - 0x777F5000   C:\WINNT\System32\rasadhlp.dll
 0x74FD - 0x74FEF000   C:\WINNT\system32\msafd.dll
 0x7501 - 0x75017000   C:\WINNT\System32\wshtcpip.dll
 0x1000 - 0x10028000   C:\Tomcat\bin\jkjni.dll
 0x6EE0 - 0x6EE1E000   C:\Tomcat\bin\libapr.dll
 0x74FF - 0x75002000   C:\WINNT\System32\MSWSOCK.dll

RE: How I can redirect requests in Tomcat 4?

2002-07-03 Thread Ignacio J. Ortega

 De: Luca Ventura [mailto:[EMAIL PROTECTED]]
 Enviado el: 3 de julio de 2002 15:29
 Para: tomcat-user; tomcat-dev

This is a user question..

In addition you should read http://jakarta.apache.org/site/mail.html
carefully, in that document we ask specifycally to not crosspost..

Please do not missuse our resources, Thanks..

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [4.1.6] Milestone available for testing

2002-06-29 Thread Ignacio J. Ortega

Just fixed a problem when using Slide+IIS ( i suppouse that this was a
problem for apaches too , i dont know not tested ), Sorry, 4.1.7?

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alkto tomcat

2002-06-27 Thread Ignacio J. Ortega

 De: Mark Prins [mailto:[EMAIL PROTECTED]]
 Enviado el: 27 de junio de 2002 16:38

 I'm not sure I understand, but in my server.xml the connector 
 is specified
 as listening to 8009, so how's that?

Please post the log you get when starting tomcat just to be sure..

What i say is that by default the Coyote/JK2 ajp13 port is 8019 no 8009,
regarles of what is on server.xml, because jk2 uses jk2.propeties in
addition to server.xml, and there by default the JK2 port is 8019..

To be able to use isapi_redirector.dll with jk2 you shopuld change the
por in workers.properties for ajp13 to 8019..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alkto tomcat

2002-06-27 Thread Ignacio J. Ortega

 De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Enviado el: 27 de junio de 2002 20:23

 default.  If you comment all the stuff out in jk2.properties, Tomcat
 just generates a jk2.properties.save which has the following for me:

Good, my statments continue correct.. just checked what is on the dist
package for 4.1.3, below is pasted, if you do *nothing* i think the port
is 8019, if you comment it may be it's saved.. i really dont know..

8--- jk2.properties

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Override the default port for the socketChannel
channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
shm.file=${jkHome}/work/jk2.shm

apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
8--- jk2.properties




Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: Tomcat Users List
 Asunto: Re[2]: TC 4.1.3: JK2 connector dies? cant get isapi_redirector
 to t alkto tomcat
 
 
 Hello Ignacio,
 
 I don't think yours statement that jk2.properties is on port 8019 by
 
 #AUTOMATICALLY GENERATED
 #Tue Jun 25 11:09:03 CDT 2002
 maxThreads=75
 port=8009
 soTimeout=2
 jkHome=C\:\\Progra~1\\Apache~1\\Jakarta\\tomcat-4.1.3
 tcpNoDelay=true
 timeout=2
 secure=false
 backlog=10
 
 I think it generated all that based on what was defined in the Coyote
 jk2 connector.
 
 Jake
 
 Thursday, June 27, 2002, 12:19:38 PM, you wrote:
 
  De: Mark Prins [mailto:[EMAIL PROTECTED]]
  Enviado el: 27 de junio de 2002 16:38
 
  I'm not sure I understand, but in my server.xml the connector 
  is specified
  as listening to 8009, so how's that?
 
 IJO Please post the log you get when starting tomcat just to 
 be sure..
 
 IJO What i say is that by default the Coyote/JK2 ajp13 port 
 is 8019 no 8009,
 IJO regarles of what is on server.xml, because jk2 uses 
 jk2.propeties in
 IJO addition to server.xml, and there by default the JK2 
 port is 8019..
 
 IJO To be able to use isapi_redirector.dll with jk2 you 
 shopuld change the
 IJO por in workers.properties for ajp13 to 8019..
 
 IJO Saludos ,
 IJO Ignacio J. Ortega
 
 IJO --
 IJO To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 IJO For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 -- 
 Best regards,
  Jacobmailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TC 4.1.3: JK2 connector dies?

2002-06-27 Thread Ignacio J. Ortega

 De: Liam Morley [mailto:[EMAIL PROTECTED]]
 Enviado el: 28 de junio de 2002 0:20

Hey is *preAlpha* code!!! :) ( the JK2 Native part at least ) 

Thanks for testing it!! ;)

comments intermixed below

   I'm not sure if the port is my problem or not (and if everything is 
 using the same port, would it matter which one it was?), but 
 as far as 
 the port goes, I get the following two lines in my 
 jk2.properties.save 
 document:
 
 port=8019
 channelSocket.port=8009
 

No idea where comens from this port=8019.., get 4.1.6 ( from CVS or wait
until Remy packages it ) it may be solves this and much of the other
problems..

 
 Other than that, I have a few jk2 log questions I'd like to iron out.
 
 why is this an error: [error] workerEnv.init() create default worker 
 lb:lb It has an info or debug sound to it, unless 
 creating a worker 
 is a bad thing. this shows up every time tomcat starts up, located in 
 between a few notices. Are other people getting this as well? 

I'll check levels on this message, thanks..


 I'm also 
 getting a LOT of [warn]s that look like info or debug 
 messages. For example:
 [warn] config.setConfig():  process uriMap:
 [warn] config: set uriMap: / info / 63e7b0 / uriMap:.info = Maps the 
 requests.
 Of course I can set the log level higher to avoid these messages, but 
 what am I supposed to be warned about?

nothing? ;)

 After I make a request to http://localhost/my_webapp/, I get the 
 following errors and warns:
 [error] ajp13.service() error sending, reconnect 
 channel.socket:localhost:8019 -1 9 Bad file descriptor
 [warn] workerEnv.callbacks() channel.socket:localhost:8019
 [error] msgAjp.receive(): Bad signature 00
 [warn] BAD MESSAGE:  pos=4 len=4 max=8300
 [error] channelSocket.receive(): Bad header
 [error] workerEnv.processCallbacks() Error reading reply
 [error] ajp13.service() ajpGetReply unrecoverable error 21000
 [warn] ajp13.service() done ajp13:localhost:8019
 [warn] endpoint.close() ajp13:localhost:8019
 [warn] ajp13.done() close endpoint ajp13:localhost:8019 error_state 0
 [warn] ajp13.done() return to pool ajp13:localhost:8019
 [error] lb.service() worker failed ajp13:localhost:8019
 [error] lb.service() unrecoverable error...
 [error] mod_jk.handler() Error connecting to tomcat 21000
 
 It would be nice to know where the bad message or bad file 
 descriptor is.. I suppose that's another thing I'll have to go 
 searching for in the source code?
 

Wel you have problems connecting to 8019 port, in the stderr.log says
what port you are using actually..

 I've also been wondering about the following line in stderr.log:
 INFO: APR not loaded, disabling jni components: 
 java.io.IOException: no 
 jkjni in java.library.path
 That sounds bad. I searched the mailing list for prior questions 
 involving this, but didn't see any answers.
 

You need to put jkjni.dll in your path..

 Let me know if I should post my jk2.properties or workers2.properties 
 file if it will help.


I want to view your stderr.log and stdout.log, if posiible..


Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: example mod_jk2 configuration for Apache 2.0.39

2002-06-24 Thread Ignacio J. Ortega

I think Costin did the autoconfig stuff for mod_jk2, using another
technique ( i using digester with web.xml or alike ), this time as an
Standalone util or an Ant task .. go look at
http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/jk/java/org/apac
he/jk/config/

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Enviado el: 24 de junio de 2002 20:20
Para: 'Tomcat Users List'
Asunto: RE: example mod_jk2 configuration for Apache 2.0.39


It looks like the ApacheConfig Listener is still in the Java sources for
the connectors, but I don't think it has been updated to the new config
format for mod_jk2 so it probably won't work.
in Server.xml, the important things are the className and
protocolHandlerClassName attributes of the AJP Connector. these should
be:
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler 
and 
 className=org.apache.coyote.tomcat4.CoyoteConnector 
Remember to match up the port number in all 3 place (in connector in
Server.xml, in jk2.properties, and in worker2.properties) If you use
8009 for your AJP connector then you don't need to specify it in
jk2.properties.
That should be all, no need to mess with web.xml ;-) 
By the way, I was wrong about how to specify multiple channelSocket
ports in jk2.properties. The following method kind of works:
 channelSocket.port=8009 (for the first one) 
 channelSocket.otherone.port=8015 
 channelSocket.thirdconn.port=8020 etc 
However, doing this, JK seems to try to open these ports for EACH
Connector specified in Server.xml, and you get a lot of Address already
bound exceptions (and a lot of listening ports, because JK just
increments the port number each time and trys again).
have fun 
Rory 
-Original Message- 
From: Liam Morley [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 24, 2002 1:43 PM 
To: Tomcat Users List 
Subject: Re: example mod_jk2 configuration for Apache 2.0.39 


Rory, 
thank you very much; that'll get me started. I'm guessing you're running

with Tomcat4.1; I'm trying this with Tomcat 4.0.4. With JK1, there was a

Listener you could plug in to your $CATALINA_HOME/conf/server.xml 
(Listener className=org.apache.ajp.tomcat4.config.ApacheConfig.../). 
Does that still exist? Are there any changes to the server.xml and 
web.xml that you can point out (for example, the mod_jk2 version of 
Connector className=org.apache.ajp.tomcat4.Ajp13Connector .../?) 
Thanks once again, this is a big help. 
Liam Morley 
Douglas, Rory wrote: 
 Hi there 
 
 I haven't set-up anything really complex but the following setup 
 should work. I haven't got around to trying load-balancing, if anyone 
 does that and gets it working, please share! 
 
 --- 
 in HTTPD.CONF (in Apache2\conf) 
 --- 
 LoadModule jk2_module modules/mod_jk2.dll 
 
 - 
 in JK2.PROPERTIES (in Tomcat4.1\conf) 
 - 
 I just commented out everything. Note that if you are using an AJP 
 connector with port other than the default of 8009 you should specify 
 here (where it says channelSocket.port). If you comment everything out 
 JK seems to default to 8009 (and then 8010, 8011 and so on if you have 
 more than one connector). If you want need specific ports for 
 multiple connectors then specify channelSocket.port multiple times e.g 
 
 channelSocket.port=8014 
 channelSocket.port=8018 
 
 if you have two AJP connectors specified in server.xml with port 
 numbers 8014 and 8018. 
 
 -- 
 in WORKERS2.PROPERTIES 
 -- 
 
 I just copied this file from tomcat4.1\jtc-src\jk\conf into 
 Apache2\conf and edited it a bit. The really important bits seem to be:

 
 [channel.socket:localhost:8009] 
 info=Ajp13 forwarding over socket 
 debug=20 
 tomcatId=Tomcat-Standalone 
 
 that actually sets up a worker. I understand that you can specify 
 
 group=someGroupName 
 
 and create groups of workers for load-balancing. I also believe that 
 every worker created without specfiying a group is in the default 
 group (I think it is lb). 
 
 To map contexts use [uri:] blocks like so: 
 
 [uri:/test] 
 info=Test context mapping 
 debug=20 
 context=/test 
 
 Again, here you can specify which workers serve that context by 
 specifying group=groupName 
 
 It's a good idea to keep these parts around too: 
 
 [status:] 
 info=Status worker, displays runtime informations 
 
 [uri:/jkstatus/*] 
 info=Display status information and checks the config file for changes.

 group=status: 
 
 you can then hit http://yourapacheserver/jkstatus and get a loads of 
 jk info that might help you catch config errors 
 
 There are some docs in tomcat4.1\jtc-src\jk\doc\jk2 that might help 
 (but they're not great). 
 
 Hope this is useful to someone 
 cheers 
 Rory 
 
 -Original Message 
 From: Jacob Kjome [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, June 24, 2002 11:08 AM 
 To: Tomcat Users List

RE: tomcatAuthentication=false, BASIC Auth, Apache, and CoyoteConnector?

2002-06-24 Thread Ignacio J. Ortega

 De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Enviado el: 24 de junio de 2002 21:17

Maybe is not implemented yet, you are using preAlpha Code..

Anyway, Thanks, i'll take a look..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Re[2]: tomcatAuthentication=false, BASIC Auth, Apache, and CoyoteC onnector?

2002-06-24 Thread Ignacio J. Ortega

No problem, it's the same connector i'm talking about :), the one we
call Coyote/JK2, uses the very same protocol (ajp13), it's only the Java
part that changes..

With the new Coyote/JK2 architecture, connector's code is shared between
tomcat versions (Actually 4.1.X and 3.3.X, i dont know if it's possible
to use Coyote/JK2 in 4.0.x), it's only the adapter for Coyote/JK2 itself
that changes..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
 Enviado el: 24 de junio de 2002 22:28
 Para: Tomcat Users List
 Asunto: Re[2]: tomcatAuthentication=false, BASIC Auth, Apache, and
 CoyoteC onnector?
 
 
 Hello Ignacio,
 
 Sorry Ignacio,
 
 I should have mentioned what server I am running.  I am running
 Tomcat-4.1.3 fronted by Apache 2.0.39 on Win2k using mod_jk (not
 mod_jk2) compiled for 2.0.39.
 
 Jake
 
 Monday, June 24, 2002, 2:57:22 PM, you wrote:
 
  De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
  Enviado el: 24 de junio de 2002 21:17
 
 IJO Maybe is not implemented yet, you are using preAlpha Code..
 
 IJO Anyway, Thanks, i'll take a look..
 
 IJO Saludos ,
 IJO Ignacio J. Ortega
 
 IJO --
 IJO To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
IJO For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Null Pointer Exception - would you please take a look?

2002-06-18 Thread Ignacio J. Ortega

This is a known problem of interclient JDBC driver, they claim partly
JDBC 2.0 compatibility, but i should say it JDBC 0.5 :)

If you try firebiurd instead of 6.0 you try the jca driver at
firebird.sourceforge.org it's a Type 4 driver you doesnt need
interserver at all.. last time i tested it worked btw..  

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Eddie Bush [mailto:[EMAIL PROTECTED]]
 Enviado el: 18 de junio de 2002 21:15
 Para: Tomcat Users List
 Asunto: Re: Null Pointer Exception - would you please take a look?
 
 
 Ok, I just bumped it down to a MemoryRealm and tried that - 
 and it works
 just fine.  What gives with the JDBCRealm?  I really need to 
 get this going!
 
 Thank you for your input!
 
 Eddie
 
 - Original Message -
 From: Eddie Bush [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, June 18, 2002 1:57 PM
 Subject: Re: Null Pointer Exception - would you please take a look?
 
 
  I'm getting really annoyed =)  It seems you people haven't 
 actually read
 my
  question thoroughly enough to actually understand what I'm 
 doing.  The
  thought crosses my mind that you see the subject and then 
 just scan and
 put
  in some standard Oh he's an idiot - he needs to do this 
 response.  The
  problem is with a JDBCRealm!  I do NOTHING to send/receive anything
 to/from
  the database.  I was of the understanding that Tomcat did 
 this when I
  configured the realm and set up the security-constraint.
 
  While I believe my XML to be valid and correct, I will 
 happily post it for
  inspection if someone thinks it would help.  Here is a 
 sequence of what
  happens and the actors that are involved:
 
  Actors:  Me and Tomcat
 
  Me:  Enter url of page that is protected by a security 
 constraint into my
  browsers address bar.  Press enter.
  Tomcat:  Returns to the client a page that looks like:
 
  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
  HTMLHEAD
  META http-equiv=Content-Type content=text/html;
  charset=windows-1252/HEAD
  BODYPRE/PRE/BODY/HTML
 
  (This is not what the actual page is - it's a JSP file - 
 index.jsp - with
  much different content.  Also notice I'm not calling a 
 servlet!  Even if I
  were, it wouldn't make a bit of difference at this point 
 because Tomcat
  hasn't authenticated me!  This happens when Tomcat should 
 authenticate
 me -
  it is NOT my coding!!!)
 
  In my server log file, I have an error that starts off as:
 
  2002-06-17 12:29:28
 [org.apache.catalina.connector.warp.WarpRequestHandler]
  java.lang.NullPointerException
  at 
 interbase.interclient.PreparedStatement.setString(Unknown Source)
  at 
 org.apache.catalina.realm.JDBCRealm.credentials(JDBCRealm.java)
  at 
 org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java)
  at 
 org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java)
 
  My catalina.out has no indication of anything having gone 
 awry - it merely
  has status messages indicating that the server was started 
 (why isn't
 there
  a timestamp in here?).
 
  Any ideas?  Thank you for having actually READ THE ENTIRE 
 MESSAGE so you
  UNDERSTAND my problem before having issued a reply =)  Ack! 
  I'm sorry but
  I'm frustrated by the responses I am getting - makes me 
 wanna just jump up
  and down and scream at the top of my lungs ... Please - I 
 BEG of you -
 clue
  me in here - any thoughts why this is happening?  Again, I 
 can post my XML
  if you think I need to.
 
  A couple of questions people have asked up to this point, 
 along with the
  answer:
 
  Q: Are you passing a null string?
  A: I get this when I try to visit a URL that falls under a security
  constraint.  It's a JDBCRealm.  Tomcat handles this - it is 
 not my code.
 
  Q: Are you sure the fields in your table match what Tomcat 
 is expecting?
  A: Initially they didn't.  My fields were of length 14 and 
 Tomcat says
 they
  should be 15 -- but they're varchar, so does that really matter?  I
 rebuilt
  the tables so that anything Tomcat uses matches exactly 
 what the docs
 say -
  meaning I made my fields to be of length 15.  I still get the same
  response - exactly the same response.
 
  Is this the JDBCRealm?  I put my DB driver in common/lib - so Tomcat
 SHOULD
  be able to find it - right?  Is this the appropriate spot?  
 Is it possible
  (and how possible?) that this is my driver?  I use this 
 driver just fine
  doing JDBC stuff all the time - no problem.
 
  Thanks for your time!
 
  Eddie
 
  - Original Message -
  From: August Detlefsen [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, June 18, 2002 1:24 PM
  Subject: Re: Null Pointer Exception - would you please take a look?
 
 
   If you are trying to insert a NULL into a NOT NULL column (or are
   trying to insert special chars or the String is too 
 long), you should
   get a SQLException, not a NullPointerException.
  
   You should recheck

RE: [JK2] Binaries for win32

2002-06-14 Thread Ignacio J. Ortega

 De: Ian Darwin [mailto:[EMAIL PROTECTED]]
 Enviado el: 14 de junio de 2002 19:14

 Thanks, but why is there both an isapi_redirector2.dll and a 
 mod_jk2.dll?

Well, they are binaries, right ? :)

For IIS you will need the apr ones and i_r2.dll.. only.. all in the same
dir..

 Does one invoke the other? Is there any kind of how-to for version 2
 of this stuff? The iis-howto doc is all in terms of TC3 and 
 the old jk version.

Unfortunately, not, check CVS,
http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/jk/native2/,
but we all gathering volunteers all the time :)), dont hesitate to post
at tomcat-user for further help on config , but there at the CVS you
will get more or less all you need to make it work..

(Please continue theread at tomcat-user thanks..)

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [JK2] Binaries for win32

2002-06-14 Thread Ignacio J. Ortega

 De: Short, Dave [mailto:[EMAIL PROTECTED]]
 Enviado el: 14 de junio de 2002 19:48

 Where do isapi_redirector2.dll and mod_jk2.dll live?  There is nothing
 listed under the apr link from the jk/native2 link.

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w
in32/

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for over a week now - PL HELP

2002-06-13 Thread Ignacio J. Ortega

 De: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]]
 Enviado el: 13 de junio de 2002 19:02

IIS+Authentication can work on IIS in 2 different ways that are mutually
exclusive..

1) Let tomcat to surpass completely the IIS auth..
* Disconnet any auth done at IIS level.. 
* set the tomcatAuthentication=true in the Ajp connector line
in server.xml

2) Let the IIS server do the auth and tomcat use them
* set the IIS auth
* set tomcatAuthentication=false
* There are some problems already with roles.. (JK2 will solve
them or at least try to)

dont forget to check that you have the appropiate user, roles and
web.xml security constraints..

And speaking generally 2) should work from 4.0.4 and up, and 3.3 and up,
1) was ever working.

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: [EMAIL PROTECTED]
 Asunto: ATTN IIS-Tomcat redirector developers - I am stuck 
 with this for
 over a week now - PL HELP
 
 
 Getting the manager app to work with tomcat 4.0.3 and IIS 5.0
 
 Hi All, 
 
 I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k 
 professional - can get to the example webapps.
 
 But when I try to access the manager app I get the message - 
 Access to the specified resource is denied. The tomcat does 
 seem to be throw the challenge response box in this case. 
 
 The instructions everywhere deals only with the simplest case 
 - setting up examples web app - doesnt seem to explain how to 
 set up an app that requires basic authentication such as the 
 manager application that is bundled with tomcat - so I am not 
 sure if this works
 
 The jakarta virtual directory has read and execute premission 
 and the anonymous acces is enabled.
 
 What should I do to get this working
 
 Thanx
 Ganesh
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 



msg56688/bin0.bin
Description: application/ms-tnef

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: mod_jk2

2002-06-12 Thread Ignacio J. Ortega

 De: Josh Fenlason [mailto:[EMAIL PROTECTED]]
 Enviado el: 12 de junio de 2002 15:35


 Does anyone know anything about mod_jk2?  Is it a new and 
 improved mod_jk?

Yes..

 What changes were made?  I've looked around quite a bit and 
 all I've been
 able to find is the binaries.  If anyone knows where I could 
 find some more
 detailed documentation, source code or would be able to give 
 me some more
 info, I would greatly appreciate it.  Thanks.

It's currently on preAlpha state, it's reaching alpha at good pace.. :)
you can find more info by downloading jakarta-tomcat-connectors from CVS
and looking at jk/native2 dir.. or by visiting
http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/jk/native2/
just now the docs are at much brief.. :)..




Saludos ,
Ignacio J. Ortega


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Switching isapi configuration from jk to jk2

2002-06-06 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: 6 de junio de 2002 22:01
 Para: 'Tomcat Users List'
 Asunto: RE: Switching isapi configuration from jk to jk2
 
 
 Besides my other questions, does the registry entry still 
 remain the same?
 
 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
 Redirector\2.0]

See
http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-tomcat-connectors/
jk/native2/server/isapi/isapi_redirector2.reg 

 3. Modify ISAPI Filter Registry entries
 
   -- what are the new keys and values?

the same that the new registry key names

   -- can I use a properties file (instead of registry) yet?

yes, the same way it did before, and using exactly the same names than
the new registry names..

 4. create a  workers2.properties in TOMCAT_HOME/conf/ dir. that looks
 similar to this:
 
 
   logger.level=DEBUG
   # That's created by default if no other channel is definedc
   channel.socket.DEFAULT.port=8009
   channel.socket.local_9009.port=9009
   # that defines automatically a worker named
   # 'tomcat1' and an 'engine' named tomcat1
   channel.socket.tomcat1.host=host1.my.com
   channel.socket.tomcat1.lbfactor=0.5
   [uri:/examples/*]
   # Automatically define the lb worker and sets balanced_workers
   # for this particular uri.
   engine=DEFAULT,tomcat1
   [uri:/examples2/*]
   # the /examples2 is only available on tomcat2
   engine=tomcat1

I dont know already config very well already, :), perhaps someone could
help, Costin?

Please describe what you have , and what you need.. please..

 Anything else? Do I need to make any changes to server.xml?

I'm not a 4.0.3 user, perhaps you could try with 4.1.3 too, it's beta i
think, and JK2 it's slightly more tested in 4.1.3 than in 4.0.3 i
think..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Using the Jk2 filter vs Jk filter.

2002-06-05 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: 5 de junio de 2002 16:21


 But I still need apache2?

You only need to put libapr.dll and libapr-util.dll from apache2 in the
same directory of i_r2.dll to run it, lib and h files to build only..

 Does anyone here know of config docs for the Jk2 filter?
 

It has some docs inside, what do you want to know?

 Also, is anyone currently running jk2 Isapi on IIS 5.0?

I do my tests on iis 5.0 :), but i doubt anyone had tested it already,
the first Milestone will be achieved soon.. so it's should be in an
usable state, not ready for production, but stable enought to test it..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Using the Jk2 filter vs Jk filter.

2002-06-05 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: 5 de junio de 2002 18:11

Better to try the isapi.dsp file at native2/server/iis for now, open it
with MSDEV and build.. is what i use to work with, and the one i
maintain carefully.. at least for a while, later the preferred method
will be ant, of course

You will need to set the enviroment values JAVA_HOME,APACHE2_HOME, in
addition to the MSSDk ones.. prior to enter in MSDEV..

 I am attempting to build using the build.xml file in native2 
 dir (that is

But for the ant problems, you need to build at the top j-t-c dir first,
this will build the jkant dir ( you can do it directly ), because the so
task is j-t-c own, not a standard one.. and resides at jkant, this
should be done by the top build.xml..

Later you will need to do various things, prior to build in native2:

1) adapt the build.properties at native2 level or up to suit your needs
2) execute the c:\Program Files\Microsoft Visual
Studio\VC98\Bin\VCVARS32.BAT 

This will produce a i_r2.dll at the build dir..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Using the Jk2 filter vs Jk filter.

2002-06-05 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: 5 de junio de 2002 21:35

 D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\build\WEB-INF\lib
 

strange, i've got :

-
[e:\tomcat\jakarta-tomcat-connectors\jk]ant jkant
Buildfile: build.xml

jkant:
[javac] Compiling 17 source files to
E:\tomcat\jakarta-tomcat-connectors\jk\
build\classes
 [copy] Copying 1 file to
E:\tomcat\jakarta-tomcat-connectors\jk\build\class
es\META-INF
  [jar] Building jar:
E:\tomcat\jakarta-tomcat-connectors\jk\build\lib\jkant
.jar

BUILD SUCCESSFUL

Total time: 14 seconds
--

so it's builds the jar at jakarta-tomcat-connectors\jk\build\lib...

Perhaps you need to do a CVS update, prior to try to build?

 Agree?

No, for me it's working, doent look at the build very closely, but at
least it works fine.. ( maybe there is some problems with no linking the
needed resources in the dll, but this another history )


Saludos ,
Ignacio J. Ortega


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat 3.3.1 addition modules support.

2002-05-28 Thread Ignacio J. Ortega

 De: Pekník Jan [mailto:[EMAIL PROTECTED]]
 Enviado el: 28 de mayo de 2002 15:49

 jni_connect.dll. 
 What is purpose of this module ?

This is used when Tomcat 3.3.1 is started in process, this dll is used
for communications between tomcat and jk..


Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help

2002-05-23 Thread Ignacio J. Ortega

Check the names of the extension_uri and the real dll, are the same?

The error you are getting it's related to that issue mainly, so the
trobuleshooting directions you got in that doc..

Can you send the complete list of files from jakarta virtual dir, export
and post your registry settings or post your properties file (
isapi_redirector.properties ) , whtever methood you choosed to configure
the i_r.dll

Saludos ,
Ignacio J. Ortega



msg54538/bin0.bin
Description: application/ms-tnef

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: AJP13Connector source and javadoc

2002-05-20 Thread Ignacio J. Ortega

 De: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]]
 Enviado el: lunes 20 de mayo de 2002 20:16

 
 I downloaded tomcat and tomcat source as well and I dont see 
 the AJP13Connector as part of the tomcat source nor can I see 
 the java docs for the same.
 
 I am planning to use the AJP13Connector in my embedded tomcat 
 - so I am looking for the javadoc.
 
 Can somebody point me to it?
 

The source for AJP13Connector is on the jakarta-tomcat-connectors
repository, so get it by CVS or as a nigthly..

I dont know if javadocs are built for AJP13Connector.. 

 Also has anybody used the WARP connector with IIS, if so can 
 somebody point me config instructions?
 

WARP doesnt work with IIS.. 

Saludos ,
Ignacio J. Ortega




msg54224/bin0.bin
Description: application/ms-tnef

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: IIS and Tomcat

2002-05-18 Thread Ignacio J. Ortega



Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]]
 Enviado el: sábado 18 de mayo de 2002 0:49
 Para: [EMAIL PROTECTED]
 Asunto: IIS and Tomcat
 
 
 Hi All,
 
 What are the possible ways to configure IIS and Tomcat. Can 
 the two be made to work using a WARP connector?
 

The Only way uis to use Ajp13 and isapi_redirector, no Warp protocol
support for now FOr IIS, may be in the future, may be jk2 will get Warp
protocol.. but until then.. 


 Thanx
 Ganesh
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]




msg54129/bin0.bin
Description: application/ms-tnef

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Réf. : RE: TomcatIIS (on different computers )

2002-05-18 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 16 de mayo de 2002 9:03

 Tomcat is on computer1 , workers.properties and 
 Isapi_redirect.dll too.
 IIS5.0 is computer2, I want to define a virtual directory 
 greeting which
 point on a directory located on the computer1 (but not in tomcat
 directory).

I dont understand this last sentence, do you want to create a
greetings context served by tomcat in the IIS machine?

 Q: Where can I put the Isapi_redirector.dll ( on computer1 or 
 2? ). Same
 question for the workers.properties
Computer2, where the IIS installation resides, you need to put
workers.properties there to too, and make the Registry settings or a
properties file , there too

 How can I define my virtual rep greeting? I think i must 
 distribute the
 directory located on computer 1, can I avoid that?


If you have a greetings context in tomcat, you only need to add a couple
of lines to wk.p file.

/greetings=ajp13
/greetings/*=ajp13

use ajp13 or whatever name you used for the worker.., no need to have a
greetings virtual dir for that, if i understand your quetions well..
may be not

Saludos ,
Ignacio J. Ortega


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Access Control (IIS - Tomcat)

2002-05-15 Thread Ignacio J. Ortega

 De: Chakradhar Tallam [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 15 de mayo de 2002 3:32

 through IIS. Is there any way of doing access control also 
 through IIS on a
 file basis instead of using Tomcat's Realm implementations.

You need various things:

1) IIS = 5.0
2) isapi_redirect.dll from jakarta-tomcat-connectors, nightly or build
yourself from CVS..
3) set the attribute tomcatAuthentication=false in your Ajp13
connector line at server.xml
4) Tomcat 3.3.X or Tomcat 4.0.4 b2 and up

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: 'Tomcat Users List'
 Asunto: Access Control (IIS - Tomcat)
 
 
 hi guys,
 
 i got IIS running with Tomcat on Win2K for one of the web 
 applications (all
 the traffic goes through IIS). We do authentication to the 
 web application
 
 thanks in advance,
 ct.
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TomcatIIS (on different computers )

2002-05-15 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 15 de mayo de 2002 8:13

Substitute localhost in your worker.properties with the ip or name of
the host where tomcat resides..

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: TomcatIIS (on different computers )

2002-05-15 Thread Ignacio J. Ortega

 De: Pablo Schor [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 15 de mayo de 2002 17:14

 Nacho, tal vez me puedas ayudar,  tengo Tomcat y Apache en distintas
 maquinas con mod_jk, los JSPs funcionan bien, pero cuando 
 quiero mapear con
 Alias los objetos estaticos, me toma los JSPs como estaticos 
 tambien, alguna
 sugerencia?

Various suggestions:

1) Post in english please, someone ( not me ) could understand your
problem and try to help you.
2) I'm the Local IIS guy :),so my knowledge of whats is going on mod_jk
config with apache is very limited, to not to say i know nothing there
:)))
3) Ever post or make available, everything relevant for your problem,
Tomcat version, Mod_jk apache config excerpt, Platform and OSes used..

( en cualquier caso y pesar de 1) me alegro mucho de ver
hispanohablantes por aqui, Bienvenido!!! :)))

Saludos ,
Ignacio J. Ortega



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JkMount + Alias

2002-05-15 Thread Ignacio J. Ortega

 De: Pablo Schor [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 14 de mayo de 2002 18:30

Just Got your first message, disregard 1) and 3) too, :)

But 2) continues being applicable

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Session Problem - URGENT!!!!

2002-05-10 Thread Ignacio J. Ortega

+1

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Paul Caton [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 10 de mayo de 2002 15:47
 Para: Tomcat Users List
 Asunto: Re: Session Problem - URGENT
 
 
 I wish people would stop saying URGENT and PLEASE HELP in
 their subject lines. Not only is is poor mailing-list manners, it is
 also unnecessary. This being a user list, we assume that most people
 posting have a problem they want to solve right away. Your problem is
 not more urgent than anybody else's, and there's no reason why your's
 should be given any kind of priority just because you shout.
 
 Paul.
 
 -- 
 Paul Caton
 Electronic Publications Editor
 Women Writers Project
 
  e-mail: [EMAIL PROTECTED]
 tel: (401) 863-3619
 address: Box 1841, Brown University, Providence RI 02912
 
   
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: ISAPI Filter and OPTIONS Dav Method.

2002-05-01 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 1 de mayo de 2002 16:03


BTW: this is starting to be an excellent bug report !! so please post it
to bugzilla ( if it's no there already ) so we can follow it better ..
thanks..
 
 
 Using: 
 Tomcat 4.0.3.
 Slide 1.0.16.
 ISAPI Filter from J-T-C
 WebDrive 5.1 (Client)
 IIS 5.0
 

Excelent, thanks..

 I have been having an issue where the ISAPI Filter dies 
 whenever receiving
 an OPTIONS request.

Dies? you are saying that it hangs in any way? or the filter continues
behaving after that OPTIONS request ?

 It looks like HttpFilterProc gets called and does it work, 
 but somewhere
 between IIS doing something and the
 call to HttpExtensionProc, the server sends back a 500 
 Internal Server
 Error
 

One way to be completely sure of who is generating that error 500 is to
try to add a debug= attribute to the ajp13 connector in
server.xml, in tomcat 3.3 we got a nice logs about whats sending and
receiving tomcat from IIS..

One way to debug the connection between IIS and tc, is to use a external
iis server ( or external tomcat ) and reconfigure the configs to use
that host for ajp13 instead of localhost, this way you will be able to
see commns in port 8009 over the wire, and you could see if the options
request is saw by tc in any way..

 Does anyone have any idea what may be going on.
 

No, but with your work and some more time, we will catch it.. sure :),
btw.. excellent work in this message..


 
 Just to test what would happen, I hacked the HttpFilterProc 
 method to to
 catch when an OPTIONS request is received and return 
 a OPTIONS response.  I made the HttpFilterProc method, at 
 that point, return
 with a SF_STATUS_REQ_FINISHED. With that, I can connect to 
 the server and
 get a list of folders and files through the client. I can 
 even copy out from
 the client to my desktop. However, I do encounter another 
 500 Internal
 Server Error when I attempt a PUT (to add a file). 
 

 I say that to say this: there is obviously a problem in the 
 filter with it
 not passing headers (the method in particular) back to IIS or 
 from IIS to
 the
 HttpExtensionProc method. As I am not that proficient is IIS 
 dev soI have
 not  a clue what is happening. Is an IIS  header missing or something?
 

 
 Is this the correct chain  for the request:
 
 IIS - filter -IIS - extension - AJP13 Connector - Tomcat - Web
 Application (in this case: slide 1.0.16)


Yes it is, my guess now is that your having problems in the extension
part, i gues that because the Filter processing is very thin, a matter
of getting the correct worker and forward the entire thing to the
correct extension, some heraders adde and cganged otheres.. that's all,
i doubt the problems lies in the filter, you could try to move your fake
response code to the extension instead the filter, this way we can
surpass the filter as the your problems source..

Saludos ,
Ignacio J. Ortega


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




RE: ISAPI Filter and OPTIONS Dav Method.

2002-05-01 Thread Ignacio J. Ortega

 -Mensaje original-
 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 1 de mayo de 2002 20:38

 1. Run IIS on Box A with the filter.
 2. Run Tomcat on Box B.
 3. Go into Box A's worker.properties and set:
   worker.ajp13.host=Box B
 

Right



Saludos ,
Ignacio J. Ortega

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




RE: email servlet not working on TOMCAT

2002-05-01 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 1 de mayo de 2002 21:22

 The classpath is set to:

Tomcat 3.3 and 4.0, doesnt use the classpath env var, it's overwrited
with his own, in the startup.(bat|sh), AFAIK, so better try to put them
on the appropiate directory inside tomcat/lib, that in your case would
be %tomcat_home%/lib/apps, be sure you doesnt have this jars in the
extension repository at %java_home%/jre/lib/ext ( perhaps i've mispelled
this path in writing from memory )

Saludos ,
Ignacio J. Ortega

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




RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-25 Thread Ignacio J. Ortega

 De: James Garrison [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 25 de abril de 2002 18:52

 I'm willing to look through the Tomcat code to try
 and debug this.  Can you suggest where to start?


http://cvs.apache.org/viewcvs/~checkout~/jakarta-tomcat-connectors/jk/ja
va/org/apache/ajp/tomcat4/Ajp13Request.java 

Saludos ,
Ignacio J. Ortega



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




RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-25 Thread Ignacio J. Ortega

 What do you think?

From the code if you used tomcatAuthentication=true you will get the
expected behavior, that is Tomcat will not see any auth done in IIS (
was it  or any valid name ), so your test case should work as
expected, what i dont understand, why you see  when
tomcatAuthentication=true, my dont, so something is broken in your
test because from the code it's clear that you will get a nul set
principal if tA=true, so i suspect you are not trying with the correct
version of this Ajp13Request.java, Please try with a nigthly from
jakarta-tomcat-connectors or 4.0.4 b2..

Yeccckkk , just observed the tags in that version, and it not has the
4_0_3 one, only 4.0.4 b2 and others, so i'm sure this code it's not on
4.0.3 only in 4.0.4 b2.. :) mistery resolved 

Saludos ,
Ignacio J. Ortega



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




RE: MIME types in 3.3

2002-04-25 Thread Ignacio J. Ortega

 De: Keith Wannamaker [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 25 de abril de 2002 0:33


Hola Keith:

You could use the include mechnism from xml itself, something like that
is described in this thread
http://marc.theaimsgroup.com/?t=9805472724r=1w=2 this works for
me ( at least in 3.3 it seems to has some problems in 4.X )..

Saludos ,
Ignacio J. Ortega

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




RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Ignacio J. Ortega

 De: James Garrison [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 23 de abril de 2002 19:53

 
 The Tomcat version is 4.0.2.  Here's the Connector definition:

Try the latest 4.0.3 , this should have this problem solved.. 


Saludos ,
Ignacio J. Ortega


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




RE: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-24 Thread Ignacio J. Ortega

Did you tried with tomcatAuthentication=true?

This way works for me ..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: James Garrison [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 24 de abril de 2002 21:45
 Para: Tomcat Users List
 Asunto: Re: getRemoteUser(), getAuthType() returning empty string
 instead of NULL?
 
 
 Ignacio J. Ortega wrote:
  Try the latest 4.0.3 , this should have this problem solved.. 
 
 Installed 4.0.3, problem still present.
 
 -- 
 James GarrisonAthens Group, Inc.
 mailto:[EMAIL PROTECTED]5608 Parkcrest Dr
 http://www.athensgroup.comAustin, TX 78731
 PGP: RSA=0x92E90A3B DH/DSS=0x498D331C (512) 345-0600 x150
 
 
 
 --
 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: getRemoteUser(), getAuthType() returning empty string instead of NULL?

2002-04-23 Thread Ignacio J. Ortega

 De: James Garrison [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 23 de abril de 2002 18:48

Needed more information, which Tomcat version?, post the connector or
interceptor line for ajp13 prsent in your server.xml file..

Saludos ,
Ignacio J. Ortega



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




RE: AUTHORIZATION HEADER MISSING

2002-04-17 Thread Ignacio J. Ortega

 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 16 de abril de 2002 15:50

J-T-C jk from CVS HEAD has that problem solved,  i can provide binaries
to test this new feature... send me a private mail if you want it..

Apropos i'm talking about Bug#2432 ;)

Saludos ,
Ignacio J. Ortega



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




RE: changing auto log rotation in TC3.3 ?

2002-04-11 Thread Ignacio J. Ortega

 De: Ray Pitmon [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 11 de abril de 2002 20:35

 1)  how do I make it so that tomcat will only rotate logs weekly or
 monthly?

add this template ${MM} to your logger filename as timestamp, you
will get monthly logs, 

is a SimpleDateFormat check
http://java.sun.com/products/jdk/1.2/docs/api/java/text/SimpleDateForma
t.html to know what you can do, search the docs for your JVM version to
see what  can be done, you can get weekly logs.. and much more..

 2)  can I make it so that the servlet logs aren't overwritten 
 every time
 I restart tomcat?

Maybe worth add a new attribute setting for that? please post a RFE to
bugzilla for that too, this will remind to add this .. TIA

 3)  why does tomcat decide to rotate the logs at 1am instead of
 midnight?

You've find a bug , please post it to bugzilla, may be the DST, just
started, is not taken into account.

 4)  Are there any other attributes to LogSetter? (I only see 5 in the
 doc, with nothing pertaining to rotation)

look at
http://cvs.apache.org/viewcvs/~checkout~/jakarta-tomcat/src/share/org/a
pache/tomcat/modules/config/LogSetter.java?rev=1.14content-type=text/pl
ain the setters of the logsetter class are the available attributes,
that pertain to the logsetter element in server.xml

Shortly will be possible to use log4j, i think that feature is in CVS
already, and most of this problems will go away, in all or in part.. ;)

Saludos ,
Ignacio J. Ortega


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




RE: changing auto log rotation in TC3.3 ?

2002-04-11 Thread Ignacio J. Ortega

 De: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 11 de abril de 2002 21:15

 Ignacio, have you done log rotations longer than daily?
 The above is based on code inspection, so I could be
 wrong.

Yep, when i did the log rotation, but never more after that may be i
left a bug behind me.. hmmm, yes, you are right, Filewriter is not
created in append mode..

Should i commit it? 

May be add a new attribute to LogSetter to control the appending or not?

Better get rid of this capability alltogether and wait for log4j
support?

Saludos ,
Ignacio J. Ortega



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




RE: changing auto log rotation in TC3.3 ?

2002-04-04 Thread Ignacio J. Ortega

 LogSetter name=servlet_log 
 timestamps=true 
 verbosityLevel = INFORMATION 
 path=/var/log/tomcat3/micro-${MMdd}.log 
 / 

Is a Java Simple Date Format..HTH


Saludos ,
Ignacio J. Ortega



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




RE: changing auto log rotation in TC3.3 ?

2002-04-04 Thread Ignacio J. Ortega

ohh sorry not completely read the message i was responding..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 5 de abril de 2002 2:22
 Para: 'Tomcat Users List'
 Asunto: RE: changing auto log rotation in TC3.3 ?
 
 
  LogSetter name=servlet_log 
  timestamps=true 
  verbosityLevel = INFORMATION 
  path=/var/log/tomcat3/micro-${MMdd}.log 
  / 
 
 Is a Java Simple Date Format..HTH
 
 
 Saludos ,
 Ignacio J. Ortega
 
 
 
 --
 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: Pbs with tomcat 3.3a and IIS connector : windows auth fails

2002-04-02 Thread Ignacio J. Ortega

 De: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 2 de abril de 2002 21:07

 Make sure that you set tomcatAuthentication=false on the
 Ajp13Connector element in the server.xml file.  Otherwise,
 Tomcat 3.3.x ignores any authentication done by IIS.

AFAIK There is a problem ( i think it's not a bug until iis5) in
isapi_redirector ,
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=2342 has the
explanation why, never itched by this so never found time to do it, :)..
but it's not very difficult to solve ( maybe trivial ), if one knows in
which IIS version it's running.. me Not ;)

Saludos ,
Ignacio J. Ortega



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




RE: Tomcat w/ virtual-hosted IIS?

2002-03-29 Thread Ignacio J. Ortega

 De: Ted Neward [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 29 de marzo de 2002 22:29

 Anybody running Tomcat (either in-proc or out-of-proc) with IIS under
 virtual hosts?

 The problem I'm running into is that I can't get the 
 uriworkermap.properties
 to recognize when a request is destined for virtual host A 
 vs virtual host
 B--it seems to key entirely off of the URI, and not the 
 Host: header.

Althought i dont completely understand what are you trying to achieve,
i'm pretty sure a request can be directed to a particular IIS server,
it's a undocumented feature ( sorry about that, but any help is welcomed
;)..

In addition of the documented syntax:

/some/url/*=somworker

you can use 

/hostname/some/url/*==someworker


This should work for TC 3.3 and up..

HTH

Saludos ,
Ignacio J. Ortega


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




RE: Tomcat w/ virtual-hosted IIS?

2002-03-29 Thread Ignacio J. Ortega

 /hostname/some/url/*==someworker

Typo!!

/hostname/some/url/*=someworker

Saludos ,
Ignacio J. Ortega

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




RE: security fraud in mod_jk

2002-03-26 Thread Ignacio J. Ortega

 De: Robert Douglass [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 26 de marzo de 2002 13:12

8

/*
 * We are now in a security nightmare, it maybe that
somebody sent 
 * us a uri that looks like /top-secret.jsp. and the web
server will 
 * fumble and return the jsp content. 
 *
 * To solve that we will check for path info following the
suffix, we 
 * will also check that the end of the uri is not .suffix.
 */
int fraud = check_security_fraud(uw_map, uri, l);
8

The excerpt above is from the code in mod_jk...

It seems you are trying to include or something, with an absolute path..

Only a wild guess, the code seems to be trying to assure the user is not
trying to  get the code from a jsp.., by trying some kind of weird
URL.., 

Saludos ,
Ignacio J. Ortega

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




RE: tomcat3-3.3a-2 doesn't load turbine-2.1

2002-03-19 Thread Ignacio J. Ortega

 De: Huy K Dung [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 19 de marzo de 2002 1:02

Could you test deploying the JetSpeed war? it's working for me and is a
turbine 2.1 app AFAIK, maybe you can this way check your install.. and
copy from a web.xml that is already working..

http://jakarta.apache.org/jetspeed/ war at
http://jakarta.apache.org/builds/jakarta-jetspeed/release/v1.3a2/

Saludos ,
Ignacio J. Ortega

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




RE: W2K/IIS - Tomcat Authenication

2002-03-07 Thread Ignacio J. Ortega

 De: Loo, Jason [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 7 de marzo de 2002 3:50

 A VERY detailed explanation of the problem can be found here.  
 http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg
 43337.html

This bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647 ( was
badly reopened as the reopener was testing against 4.0.2) is solved in
CVS pos 4.0.2 release, go to the nigthtly build, a tomcatAuthentication
attibute was added to the ajp13 connector to control if the HTTP Server
Native auth is  honored or not, for IIS you will need to set
tomcatAuthentication=true only, because of
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=2342..


Saludos ,
Ignacio J. Ortega

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




RE: JDBC Realm Digest Password Generation

2002-02-19 Thread Ignacio J. Ortega

 De: Michael Burgess [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 20 de febrero de 2002 0:04

 
 I have currently got it to work by calling
 org.apache.tomcat.modules.aaa.RealmBase.digest(). But in 

This was corrected some time ago, i dont remember if 3.3 final was
released having correct docs, but at least in
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/JDBCRealm-howto.html
the docs are correct so.. for sure 3.3.1 will have correct docs..

 order for this
 to work I have had to copy tomcat_modules.jar and 
 tomcat_util.jar to the
 /WEB-INF/lib directory of the application.
 
 This can't be right... can it?
 

Well, if your webapp needs something in these jars, why not ? :-) 

i can be wrong, but i dont see ( given the classloaders separation
scheme that 3.3 plays ) nothing harmful in putting this jars in your own
app, 

you can too, simply cutpaste de digest method in one of your classes,
it's unlikely for this code to change in future, some threads was
talking about to add a binary Digest, but nothing so far, and of course
if digest changes, we will have compelling reasons to maintain backward
compatibility with regads to password format..

so do what you like :)

 So in short my question is, how can I call tomcat and get it to return
 the encrypted password?
 

There is no provision in the spec for this kind of calls to container,
the way you are doing things seems correct to me.

 Thanks
 
 Michael
 


Saludos ,
Ignacio J. Ortega




msg46055/bin0.bin
Description: application/ms-tnef

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


RE: Tomcat - OMVS/S390 - Urgent

2002-02-14 Thread Ignacio J. Ortega

 De: Brown Bay [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 14 de febrero de 2002 22:42

 Has anyone got Tomcat (any version) running under OMVS on S390.
 
 Please let me know.

I Think this can be done at least with tomcat 3.3, Henri please can
expand a little to this gentleman, i know you know :)..

Saludos ,
Ignacio J. Ortega



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




RE: Error 200?

2002-02-07 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de
 Gary Lawrence Murphy
 Enviado el: miércoles 6 de febrero de 2002 16:48

 I have a client who wrote a bunch of JSP pages that all return a
 tomcat Error 200 in the middle of the headers; because the error
 message is wrapped in blank lines, the message terminates the HTTP
 headers causing itself and any subsequent headers to be printed on
 the html page.


MayBe you are using Tomcat 3.2.X and what you see is related to
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=356 ??

In this case upgrading to 3.3 or 4.X, are the way to go..

Saludos ,
Ignacio J. Ortega

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




RE: Ajp12 Problems between Zeus and Tomcat-3.2.4

2002-02-07 Thread Ignacio J. Ortega

 De: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 5 de febrero de 2002 18:43

 our provider uses Zeus (Solaris-2.6) as Server and that sends 
 the requests to 
 tomcat-3.2.4. Obviously there are problems over the Ajp12 
 communication that 

Which communication problems? Ajp12 is a very well tested protocol, and
mod_jserv is almost done in every aspect, so what are your problems
extactly ?


Saludos ,
Ignacio J. Ortega


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




RE: Maximum url length

2002-02-07 Thread Ignacio J. Ortega

 El Mar 05 Feb 2002 20:12, escribiste:
  Hi,
  It's not a good idea. Try changing GET to POST. In case you 
 don't know -
  request uris are often cached, logged, etc, so sending any 
 data, especially
  passwords in them is a suicide or worse.
 
 
 I compound the uri internally in my servlet, encode it and do 
 a POST. In fact 
 tomcat shows me the doPost.

But you are not using the body for POST data you are using the URL to
send data, from a HTML perspective it's easy to send post data, simply
send a form with POST method, and you will be sending a request with an
unbounded body of data to be received by the server.., using URLS for
that is guaranteed to be a problem depending in incontrollable
devices ( like proxies or caches or whatever ) it's possible that some
of this uknown devices have a URL limited size, and thus there will be
clients not being able to use your app..


 The question is: I KNOW that I'm using method POST and I know 
 the generated 
 uri is very long. Have you ever try to send so long uris? How 
 to treat them? 
 Can tomcat be configured to handle longer uris?
 

One alternative solution could be to use Tomcat behind a WebServer .. i
dont know.

But actually the problem is more in the way you are doing things than in
the TC itself..

Saludos ,
Ignacio J. Ortega


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




RE: jdbc realm

2002-02-06 Thread Ignacio J. Ortega

 Hi I use tomcat 3.2 and wounder how 
 I can set up jdbc realm for each tomcat application.
 Eeach application use different databases.

you cant do this in 3.2.X, but in 3.3 and 4.0 you can define a Different
realm in every context, just by folding the JDBCRealm config line inside
a context elemnt ( at least in3.3 not sure about 4.0 but i will be more
or less the same )

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Alex Johansson [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 6 de febrero de 2002 10:15
 Para: [EMAIL PROTECTED]
 Asunto: jdbc realm
 
 
 
 
 Today it seems that you only can have one jdbc realm instance for 
 all the applications.
 
 In server.xml the syntax is for tomcat 3.2
 RequestInterceptor 
   className=org.apache.tomcat.request.JDBCRealm 
   debug=99 
   driverName=org.gjt.mm.mysql.Driver 
   connectionURL=jdbc:mysql://localhost/dbName 
   userTable=person userNameCol=email 
   userCredCol=password 
 userRoleTable=groupmember 
   roleNameCol=RoleName
   /
 
 
 
 Regards
 Alex
 
 
 
 
 
 
 __
  Alex Johansson System Developer @ TechLex
  web: www.techlex.se
  mail:  [EMAIL PROTECTED]
  phone: 0708-29 26 01 
 
 
 --
 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: Easy Install Tomcat with NT IIS?

2002-02-05 Thread Ignacio J. Ortega

 De: Clifford Helsel [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 5 de febrero de 2002 22:06

 First the questions, then the background... Does anyone know how to
 automate the install of the redirector filter DLL in IIS.  

Look at
http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/jk/native/iis/i
sapi_install.vbs?rev=1.2content-type=text/vnd.viewcvs-markup tweaking
this script to suit your needs , can do the job..

Saludos ,
Ignacio J. Ortega



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




RE: Tomcat 4 Speed

2002-02-04 Thread Ignacio J. Ortega

Probably the HTTP11 connector, uncomment the HTTP10 in server.xml, use
ajp13 and a apache front end, or use 3.3, that is a fair percentage
faster than 3.2.X ;)))

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
 Enviado el: lunes 4 de febrero de 2002 6:35
 Para: 'Tomcat Users List'
 Asunto: AW: Tomcat 4 Speed
 
 
 Hi, 
 
 if you're dreaming that we must share the same dream :-). 
 We've experienced
 something comparable. 
 Unless today we didn't find out why. We deployed the same app 
 on the same
 machine with the same loadtest config, used the standard 
 settings for both
 (TC3.2/4) and the same VM and attached you'll find our results.
 
 But I've to admit we haven't investigated yet (with a 
 profiler) where time
 is lost.  
 
 Oliver   
 
  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer 
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
  
 
 
 -Ursprüngliche Nachricht-
 Von: Tim Buchalka [mailto:[EMAIL PROTECTED]]
 Gesendet: Samstag, 2. Februar 2002 04:23
 An: [EMAIL PROTECTED]
 Betreff: Tomcat 4 Speed
 
 
 Hi,
 
 I've been using Jboss with Tomcat 3.2.3 and have recently upgraded to
 Tomcat 4.0.1.
 
 It seems to me (at least on the surface) that Tomcat 4.0.1 is much
 slower than 3.2.3.
 
 Has anyone else come across this?
 
 I'm using Jboss 2.4.4 with an EAR file containing EJB's in a Jar file
 and the web application in a war file.
 
 Any comments, or am I dreaming this  :)
 
 Thanks
 
 
 
 Tim
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 
 --
 
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail 
 gegebene Information nicht rechtsverbindlich. Eine 
 rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf 
 Anforderung in schriftlicher Form nach. Beachten Sie bitte, 
 dass jede Form der unautorisierten Nutzung, 
 Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
 Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  
 ist ausschliesslich fuer den bezeichneten Adressaten oder 
 dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene 
 Adressat dieser E-Mail oder dessen Vertreter sein, so bitten 
 wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in 
 this e-mail is not legally binding. Upon request we would be 
 pleased to provide you with a legally binding confirmation in 
 written form. Any form of unauthorised use, publication, 
 reproduction, copying or disclosure of the content of this 
 e-mail is not permitted. This message is exclusively for the 
 person addressed or their representative. If you are not the 
 intended recipient of this message and its contents, please 
 notify the sender immediately.
 
 ==
 
 

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




RE: Custom Auth for JDBC Realm server xml help 3.3-m4

2002-02-01 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 1 de febrero de 2002 23:21

 How do I direct Tomcat via the server.xml file to use a 
 custom class for
 JDBC auth with Tomcat 3.3-m4?  Do I need to switch to 

First of all, 3.3.1 is near the door, and 3.3 is final  from some months
ago.. :)) so better to swith to a most recent release for 3.3..

For your question, You can use the legacy RequestInterceptor class=/
syntax in server.xml or better add a new entry in interceptors.xml for
your new Realm Implementation..

out of curiosity, What you did need to add to JDBCREalm to suit your
needs?

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 Para: [EMAIL PROTECTED]
 Asunto: Custom Auth for JDBC Realm server xml help 3.3-m4
 
 
 Hello All,
 
4.0 to 
 use a custom
 auth class?  I understand that in 4.0 it is easy to set the realm
 class=.../ entry but 4.0 has a bug that I want to avoid for now.
 
 I've created a custom class called TMSJDBCRealm which extends 
 BaseRealm and
 placed it into the tomcat_modules.jar.
 
 I then tried to add the entry TMSJDBCRealm ... / just after the
 CredentialsInterceptor / entry but Tomcat does not appear 
 to be calling my
 class.  When I go to a protected url I do get the basic login box but
 entering a user name and password avail nothing.  I also look 
 for my debug
 info to scroll past on the server and nothing is there.
 
 Any help is greatly appreciated.
 
 Thanks
 
 Lon Palmer
 
 
 
 
 --
 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: JDBCRealm

2002-01-30 Thread Ignacio J. Ortega

Search archives  Bugzilla, i think you can disable AUTO_COMMIT in
MySQL, by just adding some params to the URL used in JDBC..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Ricardo Ramalho [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 23 de enero de 2002 12:21
 Para: Tomcat Users List
 Asunto: JDBCRealm
 
 
 Hi ppl!
 
 I've configured Tomcat 4.0.1 (Windows 2000) do access a 
 JDBCRealm in a MySQL
 database (in a Linux box).
 The relevant part of the server.xml files looks like this:
 
 ...
   Realm  className=org.apache.catalina.realm.JDBCRealm 
 debug=99
  driverName=org.gjt.mm.mysql.Driver
  connectionName=kossa
  connectionPassword=kossa
   connectionURL=jdbc:mysql://192.168.1.2:3306/kossa_test
   userTable=users userNameCol=user 
 userCredCol=passwd
   userRoleTable=user_roles roleNameCol=role_name /
 ...
 
 When i try to launch Tomcat it echoes out an exception like this:
 ...
 java.sql.SQLException: Cannot disable AUTO_COMMIT
 at 
 org.gjt.mm.mysql.Connection.setAutoCommit(Connection.java:396)
 at 
 org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:549)
 at 
 org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at
 org.apache.catalina.core.StandardService.start(StandardService
 .java:388)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at 
 org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 ...
 
 What is goin on? :(
 
 
 -
 Ricardo Ramalho
 -
 
 
 
 --
 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: mod_jk bug ?

2002-01-25 Thread Ignacio J. Ortega

 De: Ching-Kuan Thum [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 24 de enero de 2002 15:35
 Para: [EMAIL PROTECTED]
 Asunto: mod_jk bug ?
 
 
 Hi,
 
 I encountered the following error when accessing any java
 servlet(e.g.http://localhost/servlet/SnoopServlet) through 
 Internet Explorer
 of PocketPC :

Maybe IE for PocketPc is sending some kind of malformed HTTP Request?

Or mod_jk native and/or Java part has bug?

Please post a bug a http://nagoya.apache.org/bugzilla , TIA.

Saludos ,
Ignacio J. Ortega



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




RE: Error 500

2002-01-18 Thread Ignacio J. Ortega



Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: btquah [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 18 de enero de 2002 6:14
 Para: [EMAIL PROTECTED]
 Asunto: Error 500
 
 
 
 hi,
 When I run my jsp program, a list of errors pop-up as below
 
 Error: 500
 Location: /edentalpro/sendmail.jsp
 Internal Servlet Error:
 
 org.apache.jasper.JasperException: Unable to compile class 
 for 
 JSP/usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%
 2Fedentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:14: 
 Package javax.mail not found in import.
 import  javax.mail.*;
 ^
 /usr/local/tomcat/jakarta-tomcat-3.2.4/work/localhost_8080%2Fe
 dentalpro/_0002fsendmail_0002ejspsendmail_jsp_0.java:15: 
 Package javax.mail.internet not found in import.
 import  javax.mail.internet.*;
 ^
 2 errors
 
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
  at 
 org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
  at 
 org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
 2.java:146)
  at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
  at 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
 ecessary(JspServlet.java:258)
  at 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
 (JspServlet.java:268)
  at 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:429)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at 
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper
 .java:405)
  at org.apache.tomcat.core.Handler.service(Handler.java:287)
  at 
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at 
 org.apache.tomcat.core.ContextManager.internalService(ContextM
 anager.java:806)
  at 
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
  at 
 org.apache.tomcat.service.http.HttpConnectionHandler.processCo
 nnection(HttpConnectionHandler.java:213)
  at 
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
 t.java:416)
  at 
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
 ol.java:501)
  at java.lang.Thread.run(Thread.java:479)
 
 Do you know what is going wrong?
 Actually I have upload the mail.jar as well as activation.jar 
 to WEB-INF/lib and also ../jakarta-tomcat-3.2.4/lib.
 But both are not working..
 
 Any idea or suggestions would be greatly appreciated.
 
 
 Best Regards,
 Boon Thian QUAH
 Software Engineer
 CMS Solutions Sdn.Bhd
 
 

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




  1   2   3   >