Re: Apache SetEnv variables and tomcat

2001-02-22 Thread Tom Woteki

The authentication values (user name, user role and password) are not stored
in the web.xml file. They are stored in your database which tables
presumably can be password protected. What is in the web.xml file is
configuration info concerning the resources that are to be protected, what
roles have access to them and the level of security that applies to the
resources.

The servlet needing authentication protection does not need access to
web.xml at all so the file can be owned by root (or not) with the server
running as root and having access to it.

I believe all this accomplishes the objective stated in your third point
below.

Hope this helps., If not I'm afraid I'm out of ideas.
-- 
Tom Woteki, a.k.a. Dr. Wo
mail to:[EMAIL PROTECTED]
202-544-2743 (fax)
http://www.woteki.com/wines -- a pure Java, Apache-Tomcat web application
running under MacOSX
 user/password the servlet uses to access the database.  If the values
 are simply stored in web.xml, what is to prevent anyone with access to
 the system from reading the web.xml file and compromising the database

 On the other hand, if web.xml is root
 protected (i.e., need root privileges to read it), other than running
 the servlet as root, how do I read the file.  That's the quandry.

 What I need is a similar mechanism of securing the
 servlet's credentials against unauthorized access while still enabling
 the servlet to read them up. 


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




A Little message for Carlos !!!!

2001-02-22 Thread Negrini Lilian



Hello 

I have the same problem than 
you,in configuring Tomcat. I want to protect some pages with
Login  password ... if someone 
have an solving for this, please forward it !!!

Thanks  a lot 


Lilian

[EMAIL PROTECTED]


Cannot load d:/apache/modules/ApacheModuleJServ.dll into server:

2001-02-22 Thread annu76 oni

Hi,

i am trying to use tomacat with apache web server.
when i am trying to start apapche it says :

Cannot load d:/apache/modules/ApacheModuleJServ.dll into server:


Whats meaning of this error ??


thanks for any help
Anand



_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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




RE: Where is the source code for mod_jserv?

2001-02-22 Thread Adam Fowler

Hi,

When you download the source it's in
jakarta-tomcat-3.2.1-src/src/native/apache/jserv

I'd imagine the tomcat 4.0 source tree is similar but I haven't checked.

There are also makefiles for various systems in that directory.

Hope this is what ur looking for.

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: Stuart Morse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 6:48 PM
To: [EMAIL PROTECTED]
Subject: Where is the source code for mod_jserv?


Hi,

I have Tomcat installed and running on an Intel FreeBSD 4.2 system, but I
can't make it interface with apache because I'm missing the shared library:

mod_jserv.so

The Tomcat user guide says I should obtain the source code and compile
it on my systems using apxs. I went to the link at which the guide said I
could find the source, downloaded the source for Tomcat, as instructed by
the guide, but it didn't contain the source for mod_jserv. Does anybody
know where I can find this?

Please reply to me directly, as I am not a member of this list.

Regards,

Stuart
--
Stuart Morse, BCD Technical Support


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



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




RE: cpu load 100% on windows 2000 using iis

2001-02-22 Thread Craig O'Brien

Sorry about all these postsI could have just been patient and combined
them.  :0)

Did you delete the default contexts?  This will cause this problem. Either
reinstall them temporarily or look into your config files in tomcat to clear
up the issue. Sorry, I don't have time to look them up right now.

Regards,
Craig

-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:20 PM
To: [EMAIL PROTECTED]
Subject: RE: cpu load 100% on windows 2000 using iis


Just so you know.  This is not a Windows only issue and can appear on most
OSs. (Solarus etc.)

Craig

-Original Message-
From: Rui M . Silva Seabra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 2:35 PM
To: [EMAIL PROTECTED]
Subject: cpu load 100% on windows 2000 using iis


Hello,

 Please, before reading this, bare in mind that unfourtunately I am forced
to use an IIS and windows 2000, because of a client's demands, so changing
to the desirable *nix+apache+tomcat is not an option.

 Apparently everything is okay.
 Until the moment when you either reach the isapi_redirect.dll directly
(because you know the url and there's no point in defending security by
obscurity) or call a servlet.
 By the time either of this events happen, the tomcat java process jumps to
100% cpu usage, until an indeterminate time, and provides no results.

 So, what could be happening? Here go some technical details on the machine:

  * windows 2000 (yuk)
- no namesolver, all name must be solved by usage of the hosts file
  * IIS (default with win2k - yuk yuk)
  * tomcat 3.2.1
  * jdk 1.3.0


If anyone has a sensible opinion on this matter, please, share your thoughts
with me on the list, since this could be a future trouble shooter.

Hugs, rms

--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

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


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


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




RE: A Little message for Carlos !!!!

2001-02-22 Thread shlomi sarfati



I hope 
I can help you guys 
I tried this one on my win 2000 and it is 
working good .
in your web.xml document you should add a 
security-constraint entry , define the url pattern that you want 
to protect  ( e.g 'myServlet' )
add 
the http methods that you want the security will work on (e.g: GET, POST ... 
)
after 
this you should determine who should log inwith the  login-config 
tag (e.g Admin)
the 
realm-name is in the tomcat users file . 


web-app

 
security-constraint 
web-resource-collection 
web-resource-nameProtected 
Area/web-resource-name 
url-pattern/myServlet/url-pattern 
 
http-methodDELETE/http-method 
http-methodGET/http-method 
http-methodPOST/http-method 
 
http-methodPUT/http-method 
/web-resource-collection 
auth-constraint 
role-nameadmin/role-name 
/auth-constraint 
/security-constraint

 
login-config 
auth-methodBASIC/auth-method 
realm-nameAdmin/realm-name 
/login-config
 
.
 
. 
 
.
 
.

web-app

  -Original Message-From: Negrini Lilian 
  [mailto:[EMAIL PROTECTED]]Sent: Mon, April 07, 1980 1:17 
  AMTo: [EMAIL PROTECTED]Subject: A Little 
  message for Carlos 
  Hello 
  
  I have the same problem than 
  you,in configuring Tomcat. I want to protect some pages 
with
  Login  password .. if someone 
  have an solving for this, please forward it !!!
  
  Thanks  a lot 
  
  
  Lilian
  
  [EMAIL PROTECTED]


RE: mod_jk.so installation tar.gz...

2001-02-22 Thread Adam Fowler

Hi,

I picked up the source RPM for tomcat3.2.1.

I've been checking in the startup script and I saw that JAVA_HOME is being
set to /usr/IBMJava2-13. I was wondering if there is any particular reason
for this or if it is fine to change it to the standard path for Sun's JDK
1.3 for Mandrake? (/usr/java/jdk1.3)

I'll setup a dependency for sun's jdk1.3 too.

I also noticed that in tomcat.logrotate the name of the logfile has jserv in
it, not jk.

If the above are stupid things then send me a e-slap.

I found the updated RPM-HOWTO at http://www.oswg.org/oswg so I should be ok
making them.

Gimme a week (don't you DARE update the source! 8o) )

Regards,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:35 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk.so installation tar.gz...


Did you notice that there is existing RPM for tomcat modules,
mod_jk and mod_jserv ?

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3-m1/rpms/

I'd really like you to rebuild the SRPMS, tag the release with mdk and
provide the SRPMS / RPMS back to Mandrake users...

La prise de conscience de votre propre ignorance est un grand pas vers la
connaissance.
-- Benjamin Disraeli


-Original Message-
From: Adam Fowler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 11:34 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: mod_jk.so installation tar.gz...


Hi,

This kind of trouble! 8o) :-

[root@willow RPM]# rpm -ba SPECS/mod_jk-apache1.3-1mdk.spec
File /usr/src/RPM/SOURCES is smaller than 4 bytes
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14373
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf mod_jk.so-tomcat3.2.1
+ tar -xf /usr/src/RPM/SOURCES
tar: /usr/src/RPM/SOURCES: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
Bad exit status from /var/tmp/rpm-tmp.14373 (%prep)
[root@willow RPM]#

I'd be greatful for some help, the RPM-Howto doesn;t help much.

Oh, and your e-mail address is appearing as [EMAIL PROTECTED]!
(apart from the reply-to, obviously)

Regards + thanks,
Adam.


Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Peter B. West
Sent: Monday, February 19, 2001 10:42 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk.so installation tar.gz...


Adam Fowler wrote:

 I'm trying to make an RPM but am having trouble building it.
Any hints?

What kind of trouble?

Peter
--
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

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



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


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



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




Re: A Little message for Carlos !!!!

2001-02-22 Thread qazwasyx

If it is just standard authentification,

I think you have 2 choices:

1) Integrate Tomcat with Apache and set up Apache to 
handle this (don't know how to do this)
2) Create an authentification object and keep 
authentification state in it. Check for it on the pages 
you want... You could keep usernames and p/w in a 
filem or a DB and authenticate against the list when 
loging in.

Is that what you had in mind?

Hello 

 I have the same problem than you, in configuring 
Tomcat. I want to protect some pages with
Login  password ... if someone have an solving for 
this, please forward it !!!

 Thanks  a lot 

 Lilian

 [EMAIL PROTECTED]





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




RE: Problem with Tomcat - Red Hat 7

2001-02-22 Thread Saurabh Shukla


hii Vanbiervliet,

you can try setting up the PATH variable in your .bashrc if you are using
bash.
or in the file tomcat.sh ,you can set up the PATH.

do echo $PATH to check if your path is proper.

Are you able to start tomcat if you do not use the X ? (i do not think the
problem is coz' of your X server).

Shuklix

-Original Message-
From: Vanbiervliet Matthew [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:53 PM
To: [EMAIL PROTECTED]
Subject: Problem with Tomcat - Red Hat 7


Hello everybody,
I have some problems with the Tomcat install with Red Hat 7.
Firstly, the path that I get in KDE seems not to be the same as the one I
have
in the text mode. Does X have another path ? How can I change the default
path
of KDE ?
Currently, to solve the problem, I put my JDK in one of the path directories
but that's just a temporary solution. When I start Tomcat (bin/startup.sh),
he
stops just before he has to write the lines beginning with pool... (the
final
lines before the startup of the server). I get no error messages but tomcat
isn't started at all. I'll try to install the version 4 of tomcat and see
but I
don't think this will change much.


Can anyone help me ?
Thanks

Note : I have no problems with Red Hat 6.2. I've installed Red Hat 7 so that
I
could use my USB
mouse.



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



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




IE form POST generates 404 error

2001-02-22 Thread Roger Campbell

We have a servlet application running on Tomcat 3.1 with IIS 5.0.  When
forms are posted from the browser, IE gives a 404 error occasionally.  You
can hit the back button and submit again, and it will normally work the
second or third try.  This happens with both IE 5.0 and IE 5.5 but Netscape
4.7 works fine.  It appears to be more of an IE problem than Tomcat, because
IIS and Tomcat never get the bad request (according to the logs).

I suspect some kind of caching problem and have adjusted the Expiration
times but this didn't help.  I would appreciate any other suggestions.
Thanks,

Roger Campbell


CustomerCentrix, LLC.
www.customercentrix.com

[EMAIL PROTECTED]


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




Socket write error

2001-02-22 Thread HASSAN,ZAID (Non-A-Australia,ex1)


Hi Folks,

I am also getting the Socket Write error

Ctx(): IOException in R:( + /Template/... + null) Connection aborted by
peer:socket write error.

Can someone suggest and help here.

Thanks heaps

Zaid

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




Re: Cannot buiild mod_jserv.so

2001-02-22 Thread Ludovic Maitre

Hello,

From http://www.webdav.org/mod_dav/install.html :
Note: if using APXS and your Apache installation does not support
loadable modules, then APXS will terminate with an error. Typically, we
have seen the following error when this happens: 

apxs:Break: Command failed with rc=16711680 
If this happens, then you will need to rebuild and reinstall your Apache
software with the mod_so module included. Note the reinstall part --
we've seen several cases where a new Apache was built and installed, but
a new APXS was not (so the problems continued). 

Manos Riglis wrote:
 
 Hi,
 
 I have tried to build mod_jserv.so  in a solaris box for tomcat 3.2.1, by
 running apxs -c -o mod_jserv.so *.c.; Here is the compiler output

 apxs:Break: Command failed with rc=16711680
 
 I am running apxs from $JAKARTA_HOME/jakarta-tomcat/src/native/apache/jserv
 as root.
 
 Any help would be appreciated
 
 Thanks
 
 Manos

Regards,
-- 
 [EMAIL PROTECTED]

 INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02

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




R: R: Problem with a new version of JSP pages

2001-02-22 Thread Garry De Toffoli

Also me;

infact restarting the TomCat and Apache, from my IE, I cannot see the new
JSP pages, but not every time; it is difficult  to simulate the problem, but
after 15-20 minutes of modify on 2 o more JSP pages, the new JSP will not be
visible; from that moment, I (and all my factory) see the old JSP page,
while I restart Tomcat and Apache;

in my factory we develop in ASP, and we have no problem at all when we
modify an ASP Page;

I would like to  work with JSP page on the same mode, that is modifying my
JSP page through LAN directly on on Web Server, and viewing the newer
version;

but now, with  this problem, I don't know if the modification will be
executing, and when.

Thank you very much for your help.

Best regards
Garry De Toffoli

- Original Message -
From: Jan Labanowski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 3:37 PM
Subject: Re: R: Problem with a new version of JSP pages


 That means that you have a proxy server installed somewhere.
 You need to change the properties in your browser and tell it to
 load the pages directly, without using proxy server. I do not use IE
 daily, so I do not know the order of clicks. It is probably:

   View -- Internet Options -- Connection -- Bypass Proxy server

 On netscape it would be:

   Edit -- Preferences -- Advanced -- Proxies -- Direct connection to
the
 internet

 If this is not it, I am not sure what is happening...


 On Wed, 21 Feb 2001, Garry De Toffoli wrote:

  Sorry for my incomplete information.
 
  I'm using Tomcat 3.21 with Apache 1.3, in Win2k Server Edition; JDK 1.3;
  the brower is Internet Explorer 5.5;
 
  I have try to refresh and to delete all files in $TOMCAT_HOME/work, but
I
  have also the same problem; from my PC I modify a JSP page, I read from
the
  JASPER.LOG that my Jsp Page has been compiled; on the $TOMCAT_HOME/work
  there is another .java and .class is newer; but from my and all browser
of
  my office, I see the JSP page without modification;
 
  Occasionaly, after a modification end reloading my Jsp Page, from my
browser
  I run a jsp page, that made a submit on another jsp page; on the SUBMIT
  time, on the end of the first  jsp page appear these rows:
 
  HTTP/1.1 200 OK
  Date: Tue, 20 Feb 2001 10:03:07 GMT
  Server: Apache/1.3.12 (Win32) mod_jk
  Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servelet 2.2; Java
1.3.0;
  Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
  Keep-Alive: timeout=15. max=99
  Transfer-Encoding: chunked
  Content-Type: text/html;charset=8859_1
 
  and after these the new jsp page, but these appear like a single page;
  refreshing the page, all is OK; it seems to be a mismatch of the TomCat
or
  of the Apache sending  the page.
 
  I have read the bug#80, saying that Jasper JSP compiler is not
threadsafe;
  is this possible that my problem would manifest when there are 2 compile
of
  JSP page at the same time? And if yes, what can I do?
 
  May be a configuration problem? After the installation, I have modifiied
the
  httpd.conf of Apache in this manner:
 
  ... init modify of apache.conf...
  VirtualHost 213.178.196.10
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot "d:/JSP"
   DirectoryIndex homepage.htm
   ServerName www.test.jsp
   CustomLog d:/JSP/access.log common
  /VirtualHost
 
  include c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\tomcat-apache.conf
  include c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto
  ... end modify of apache.conf...
 
  in Server.xml of Tomcat I have added these lines only:
  Context path="/jsp"
   docBase="d:\jsp"
   crossContext="false"
   debug="9"
   reloadable="true" 
  /Context
  Context path="/hello"
   docBase="d:\jsp\hellouser"
   crossContext="false"
   debug="0"
   reloadable="true" 
  /Context
  Context path="/Carl"
   docBase="d:\jsp\Carl"
   crossContext="false"
   debug="0"
   reloadable="true" 
  /Context
  Context path="/examples"
   docBase="webapps/examples"
   crossContext="false"
   debug="0"
   reloadable="true" 
  /Context
 
  I have only modified these files after the installation of apache and
  Tomcat; for example I have not JWSDK;
 
 
 
  - Original Message -
  From: Jan Labanowski [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, February 20, 2001 7:28 PM
  Subject: Re: Problem with a new version of JSP pages
 
 
   In your browser do
   Shift/Reload (or Shift/Refresh)
   and if this does not work, delete all files in $TOMCAT_HOME/work (but
   not the directory).
  
   You can also change cache sized in your browser to 0k. Next time tell
   us what OS and what browser and what version, 

Re: HOWTO setup SSL

2001-02-22 Thread Drasko Kokic

Are you using JDK 1.2? Because, I had that problem
too,
and it went away when I upgraded to JDK 1.3.

Karin

--- Johnson Lim [EMAIL PROTECTED] wrote:
 Hi all,
 
 I am trying go get SSL work on my tomcat, I have
 follow the instruction on
 Tomcat and SSL, I have get the JSSE install and put
 it on the classpath, but
 when I run the
 
 keytool -genkey -alias tomcat -keyalg RSA
 
 error occurs:
 
 C:\Test\confkeytool -genkey -alias tomcat -keyalg
 RSA
 Enter keystore password:  changeit
 keytool error:
 java.security.NoSuchAlgorithmException: RSA
 KeyPairGenerator
 not
 available
 
 Please help
 



__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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




Redirect errors from Tomcat to Apache

2001-02-22 Thread Ludovic Maitre

Hello,

I use Tomcat 3.2.1/Apache 1.3.17 with mod_jserv on Solaris 2.6.

I want to redirect the 404 error (or others) from Tomcat to Apache when
a jsp page is called and don't exist.

For a folder who is managed by Tomcat and Apache i have no problem with
files who are managed by Apache (shtml, html, php, cgi,...), Apache
catch the error and respond with is error page. But with URL who are
managed by Tomcat (xml, jsp, servlets...) via a handler (AddHandler
jserv-servlet .jsp) the errors like 404 are catched by Tomcat.

Is there any configuration in Apache and/or Tomcat to forward the errors
to
Apache ? 

Thanks per advance,
-- 
 [EMAIL PROTECTED]

 INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02

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




Re: How do I get AJP13 working

2001-02-22 Thread Rob Tanner

That's one of the most popular questions on this list (it ought to be a 
FAQ).  The answer is the latter -- you need to use a static file.  And 
besides, you only need modify that status file when you create a new 
application, not just when you add a new servlet or *.jsp page.

-- Rob

--On Thursday, February 22, 2001 08:26:23 AM +1100 "McDermid, Ian" 
[EMAIL PROTECTED] wrote:

 Hi,

 I have Apache 1.3.17 with SSL and Tomcat working. My question
 relvolves around the mod_jk.conf-auto file. No matter what I change
 the JKMount statements always specify Ajp12 as the protocol to be
 used.

 Is there a way I can force ajp13 use in the auto file or will I have
 to change the Include statement in httpd.conf to include a static
 file.


 Ian



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





   _ _ _ _   __ _ _ _ _
  /\_\_\_\_\/\_\ /\_\_\_\_\_\
 /\/_/_/_/_/   /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __/\/_//\/_/  PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_//\/_/
  /\/_/ \/_/  /\/_/_/\/_//\/_/ (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/ \/_/  appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]

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




RE: How to measure Apache-Tomcat performance?

2001-02-22 Thread Harish Somisetty

Hi,

Thanx for all your help! I've checked this WCAT and it
seems this can only measure performance of IIS and
JMeter looks like the one I'm looking for. Once I port
my whole app onto the server, I'll test the
performance.

Thanx,
harish

--- Dave Glende [EMAIL PROTECTED] wrote:
 WCat, from Microsoft (yes, I know...), is another
 capacity measurement tool
 that we have used and it's free.  It can be found at

http://msdn.microsoft.com/workshop/server/toolbox/wcat.asp
 
 Dave
 
  -Original Message-
  From: Harish Somisetty
 [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 20, 2001 12:19 PM
  To: [EMAIL PROTECTED]
  Subject: How to measure Apache-Tomcat performance?
  
  
  Hi,
  
  I've posted this same question before a couple of
 days
  and I didn't get even a single reply. I'm
 desperately
  waiting for some guru out there to help answering
 my
  newbie question. Prev mail contents follow:
  
  How can I find out how well the Apache-Tomcat
  combination perform, in terms of simultaneous
 hits? My
  site is highly Servlet/JSP concentrated and
 expecting
  to have a maximum of 300 simultaneous hits at any
  given time. Server is expected to run on HP-UX
 11.0
  environment.
  
  I also have to justify my answer that it really
  supports those many simultaneous hits on the given
  hardware configuration. Is there any documented
 proof
  about its support?
  
  Thanx in advance,
  harish

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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




RE: mod_jk.so installation tar.gz...

2001-02-22 Thread GOMEZ Henri

I picked up the source RPM for tomcat3.2.1.

I've been checking in the startup script and I saw that 
JAVA_HOME is being
set to /usr/IBMJava2-13. I was wondering if there is any 
particular reason
for this or if it is fine to change it to the standard path 
for Sun's JDK
1.3 for Mandrake? (/usr/java/jdk1.3)

You could use any JDK you want 

I'll setup a dependency for sun's jdk1.3 too.

Put a dependency for Java or JVM but not Sun specific.
Don't forget that users must have the choice and there is
at least 3 JDK publishers on Linux : Blackdown, IBM, Sun.
And there is also support for both JDK 1.1.8 and 1.3

I also noticed that in tomcat.logrotate the name of the 
logfile has jserv in it, not jk.


Not really important since logrotate is not yet used.
We need to have a way to send a signal (ie via kill)
to the tomcat server, which will release it's hand
on the log file.


If the above are stupid things then send me a e-slap.

I found the updated RPM-HOWTO at http://www.oswg.org/oswg so I 
should be ok
making them.

Thanks for the URL.
 
Gimme a week (don't you DARE update the source! 8o) )

I'll release a new SRPMS from your updates ;-)

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




RE: Socket write error

2001-02-22 Thread Tal Dayan

Hassan,

1. Are you accessing an image file when the problem happens ?
2. Is the browser IE ?
3. Does the problem disappear in the first reload after clearing your
browser cache ?
4. Are you using Tomcat in stand alone mode ?

If you answered YES to all the four questions than the problem is probably
due to the lack of support of HTTP Status 304 in Tomcat 3.2 stand alone
server. When the browser discovers that the new image is identical to the
one it has in the cache it simply aborts the connection and uses the cached
value.

The good news is that status 304 is supposed to be supported in Tomcat 4.0.

Tal


 -Original Message-
 From: HASSAN,ZAID (Non-A-Australia,ex1)
 [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 21, 2001 4:19 PM
 To: '[EMAIL PROTECTED]'
 Subject: Socket write error



 Hi Folks,

 I am also getting the Socket Write error

 Ctx(): IOException in R:( + /Template/... + null) Connection aborted by
 peer:socket write error.

 Can someone suggest and help here.

 Thanks heaps

 Zaid

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




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




RE: Tomcat and IIS

2001-02-22 Thread Mike Dewhirst


Also check the "log_file" registry entry (normally tomcat\iis_redirect.log.  Set the 
log_level registry entry to debug see detailed info about the progress of the request 
through the redirector.

Also check permissions on your directories (try Everyone and full permissions).

Double and triple check the registry settings, this seems to be a common problem.

I presume you have the "jakarta" isapi filter installed in IIS, with the dirname 
pointing to the isapi_redirect.dll in Executable.

Are you using the most recent version of the isapi_redirect.dll ?

check the set-up process with {TOMCAT_HOME}\doc\tomcat-iis-howto.html
or with 
http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/etc/Attic/tomcat-iis-howto.html?rev=1.6content-type=text/html


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


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




.war + server.xml

2001-02-22 Thread Sharon . Chua

hi,

i've downloaded the binaries for tomcat 3.2.1.
i do not want to use the default /webapps.
will i be able to specify this in server.xml

Context path="/my_ui"
 docBase="/usr/local/htdocs/my_ui"
 crossContext="true"
 debug="0"
 reloadable="true" 
/Context

and place my_ui.war in /usr/local/htdocs and get it to expand out into the
full directory structure?

apparently, war file does not expand automatically.
pls enlighten me on how i should go about doing it.
thanks lots.


Regards,

Sharon Chua
EdgeMatrix
http://www.edgematrix.com
EdgeMatrix Pte Ltd.
30 Hill Street #05-01 Singapore 179360
Tel: +65-226-0788 x 221 / Fax: +65-226-0733

Singapore ... Australia ... Hong Kong ... Malaysia ...Taiwan ...

The information in this email and any attachments is confidential and may
be legally privileged. All liability for viruses is excluded to the fullest
extent permitted by law.  Any views expressed in this message are those of
the individual sender, except where the sender states them, with requisite
authority, to those of EdgeMatrix.



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




Tomcat konqueror

2001-02-22 Thread Laurent LAUBIN

Hello

Is there anybody using Konqueror to browse JSP pages served by a tomcat
server ? I've noticed that tomcat set as default contentType "text/html;
charset=8859_1 ", which makes konqueror render the html files with fonts
unreadable !!! 

The only solution i've found is to add a
response.setContentType("text/html") in every jsp pages to remove the
'buggy' content type (should be 'iso-8859-1' instead of '8859_1') ... Can it
be configurable in tomcat directly ???


for information, i'm using tomcat 3.2.1, with apache 1.3.12 on Redhat 7.0
thanks
___
Laurent LAUBIN  S2M
Ingénieur système   2, rue des champs - BP 2282
Tél : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___
 

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




RE: R: Problem with a new version of JSP pages

2001-02-22 Thread Byung Jin Chun

If tomcat is creating a new version of the servlet class file,
then the problem is probably with ie caching the pag

 -Original Message-
 From: Garry De Toffoli [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 21, 2001 10:26 AM
 To: [EMAIL PROTECTED]
 Subject: R: R: Problem with a new version of JSP pages
 
 
 Also me;
 
 infact restarting the TomCat and Apache, from my IE, I cannot 
 see the new
 JSP pages, but not every time; it is difficult  to simulate 
 the problem, but
 after 15-20 minutes of modify on 2 o more JSP pages, the new 
 JSP will not be
 visible; from that moment, I (and all my factory) see the old 
 JSP page,
 while I restart Tomcat and Apache;
 
 in my factory we develop in ASP, and we have no problem at all when we
 modify an ASP Page;
 
 I would like to  work with JSP page on the same mode, that is 
 modifying my
 JSP page through LAN directly on on Web Server, and viewing the newer
 version;
 
 but now, with  this problem, I don't know if the modification will be
 executing, and when.
 
 Thank you very much for your help.
 
 Best regards
 Garry De Toffoli
 
 - Original Message -
 From: Jan Labanowski [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, February 21, 2001 3:37 PM
 Subject: Re: R: Problem with a new version of JSP pages
 
 
  That means that you have a proxy server installed somewhere.
  You need to change the properties in your browser and tell it to
  load the pages directly, without using proxy server. I do not use IE
  daily, so I do not know the order of clicks. It is probably:
 
View -- Internet Options -- Connection -- Bypass Proxy server
 
  On netscape it would be:
 
Edit -- Preferences -- Advanced -- Proxies -- Direct 
 connection to
 the
  internet
 
  If this is not it, I am not sure what is happening...
 
 
  On Wed, 21 Feb 2001, Garry De Toffoli wrote:
 
   Sorry for my incomplete information.
  
   I'm using Tomcat 3.21 with Apache 1.3, in Win2k Server 
 Edition; JDK 1.3;
   the brower is Internet Explorer 5.5;
  
   I have try to refresh and to delete all files in 
 $TOMCAT_HOME/work, but
 I
   have also the same problem; from my PC I modify a JSP 
 page, I read from
 the
   JASPER.LOG that my Jsp Page has been compiled; on the 
 $TOMCAT_HOME/work
   there is another .java and .class is newer; but from my 
 and all browser
 of
   my office, I see the JSP page without modification;
  
   Occasionaly, after a modification end reloading my Jsp 
 Page, from my
 browser
   I run a jsp page, that made a submit on another jsp page; 
 on the SUBMIT
   time, on the end of the first  jsp page appear these rows:
  
   HTTP/1.1 200 OK
   Date: Tue, 20 Feb 2001 10:03:07 GMT
   Server: Apache/1.3.12 (Win32) mod_jk
   Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; 
 Servelet 2.2; Java
 1.3.0;
   Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
   Keep-Alive: timeout=15. max=99
   Transfer-Encoding: chunked
   Content-Type: text/html;charset=8859_1
  
   and after these the new jsp page, but these appear like a 
 single page;
   refreshing the page, all is OK; it seems to be a mismatch 
 of the TomCat
 or
   of the Apache sending  the page.
  
   I have read the bug#80, saying that Jasper JSP compiler is not
 threadsafe;
   is this possible that my problem would manifest when 
 there are 2 compile
 of
   JSP page at the same time? And if yes, what can I do?
  
   May be a configuration problem? After the installation, I 
 have modifiied
 the
   httpd.conf of Apache in this manner:
  
   ... init modify of apache.conf...
   VirtualHost 213.178.196.10
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "d:/JSP"
DirectoryIndex homepage.htm
ServerName www.test.jsp
CustomLog d:/JSP/access.log common
   /VirtualHost
  
   include 
 c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\tomcat-apache.conf
   include c:\tomcat3.21\jakarta-tomcat-3.2.1\conf\mod_jk.conf-auto
   ... end modify of apache.conf...
  
   in Server.xml of Tomcat I have added these lines only:
   Context path="/jsp"
docBase="d:\jsp"
crossContext="false"
debug="9"
reloadable="true" 
   /Context
   Context path="/hello"
docBase="d:\jsp\hellouser"
crossContext="false"
debug="0"
reloadable="true" 
   /Context
   Context path="/Carl"
docBase="d:\jsp\Carl"
crossContext="false"
debug="0"
reloadable="true" 
   /Context
   Context path="/examples"
docBase="webapps/examples"
crossContext="false"
debug="0"
reloadable="true" 
   /Context
  
   I have only modified these files after the installation 
 of apache and
   Tomcat; for example I 

Transaction error.

2001-02-22 Thread Phong Le Quoc


 I user Oracle JServer, Tomcat 3.2.1.
 
 I make two EJB bean(EntityBean, SessionBean). After
 I
 run EntityBean then SessionBean not run and return
 message "Not a transaction". Is this error depended
 on
 my code or Tomcat or Jserver ?
 
 Help me if you can answer this question.
 
 Reply to me: [EMAIL PROTECTED]
 
 Thank you for your reply my question.
 Quoc Phong.
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great
 prices! http://auctions.yahoo.com/
 


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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




Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Valeriy Molyakov



Hi !
What advantages gives use Tomcat + Apache? 
Why recommend using Tomcat as stand-alone container mainly for development and 
debugging ?
Thank's !

Best regards, Valera 
M. mailto:[EMAIL PROTECTED]


Re: problem upgrading to tomcat4.0 from tomcat3.2

2001-02-22 Thread eddie tsai

i am using tomcat 4.0 milestone 5. suggestion on which version i should
get?

thanks,

eddie
--

On Wed, 21 Feb 2001, Craig R. McClanahan wrote:

 eddie tsai wrote:
 
  hi,
 
  i am upgrading from tomcat3.2 to tomcat4.0. the same servlets that
  worked with tomcat3.2 don't work with tomcat4.0 anymore. specifically,
  it tells me that my servlets aren't servlets. the root cause was that it
  had problem while casting. my servlet extends GenericServlet. my
  servlets are located in a different directory (not in the classes
  directory), would that cause the problem? it looks like it could find
  the servlet but could not accept it as a servlet.
 
  did anyone encounter that problem when upgrading? how did you solve it?
 
 
 Which build of Tomcat 4.0 are you trying this with.  There were problems similar to 
this
 prior to 4.0-beta-1 but they have been fixed in recent nightly builds.
 
 
  thanks,
 
  eddie
 
 
 Craig McClanahan
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


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




Re: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread D.Lion



As I understand Apache is more stable ( tested 
bytime )

  - Original Message - 
  From: 
  Valeriy 
  Molyakov 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, February 22, 2001 1:02 
  PM
  Subject: Help:What type of a 
  configuration Tomcat is more preferable to industrial use
  
  Hi !
  What advantages gives use Tomcat + Apache? 
  Why recommend using Tomcat as stand-alone container mainly for development and 
  debugging ?
  Thank's !
  
  Best regards, Valera 
  M. mailto:[EMAIL PROTECTED]


RE: HOWTO setup SSL

2001-02-22 Thread GOMEZ Henri

Check the tomcat-ssl-howto.html.

You MUST ALSO have the JSSE JARS in jre/lib/ext and
must set security/java.security !

La prise de conscience de votre propre ignorance est un grand pas vers la
connaissance.
-- Benjamin Disraeli
 

-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: HOWTO setup SSL


Are you using JDK 1.2? Because, I had that problem
too,
and it went away when I upgraded to JDK 1.3.

Karin

--- Johnson Lim [EMAIL PROTECTED] wrote:
 Hi all,
 
 I am trying go get SSL work on my tomcat, I have
 follow the instruction on
 Tomcat and SSL, I have get the JSSE install and put
 it on the classpath, but
 when I run the
 
 keytool -genkey -alias tomcat -keyalg RSA
 
 error occurs:
 
 C:\Test\confkeytool -genkey -alias tomcat -keyalg
 RSA
 Enter keystore password:  changeit
 keytool error:
 java.security.NoSuchAlgorithmException: RSA
 KeyPairGenerator
 not
 available
 
 Please help
 



__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! 
http://auctions.yahoo.com/

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

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




Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Rob Mulder

Has anybody done this before. I have Tomcat Working now Win2K SP1 with IIS
5.0. However, the Isapi_Redirect.dll does not work. Do I have to rebuild the
Isapi.Redirect? Is there anything on a configuration level that is different
from NT4.0?

Regards Rob

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




Reading error codes sent from servlet to applet

2001-02-22 Thread Mads Pultz

Hi!

First, I'm using Tomcat stand-alone with IBM JDK 1.3 on RH 6.2.

I'm developing an applet-servlet application. When I do POST requests I want
the applet to pick up any errors from the servlet but I'm getting
IOExceptions when reading from the stream. Writing to the stream and
activating doPost() is not a problem. For example if I send a NOT FOUND with
either sendError() or setStatus() on the stream then I cannot read from the
stream in my applet, I get "stream closed". Is is possible for the applet to
read these error codes or are they blocked by the browser? I have also tried
in my applet to type cast the URLConnection to HttpURLConnection because I
then could get the error code with getResponseCode() instead of using
getHeaderField(), but this raises Exception as well, cannot find my servlet.
I'm still new to servlets so I might be wrong about how to go about error
control. Is it recommended to do error control this way with communication
between applets and servlets? I know I can sent my error messages with OK
but I curious about why the above doesn't work.

Any help or comments would be appreciated. Thanks.

Mads

P.S. Please reply to my e-mail address as well.


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




RUNNING SERVLET

2001-02-22 Thread Vikramjit Singh

HELLO EVERYBODY
I HAVE A PROBLEM I HAVE A PRODUCT WHICH IS RUNNING FINE ON JAVAWEBSERVER.
BUT I WANT TO RUN IT ON TOMCAT. I HAVE GIVEN THE URL IN THE JSPS AS
HTTP://LOCALHOST:8080/RAE_SERVLETS/SOMESERVLET
ANYBODY TELL ME WHAT SHOULD I DO TO RUN A SERVLET USING THIS URL
PLZ DO HELP ME SINCE IT IS VERY URGENT.
THANKS IN ADVANCE
VIKRAM

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




Re: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Valeriy Molyakov



Whether there is some more advantage except stability ?
For example :
 Speed 
of service
 
Service of a lot of the clients
 
Security
What sense of use of the 
www-server(Apache), if I use only JSP and Servlets ?
I don't understand 
!


  - Original Message - 
  From: 
  D.Lion 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, February 22, 2001 12:10 
  PM
  Subject: Re: Help:What type of a 
  configuration Tomcat is more preferable to industrial use
  
  As I understand Apache is more stable ( tested 
  bytime )
  
- Original Message - 
From: 
Valeriy 
Molyakov 
To: [EMAIL PROTECTED] 

Sent: Thursday, February 22, 2001 1:02 
PM
Subject: Help:What type of a 
configuration Tomcat is more preferable to industrial use

Hi !
What advantages gives use Tomcat + 
Apache? Why recommend using Tomcat as stand-alone container mainly for 
development and debugging ?
Thank's !

Best regards, 
Valera M. mailto:[EMAIL PROTECTED]


Dynamic Loading ?

2001-02-22 Thread Charles Sabourdin


  Hi,
 I wonder if there was a way to dynamically load or
unload a web application without restarting the entire
tomcat, and if not, that might be a good feature to
add, no ?

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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




RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Etienne Baert

Hi Rob,

Yes, several (many) tomcat users already successfully integrated
tomcat on Win2K-IIS5.
Common problems when isapi filter doesn't work as expected comes
from mispelling errors in the value for the registry entries.
So, double-checked all that part of the installation.

Another source of troubles can come from the use of blanks
in directories under which tomcat has been installed (tomcat
is a Java product and java doesn't really like this).

Regarding your last question, the installation procedure
described for NT4-IIS4 is the one you have to follow also
for W2K-IIS5.

Hope this helps,
Etienne

-Original Message-
From: Rob Mulder [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 11:39
To: [EMAIL PROTECTED]
Subject: Installing Tomcat and ISAPI_Redirect.dll on Win2K


Has anybody done this before. I have Tomcat Working now Win2K SP1 with IIS
5.0. However, the Isapi_Redirect.dll does not work. Do I have to rebuild the
Isapi.Redirect? Is there anything on a configuration level that is different
from NT4.0?

Regards Rob

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


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




RE: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Alistair Hopkins



1/ Apache is 
faster  better when serving static content such as 
images
2/ You get 
more error handling ability with apache (ie, when tomcat goes down for releases, 
etc, Apache gets a 500 error and can display a polite notice rather than nasty 
error pages)
3/ You get 
all the other stuff that apache does: userdir, modspeling,cgi, ssi etc etc 
etc
4/ 
https. i don't know if any certificate signing authorities do certs for 
java/tomcat (probably) but its very easy for mod_ssl or 
apache-ssl
5/ you can 
confuse your colleagues even more with arcane configurations
6/ you can 
(theoretically) do sticky load balancing with mod_jk across multiple tomcat 
instances

  -Original Message-From: Valeriy Molyakov 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, February 22, 2001 
  10:47 AMTo: [EMAIL PROTECTED]Subject: Re: 
  Help:What type of a configuration Tomcat is more preferable to industrial 
  use
  Whether there is some more advantage except stability ?
  For example :
   
  Speed of service
   
  Service of a lot of the clients
   
  Security
  What sense of use of 
  the www-server(Apache), if I use only JSP and Servlets ?
  I don't understand 
  !
  
  
- Original Message - 
From: 
D.Lion 
To: [EMAIL PROTECTED] 

Sent: Thursday, February 22, 2001 12:10 
PM
Subject: Re: Help:What type of a 
configuration Tomcat is more preferable to industrial use

As I understand Apache is more stable ( tested 
bytime )

  - Original Message - 
  From: 
  Valeriy 
  Molyakov 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, February 22, 2001 
  1:02 PM
  Subject: Help:What type of a 
  configuration Tomcat is more preferable to industrial use
  
  Hi !
  What advantages gives use Tomcat + 
  Apache? Why recommend using Tomcat as stand-alone container mainly for 
  development and debugging ?
  Thank's !
  
  Best regards, 
  Valera M. mailto:[EMAIL PROTECTED]


servletContext.getInitParameter() always return null

2001-02-22 Thread Laurent LAUBIN



Hello 
! Second question of the day. To resume, I'm setting up a jsp application which 
were running fine on JServ /GNuJSP under Tomcat, and I get a lot of surprise ... 
Should I keep running my old gnujsp 1.0 ???

Anyway, here is my question : I want to give some parameter to all my jsp 
pages... so I've added in web.xml this values, for example :
context-param
 
param-nameRmiServer/param-name
 
param-value//10.10.10.1/COOL/param-value
 description
 Application 
server...
 /description
/context-param

And 
from a JSP page, i try a simple getServerContext().getInitParameterNames() to 
enumerate the param, which return an empty enumeration , and even a 
getServerContext().getInitParameter("RMISERVER") return 
null...

I'v 
tried with getServletConfig().getInitParameter("..."), which also returns null 
!

Arghhh...

___Laurent 
LAUBIN 
S2MIngnieur 
systme 2, rue des 
champs - BP 2282Tl : +33 232 64 33 76 27950 
St-Marcel - FranceFax : +33 232 21 25 99 http://www.s2m.fr/___


tomcat memory

2001-02-22 Thread Carlos

how can use tomcat more memory?
if i start the tomcat whit a driver the tomcat crash and says me that there
is not memory:
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Zipfile.java:110) ...

how can i configure the tomcat for using more memory?
thanks
Carlos


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




Re: Dynamic Loading ?

2001-02-22 Thread Anand Raman

hi 
I think tomcat 4.0 offers this feature..
Anand
On Thu, Feb 22, 2001 at 02:55:40AM -0800, Charles Sabourdin wrote:

  Hi,
 I wonder if there was a way to dynamically load or
unload a web application without restarting the entire
tomcat, and if not, that might be a good feature to
add, no ?

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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

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




Réf. : Reading error codes sent from servlet to applet

2001-02-22 Thread JULE, Nicolas - DSIA


sometimes  getResponseCode  throw a FileNotFoundExecption,  (known
bug)
so catch it , and then use getHeaderField  to get "Not Found 404"...


Nicolas

 


De :Mads Pultz@mpultz le 22/02/2001 11:32
Pour :  tomcat-user@[EMAIL PROTECTED]@SMTP@Hays Hub
cc : 
Faxer :
Objet : Reading error codes sent from servlet to applet

Hi!

First, I'm using Tomcat stand-alone with IBM JDK 1.3 on RH 6.2.

I'm developing an applet-servlet application. When I do POST
requests I want
the applet to pick up any errors from the servlet but I'm getting
IOExceptions when reading from the stream. Writing to the stream and
activating doPost() is not a problem. For example if I send a NOT
FOUND with
either sendError() or setStatus() on the stream then I cannot read
from the
stream in my applet, I get "stream closed". Is is possible for the
applet to
read these error codes or are they blocked by the browser? I have
also tried
in my applet to type cast the URLConnection to HttpURLConnection
because I
then could get the error code with getResponseCode() instead of
using
getHeaderField(), but this raises Exception as well, cannot find my
servlet.
I'm still new to servlets so I might be wrong about how to go about
error
control. Is it recommended to do error control this way with
communication
between applets and servlets? I know I can sent my error messages
with OK
but I curious about why the above doesn't work.

Any help or comments would be appreciated. Thanks.

Mads

P.S. Please reply to my e-mail address as well.



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



**
Ce message lectronique et tous les fichiers attachs qu'il contient
sont confidentiels et destins exclusivement  l'usage de la personne
 laquelle ils sont adresss. Si vous avez reu ce message par erreur,
merci de le retourner  son metteur. Les ides et opinions prsentes
dans ce messages sont celles de son auteur, et ne reprsentent pas
ncessairement celles du Groupe HAYS plc ou d'une quelconque de ses filiales.
La publication, l'usage, la distribution, l'impression ou la copie non
autorise de ce message et des attachements qu'il contient sont strictement
interdits.

Nous vous informons galement que nous avons vrifi l'absence de virus dans
ce message mais que, malgr ce contrle, nous ne saurions tre tenus pour
responsables d'ventuels dgts occasionns par un virus non dtect.

This e-mail and any attached files are confidential and intended
solely for the use of the individual to whom it is addressed. If you have
received this email in error please send it back to the person that sent it
to you. Any views or opinions presented are solely those of author and
do not necessarily represent those the HAYS plc group or any of its subsidiary
companies. Unauthorized publication, use, dissemination, forwarding, printing
or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain
any virus but we decline any responsability in case of any damage caused
by an a non detected virus.

**

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




Re: cpu load 100% on windows 2000 using iis

2001-02-22 Thread Rui M . Silva Seabra

On Wed, Feb 21, 2001 at 04:05:33PM -0800, Craig O'Brien wrote:
 Have you created a virtual directory named "jakarta" in the same folder that
 the isapi_redirect.dll is located?  Mine is physically located in
 tomcat/bin/Win32/i386/.  Have you assigned this directory "execute" access?

Yes I did.

 I think that a small error has crept into your settings.  Go over the IIS
 how to and you will have it fixed in no time.

I followed the troubleshooting guid that is there and apart from not calling the 
servlets, all seemed ok.

hugs, rms

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?

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




RE: HOWTO setup SSL

2001-02-22 Thread Johnson Lim

I am using jdk 1.3,
I have install jsse to %JAVA_HOME%\jre\lib
I have configure the security file, also

Regards
JOhnosn

-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: HOWTO setup SSL


Are you using JDK 1.2? Because, I had that problem
too,
and it went away when I upgraded to JDK 1.3.

Karin

--- Johnson Lim [EMAIL PROTECTED] wrote:
 Hi all,

 I am trying go get SSL work on my tomcat, I have
 follow the instruction on
 Tomcat and SSL, I have get the JSSE install and put
 it on the classpath, but
 when I run the

 keytool -genkey -alias tomcat -keyalg RSA

 error occurs:

 C:\Test\confkeytool -genkey -alias tomcat -keyalg
 RSA
 Enter keystore password:  changeit
 keytool error:
 java.security.NoSuchAlgorithmException: RSA
 KeyPairGenerator
 not
 available

 Please help




__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/

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


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




RE: HOWTO setup SSL

2001-02-22 Thread GOMEZ Henri

I am using jdk 1.3,
I have install jsse to %JAVA_HOME%\jre\lib
I have configure the security file, also


It must be in JAVA_HOME/jre/lib/ext/  !!

-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: HOWTO setup SSL


Are you using JDK 1.2? Because, I had that problem
too,
and it went away when I upgraded to JDK 1.3.

Karin

--- Johnson Lim [EMAIL PROTECTED] wrote:
 Hi all,

 I am trying go get SSL work on my tomcat, I have
 follow the instruction on
 Tomcat and SSL, I have get the JSSE install and put
 it on the classpath, but
 when I run the

 keytool -genkey -alias tomcat -keyalg RSA

 error occurs:

 C:\Test\confkeytool -genkey -alias tomcat -keyalg
 RSA
 Enter keystore password:  changeit
 keytool error:
 java.security.NoSuchAlgorithmException: RSA
 KeyPairGenerator
 not
 available

 Please help




__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/

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


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


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




RE: Slow upload speeds

2001-02-22 Thread Randy Layman


Actually it shouldn't be the browser upload mechanism.  I can't say
about IE (closed-source) but the Mozilla/Netscape 6.0 are smart in the way
they upload.  

There was a problem with Jason's library and Tomcat in some of the
older versions (i.e. the version that ships in his book).  If you go to the
O'Reily site you can download a newer version that is smarter about how it
receives the upload.  This yielded a significant speed up.

By the way, when uploading from the same machine as the server -
you're right you should see almost 100% CPU utilization, but you should also
see a significant amout of OS processing (moving from disk to memory, memory
to device (NIC), device (NIC) to memory, memory to disk), which should be
your major limitor (and will depend upon things like having DMA in your
hardware architecture.)

Randy


-Original Message-
From: Dmitry Rogatkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: RE: Slow upload speeds


I have feeling that it's a browser issue. Can somebody who knows browser
upload mechanism confirm that?

Dmitry R., [EMAIL PROTECTED]
Chief Architect, MetricStream.COM
Santa Clara, CA






-Original Message-
From:Tal Dayan [EMAIL PROTECTED]
Sent:Wed, 21 Feb 2001 19:05:06 -0800
To:  [EMAIL PROTECTED]
Subject: RE: Slow upload speeds



We have the same low performance problem with Jason's library. The strange
things is that when the browser and server are on the same machine (using
127.0.0.1) the CPU usage is still low while transferring large files. Our
experience with other client/server applications is that the CPU usage in
such cases gets to 100% (since there is no real I/O to the NIC, all is
handled by the CPU).

I am not sure where the 'idle' time is spent.

Tal

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 04, 2001 3:13 PM
 To: [EMAIL PROTECTED]
 Subject: Slow upload speeds


 Hi everyone.

 I am using Tomcat-3.2.1 on W2K, Solaris with or without apache. Since I
 need to provide users with functionality to upload fairly big files ( 10
 MB), speed is essential.

 My uploader is based on Jason Hunter code. Maximum upload speed I could
 achieve is between 40 and 60 Kbytes/s (even when client and server are on
 the same machine). Bottleneck (quiet predictable) seems to be in
 ServletInputStream misc. "read()" methods. Speed does not seem to be
 dependant on a platform or web server.

 Anyone was able to achieve better speeds (at least around 100 kBytes/s)?
 Any ideas ?

 Thanks

 Andrus


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




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




___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.


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

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




Broken pipe error

2001-02-22 Thread Xavier Escandell

Hi:
I get "broken pipe error" when trying to re-execute a servlet after
several hours of innactivity. Then I must re-start Tomcat to get all
running again.
The servlet is connected to a database using oracle thin driver, these
connection is still active.
So my question is:
It is possible that the socket between Tomcat and database is being
closed by Tomcat?
If the answer is yes, how can I configure these timeout.

Regards.
Xavier Escandell.




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




RE: Tomcat service using JDBC-ODBC bridge

2001-02-22 Thread Randy Layman


1.  Are the ODBC Data Sources User or System?  (If user, then only
the user that created them can see them)

2.  The JDBC-ODBC bridge loads a dll in order to communicate.  Is
this DLL available to the service?

Also, you should be aware that the JDBC-ODBC bridge is not thread
safe.  If you attempt concurrent access, the process will crash and cause
the JVM you are accessing it from to have an Illegal Error.

Randy


-Original Message-
From: Peter Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 12:07 AM
To: [EMAIL PROTECTED]
Subject: Tomcat service using JDBC-ODBC bridge


I am running Tomcat on Windows 2000 with jdk1.2.2. I have servlets accessing
an
MS Access and Oracle database. The servlets work fine with Sun's JDBC-ODBC
bridge against MS Acces and Oracle's thin driver against the Oracle
database.

When I set Tomcat up as a NT service Oracle worked fine after I put the
Oracle
drivers on the classpath in wrapper.properties.

However, I started to have problems when I tried to get the MS Access
connection. The driver registered fine but attempting to get a connection
resulted in:

[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified

Note that the exact same configuration worked fine when running Tomcat as a
normal app and not as a service. Does Sun's JDBC-ODBC bridge rely on
something
else that is not accessible when run as a service? Or did I miss something
else?

Cheers,
Peter


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

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




RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Randy Layman


The same DLL works for NT and 2000, as well as the same directions.
I have it running on 2000 with no problems.
If you are getting the red arrow for the filter, download the dll in
the zip file to prevent corruption
Otherwise, really check the registry settings - they are case
sensitive and they don't ignore any whitespace.

Randy


-Original Message-
From: Rob Mulder [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 5:39 AM
To: [EMAIL PROTECTED]
Subject: Installing Tomcat and ISAPI_Redirect.dll on Win2K


Has anybody done this before. I have Tomcat Working now Win2K SP1 with IIS
5.0. However, the Isapi_Redirect.dll does not work. Do I have to rebuild the
Isapi.Redirect? Is there anything on a configuration level that is different
from NT4.0?

Regards Rob

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

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




RE: tomcat memory

2001-02-22 Thread Randy Layman


I thought by default java would use all the available memory, but
maybe not.  In your script that starts Tomcat, add -XmxAM where A is the
number of megabytes Tomcat should use as its maximum heap memory size.

Randy

-Original Message-
From: Carlos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 6:25 AM
To: [EMAIL PROTECTED]
Subject: tomcat memory


how can use tomcat more memory?
if i start the tomcat whit a driver the tomcat crash and says me that there
is not memory:
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Zipfile.java:110) ...

how can i configure the tomcat for using more memory?
thanks
Carlos


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

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




RE: Broken pipe error

2001-02-22 Thread Randy Layman


The answer is no - Tomcat knows nothing about your socket
connections and therefore can't close them.  A couple of things come to mind
- first the Oracle drivers might be releasing the connection, check their
documentation about this.  Also, what is the behavior if your servlet is
garbage collected?  Could it be that your servlet is being garbage collected
and therefore you are somehow half-way closing the connection?

Randy

-Original Message-
From: Xavier Escandell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 8:01 AM
To: [EMAIL PROTECTED]
Subject: Broken pipe error


Hi:
I get "broken pipe error" when trying to re-execute a servlet after
several hours of innactivity. Then I must re-start Tomcat to get all
running again.
The servlet is connected to a database using oracle thin driver, these
connection is still active.
So my question is:
It is possible that the socket between Tomcat and database is being
closed by Tomcat?
If the answer is yes, how can I configure these timeout.

Regards.
Xavier Escandell.




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

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




Set wich pages I can see with SSL and wich not

2001-02-22 Thread Claudio Chrispens

Hi!, I have installed SSL - apache - tomcat .

I want to know if I there is a file in the tomcat or in the apache
configuration where I can set wich pages could be seen with SSL and wich
not.

The reason is to not overload the server.

Thanks

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




RE: HOWTO setup SSL

2001-02-22 Thread Johnson Lim

Ok thanks guys,

By the way do you have any examples on using SSL ?

Regards
JOhnosn

-Original Message-
From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 7:54 PM
To: [EMAIL PROTECTED]
Subject: RE: HOWTO setup SSL


I am using jdk 1.3,
I have install jsse to %JAVA_HOME%\jre\lib
I have configure the security file, also


It must be in JAVA_HOME/jre/lib/ext/  !!

-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 4:30 PM
To: [EMAIL PROTECTED]
Subject: Re: HOWTO setup SSL


Are you using JDK 1.2? Because, I had that problem
too,
and it went away when I upgraded to JDK 1.3.

Karin

--- Johnson Lim [EMAIL PROTECTED] wrote:
 Hi all,

 I am trying go get SSL work on my tomcat, I have
 follow the instruction on
 Tomcat and SSL, I have get the JSSE install and put
 it on the classpath, but
 when I run the

 keytool -genkey -alias tomcat -keyalg RSA

 error occurs:

 C:\Test\confkeytool -genkey -alias tomcat -keyalg
 RSA
 Enter keystore password:  changeit
 keytool error:
 java.security.NoSuchAlgorithmException: RSA
 KeyPairGenerator
 not
 available

 Please help




__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/

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


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


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


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




Re: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Ren West

As I understand it, Apache does not have the ability to serve up JSP pages alone.  It 
requires
Tomcat for that.  Tomcat has the ability to do both.  However, should there be a 
fairly heavy load
on a Tomcat server, Apache will be able to relieve some of that load by serving up the 
static
pages, and letting Tomcat do what it does best, and thats serve up JSP.

Regardless if all your pages are JSP code, each and every graphic on the page and 
anything that is
not dynamic content is considered a static page, and can be served up by Apache, which 
does a much
better job at it then Tomcat does.  The two together make a good mix for a production 
environment,
but Apache is a needless step in development.  Just something else to worry about 
getting in the
way of testing.

--- Valeriy Molyakov [EMAIL PROTECTED] wrote:
 Whether there is some more advantage except stability ?
 For example :
 Speed of service
 Service of a lot of the clients
 Security
 What sense of use of the www-server(Apache), if I use only JSP and Servlets ?
 I don't understand !
 
   - Original Message - 
   From: D.Lion 
   To: [EMAIL PROTECTED] 
   Sent: Thursday, February 22, 2001 12:10 PM
   Subject: Re: Help:What type of a configuration Tomcat is more preferable to 
industrial use
 
 
   As I understand Apache is more stable ( tested by time )
 - Original Message - 
 From: Valeriy Molyakov 
 To: [EMAIL PROTECTED] 
 Sent: Thursday, February 22, 2001 1:02 PM
 Subject: Help:What type of a configuration Tomcat is more preferable to 
industrial use
 
 
 Hi !
 What advantages gives use Tomcat + Apache? Why recommend using Tomcat as 
stand-alone
 container mainly for development and debugging ?
 Thank's !
  
 Best regards,
 Valera M.
 mailto:[EMAIL PROTECTED]
 
 


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

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




RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Rob Mulder

Hi,

I get an error message in Iexplore Http: 400 Bad request when I try to go to
the examples/jsp directory to test my Isapi redirect. So the error message
is not that the page cannot be found. I triple checked my registry settings
and I have not made a typo. Neither are there any blanks or in the physical
directory structure. In the W3svc logfile I find that the isapi filter tries
to redirect to Tomcat but in the Isapi.log I find the following:

[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp] is a servlet url -
should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp] is points
to the web-inf directory

It seems that the properties files can be found and opened, redirection to
ajp12 takes place, but it stops there. Tomcat itself is running perfectly
under port 8080. So I'm puzzled. It's obviously something simple that I am
overseeing but what?!?

Thanks in advance
Rob

 -Original Message-
From:   Etienne Baert [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, February 22, 2001 12:04 PM
To: [EMAIL PROTECTED]
Subject:RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

Hi Rob,

Yes, several (many) tomcat users already successfully integrated
tomcat on Win2K-IIS5.
Common problems when isapi filter doesn't work as expected comes
from mispelling errors in the value for the registry entries.
So, double-checked all that part of the installation.

Another source of troubles can come from the use of blanks
in directories under which tomcat has been installed (tomcat
is a Java product and java doesn't really like this).

Regarding your last question, the installation procedure
described for NT4-IIS4 is the one you have to follow also
for W2K-IIS5.

Hope this helps,
Etienne

-Original Message-
From: Rob Mulder [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 11:39
To: [EMAIL PROTECTED]
Subject: Installing Tomcat and ISAPI_Redirect.dll on Win2K


Has anybody done this before. I have Tomcat Working now Win2K SP1 with IIS
5.0. However, the Isapi_Redirect.dll does not work. Do I have to rebuild the
Isapi.Redirect? Is there anything on a configuration level that is different
from NT4.0?

Regards Rob

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


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

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




RE: Broken pipe error

2001-02-22 Thread Laurent LAUBIN

And I have also the same trouble, but it's a JDBC Exception which is thrown
by a JSP page connecting to oracle thru a RMI server.. basically, I'v setup
an RMI Interface which offers SQL access to a SGBD, and in the
implementation of this Interface I use JDBC stuff to execute the SQL
statement... 

A broken pipe exception is then thrown if the user stays inactif a long
time... To my mind, its either the socket in the thin oracle drive which is
duty...

But I'm still searching for a solution...

___
Laurent LAUBIN  S2M
Ingnieur systme   2, rue des champs - BP 2282
Tl : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___
  

-Message d'origine-
De : Cato, Christopher [mailto:[EMAIL PROTECTED]]
Envoy : jeudi 22 fvrier 2001 14:37
 : '[EMAIL PROTECTED]'
Objet : RE: Broken pipe error


 Hi:
 I get "broken pipe error" when trying to re-execute a servlet after
 several hours of innactivity. Then I must re-start Tomcat to get all
 running again.
 The servlet is connected to a database using oracle thin driver, these
 connection is still active.
 So my question is:
 It is possible that the socket between Tomcat and database is being
 closed by Tomcat?
 If the answer is yes, how can I configure these timeout.
 
 Regards.
 Xavier Escandell.

I used to have the exact same problem with my TomCat / MySQL application
until i added autoreconnect=true to the db connection initiator method in my
general db tool class. Since then, the problem ceased.

/Christopher Cato

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

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




Style guide for TABLE

2001-02-22 Thread Zsolt Koppany

Hi,

how can I configure all html TABLES to have the same attributes with a
style guide?

My goal is: when I add a table with TABLE CLASS="mytable" I would like
to create a table with BORDER=0 CELLSPACING=3 CELLPADING=2.

If I could do that with styleguide it would be very easy to change the
values and I didn't have to change the source code.

In my styleguid I tried the following but it didn't help:

TABLE.mytable {border:0; cellspacing:3; cellpadding:2;}

-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

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




Where is the installation documentation???

2001-02-22 Thread Wally Highsmith



All the how-to's I've found do not match what is 
listed in the win32/i386 directory.



Re: Style guide for TABLE

2001-02-22 Thread Ryan

go here for microsoft's CSS reference

http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtmlrefs.asp

One thing that isn't right is 'cellpadding'.. it should just be 'padding'

-ryu

- Original Message - 
From: "Zsolt Koppany" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 5:55 AM
Subject: Style guide for TABLE


 Hi,
 
 how can I configure all html TABLES to have the same attributes with a
 style guide?
 
 My goal is: when I add a table with TABLE CLASS="mytable" I would like
 to create a table with BORDER=0 CELLSPACING=3 CELLPADING=2.
 
 If I could do that with styleguide it would be very easy to change the
 values and I didn't have to change the source code.
 
 In my styleguid I tried the following but it didn't help:
 
 TABLE.mytable {border:0; cellspacing:3; cellpadding:2;}
 
 -- 
 Zsolt Koppany
 Intland GmbH www.intland.com
 Schulze-Delitzsch-Strasse 16
 D-70565 Stuttgart
 Tel: +49-711-7871080 Fax: +49-711-7871017
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


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




konqueror tomcat

2001-02-22 Thread Laurent LAUBIN

Hi

I've found another strange behaviour with konqueror browsing tomcat jsp
pages... If you do a redirection in jsp page, with a
 response.sendRedirect(response.encodeUrl("blabla.jsp"));

then konqueror will show you the http header append before the actual html
file...

Ever seen this ??? I'v you any kind of solution ??? Should I go back to
gnujsp ???

Thanks
___
Laurent LAUBIN  S2M
Ingnieur systme   2, rue des champs - BP 2282
Tl : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___
  


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




RE: Broken pipe error

2001-02-22 Thread Cato, Christopher

 And I have also the same trouble, but it's a JDBC Exception 
 which is thrown
 by a JSP page connecting to oracle thru a RMI server.. 
 basically, I'v setup
 an RMI Interface which offers SQL access to a SGBD, and in the
 implementation of this Interface I use JDBC stuff to execute the SQL
 statement... 
 
 A broken pipe exception is then thrown if the user stays 
 inactif a long
 time... To my mind, its either the socket in the thin oracle 
 drive which is
 duty...
 
 But I'm still searching for a solution...
 
 ___
 Laurent LAUBIN  S2M
 Ingnieur systme   2, rue des champs - BP 2282
 Tl : +33 232 64 33 76  27950 St-Marcel - France
 Fax : +33 232 21 25 99  http://www.s2m.fr/
 ___
   

Did you try to set the reconnect = true somewhere? I don't know if it's
mm.mysql (the MySQL jdbc driver) specific. If it's not - set it. The
connection (or rather the timeout of the connection) is managed by the DB,
not the driver. The driver connects on init() and disconnects on destroy(). 

So, if the DB is set to close the connection after say 900 seconds and your
servlets are not used for 1000 seconds, the pipe (connection) would be
broken. At least that's the behaviour I've seen. If available, take some
time to go through the sources for your JDBC driver and see what's actually
going on.

/Christopher Cato





 
 -Message d'origine-
 De : Cato, Christopher [mailto:[EMAIL PROTECTED]]
 Envoy : jeudi 22 fvrier 2001 14:37
  : '[EMAIL PROTECTED]'
 Objet : RE: Broken pipe error
 
 
  Hi:
  I get "broken pipe error" when trying to re-execute a servlet after
  several hours of innactivity. Then I must re-start Tomcat to get all
  running again.
  The servlet is connected to a database using oracle thin 
 driver, these
  connection is still active.
  So my question is:
  It is possible that the socket between Tomcat and database is being
  closed by Tomcat?
  If the answer is yes, how can I configure these timeout.
  
  Regards.
  Xavier Escandell.
 
 I used to have the exact same problem with my TomCat / MySQL 
 application
 until i added autoreconnect=true to the db connection 
 initiator method in my
 general db tool class. Since then, the problem ceased.
 
 /Christopher Cato
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

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




RE: HOWTO setup SSL

2001-02-22 Thread Hensley, Zachary

I have never set up SSL but I have used the cyrpto extensions before.All
of the API methods rely on a provider Implementation for the API to work.  I
am no sure how you need to do it while setting up SSL but I know with the
cyrpto extension you had to specify a provider implementation in a
properties file and you had to do a separate download for the
implementation.  Not a lot of information but I hope that helped.

Zach H.

-Original Message-
From: Johnson Lim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 2:14 AM
To: Tomcat-User
Subject: HOWTO setup SSL


Hi all,

I am trying go get SSL work on my tomcat, I have follow the instruction on
Tomcat and SSL, I have get the JSSE install and put it on the classpath, but
when I run the

keytool -genkey -alias tomcat -keyalg RSA

error occurs:

C:\Test\confkeytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:  changeit
keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator
not
available

Please help

Regards
JOhnosn


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


**

This email and any files transmitted with it are confidential
 and intended solely for the use of the individual or entity to
 whom they are addressed.  If you have received this email
 in error, please notify the sender by email and delete and
 destroy this message and its attachments.

**

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




Re: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Valeriy Molyakov

I understand !

But , if a graphics files and the static pages are contained in structure of
the web application ? In this case the static context serve Tomcat or Apache
?

- Original Message -
From: "Ren West" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 3:39 PM
Subject: Re: Help:What type of a configuration Tomcat is more preferable to
industrial use


 As I understand it, Apache does not have the ability to serve up JSP pages
alone.  It requires
 Tomcat for that.  Tomcat has the ability to do both.  However, should
there be a fairly heavy load
 on a Tomcat server, Apache will be able to relieve some of that load by
serving up the static
 pages, and letting Tomcat do what it does best, and thats serve up JSP.

 Regardless if all your pages are JSP code, each and every graphic on the
page and anything that is
 not dynamic content is considered a static page, and can be served up by
Apache, which does a much
 better job at it then Tomcat does.  The two together make a good mix for a
production environment,
 but Apache is a needless step in development.  Just something else to
worry about getting in the
 way of testing.

 --- Valeriy Molyakov [EMAIL PROTECTED] wrote:
  Whether there is some more advantage except stability ?
  For example :
  Speed of service
  Service of a lot of the clients
  Security
  What sense of use of the www-server(Apache), if I use only JSP and
Servlets ?
  I don't understand !
 
- Original Message -
From: D.Lion
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 12:10 PM
Subject: Re: Help:What type of a configuration Tomcat is more
preferable to industrial use
 
 
As I understand Apache is more stable ( tested by time )
  - Original Message -
  From: Valeriy Molyakov
  To: [EMAIL PROTECTED]
  Sent: Thursday, February 22, 2001 1:02 PM
  Subject: Help:What type of a configuration Tomcat is more preferable
to industrial use
 
 
  Hi !
  What advantages gives use Tomcat + Apache? Why recommend using
Tomcat as stand-alone
  container mainly for development and debugging ?
  Thank's !
 
  Best regards,
  Valera M.
  mailto:[EMAIL PROTECTED]
 
 


 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/

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


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




RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

2001-02-22 Thread Rob Mulder

For those who are interested, the problem as described below was solved by
giving the website a fixed IP-address assigned to it. Localhost does not
work.

Regards Rob


Hi,

I get an error message in Iexplore Http: 400 Bad request when I try to go to
the examples/jsp directory to test my Isapi redirect. So the error message
is not that the page cannot be found. I triple checked my registry settings
and I have not made a typo. Neither are there any blanks or in the physical
directory structure. In the W3svc logfile I find that the isapi filter tries
to redirect to Tomcat but in the Isapi.log I find the following:

[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp] is a servlet url -
should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp] is points
to the web-inf directory

It seems that the properties files can be found and opened, redirection to
ajp12 takes place, but it stops there. Tomcat itself is running perfectly
under port 8080. So I'm puzzled. It's obviously something simple that I am
overseeing but what?!?

Thanks in advance
Rob

 -Original Message-
From:   Etienne Baert [mailto:[EMAIL PROTECTED]] 
Sent:   Thursday, February 22, 2001 12:04 PM
To: [EMAIL PROTECTED]
Subject:RE: Installing Tomcat and ISAPI_Redirect.dll on Win2K

Hi Rob,

Yes, several (many) tomcat users already successfully integrated
tomcat on Win2K-IIS5.
Common problems when isapi filter doesn't work as expected comes
from mispelling errors in the value for the registry entries.
So, double-checked all that part of the installation.

Another source of troubles can come from the use of blanks
in directories under which tomcat has been installed (tomcat
is a Java product and java doesn't really like this).

Regarding your last question, the installation procedure
described for NT4-IIS4 is the one you have to follow also
for W2K-IIS5.

Hope this helps,
Etienne

-Original Message-
From: Rob Mulder [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 11:39
To: [EMAIL PROTECTED]
Subject: Installing Tomcat and ISAPI_Redirect.dll on Win2K


Has anybody done this before. I have Tomcat Working now Win2K SP1 with IIS
5.0. However, the Isapi_Redirect.dll does not work. Do I have to rebuild the
Isapi.Redirect? Is there anything on a configuration level that is different
from NT4.0?

Regards Rob

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


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

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




RE: Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Cato, Christopher

 -Original Message-
 From: Valeriy Molyakov [mailto:[EMAIL PROTECTED]]
 Sent: den 22 februari 2001 15:26
 To: [EMAIL PROTECTED]
 Subject: Re: Help:What type of a configuration Tomcat is more 
 preferable
 to industrial use
 
 
 I understand !
 
 But , if a graphics files and the static pages are contained 
 in structure of
 the web application ? In this case the static context serve 
 Tomcat or Apache
 ?

Apache will still serve the images and whatever static stuff you have.
And it will serve it a lot faster than TomCat.

/Christopher Cato

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




Re: formbased authentication: logout ?

2001-02-22 Thread Christian Rauh

uthay wrote:
 
 If you want an application controled authentication why dont you develope a
 session bean that will interact with the login script?

How can that be done without developing the whole custom authentication
mechanism?

Christian Rauh

 
 - Original Message -
 From: "paul marshal" [EMAIL PROTECTED]
 To: "tomcat-list" [EMAIL PROTECTED]
 Sent: Wednesday, February 21, 2001 3:10 PM
 Subject: formbased authentication: logout ?
 
  How do I create a possibility for my users to logout.
  Is there something in the HttpSession that I need to delete ?
  Or how does it all work ?
 
  Paul
 
  --
  Paul Marshall
  [EMAIL PROTECTED]
  089/26019-609
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




Re: RUNNING SERVLET

2001-02-22 Thread qazwasyx

Please don't use ALL CAPITALS

This list is mainly for problems and bugs, your issue 
seems to come from the lack of documentation reading. 
Please reade the guide that comes with tomcat, it takes 
less than 30 minutes and explains what needs to be 
done to deploy apps (servlets included) from Tomcat.

Regards,

Mike

HELLO EVERYBODY
I HAVE A PROBLEM I HAVE A PRODUCT WHICH IS 
RUNNING FINE ON JAVAWEBSERVER.
BUT I WANT TO RUN IT ON TOMCAT. I HAVE GIVEN THE 
URL IN THE JSPS AS
HTTP://LOCALHOST:8080/RAE_SERVLETS/SOMESERVLE
T
ANYBODY TELL ME WHAT SHOULD I DO TO RUN A 
SERVLET USING THIS URL
PLZ DO HELP ME SINCE IT IS VERY URGENT.
THANKS IN ADVANCE
VIKRAM

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




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




RE: Where is the installation documentation???

2001-02-22 Thread Etienne Baert \(SPS Europe\)

Available at :
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm
l
Please note that this document refers to WinNT4, Win98, IIS4 and PWS4.
To install on the Win2000-IIS5 combination, follow the steps for
WinNT4-IIS4 and it will work fine.
A list of additional documentations can be found at :
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/index.html

Etienne

-Original Message-
From: Wally Highsmith [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 2:52
To: [EMAIL PROTECTED]
Subject: Where is the installation documentation???


All the how-to's I've found do not match what is listed in the win32/i386
directory.


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




RE: Help:What type of a configuration Tomcat is more preferable t o industrial use

2001-02-22 Thread Randy Layman


If you configure everything correctly!  One thing to be carefule of
is how you tell Apache to give requests to Tomcat.  If you specify that
Tomcat should get all *.jsp and /servlet/* requests, then Apahce will serve
the images if it can find them.  This is preferable, but it is a little
tricker to configure.

Randy


-Original Message-
From: Cato, Christopher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:39 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Help:What type of a configuration Tomcat is more preferable
t o industrial use


 -Original Message-
 From: Valeriy Molyakov [mailto:[EMAIL PROTECTED]]
 Sent: den 22 februari 2001 15:26
 To: [EMAIL PROTECTED]
 Subject: Re: Help:What type of a configuration Tomcat is more 
 preferable
 to industrial use
 
 
 I understand !
 
 But , if a graphics files and the static pages are contained 
 in structure of
 the web application ? In this case the static context serve 
 Tomcat or Apache
 ?

Apache will still serve the images and whatever static stuff you have.
And it will serve it a lot faster than TomCat.

/Christopher Cato

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

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




Re: formbased authentication: logout ?

2001-02-22 Thread uthay

Thats correct.
But it was more of a design issue than anything else.
For me using session bean helps me to have accessor modifier style controle
over my session vars.
Extend it little bit further and you get full session control over your
application.

following code will allow me to control the access to the pages at user or
admin level

boolean admin=false;
if(sessInfo.getUName()==null || sessInfo.getUName()== ""){
%
jsp:forward  page="loginValidate.jsp" /
%
}else{
if(sessInfo.getAuthority().equals("admin")){
admin=true;
}
}

sessInfo.setUName("") will invalidate the user

Comments are welcome
Note:sessInfo-session bean



- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 2:36 PM
Subject: Re: formbased authentication: logout ?


 uthay wrote:
 
  If you want an application controled authentication why dont you
develope a
  session bean that will interact with the login script?

 How can that be done without developing the whole custom authentication
 mechanism?

 Christian Rauh

 
  - Original Message -
  From: "paul marshal" [EMAIL PROTECTED]
  To: "tomcat-list" [EMAIL PROTECTED]
  Sent: Wednesday, February 21, 2001 3:10 PM
  Subject: formbased authentication: logout ?
 
   How do I create a possibility for my users to logout.
   Is there something in the HttpSession that I need to delete ?
   Or how does it all work ?
  
   Paul
  
   --
   Paul Marshall
   [EMAIL PROTECTED]
   089/26019-609
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

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




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




R: konqueror tomcat

2001-02-22 Thread Garry De Toffoli

I have resolved the same problem using jsp:forward... instead;
but I don't why using  response.sendRedirect(response.encodeUrl(,...) appear
the http header.

Bye Bye

- Original Message -
From: Laurent LAUBIN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 3:08 PM
Subject: konqueror  tomcat


Hi

I've found another strange behaviour with konqueror browsing tomcat jsp
pages... If you do a redirection in jsp page, with a
 response.sendRedirect(response.encodeUrl("blabla.jsp"));

then konqueror will show you the http header append before the actual html
file...

Ever seen this ??? I'v you any kind of solution ??? Should I go back to
gnujsp ???

Thanks
___
Laurent LAUBIN  S2M
Ingnieur systme   2, rue des champs - BP 2282
Tl : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___



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




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




IIS 5.0+Tomcat

2001-02-22 Thread Omar Diego Vera Ustariz



Hello to everybody. I am configuring Tomcat with 
IIS 5.0 under Windows 2000 Professional and It doesn't work , the last 
line
in my IIS log file is:

14:35:36 127.0.0.1 GET /jakarta/isapi_redirect.dll 
200

I checked if the "jakarta" virtual directory has 
the execution right, I hope you can help me with this problem.

Kind Regards.



Omar Vera.


Re: problem upgrading to tomcat4.0 from tomcat3.2

2001-02-22 Thread eddie tsai

i just got the nightly build from 02/22/2001 and tried it. i am still
getting the "not a servlet" error. my servlet is in a package and in a
directory other than the 'classes' directory. i have included the
path to that directory in the classpath in the .bat file so it knows
where to look for my servlet. would this setup cause a problem like this?

thanks,

eddie
-- 

On Wed, 21 Feb 2001, Craig R. McClanahan wrote:

 eddie tsai wrote:
 
  i am using tomcat 4.0 milestone 5. suggestion on which version i should
  get?
 
 
 Tomcat 4.0-beta-1 is more recent than milestone 5, and should have this problem 
fixed.  You
 can also try one of the recent nightly distributions, or wait for the upcoming 
beta-2 release
 (which will be substantially similar to the current nightly builds) as well.
 
 
  thanks,
 
  eddie
 
 
 Craig
 
 
  --
 
  On Wed, 21 Feb 2001, Craig R. McClanahan wrote:
 
   eddie tsai wrote:
  
hi,
   
i am upgrading from tomcat3.2 to tomcat4.0. the same servlets that
worked with tomcat3.2 don't work with tomcat4.0 anymore. specifically,
it tells me that my servlets aren't servlets. the root cause was that it
had problem while casting. my servlet extends GenericServlet. my
servlets are located in a different directory (not in the classes
directory), would that cause the problem? it looks like it could find
the servlet but could not accept it as a servlet.
   
did anyone encounter that problem when upgrading? how did you solve it?
   
  
   Which build of Tomcat 4.0 are you trying this with.  There were problems similar 
to this
   prior to 4.0-beta-1 but they have been fixed in recent nightly builds.
  
   
thanks,
   
eddie
   
  
   Craig McClanahan
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


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




RE: IIS 5.0+Tomcat

2001-02-22 Thread Randy Layman


200 is the success status code.  What problem are you having?  Have
you checked the tocat logs?

Randy

-Original Message-
From: Omar Diego Vera Ustariz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 10:11 AM
To: [EMAIL PROTECTED]
Subject: IIS 5.0+Tomcat


Hello to everybody. I am configuring Tomcat with IIS 5.0 under Windows 2000
Professional and It doesn't work , the last line
in my IIS log file is:

14:35:36 127.0.0.1 GET /jakarta/isapi_redirect.dll 200

I checked if the "jakarta" virtual directory has the execution right, I hope
you can help me with this problem.

Kind Regards.



Omar Vera.

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




RE: Problem with Tomcat - Red Hat 7

2001-02-22 Thread Vanbiervliet Matthew

the path is now ok (why ? No idea). But tomcat doesn't want to start...


 
 hii Vanbiervliet,
 
 you can try setting up the PATH variable in your .bashrc if you are using
 bash.
 or in the file tomcat.sh ,you can set up the PATH.
 
 do echo $PATH to check if your path is proper.
 
 Are you able to start tomcat if you do not use the X ? (i do not think the
 problem is coz' of your X server).
 
 Shuklix
 
 -Original Message-
 From: Vanbiervliet Matthew [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 22, 2001 1:53 PM
 To: [EMAIL PROTECTED]
 Subject: Problem with Tomcat - Red Hat 7
 
 
 Hello everybody,
 I have some problems with the Tomcat install with Red Hat 7.
 Firstly, the path that I get in KDE seems not to be the same as the one I
 have
 in the text mode. Does X have another path ? How can I change the default
 path
 of KDE ?
 Currently, to solve the problem, I put my JDK in one of the path directories
 but that's just a temporary solution. When I start Tomcat (bin/startup.sh),
 he
 stops just before he has to write the lines beginning with pool... (the
 final
 lines before the startup of the server). I get no error messages but tomcat
 isn't started at all. I'll try to install the version 4 of tomcat and see
 but I
 don't think this will change much.
 
 
 Can anyone help me ?
 Thanks
 
 Note : I have no problems with Red Hat 6.2. I've installed Red Hat 7 so that
 I
 could use my USB
 mouse.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]






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




URLClassloader problems

2001-02-22 Thread Jim Cheesman

Hi!
I'm having problems running my own URLClassloader within a jsp: I get the 
error
Couldn't load sinfo.jsp.bv.BV75
java.lang.ClassNotFoundException: sinfo.jsp.bv.BV75
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at sinfo.jsp.utils.GridHandler.loadGrid(GridHandler.java)
 at sinfo.jsp.utils.GridHandler.getGrid(GridHandler.java)

The classloader code works fine if I run it as a seperate class, but not 
from within my jsp.

The code within the jsp:

jsp:useBean id="gridH" class="sinfo.jsp.utils.GridHandlerHandler" 
scope="session" /
%
Grid dataSource = gridH.getGridHandler().getGrid("bv", "BV75", 
request.getQueryString());
%

The bean is being added to the session from a servlet:
HttpSession session = request.getSession();
session.setAttribute("gridHandler", new GridHandlerHandler(""));
getServletContext().getRequestDispatcher("/jsp/BV75.jsp?" + 
request.getQueryString()).forward(request, response);




Running seperately (and without problems)
GridHandlerHandler gh = new GridHandlerHandler("d:/webapps/sinfo/");
Grid g = gh.getGridHandler().getGrid("bv", "BV75", "lang=ENGsport=BVsex=W");


Any ideas?

Jim






--

   *   Jim Cheesman   *
 Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   Personal: [EMAIL PROTECTED] (34) 654 153 160
  Practice safe eating -- always use condiments.














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




Starting tomcat as an NT Service

2001-02-22 Thread Scott Eversole

Hi,

I'm running tomcat on NT 4 workstation.  I installed it as a service using
jk_nt_service.exe.  It installed perfectly without a hitch.  However, when I
modified the service to start automatically it doesn't want to cooperate.
Whenever I log off the service dies and when I log in again I have to
restart it manually even though "automatic" is selected.  Have you ever seen
this problem before? Any thoughts on how I might overcome this problem?

Thanks much,

Scott Eversole

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




RE: Starting tomcat as an NT Service

2001-02-22 Thread Etienne Baert \(SPS Europe\)

Which JDK version are you using ?

-Original Message-
From: Scott Eversole [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 17:14
To: '[EMAIL PROTECTED]'
Subject: Starting tomcat as an NT Service


Hi,

I'm running tomcat on NT 4 workstation.  I installed it as a service using
jk_nt_service.exe.  It installed perfectly without a hitch.  However, when I
modified the service to start automatically it doesn't want to cooperate.
Whenever I log off the service dies and when I log in again I have to
restart it manually even though "automatic" is selected.  Have you ever seen
this problem before? Any thoughts on how I might overcome this problem?

Thanks much,

Scott Eversole

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


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




RE: konqueror tomcat

2001-02-22 Thread Laurent LAUBIN

Thanks a lot, it's almost working now ...
... but I've founded some kind of other bug with the jsp:forward :
 
Well I have a context /MyApp
and from /MyApp/path/page.jsp I want to forward to /MyApp/path/page2.jsp

So If I use jsp:forward page="/MyApp/path/page2.jsp", It will send me a
404 not found for /MyApp/MyApp/path/page2.jsp ( Notice that MyApp appears
twice !)
If I use jsp:forward page="page2.jsp", it works ... 

Strange behaviour not ???


-Message d'origine-
De : Garry De Toffoli [mailto:[EMAIL PROTECTED]]
Envoy : jeudi 22 fvrier 2001 16:02
 : [EMAIL PROTECTED]
Objet : R: konqueror  tomcat

I have resolved the same problem using jsp:forward... instead;
but I don't why using  response.sendRedirect(response.encodeUrl(,...) appear
the http header.

Bye Bye

- Original Message -
From: Laurent LAUBIN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 3:08 PM
Subject: konqueror  tomcat


Hi

I've found another strange behaviour with konqueror browsing tomcat jsp
pages... If you do a redirection in jsp page, with a
 response.sendRedirect(response.encodeUrl("blabla.jsp"));

then konqueror will show you the http header append before the actual html
file...

Ever seen this ??? I'v you any kind of solution ??? Should I go back to
gnujsp ???

Thanks
___
Laurent LAUBIN  S2M
Ingnieur systme   2, rue des champs - BP 2282
Tl : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___



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




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

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




IIS5 - Missing something very simple

2001-02-22 Thread Bryan Lipscy
Title: IIS5 - Missing something very simple





Good morning to all,


Quick config rundown:
[Root partition]
 Windows 2000 Server (no sp1)
 IIS5 (Ports 80, 81, 8080)
[Seperate partition]
 Apache 1.3.14 r2 (Port 90)
 JDK 1.3
 J2EE 1.3
 Tomcat 3.2.1



I know that I am missing something very simple. When I call up http://localhost:8080 I am getting 403'd (You are not authorized to view this page).

Checked  re-checked my registry settings. 
Checked the config files. 
Sharing and/or web sharing is not enabled. 
IIS5 is set up with a jakarta web root pointed to the folder with the isapi_redirect.dll.
The isapi_redirect.dll is installed in the ISAPI filters and has a green arrow.


Anyone have any idea what it is that I am missing?


Bryan





RE: IIS5 - Missing something very simple

2001-02-22 Thread Etienne Baert \(SPS Europe\)
Title: IIS5 - Missing something very simple



Hi 
Bryan,

when 
specifying the 8080 port, you access your pages directly via
tomcat, you thus bypass IIS in that case.
You 
maybe configured tomcat with security rules (see 
tomcat.properties
and 
tomcat-users.xml)

If you 
would like to access tomcat through IIS, you need to use
URL 
without specifying the tomcat port (http://localhost/ for example).

Hope 
this helps,
Etienne

  -Original Message-From: Bryan Lipscy 
  [mailto:[EMAIL PROTECTED]]Sent: jeudi 22 février 2001 
  17:35To: '[EMAIL PROTECTED]'Subject: IIS5 - 
  Missing something very simple
  Good morning to all, 
  Quick config rundown: [Root partition]  
  Windows 2000 Server (no sp1) 
   IIS5 
  (Ports 80, 81, 8080) [Seperate 
  partition]  Apache 1.3.14 r2 (Port 90) 
   JDK 
  1.3  J2EE 1.3  Tomcat 3.2.1 
  I know that I am missing something very 
  simple. When I call up http://localhost:8080 I am getting 403'd (You 
  are not authorized to view this page).
  Checked  re-checked my registry 
  settings. Checked the config 
  files. Sharing and/or web sharing is 
  not enabled. IIS5 is set up with a 
  jakarta web root pointed to the folder with the isapi_redirect.dll. 
  The isapi_redirect.dll is installed in the ISAPI 
  filters and has a green arrow. 
  Anyone have any idea what it is that I am 
  missing? 
  Bryan 


RE: Starting tomcat as an NT Service

2001-02-22 Thread Marc Saegesser

This is almost certainly the infamous JDK1.3 bug.  It has been discussed
*lots* of times on this list (search the archives or read the documentation
at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.htm
l).

 -Original Message-
 From: Scott Eversole [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 22, 2001 10:14 AM
 To: '[EMAIL PROTECTED]'
 Subject: Starting tomcat as an NT Service


 Hi,

 I'm running tomcat on NT 4 workstation.  I installed it as a service using
 jk_nt_service.exe.  It installed perfectly without a hitch.
 However, when I
 modified the service to start automatically it doesn't want to cooperate.
 Whenever I log off the service dies and when I log in again I have to
 restart it manually even though "automatic" is selected.  Have
 you ever seen
 this problem before? Any thoughts on how I might overcome this problem?

 Thanks much,

 Scott Eversole

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


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




RE: IIS5 - Missing something very simple

2001-02-22 Thread Randy Layman


Since you have IIS running on port 8080, I would be willing to be
that you have turned on directory security for the directory that you are
requesting.  Either turn it off, or use a username/password that IIS knows
about (i.e. machine logins)


Randy

-Original Message-
From: Etienne Baert (SPS Europe) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 11:43 AM
To: [EMAIL PROTECTED]
Subject: RE: IIS5 - Missing something very simple


Hi Bryan,
 
when specifying the 8080 port, you access your pages directly via
tomcat, you thus bypass IIS in that case.
You maybe configured tomcat with security rules (see tomcat.properties
and tomcat-users.xml)
 
If you would like to access tomcat through IIS, you need to use
URL without specifying the tomcat port (http://localhost/ for example).
 
Hope this helps,
Etienne
-Original Message-
From: Bryan Lipscy [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 fvrier 2001 17:35
To: '[EMAIL PROTECTED]'
Subject: IIS5 - Missing something very simple


Good morning to all, 
Quick config rundown: 
[Root partition] 
Windows 2000 Server (no sp1) 
IIS5 (Ports 80, 81, 8080) 
[Seperate partition] 
Apache 1.3.14 r2 (Port 90) 
JDK 1.3 
J2EE 1.3 
Tomcat 3.2.1 


I know that I am missing something very simple.  When I call up
http://localhost:8080 I am getting 403'd (You are not authorized to view
this page).
Checked  re-checked my registry settings.  
Checked the config files.  
Sharing and/or web sharing is not enabled.  
IIS5 is set up with a jakarta web root pointed to the folder with the
isapi_redirect.dll. 
The isapi_redirect.dll is installed in the ISAPI filters and has a green
arrow. 
Anyone have any idea what it is that I am missing? 
Bryan 

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




mod_jk not returning !!!

2001-02-22 Thread Shahed Ali

Hi,

I have a major problem with mod_jk.

Apache sends request to mod_jk, but mod_jk just does not return.
I am using ajp12 protocol and Tomcat 3.2.1 JDK 1.3 solaris 8 intel and
apache 1.3.14

This behaviour came up only after a few hours.

If I look at mod_jk.log, I get the log as below.

However, I have another app running on another apache virtual host
using the same config, and that works fine 

The only difference between the 2 apps is that the one that does not work,
uses a worker thread that is shared between 2 tomcat contexts.
The other app that works fine uses a dedicated worker thread ajp12b.
i.e
virtual host A
JkMount /*.jsp ajp12a
/virtual host

virtual host B
JkMount /*.jsp ajp12a
/virtual host

I also have a small patch appiled to mod_jk that makes it use the SetHandler
directive rather than sending all request to mod_jk and letting it figure
out
what it needs.

Thanks
Shahed.

[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
mat
ch ajp12a
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12a
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 9
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 9
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 9
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequen
ce
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
mark
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response




BEGIN:VCARD
VERSION:2.1
N:Moolji;Shahed;A;Mr
FN:Shahed Moolji
NICKNAME:Shahed
ORG:Teleformix LLC;Teleformix
TEL;WORK;VOICE:(847)585-6817
TEL;HOME;VOICE:(847) 252-7653
ADR;WORK:;;925 N. Plum Grove Road;Schaumburg;IL;60173;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:925 N. Plum Grove Road=0D=0ASchaumburg, IL 60173=0D=0AUSA
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010222T164929Z
END:VCARD



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


RE: ContextManager: Error reading request, ignored, repeats

2001-02-22 Thread Todd Carmichael

Has anyone dug into this problem?  I am seeing the same problem Win2k, 4cpu
box using IBM JDK 1.3.  

-Original Message-
From: Carles Pi-Sunyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 5:58 PM
To: '[EMAIL PROTECTED]'
Subject: ContextManager: Error reading request, ignored, repeats


I installed tomcat on a new machine and I'm getting an error I haven't seem
before. My enviroment is:
JDK1.3 (but jdk1.2.2 also produces the error)
Window NT 4.0
tomcat 3.2.1

The error starts when tomcat starts and repeats every 2-4 seconds as tomcat
runs. It dosn't appear to be keeping tomcat from working. Does anyone know
what causes this and how I can fix it?

2001-02-15 05:43:56 - ContextManager: Error reading request, ignored -
java.lang.NullPointerException
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1099)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80
0)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Thanks,
Carles

Carles Pi-Sunyer
Stario, Inc.
http://www.stario.com
[EMAIL PROTECTED]
408 844-8333 ex:326
 

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

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




Help:What type of a configuration Tomcat is more preferable to industrial use

2001-02-22 Thread Ben Galbraith

 Hi !
 What advantages gives use Tomcat + Apache? Why recommend using Tomcat
as stand-alone
 container mainly for development and debugging ?

Tomcat is excellent at serving up dynamic content (i.e. servlets) and does a
pretty good job at serving up static content (i.e. HTML, GIF, JPG, etc).
However, if you are expecting a high level of simultaneous hits (where "high
level" varies according to the performance of your hardware), using Apache
with Tomcat offloads all requests for static content from Tomcat to Apache,
which frees up Tomcat's resources to respond only to dynamic requests.

Because each server configuration is unique, you should take some time to
stress test your Tomcat configuration and learn what its performance
limitations are.  Another thread recently recommended JMeter for such a
task.  Let me also add Microsoft's WAS (not WCAT) to the list.  Check it out
at http://homer.rte.microsoft.com/.  Of course, it's Win32 only.

Good luck,

Ben


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




Re: How to measure Apache-Tomcat performance?

2001-02-22 Thread Ben Galbraith

JMeter's good, you should also check out Microsoft's WAS utility,
http://homer.rte.microsoft.com/.  It's Win32 only, but an excellent little
tool.


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




RE: Tomcat - Sessions and WAP Browsers

2001-02-22 Thread wapeditor

Hi!,


Actually, WAP protocol does not support cookies (at least the version I
worked on).

You have to deal with URL Rewriting, in order to include the session ID
into the requested URL. Once there, tomcat automatically reads the session
ID from the URL instead of using the cookie. This is the same as when
programming standard HTML pages with browsers without cookies support.

Take a look to the 'HttpServletResponse' class and the method 'encodeURL'.
This will made the task of including the Session ID in the URL if needed.

Hope this helps.

Regards

Bob.



--

 The real problem I am running into is that most WAP browsers don't support
 cookies and thus the storing of session data in the cookie. I use Tomcat
as
 my servlet engine, and I have a secured part of my site.

 How Tomcat works in a web environment is this. When you request a page
that
 is secured, tomcat places the session variable
 'tomcat.auth.originalLocation' into the session. This variable holds onto
 the requested URL. After placing the variable into the session, it
forwards
 you to your specified login page i.e. '/secure/login.jsp'. Upon successful
 login/authentication it will forward you to the page referenced in the
 'tomcat.auth.originalLocation' session variable, along with placing a few
 more variables in the session.

 This becomes a problem in the WAP browser environment because none of the
 WAP browsers support cookies, thus cannot get access to the session
variable
 'tomcat.auth.originalLocation'.

 Hope this makes more sense?

 Thanks for your thoughts,

 Bob

--



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


Tomcat deployment

2001-02-22 Thread Amir Nuri

Hi
Can I run two tomcat servers on the some machine ??




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




RE: Tomcat deployment

2001-02-22 Thread Etienne Baert \(SPS Europe\)

Yes you can,
if you are interested on having two (or more) tomcat instances running
on a Win2K machine, I can help you further (but on tomorrow as it 
becomes late here). I haven't experienced it on other OS.

Etienne

-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 f?vrier 2001 18:19
To: Tomcat-User
Subject: Tomcat deployment


Hi
Can I run two tomcat servers on the some machine ??




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


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




RE: Tomcat deployment

2001-02-22 Thread Hensley, Zachary

As long as they are not running on the same port.

-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 12:19 PM
To: Tomcat-User
Subject: Tomcat deployment


Hi
Can I run two tomcat servers on the some machine ??




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


**

This email and any files transmitted with it are confidential
 and intended solely for the use of the individual or entity to
 whom they are addressed.  If you have received this email
 in error, please notify the sender by email and delete and
 destroy this message and its attachments.

**

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




RE: IIS5 - Missing something very simple

2001-02-22 Thread Bryan Lipscy
Title: RE: IIS5 - Missing something very simple





Directory security is set for anonymous using the TOMCAT account. Integrated windows authentication is disabled.


tomcat.properties:
security.selfservlet=false


tomcat-users.xml:
tomcat-users
 user name=tomcat password=tomcat roles=tomcat /
 user name=role1 password=tomcat roles=role1 /
 user name=both password=tomcat roles=tomcat,role1 /
/tomcat-users


Same 403 error regardless of what port IIS is set on.


Tomcat is throwing this exception at startup:


Including all jars in D:\app\tomcat\lib in your CLASSPATH.


Using CLASSPATH: D:\app\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar;D:\app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\servlet.jar;D:\app\tomcat\lib\webserver.jar;D:\app\tomcat\lib\projsp.jar;D:\app\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar;D:\app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\servlet.jar;D:\app\tomcat\lib\webserver.jar;D:\app\java\j2sdk_1.3\lib\tools.jar;D:\app\java\j2sdk_1.3\lib\tools.jar

Startup command = D:\app\java\j2sdk_1.3\bin\java -Dtomcat.home=D:\app\tomcat org.apache.tomcat.startup.Tomcat
Starting Tomcat in new window
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /examples )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /test )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp.jar )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /Readme.txt )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /isapi_redirect.dll )
D:\app\tomcat\webapps\projsp\ch11\init.conf (The system cannot find the path specified)
-- 20010222.093358.397: error: main: javax.servlet.UnavailableException: The directory D:\app\tomcat\webapps\projsp\ch14\photos specified in the image.directory initialization parameter does not exist.

 at com.magiccookie.photodb.PhotoServlet.init(PhotoServlet.java:153)
 at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
 at org.apache.tomcat.core.Handler.init(Handler.java:215)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
 at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
 at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
 at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


cannot load servlet name: PhotoServlet
FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
 at java.net.PlainSocketImpl.socketBind(Native Method)
 at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
 at java.net.ServerSocket.init(ServerSocket.java:170)
 at java.net.ServerSocket.init(ServerSocket.java:121)
 at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
 at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
 at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
 at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Press any key to continue . . .
D:\app\tomcat\bin



I do not see D:\app\tomcat\webapps\projsp\ch14\photos in the projsp.jar file although there are sub-directories for photos. index.jsp resides in photos\grand-teton.




-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 8:13 AM
To: [EMAIL PROTECTED]
Subject: RE: IIS5 - Missing something very simple




 Since you have IIS running on port 8080, I would be willing to be
that you have turned on directory security for the directory that you are
requesting. Either turn it off, or use a username/password that IIS knows
about (i.e. machine logins)



 Randy


-Original Message-
From: Etienne Baert (SPS Europe) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 11:43 AM
To: [EMAIL PROTECTED]
Subject: RE: IIS5 - Missing something very simple



Hi Bryan,

when specifying the 8080 port, you access your pages directly via
tomcat, you thus bypass IIS in that case.
You maybe configured tomcat with security rules (see tomcat.properties
and tomcat-users.xml)

If you would like to access tomcat through IIS, you need to use
URL without specifying the tomcat port (http://localhost/ for example).

Hope this helps,
Etienne
-Original Message-
From: Bryan Lipscy [mailto:[EMAIL PROTECTED]]
Sent: jeudi 22 février 2001 17:35
To: '[EMAIL PROTECTED]'
Subject: 

RE: Tomcat deployment

2001-02-22 Thread Nael Mohammad

Yes, just modify the port number they will be using. For example, tomcat be
default is 8080, so the second server would be port # 8081

-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:19 AM
To: Tomcat-User
Subject: Tomcat deployment


Hi
Can I run two tomcat servers on the some machine ??




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

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




RE: IIS5 - Missing something very simple

2001-02-22 Thread Randy Layman


Ok, lets take this one step at a time

First, in your first message, which you is included at the very
bottom of this message, you indicate that IIS (the Microsoft Web Server) is
running on port 8080.  According to your error message, one of the ports
Tomcat is trying to use is already in use when Tomcat starts up, most likely
8080.  Therefore, http://localhost:8080 is talking to IIS, not Tomcat.

Now, you are getting 403 errors, which are access denined.  Since
you are running IIS on port 8080 (see first paragraph), you will need to
look at you IIS configuration and turn off the directory security there, or
give it a Windows NT username and password (and maybe domain, depending upon
your configuration).

This is a guess, but what you really want is IIS running on port 80
and some directory (like /projsp) from IIS to redirect to Tomcat.  To do
this, you need to follow the IIS-HowTo and then change the
uriworkermap.properties file to map /projsp to Tomcat.

I'm not really sure what your projsp webapp is, but it would seem
that its trying to load something at startup that isn't there.  Is the
projsp.jar file really the WAR file and it should be expanded, or is it your
set of classes that should be in the WEB-INF/lib directory?  Was this
application developed on another JSP engine and therefore might be
incompatible with Tomcat?

Randy

-Original Message-
From: Bryan Lipscy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 12:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: IIS5 - Missing something very simple


Directory security is set for anonymous using the TOMCAT account.
Integrated windows authentication is disabled. 
tomcat.properties: 
security.selfservlet=false 
tomcat-users.xml: 
tomcat-users 
  user name="tomcat" password="tomcat" roles="tomcat" / 
  user name="role1"  password="tomcat" roles="role1"  / 
  user name="both"   password="tomcat" roles="tomcat,role1" / 
/tomcat-users 
Same 403 error regardless of what port IIS is set on. 
Tomcat is throwing this exception at startup: 
Including all jars in D:\app\tomcat\lib in your CLASSPATH. 
Using CLASSPATH:
D:\app\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar
;D:\app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\s
ervlet.jar;D:\app\tomcat\lib\webserver.jar;D:\app\tomcat\lib\projsp.jar;D:\a
pp\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar;D:\
app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\servl
et.jar;D:\app\tomcat\lib\webserver.jar;D:\app\java\j2sdk_1.3\lib\tools.jar;D
:\app\java\j2sdk_1.3\lib\tools.jar
Startup command = "D:\app\java\j2sdk_1.3\bin\java"
-Dtomcat.home="D:\app\tomcat" org.apache.tomcat.startup.Tomcat 
Starting Tomcat in new window 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /examples ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /admin ) 
Starting tomcat. Check logs/tomcat.log for error messages 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx(  ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /test ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp.jar ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /Readme.txt ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx(
/isapi_redirect.dll ) 
D:\app\tomcat\webapps\projsp\ch11\init.conf (The system cannot find the path
specified) 
-- 20010222.093358.397: error: main: javax.servlet.UnavailableException:
The directory D:\app\tomcat\webapps\projsp\ch14\photos specified in the
image.directory initialization parameter does not exist.
at com.magiccookie.photodb.PhotoServlet.init(PhotoServlet.java:153) 
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) 
at org.apache.tomcat.core.Handler.init(Handler.java:215) 
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) 
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130) 
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491) 
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453) 
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195) 
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 
cannot load servlet name: PhotoServlet 
FATAL:java.net.BindException: Address in use: JVM_Bind 
java.net.BindException: Address in use: JVM_Bind 
at java.net.PlainSocketImpl.socketBind(Native Method) 
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397) 
at java.net.ServerSocket.init(ServerSocket.java:170) 
at java.net.ServerSocket.init(ServerSocket.java:121) 
at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
ocketFactory.java:97) 
at

Re: Problem with Tomcat - Red Hat 7

2001-02-22 Thread Jan Labanowski

On Thu, 22 Feb 2001, Vanbiervliet Matthew wrote:

You may want to look at:
http://www.ccl.net/cca/software/UNIX/apache/index.shtml

Redhat7.0 puts Apache in different dirs than Redhat 6.2 
Jan


 Hello everybody,
 I have some problems with the Tomcat install with Red Hat 7. 
 Firstly, the path that I get in KDE seems not to be the same as the one I have 
 in the text mode. Does X have another path ? How can I change the default path 
 of KDE ?
 Currently, to solve the problem, I put my JDK in one of the path directories 
 but that's just a temporary solution. When I start Tomcat (bin/startup.sh), he 
 stops just before he has to write the lines beginning with pool... (the final 
 lines before the startup of the server). I get no error messages but tomcat 
 isn't started at all. I'll try to install the version 4 of tomcat and see but I 
 don't think this will change much.
  
 
 Can anyone help me ? 
 Thanks
 
 Note : I have no problems with Red Hat 6.2. I've installed Red Hat 7 so that I 
 could use my USB
 mouse.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/


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




JNDI DataSource lookup and Tomcat 3.2.1

2001-02-22 Thread William Au

I want to use JNDI DataSource lookup with Tomcat 3.2.1.
I am going to need a JNDI service provider.  I see that a few
different ones are available form java.sun.com.  Is there
a particular one that works best with Tomcat?

Bill




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




RE: IIS5 - Missing something very simple

2001-02-22 Thread Bryan Lipscy
Title: RE: IIS5 - Missing something very simple





Got it!
Thank you to Randy  Etienne for their help.


Causes:
1) I setup a new web site as opposed to creating a virtual directory.
 In the virtual directory I:
  disabled Windows Integrated Authentication
  enabled anonymous access using the TOMCAT account. 
   NOTE: Do not use the machine_name\TOMCAT account. 
Remove the machine_name and enable IIS controls the password. 
IIS sees machine_name\TOMCAT as a non-local account and it cannot control the password.

  
2) The projsp files furnished by Wrox publishing are hosed up. These files are referenced by Professional JSP [ISBN: 1-861003-62-5]. Removed them and Tomcat runs fine.

3) Had to make changes in jni_workers.properties, jni_server.xml, wrapper.properties, workers.properties to reflect the correct values for JAVA_HOME and TOMCAT_HOME.


Bryan



-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:25 AM
To: [EMAIL PROTECTED]
Subject: RE: IIS5 - Missing something very simple




 Ok, lets take this one step at a time


 First, in your first message, which you is included at the very
bottom of this message, you indicate that IIS (the Microsoft Web Server) is
running on port 8080. According to your error message, one of the ports
Tomcat is trying to use is already in use when Tomcat starts up, most likely
8080. Therefore, http://localhost:8080 is talking to IIS, not Tomcat.


 Now, you are getting 403 errors, which are access denined. Since
you are running IIS on port 8080 (see first paragraph), you will need to
look at you IIS configuration and turn off the directory security there, or
give it a Windows NT username and password (and maybe domain, depending upon
your configuration).


 This is a guess, but what you really want is IIS running on port 80
and some directory (like /projsp) from IIS to redirect to Tomcat. To do
this, you need to follow the IIS-HowTo and then change the
uriworkermap.properties file to map /projsp to Tomcat.


 I'm not really sure what your projsp webapp is, but it would seem
that its trying to load something at startup that isn't there. Is the
projsp.jar file really the WAR file and it should be expanded, or is it your
set of classes that should be in the WEB-INF/lib directory? Was this
application developed on another JSP engine and therefore might be
incompatible with Tomcat?


 Randy


-Original Message-
From: Bryan Lipscy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 12:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: IIS5 - Missing something very simple



Directory security is set for anonymous using the TOMCAT account.
Integrated windows authentication is disabled. 
tomcat.properties: 
security.selfservlet=false 
tomcat-users.xml: 
tomcat-users 
 user name=tomcat password=tomcat roles=tomcat / 
 user name=role1 password=tomcat roles=role1 / 
 user name=both password=tomcat roles=tomcat,role1 / 
/tomcat-users 
Same 403 error regardless of what port IIS is set on. 
Tomcat is throwing this exception at startup: 
Including all jars in D:\app\tomcat\lib in your CLASSPATH. 
Using CLASSPATH:
D:\app\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar
;D:\app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\s
ervlet.jar;D:\app\tomcat\lib\webserver.jar;D:\app\tomcat\lib\projsp.jar;D:\a
pp\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar;D:\
app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\servl
et.jar;D:\app\tomcat\lib\webserver.jar;D:\app\java\j2sdk_1.3\lib\tools.jar;D
:\app\java\j2sdk_1.3\lib\tools.jar
Startup command = D:\app\java\j2sdk_1.3\bin\java
-Dtomcat.home=D:\app\tomcat org.apache.tomcat.startup.Tomcat 
Starting Tomcat in new window 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /examples ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /admin ) 
Starting tomcat. Check logs/tomcat.log for error messages 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /test ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp.jar ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /Readme.txt ) 
2001-02-22 09:33:57 - ContextManager: Adding context Ctx(
/isapi_redirect.dll ) 
D:\app\tomcat\webapps\projsp\ch11\init.conf (The system cannot find the path
specified) 
-- 20010222.093358.397: error: main: javax.servlet.UnavailableException:
The directory D:\app\tomcat\webapps\projsp\ch14\photos specified in the
image.directory initialization parameter does not exist.
 at com.magiccookie.photodb.PhotoServlet.init(PhotoServlet.java:153) 
 at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) 
 at org.apache.tomcat.core.Handler.init(Handler.java:215) 
 at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) 
 

Re: Set wich pages I can see with SSL and wich not

2001-02-22 Thread Jan Labanowski

This is done via virtual servers in apache. Check httpd.conf

On Thu, 22 Feb 2001, Claudio Chrispens wrote:

 Hi!, I have installed SSL - apache - tomcat .
 
 I want to know if I there is a file in the tomcat or in the apache
 configuration where I can set wich pages could be seen with SSL and wich
 not.
 
 The reason is to not overload the server.
 
 Thanks
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/


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




RE: Tomcat 4, JDBCRealm Configuration, Catalina.start: LifecycleException: This Realm has already been started

2001-02-22 Thread Ignacio J. Ortega

Hola C. Gaffga:

It seems a bad message JDBCRealm ( without an RootCause somthing like
that ), look at bad connection url or db not started when TC4.0 tries to
start the connection, or something like this.., please file a bug to
http://nagoya.apache.org/bugzilla to help us to track that issue.., but
FYI i'll try to give a closer look at it ASAP.

TIA

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: C. Gaffga [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 22 de febrero de 2001 17:40
 Para: [EMAIL PROTECTED]
 Asunto: Tomcat 4, JDBCRealm Configuration, Catalina.start:
 LifecycleException: This Realm has already been started
 
 
 Hi !
 
 I've installed tomcat 4-beta to check out the filtering 
 mechanism. But I
 have some problems to configure the JDBCRealm.
 When I start up tomcat i got a exception in logs/catalina.out:
 
 Starting service Tomcat-Standalone
 Apache Tomcat/4.0-b1
 Catalina.start: LifecycleException:  This Realm has already 
 been started
 LifecycleException:  This Realm has already been started
 at 
 org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:542)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1142)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:217)
 at
 org.apache.catalina.core.StandardService.start(StandardService
 .java:353)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.java:454)
 at 
 org.apache.catalina.startup.Catalina.start(Catalina.java:654)
 at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
 at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:176)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:157)
 
 I have the following in my conf/server.xml:
 
   Realm
   className="org.apache.catalina.realm.JDBCRealm"
   debug="99"
   driverName="org.gjt.mm.mysql.Driver"
 
 connectionURL="jdbc:mysql://62.208.90.143/urlaubstage?user=url
 aubstage;passw
 ord=something"
   userTable="user"
   userNameCol="username"
   userCredCol="passwd"
   userRoleTable="user_roles"
   roleNameCol="rolename" /
 
 
 Please mail me, if you heard of this problem or know how to solve it.
 Thanks in advanve.
 
 Christoph Gaffga
 [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 

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




FW: Tomcat deployment

2001-02-22 Thread Amir Nuri

In order to run two tomcat servers
Do I use two server.xml files ??
and Where do i tell tomcat what server.xml to use ??

-Original Message-
From: Nael Mohammad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 7:53 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat deployment


Yes, just modify the port number they will be using. For example, tomcat be
default is 8080, so the second server would be port # 8081

-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:19 AM
To: Tomcat-User
Subject: Tomcat deployment


Hi
Can I run two tomcat servers on the some machine ??




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

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



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




RE: Tomcat deployment

2001-02-22 Thread Randy Layman


Yes.  You start Tomcat with the -f path to server.xml.  You must
also use this when stopping Tomcat.

Randy


-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 2:22 PM
To: Tomcat-User
Subject: FW: Tomcat deployment


In order to run two tomcat servers
Do I use two server.xml files ??
and Where do i tell tomcat what server.xml to use ??

-Original Message-
From: Nael Mohammad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 7:53 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat deployment


Yes, just modify the port number they will be using. For example, tomcat be
default is 8080, so the second server would be port # 8081

-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 9:19 AM
To: Tomcat-User
Subject: Tomcat deployment


Hi
Can I run two tomcat servers on the some machine ??




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

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



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

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




Autoreply: Re: TC3.2.1 - response commit on included JSPs

2001-02-22 Thread bwheeler

This is not a valid address at SNL Securities (http://www.snl.com).  Please remove 
him/her from your mailing list or address book.


Your message reads:

Received: from snlexch.snl.com (unverified [10.0.1.9]) by mail.snl.com
 (Rockliffe SMTPRA 4.5.4) with ESMTP id [EMAIL PROTECTED] for 
[EMAIL PROTECTED];
 Thu, 22 Feb 2001 14:27:50 -0500
Received: by SNLEXCH with Internet Mail Service (5.5.2653.19)
id F3WAVJ84; Thu, 22 Feb 2001 14:25:31 -0500
Received: from mail.snl.com (SNLDMZBDC [10.0.0.7]) by snlexch.snl.com with SMTP 
(Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
id F3WAVJ8S; Thu, 22 Feb 2001 14:25:29 -0500
Received: from apache.org (unverified [64.208.42.41]) by mail.snl.com
 (Rockliffe SMTPRA 4.5.4) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Thu, 22 Feb 2001 14:27:32 -0500
Received: (qmail 73552 invoked by uid 500); 22 Feb 2001 17:52:59 -
Received: (qmail 73334 invoked from network); 22 Feb 2001 17:52:56 -
Received: from kyoto.javasoft.com (204.160.241.223)
  by h31.sny.collab.net with SMTP; 22 Feb 2001 17:52:56 -
Received: from localhost (localhost [127.0.0.1])
by kyoto.javasoft.com (8.9.3/8.9.3) with ESMTP id JAA19479;
Thu, 22 Feb 2001 09:25:33 -0800
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Date: Thu, 22 Feb 2001 09:52:58 -0800 (PST)
X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: TC3.2.1 - response commit on included JSPs
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

On Wed, 21 Feb 2001, Mel Martinez wrote:

 IMHO out.flush() should not commit the response.  Only
 response.flushBuffer() should commit the response. 
 And response.flushBuffer() should not be called from
 an inside an 'include' request.

Hi Mel,

First, JspWriter needs to be flushed at the end of the page - it has a
buffer, and if the buffer is not commited the data will be lost.
There is a method ( flushBuffer ) in JspWriterImpl, and that method should
be called instead of flush().

In 3.2 we had a lot of problems with the buffers - changing that may be a
bit dangerous. For 3.3, the whole buffering has been re-designed and
refactored, and most problems we knew about in the servlet container
are fixed ( but so far this issue hasn't been fixed - to be honest I
didn't knew about it, I've been focused more on the servlet side ).

It shouldn't be difficult to fix it, and since it is a spec issue I think
this is a must_fix bug.

The best way to make sure it'll be indeed fixed is to send a patch or at
least a test case ( a small war with some servlets/jsps and a gtest
fragment that we can include in our nighlty tests ). 


Costin






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


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




Autoreply: Re: Set wich pages I can see with SSL and wich not

2001-02-22 Thread bwheeler

This is not a valid address at SNL Securities (http://www.snl.com).  Please remove 
him/her from your mailing list or address book.


Your message reads:

Received: from snlexch.snl.com (unverified [10.0.1.9]) by mail.snl.com
 (Rockliffe SMTPRA 4.5.4) with ESMTP id [EMAIL PROTECTED] for 
[EMAIL PROTECTED];
 Thu, 22 Feb 2001 14:32:03 -0500
Received: by SNLEXCH with Internet Mail Service (5.5.2653.19)
id F3WAVJ00; Thu, 22 Feb 2001 14:29:44 -0500
Received: from mail.snl.com (SNLDMZBDC [10.0.0.7]) by snlexch.snl.com with SMTP 
(Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
id F3WAVJ09; Thu, 22 Feb 2001 14:29:41 -0500
Received: from apache.org (unverified [64.208.42.41]) by mail.snl.com
 (Rockliffe SMTPRA 4.5.4) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Thu, 22 Feb 2001 14:32:00 -0500
Received: (qmail 38137 invoked by uid 500); 22 Feb 2001 18:42:36 -
Received: (qmail 38121 invoked from network); 22 Feb 2001 18:42:34 -
Received: from osc.edu (192.148.249.4)
  by h31.sny.collab.net with SMTP; 22 Feb 2001 18:42:34 -
Received: from krakow.osc.edu (krakow.osc.edu [192.148.249.195])
by osc.edu (8.9.3/8.9.3/OSC 2.0) with ESMTP id NAA17108
for [EMAIL PROTECTED]; Thu, 22 Feb 2001 13:42:28 -0500 (EST)
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Date: Thu, 22 Feb 2001 13:42:28 -0500 (EST)
From: Jan Labanowski [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: Re: Set wich pages I can see with SSL and wich not
In-Reply-To: 7054B8A664FDD411880C0004ACEBE5FF0CF80C@MAIL
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

This is done via virtual servers in apache. Check httpd.conf

On Thu, 22 Feb 2001, Claudio Chrispens wrote:

 Hi!, I have installed SSL - apache - tomcat .
 
 I want to know if I there is a file in the tomcat or in the apache
 configuration where I can set wich pages could be seen with SSL and wich
 not.
 
 The reason is to not overload the server.
 
 Thanks
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/


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


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




  1   2   >