ISAPI Filter between IIS5 and Tomcat

2001-02-15 Thread Steve Wong

I am currently using IIS5 in Windows2000 with SP1.
I would like to add an ISAPI Filter with tomcat.
However, I can add the filter successfully with Green Up Arrow.
But everytimes I browse the page that needed to be redirected, I got :
The Page cannot be displayed.
And there is also a warning in the event log :
The server failed to load application '/LM/W3SVC'. The error was 'The
specified metadata was not found.'.
Has anyone met this error before? Can you throw me some light on this?

Thx. in Advance.
Steve.


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




fix suggestion

2001-02-15 Thread Charlie Younghusband

Hi, downloaded Tomcat Version 3.2.1

When I tried to build the sample, it wouldn't build for me.  It's
*embarrassing* how long it took me to trace it, but the file
\doc\appdev\sample\build.bat
has an error.

rem Identify the custom class path components we need
set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib;.;ant.jar

Please add to the second line CP=%CP%;%TOMCAT_HOME% etc etc.

Without it, the first line gets forgotten and rewritten by the second.
Hopefully no one else will go through the same thing ;)

I'm not actually on this list, please direct any responses/questions to
me directly.

Charlie




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




CATALINA ON REDHAT 7

2001-02-15 Thread niv the tool

Hi all.
i managed to setup tomcat 3.2.1 on redhat7 and it works fine

now trying to use catalina(tomcat 4.1 b) does not seem to work when running
startup.sh .
BTW
JAVA_HOME is set to /usr/java/jdk1.3
am i missing something.
on win2k catalina works.
TIA.


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




one session per user?

2001-02-15 Thread mike niemaz

Hi,
I'm having troubles to understand how really sessions are working.
I'm using a servlet to handle every client requests and I'm using
jsp
 session to display  various objects between frames, such as:

HttpSession session = req.getSession(false);
Toto toto = session.getAttribute("toto");
if (toto.getName() == "mike")
toto.setInfotoDisplay("Hi mike, waza?");
else if (toto.getName() == "alain")
toto.setInfotoDisplay("Tcho alain, ca boom?");
...
session.setAttribute("toto", toto);

My concern is that I really thought that the object I
get with "getAttribute" on sessions were attached
to the according user.
But apparently not, it looks like my object Toto is shared
amongst my clients and thus everything is f up ;-(

Any idea how I could stick a session per user?

thanx,

--mike


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




Re: help about tomcat virtual hosting...

2001-02-15 Thread Luc Vanlerberghe

In the original JServ, you could use the loadbalancer to solve a problem
like that.
You could make a second servlet engine active with the new settings and
configure the loadbalancer to have that instance receives all new
sessions.  Any active session would still be routed to the 'old' engine.
When after a while the 'old' sessions die out, you can take the 'old'
servlet engine down and configure it for the next cycle.

I don't know if any of this is implemented in the loadbalancer for
tomcat, but I hope to have given you some idea on how to proceed your
search for a solution.

Luc Vanlerberghe

Saurabh Shukla wrote:
 
 NO, i do not think you can add a virtual host with out restarting.
 
 -Original Message-
 From: Jino Lee [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 14, 2001 3:27 PM
 To: [EMAIL PROTECTED]
 Subject: help about tomcat virtual hosting...
 
 I'm using apache 1.3.17 + tomcat 3.2.1 + red-hat 6.2.
 
 Every time I add a virtual host, I have to restart apache and tomcat.
 During the restart, the visitors will loose all connection to the site is
 there anyway to add a virtual host without restarting the server?
 
 Currentl, I'm only using tomcat3.2.1 for web service. Is there a way to
 refresh additional virtual hosts without restarting the server?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


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




Register new projects to Tomcat

2001-02-15 Thread Christoph . Gurtner

Hi!

It seems to be a silly question, but it's the first time I use Tomcat.
I have a question about administrate Tomcat.
I`ve wrote the url "http://localhost:8080/admin/index.html" in the address
field of my browser.
After I clicked on the link Context Admin, a dialog requested the name and
password for the network login. But my normally login doesn't work.

Is there another way to add a project to Tomcat as to edit the file
server.xml ? Is there a user- interface for publishing and register new
web - projects?

Best regards,

Christoph Gurtner





Christoph Gurtner
DV Bern AG
__
mailto:[EMAIL PROTECTED]  /
Briefpost:  Sulgenauweg 40 ,  CH-3007 Bern  BE
Telefon:  +41 31 378 24 24
Telefax:  +41 31 378 24 74







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




Restart Apache and Tomcat with mod_jk?

2001-02-15 Thread Nick Holloway

In the "Tomcat-Apache HOWTO" distributed with Tomcat 3.2.1, there is
the following in the common questions:

mod_jk - Apache locks up when requesting a Servlet or JSP 
  mod_jk reuses the same port when talking to Tomcat, unlike
  mod_jserv.  You'll need to restart Apache whenever you restart
  Tomcat.

However, I haven't found it necessary (Apache 1.3.12 on Win32).  Is this
information in the HOWTO out of date, or will I get caught out sometime?

-- 
 `O O'  | [EMAIL PROTECTED]
// ^ \\ | http://www.pyrites.org.uk/

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




Re: Stop method should do session serialization first.

2001-02-15 Thread Kief Morris

Chris Zhao typed the following on 12:58 PM 2/14/2001 -0500
For the reason that temporarily stopping Tomcat would not affect user's
browsing, session serialization should be used instead of expiration.

Or, configuration may carry a flag to turn on this feature or not.

Take a look at Tomcat 4.0 beta, it has this exact feature. The upcoming 
beta 2 (and current nightly builds) has some more sophisticated options 
with PersistentManager. Check it out and let us know how it works for
you!

Kief


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




Re: one session per user?

2001-02-15 Thread Kief Morris

mike niemaz typed the following on 09:40 AM 2/15/2001 +0100
Hi,
I'm having troubles to understand how really sessions are working.
I'm using a servlet to handle every client requests and I'm using
jsp
 session to display  various objects between frames, such as:

HttpSession session = req.getSession(false);
Toto toto = session.getAttribute("toto");
if (toto.getName() == "mike")
toto.setInfotoDisplay("Hi mike, waza?");
else if (toto.getName() == "alain")
toto.setInfotoDisplay("Tcho alain, ca boom?");
...
session.setAttribute("toto", toto);

My concern is that I really thought that the object I
get with "getAttribute" on sessions were attached
to the according user.
But apparently not, it looks like my object Toto is shared
amongst my clients and thus everything is f up ;-(

Any idea how I could stick a session per user?

Normally sessions do work just fine per user. However it's easy to make
mistakes with scope which can produce the kinds of problems you're
talking about: static variables, class variables in a servlet class or
%! Toto toto = new Toto() % in JSP pages, or reusing the same
object by changing its values and inserting it into a session for a
different user, etc. For example, if you have

Toto toto = new Toto();

doGet(...) {
toto.setName = ...
session.setAttribute("toto", toto);
}

In this case, the Toto object _will_ be shared between users, because
only one object is ever created.

But it's hard to say what the problem is without seeing the real code, or at
least a boiled down example of the code which you have compiled and verified 
still has the problem.

Kief


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




Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread Emil Genov

Hi everybody,

can I kindly beg for your help. I need to monitor memory usage, CPU usage
and resource usage of servlets from inside of Tomcat. Can someone propose
how to use some API of Tomcat or something else to achieve this. This must
be done by external program or some extension of Tomcat may be. If there are
already made solutions(free-ware) I would be so gratefull if you share them
with me. If you could answer me by e-mail: [EMAIL PROTECTED]

10x very much: Emil Genov


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




Help - stuck with mod_jk

2001-02-15 Thread Eugenio Ascoli-Bartoli

I am new to the list, and I am sorry for posting the same question twice,
but I am still stuck with Apache and Tomcat (using mod_jk).
I used the instructions in mod_jk.howto. I read both manual and
Tomcat-Apache HOWTO, but all the stuff related to mod_jk is in the howto
mentioned above.
Tomcat is up and running as standalone; Apache is up and running.
Configuration for mod_jk is used,mod_jk is loaded and working as I can see
from the log file, mod_jk tries to find workers in workers.properties, but
each request for virtual directories reserved to Tomcat never comes to the
tomcat engine, as there is no communication on port 8009.
Any hint would be helpful. Excuse me again and TIA.
Eugenio Ascoli-Bartoli


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




RE: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

Emil

I am happy to tell you that someone did it already !
and the really good news is that you can use it , it is really nice and easy
to configure
it have very nice GUI and I recommend on it !
go here !

http://rue.nolimits.ro/
Enjoy

Shlomi Sarfati


-Original Message-
From: Emil Genov [mailto:[EMAIL PROTECTED]]
Sent: Thu, February 15, 2001 12:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Monitor memory and CPU usage of servlets from inside of Tomcat


Hi everybody,

can I kindly beg for your help. I need to monitor memory usage, CPU usage
and resource usage of servlets from inside of Tomcat. Can someone propose
how to use some API of Tomcat or something else to achieve this. This must
be done by external program or some extension of Tomcat may be. If there are
already made solutions(free-ware) I would be so gratefull if you share them
with me. If you could answer me by e-mail: [EMAIL PROTECTED]

10x very much: Emil Genov


-
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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread Emil Genov

Hi

10x bery much for reply. Are U sure address Ugive me is correct, i can not
open http://rue.nolimits.ro/

Can U check it, I ll be very gratefull

best regards
Emil Genov

- Original Message -
From: "shlomi sarfati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 10:42 AM
Subject: RE: Monitor memory and CPU usage of servlets from inside of Tomcat


 Emil

 I am happy to tell you that someone did it already !
 and the really good news is that you can use it , it is really nice and
easy
 to configure
 it have very nice GUI and I recommend on it !
 go here !

 http://rue.nolimits.ro/
 Enjoy

 Shlomi Sarfati


 -Original Message-
 From: Emil Genov [mailto:[EMAIL PROTECTED]]
 Sent: Thu, February 15, 2001 12:43 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Monitor memory and CPU usage of servlets from inside of Tomcat


 Hi everybody,

 can I kindly beg for your help. I need to monitor memory usage, CPU usage
 and resource usage of servlets from inside of Tomcat. Can someone propose
 how to use some API of Tomcat or something else to achieve this. This must
 be done by external program or some extension of Tomcat may be. If there
are
 already made solutions(free-ware) I would be so gratefull if you share
them
 with me. If you could answer me by e-mail: [EMAIL PROTECTED]

 10x very much: Emil Genov


 -
 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: FLAW IN SERVLET SPECIFICATION IS THE REASON FOR LACK OF STANDARD SUPPORT FOR FILE UPLOAD

2001-02-15 Thread Samson, Lyndon [IT]

I'm not entirely sure what you are saying, however I wrote a
multipart/form-data parser whos contructor is passed req.getInputStream()
and it works fine under Tomcat. I use the service method
of the HttpServlet class rather than doPost, I don't think that would make
any difference.





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 7:52 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: FLAW IN SERVLET SPECIFICATION IS THE REASON FOR LACK OF
STANDARD SUPPORT FOR FILE UPLOAD


Ufortunately both servlet spec 2.2 as well as the proposed servlet spec 2.3
are not compliant with
neither RFC 1867  nor RFC 2616 although in some parts of the specs mentions
is given of HTTP 1.1 and
one is let to believe that those specs be compliant with HTTP 1.1.

A further evidence which let believe that the spec 2.2 and 2.3 are fully
HTTP 1.1 compliant is the following statement
found in the introduction of the text:

The following Internet Specifications provide relevant information to
the development and
implementation of the Servlet API and engines which support the Servlet
API:
· RFC 1630 Uniform Resource Identifiers (URI)
· RFC 1738 Uniform Resource Locators (URL)
· RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax
· RFC 1808 Relative Uniform Resource Locators
· RFC 1945 Hypertext Transfer Protocol (HTTP/1.0)
· RFC 2045 MIME Part One: Format of Internet Message Bodies
· RFC 2046 MIME Part Two: Media Types
· RFC 2047 MIME Part Three: Message Header Extensions for non-ASCII text
· RFC 2048 MIME Part Four: Registration Procedures
· RFC 2049 MIME Part Five: Conformance Criteria and Examples
· RFC 2109 HTTP State Management Mechanism
· RFC 2145 Use and Interpretation of HTTP Version Numbers
· RFC 2324 Hypertext Coffee Pot Control Protocol (HTCPCP/1.0)1
· RFC 2616 Hypertext Transfer Protocol (HTTP/1.1)
· RFC 2617 HTTP Authentication: Basic and Digest Authentication

As you certainly know, RFC 2616 relies upon RFC 1867 for FORM handling even
though RFC 1867 is still in "Experimental" status.

I strongly advice either to modify the servlet spec and make support for RFC
2616 and RFC 1867  complete, 
or to write more clearly that this is not the case. Ideally, it would be
very useful if deviations of the spec from those RFC  be described in
detail.

I stumbled across this problem when trying to submit a POST with
enctype="multipart-form/data" to Tomcat 3.1 and Tomcat 3.2.1
and got always nulls. Then I looked in the source and found that the
javax... returns NULL in case that the submitted POST contains
data but the content type not be= "application-xxx-www-form-urlencoded".
According to the specs, 

"If any of the getParameter family of methods is not called, or not all
of the above
conditions are met, the post data must remain available for the servlet
to read via the
request#8217;s input stream."

but unfortunately that is not the case since the javax.. implementation
returns null as result of the doPost with the enctype="multipart-form/data"

The only way to handle that problem (and still remain "pure Java") is
currently to extend the HttpServlet with a doPost which supports also
enctype="multipart-form/data" such as done by Jason in his classes
(http://www.servlets.com/resources/com.oreilly.servlet/index.html) however
one would normally expect such functionality to be provided by *any* servlet
implementation and for sure by the "servlet standard" !

As myself, several hundreds of other developers are hampered by this fact as
one can easily find by searching in the archives of the mailing
lists for example at technet.oracle.com in the XML discussion group, or in
tomcat mailing lists.

Your constructive comments will be appreciated.

Luca Toldo

-
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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

Emil
I am having no problems access this url
http://rue.nolimits.ro/
if you still having problems maybe I can send you the installation files




-Original Message-
From: Emil Genov [mailto:[EMAIL PROTECTED]]
Sent: Thu, February 15, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Monitor memory and CPU usage of servlets from inside of Tomcat


Hi

10x bery much for reply. Are U sure address Ugive me is correct, i can not
open http://rue.nolimits.ro/

Can U check it, I ll be very gratefull

best regards
Emil Genov

- Original Message -
From: "shlomi sarfati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 10:42 AM
Subject: RE: Monitor memory and CPU usage of servlets from inside of Tomcat


 Emil

 I am happy to tell you that someone did it already !
 and the really good news is that you can use it , it is really nice and
easy
 to configure
 it have very nice GUI and I recommend on it !
 go here !

 http://rue.nolimits.ro/
 Enjoy

 Shlomi Sarfati


 -Original Message-
 From: Emil Genov [mailto:[EMAIL PROTECTED]]
 Sent: Thu, February 15, 2001 12:43 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Monitor memory and CPU usage of servlets from inside of Tomcat


 Hi everybody,

 can I kindly beg for your help. I need to monitor memory usage, CPU usage
 and resource usage of servlets from inside of Tomcat. Can someone propose
 how to use some API of Tomcat or something else to achieve this. This must
 be done by external program or some extension of Tomcat may be. If there
are
 already made solutions(free-ware) I would be so gratefull if you share
them
 with me. If you could answer me by e-mail: [EMAIL PROTECTED]

 10x very much: Emil Genov


 -
 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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread Emil Genov

Hey 10x

I think everything is OK. Once again 10x very much I appreciate your help

best regards Emil Genov

- Original Message -
From: "shlomi sarfati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 10:59 AM
Subject: RE: Monitor memory and CPU usage of servlets from inside of Tomcat


 Emil
 I am having no problems access this url
 http://rue.nolimits.ro/
 if you still having problems maybe I can send you the installation files




 -Original Message-
 From: Emil Genov [mailto:[EMAIL PROTECTED]]
 Sent: Thu, February 15, 2001 1:00 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Monitor memory and CPU usage of servlets from inside of
Tomcat


 Hi

 10x bery much for reply. Are U sure address Ugive me is correct, i can not
 open http://rue.nolimits.ro/

 Can U check it, I ll be very gratefull

 best regards
 Emil Genov

 - Original Message -
 From: "shlomi sarfati" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, February 15, 2001 10:42 AM
 Subject: RE: Monitor memory and CPU usage of servlets from inside of
Tomcat


  Emil
 
  I am happy to tell you that someone did it already !
  and the really good news is that you can use it , it is really nice and
 easy
  to configure
  it have very nice GUI and I recommend on it !
  go here !
 
  http://rue.nolimits.ro/
  Enjoy
 
  Shlomi Sarfati
 
 
  -Original Message-
  From: Emil Genov [mailto:[EMAIL PROTECTED]]
  Sent: Thu, February 15, 2001 12:43 PM
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Monitor memory and CPU usage of servlets from inside of Tomcat
 
 
  Hi everybody,
 
  can I kindly beg for your help. I need to monitor memory usage, CPU
usage
  and resource usage of servlets from inside of Tomcat. Can someone
propose
  how to use some API of Tomcat or something else to achieve this. This
must
  be done by external program or some extension of Tomcat may be. If there
 are
  already made solutions(free-ware) I would be so gratefull if you share
 them
  with me. If you could answer me by e-mail: [EMAIL PROTECTED]
 
  10x very much: Emil Genov
 
 
  -
  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]




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




RE: fix suggestion

2001-02-15 Thread Ignacio J. Ortega

Please file a bug in http://nagoya.apache.org/bugzilla with this issue,
please do a search first to look if somebody has reported it before..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Charlie Younghusband [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 15 de febrero de 2001 9:13
 Para: [EMAIL PROTECTED]
 Asunto: fix suggestion
 
 
 Hi, downloaded Tomcat Version 3.2.1
 
 When I tried to build the sample, it wouldn't build for me.  It's
 *embarrassing* how long it took me to trace it, but the file
 \doc\appdev\sample\build.bat
 has an error.
 
 rem Identify the custom class path components we need
 set CP=%TOMCAT_HOME%\lib\ant.jar;%TOMCAT_HOME%\lib\servlet.jar
 set CP=%TOMCAT_HOME%\lib\jaxp.jar;%TOMCAT_HOME%\lib\parser.jar
 set CP=%CP%;%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib;.;ant.jar
 
 Please add to the second line CP=%CP%;%TOMCAT_HOME% etc etc.
 
 Without it, the first line gets forgotten and rewritten by the second.
 Hopefully no one else will go through the same thing ;)
 
 I'm not actually on this list, please direct any 
 responses/questions to
 me directly.
 
 Charlie
 
 
 
 
 -
 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: Problem with Tomcat - IIS configuration

2001-02-15 Thread Ignacio J. Ortega

Have completely restarted IIS? i mean you need to completely restart the
entire IIS, to achieve that restart the IIS Admin service ( this takes
down http service too) and later start HTTP Service...the config files
are only read at REAL start of IIS ...

Hope that helps.

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Rahul Desai [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 15 de febrero de 2001 6:05
 Para: Tomcat User at Jakarta(Apache)
 Asunto: Problem with Tomcat - IIS configuration
 
 
 Hi all,
 
 I have configured Tomcat to work with IIS and it it is working.
 
 But I am facing this problem
 
 I have created a context known as "rsrcadmn" in the Tomcat.
 I have added this line in uriworkermap.properties :
 
 /rsrcadmn/*=ajp12
 
 and I have removed the entry
 
 /examples/*=ajp12
 
 But when I invoke http://localhost/rsrcadmn/servlet/MasterServlet 
 I am getting a 404.
 
 But when I invoke http://localhost/examples/servlet/MasterServlet 
 I am getting the response.
 
 I am not able to understand why is the response is coming even if 
 I have removed the examples entry in the uriworkermap.properties and 
 why I am getting a 404 for the rsrcadmn request.
 
 
 Please help
 
 TIA
 
 Rahul Desai
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.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: Apache In Process Tomcat

2001-02-15 Thread Ignacio J. Ortega

Apache 1.3.X has multiprocess  architecture not a multithreaded
architecture has no sense to try to use Apache 1.3.X as in process
container.

Apamche 2.0 ( currently in beta ) could be used but is already in beta,
there is a mod_jk por apache 2.0 but nothing on the inprocess side,
AFAIK.

FYI Tomcat inprocess in IIS works very well..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Sean McCauliff [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 15 de febrero de 2001 6:15
 Para: '[EMAIL PROTECTED]'
 Asunto: Apache In Process Tomcat
 
 
 Is it possible to run Tomcat In Process with Apache?  There 
 seems to be some
 docuementation for this for iPlanet and IIS, but nothing for Apache.
 
 Thanks,
 -Sean
 
 -
 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: Problem with Tomcat - IIS configuration

2001-02-15 Thread Rahul Desai

Thanks Ignacio
That worked after the complete restart of IIS!!


Thanks a bunch


- Original Message - 
From: Ignacio J. Ortega [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:29 PM
Subject: RE: Problem with Tomcat - IIS configuration


 Have completely restarted IIS? i mean you need to completely restart the
 entire IIS, to achieve that restart the IIS Admin service ( this takes
 down http service too) and later start HTTP Service...the config files
 are only read at REAL start of IIS ...
 
 Hope that helps.
 
 Saludos ,
 Ignacio J. Ortega
 
 
  -Mensaje original-
  De: Rahul Desai [mailto:[EMAIL PROTECTED]]
  Enviado el: jueves 15 de febrero de 2001 6:05
  Para: Tomcat User at Jakarta(Apache)
  Asunto: Problem with Tomcat - IIS configuration
  
  
  Hi all,
  
  I have configured Tomcat to work with IIS and it it is working.
  
  But I am facing this problem
  
  I have created a context known as "rsrcadmn" in the Tomcat.
  I have added this line in uriworkermap.properties :
  
  /rsrcadmn/*=ajp12
  
  and I have removed the entry
  
  /examples/*=ajp12
  
  But when I invoke http://localhost/rsrcadmn/servlet/MasterServlet 
  I am getting a 404.
  
  But when I invoke http://localhost/examples/servlet/MasterServlet 
  I am getting the response.
  
  I am not able to understand why is the response is coming even if 
  I have removed the examples entry in the uriworkermap.properties and 
  why I am getting a 404 for the rsrcadmn request.
  
  
  Please help
  
  TIA
  
  Rahul Desai
  
  
  
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.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]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




session creation?

2001-02-15 Thread venkatesan

Hi All,
  I am creating web applications using servlets. can anybody tell
that simple session creation for a particular user and invalidate after
a specific time.

Thanks

cheers
venkatesh


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




Re: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz

Emil Genov wrote:

 Hey 10x

 I think everything is OK. Once again 10x very much I appreciate your help

 best regards Emil Genov


Any chance to have it work on TomCat3.2?

--mike


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




Re: one session per user?

2001-02-15 Thread fumitada

Hi there,

First, Do u know how to code Java ? (No offence)
I give u some tips...
HttpSession session = req.getSession(false);
Toto toto = session.getAttribute("toto");
 U didn't cast up there.
 // should be Toto toto = (Toto) session.getAttribute("toto");
if (toto.getName() == "mike")
 == is for C language if you wanna know whether both letters are
same.

 // should be toto.getName().equals("mike");
toto.setInfotoDisplay("Hi mike, waza?");
else if (toto.getName() == "alain")
 Here too. 
toto.setInfotoDisplay("Tcho alain, ca boom?");
...
session.setAttribute("toto", toto);

Maybe your problem is not session, but your coding.
Probably you gotta learn syntax first...(No offence)

Fumitada

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




Antwort: session creation?

2001-02-15 Thread ralf.bode



Hi,
to create a user-session you may try the following code in the doGet
(...)/doPost (...) - handling-Methods :


HttpSession oSession = roRequest.getSession (false);  // try to get an
exisiting session

if (oSession != null)
{
// OK, anyone is been connected for the n-th time


// continue 
performTask ()
}
else
{
// - user tries to connect the first time, no cookie on the client
- no session
// - sessiontimeout, all userdata are lost
// this behaviour occurs too if you use an clustered webserver since
 all sessiondata residents only on one machine (!!!)
// you can't determine, why the session is invalid
oSession = roRequest.getSession (true);  // get a new session
without any attributes in

// perhaps an errormessage or a login-handling or both
}   :


All user-sessions will be invalidated by tomcat automatically. The timeout is
defined in the WEB.XML in your %TOMCAT_HOME%/conf - Directory. Out-of-the-box
this parameter is initialized with 30. This means, after approximately 30
Minutes the user-session will be invalidated. The next HTTP-Request will run
into the ELSE-case described above. Try any other values   :-)








venkatesan [EMAIL PROTECTED] am 15.02.2001 12:10:14

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie: (Blindkopie: Ralf Bode/13/LBSH/DE)

Thema:session creation?




Hi All,
  I am creating web applications using servlets. can anybody tell
that simple session creation for a particular user and invalidate after
a specific time.

Thanks

cheers
venkatesh


-
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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

Sure it is working fine on mine 3.2.1 tomcat 
it is even easier to config 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of mike niemaz
Sent: Thu, February 15, 2001 1:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Monitor memory and CPU usage of servlets from inside of
Tomcat


Emil Genov wrote:

 Hey 10x

 I think everything is OK. Once again 10x very much I appreciate your help

 best regards Emil Genov


Any chance to have it work on TomCat3.2?

--mike


-
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: one session per user?

2001-02-15 Thread mike niemaz

fumitada wrote:

 Hi there,

 First, Do u know how to code Java ? (No offence)
 I give u some tips...

;-) been coding java for ages ...
Although you're right my examples are full
of mistakes but I wrote it quick  the main
goal was to give the idea of the process.

--mike

nb: '==' is quicker to write than equals ;-)


 HttpSession session = req.getSession(false);
 Toto toto = session.getAttribute("toto");
  U didn't cast up there.
  // should be Toto toto = (Toto) session.getAttribute("toto");
 if (toto.getName() == "mike")
  == is for C language if you wanna know whether both letters are
 same.

  // should be toto.getName().equals("mike");
 toto.setInfotoDisplay("Hi mike, waza?");
 else if (toto.getName() == "alain")
  Here too.
 toto.setInfotoDisplay("Tcho alain, ca boom?");
 ...
 session.setAttribute("toto", toto);

 Maybe your problem is not session, but your coding.
 Probably you gotta learn syntax first...(No offence)

 Fumitada

 -
 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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread Emil Genov

Easier to cinfig - what U mean :



well,


- Original Message -
From: "shlomi sarfati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 1:04 PM
Subject: RE: Monitor memory and CPU usage of servlets from inside of Tomcat


 Sure it is working fine on mine 3.2.1 tomcat
 it is even easier to config

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of mike niemaz
 Sent: Thu, February 15, 2001 1:22 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Monitor memory and CPU usage of servlets from inside of
 Tomcat


 Emil Genov wrote:

  Hey 10x
 
  I think everything is OK. Once again 10x very much I appreciate your
help
 
  best regards Emil Genov
 

 Any chance to have it work on TomCat3.2?

 --mike


 -
 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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz

shlomi sarfati wrote:

 Sure it is working fine on mine 3.2.1 tomcat
 it is even easier to config

Thanx.
I'll immediatly try it ;-)


I've downloaded this file
http://rue.nolimits.ro/downloads/rue-tomcat-0.52.tgz.
Is it also working with 3.2.1 tomcat?
In the readme file, it says:
  a). In order to make this sensors available to RUE you have to
 copy the rue-tomcat-x.x.jar file to the RUE lib directory. It is
 not necessarily to include the jar in the RUE classpath, as all
 the jar files from the RUE directory will be automatically added.

 b). Also copy the rue-x.x.jar, jndi.jar,
 rmiregistry.jar,capsapi.jar and providerutil.jar  (from RUE) and
 the rue-tomcat-x.x.jar file in the Tomcat lib directory. You have
 to make this two packages available to Tomcat so you either add
 this packages to your CLASSPATH variable or you can modify the
 tomcat.sh or tomcat.bat file and add them manually to the Tomcat
 classpath.

I understand b) but I'm not quiet sure for a): I suppose rue-tomcat-x.x.jar
is delivered with rue-tomcat-0.52.tgz. so why should (re)copy it in its lib
dir? Unless the RUE directory must be created somewhere nearby the lib
dir of tomcat?

Thanx,

--mike


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




RE: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

you don't have to put all RUE jar files (the sensors jar files) in the
classpath manually
tomcat do it because they are in the tomcat_home\lib directory
i think that the only thing you
should add the lib\capsapi_classes.zip to your classpath
just follow the installation instructions !

good luck





-Original Message-
From: Emil Genov [mailto:[EMAIL PROTECTED]]
Sent: Thu, February 15, 2001 3:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Monitor memory and CPU usage of servlets from inside of
Tomcat


Easier to cinfig - what U mean :



well,


- Original Message -
From: "shlomi sarfati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 1:04 PM
Subject: RE: Monitor memory and CPU usage of servlets from inside of Tomcat


 Sure it is working fine on mine 3.2.1 tomcat
 it is even easier to config

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of mike niemaz
 Sent: Thu, February 15, 2001 1:22 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Monitor memory and CPU usage of servlets from inside of
 Tomcat


 Emil Genov wrote:

  Hey 10x
 
  I think everything is OK. Once again 10x very much I appreciate your
help
 
  best regards Emil Genov
 

 Any chance to have it work on TomCat3.2?

 --mike


 -
 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]




Regarding support for tomcat server....................

2001-02-15 Thread Ravindra



Hello Sir,
 I am Ravindra using tomcat 3.2.1 
server in standalone mode
for learning jsp .
but problem is every time when i request for jsp 
page server
is creating .java file  compiled it into class 
file .
But this should not happened ,java file class 
file should 
generate first time after change in jsp file 
.
so i am facing problems for follwing counter.jsp 
example.
when same jsp i am running through javawebserver2.0 
it
is working fine because java  class file is 
created after
change in jsp only.not like previous 
case.

Bellow i am giving code so please help me to solve 
the 
problem

-


%@ page language="java" contentType="text/html" 
%html head 
titleA page with a counter/title 
/head body bgcolor="white" 
%!  int globalCounter = 0; 
 % This page has been 
visited: %= ++globalCounter % times. 
p %  int 
localCounter = 0; % This counter 
never increases its value: %= ++localCounter % 
/body/html

-

Thank you very much

Regards

 Ravindra



JSP and standard Java Beans

2001-02-15 Thread Paul Hunnisett

IS there anyway to run just JSP/Servlets and standard Java Beans without
having to jar/war the files?  It seems like such a hassle to do that just to
run a few servlets with a couple of basic beans.  Where would the beans be
installed?  Where would I put my JSPS?

Paul Hunnisett


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




Request Interceptors -- Need Some Help

2001-02-15 Thread Creighton Kirkendall

I am working implementing a database driven access control interceptor.
This is similar to JDBCRealm however it stores the information about
security constrains in the database so they are dynamic.  I was wondering if
I implement this, how can I have JDBCRealm work for some of my applications
and my new Interceptor work for others.  It would be the same thing as using
two different JDBCRealms pointing to two different databases for two
different application on the same tomcat server. Any help would be
appreciated. 

Creighton Kirkendall

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




Re: Antwort: session creation?

2001-02-15 Thread venkatesan

Hi Antwort ,
 Thanx a lot for ur help.. Now i am able to create new session and if i not
perform any operations in that page on the specified time. that page is not comming
and if i click refresh button new page is comming... Well  But my
problem is while i entering into my web page the first screen is blank in the same
way while the page is expired after the particular time if i click any link that
page also blank... can u give me some tips so that while i am entering my
web-page it should not come blank and it the same way after the page expired, some
message should come...

Thanx in advance

cheers
venkatesh



[EMAIL PROTECTED] wrote:

 Hi,
 to create a user-session you may try the following code in the doGet
 (...)/doPost (...) - handling-Methods :

 HttpSession oSession = roRequest.getSession (false);  // try to get an
 exisiting session

 if (oSession != null)
 {
 // OK, anyone is been connected for the n-th time

 // continue 
 performTask ()
 }
 else
 {
 // - user tries to connect the first time, no cookie on the client
 - no session
 // - sessiontimeout, all userdata are lost
 // this behaviour occurs too if you use an clustered webserver since
  all sessiondata residents only on one machine (!!!)
 // you can't determine, why the session is invalid
 oSession = roRequest.getSession (true);  // get a new session
 without any attributes in

 // perhaps an errormessage or a login-handling or both
 }   :

 All user-sessions will be invalidated by tomcat automatically. The timeout is
 defined in the WEB.XML in your %TOMCAT_HOME%/conf - Directory. Out-of-the-box
 this parameter is initialized with 30. This means, after approximately 30
 Minutes the user-session will be invalidated. The next HTTP-Request will run
 into the ELSE-case described above. Try any other values   :-)

 venkatesan [EMAIL PROTECTED] am 15.02.2001 12:10:14

 Bitte antworten an [EMAIL PROTECTED]

 An:   [EMAIL PROTECTED]
 Kopie: (Blindkopie: Ralf Bode/13/LBSH/DE)

 Thema:session creation?

 Hi All,
   I am creating web applications using servlets. can anybody tell
 that simple session creation for a particular user and invalidate after
 a specific time.

 Thanks

 cheers
 venkatesh

 -
 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[2]: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread hische




Hi,

I would like to try RUE on Tomcat 4. Would that be possible?

Wilko





"shlomi sarfati" [EMAIL PROTECTED] on 15-02-2001 13:04:57

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Wilko Hische/HADV/NL)
Subject:  RE: Monitor memory and CPU usage of servlets from inside of Tomcat



Sure it is working fine on mine 3.2.1 tomcat
it is even easier to config

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of mike niemaz
Sent: Thu, February 15, 2001 1:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Monitor memory and CPU usage of servlets from inside of
Tomcat


Emil Genov wrote:

 Hey 10x

 I think everything is OK. Once again 10x very much I appreciate your help

 best regards Emil Genov


Any chance to have it work on TomCat3.2?

--mike


-
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: Re[2]: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

I don't know
I haven't tried it
one problem may be with the xml parsers
since one using jaxp and the other xerecs but I think you can overcome this
problem too
again I haven't tried it , I don't know !
but I will be glad to hear from you if it does !




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thu, February 15, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: Re[2]: Monitor memory and CPU usage of servlets from inside of
Tomcat





Hi,

I would like to try RUE on Tomcat 4. Would that be possible?

Wilko





"shlomi sarfati" [EMAIL PROTECTED] on 15-02-2001 13:04:57

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Wilko Hische/HADV/NL)
Subject:  RE: Monitor memory and CPU usage of servlets from inside of Tomcat



Sure it is working fine on mine 3.2.1 tomcat
it is even easier to config

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of mike niemaz
Sent: Thu, February 15, 2001 1:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Monitor memory and CPU usage of servlets from inside of
Tomcat


Emil Genov wrote:

 Hey 10x

 I think everything is OK. Once again 10x very much I appreciate your help

 best regards Emil Genov


Any chance to have it work on TomCat3.2?

--mike


-
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: Caching with Tomcat 3.2

2001-02-15 Thread Brett M. Bergquist



What I do touch the JSP page by bringing it up an 
and editor and changing something (adding a space and removing it) so that it 
appears modified. Then Jasper will see that it needs to recompile the JSP 
page creating a new servlet with a new class loaded and then the classes that 
the JSP pages uses will be loaded by this new class loader.

Seems to work for me.

  - Original Message - 
  From: 
  Ryan 
  
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, February 14, 2001 5:43 
  PM
  Subject: Caching with Tomcat 3.2
  
  With my current setup I will change classes and 
  recompile them and then hit reload in the web browser to reload the jsp page 
  that uses a certain class but the older version seems to be stuck in 
  cache.
  
  Is this a bug? I just thinking about turning it 
  off altogether.
  
  Does anyone know how to disable caching in tomcat 
  3.21?
  
  
  -thanx
   
Ryan


Re: configuring web.xml

2001-02-15 Thread Ludovic Maitre

Hello,


Alex Fernndez wrote:
 
 Don't forget that you must change the web.xml file inside your WEB-INF
 directory, the one in /conf is just for shows.
 
 Alex.
 

I think that i haven't good understand how work tomcat because i was
thinking that the web.xml 
file provided in the /conf directory was for declaring the servlets
loaded at startup (Jasper), the mime type and the mappings used by the
whole application tomcat.

Are you sure that the /conf/web.xml file isn't used by tomcat ?

By the way in tomcat 3.1 i would be able to declare the cocoon servlet
and is mapping (.xml - cocoon) in the web web.xml file and with tomcat
3.2 it seems not to work. Has somebody notice the same problem ? And it
is possible to specify the location and the name of this file ('cause i
want to locate web.xml near my apache configuration) ?

Here are the lines i have added to /conf/web.xml (and this don't work on
3.2 but work on 3.1) :

!-- Cocoon : xml,xsl... --
servlet
servlet-name
cocoon
/servlet-name
servlet-class
org.apache.cocoon.Cocoon
/servlet-class
init-param
param-nameproperties/param-name
param-valuecocoon.properties/param-value
/init-param
load-on-startup
-2147483646
/load-on-startup
/servlet

servlet-mapping
servlet-name
cocoon
/servlet-name
url-pattern
*.xml
/url-pattern
/servlet-mapping

welcome-file-list
...
welcome-file
index.xml
/welcome-file
...
/welcome-file-list

-- 
 [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]




tomcat with jboss

2001-02-15 Thread Lull, Joe

Is anyone running jboss with embedded tomcat as a service on nt?  Is this
possible?  How is it done?

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




Re: configuring web.xml

2001-02-15 Thread Alex Fernández

Hi Ludovic! I think you've answered yourself, but let's get ahead with it:

Ludovic Maitre wrote:

 I think that i haven't good understand how work tomcat because i was
 thinking that the web.xml
 file provided in the /conf directory was for declaring the servlets
 loaded at startup (Jasper), the mime type and the mappings used by the
 whole application tomcat.

Nope, there's no longer a "whole application", there are just several
contexts.

 Are you sure that the /conf/web.xml file isn't used by tomcat ?

Yes.

 By the way in tomcat 3.1 i would be able to declare the cocoon servlet
 and is mapping (.xml - cocoon) in the web web.xml file and with tomcat
 3.2 it seems not to work. Has somebody notice the same problem ? And it
 is possible to specify the location and the name of this file ('cause i
 want to locate web.xml near my apache configuration) ?

Yes, the problem is that conf/web-xml does not work any longer. Use the one
inside WEB-INF.

 Here are the lines i have added to /conf/web.xml (and this don't work on
 3.2 but work on 3.1) :

Sure, add the same lines to WEB-INF/web.xml and it will work OK on 3.2.1.

Saludos,

Alex.



 !-- Cocoon : xml,xsl... --
 servlet
 servlet-name
 cocoon
 /servlet-name
 servlet-class
 org.apache.cocoon.Cocoon
 /servlet-class
 init-param
 param-nameproperties/param-name
 param-valuecocoon.properties/param-value
 /init-param
 load-on-startup
 -2147483646
 /load-on-startup
 /servlet

 servlet-mapping
 servlet-name
 cocoon
 /servlet-name
 url-pattern
 *.xml
 /url-pattern
 /servlet-mapping

 welcome-file-list
 ...
 welcome-file
 index.xml
 /welcome-file
 ...
 /welcome-file-list

 --
  [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]


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




RE: configuring web.xml

2001-02-15 Thread Michael Wentzel

 Here are the lines i have added to /conf/web.xml (and this 
 don't work on
 3.2 but work on 3.1) :
 
 !-- Cocoon : xml,xsl... --
 servlet
 servlet-name
 cocoon
 /servlet-name
 servlet-class
   org.apache.cocoon.Cocoon
 /servlet-class
   init-param
   param-nameproperties/param-name
 param-valuecocoon.properties/param-value
   /init-param
   load-on-startup
 -2147483646
   /load-on-startup
 /servlet
 
 servlet-mapping
 servlet-name
 cocoon
 /servlet-name
 url-pattern
 *.xml
 /url-pattern
 /servlet-mapping
 
 welcome-file-list
 ...
   welcome-file
 index.xml
 /welcome-file
 ...
 /welcome-file-list


Move the servlets tags in your /conf/web.xml file to
webapps/whatever/WEB-INF/web.xml
where whatever is the name of your webapp.  3.2 stopped getting this info
from the conf
xml.

---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

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




Re: Regarding support for tomcat server....................

2001-02-15 Thread Attilio Campedel



Have you tried to disable browser 
cache?

Attilio

  - Original Message - 
  From: 
  Ravindra 
  To: [EMAIL PROTECTED] 
  Cc: [EMAIL PROTECTED] 
  Sent: Thursday, February 15, 1996 10:17 
  AM
  Subject: Regarding support for tomcat 
  server
  
  Hello Sir,
   I am Ravindra using tomcat 3.2.1 
  server in standalone mode
  for learning jsp .
  but problem is every time when i request for jsp 
  page server
  is creating .java file  compiled it into 
  class file .
  But this should not happened ,java file 
  class file should 
  generate first time after change in jsp file 
  .
  so i am facing problems for follwing counter.jsp 
  example.
  when same jsp i am running through 
  javawebserver2.0 it
  is working fine because java  class file is 
  created after
  change in jsp only.not like previous 
  case.
  
  Bellow i am giving code so please help me to 
  solve the 
  problem
  
  -
  
  
  %@ page language="java" 
  contentType="text/html" %html 
  head titleA page with a 
  counter/title /head body 
  bgcolor="white" %! 
   int globalCounter = 0; 
   % This page has been 
  visited: %= ++globalCounter % times. 
  p %  int 
  localCounter = 0; % This 
  counter never increases its value: %= ++localCounter % 
  /body/html
  
  -
  
  Thank you very much
  
  Regards
  
   Ravindra
  


RE: configuring web.xml

2001-02-15 Thread Cato, Christopher

As far as I know, the web.xml file is application specific, i.e. putting
those lines in your $TOMCAT_HOME/webapps/application name/WEB-INF/web.xml
file should do the trick.

Personally, I use a perl script to generate the web.xml file from my source
directory and then use ANT to compile and deploy the application. I put all
the tweaks inside my perlscript so it adds it to web.xml. If you want it,
i'll send you a copy.

You should definitely take a look at the documentation for developing
applications for TomCat - see URL below. 

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html

Regards,
Christopher Cato


 -Original Message-
 From: Ludovic Maitre [mailto:[EMAIL PROTECTED]]
 Sent: den 15 februari 2001 14:39
 To: [EMAIL PROTECTED]
 Subject: Re: configuring web.xml
 
 
 Hello,
 
 
 Alex Fernndez wrote:
  
  Don't forget that you must change the web.xml file inside 
 your WEB-INF
  directory, the one in /conf is just for shows.
  
  Alex.
  
 
 I think that i haven't good understand how work tomcat because i was
 thinking that the web.xml 
 file provided in the /conf directory was for declaring the servlets
 loaded at startup (Jasper), the mime type and the mappings used by the
 whole application tomcat.
 
 Are you sure that the /conf/web.xml file isn't used by tomcat ?
 
 By the way in tomcat 3.1 i would be able to declare the cocoon servlet
 and is mapping (.xml - cocoon) in the web web.xml file and 
 with tomcat
 3.2 it seems not to work. Has somebody notice the same 
 problem ? And it
 is possible to specify the location and the name of this file 
 ('cause i
 want to locate web.xml near my apache configuration) ?
 
 Here are the lines i have added to /conf/web.xml (and this 
 don't work on
 3.2 but work on 3.1) :
 
 !-- Cocoon : xml,xsl... --
 servlet
 servlet-name
 cocoon
 /servlet-name
 servlet-class
   org.apache.cocoon.Cocoon
 /servlet-class
   init-param
   param-nameproperties/param-name
 param-valuecocoon.properties/param-value
   /init-param
   load-on-startup
 -2147483646
   /load-on-startup
 /servlet
 
 servlet-mapping
 servlet-name
 cocoon
 /servlet-name
 url-pattern
 *.xml
 /url-pattern
 /servlet-mapping
 
 welcome-file-list
 ...
   welcome-file
 index.xml
 /welcome-file
 ...
 /welcome-file-list
 
 -- 
  [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]
 

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




Re: Help - stuck with mod_jk

2001-02-15 Thread Rick Roberts

My guess;  without seeing any of your configuration, is that you have not 
made the appropriate changes to your server.xml file.
i.e.
Context path="/myApps/"
 docBase="/home/httpd/html/myApps" 
 crossContext="true"
 debug="0" 
 reloadable="true" 
 trusted="false"  
/Context

And / Or you have not made the appropriate changes to your httpd.conf file
i.e.
#
# Configuration for the /myApps context starts.
#
#
# The following line makes apache aware of the location of the /ai context
#
Alias /apps/helpdesk "/home/httpd/html/myApps"
Directory "/home/httpd/html/myApps"
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /myApps/servlet/* ajp13
JkMount /myApps/*.jsp ajp13


#
# The following line prohibits users from directly accessing WEB-INF
#
Location "/myApps/WEB-INF/"
AllowOverride None
deny from all
/Location

#
# The following line prohibits users from directly accessing META-INF
#
Location "/myApps/META-INF/"
AllowOverride None
deny from all
/Location

###
# Configuration for the /myApps context ends.
###



On Thu, 15 Feb 2001, you wrote:
 I am new to the list, and I am sorry for posting the same question twice,
 but I am still stuck with Apache and Tomcat (using mod_jk).
 I used the instructions in mod_jk.howto. I read both manual and
 Tomcat-Apache HOWTO, but all the stuff related to mod_jk is in the howto
 mentioned above.
 Tomcat is up and running as standalone; Apache is up and running.
 Configuration for mod_jk is used,mod_jk is loaded and working as I can see
 from the log file, mod_jk tries to find workers in workers.properties, but
 each request for virtual directories reserved to Tomcat never comes to the
 tomcat engine, as there is no communication on port 8009.
 Any hint would be helpful. Excuse me again and TIA.
 Eugenio Ascoli-Bartoli


 -
 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: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread mike niemaz

Hi,
I'm almost done with RUE but the RMI part
is not clear at all.
Is it RUE which needs a RMI server or is it
for tomcat ('d be weird...).
Id it for RUE, why the 2 command lines (rmiregistry  java ...)
are not added in the start scripts?
Do we need to specify a port?
What remote interface class should we be running?

I must admit i'm a bit confused ;-(

Help please ;-)

--mike


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




RE: Caching with Tomcat 3.2

2001-02-15 Thread Wong, Connie

Hi Daming,

Do you know if there is any database comparison matrix web site?

These two web sites provide me a lot of information that I need.

Thanks,
Connie

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 2:06 AM
 To:   [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject:  Re: Caching with Tomcat 3.2
 
 Hi, Rick
 
 check these two web sites.
 http://www.flashline.com/Components/appservermatrix.jsp
 http://www.mgm-edv.de/ejbsig/ejbservers_tabled.html
 
 you can try JBoss, It is free EJB server. There are several free
 Application servers on this site.
 
 Daming
 
 
 - Original Message -
 From: "Rick Roberts" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, February 14, 2001 11:24 PM
 Subject: Re: Caching with Tomcat 3.2
 
 
 
  Interesting!
  I've never used WebSphere but am interesting in hearing from someone who
 has.
   How would you rate it compared to Tomcat?  Can you integrate it with
 Apache?
   Is it fast?  Is there much of a learning curve if you are already
 familiar
  with Tomcat or Netscape?  Is EJB a big reason to buy WebSphere?  Also,
 do
 you
  know how much IBM charges for it?
 
  Just pondering,
 
  Rick
 
 
  On Thu, 15 Feb 2001, you wrote:
   It must be possible to detect a change, as in IBM WebSphere App Server
 -
 if
   you change any classes it dilegently goes through and drops any
 instance
 of
   any class (objects) that was related to the changed class - ie. it
 drops
   servlets that contain the changed class as a member, or if it is in a
   session variable it drops all the servlets.
  
   Scott
  
 
  -
  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: Regarding support for tomcat server....................

2001-02-15 Thread Rick Roberts

I don't know what's going on with your compile question, but your code is 
wrong.  It should look like this:

Take a close look at the ! (bang).

    %!
      int globalCounter = 0;
    %

     This page has been visited: %= ++globalCounter % times.

     p
     %!
       int localCounter = 0;
     %
     NOW!  This counter increases its value: %= ++localCounter %

If you set a local variable to 0 everytime you run the code then it's always 
going to be 0.  So it's never going to increment.  Give localCounter class 
scope, just like you gave globalCounter class scope and it will increment.

Rick




On Thu, 15 Feb 2001, you wrote:

  Have you tried to disable browser cache?

 Attilio
   - Original Message -
   From: Ravindra
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, February 15, 1996 10:17 AM
   Subject: Regarding support for tomcat server


   Hello Sir,
  I am Ravindra using tomcat 3.2.1 server in standalone mode
   for learning jsp .
   but problem is every time when i request for jsp page server
   is creating .java file  compiled it into class file .
   But this should not happened ,java file class file should
   generate first time after change in jsp file .
   so i am facing problems for follwing counter.jsp example.
   when same jsp i am running through javawebserver2.0 it
   is working fine because java  class file is created after
   change in jsp only.not like previous case.

   Bellow i am giving code so please help me to solve the
   problem

  
 ---
--


   %@ page language="java" contentType="text/html" %
   html
 head
   titleA page with a counter/title
 /head
 body bgcolor="white"
   %!
 int globalCounter = 0;
   %

   This page has been visited: %= ++globalCounter % times.

   p
   %
 int localCounter = 0;
   %
   This counter never increases its value: %= ++localCounter %

 /body
   /html

  
 ---
--

   Thank you very much

   Regards

  Ravindra


Content-Type: text/html; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 


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




RE: Monitor memory and CPU usage of servlets from inside of Tomcat

2001-02-15 Thread shlomi sarfati

Hi their
first i just want to tell that i am not THE expert on this RUE
i just installed it yesterday so dont take my words as 100 % true i am a
begginer !


 Hi,
I'm almost done with RUE but the RMI part
is not clear at all.
Is it RUE which needs a RMI server or is it

No the rmiregistry and the tomcat should run on the same machine tomcat

for tomcat ('d be weird...).
Id it for RUE, why the 2 command lines (rmiregistry  java ...)
are not added in the start scripts?

it is not for RUE

Do we need to specify a port?

i guess that you refer to the rue.xml , well i am using the isapi_redirect
dll so every request
goes to the tomcat BUT you can set the host name of the machine (in the
RUE.xml file in your rue directory)
running the rmiregistry like: rmi://foo.mydomain.com or if it doesn't have a
domain simply a IP address rmi://194.102.233.6

What remote interface class should we be running?

I must admit i'm a bit confused ;-(

Help please ;-)

--mike

i am sorry if i cant answer all the question but i would love to help with
those ones that i can
regards shlomi

-
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: Regarding support for tomcat server....................

2001-02-15 Thread CPC Livelink Admin


I think his point was that neither one was showing any value other than 1,
because the JSP was always recompiled, and then reloaded. Thus the class
variable was being reset to 0 as the class was reladed.

-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:16 AM
To: [EMAIL PROTECTED]
Subject: Re: Regarding support for tomcat server


I don't know what's going on with your compile question, but your code is
wrong.  It should look like this:

Take a close look at the ! (bang).

  %!
   int globalCounter = 0;
  %

  This page has been visited: %= ++globalCounter % times.

  p
  %!
   int localCounter = 0;
  %
  NOW! This counter increases its value: %= ++localCounter %

If you set a local variable to 0 everytime you run the code then it's always
going to be 0.  So it's never going to increment.  Give localCounter class
scope, just like you gave globalCounter class scope and it will increment.

Rick




On Thu, 15 Feb 2001, you wrote:

  Have you tried to disable browser cache?

 Attilio
   - Original Message -
   From: Ravindra
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, February 15, 1996 10:17 AM
   Subject: Regarding support for tomcat server


   Hello Sir,
  I am Ravindra using tomcat 3.2.1 server in standalone mode
   for learning jsp .
   but problem is every time when i request for jsp page server
   is creating .java file  compiled it into class file .
   But this should not happened ,java file class file should
   generate first time after change in jsp file .
   so i am facing problems for follwing counter.jsp example.
   when same jsp i am running through javawebserver2.0 it
   is working fine because java  class file is created after
   change in jsp only.not like previous case.

   Bellow i am giving code so please help me to solve the
   problem


 --
-
--


   %@ page language="java" contentType="text/html" %
   html
 head
   titleA page with a counter/title
 /head
 body bgcolor="white"
   %!
 int globalCounter = 0;
   %

   This page has been visited: %= ++globalCounter % times.

   p
   %
 int localCounter = 0;
   %
   This counter never increases its value: %= ++localCounter %

 /body
   /html


 --
-
--

   Thank you very much

   Regards

  Ravindra


Content-Type: text/html; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description:


-
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: JSP and standard Java Beans

2001-02-15 Thread Paul Hunnisett


Does anyone have any ideas?  Is this possible?
-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 12:37
To: [EMAIL PROTECTED]
Subject: JSP and standard Java Beans


IS there anyway to run just JSP/Servlets and standard Java Beans without
having to jar/war the files?  It seems like such a hassle to do that just to
run a few servlets with a couple of basic beans.  Where would the beans be
installed?  Where would I put my JSPS?

Paul Hunnisett


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




RE: Apache In Process Tomcat

2001-02-15 Thread Tiseo, Paul

From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 6:06 AM

 FYI Tomcat inprocess in IIS works very well..

If so, why does the how-to seem to say that this is a bad idea. I am
a newbie learning about J2EE, servlets et al and unfortunately, I wish the
author of that how-to had expanded on the stability issue a bit more. But, I
guess it is a how-to, not a why-to... :)


Paul Tiseo, Intermediate Systems Programmer
Birdsall 122, Mayo Clinic Jacksonville
4500 San Pablo Rd, FL, 32224
[EMAIL PROTECTED] -- (904) 953-8254 / 953-7134 (fax) 

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




RE: JSP and standard Java Beans

2001-02-15 Thread Morahg, Yoav

I'm not a Tomcat guru -- so someone please correct me if I'm wrong, but you
should be able to put your beans in the WEB-INF/classes directory. JSPs can
go under your webapp, but not in the WEB-INF directory as this directory is
forbidden for client access.

Hope this helps.

-Yoav

-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 9:23 AM
To: [EMAIL PROTECTED]
Subject: FW: JSP and standard Java Beans



Does anyone have any ideas?  Is this possible?
-Original Message-
From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 12:37
To: [EMAIL PROTECTED]
Subject: JSP and standard Java Beans


IS there anyway to run just JSP/Servlets and standard Java Beans without
having to jar/war the files?  It seems like such a hassle to do that just to
run a few servlets with a couple of basic beans.  Where would the beans be
installed?  Where would I put my JSPS?

Paul Hunnisett


-
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: FW: JSP and standard Java Beans

2001-02-15 Thread Charles Sabourdin

jsp are in the root of your web apps, and class goes
in 
TOMCAT_HOME/webapps/myweb/WEB-INF/class...
hope that help
then you can access you servlet 
http://localhost:8080/myweb/servlet/...
--- Paul Hunnisett [EMAIL PROTECTED] wrote:
 
 Does anyone have any ideas?  Is this possible?
 -Original Message-
 From: Paul Hunnisett [mailto:[EMAIL PROTECTED]]
 Sent: 15 February 2001 12:37
 To: [EMAIL PROTECTED]
 Subject: JSP and standard Java Beans
 
 
 IS there anyway to run just JSP/Servlets and
 standard Java Beans without
 having to jar/war the files?  It seems like such a
 hassle to do that just to
 run a few servlets with a couple of basic beans. 
 Where would the beans be
 installed?  Where would I put my JSPS?
 
 Paul Hunnisett
 
 

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


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




RE: JSP and standard Java Beans

2001-02-15 Thread Michael Wentzel

 Do I not still need to put all this in a .war file?  Is there 
 no way of just
 putting my JSPs in one directory and my beans in another and 
 just set them
 running?

Nope!  A perfect is example is the examples
webapp(TOMCAT_HOME/webapps/examples/).
Classes are expanded out into their packages in WEB-INF/classes and JSPs
are in the /jsp/ tree.  No need to package up anything.  WARs are simply for
easily distributing an entire app in one swoop.

---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

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




RE: Here you have, ;o)

2001-02-15 Thread John Golubenko

Hah... when there will be virus for Linux, winblowz would dead already.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 9:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Here you have, ;o)




there can be virus for Linux also... do not feel tooo happy.


He he... nothing can touch me... im on Linux :)


 Original Message 

On 2/13/01, 9:54:04 AM, "Joe Laffey" [EMAIL PROTECTED] wrote
regarding Re: Here you have, ;o):


 Hehe...

 I love it when people send worms to mailing lists. I feel sorry for all
 the Outlook users...


 Joe Laffey
 LAFFEY Computer Imaging
 St. Louis, MO
 -


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

NOTICE:  This communication may contain confidential or other privileged
information.  If you are not the intended recipient, or believe that you
have received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the information.  Also, please
indicate to the sender that you have received this email in error, and
delete the copy you received.  Any communication that does not relate to
official Columbia business is that of the sender and is neither given nor
endorsed by Columbia.  Thank you.



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


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


NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



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




R: Help - stuck with mod_jk

2001-02-15 Thread Eugenio Ascoli-Bartoli

Thank you for your help; let me send the configuration snippets:
I just did this:
   Context path="/examples"
 docBase="webapps/examples"
 crossContext="false"
 debug="0"
 reloadable="true" 
/Context

on server.xml, and
###

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#
# Auto configuration for the /examples context starts.
#

#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples "/var/tomcat/webapps/examples"
Directory "/var/tomcat/webapps/examples"
Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly accessing WEB-INF
#
Location "/examples/WEB-INF/"
AllowOverride None
deny from all
/Location

#
# The following line prohibits users from directly accessing META-INF
#
Location "/examples/META-INF/"
AllowOverride None
deny from all
/Location

###
# Auto configuration for the /examples context ends.
###


this in the mod_jk configuration file that is included from httpd.conf (and
I know that it is included, 'cos apache tells me that mod_jk is loaded).
When I try to execute .jsp pages, the external effect is the page been
displayed "as is" (not interpreted from tomcat). In the mod_jk log appear
these two lines:
[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 ajp13
 when I try to execute a servlet, the external effect is an "Error 404". In
the mod_jk log appear these two lines:
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match

Let me say again that Tomcat is working well as standalone, and tha I can
also contact it on both 8007 and 8009 ports. I first start Tomcat, the I
start Apache.
Both come up and work.
Thank you very much.


To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:01 PM
Subject: Re: Help - stuck with mod_jk


 My guess;  without seeing any of your configuration, is that you have not
 made the appropriate changes to your server.xml file.
 i.e.
 Context path="/myApps/"
  docBase="/home/httpd/html/myApps"
  crossContext="true"
  debug="0"
  reloadable="true"
  trusted="false" 
 /Context

 And / Or you have not made the appropriate changes to your httpd.conf file
 i.e.
 #
 # Configuration for the /myApps context starts.
 #
 #
 # The following line makes apache aware of the location of the /ai context
 #
 Alias /apps/helpdesk "/home/httpd/html/myApps"
 Directory "/home/httpd/html/myApps"
 Options Indexes FollowSymLinks
 /Directory

 #
 # The following line mounts all JSP files and the /servlet/ uri to tomcat
 #
 JkMount /myApps/servlet/* ajp13
 JkMount /myApps/*.jsp ajp13


 #
 # The following line prohibits users from directly accessing WEB-INF
 #
 Location "/myApps/WEB-INF/"
 AllowOverride None
 deny from all
 /Location

 #
 # The following line prohibits users from directly accessing META-INF
 #
 Location "/myApps/META-INF/"
 AllowOverride None
 deny from all
 /Location

 ###
 # Configuration for the /myApps context ends.
 ###



 On Thu, 15 Feb 2001, you wrote:
  I am new to the list, and I am sorry for posting the same question
twice,
  but I am still stuck with Apache and Tomcat (using mod_jk).
  I used the instructions in mod_jk.howto. I read both manual and
  Tomcat-Apache HOWTO, but all the stuff related to mod_jk is in the howto
  mentioned above.
  Tomcat is up and running as standalone; Apache is up and running.
  Configuration for mod_jk is used,mod_jk is loaded and working as I can
see
  from the log file, mod_jk tries to find workers in workers.properties,
but
  each request for virtual directories reserved to Tomcat never comes to
the
  tomcat engine, as there is no communication on port 8009.
  Any hint would be helpful. Excuse me again and TIA.
  Eugenio Ascoli-Bartoli
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

 

RE: Help - stuck with mod_jk

2001-02-15 Thread Mike Braden

What system are you running this on?

Is this a "first-time" setup of mod_jk?

Can you post the config for mod_jk in your apache httpd.conf and the
startup messages from Tomcat.  Log info may help as well.

Mike.
--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Eugenio Ascoli-Bartoli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 4:35 AM
To: [EMAIL PROTECTED]
Subject: Help - stuck with mod_jk


I am new to the list, and I am sorry for posting the same question twice,
but I am still stuck with Apache and Tomcat (using mod_jk).
I used the instructions in mod_jk.howto. I read both manual and
Tomcat-Apache HOWTO, but all the stuff related to mod_jk is in the howto
mentioned above.
Tomcat is up and running as standalone; Apache is up and running.
Configuration for mod_jk is used,mod_jk is loaded and working as I can see
from the log file, mod_jk tries to find workers in workers.properties, but
each request for virtual directories reserved to Tomcat never comes to the
tomcat engine, as there is no communication on port 8009.
Any hint would be helpful. Excuse me again and TIA.
Eugenio Ascoli-Bartoli


-
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: database user authentication how-to.

2001-02-15 Thread Christian Rauh

Dear People,

I am totally confused on how to proceed with the user authentication in
my web application. I will try to state my problem briefly:

I have a web application that has FORM security. I need to create a way
for users to create an account that gives them access to the web
application. Optimally, the user/password/role info should be stored in
a database.

How can this be done as closely as possible to the servlet/jsp
specification? Is there a package written for this somewhere? I found
something about JDBC real in the server.xml file, is it what I seek?

Note that I also need this to be integrated with the web engine (Apache
preferably). 

I have seen that app servers like weblogics have a user authentication
scheme exactly like the one I seek but I want a non-proprietary, low
cost solution.

Any direction would be much appreciatted since I am really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

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




RE: *** Generated Tomcat Temporary Class File Name Seem Too Long... Yes ***

2001-02-15 Thread Xavier

Thanks Samson for your answer,
I have already tried to reduce the total size of the path but without
success.
I gave up the idea of using Tomcat when debugging.
While Tomcat is our reference platform, I found another servlet2.2/jsp1.1
engine that runs perfectly with JBuilder4.
In this case, the generated file names are very short !!!
But thanks anyway,
cheers,
Xav

-Original Message-
From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 6:26 PM
To: [EMAIL PROTECTED]
Subject: RE: *** Generated Tomcat Temporary Class File Name Seem Too
Long... Yes ***


Hi Xavier

I think its the total length of your path, not just the filename component.
Perhaps you should chop out some intermediate directories.

cheers


-Original Message-
From: Xavier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: *** Generated Tomcat Temporary Class File Name Seem Too Long...
Yes ***


Hi Everybody,

Please Help Help Help...
Yes, the class file names generated by Tomcat seem to be too long to be
written on the disk.
In fact I have got this error message:

Context log: path="" Error in jsp service() : Unable to compile class for
JSPerror: Can't write:
D:\myCvs\ReefDebug22\work\localhost_8080\JSPpages\def\PBPublisherImpl\_0005f
_0005f\Publisher\includes\_0002fJSPpages_0002fdef_0002fPBPublisherImpl_0002f
_0002e_0002e_0002fPublisher_0002fincludes_0002fheader_0005fexception_0002ejs
pheader_0005fexception_jsp_0.class 1 error

Has somebody already seen this kind of behavior ?
How can I change the way Tomcat generate the file name ?
Any idea are welcome !!!

Thanks a lot.

Xavier


-
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]




setting up logs

2001-02-15 Thread Jody Brownell

Is there a way to set up a log file to report what servlets/jsps have been 
accessed. I need the following information  

- what webapp and servlet/jsp
- time of access
- from where (ip address)

Jasper.log is ok for jsp, if it reported from where but I still need to 
now about servlets.

thanks in advance

Jody Brownell
Product Development
Core Networks Inc.
P: (902) 481-5750, ext. 2132
F: (902) 481-5799
[EMAIL PROTECTED]

CoreOS - Broadband Provisioning System - http://www.CoreNetworks.com
Streamline account provisioning, support processes, IP address and DHCP
management and RF level monitoring, for both DOCSIS and proprietary systems.

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




Isapi_Redirector and 200 Errors

2001-02-15 Thread Jim Alemany

I'm having issues with the set up of Tomcat on NT (and 2000) using both IIS
and PWS. Essentially the same behaviour is manifesting, although
differently. On the 2000/PWS box, the web log is giving me a 200 error and
the debugged Isapi_log is telling me the following:

[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 656
[jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

What I get when I surf to the site I've created is an attempt by the browser
to download the file. Note, this happens when I set up a context for it
within the webapps folder and when I point it to an external folder (I deved
it using JRun which isn't so picky about where things live).

On the NT/IIS box, the green arrow appears but the browser will load the
code of the page, not parse it.

Any thoughts?

Jim Alemany
Web Program/Project Specialist
Video Networking Business Unit
Cisco Systems
V: 519.880.2256

http://www.cisco.com/go/videonetworking
[EMAIL PROTECTED]



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




Tomcat with IIS

2001-02-15 Thread Kay, Christina

Our web pages are hosted on IIS and reside on c:\Inetpub\wwwroot.  Tomcat is
installed on c:\jakarta-tomcat.  Is there any way to run jsp pages residing
on c:\Inetpub\wwwroot and have the isapi_redirect.dll send the jsp pages to
c:\jakarta-tomcat to be processed?  If this is possible, please provide me
with some guidance on how to do this. 

Thank you,

Christina 



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




RE: setting up logs

2001-02-15 Thread Collins, Jim

Can't you just log every time a servlet is accessed in the doGet/doPut
methods?

Jim.

-Original Message-
From: Jody Brownell [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 15:09
To: '[EMAIL PROTECTED]'
Subject: setting up logs


Is there a way to set up a log file to report what servlets/jsps have been 
accessed. I need the following information  

- what webapp and servlet/jsp
- time of access
- from where (ip address)

Jasper.log is ok for jsp, if it reported from where but I still need to 
now about servlets.

thanks in advance

Jody Brownell
Product Development
Core Networks Inc.
P: (902) 481-5750, ext. 2132
F: (902) 481-5799
[EMAIL PROTECTED]

CoreOS - Broadband Provisioning System - http://www.CoreNetworks.com
Streamline account provisioning, support processes, IP address and DHCP
management and RF level monitoring, for both DOCSIS and proprietary systems.

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


PLEASE READ: The information contained in this e-mail is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s).  Please check this
e-mail for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Securities and Futures Authority Limited and is a
member of the London Stock Exchange.


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




RE: setting up logs

2001-02-15 Thread Jody Brownell

I can, except I am trying to log when a third party servlet 
serves a request. I dont have the source or control over what it logs!

:(

Jody

 -Original Message-
 From: Collins, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 11:18 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: setting up logs
 
 
 Can't you just log every time a servlet is accessed in the doGet/doPut
 methods?
 
 Jim.
 
 -Original Message-
 From: Jody Brownell [mailto:[EMAIL PROTECTED]]
 Sent: 15 February 2001 15:09
 To: '[EMAIL PROTECTED]'
 Subject: setting up logs
 
 
 Is there a way to set up a log file to report what 
 servlets/jsps have been 
 accessed. I need the following information  
 
 - what webapp and servlet/jsp
 - time of access
 - from where (ip address)
 
 Jasper.log is ok for jsp, if it reported from where but I 
 still need to 
 now about servlets.
 
 thanks in advance
 
 Jody Brownell
 Product Development
 Core Networks Inc.
 P: (902) 481-5750, ext. 2132
 F: (902) 481-5799
 [EMAIL PROTECTED]
 
 CoreOS - Broadband Provisioning System - http://www.CoreNetworks.com
 Streamline account provisioning, support processes, IP 
 address and DHCP
 management and RF level monitoring, for both DOCSIS and 
 proprietary systems.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 PLEASE READ: The information contained in this e-mail is confidential
 and intended for the named recipient(s) only. If you are not 
 an intended
 recipient of this email you must not copy, distribute or take any
 further action in reliance on it and you should delete it and 
 notify the
 sender immediately. Email is not a secure method of communication and
 Nomura International plc cannot accept responsibility for the accuracy
 or completeness of this message or any attachment(s).  Please 
 check this
 e-mail for virus infection, for which Nomura International plc accepts
 no responsibility. If verification of this email is sought then please
 request a hard copy. Unless otherwise stated any views or opinions
 presented are solely those of the author and do not represent those of
 Nomura International plc. This email is intended for informational
 purposes only and is not a solicitation or offer to buy or sell
 securities or related financial instruments. Nomura 
 International plc is
 regulated by the Securities and Futures Authority Limited and is a
 member of the London Stock Exchange.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

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




RES: Tomcat Configuration

2001-02-15 Thread Pedro Henrique Ponchio

I think that the correct path is
http://localhost:8080/ROOT/jsp/num/numguess.jsp

if you want to be /jsp u need to put under the $tomcat_home/webapps/
directory ... and on server.xml file will apper something like this:

Context path="/jsp" 
 docBase="webapps/jsp" 
 crossContext="true"
 debug="0" 
 reloadable="true" 
 trusted="false"  
/Context



-Mensagem original-
De: Don Ha [mailto:[EMAIL PROTECTED]]
Enviada em: Wednesday, February 14, 2001 8:23 PM
Para: [EMAIL PROTECTED]
Assunto: Tomcat Configuration


Hi,
I copy all jsp files from
"C:\jakarta-tomcat\webapps\examples\jsp\*.*" to
"C:\jakarta-tomcat\webapps\ROOT\jsp\".  When I make a
request from browser
"http://localhost:8080/jsp/num/numguess.jsp", I got
these error messages "Page not found".  How should I
configure Tomcat to recognize JSP files?  Thanks.
Don Ha   


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.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]




How to make Tomcat as NT Service

2001-02-15 Thread Pauline Lo

Hi everyone

I have told that this is an excellent way to get some help. Basically I have
a got very simple question. I have installed Release Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat in the bin directory.
Now what I would like to know is how I could make Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used to create this NT
service, however, I have not managed to understand how I could do this.

I would appreciate if someone could help with this with a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user authentication in
my web application. I will try to state my problem briefly:

I have a web application that has FORM security. I need to create a way
for users to create an account that gives them access to the web
application. Optimally, the user/password/role info should be stored in
a database.

How can this be done as closely as possible to the servlet/jsp
specification? Is there a package written for this somewhere? I found
something about JDBC real in the server.xml file, is it what I seek?

Note that I also need this to be integrated with the web engine (Apache
preferably).

I have seen that app servers like weblogics have a user authentication
scheme exactly like the one I seek but I want a non-proprietary, low
cost solution.

Any direction would be much appreciatted since I am really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

-
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: Here you have, ;o)

2001-02-15 Thread John Golubenko

No, of course I don't ignore the viruses for Linux OS.
There is lots of exploits, etc. But they are so rare,
and nothing compare to windows 'os'.


-Original Message-
From: Tiseo, Paul [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 7:28 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Here you have, ;o)


From: John Golubenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:02 AM
 
 Hah... when there will be virus for Linux, winblowz would 
 dead already.

Ah, the typical ignorance virus writers would love to see...

http://securityportal.com/articles/ramen20010119.html

There are definitely more WinX viruses, that's no doubt, but that
doesn't mean the Linux admin should smugly rest on their laurels...

Paul Tiseo, Intermediate Systems Programmer
Birdsall 122, Mayo Clinic Jacksonville
4500 San Pablo Rd, FL, 32224
[EMAIL PROTECTED] -- (904) 953-8254 / 953-7134 (fax) 

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


NOTICE:  This communication may contain confidential or other privileged information.  
If you are not the intended recipient, or believe that you have received this 
communication in error, please do not print, copy, retransmit, disseminate, or 
otherwise use the information.  Also, please indicate to the sender that you have 
received this email in error, and delete the copy you received.  Any communication 
that does not relate to official Columbia business is that of the sender and is 
neither given nor endorsed by Columbia.  Thank you.



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




RE: How to make Tomcat as NT Service

2001-02-15 Thread Gary Lawson

My notes on how we did this:

Extract TOMCAT to c:\tools\jakarta-tomcat (say)

Extract JDK to c:\tools\jdk1.3 (say)

Environment variables:
{add to} PATH c:\tools\jdk1.3\bin
JAVA_HOME c:\tools\jdk1.3

Edit tomcat_home\conf\wrapper.properties
change TOMCAT HOME to c:\tools\jakarta-tomcat
change JAVAHOME to c:\tools\jdk1.3  [NOT c:\tools\jdk1.3\bin ]

TO INSTALL AS SERVICE:

jk_nt_service -I service_name path_to_wrapper.properties

Start service

I am not sure how this compares to the documentation of jk_nt_service but
this is what worked for us.

HTH
Gary


-Original Message-
From: Pauline Lo [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 15:25
To: [EMAIL PROTECTED]
Subject: How to make Tomcat as NT Service


Hi everyone

I have told that this is an excellent way to get some help. Basically I have
a got very simple question. I have installed Release Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat in the bin directory.
Now what I would like to know is how I could make Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used to create this NT
service, however, I have not managed to understand how I could do this.

I would appreciate if someone could help with this with a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user authentication in
my web application. I will try to state my problem briefly:

I have a web application that has FORM security. I need to create a way
for users to create an account that gives them access to the web
application. Optimally, the user/password/role info should be stored in
a database.

How can this be done as closely as possible to the servlet/jsp
specification? Is there a package written for this somewhere? I found
something about JDBC real in the server.xml file, is it what I seek?

Note that I also need this to be integrated with the web engine (Apache
preferably).

I have seen that app servers like weblogics have a user authentication
scheme exactly like the one I seek but I want a non-proprietary, low
cost solution.

Any direction would be much appreciatted since I am really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

-
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: How to make Tomcat as NT Service

2001-02-15 Thread shlomi sarfati


Sorry

have no idea on this one
but the guy that helped me alot in my instalation is Remus Pereni
[[EMAIL PROTECTED]]
he is very nice and very helpful
maby he can help !?

(tell me if he did )

-Original Message-
From: Pauline Lo [mailto:[EMAIL PROTECTED]]
Sent: Thu, February 15, 2001 5:25 PM
To: [EMAIL PROTECTED]
Subject: How to make Tomcat as NT Service


Hi everyone

I have told that this is an excellent way to get some help. Basically I have
a got very simple question. I have installed Release Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat in the bin directory.
Now what I would like to know is how I could make Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used to create this NT
service, however, I have not managed to understand how I could do this.

I would appreciate if someone could help with this with a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user authentication in
my web application. I will try to state my problem briefly:

I have a web application that has FORM security. I need to create a way
for users to create an account that gives them access to the web
application. Optimally, the user/password/role info should be stored in
a database.

How can this be done as closely as possible to the servlet/jsp
specification? Is there a package written for this somewhere? I found
something about JDBC real in the server.xml file, is it what I seek?

Note that I also need this to be integrated with the web engine (Apache
preferably).

I have seen that app servers like weblogics have a user authentication
scheme exactly like the one I seek but I want a non-proprietary, low
cost solution.

Any direction would be much appreciatted since I am really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

-
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: setting up logs

2001-02-15 Thread Collins, Jim

Could you not have a logging servlet then? that logs all requests, then
forwards the request to the appropriate servlet.

Jim.

-Original Message-
From: Jody Brownell [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 15:23
To: '[EMAIL PROTECTED]'
Subject: RE: setting up logs


I can, except I am trying to log when a third party servlet 
serves a request. I dont have the source or control over what it logs!

:(



PLEASE READ: The information contained in this e-mail is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s).  Please check this
e-mail for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Securities and Futures Authority Limited and is a
member of the London Stock Exchange.


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




Re: How to make Tomcat as NT Service

2001-02-15 Thread qazwasyx

As far as I understand there is a bug with
jk_nt_service.exe, and it's won't start tomcat after you
install. (jk_nt_service.exe installs ok, but service will not
start).

If anyone out there knows I'm wrong, please tell me!

Mike

Hi everyone

I have told that this is an excellent way to get some
help. Basically I have
a got very simple question. I have installed Release
Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat
in the bin directory.
Now what I would like to know is how I could make
Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used
to create this NT
service, however, I have not managed to understand
how I could do this.

I would appreciate if someone could help with this with
a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user
authentication in
my web application. I will try to state my problem
briefly:

I have a web application that has FORM security. I
need to create a way
for users to create an account that gives them access
to the web
application. Optimally, the user/password/role info
should be stored in
a database.

How can this be done as closely as possible to the
servlet/jsp
specification? Is there a package written for this
somewhere? I found
something about JDBC real in the server.xml file, is it
what I seek?

Note that I also need this to be integrated with the
web engine (Apache
preferably).

I have seen that app servers like weblogics have a
user authentication
scheme exactly like the one I seek but I want a non-
proprietary, low
cost solution.

Any direction would be much appreciatted since I am
really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

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




--
---
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: Isapi_Redirector and 200 Errors

2001-02-15 Thread Rodriguez Victor A.

Hi,

 What I get when I surf to the site I've created is an attempt 
 by the browser
 to download the file. Note, this happens when I set up a 
 context for it
 within the webapps folder and when I point it to an external 
 folder (I deved
 it using JRun which isn't so picky about where things live).
 
 On the NT/IIS box, the green arrow appears but the browser 
 will load the
 code of the page, not parse it.
 
 Any thoughts?

Have you said to isapi_redirector that must catch the uri you're working on
??
Basically add the next line to you
%TOMCAT_HOME%\conf\uriworkermap.parameters file:

/my_URI/*.jsp=ajp12 If your application is working on
http://localhost/my_URI/

Hope this helps.
-- 
Vctor A. Rodrguez ( http://www.bit-man.com.ar) 
Telefnica de Argentina - http://www.Telefonica.com.ar 
Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680 

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




Re: How to make Tomcat as NT Service - Working now...

2001-02-15 Thread Pauline Lo

Many thanks!! You're the god! :)

Pauline

- Original Message -
From: "Gary Lawson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 3:35 PM
Subject: RE: How to make Tomcat as NT Service


My notes on how we did this:

Extract TOMCAT to c:\tools\jakarta-tomcat (say)

Extract JDK to c:\tools\jdk1.3 (say)

Environment variables:
{add to} PATH c:\tools\jdk1.3\bin
JAVA_HOME c:\tools\jdk1.3

Edit tomcat_home\conf\wrapper.properties
change TOMCAT HOME to c:\tools\jakarta-tomcat
change JAVAHOME to c:\tools\jdk1.3 [NOT c:\tools\jdk1.3\bin ]

TO INSTALL AS SERVICE:

jk_nt_service -I service_name path_to_wrapper.properties

Start service

I am not sure how this compares to the documentation of jk_nt_service but
this is what worked for us.

HTH
Gary


-Original Message-
From: Pauline Lo [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 15:25
To: [EMAIL PROTECTED]
Subject: How to make Tomcat as NT Service


Hi everyone

I have told that this is an excellent way to get some help. Basically I have
a got very simple question. I have installed Release Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat in the bin directory.
Now what I would like to know is how I could make Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used to create this NT
service, however, I have not managed to understand how I could do this.

I would appreciate if someone could help with this with a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user authentication in
my web application. I will try to state my problem briefly:

I have a web application that has FORM security. I need to create a way
for users to create an account that gives them access to the web
application. Optimally, the user/password/role info should be stored in
a database.

How can this be done as closely as possible to the servlet/jsp
specification? Is there a package written for this somewhere? I found
something about JDBC real in the server.xml file, is it what I seek?

Note that I also need this to be integrated with the web engine (Apache
preferably).

I have seen that app servers like weblogics have a user authentication
scheme exactly like the one I seek but I want a non-proprietary, low
cost solution.

Any direction would be much appreciatted since I am really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

-
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]




Tomcat and an external webserver.

2001-02-15 Thread nickm

I got the Tomcat to work as separate http server now and the jsp and
servlets that come with it run well enough. As it turns out it was a
question of the http ports conflicting between Apache and Tomcat. But now my
next question is integrating tomcat into apache or any webserver for that
matter. I installed the mod_jserv dll that is required and set the ports to
8007 but no luckHow can I check as to whether Apache is successfully
talking to tomCat?

Stefan


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




RE: setting up logs

2001-02-15 Thread Michael Wentzel

 Could you not have a logging servlet then? that logs all 
 requests, then forwards the request to the appropriate servlet.

I think you'd probably be better off implementing your own 
RequestInterceptor.  

Check out /src/org/apache/tomcat/core/RequestInterceptor.

While this is can be Tomcat specific it a very logical place
to put this mechanism IMHO.

Servlet would also work but that would be adding a step in the
processing of every request.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

- Punisher of those who cannot spell dumb!


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




RE: Tomcat with IIS

2001-02-15 Thread Randy Layman


I haven't tried this, but this should work:
1. Create a new context whose path is c:\inetpub\wwwroot\context
name
2. In uriworkers.properties map /context name/*.jsp

Randy


-Original Message-
From: Kay, Christina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:11 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat with IIS


Our web pages are hosted on IIS and reside on c:\Inetpub\wwwroot.  Tomcat is
installed on c:\jakarta-tomcat.  Is there any way to run jsp pages residing
on c:\Inetpub\wwwroot and have the isapi_redirect.dll send the jsp pages to
c:\jakarta-tomcat to be processed?  If this is possible, please provide me
with some guidance on how to do this. 

Thank you,

Christina 



-
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: setting up logs

2001-02-15 Thread Jody Brownell

right now I have three logs ... servlet.log, jasper.log, tomcat.log.
jasper.log is great for loggin when a JSP serves a request, tomcat.log
doesn't really tell me anything and servlet.log is just as bare as
tomcat.log.

I have all verbosityLevel set to "INFORMATION", I dont really think I need 
debug info :)

e.g 

Logger name="tc_log"
path="logs/tomcat.log"
verbosityLevel = "INFORMATION"
/

Logger name="servlet_log"
path="logs/servlet.log"
verbosityLevel="INFORMATION"
/

Logger name="JASPER_LOG"
path="logs/jasper.log"
verbosityLevel = "INFORMATION" /

Out of curiousity, how would I combine both the jasper.log and servlet.log?

Logger name="servlet_log"
path="logs/action.log"
verbosityLevel="INFORMATION"
/

Logger name="JASPER_LOG"
path="logs/action.log"
verbosityLevel = "INFORMATION" /

would this work? I guess I could just try it :)



 -Original Message-
 From: Collins, Jim [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 11:46 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: setting up logs
 
 
 Could you not have a logging servlet then? that logs all 
 requests, then
 forwards the request to the appropriate servlet.
 
 Jim.
 
 -Original Message-
 From: Jody Brownell [mailto:[EMAIL PROTECTED]]
 Sent: 15 February 2001 15:23
 To: '[EMAIL PROTECTED]'
 Subject: RE: setting up logs
 
 
 I can, except I am trying to log when a third party servlet 
 serves a request. I dont have the source or control over what it logs!
 
 :(
 
 
 
 PLEASE READ: The information contained in this e-mail is confidential
 and intended for the named recipient(s) only. If you are not 
 an intended
 recipient of this email you must not copy, distribute or take any
 further action in reliance on it and you should delete it and 
 notify the
 sender immediately. Email is not a secure method of communication and
 Nomura International plc cannot accept responsibility for the accuracy
 or completeness of this message or any attachment(s).  Please 
 check this
 e-mail for virus infection, for which Nomura International plc accepts
 no responsibility. If verification of this email is sought then please
 request a hard copy. Unless otherwise stated any views or opinions
 presented are solely those of the author and do not represent those of
 Nomura International plc. This email is intended for informational
 purposes only and is not a solicitation or offer to buy or sell
 securities or related financial instruments. Nomura 
 International plc is
 regulated by the Securities and Futures Authority Limited and is a
 member of the London Stock Exchange.
 
 
 -
 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: setting up logs

2001-02-15 Thread Jody Brownell

I like that! Unfortunatly I am looking for a quick fix for now. I
will definatly consider this at a later time, 

thanks, Jody

 -Original Message-
 From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 11:24 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: setting up logs
 
 
  Could you not have a logging servlet then? that logs all 
  requests, then forwards the request to the appropriate servlet.
 
 I think you'd probably be better off implementing your own 
 RequestInterceptor.  
 
 Check out /src/org/apache/tomcat/core/RequestInterceptor.
 
 While this is can be Tomcat specific it a very logical place
 to put this mechanism IMHO.
 
 Servlet would also work but that would be adding a step in the
 processing of every request.
 
 
 ---
 Michael Wentzel
 Software Developer
 Software As We Think - http://www.aswethink.com
 mailto:[EMAIL PROTECTED]
 
 - Punisher of those who cannot spell dumb!
 
 
 -
 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: How to make Tomcat as NT Service

2001-02-15 Thread Randy Layman


One of two things:
1.  Path to wrapper.properties is wrong
2.  One of the pathes inside of the wraper.propeties is wrong

For everyone's interest, the documentation states that you can't
have a space in the service name.  This is incorrect, you can have a space,
you just need to put quotes around in when creating and when using net
start/stop.

Randy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:47 AM
To: [EMAIL PROTECTED]
Subject: Re: How to make Tomcat as NT Service


As far as I understand there is a bug with 
jk_nt_service.exe, and it's won't start tomcat after you 
install. (jk_nt_service.exe installs ok, but service will not 
start).

If anyone out there knows I'm wrong, please tell me! 

Mike

Hi everyone

I have told that this is an excellent way to get some 
help. Basically I have
a got very simple question. I have installed Release 
Build Tomcat v3.2.1. I
am able to get it up and running using the startup.bat 
in the bin directory.
Now what I would like to know is how I could make 
Tomcat as an NT Service. I
have got the 'jk_nt_service.exe' which I gather is used 
to create this NT
service, however, I have not managed to understand 
how I could do this.

I would appreciate if someone could help with this with 
a step-by-step
method.

Many thanks in advanced
Pauline


- Original Message -
From: "Christian Rauh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:06 PM
Subject: Help: database user authentication how-to.


Dear People,

I am totally confused on how to proceed with the user 
authentication in
my web application. I will try to state my problem 
briefly:

I have a web application that has FORM security. I 
need to create a way
for users to create an account that gives them access 
to the web
application. Optimally, the user/password/role info 
should be stored in
a database.

How can this be done as closely as possible to the 
servlet/jsp
specification? Is there a package written for this 
somewhere? I found
something about JDBC real in the server.xml file, is it 
what I seek?

Note that I also need this to be integrated with the 
web engine (Apache
preferably).

I have seen that app servers like weblogics have a 
user authentication
scheme exactly like the one I seek but I want a non-
proprietary, low
cost solution.

Any direction would be much appreciatted since I am 
really not knowing
what to do regarding this matter.

Thanks in advance,

Christian Rauh

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




--
---
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]

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




mod_jk + ssl + apache

2001-02-15 Thread Connie Chan

Hi,

Does anyone know how to configure the apache and tomcat so that the tomcat
will look for the different path other than the root document when ssl is
enabling (e.g. https://host1.myorg/) https://host1.myorg/) ?  I'm using
mod_jk as connector with AJP13.  How to configure tomcat so that a context
path can only be looked for when using SSL only?



Thanks,
Connie


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




RE: Isapi_Redirector and 200 Errors

2001-02-15 Thread Jim Alemany

Victor,

I've tried that but I'm still getting the 200 errors in the web log.

Jim


-Original Message-
From: Rodriguez Victor A. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Isapi_Redirector and 200 Errors


Hi,

 What I get when I surf to the site I've created is an attempt
 by the browser
 to download the file. Note, this happens when I set up a
 context for it
 within the webapps folder and when I point it to an external
 folder (I deved
 it using JRun which isn't so picky about where things live).

 On the NT/IIS box, the green arrow appears but the browser
 will load the
 code of the page, not parse it.

 Any thoughts?

Have you said to isapi_redirector that must catch the uri you're working on
??
Basically add the next line to you
%TOMCAT_HOME%\conf\uriworkermap.parameters file:

/my_URI/*.jsp=ajp12 If your application is working on
http://localhost/my_URI/

Hope this helps.
--
Vctor A. Rodrguez ( http://www.bit-man.com.ar)
Telefnica de Argentina - http://www.Telefonica.com.ar
Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680

-
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 an external webserver.

2001-02-15 Thread Randy Layman


There are a few ways...
First, tomcat produces several access logs that you can look at to
see if tomcat is receiveing the request
Second, Apache should do some logging that might give you an idea.

By the way, I thought that the correct connector between Tomcat and
Apache was mod_jk, not mod_jserv.  (I could be wrong about this, I don't do
Apache-Tomcat).

Randy


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 11:00 AM
To: [EMAIL PROTECTED]
Subject: Tomcat and an external webserver.


I got the Tomcat to work as separate http server now and the jsp and
servlets that come with it run well enough. As it turns out it was a
question of the http ports conflicting between Apache and Tomcat. But now my
next question is integrating tomcat into apache or any webserver for that
matter. I installed the mod_jserv dll that is required and set the ports to
8007 but no luckHow can I check as to whether Apache is successfully
talking to tomCat?

Stefan


-
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: mod_jk + ssl + apache

2001-02-15 Thread GOMEZ Henri

Does anyone know how to configure the apache and tomcat so 
that the tomcat will look for the different path other than the root
document 
when ssl is enabling (e.g. https://host1.myorg/) https://host1.myorg/) ? 

Could you be more explicit ?

I'm using mod_jk as connector with AJP13.  How to configure tomcat so 
that a context path can only be looked for when using SSL only?

Specify JkMount on SSL part (ie in mod_ssl in Virtual
hostl:443./Virtual

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




Re: Help: database user authentication how-to.

2001-02-15 Thread Fernando Padilla


I've been looking at the code in Tomcat 3.2, there is no JDBCRealm
present.  Do I need to be looking at Tomcat 4.0?  Apologies for the stupid
question.

fern


On Thu, 15 Feb 2001, Christian Rauh wrote:

 Dear People,
 
 I am totally confused on how to proceed with the user authentication in
 my web application. I will try to state my problem briefly:
 
 I have a web application that has FORM security. I need to create a way
 for users to create an account that gives them access to the web
 application. Optimally, the user/password/role info should be stored in
 a database.
 
 How can this be done as closely as possible to the servlet/jsp
 specification? Is there a package written for this somewhere? I found
 something about JDBC real in the server.xml file, is it what I seek?
 
 Note that I also need this to be integrated with the web engine (Apache
 preferably). 
 
 I have seen that app servers like weblogic´s have a user authentication
 scheme exactly like the one I seek but I want a non-proprietary, low
 cost solution.
 
 Any direction would be much appreciatted since I am really not knowing
 what to do regarding this matter.
 
 Thanks in advance,
 
 Christian Rauh
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


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




Antwort: Re: Antwort: session creation?

2001-02-15 Thread ralf.bode



Hi,
try to take this code in your baseclass (assuming the name ist MyServlet) of all
your servletclasses. The performRequest-method must be called directly from the
doPost ()-Method.
If you are using only one (Dispatcher-)Servlet, you have to work out the
Requests from the Login-Page and to react on a Login (via Database or in any
other way). The generated HTML-Page in this Code-Segment must have the tag
containing from action = \"MyServlet\" method = \"Post\".
If you are using on the other hand more Servlets derived from this baseclass,
especially one Servlet to every HTML-Page, the generated HTML-Page in this
Code-Segment must have the tag containing from action = \"MyLoginServlet\"
method = \"Post\". So you can handle the Login in an own Servlet. After
succesful login you should redirect your application to your first Page. In this
way, you give the user the Startup-Page, which is directly connected to your
LoginServlet. Any illegal try of a user, to call an Servlet directly via URL in
your browser will be automatically directed to your Login.
A nice thing is a Logout-Handler on (every) Page. All you have to do is to
generate a "LOGOUT"-Button in your HTML-Stream and if pressed, you destroy the
session via invalidate ()..


class MyServlet
{

 ..

protected void performRequest (final HttpServletRequest  roRequest,
   final HttpServletResponse roResponse)
PrintWriter oOutput  = roResponse.getWriter ();   // get a
HTML-Stream
HttpSession oSession = roRequest.getSession (false);  // try to get an
exisiting session

if (oSession != null)
{
  // OK, the user is being connected for the n-th time
  // this method is yours !!!  You get the request, the response, the
actual user-session and the html-stream, where you put in your generated
html-code
performTask (roRequest,
 roResponse,
 oOutput,
 oSession);
}
else
{
// no session, no cookie, some reasons :
  // - the user tries to connect the first time
  // - the session have been invalidated by tomcat
  // - you are using a clustered webserver and your first server have
been fallen down and your failover system takes control.
  //   so the session data on the first system is been lost. now you
have to login again (like a connection on the first time)
  // you can't distinguish the reasons !!!

// get a fresh session, without any attribute-data
oSession = roRequest.getSession (true);

  // write your Errormessage (like above) into the HTML-Stream and
create a Login-Screen
  oOutput.println ("html .. form action = \"THIS_SERVLET\"
method = \"post\"  . " + YOUR_ERRORMESSAGE + YOUR_LOGIN_SCREEN + "/form  .

 /html");

  // now the generated HTML-Page will be sent back to your browser and
the user must login or leave !
}
}






venkatesan [EMAIL PROTECTED] am 15.02.2001 14:01:08

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie: (Blindkopie: Ralf Bode/13/LBSH/DE)

Thema:Re: Antwort: session creation?




Hi Antwort ,
 Thanx a lot for ur help.. Now i am able to create new session and if i not
perform any operations in that page on the specified time. that page is not
comming
and if i click refresh button new page is comming... Well  But my
problem is while i entering into my web page the first screen is blank in the
same
way while the page is expired after the particular time if i click any link that
page also blank... can u give me some tips so that while i am entering my
web-page it should not come blank and it the same way after the page expired,
some
message should come...

Thanx in advance

cheers
venkatesh



[EMAIL PROTECTED] wrote:

 Hi,
 to create a user-session you may try the following code in the doGet
 (...)/doPost (...) - handling-Methods :

 HttpSession oSession = roRequest.getSession (false);  // try to get an
 exisiting session

 if (oSession != null)
 {
 // OK, anyone is been connected for the n-th time

 // continue 
 performTask ()
 }
 else
 {
 // - user tries to connect the first time, no cookie on the client
 - no session
 // - sessiontimeout, all userdata are lost
 // this behaviour occurs too if you use an clustered webserver
since
  all sessiondata residents only on one machine (!!!)
 // you can't determine, why the session is invalid
 oSession = roRequest.getSession (true);  // get a new session
 without any attributes in

 // perhaps an errormessage or a login-handling or both
 }   :

 All user-sessions will be invalidated by tomcat automatically. The timeout is
 defined 

Jakarta NT Service: how to execute several Tomcat instances

2001-02-15 Thread Fontanelli Andrea


We are tomcat users and we developing a Java web application. 
We would have two Jakarta services, one for production environment
and the other for the development environment.
Our environment is composed like this:

*   IIS web server 
*   Tomcat 3.2  
*   O.S. Windows 2000

We created two Jakarta services, following the setup notes ("Advance
Setup" paragraph) in the section "Working with the Jakarta NT Service", but
seems that only one Jakarta service is running at runtime. 
When I try to start the services, the second one return to "stopped
status" after few seconds, so we never have both services running at the
same time.  

Probably there is something in the "Advance setup" that we
misunderstand: what exactly means "install Tomcat service twice and under
two different name" ?

Do we have to rename the jk_nt_service to two different names or
execute 
jk_nt_service - I name of service path of wrapper.properties
(with two different name of service/path of wrapper.properties) is enough? 

Do you have any examples we could follow to reach our goal ?

Thanks in advance for your help.

Best Regards   


Andrea Fontanelli

Sviluppo Sistemi Professionali
Sema S.p.A.
Via G. Jervis, 77 - Ivrea (TO)
Italy

Tel:  +39.0125.523249
Fax: +39.0125.522146
E-mail:  [EMAIL PROTECTED]




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




(Off topic) How to know which hyper-link has been clicked?

2001-02-15 Thread Paul Yoon

Hello,

I am sorry to ask off topic
but is there any way to know which hyper-link was clicked?
There is a page which can generate dynamically hyper-link
and linked page should know which one was cliked.
I am using jsp and can I use parameter?
Any idea will be appreciated.
Thank you.

Paul Yoon


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




Re: Help: database user authentication how-to.

2001-02-15 Thread Fernando Padilla


Yes, it was a stupid question. Tomcat 4 does indeed have
JDBCRealm.  Sorry guys.

fern


On Thu, 15 Feb 2001, Fernando Padilla wrote:

 
 I've been looking at the code in Tomcat 3.2, there is no JDBCRealm
 present.  Do I need to be looking at Tomcat 4.0?  Apologies for the stupid
 question.
 
 fern
 
 
 On Thu, 15 Feb 2001, Christian Rauh wrote:
 
  Dear People,
  
  I am totally confused on how to proceed with the user authentication in
  my web application. I will try to state my problem briefly:
  
  I have a web application that has FORM security. I need to create a way
  for users to create an account that gives them access to the web
  application. Optimally, the user/password/role info should be stored in
  a database.
  
  How can this be done as closely as possible to the servlet/jsp
  specification? Is there a package written for this somewhere? I found
  something about JDBC real in the server.xml file, is it what I seek?
  
  Note that I also need this to be integrated with the web engine (Apache
  preferably). 
  
  I have seen that app servers like weblogic´s have a user authentication
  scheme exactly like the one I seek but I want a non-proprietary, low
  cost solution.
  
  Any direction would be much appreciatted since I am really not knowing
  what to do regarding this matter.
  
  Thanks in advance,
  
  Christian Rauh
  
  -
  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]




IllegalStateException - tomcat 4

2001-02-15 Thread Andrey Akselrod

Hello,

I have searched archives and have seen similar discussions, but could not
really find an answer.
I am developing a software on top of Servlet API 2.3 so I do need to use
Tomcat at least for now. I tried to create a very simplified test case. I
was able to reproduce a part of the problem so far, so that I can move
forward.
I am getting the following exception:

java.lang.IllegalStateException: Cannot forward after response has been
committed
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:245)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:236)
at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:386)
at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:573)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:483)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:388)
at
_0002ffirst_0002ejspfirst_jsp_28._jspService(_0002ffirst_0002ejspfirst_jsp_2
8.java:57)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:251)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:196)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
)
at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:159)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
818)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
at java.lang.Thread.run(Thread.java:484)


This problem happens when I try to include a servlet from a jsp page:
H1First JSP/H1
%
out.flush();
//RequestDispatcher d = request.getRequestDispatcher("/second.jsp");
RequestDispatcher d =
request.getRequestDispatcher("/servlet/includetest.secondservlet");
d.include(request, response);
%

The servlet itself can be empty or can simply print out something with:
resp.getWriter().println("look ma, i am here.");

If I try to include /second.jsp - it works without the exception. It fails
only for the servlet.
By "failing" I mean that it generates an exception in the log the first time
I try to execute my jsp file after Tomcat was restarted. After that it just
works fine.
It also works if I remove "flush()" - but then the output of the servlet
comes before the output of jsp file.
Another interesting thing: the test case works in ServletExcec.

I read the spec - it says that there are limitations with "forward", but
"include" should be just fine.
Another question is if you take a look at the stack - it calls "include" and
after that it calls "forward" where it fails - any idea why?

Thank you,

Andrey Akselrod, Senior Software Architect
[EMAIL PROTECTED]
==
RUNTIME TECHNOLOGIES  www.runtime.com
515 Greenwich Street, 2nd Floor   T.212.462.2800.X.104
New York, New York 10013F.212.462.1074
==



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




RE: (Off topic) How to know which hyper-link has been clicked?

2001-02-15 Thread CPC Livelink Admin


Look a the docs for the HttpServletRequest object.

The short answer is that request.getRequestURI is probably what you want.

-Original Message-
From: Paul Yoon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: (Off topic) How to know which hyper-link has been clicked?


Hello,

I am sorry to ask off topic
but is there any way to know which hyper-link was clicked?
There is a page which can generate dynamically hyper-link
and linked page should know which one was cliked.
I am using jsp and can I use parameter?
Any idea will be appreciated.
Thank you.

Paul Yoon


-
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: Jakarta NT Service: how to execute several Tomcat instances

2001-02-15 Thread Randy Layman


It seems like what you want to do is workable.  I would guess that
for some reason you are not using two different server.xml files, which
means that the second instance of Tomcat is using the same ports as the
first and then failing when it tries to gain these ports.  (You could verify
this by looking at the jvm.stdout/.stderr files generated.)

Make sure that the second wrapper.properties file uses the correct
server.xml file.  In my version, its like 99.  Soemthing like:
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
should be 
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server2.xml

Randy

-Original Message-
From: Fontanelli Andrea [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 11:31 AM
To: [EMAIL PROTECTED]
Subject: Jakarta NT Service: how to execute several Tomcat instances



We are tomcat users and we developing a Java web application. 
We would have two Jakarta services, one for production environment
and the other for the development environment.
Our environment is composed like this:

*   IIS web server 
*   Tomcat 3.2  
*   O.S. Windows 2000

We created two Jakarta services, following the setup notes ("Advance
Setup" paragraph) in the section "Working with the Jakarta NT Service", but
seems that only one Jakarta service is running at runtime. 
When I try to start the services, the second one return to "stopped
status" after few seconds, so we never have both services running at the
same time.  

Probably there is something in the "Advance setup" that we
misunderstand: what exactly means "install Tomcat service twice and under
two different name" ?

Do we have to rename the jk_nt_service to two different names or
execute 
jk_nt_service - I name of service path of wrapper.properties
(with two different name of service/path of wrapper.properties) is enough? 

Do you have any examples we could follow to reach our goal ?

Thanks in advance for your help.

Best Regards   


Andrea Fontanelli

Sviluppo Sistemi Professionali
Sema S.p.A.
Via G. Jervis, 77 - Ivrea (TO)
Italy

Tel:  +39.0125.523249
Fax: +39.0125.522146
E-mail:  [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]




How to use Tomcat?

2001-02-15 Thread Happy Room
Dear Sir,
We are learners of Tomcat. We have already setup Tomcat3.2.1
and JDK1.2.2 in Windows according the book, and written the 
little testing programming in it. But the problem is we can't pass 
the compile, the error shows the class didn't find.

Put HTML files and jsp files in: D:\foo\tomcat\webapps\project\jsp\video_store
Put Java, class files in: 
D:\foo\tomcat\webapps\project\Web-inf\classes\video_store

Do we give the right place to put these files? Or should we do 
something else before we run the code? 
Thank you for your help!!


Learners of Tomcat




Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

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



Re: (Off topic) How to know which hyper-link has been clicked?

2001-02-15 Thread nickm

Assing a variable value to a link and then trap for it in your servlet.


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




RE: IllegalStateException - tomcat 4

2001-02-15 Thread Michael Wentzel

 I have searched archives and have seen similar discussions, 
 but could not
 really find an answer.
 I am developing a software on top of Servlet API 2.3 so I do 
 need to use
 Tomcat at least for now. I tried to create a very simplified 
 test case. I
 was able to reproduce a part of the problem so far, so that I can move
 forward.
 I am getting the following exception:
 
 java.lang.IllegalStateException: Cannot forward after 
 response has been
 committed
   at

This is from a forward being used after output has already been
written to the JSPWriter.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
mailto:[EMAIL PROTECTED]

- Punisher of those who cannot spell dumb!

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




RE: IllegalStateException - tomcat 4

2001-02-15 Thread Andrey Akselrod

But this is the trick: I am not using forward - i use include!
(see my last email for the code sample).
-a

 -Original Message-
 From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 15, 2001 11:11 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: IllegalStateException - tomcat 4
 
 
  I have searched archives and have seen similar discussions, 
  but could not
  really find an answer.
  I am developing a software on top of Servlet API 2.3 so I do 
  need to use
  Tomcat at least for now. I tried to create a very simplified 
  test case. I
  was able to reproduce a part of the problem so far, so that I can move
  forward.
  I am getting the following exception:
  
  java.lang.IllegalStateException: Cannot forward after 
  response has been
  committed
  at
 
 This is from a forward being used after output has already been
 written to the JSPWriter.
 
 
 ---
 Michael Wentzel
 Software Developer
 Software As We Think - http://www.aswethink.com
 mailto:[EMAIL PROTECTED]
 
 - Punisher of those who cannot spell dumb!
 
 -
 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: (Off topic) How to know which hyper-link has been clicked?

2001-02-15 Thread Alex Fernández

Hi Paul,

I'm not sure if this is what you're asking, but

javax.servlet.http.HttpUtils.getRequestURL(request) will give you the URL
that originated the request.

Cheers,

Alex.

Paul Yoon wrote:

 Hello,

 I am sorry to ask off topic
 but is there any way to know which hyper-link was clicked?
 There is a page which can generate dynamically hyper-link
 and linked page should know which one was cliked.
 I am using jsp and can I use parameter?
 Any idea will be appreciated.
 Thank you.

 Paul Yoon

 -
 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: database user authentication how-to.

2001-02-15 Thread Ignacio J. Ortega

JDBCRealm is on versions 3.2 and up and on 4.0 too...

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Fernando Padilla [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 15 de febrero de 2001 17:21
 Para: [EMAIL PROTECTED]
 Asunto: Re: Help: database user authentication how-to.
 
 
 
 I've been looking at the code in Tomcat 3.2, there is no JDBCRealm
 present.  Do I need to be looking at Tomcat 4.0?  Apologies 
 for the stupid
 question.
 
 fern
 
 
 On Thu, 15 Feb 2001, Christian Rauh wrote:
 
  Dear People,
  
  I am totally confused on how to proceed with the user 
 authentication in
  my web application. I will try to state my problem briefly:
  
  I have a web application that has FORM security. I need to 
 create a way
  for users to create an account that gives them access to the web
  application. Optimally, the user/password/role info should 
 be stored in
  a database.
  
  How can this be done as closely as possible to the servlet/jsp
  specification? Is there a package written for this 
 somewhere? I found
  something about JDBC real in the server.xml file, is it what I seek?
  
  Note that I also need this to be integrated with the web 
 engine (Apache
  preferably). 
  
  I have seen that app servers like weblogics have a user 
 authentication
  scheme exactly like the one I seek but I want a non-proprietary, low
  cost solution.
  
  Any direction would be much appreciatted since I am really 
 not knowing
  what to do regarding this matter.
  
  Thanks in advance,
  
  Christian Rauh
  
  
 -
  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]




java.lang.NullPointerException message error

2001-02-15 Thread Pedro Henrique Ponchio

Anybody know what the error message "java.lang.NullPointerException"
means? 

My information screen appear this message when I shutdown TOMCAT:

Stop tomcat
fechando a conexo com o BD...2001-02-15 12:56:26 -
ContextManager: Removing con
text Ctx( /omir )
pronto!
BC4J HTTP Container was timed out
The binding listener for OmirModule was timed out
java.lang.NullPointerException
Signal ignored: 15
2001-02-15 12:56:26 - Ctx(  ): IOException in: R(  + / + null)
Bad file descript
or


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




RES: java.lang.NullPointerException message error

2001-02-15 Thread Pedro Henrique Ponchio

The big question is when this error happens the TOMCAT didnt shutdown
properly, still having some java process running in memory. So, I need
to use kill -9 to can start TOMCAT again ...

Please, anyone have any suggestion??

Pedro

-Mensagem original-
De: Pedro Henrique Ponchio 
Enviada em: Thursday, February 15, 2001 3:03 PM
Para: [EMAIL PROTECTED]
Assunto: java.lang.NullPointerException message error


Anybody know what the error message "java.lang.NullPointerException"
means? 

My information screen appear this message when I shutdown TOMCAT:

Stop tomcat
fechando a conexo com o BD...2001-02-15 12:56:26 -
ContextManager: Removing con
text Ctx( /omir )
pronto!
BC4J HTTP Container was timed out
The binding listener for OmirModule was timed out
java.lang.NullPointerException
Signal ignored: 15
2001-02-15 12:56:26 - Ctx(  ): IOException in: R(  + / + null)
Bad file descript
or


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


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




The Ultimate Tomcat as NT Service How-To

2001-02-15 Thread Christian Rauh

To the Tomcat active developers and everyone else,

Well, I dont have "The Ultimate Tomcat as NT Service How-To" either.
But I think someone must write one soon because this list is being
flooded with the same questions over and over.

It seems to me that there is a big documentation issue here. All this
people, including me, cannot be all stupid. Many people are trying to
make the Windows+Apache+Tomcat install and are having great trouble with
this. This is happening because of one of two things: 

  - the documentation is not good enough
  - the process is too complex

In either case there must be a solution: create the docs or simplify the
process. It seems to me that Tomcat 4 adressess some of these issues but
I am not sure. If I had the knowledge I would definetely write the docs,
but I dont.

BTW, I have installed Tomcat as a service on Win2k but had trouble in
Win NT4 with the same process.

Thanks for the attention,

Christian Rauh

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




Tomcat startup issue with HPUX 11.00

2001-02-15 Thread WHITE,JASON (Non-HP-Corvallis,ex1)

When I run tomcat from the command line, it works fine.
When I setup tomcat to run from an rc file, I get the following console
message.

/opt/java1.3/bin/java[85]: getconf:  not found
Error occurred during initialization of VM
Could not reserve enough space for object heap

my rc log shows the STDOUT and it looks like it's executing properly, I see
it list it's CLASSPATH, etc.
Any help would be appreciated.

I didn't subscribe to the list, so please CC me on your replies:
[EMAIL PROTECTED]

Thank you,
Jason White

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




  1   2   >