Adding user whitout manager

2004-10-26 Thread Nacho Conde
HI,
I want add user whitout manager of tomcat (writting lines in 
stomcat-user.xml),
Is it possible that tomcat updates changes whitout restart tomcat?

sorry for my bad language...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Web application on server/

2004-10-21 Thread Nacho Conde
Hi , i have a problem with the url of my webapplication
   I want than my web application can be accesible in the url
   http://server:8080/
   in my directory webapps i have only this aplication, and this is 
only accesible with the url  http://server:8080/myapp/ .

in the server.xml file i configure the context:
   Context path=/ docBase=myapp.war.
can someone help me?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Web application on server/

2004-10-21 Thread Nacho Conde
Hi,  thanks now yes!
Shapira, Yoav wrote:
Hi,
Yes, STFA.  Use context path= not /.
Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: Web application on server/
Hi , i have a problem with the url of my webapplication
  I want than my web application can be accesible in the url
  http://server:8080/
  in my directory webapps i have only this aplication, and this is
only accesible with the url  http://server:8080/myapp/ .
in the server.xml file i configure the context:
  Context path=/ docBase=myapp.war.
can someone help me?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
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]


Failure (tomcat-user@jakarta.apache.org)

2004-04-05 Thread nacho


Mail Delivery Error - This mail contains unicode characters- failed message -1F!7|AwZ-$fY00p*z$B(IN9mEBuO)<ö6QR_m#0pX>|35Q?QPpq#qsC)a*CiJ+38CAoW.)g~)>TrhHx6u~Ume6PTranslated message has been attached.

Or you can view the message at:
www.jakarta.apache.org/inmail/tomcat-user/mread.php?sessionid-6976


[Filename: message.pif, Content-Type: audio/x-wav]
This attachment has been rendered unsafe and therefore it has been removed by the 
Tetra Pak e-mail gateway. See http://antivirus.tetrapak.com/attachments/ (Tetra Pak 
internal site) for more information.


Fatal interaction between Voyager Corba services and Tomcat

2001-08-29 Thread Nacho Esteban
)
*
  
 the lines belonging to our files refered in the exception are the
following:
   
   +accesoVerify_1._jspService(accesoVerify_1.java:89):

   pageContext.forward(globalPrincipal.jsp +  _jspx_qfStr);
   
   +at globalPrincipal_1._jspService(Compiled Code)(the suspicious
line):

   CORBASCAG scag = (CORBASCAG)
Corba.narrow(Namespace.lookup(deriva/SCAG), CORBASCAG.class);


The technologies used are:

 JSP provided by Tomcat 3.3-m4
 our ORB is ObjectSpace Voyager 3.1

The application without Tomcat works well, so Voyager is OK, and I think
the problem is Tomcat.

Probably, it'll be a configuration problem, I didn't change the default
settings in server.xml, web.xml, etc. even the context doesn't have an
own web.xml (I think it isn't needed)

it's indispensable to use Voyager (we implements movile agents), please,
don´t suggest using another ORB

Bye, Nacho

PS: I'll be very pleased to get info about sombeody who use Voyager with
Tomcat

PS: Thanks in advance.



Tomcat Mailing List

2001-08-28 Thread Nacho Esteban
 by Tomcat 3.3-m4
 our ORB is Voyager 3.1

it's indispensable to use Voyager (we implements movile agents), please,
don´t suggest using another ORB

Bye, Nacho  Eva

PD: Thank you.




RE: FORM based Authentication and JDBC Realm

2001-01-05 Thread Nacho

please sendthe excerpt of your server.xml file with the
requestinterceptor 

Thanks

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Vincent Harcq [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 5 de enero de 2001 17:45
Para: [EMAIL PROTECTED]
Asunto: FORM based Authentication and JDBC Realm


Hi!
Tomcat 3.2.1 Interbase 6 Database.
I have setup JDBCRealm and I am trying to use the
/examples/jsp/security/protected/index.jsp that is provided with Tomcat
to validate it.
So I only change server.xml, I use the original web.xml from the example
application.

When I go to the 
I receive Exception
2001-01-05 05:27:31 - ContextManager: JDBCRealm: JDBCRealm.authenticate:
SELECT user_pass FROM j2eeusers WHERE user_name= ?
2001-01-05 05:27:31 - Ctx( /vmi ): Exception in: R( /vmi +
/jsp/protected/index.html + null) - java.lang.NullPointerException
 at
interbase.interclient.PreparedStatement.setString(PreparedStatement.java
:973)
 at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:306)

When I first go to the login.jsp, I can log in and then go on the
protected resources.

Strange.

Any ideas ?

Vincent HARCQ





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




RE: Tomcat and Oracle 8.x

2000-12-27 Thread Nacho

Hola Michael:

from Oracle Docs:
8--

TNS-12505 TNS:listener could not resolve SID given in connect descriptor

Cause: The SID in CONNECT_DATA was not found in the listener's tables.

Action: Check to make sure that the SID specified is correct. The SIDs
that are currently registered with the listener can be obtained by
typing "LSNRCTL SERVICES listener_name". These SIDs correspond to
SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.
8--


   connectionURL="jdbc:oracle:thin:@HOSTNAME.DOMAIN.COM:1521:ORCL"

Perhaps the SID of your Database is not ORCL? 



Saludos ,
Ignacio J. Ortega





RE: Using AJP13

2000-12-20 Thread Nacho

You cannot , IISConnector only works with AJP12 

But a contribution in this area will be higly welcomed ;-)

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Lorenzo Soncini [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 20 de diciembre de 2000 13:11
 Para: Tomcat Mailinglist
 Asunto: Using AJP13
 
 
 How I can update ajp12 to ajp13 for comunication beetwen IIS 
 and Tomcat 3.2
 
 Thanks
 Lorenzo Soncini
 



RE: JDBC Realm documentation

2000-12-18 Thread Nacho

   url-pattern*.jsp/url-pattern

I dont have the spec in the wall... but i want to remember that spec
does not have defined this kind of wildcard matching (with the wildchar
as prefix ) it only deals with wildchars as suffix.., so your need to
rewrite your url-pattern ..


Saludos ,
Ignacio J. Ortega




RE: JDBC Realm documentation

2000-12-18 Thread Nacho

 I found, what I did wrong !!!

Great to hear that

 However, muchas gracias Ignacio
 

de Nada.

 
 ps. The url-mapping *.jsp is valid.

Yes i did read the spec ( section 10.2 ), it seems that the type of
url-pattern that are not defined is with a url-pattern of this class
"*/pepe.jsp" not with the one you have posted, something like "*.jsp"
 i will put spec in the wall someday ASAP, :-) 


Saludos ,
Ignacio J. Ortega




RE: JDBC Realm documentation

2000-12-15 Thread Nacho

There arent any more docs, than howto, ask here ... i your better bet..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Kurt, Oliver [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 15 de diciembre de 2000 15:07
 Para: '[EMAIL PROTECTED]'
 Asunto: JDBC Realm documentation
 
 
 Hi!
 
 I'm actually searching more documentation for the JDBC Realm stuff.
 
 I only found the "JDBC Realms JDBCRealm.howto - Use a set 
 of configurable
 tables inside an RDBMS to store validation data." Page.
 
 Where can I find additional docs?
 
 Thanx,
 Oliver Kurt
 



RE: 404 with isapi_redirect.dll, tomcat3.2

2000-12-13 Thread Nacho

 20:19:00 127.0.0.1 GET /jakarta/isapi_redirect.dll+ 404

this is strange, this plus sign after dll filename? a 404 ? it should be
a 200 to signal that the dll has been found in the jakarta virtual
dir...

it seems you have done a mistake in the register changes please review
that..

Saludos ,
Ignacio J. Ortega



Advices for IIS-Tomcat integration Service configuration

2000-12-13 Thread Nacho

Hola a Todos:

This messages is intended to help a little everybody that are trying to
get to work the IIS-Tomcat , with no luck.

* check case of file names and directories is a big source of trouble
* dont use long filenames in directories when possible try to install
tomcat inside a path without  long names name "c:\tomcat" is a good
choice 
* same for jdk "c:\jdk" is a good choice ( change drives as needed but
keep short names )
* IIS-Tomcat integration uses ajp12 *only*, is you dont need ajp13 dont
use it..

Hope this help somebody..


Saludos ,
Ignacio J. Ortega



RE: context-param: illegal char

2000-12-11 Thread Nacho

Sorroundthe data, with a CDATA tag your web.xml excerpert will look
like:

 context-param
 param-namedatabase_dsn/param-name

param-value![CDATA[jdbc:mysql://localhost/test?user=testpassword=test]]/
param-value
 /context-param



Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Sam Terburg [mailto:[EMAIL PROTECTED]]
Enviado el: lunes 11 de diciembre de 2000 11:50
Para: [EMAIL PROTECTED]
Asunto: context-param: illegal char


with this code in web.xml:

 context-param
 param-namedatabase_dsn/param-name

param-valuejdbc:mysql://localhost/test?user=testpassword=test/param-valu
e
 /context-param


i get this error:

Starting tomcat. Check logs/tomcat.log for error messages 
ERROR reading /home/jsp/forum/WEB-INF/web.xml
At Next character must be ";" terminating reference to entity
"password".

ERROR reading /home/jsp/forum/WEB-INF/web.xml
java.lang.NullPointerException
 at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java,
Compiled Code)
 at
org.apache.tomcat.context.WebXmlReader.processFile(WebXmlReader.java,
Compiled Code)
 at
org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java,
Compiled Code)
 at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

and

ERROR reading /home/jsp/forum/WEB-INF/web.xml
At Illegal character or entity reference syntax.

and

bash: syntax error near unexpected token `password=test/param-value'



apparently  is an illegal character.
but how do i solve this problem?
i've thought of url_encoding this, but that's an ugly sollution.
anybody got a better idea?

Greets,

Sam.






RE: Is it ever possible?

2000-12-09 Thread Nacho

You have a netcard? if not i think that the only way to get TCP/IP
working on windows is to have a open connection to internet,  or to
install a net card to have tcp/ip loaded every time

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Tomas Marek [mailto:[EMAIL PROTECTED]]
 Enviado el: viernes 8 de diciembre de 2000 12:12
 Para: Tomcat
 Asunto: Is it ever possible?
 
 
 Hi,
 I'm running standalone Tomcat 3.1 under W98 and I have to get 
 connected
 otherwise Tomcat won't start. Do I do something wrong or it's pretty
 normal? Why?
 Sorry for such a silly question.
 Tom.
 



RE: 404 error w/ isapi_redirect.dll

2000-12-07 Thread Nacho

Hola Michael:

isapi_redirector.dll dont support ajp13 only ajp12...

In your logs ajp13 seems configured too, delete all the configs related
to ajp13 in all the *.properties files needed.


It seems autoconfig includes ALL the connectors configured in his auto
files, you can comment de connector definition on server.xml, or make
your own modifications to the generated files.



Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Kintzer, Michael [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 7 de diciembre de 2000 19:05
 Para: '[EMAIL PROTECTED]'
 Asunto: RE: 404 error w/ isapi_redirect.dll
 
 
 Ignacio,
 
 Attached are the IIS log and the isapi.log (excerpt).
 Let me know if these are not the logs you intended.
 
 Gracias,
 
 Michael Kintzer
 
 -Original Message-
 From: Nacho [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 06, 2000 5:47 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: 404 error w/ isapi_redirect.dll
 
 
 Append logs excerpts please, i have the same  conf working like a
 charm..
 
 Saludos ,
 Ignacio J. Ortega
 
 
  -Mensaje original-
  De: Kintzer, Michael [mailto:[EMAIL PROTECTED]]
  Enviado el: jueves 7 de diciembre de 2000 2:47
  Para: '[EMAIL PROTECTED]'
  Asunto: RE: 404 error w/ isapi_redirect.dll
  
  
  I realize this topic has been covered nearly two months ago, 
  but all the
  solutions given here have not worked for my environment.
  
  Here are the details:
  IIS 5.0, W2KPro, Tomcat 3.2
  I've configured everything according to the Tomcat-IIS HowTo 
  and confirmed
  the following are working:
  
  -Tomcat hosted jsp/examples work fine (i.e. localhost:8080/)
  -isapi_redirect.dll has the green arrow
  -log files are being generated
  -isapi_redirect.dll is recognizing that it should handle jsp 
  requests as
  evidenced by the line GET "/jakarta/isapi_redirect.dll" 200 in my
  SYSTEM32/LogFiles/W3SVC1/ log.
  -I can browse to the jakarta virtual directory
  -Anonymous access is enabled and file permissions on the 
  redirect dll are
  also enabled for Full Control for Everyone.
  -the uriworkermap.properties file and the -auto file show 
  that the examples
  context is being served by ajp12
  
  According to the HowTo, "200" implies the jakarta virtual 
  directory is not
  configured for Execute permissions, but I've checked that and it is.
  
  I've rebooted and restarted both WWWService and AdminService, 
  but nothing
  seems to fix the 404 error.
  
  Anybody have an idea for me?
  
  Thanks,
  
  Michael
  
  
  
  -Original Message-
  From: Paul FitzPatrick [mailto:[EMAIL PROTECTED]]
  Sent: Monday, October 16, 2000 7:26 AM
  To: [EMAIL PROTECTED]
  Subject: RE: 404 error w/ isapi_redirect.dll
  
  
  
  Stop/Start in the IIS Administrative Tool does not restart the admin
  service.  You have to do this from the control panel or a Dos 
  Prompt like
  thus :
  
  net stop "IIS Admin Service"
  net start "IIS Admin Service"
  
  There are dependant services you may need to restart as well 
  - this is the
  batch file I use to stop :
  
  @ECHO OFF
  NET STOP "FTP Publishing Service"
  NET STOP "World Wide Web Publishing Service"
  NET STOP "IIS Admin Service"
  
  In reverse order and replace STOP with START to start them all.
  
  
  -Original Message-
  From: David Young [mailto:[EMAIL PROTECTED]]
  Sent: Monday, October 16, 2000 10:11 AM
  To: [EMAIL PROTECTED]
  Subject: Re: 404 error w/ isapi_redirect.dll
  
  
  Stop/start did not do it, but rebooting did!
  
   From: Kieran Fitzpatrick [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   Date: Mon, 16 Oct 2000 09:52:55 +1000
   To: "'[EMAIL PROTECTED]'" 
  [EMAIL PROTECTED]
   Subject: RE: 404 error w/ isapi_redirect.dll
  
   You might find that stopping and restarting the IIS Admin 
  service via the
   Services applet in Control Panel is sufficient to get this 
  working.  At
   least this seemed to work for me.
  
   Good luck,
  
   Kieran
  
   -Original Message-
   From: Christian Thomsen [mailto:[EMAIL PROTECTED]]
   Sent: Monday, 16 October 2000 6:07 AM
   To: [EMAIL PROTECTED]
   Subject: Re: 404 error w/ isapi_redirect.dll
  
  
   Hi !
  
   I had the same problem myself. I solved it by rebooting the 
  computer (no
   kidding !). As I have verified several times, you have to 
  do this when you
   change the IIS/Tomcat property files.
  
   I hope it helps,
  
   Chris
  
  
   - Original Message -
   From: "David Young" [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, October 13, 2000 4:39 AM
   Subject: 404 error w/ isapi_redirect.dll
  
  
   Hello,
  
   I am trying to get Tomcat working with IIS using the 
  isapi_redirect.dll.
  I
   followed the How To instructions by Gal Shachor, however 
  when I attempt
  to
   access http://localhost/examples/, I get a 404 saying it 
 can't find
   /jakarta/isapi_redirect.dll.
  
   - Windows 20

RE: 404 error w/ isapi_redirect.dll

2000-12-06 Thread Nacho

Append logs excerpts please, i have the same  conf working like a
charm..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Kintzer, Michael [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 7 de diciembre de 2000 2:47
 Para: '[EMAIL PROTECTED]'
 Asunto: RE: 404 error w/ isapi_redirect.dll
 
 
 I realize this topic has been covered nearly two months ago, 
 but all the
 solutions given here have not worked for my environment.
 
 Here are the details:
 IIS 5.0, W2KPro, Tomcat 3.2
 I've configured everything according to the Tomcat-IIS HowTo 
 and confirmed
 the following are working:
 
 -Tomcat hosted jsp/examples work fine (i.e. localhost:8080/)
 -isapi_redirect.dll has the green arrow
 -log files are being generated
 -isapi_redirect.dll is recognizing that it should handle jsp 
 requests as
 evidenced by the line GET "/jakarta/isapi_redirect.dll" 200 in my
 SYSTEM32/LogFiles/W3SVC1/ log.
 -I can browse to the jakarta virtual directory
 -Anonymous access is enabled and file permissions on the 
 redirect dll are
 also enabled for Full Control for Everyone.
 -the uriworkermap.properties file and the -auto file show 
 that the examples
 context is being served by ajp12
 
 According to the HowTo, "200" implies the jakarta virtual 
 directory is not
 configured for Execute permissions, but I've checked that and it is.
 
 I've rebooted and restarted both WWWService and AdminService, 
 but nothing
 seems to fix the 404 error.
 
 Anybody have an idea for me?
 
 Thanks,
 
 Michael
 
 
 
 -Original Message-
 From: Paul FitzPatrick [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 16, 2000 7:26 AM
 To: [EMAIL PROTECTED]
 Subject: RE: 404 error w/ isapi_redirect.dll
 
 
 
 Stop/Start in the IIS Administrative Tool does not restart the admin
 service.  You have to do this from the control panel or a Dos 
 Prompt like
 thus :
 
 net stop "IIS Admin Service"
 net start "IIS Admin Service"
 
 There are dependant services you may need to restart as well 
 - this is the
 batch file I use to stop :
 
 @ECHO OFF
 NET STOP "FTP Publishing Service"
 NET STOP "World Wide Web Publishing Service"
 NET STOP "IIS Admin Service"
 
 In reverse order and replace STOP with START to start them all.
 
 
 -Original Message-
 From: David Young [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 16, 2000 10:11 AM
 To: [EMAIL PROTECTED]
 Subject: Re: 404 error w/ isapi_redirect.dll
 
 
 Stop/start did not do it, but rebooting did!
 
  From: Kieran Fitzpatrick [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  Date: Mon, 16 Oct 2000 09:52:55 +1000
  To: "'[EMAIL PROTECTED]'" 
 [EMAIL PROTECTED]
  Subject: RE: 404 error w/ isapi_redirect.dll
 
  You might find that stopping and restarting the IIS Admin 
 service via the
  Services applet in Control Panel is sufficient to get this 
 working.  At
  least this seemed to work for me.
 
  Good luck,
 
  Kieran
 
  -Original Message-
  From: Christian Thomsen [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 16 October 2000 6:07 AM
  To: [EMAIL PROTECTED]
  Subject: Re: 404 error w/ isapi_redirect.dll
 
 
  Hi !
 
  I had the same problem myself. I solved it by rebooting the 
 computer (no
  kidding !). As I have verified several times, you have to 
 do this when you
  change the IIS/Tomcat property files.
 
  I hope it helps,
 
  Chris
 
 
  - Original Message -
  From: "David Young" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, October 13, 2000 4:39 AM
  Subject: 404 error w/ isapi_redirect.dll
 
 
  Hello,
 
  I am trying to get Tomcat working with IIS using the 
 isapi_redirect.dll.
 I
  followed the How To instructions by Gal Shachor, however 
 when I attempt
 to
  access http://localhost/examples/, I get a 404 saying it can't find
  /jakarta/isapi_redirect.dll.
 
  - Windows 2000 Professional
  - IIS is running on port 80
  - Anonymous access is enabled
  - I can browse to http://localhost/jakarta/, so the vdir seems OK
  - /jakarta vdir is set to allow execution
  - Permissions on isapi_redirect.dll allow everyone to exec
  - Tomcat is running fine on port 8080, including /examples
 
 
 
 
 



RE: Isapi_redirect.dll v3.2 will not load

2000-12-05 Thread Nacho

It's working for me without problems, have you changed the name of the
dir that contains your working copy ? if yes you will need to change
things as appropiate in the config of isapi_redirect.dll, but nothing
more and and far diffrent from 3.1 to 3.2, please feel free to post all
the details ( reg excerpt, *.properties files etc ), to see if we can
help you ...

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Desaulniers, Peter [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 5 de diciembre de 2000 1:56
 Para: [EMAIL PROTECTED]
 Cc: Desaulniers, Peter
 Asunto: Isapi_redirect.dll v3.2 will not load
 
 
 Facts:
 
 WinNT 4.0SP6a, IIS 4.0
 Tomcat 3.2
 JDK 1.3
 
 I have successfully install, configured and ran Tomcat 3.1 
 (as stand-alone,
 then out of process, and finally in-process) following the 
 documentation
 closely. However, after removing 3.1 and installing 3.2, I am 
 unable to get
 the isapi_redirect.dll to load.  I have followed the exact 
 same steps as 3.1
 for the IIS How-To (for out of process) but the dll fails to load (red
 downward arrow).  Tomcat 3.2 as a stand-alone works fine.
 
 Questions:
 
 1. When I unzipped 3.2, I noticed that all of the text files 
 in the conf
 directory have non-MS carriage returns (i.e. black boxes when 
 viewed with
 Notepad). The same files were fine in 3.1 when viewed with 
 Notepad.  Could
 the improper carriage returns cause problems with running 
 tomcat within IIS?
 
 2. Does the registry key version for the Jakarta Isapi 
 Redirector remain 1.0
 for 3.2 as it was for 3.1?
 
 3. Someone suggested that the isapi_redirect filter need be 
 added at the web
 server level and not the default web site level.  I had it at 
 the default
 web site level for 3.1 and it worked.  For 3.2, it does work at either
 level.  What is the real requirement for 3.2?
 
 4. tomcat 3.2 unzips to the jakarta-tomcat-3.2 directory.  
 Version 3.1 ran
 out of jakarta-tomcat.  I deleted jakarta-tomcat and replaced 
 it with the
 3.2 tree. Does that matter?
 
 5. Regarding the out of process mode, do I need to edit any 
 of the conf
 files for 3.2?  I did not have to edit any for 3.1.  
 
 6. What else can I look at to determine why the redirector won't load?
 
 This seems to be giving alot of people headaches.  It would 
 be nice if some
 who was successful could post their configuration procedure 
 (or a modified
 How To document).  I would be happy to but first I must join 
 those who have
 been successful.
 
 -- Peter Desaulniers
 



RE: container managed authentication - how?

2000-12-05 Thread Nacho

Have a look over the examples webapp, if you try to access
http://localhost:8080/examples/jsp/security/protected you will trigger a
form based auth over that webapp directory use "user"  "pass" as
credentials.

Look at the web.xml file contained in the examples/web-inf dir to see a
working config on that.

Hope this helps.

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Christian Sell [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 5 de diciembre de 2000 11:57
 Para: [EMAIL PROTECTED]
 Asunto: Re: container managed authentication - how?
 
 
 can you (or anyone) tell me WHAT I need to activate to enable 
 J2EE standard
 (form-based) authentication, simply using the 
 tomcat-users.xml file? Is
 there any place I can read up on this? Does this even work?
 
 thanks,
 Christian
 
 - Original Message -
 From: "Joakim Verona" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, December 05, 2000 11:08 AM
 Subject: Re: container managed authentication - how?
 
 
  hello,
 
  try reading the server.xml file. you must activate an interceptor.
  you can choose from several.
 
  Christian Sell wrote:
  
   hello,
  
   I just installed Tomcat 3.2 and deployed my web 
 application, which is
   running sucessfully nuder Orion and JRun, using form-based
 authentication.
   However, Tomcat completely ignores the 
 security-constraint settings. How
 can
   I get Tomcat to enforce this? Does Tomcat support 
 container-managed
   security?
  
   thanks in advance..
   Christian
  
   BTW, Heres my web.xml, in case somebody wants to take a look:
  
   ?xml version="1.0" encoding="ISO-8859-1"?
  
   !DOCTYPE web-app
 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
 "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"
  
   web-app
servlet
 servlet-namewcfsystem/servlet-name
 display-namewcfsystem/display-name
 servlet-classcom.itsit.wcf.adaptor.WCFSystem/servlet-class
 init-param
  param-namewcf.properties/param-name
  param-value/wcf.properties/param-value
 /init-param
 load-on-startup1/load-on-startup
/servlet
  session-config
 session-timeout10/session-timeout
  /session-config
  welcome-file-list
 welcome-fileindex.html/welcome-file
 welcome-fileindex.jsp/welcome-file
  /welcome-file-list
security-constraint
 web-resource-collection
  web-resource-nameWCF Administration/web-resource-name
  descriptionWebComponents Administration/description
  url-pattern*/WCFAdmin.jsp/url-pattern
  url-pattern*/wcfsystem/url-pattern
 /web-resource-collection
 auth-constraint
  descriptionAdministrators only/description
  role-nameadmins/role-name
 /auth-constraint
/security-constraint
login-config
 auth-methodFORM/auth-method
 form-login-config
form-login-page/content/login.html/form-login-page
form-error-page/content/loginerr.html/form-error-page
 /form-login-config
/login-config
security-role
 descriptionWCF Users/description
 role-nameusers/role-name
/security-role
security-role
 descriptionWCF Administrators/description
 role-nameadmins/role-name
/security-role
   /web-app
 
  --
  Joakim Verona
  [EMAIL PROTECTED]
  http://www.verona.se/
 
 



RE: JDBCRealm code change pls.

2000-12-04 Thread Nacho

done in 3.3, thanks

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Scott Hamilton [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 5 de diciembre de 2000 5:30
 Para: [EMAIL PROTECTED]
 Asunto: JDBCRealm code change pls.
 
 
 
 
  Can I request that in both the methods;
 
* public synchronized boolean authenticate(String username,
 String credentials)
* public synchronized String[] getUserRoles(String username)
 
 the code
 
 } catch( SQLException ex ) {
 
 // Log the problem for posterity
 log(sm.getString("jdbcRealm.authenticateSQLException",
  username));
 
be changed to include a log of
 
   log ("SQLException: "+ex.getMessage());
 
to assist in tracking down a wide range of database errors
(meta-data out of date, priviledge denied by database, missing
 spellings of table and column names)
 
 
Many thanks
   Scott, Esq.
 



RE: Trouble with %TOMCAT_OPTS% in Tomcat startup script

2000-11-23 Thread Nacho

TOMCAT_OPS is for user needed options for the JVM executing tomcat, not
need to run a bare Tomcat. 

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: michael e. brubaker [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 23 de noviembre de 2000 16:28
 Para: Tomcat Mailing List
 Asunto: Trouble with %TOMCAT_OPTS% in Tomcat startup script
 
 
 What should %TOMCAT_OPTS% be set to and when?
 
 I can't get tomcat started and I think this is why.  Many thanks.
 
 The code from the "tomcat.bat" in tomcat/bin  :
 
 :runServer
 rem Start the Tomcat Server
 echo Using classpath: %CLASSPATH%
 echo Tomcat-opts is:  %TOMCAT_OPTS% --- meb   
//GIVES
 ME NO OUTPUT and dies at the next line
 java %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
 org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
 goto cleanup
 
 



RE: Context Manager

2000-11-21 Thread Nacho

Hola Wellington:

Why? please explain the intention more deeply, please.

to  answer you i need to review some code ( now i think it's not
possible but how knows until RTFC :) but the idea itself seems curious
to me , do you want to have 2 sets of interceptors/valves ? Please
elaborate a little..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 21 de noviembre de 2000 14:08
 Para: '[EMAIL PROTECTED]'
 Asunto: Context Manager
 
 
 Can I declare more than one context manager in the same server.xml ?
 
 Wellington Silva
 UN/FAO
 
 



RE: running jsp on tomcat

2000-11-21 Thread Nacho

Hola SUBHOMOY:

Probably you need to put the tools.jar from your jdk instalation in the
classpath to be able of use jsp pages as is need to compile JSP's

Saludos ,
Ignacio J. Ortega

PS: please for questions about the use/conf of tomcat, use the
tomcat-user list as tomcat-dev is reserved to tomcat itself developers,
thanks .


 -Mensaje original-
 De: DASS SUBHOMOY /SOFT/INFOTECH [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 21 de noviembre de 2000 6:08
 Para: '[EMAIL PROTECTED]'
 Asunto: running jsp on tomcat
 
 
 
 hi,
 can any one tell me how to run jsp on tomcat in solaris
 2.6.jdk 1.1.3.tomcat3.1.i am able to run servlets but not jsp.
 regards and thanks
 
 subhomoy
 
 
  Feel the pulse of the stock market on the tip of your finger 
 Online Investments at http://www.icicidirect.com. 
 
 



RE: Why tomcat NT service get killed when the user log off

2000-11-18 Thread Nacho

Brett can you contributeyour solution to this problem tojakarta?? 

or at least send me thesources or binaries :-) is the better  more
elegant solution to this problem i've seen, 

if you can contribute this i'll be glad to commit it to tomcat 3.3 and
4.0 

of course giving you credits as the rules mandate ;-)

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Brett Bergquist [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 16 de noviembre de 2000 1:01
Para: [EMAIL PROTECTED]
Asunto: RE: Why tomcat NT service get killed when the user log off


Zhiping, even though jk_nt_service is being used to launch Tomcat, there
is a bug in the Java 1.3 runtime under Windows that causes any java.exe
process to be terminated when the user logs off. The bug is that a
console control handler is setup inside of the java runtime that detects
the CTRL_LOGOFF_EVENT that is sent by Windows to each process when the
user logs off and the handler inside of Java 1.3 is terminating the
process when this occurs. This is the correct operation for a normal
application running but not the correct one for a service.

There is a couple of packages around, one being located at
http://www.kcmultimedia.com/javaserv another at
http://www.eworksmart.com/jnt that handle the CTRL_LOGOFF_EVENT. I tried
a couple of these and while I found that they indeed to stop the
application from being terminated by the CTRL_LOGOFF_EVENT, I found that
they interferred with the normal shutdown of Tomcat. That is, using
these packages, I was not able to shutdown Tomcat cleanly, which caused
the servlets to not have their "destroy" method invoked. 

The reason that this occurs is because the way that these packages work
is that they invoke the Java VM using the JNI interface. When Tomcat is
to be shutdown, the same JNI interface is used to invoke a shutdown
method. The problem occurs because the way that Tomcat (3.x) is shutdown
is by using the APJ interface to send the existing Tomcat instance a APJ
shutdown message (through a TCP connection in fact). These packages send
the APJ message using the JNI interface, but when call returns, they
assume that Tomcat is ready to be shutdown and they then tear down the
Java VM running the Tomcat process. In reality, the Tomcat process has
not yet received the APJ message through its socket interface and as
such has not shutdown cleanly and does not give the servlets a chance to
have their "destroy" method called.

Because my application needs to have the servlet's "destroy" method
called when Tomcat shuts down, I solved this problem by using the source
to "java.exe" launcher as a starting point and then modified it to
install a console control handler that ignores the CTRL_LOGOFF_EVENT. I
called this new launcher "javaex.exe". I then used jk_nt_service and
changed the configuration file references of "java.exe" to "javaex.exe".



I hope this helps.

-Original Message-
From: Zhiping Wei [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 5:38 PM
To: '[EMAIL PROTECTED]'
Subject: Why tomcat NT service get killed when the user log off



Please Help!!! 
This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as
an NT service using 'jk_nt_service.exe' (under Systemlocal account).
It's starts fine but if I log off the windows, tomcat get killed which
is not suppose to be. Could anybody tell me why this happen and how to
fix it. 
-- Zhiping (ext: 307) 



RE: Tomcat 3.1 crashes when closing ODBC connection

2000-11-15 Thread Nacho

Hola Alex:

 * Microsoft Access 97
 * Microsoft Access ODBC driver
 * JAVA 2 SDK, Standard Edition, Version 1.2.2 for the Server

Use JDK 1.3.0 for a better JDBC-ODBC Bridge, it works like a charm for
me much better than 1.2.2, despite the java services problems of 1.3.0
in Windows..

 * TOMCAT Version 3.1

The same use Tomcat 3.2 Beta 7 is much much better any previous Release
version i.e. 3.1 :-)

Saludos ,
Ignacio J. Ortega



RE: [tomcat-user] Re: $TOMCAT_HOME/conf/web.xml isn't readed inTomcat 3.2b6???

2000-11-06 Thread Nacho

Hola a Todos:

The posibility of use jikes to compile jsp, it's now in CVS for tomcat
3.3, the way jsp ( and almost everything ) are handled has changed, now
everything it's an interceptor...

Saludos ,
Ignacio J. Ortega




RE: talking to MS SQL server from Tomcat?

2000-11-03 Thread Nacho

From my own use, JDBC-ODBC Bridge from jdk 1.3, works well, not like the
one in JDK 1.2 ( or any ealy version i think ), it's near production
quality, do a try it will surprise you, sure !!.

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Rick Castello [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 2 de noviembre de 2000 20:59
 Para: [EMAIL PROTECTED]
 Asunto: talking to MS SQL server from Tomcat?
 
 
 
 Is anyone talking to a MS SQL server database with Tomcat?
 
 I'm looking for a JDBC-OBDC bridge, and EasySoft's offering
 has been problematic.
 
 Does anyone have any other suggestions?
 
 -Rick
 [EMAIL PROTECTED]
 
 



RE: Getting the examples running

2000-10-31 Thread Nacho

You need to put %JAVA_HOME%/lib/tools.jar in your classpath, as is
needed to compile JSPs..


Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Nathan Wilhelmi [mailto:[EMAIL PROTECTED]]
Enviado el: martes 31 de octubre de 2000 17:37
Para: '[EMAIL PROTECTED]'
Asunto: Getting the examples running



I'm new to Tomcat / Apache and trying to get the example JSP pages
working. I'm running W2K, Tomcat 3.1, and JDK 1.3 installed. I thought I
followed the configuration instructions correctly. I can see the static
page listing the examples, but when I try to run one of the example
pages I get and error:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:
128)
 at org.apache.jasper.runtime.JspServlet.LoadJSP(JspServlet.java:413)

...

What am I doing wrong and how do I fix it?

Thanks in advance for any help!

Sincerely,

Nathan Wilhelmi



RE: building Tomcat 3.2 on JDK 1.1

2000-10-23 Thread Nacho

Thanks for the patch i'll commit  it ASAP, 

i think  tomcat 3.2 is not suppoused to build on JDK 1.1, some time ago
this issue was discussed on Tomcat-dev and the result was 3.x is built
on jdk 1.2 and can run on 1.1 and tomcat 4.x only runs on 1.2 and up,
but your patch it's needed to be able to run on 1.1...

Lesson: RELEASE 3.2 ASAP no more "secure" commits in please.

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Andrew Sudell [mailto:[EMAIL PROTECTED]]
 Enviado el: lunes 23 de octubre de 2000 15:34
 Para: [EMAIL PROTECTED]
 Asunto: building Tomcat 3.2 on JDK 1.1
 
 
 Recently, there was a post from [EMAIL PROTECTED], who was failing
 to build 3.2 on JDK 1.1.8.  I'd run into the same problem, but due
 to ISP dificulties (bad DNS lookups to the mail server) have recently
 been unable to mail to the jakarta lists.  Since, I haven't 
 seen anyone
 put forth this answer, and I don't se a similar change in the code.
 Here's what I've done to get around it.
 
 Catch: 
 While the change makes sense to me, and I can build, and I can run,
 it's worth noting that I haven't had time to really test it.  
 Specifically,
 I haven't actually tried supplying an alternate random class.
 
 Drew Sudell
 
 Index: build.sh
 ===
 RCS file: /home/cvspublic/jakarta-tomcat/build.sh,v
 retrieving revision 1.11
 diff -c -r1.11 build.sh
 *** build.sh  2000/05/01 15:46:47 1.11
 --- build.sh  2000/10/23 04:55:15
 ***
 *** 20,26 
   
   JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS
   
 ! 
 cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servle
t.jar:../jakarta-tools/moo.jar:../build/tomcat/classes:
$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar
   
   $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"
   
 --- 20,26 
   
   JAVACMD=$JAVA_HOME/bin/java $ANT_OPTS
   
 ! 
 cp=../jakarta-ant/lib/ant.jar:../jakarta-servletapi/lib/servle
t.jar:../jakarta-tools/moo.jar:../build/tomcat/classes:
$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dev.jar:$JAVA_HOME/lib
 /classes.zip
   
   $JAVACMD -classpath $cp:$CLASSPATH org.apache.tools.ant.Main "$@"
   
 Index: src/share/org/apache/tomcat/core/ContextManager.java
 ===
 RCS file: 
 /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/cor
e/ContextManager.java,v
 retrieving revision 1.100.2.11
 diff -c -r1.100.2.11 ContextManager.java
 *** src/share/org/apache/tomcat/core/ContextManager.java  
 2000/10/04 20:49:16   1.100.2.11
 --- src/share/org/apache/tomcat/core/ContextManager.java  
 2000/10/23 04:55:46
 ***
 *** 332,338 
*  session id generator. 
*/
   public void setRandomClass(String randomClass) {
 ! System.setProperty("tomcat.sessionid.randomclass", 
 randomClass);
   }
   
   /** Get the showDebugInfo property to be used for 
 controlling the display of
 --- 332,341 
*  session id generator. 
*/
   public void setRandomClass(String randomClass) {
 !   // XXX - JDK 1.1 lacks System.setProperty()
 !   Properties sysProp = System.getProperties();
 !   sysProp.put("tomcat.sessionid.randomclass", 
 randomClass);
 ! 
   }
   
   /** Get the showDebugInfo property to be used for 
 controlling the display of
 -- 
 Drew Sudell[EMAIL PROTECTED] 
http://www.op.net/~asudell