Tomcat FAQ/Article

2001-05-17 Thread Cheong Takhoe

Hi,

I would like to propose an update, patch-up and configuration FAQ/Article
for beginners who have installed Tomcat.
It would be great to know what needs to be done after the server has been
installed to ensure that it run optimumly.

Or has such a document been made available already? I'm not sure...but
please do enlighten me.

regards,
Cheong Takhoe



Tomcat Performance

2001-05-17 Thread Cheong Takhoe

Hi,

I'm encountering performance issues with regards to Tomcat.
I have two servers running. One with Tomcat 3.1 and one with Tomcat 3.2,
both on Window NT 4.0 . 

After running for a certain time, its gets slower and in the end, the
web-applications can run anymore.
I would like to know if any of you encountered such problem and how you
worked to solve it.
Urgent. Please help.

regards,
Cheong Takhoe



Concurrent Users - How to see it

2001-05-17 Thread Cheong Takhoe

Hi,

As we need to know how many concurrent users we have on our Tomcat, I would
like to know how and what tools do you folks out there use to 
determine the number of concurrently connect users at the moment?

Thanks

regards,
Cheong Takhoe




Re: start tomcat server remotely --Help needed

2001-05-17 Thread Venkatesh Sangam

I will b using Unix systems ..
So do I have to write shell script to remotely login ...
ther is smth called SSH (secure shell) ..I just got to know abt this ..
if you know abt this ..Please help

thanks
Venkatesh


From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: start tomcat server remotely --Help needed
Date: Thu, 17 May 2001 14:12:17 +0800

Hi,

which OS do you use? If it's Linux or Win2000 you can easily log in via
telnet and start it as if you where siting in front of the keyboard

Sascha



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




java.lang.NullPointerException......Plz Help Me

2001-05-17 Thread Naeem Malik

Dear 
  I am working as a Web Developer in Nishat Dyeing 
Finishing since 11th Feb 2001
In Lahore, Pakistan. I am developing their website and
using tools JSP, Servlet,
 and working on Jakarta-Tomcat version 3.1. I am the
old user of jakarta-tomcat, 
so i know how to configure it properly. I m using
tomcat for my website but from
last 4 days, I am getting the following problems:

   
1Some time it start working and then suddenly start
give following Exception from Browser--
 
Error: 500
Location: /examples/jsp/New/dyeing.jsp
Internal Servlet Error:

java.lang.NullPointerException
at
jsp.New._0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0._jspService(_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.java:123)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)


2 or very rarely it gives the following message or
error--


Error: 404
Location: /
File Not Found
/


The following r the configurations of My system
I am using Compaq  800 MHZ of PIII, 20 GB Hard
Disk, 128 MB RAM.
Operating System   WinNT 4 +Service Pack 5
Data Base  Oracle 8
Tools  JDK1.3.0_01, JSP1.1, Servlet,
Jakarta-ant, JavaScript,
   HTML and etc   
  
Autoexec.bat Path  =  set
PATH=%PATH%;c:\jdk13\bin;c:\java\jakarta-tomcat\bin
  set JAVA_HOME=c:\jdk13
  set
CLASSPATH=.;c:\jdk13\jre\lib\rt.jar;
  c:\jdk13\lib\tools.jar;
  c:\jdk13\lib\jsdk.jar;
 
c:\java\jakarta-tomcat\lib\servlet.jar
  set ANT_HOME=c:\java\jakarta-ant
  set Temp=C:\Temp 


 
I will be very thanks full if you guide me that what’s
going on, is there some thing wrong 
with product or there is some problem in my
configuration.
Where as I using tomcat on port 8080 and I changed it
also many times but nothing happen. 
I installed JDK1.3  Tomcat 10 times in these 4 days
with different settings but I am still 
not able to sort out the problem. So again I am very
hope full for positive response from 
your side.
Thanks  Regard
Naeem Malik




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



RE: Common (or combined) log format from a servlet/JSP?

2001-05-17 Thread Warren Crossing

It does produce the apache combined format in the access.log however..
tomcat 4 must use an extened combined ( commonly irregular ) format, a
superset. 

awstats.sourceforge.net is a perl stats package, it doesnt like this
extended format but it is open source so we can change it. 

sorry i know this isn't really an answer but i've often found questions are
usually just as ambiguous as their reply =)

-Original Message-
From: Gary Lawrence Murphy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 May 2001 4:33 AM
To: [EMAIL PROTECTED]
Subject: Common (or combined) log format from a servlet/JSP?



Does anyone know of existing software that will use Log4J to create
httpd common-log-format compatible output?  I have a servlet application
where I'd like to leave log files that could be analyzed by 3rd-party
log processing tools.

I'd hoped Log4J might solve this directly, but there doesn't appear to
be any easy transformation short of creating my own subclasses of the
format classes.  

-- 
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless.  They can only give you answers.(Pablo Picasso)



RE: start tomcat server remotely --Help needed

2001-05-17 Thread Alain RAVET

Venkatesh,

 I will b using Unix systems ..
 So do I have to write shell script to remotely login ...

No, you will be using the standard startup/shutdown.sh from the remote
%tomcat_home%/bin


 ther is smth called SSH (secure shell) ..I just got to know abt this ..
 if you know abt this ..Please help

It gives you a secured access to a remote server console.
It's pretty simple : you launch ssh, give it
 1°) target ip address - where tomcat is located
 2°) a user id  password
= you have a console screen where you can navigate, launch script.

Note :
 - ssh is a commercial product (www.ssh.com)
 - ssh gives you a graphical ftp explorer,  http tunneling (local
input/output of a x program running remotely , ...) and more..



Alain Ravet





Alain

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Venkatesh
Sangam
Envoyé : jeudi 17 mai 2001 08:54
À : [EMAIL PROTECTED]
Objet : Re: start tomcat server remotely --Help needed


I will b using Unix systems ..
So do I have to write shell script to remotely login ...
ther is smth called SSH (secure shell) ..I just got to know abt this ..
if you know abt this ..Please help

thanks
Venkatesh



This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner !



RE: start tomcat server remotely --Help needed

2001-05-17 Thread Warren Crossing

hey use putty..
its really cool  most of us use it cause its just a rad tool!

http://www.chiark.greenend.org.uk/~sgtatham/putty/

its really easy to download and easier to run.. just point  click =)

-Original Message-
From: Alain RAVET [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 May 2001 5:39 PM
To: [EMAIL PROTECTED]
Subject: RE: start tomcat server remotely --Help needed


Venkatesh,

 I will b using Unix systems ..
 So do I have to write shell script to remotely login ...

No, you will be using the standard startup/shutdown.sh from the remote
%tomcat_home%/bin


 ther is smth called SSH (secure shell) ..I just got to know abt this ..
 if you know abt this ..Please help

It gives you a secured access to a remote server console.
It's pretty simple : you launch ssh, give it
 1°) target ip address - where tomcat is located
 2°) a user id  password
= you have a console screen where you can navigate, launch script.

Note :
 - ssh is a commercial product (www.ssh.com)
 - ssh gives you a graphical ftp explorer,  http tunneling (local
input/output of a x program running remotely , ...) and more..



Alain Ravet





Alain

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]De la part de Venkatesh
Sangam
Envoyé : jeudi 17 mai 2001 08:54
À : [EMAIL PROTECTED]
Objet : Re: start tomcat server remotely --Help needed


I will b using Unix systems ..
So do I have to write shell script to remotely login ...
ther is smth called SSH (secure shell) ..I just got to know abt this ..
if you know abt this ..Please help

thanks
Venkatesh



This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner
!



mailing list or news group??

2001-05-17 Thread Dario Novakovic

hi people!

i've been subscribed to this mailing list for some
time and the only conclusion i've got is

THIS MAILING LIST IS LOOSING ITS PURPOSE

i can't believe that mailing list owners don't realize
that news groups is perfect solution for this. what am
i supposed to do with 300 or more mails in my mailbox
every day? and most of them is i can't unsubscribe.
worst of all, messages are not threaded so i have to
chase replies through bunch of messages i am not
interested in. 
i asked three questions during last week and i got no
answer, i think people able to answer ran away from
this mailing list because they can't be bothered any
more.
please, please switch to news or this list will turn
into soap.


dario

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



RE: What's a sealing violation?

2001-05-17 Thread Warren Crossing

search through some of the tomcat archives.. basically their really annoying
classloader problems.. when it tries to load a jar library and its already
loaded. you can add a line to the manifest of the jar file.. but like i said
search this archive.. theres heaps of stuff about them.

regards,

warren


-Original Message-
From: Stephen Coy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 May 2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: Re: What's a sealing violation?


The release notes tell all...

And it only took me a week to figure that out too :-)

Stephen Coy

On Thursday, May 17, 2001, at 02:53  PM, Kevin Newman wrote:

 Hi All,

 Hardware:IBM ThinkPad
 OS:Windows2000
 Servlet Engine:Tomcat 4.0 B6-Dev

 Can anyone tell me what's a sealing violation (see stack trace 
 below)?   I'm
 using the nightly build of Tomcat and it works fine on my Desktop system
 with Struts in the webapps directory. But, for some reason I can't seem 
 to
 get Struts to work on my laptop.  There does not appear to be any 
 difference
 in the environmental settings, but anything other than the Tomcat index 
 page
 or the struts-documentation produces an exception.  Has anyone else out
 there seen this problem?




AW: java.lang.NullPointerException......Plz Help Me

2001-05-17 Thread Ralph Einfeldt

Have a look at line 123 in the generated source file
_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.java
to see which statement causes the exception.

If you found the region and can't see the error, try to
reduce the page to the bare minimum that reproduces the
error and post the source for that.

 -Ursprüngliche Nachricht-
 Von: Naeem Malik [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 17. Mai 2001 09:10
 An: [EMAIL PROTECTED]
 Betreff: java.lang.NullPointerException..Plz Help Me
snip/
 Error: 500
 Location: /examples/jsp/New/dyeing.jsp
 Internal Servlet Error:
 
 java.lang.NullPointerException
   at
 jsp.New._0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0._j
 spService(_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.
 java:123)



Re: mailing list or news group??

2001-05-17 Thread Hassan Siddiqui

I agree. I'm a little surprised as to why
they didn't use a newsgroup or web-based forum...

Dario Novakovic wrote:
 
 hi people!
 
 i've been subscribed to this mailing list for some
 time and the only conclusion i've got is
 
 THIS MAILING LIST IS LOOSING ITS PURPOSE
 
 i can't believe that mailing list owners don't realize
 that news groups is perfect solution for this. what am
 i supposed to do with 300 or more mails in my mailbox
 every day? and most of them is i can't unsubscribe.
 worst of all, messages are not threaded so i have to
 chase replies through bunch of messages i am not
 interested in.



Re: Browser Closed

2001-05-17 Thread Milt Epstein

On Wed, 16 May 2001, Alin Simionoiu wrote:

 I think this event as also fired when you browse thru the
 pages..wright?..  Want I will really like to have is a SessionEnd
 event...

Basically ... there isn't a generic, catch-all way to do this, so
you're going to need to rely on the session timeout mechanism.


 - Original Message -
 From: Richard Draucker [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 16, 2001 9:26 PM
 Subject: Re: Browser Closed


  Try clicking the logout button with a javascript triggered
  by the body onunload.  This is how the porn sites feed
  you a zillion popups when you try to get outta their
  site... ooops, you weren't supposed to know I know that.
 
 
 
  On Thu, 17 May 2001, you wrote:
   Hello everybody,
  
   I'm implementing a login/logout from a web page.
   Everithing is absolutly fine if the user it's using my logout button.
  
   But, if the user just close the browser, without using the logout
 button,
   then I'm in trouble.
   Has anybody any ideea if is possible to know when a user close the
   browser?..
  
   I'm not using a keep-alive connection.
   Probably is not possible, considering that http is a stateless protocol.
  
   Alin
  --
  Richard Draucker,  [EMAIL PROTECTED]
  Protected-Data.Com  www.protected-data.com
  Remote data support for web developers.
 
 
 
 
 
 
 
 


Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




AW: mailing list or news group??

2001-05-17 Thread Ralph Einfeldt

This topic has been discussed several times.

The reasons you mention can be adressed
by a proper organisation of the mail client:

- Most clients are able to show the messages 
  by thread. 
- Most clients are able to filter the messages in 
  a way that all tomcat messages go in a separate 
  folder.
- Most clients are able to delete messages with
  a given age.

If your client can't do that, it's time to upgrade.

 -Ursprüngliche Nachricht-
 Von: Dario Novakovic [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 17. Mai 2001 09:51
 An: tomcat user mailing list
 Betreff: mailing list or news group??
 
 
 hi people!
 
 i've been subscribed to this mailing list for some
 time and the only conclusion i've got is
 
 THIS MAILING LIST IS LOOSING ITS PURPOSE
 
 i can't believe that mailing list owners don't realize
 that news groups is perfect solution for this. what am
 i supposed to do with 300 or more mails in my mailbox
 every day? and most of them is i can't unsubscribe.
 worst of all, messages are not threaded so i have to
 chase replies through bunch of messages i am not
 interested in. 
 i asked three questions during last week and i got no
 answer, i think people able to answer ran away from
 this mailing list because they can't be bothered any
 more.
 please, please switch to news or this list will turn
 into soap.
 
 
 dario
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/
 



RE: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-17 Thread Milt Epstein

On Thu, 17 May 2001, Kwan, Kenneth Y wrote:

 May I suggest that if an unsubscribing mail is received with a
 different address, send the instructions on how to unsubscribe to
 the sender. I think this may help.

Well, it would be nice if it would give generic info along the lines
of the address this was sent from is not recognzied and how to find
the address that it knows and unsubscribe it.  But I don't think it
can figure out what the proper address is, because it could be
anything, right?


   -Original Message-
   From:   Milt Epstein [mailto:[EMAIL PROTECTED]]
   Sent:   Thursday, May 17, 2001 2:18 AM
   To: Tomcat User Mailing List
   Subject:* URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER
 LIST *


   Obviously a lot of people are having trouble unsubscribing from this
   list.  Most likely these people have tried the simple/direct way of
   unsubscribing -- sending email to

 [EMAIL PROTECTED]

   -- without success.  That's because that way only works if you send
   the unsubscribe request from the address you are subscribed from.
 But
   many people receive/send their email from a different address than
 the
   one they originally subscribed from.

   Some people (including me and others) have posted instructions on
 how
   to unsubscribe when faced with this situation.  But it's not clear
   that the right people are seeing these messages (I guess you can't
   blame them too much, because they're probably not reading the
 messages
   too closely, because the whole point is they want to get off this
   list).  But I'm going to make another attempt to post these
   instructions in the hope that it will help someone.  I'll try to
 make
   the subject line such that even those people that are deleting
   everything from the list will stop and notice it (for the people
 that
   want to stay on the list, sorry about that :-).

   First of all, you need to find out what address tomcat-user thinks
   you're subscribed from.  To do that, look at the headers of a
 message
   from the list, and you'll see something like:

   Return-Path:
 [EMAIL PROTECTED]

   The Return-Path header line includes the address tomcat-user thinks
   you're subscribed from -- with the @ changed to a = to avoid
   having two @'s in the Return-Path.  In this example, that's
   joe=domain.com, which translates to [EMAIL PROTECTED]

   Once you know that address, you can unsubscribe by sending email to

 [EMAIL PROTECTED]

   Voila!

   So, if you are having trouble unsubscribing, please give this a try.

   Milt Epstein
   Research Programmer
   Software/Systems Development Group
   Computing and Communications Services Office (CCSO)
   University of Illinois at Urbana-Champaign (UIUC)
   [EMAIL PROTECTED]


Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




RE: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-17 Thread Laurence Mayer

I have tried to unsubscribe using the only 2 address I have and still get
failure messages.
There is defiantly something wrong.

Does someone have the email address of the owner of the list?

Thanks
Laurence


-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 10:24 AM
To: [EMAIL PROTECTED]
Subject: RE: * URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *


On Thu, 17 May 2001, Kwan, Kenneth Y wrote:

 May I suggest that if an unsubscribing mail is received with a
 different address, send the instructions on how to unsubscribe to
 the sender. I think this may help.

Well, it would be nice if it would give generic info along the lines
of the address this was sent from is not recognzied and how to find
the address that it knows and unsubscribe it.  But I don't think it
can figure out what the proper address is, because it could be
anything, right?


   -Original Message-
   From:   Milt Epstein [mailto:[EMAIL PROTECTED]]
   Sent:   Thursday, May 17, 2001 2:18 AM
   To: Tomcat User Mailing List
   Subject:* URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER
 LIST *


   Obviously a lot of people are having trouble unsubscribing from this
   list.  Most likely these people have tried the simple/direct way of
   unsubscribing -- sending email to

 [EMAIL PROTECTED]

   -- without success.  That's because that way only works if you send
   the unsubscribe request from the address you are subscribed from.
 But
   many people receive/send their email from a different address than
 the
   one they originally subscribed from.

   Some people (including me and others) have posted instructions on
 how
   to unsubscribe when faced with this situation.  But it's not clear
   that the right people are seeing these messages (I guess you can't
   blame them too much, because they're probably not reading the
 messages
   too closely, because the whole point is they want to get off this
   list).  But I'm going to make another attempt to post these
   instructions in the hope that it will help someone.  I'll try to
 make
   the subject line such that even those people that are deleting
   everything from the list will stop and notice it (for the people
 that
   want to stay on the list, sorry about that :-).

   First of all, you need to find out what address tomcat-user thinks
   you're subscribed from.  To do that, look at the headers of a
 message
   from the list, and you'll see something like:

   Return-Path:
 [EMAIL PROTECTED]

   The Return-Path header line includes the address tomcat-user thinks
   you're subscribed from -- with the @ changed to a = to avoid
   having two @'s in the Return-Path.  In this example, that's
   joe=domain.com, which translates to [EMAIL PROTECTED]

   Once you know that address, you can unsubscribe by sending email to

 [EMAIL PROTECTED]

   Voila!

   So, if you are having trouble unsubscribing, please give this a try.

   Milt Epstein
   Research Programmer
   Software/Systems Development Group
   Computing and Communications Services Office (CCSO)
   University of Illinois at Urbana-Champaign (UIUC)
   [EMAIL PROTECTED]


Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]



RE: ***** URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *****

2001-05-17 Thread Ramsay Domloge

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

Similar addresses exist for the digest list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

Hope this helps

Ramsay

-Original Message-
From: Laurence Mayer [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2001 10:28
To: '[EMAIL PROTECTED]'
Subject: RE: * URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *


I have tried to unsubscribe using the only 2 address I have and still get
failure messages.
There is defiantly something wrong.

Does someone have the email address of the owner of the list?

Thanks
Laurence


-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 10:24 AM
To: [EMAIL PROTECTED]
Subject: RE: * URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER LIST *


On Thu, 17 May 2001, Kwan, Kenneth Y wrote:

 May I suggest that if an unsubscribing mail is received with a
 different address, send the instructions on how to unsubscribe to
 the sender. I think this may help.

Well, it would be nice if it would give generic info along the lines
of the address this was sent from is not recognzied and how to find
the address that it knows and unsubscribe it.  But I don't think it
can figure out what the proper address is, because it could be
anything, right?


   -Original Message-
   From:   Milt Epstein [mailto:[EMAIL PROTECTED]]
   Sent:   Thursday, May 17, 2001 2:18 AM
   To: Tomcat User Mailing List
   Subject:* URGENT: UNSUBSCRIBING FROM THE TOMCAT-USER
 LIST *


   Obviously a lot of people are having trouble unsubscribing from this
   list.  Most likely these people have tried the simple/direct way of
   unsubscribing -- sending email to

 [EMAIL PROTECTED]

   -- without success.  That's because that way only works if you send
   the unsubscribe request from the address you are subscribed from.
 But
   many people receive/send their email from a different address than
 the
   one they originally subscribed from.

   Some people (including me and others) have posted instructions on
 how
   to unsubscribe when faced with this situation.  But it's not clear
   that the right people are seeing these messages (I guess you can't
   blame them too much, because they're probably not reading the
 messages
   too closely, because the whole point is they want to get off this
   list).  But I'm going to make another attempt to post these
   instructions in the hope that it will help someone.  I'll try to
 make
   the subject line such that even those people that are deleting
   everything from the list will stop and notice it (for the people
 that
   want to stay on the list, sorry about that :-).

   First of all, you need to find out what address tomcat-user thinks
   you're subscribed from.  To do that, look at the headers of a
 message
   from the list, and you'll see something like:

   Return-Path:
 [EMAIL PROTECTED]

   The Return-Path header line includes the address tomcat-user thinks
   you're subscribed from -- with the @ changed to a = to avoid
   having two @'s in the Return-Path.  In this example, that's
   joe=domain.com, which translates to [EMAIL PROTECTED]

   Once you know that address, you can unsubscribe by sending email to

 [EMAIL PROTECTED]

   Voila!

   So, if you are having trouble unsubscribing, please give this a try.

   Milt Epstein
   Research Programmer
   Software/Systems Development Group
   Computing and Communications Services Office (CCSO)
   University of Illinois at Urbana-Champaign (UIUC)
   [EMAIL PROTECTED]


Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]






RE: using the context admin tool

2001-05-17 Thread Artigas, Ricardo Y.

in your tomcat-users.xml, add a username for your use and assign admin to
the role section. This should enable you to login into the admin tool.

:^)
Ricky Y. Artigas
Analyst/Programmer
Information Technology Division
Easycall Communications Phils., Inc.
- Easycall Internet -
418 Arayat St., Mandaluyong City 1550, Philippines
Personal WAP Site: http://www.buzzed.co.uk/mobile/?rya
Company Website: http://www.easycall.com.ph
Tel.no: (+632) 5338001 ext.6574
Mobile:(+63) 0917-8951783
Pager:  141-002955
Email: [EMAIL PROTECTED]


 ---
 IMPORTANT NOTICE: 
  
 This message (and any attachment hereto) may contain privileged and/or
 confidential information specific to EasyCall. If you are not the intended
 addressee indicated in this message, you may not copy or disseminate this
 message (or any attachment hereto) to anyone. Instead, please destroy this
 message (and any attachment hereto), and kindly notify the sender by reply
 email. Any information in this message (and any attachment thereto) that
 do not relate to the official business of EasyCall shall be understood as
 neither given nor endorsed by the company.
 
 
 -Original Message-
 From: Francis West [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, May 16, 2001 9:04 PM
 To:   tomcat
 Subject:  using the context admin tool
 
 Im just having a look at tomcat,  and i saw the admin tool, unfortunately
 its asking me for a user name and password, now i would have thought it
 would have been tomcat tomcat as defined in the tomcat-users.xml
 
 im baffled - can someone point in the right direction please!
 
 Cheers
 Francis



Re: Install Tomcat on Wíndows 95

2001-05-17 Thread skolski

Hi,

your entry

set JAVA_HOME=C:\jdk1.3

is probably not right...

Yo must point to the /bin directory instad... where the executables files
are located


set JAVA_HOME=C:\jdk1.3\bin

should work...


Sascha





Re: AW: java.lang.NullPointerException......Plz Help Me

2001-05-17 Thread Antony Bowesman

Ralph Einfeldt wrote:
 
 Have a look at line 123 in the generated source file
 _0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.java
 to see which statement causes the exception.
 
 If you found the region and can't see the error, try to
 reduce the page to the bare minimum that reproduces the
 error and post the source for that.

I have seen a similar problem which I posted to tomcat dev.  The
generated source code is

...
} finally {
if (out != null) out.flush();
if (_jspxFactory != null) 
_jspxFactory.releasePageContext(pageContext);
}
...

and the error came from the releasePageContext method which tried to do
something with pageContext.  It seems quite repeatable if tomcat is run
with security.  e.g. standard 3.2 examples/numguess.  My case is when I
have access controls turned on and am doing authentication.  No answer
in the dev list.  This always occurs if you have no permissions when
compiling the login page which is the result of a redirection from the
protected resource.  This is in 3.2.2b4

Seems to be a general problem when run with security.

 
  -Ursprüngliche Nachricht-
  Von: Naeem Malik [mailto:[EMAIL PROTECTED]]
  Gesendet: Donnerstag, 17. Mai 2001 09:10
  An: [EMAIL PROTECTED]
  Betreff: java.lang.NullPointerException..Plz Help Me
 snip/
  Error: 500
  Location: /examples/jsp/New/dyeing.jsp
  Internal Servlet Error:
 
  java.lang.NullPointerException
at
  jsp.New._0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0._j
  spService(_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.
  java:123)



Bug in runtime/JspFactoryImpl.java

2001-05-17 Thread Antony Bowesman

Hi,

Excuse the cross post to User/Dev but this problem has been reported by
others in user.

Further to yesterday's message re jasper/tomcat exceptions, it seems
that there is either a bug in the coed generation or the
JspFactoryImpl.  If the generated code gets an exception pageContext is
never set so in the finally clause the releasePageContext will be passed
null.

Seems to me the releasePageContext should either check for null or the
generated code should check for null.  In the generated number guess
code from the examples there is

---
} catch (Exception ex) {
if (out != null  out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null)
pageContext.handlePageException(ex);
} finally {
if (out != null) out.flush();
if (_jspxFactory != null)
_jspxFactory.releasePageContext(pageContext);
}
---
the exception checks for null but not the finally.

Who might be the best person to decide where the fix should go??

This causes big problems if security is turned on because any access
control failure makes this problem occur.

Rgds
-- 
Antony Bowesman
Teamware Group 
[EMAIL PROTECTED]
tel: +358 9 5128 2562
fax: +358 9 5128 2705



Re: Install Tomcat on Wíndows 95

2001-05-17 Thread Dick Poon



just type this under the dos command 
line:

COMMAND.COM /E:4096 
/P

4096 represent 4MB memory,you can change it 
to
any applicable value.

Dick Poon

  - Original Message - 
  From: 
  Bruno Crapart 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, May 17, 2001 4:51 
PM
  Subject: RE: Install Tomcat on Wíndows 
  95
  
  It 
  works under W95
  You 
  have to increase memory size somewhere via the command window which is 
  launched.
  Default Environment memory is not sufficient under 
  w95
  
-Message d'origine-De: Nisse Persson 
[mailto:[EMAIL PROTECTED]]Envoyé: jeudi 17 mai 2001 
10:47À: [EMAIL PROTECTED]Objet: 
Install Tomcat on Wíndows 95

Is it possible to run Tomcat on Windows 95?
When I run startup.bat I get "you must set JAVA_HOME..." -but I 
think I havedone that!!??
In autoexec.bat:
set TOMCAT_HOME=C:\Java\tomcatset 
JAVA_HOME=C:\jdk1.3path=%JAVA_HOME%;C:\jdk1.3\lib;.;c:\jdk1.3\binset 
classpath=c:\jdk1.3\lib;c:\jdk1.3
Is there something missing??
Nisse

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



Difficulties with Virtual hosts

2001-05-17 Thread Glen Eustace

I have followed the examples in the mod_jk documentation, but can not 
seem to make any headway.

The tomcat logs indicate the host contexts are being loaded but tomcat 
can not find any of the files.
I have docBase set correctly, and it is outside the tomcat directory.

I am at a loss as to what to try next.

Glen.
-- 
Glen Eustace,
GodZone Internet Services, a div. of AGRE Enterprises Ltd.,
P.O. Box 8020, Palmerston North, New Zealand 5301
Tel/Fax: +64 6 357 8168, Mob: +64 21 424 015
E-mail: [EMAIL PROTECTED] Website: http://www.godzone.net.nz



Re: AW: java.lang.NullPointerException......Plz Help Me

2001-05-17 Thread Naeem Malik

on line 123 in
_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.jav
there is the following code:

} catch (Exception ex) {
if (out.getBufferSize() != 0)
out.clearBuffer();
pageContext.handlePageException(ex);
} finally {
out.flush();
  
_jspxFactory.releasePageContextpageContext);
}

--- Ralph Einfeldt [EMAIL PROTECTED]
wrote:
 Have a look at line 123 in the generated source file

_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.java
 to see which statement causes the exception.
 
 If you found the region and can't see the error, try
 to
 reduce the page to the bare minimum that reproduces
 the
 error and post the source for that.
 
  -Ursprüngliche Nachricht-
  Von: Naeem Malik [mailto:[EMAIL PROTECTED]]
  Gesendet: Donnerstag, 17. Mai 2001 09:10
  An: [EMAIL PROTECTED]
  Betreff: java.lang.NullPointerException..Plz
 Help Me
 snip/
  Error: 500
  Location: /examples/jsp/New/dyeing.jsp
  Internal Servlet Error:
  
  java.lang.NullPointerException
  at
 

jsp.New._0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0._j
 

spService(_0002fjsp_0002fNew_0002fdyeing_0002ejspdyeing_jsp_0.
  java:123)


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



servlet chaining, session null

2001-05-17 Thread SAMEUNIE


Hi, i'm trying to use Servlet chaining with three servlets. In the first one
i create a cession (if it doesn't exist), in the second one i put some
attributes in the cession. But when i arrive in the third servlet, my
session is null?
As anybody already had this problem ?

Is it possible to get the path of the servlet who called the last one ?
I mean if i am in the ith servlet, how can i get the path of the (i-1)th
servlet ?
  



Fwd: Re: Install Tomcat on Wíndows 95

2001-05-17 Thread Benoit Jacquemont

 Hi again,

 maybe but if if I have a slight look at my configuration I'm very shure
 that Tomcat works with JAVA_HOME pointing to c:\jdk1.3\bin ...

It's because when Tomcat start, it looks for the java executables, and if it
can find it in the path, then build the JAVA_HOME from this location instead
of using yours... So if your PATH points to the JDK/bin directory, your
JAVA_HOME won't be used. So you can even suppress it.

Anyway, RTFM (tomcat_ug.html):

Set the environment variable JAVA_HOME to point to the root directory of your
JDK hierarchy, then add the Java interpreter to your PATH environment
variable.

Benoit





Static filed reference BUG since( Tomcat 4b2-b5)

2001-05-17 Thread Andrew




 Hi, every time I try to 
reference static field(from jsp page)in nonpackaged class I've got jasper 
error:
Undefined variable or class name: Myclass, but I've put that in 
\WEB-INF\classes dir of my app and Tomcat4b1 process my page without any 
errors.

What could be 
wrong?


Re: AW: mailing list or news group??

2001-05-17 Thread Milt Epstein

On Thu, 17 May 2001, Hassan Siddiqui wrote:

 Perhaps there is an obvious solution to all this, so please respond
 if I'm being silly.

 Ideally I would like to

 1. Search through previous messages/faq
 2. Post messages

 Through one interface.

 One could use the local mail client for both, but this means storing
 N thousand messages in one's local area to address 1 above, which is
 certainly not practical.

 To me, a web-based forum (eg egroups, but with a searchable archive)
 is best. The best alternative I can think of is to use my mail
 client to post messages, binning all uncoming messages from
 tomcat-user to TRASH, and read messages via Philip Mikal's archive
 at

 http://mikal.org/interests/java/tomcat/index.jsp

 (thanks Philip), but this means reading/posting via two different
 interfaces, so isn't entirely convenient.

 I'm aware that jGuru have an online forum for tomcat, but this
 doesn't seem to be the 'official' forum, and is certainly not as
 heavily used is this mailing list.  But perhaps the tomcat team
 could make that the official one.

I see what you're saying, but, ughhh, please, no web-based forums.
They are not good for high-volume, everyday reading.  The interface is
clunky, interactivity is poor, they're slow, and they can be
unreliable (much of this having to do with the fact that it's done via
HTTP).  I'd probably no longer participate if it were moved to a
web-based forum (of course, some might consider that a good thing :-).

As to the previous poster's comments,  I think he's wrong on several
points.  For one thing, I've been on this list several months, and I
don't recall seeing this topic discussed at all, let alone several
times.  Further, I think he's off as to the capabilities of modern
mail readers -- particularly, I think there are many good, modern mail
readers that don't have the first and third features he mentions.

I do think the volume on this newsgroup is a problem (things are
mostly relevant, but the volume is awful high), but I'm not sure what
the best solution is.


 Ralph Einfeldt wrote:
 
  This topic has been discussed several times.
 
  The reasons you mention can be adressed by a proper organisation
  of the mail client:
 
  - Most clients are able to show the messages by thread.
  - Most clients are able to filter the messages in a way that all
tomcat messages go in a separate folder.
  - Most clients are able to delete messages with a given age.
 
  If your client can't do that, it's time to upgrade.
 
   -Ursprüngliche Nachricht-
   Von: Dario Novakovic [mailto:[EMAIL PROTECTED]]
   Gesendet: Donnerstag, 17. Mai 2001 09:51
   An: tomcat user mailing list
   Betreff: mailing list or news group??
  
  
   hi people!
  
   i've been subscribed to this mailing list for some
   time and the only conclusion i've got is
  
   THIS MAILING LIST IS LOOSING ITS PURPOSE
  
   i can't believe that mailing list owners don't realize
   that news groups is perfect solution for this. what am
   i supposed to do with 300 or more mails in my mailbox
   every day? and most of them is i can't unsubscribe.
   worst of all, messages are not threaded so i have to
   chase replies through bunch of messages i am not
   interested in.
   i asked three questions during last week and i got no
   answer, i think people able to answer ran away from
   this mailing list because they can't be bothered any
   more.
   please, please switch to news or this list will turn
   into soap.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




Re: Install Tomcat on Wíndows 95

2001-05-17 Thread Naeem Malik


try with this path

set
PATH=%PATH%;c:\jdk13\bin;c:\java\jakarta-tomcat\bin
set JAVA_HOME=c:\jdk13
set CLASSPATH=.;c:\jdk13\jre\lib\rt.jar;
c:\jdk13\lib\tools.jar;
c:\jdk13\lib\jsdk.jar;
   
c:\java\jakarta-tomcat\lib\servlet.jar;
c:\jdk13\lib\test;
c:\jdk13\lib\Swing.jar;
set ANT_HOME=c:\java\jakarta-ant
Doskey /Insert

and it is good practice if u rename dir from JDK1.3 to
JDK13

and go in startup.bat shutdown.bat  properties, then
Enviorment and set initial memory
to Full i don't remember but i thinks its arround
about 4096.

Do IT and i hope then u will be able to run it 




--- Nisse Persson [EMAIL PROTECTED] wrote:

HR
htmlDIV
PIs it possible to run Tomcat on Windows 95?/P
PWhen I run startup.bat I get you must set
JAVA_HOME... -nbsp;but I think I havenbsp;done
that!!??/P
PIn autoexec.bat:/P
Pset TOMCAT_HOME=C:\Java\tomcatBRset
JAVA_HOME=C:\jdk1.3BRpath=%JAVA_HOME%;C:\jdk1.3\lib;.;c:\jdk1.3\binBRset
classpath=c:\jdk1.3\lib;c:\jdk1.3/P
PIs there something missing??/P
PNisse/P/DIVbr clear=allhrGet Your Private,
Free E-mail from MSN Hotmail at a
href=http://www.hotmail.com;http://www.hotmail.com/a.br/p/html


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



Re: question about setting up Apache and Tomcat

2001-05-17 Thread rday


At 5/16/01 5:45:08 PM, HDung [EMAIL PROTECTED] wrote:
#  Hello everybody,
#  I've had hard time in setting up Apache to talk to
#  Tomcat in WinNT.
#  I read some questions and answers similar to my
#  problem but they didn't help me either.
#  Hopefully, I can get help from this list.
#
#  Here is what I did:
#
#  -installed Tomcat 3.2.1
#  -installed Apache 1.3.14
#  -downloaded mod_jk.dll and put it under
#  c:/Apache/modules dir.
#  -added the following lines to httpd.conf
#  LoadModulejk_module  libexec/mod_jk.so
#  AddModule mod_jk.c
#  JkWorkersFile
#  /usr/local/tomcat/conf/workers.properties
#  JkLogFile /usr/local/apache/logs/mod_jk.log
#  JkLogLevelwarn
#  Include c:\tomcat\conf\mod_jk.conf-auto

I'm not even sure how you got Apache to run with this configuration (have you
tried Apache.exe -t?). Eventually, after much fiddling, I inserted the following
line - and only the following line - into the httpd.conf

Include c:/hqbin/apache/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto

Everything that you put in the httpd.conf is already in mod_jk.conf-auto, so
including it  and making sure all the include lines reference things that exist
- including

LoadModule jk_module modules/mod_jk.dll

(notice that I've used .dll rather than so)

should be more than enough.

I have no idea about the rest, although you should look at the line for the
examples in the include file.

#  -commented out the connector to port 8080 in
#  server.xml
#  -Set classpath for Tomcat and Apache
#  -Use 8007 for ajp12
#  When I setup Tomcat stand alone, everything is fine.
#  The installation for Apache is also successful (I can
#  see the first page saying I'm successful in installing
#  Apache when go to http://localhost)
#  After setup Apache to talk to Tomcat, I go to
#  http://localhost/schart/test.jsp
#  (Schart is the directory where I put my jsp)
#  It can't find my file, looking in the log file, the
#  server looks for /apache/htdocs/schart/test.jsp
#  instead of looking for it in Tomcat.  So, I know the
#  setup is not right and Apache can't talk to tomcat.
#
#  Please help.
#
#  Thank you so much!
#
#  Thao Nguyen
#
#  __
#  Do You Yahoo!?
#  Yahoo! Auctions - buy the things you want at great prices
#  http://auctions.yahoo.com/
#
Roger





Enterprise ready implementation of JavaSpace

2001-05-17 Thread nati shalom








Hi all,



J-spaces announce the availability of
J-Spaces Platform 1.0 at

www.j-spaces.com.



J-Spaces is a commercial implementation
of the JavaSpaces specification,

with emphasis on openness, scalability,
reliability and powerful API.

To those who are not familiar with
JavaSpaces , JavaSpaces is a JINI Service

that provides an efficient mean for
sharing and exchanging objects between

distributed applications.



Tomcat users can use this product for
sharing and exchanging session information across several web servers and other
distributes applications. It can also be used for solving many of the
distributed application problems such as:

High Availability , Load Balancing ,
Fault tolerance etc. 





Nati Shalom

J-Spaces C.T.O










web.xml url-pattern and apache conf

2001-05-17 Thread Mark Papiani


I am running the test servlets supplied with Tomcat but the url-pattern 
directives do not appear to work.

My context is /test/servlet and based on apache conf and web.xml below, the 
following work OK:

http://myhost:port/test/servlet/servlet1
http://myhost:port/test/servlet/servlet4

even this pattern works:

http://myhost:port/test/servlet/b.bop

which invokes servlet4 because of the mapping
servlet-nameservlet4/servlet-name
url-pattern*.bop/url-pattern

However, any pattern with a / in it does not work, e.g.

http://myhost:port/test/servlet/calendar
http://myhost:port/test/servlet/calendar/
http://myhost:port/test/servlet/baz/a

despite:
servlet-nameservlet2/servlet-name
url-pattern/baz/*/url-pattern
/servlet-mapping
servlet-mapping
servlet-nameservlet3/servlet-name
url-pattern/catalog/url-pattern


I would be very grateful for any suggestions.

Thanks
Mark
[EMAIL PROTECTED]

--


apache conf:

...
Alias /test /home/papiani/cmd/jakarta-tomcat-3.2.1/webapps/test
Directory /home/papiani/cmd/jakarta-tomcat-3.2.1/webapps/test
Options Indexes FollowSymLinks
/Directory
ApJServMount /test/servlet /test
Location /test/WEB-INF/
AllowOverride None
deny from all
/Location
Location /test/META-INF/
AllowOverride None
deny from all
/Location



---
web.xml
...
web-app
servlet
servlet-name
servlet1
/servlet-name
servlet-class
requestMap.Servlet1
/servlet-class
/servlet
servlet
servlet-name
servlet2
/servlet-name
servlet-class
requestMap.Servlet2
/servlet-class
/servlet
servlet
servlet-name
servlet3
/servlet-name
servlet-class
requestMap.Servlet3
/servlet-class
/servlet
servlet
servlet-name
servlet4
/servlet-name
servlet-class
requestMap.Servlet4
/servlet-class
/servlet

...

servlet-mapping
servlet-name
servlet1
/servlet-name
url-pattern
/foo/bar/*
/url-pattern
/servlet-mapping
servlet-mapping
servlet-name
servlet2
/servlet-name
url-pattern
/baz/*
/url-pattern
/servlet-mapping
servlet-mapping
servlet-name
servlet3
/servlet-name
url-pattern
/catalog
/url-pattern
/servlet-mapping
servlet-mapping
servlet-name
servlet4
/servlet-name
url-pattern
*.bop
/url-pattern
/servlet-mapping



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




RE: mailing list or news group??

2001-05-17 Thread Randy Layman


I would suggest you read the mailing list archives from last
December to understand why a lot of people don't want this to be a news
group.

Randy

 -Original Message-
 From: Dario Novakovic [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 17, 2001 3:51 AM
 To: tomcat user mailing list
 Subject: mailing list or news group??
 
 
 hi people!
 
 i've been subscribed to this mailing list for some
 time and the only conclusion i've got is
 
 THIS MAILING LIST IS LOOSING ITS PURPOSE
 
 i can't believe that mailing list owners don't realize
 that news groups is perfect solution for this. what am
 i supposed to do with 300 or more mails in my mailbox
 every day? and most of them is i can't unsubscribe.
 worst of all, messages are not threaded so i have to
 chase replies through bunch of messages i am not
 interested in. 
 i asked three questions during last week and i got no
 answer, i think people able to answer ran away from
 this mailing list because they can't be bothered any
 more.
 please, please switch to news or this list will turn
 into soap.
 
 
 dario
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/
 



RE: Hi

2001-05-17 Thread Randy Layman


1.  I would suggest not posting using HTML - it limits your audience
and you want everyone who can to read the message.

2.  This problem is usually because the filename in the registry for
the uriworkermap.properties file does not correspond to its actual location,
or all of your mappings in uriworkermap.properties map to workers not
defined in the workers.properties file (no valid mappings are defined).

Randy

-Original Message-
From: Saadi [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 13, 2001 6:32 PM
To: [EMAIL PROTECTED]
Subject: Hi


Hi,
i have integrated tomcat with iis 5.0 and the green flag is up, but when i
try to open a jsp page from iis it doesnt work. The same pages work fine
when run only with tomcat but in iis they r givivg me some problems. th isap
log file error is some what like this:

[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL
parameter
[jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters



RE: Tomcat Performance

2001-05-17 Thread Randy Layman


We did experience this.  Our problem was a growing memory
consumption that was caused by a bug in our code.  We did a lot of
experimenting and ran Tomcat inside of OptimizeIt to determine where the
memory was leaking.

Randy



 -Original Message-
 From: Cheong Takhoe [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 16, 2001 3:23 AM
 To: '[EMAIL PROTECTED]'
 Subject: Tomcat Performance
 
 
 Hi,
 
 I'm encountering performance issues with regards to Tomcat.
 I have two servers running. One with Tomcat 3.1 and one with 
 Tomcat 3.2,
 both on Window NT 4.0 . 
 
 After running for a certain time, its gets slower and in the end, the
 web-applications can run anymore.
 I would like to know if any of you encountered such problem 
 and how you
 worked to solve it.
 Urgent. Please help.
 
 regards,
 Cheong Takhoe
 



RE: Static filed reference BUG since( Tomcat 4b2-b5)

2001-05-17 Thread Randy Layman


Just a thought - have you imported that class?  You need to remember
that all generated classes are placed into a package corresponding to their
location in the webapp (prefixed by jsp, I believe), so classes that aren't
in any package aren't in the same package as the JSP file.  I believe that
if you import the class (and I think you'll have to do each separate class
explicitly) this should solve your problem.

Randy

-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 5:44 AM
To: [EMAIL PROTECTED]
Subject: Static filed reference BUG since( Tomcat 4b2-b5)


Hi, every time I try to reference static field(from jsp page) in
nonpackaged class I've got jasper error:
Undefined variable or class name: Myclass, but I've put that in
\WEB-INF\classes dir of my app and Tomcat4b1 process my page without any
errors.

What could be wrong?



Tomcat in production

2001-05-17 Thread Aravind Naidu

Hi All,
We have been using Tomcat for development and are quite happy with it.

I would like to know any success/failure(?) stories of Tomcat as a
production servlet/JSP engine.

-- Aravind





RE: Tomcat in production

2001-05-17 Thread Bruno Crapart

It works fine for me !!!

In a European dimension company ...

Have fun with Tomcat !

Is someboy under W2000 Tomcat4 Apache MSSQL7 ?

Bruno, a frenchy who used Tomcat since 1 year as a production JSP engine.

-Message d'origine-
De : Aravind Naidu [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 17 mai 2001 14:16
À : [EMAIL PROTECTED]
Objet : Tomcat in production


Hi All,
We have been using Tomcat for development and are quite happy with it.

I would like to know any success/failure(?) stories of Tomcat as a
production servlet/JSP engine.

-- Aravind




Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread tw.richter

Hello,

the error I posted in JDBCRealm/Tomcat do not not protect Web Pages!?...
is solved. Stupid I was I forgot to rename the *.html files to *.jsp.
Tomcat obviously totally ignores the html-File and doesn't protect it. Ok
seems to work. But now when accessing the protected source I get an error
like this one:

Error: 500
Location: /texdb/txdb/menues/smgen.jsp
Internal Servlet Error:

java.lang.NullPointerException
 at interbase.interclient.PreparedStatement.setString(Unknown Source)
 at
org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:306)
 at
org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:482)
 at
org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837)
 at
org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
 at org.apache.tomcat.request.JDBCRealm.authorize(JDBCRealm.java:503)
 at
org.apache.tomcat.core.ContextManager.doAuthorize(ContextManager.java:855)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:789)
 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

I m using Interbase/Interclient 6.01, Linux and made server.xml and web.xml
the usually way (see above JDBCRelam 15/05). When doing a manually selcect
... where -- from like written in JDBCRealm.java via JDBC Explorer it
works. What could be wrong? Jasper.log, servlet.log and tomcat.log don't
give me a hint.

Grreting and many thanks in advance

   Thomas





Re: AW: mailing list or news group??

2001-05-17 Thread Dario Novakovic


--- Ralph Einfeldt [EMAIL PROTECTED]
wrote:
 This topic has been discussed several times.
 

that means subscribers want it and it is time to
switch to news and web based forum is not bad idea


 The reasons you mention can be adressed
 by a proper organisation of the mail client:
 
 - Most clients are able to show the messages 
   by thread. 
 - Most clients are able to filter the messages in 
   a way that all tomcat messages go in a separate 
   folder.
 - Most clients are able to delete messages with
   a given age.

that is not a solution, sorting by thread is not
realiable if not useless in most of the mailclients.
storing in separate folder is allright but it takes
ages to process all mesage rules (filtering junk
included) just to pickup 500 messages everyday.

 
 If your client can't do that, it's time to upgrade.

do i have to change os too? 

i think most of the users wants this mailing to be in
different form. i see no advantage of mailing list
compared to news group and i don't understand why are
you so tied to mailing list. 
i appreciate efforts of mailing list owners but
i think i am going to unsubscribe because mailing list
is to dificult to handle.


if anybody else agree with me, please write, and if
there is enough of us we can submit petiton to mailing
list owners requsting better quality of service.

dario

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



Unsubscribe successful!

2001-05-17 Thread Tew Tee Li

Hey guys,

  It works, thanks a zillion!!

TL



RE: AW: mailing list or news group??

2001-05-17 Thread Robert Wohlgemuth

Hi!

Mailinglists are very good, but if the amount of messages explode (like in
this mailing list) it should be considered to split the mailinglist into
several more specific ones:
e.g. tomcat + IIS
tomcat + apache (win)
tomcat + apache (linux)
tomcat + security

and so on.

I think this would improve the quality of service.

best regards,
r00bi

-Ursprungliche Nachricht-
Von: Dario Novakovic [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 17. Mai 2001 14:37
An: [EMAIL PROTECTED]
Betreff: Re: AW: mailing list or news group??



--- Ralph Einfeldt [EMAIL PROTECTED]
wrote:
 This topic has been discussed several times.


that means subscribers want it and it is time to
switch to news and web based forum is not bad idea


 The reasons you mention can be adressed
 by a proper organisation of the mail client:

 - Most clients are able to show the messages
   by thread.
 - Most clients are able to filter the messages in
   a way that all tomcat messages go in a separate
   folder.
 - Most clients are able to delete messages with
   a given age.

that is not a solution, sorting by thread is not
realiable if not useless in most of the mailclients.
storing in separate folder is allright but it takes
ages to process all mesage rules (filtering junk
included) just to pickup 500 messages everyday.


 If your client can't do that, it's time to upgrade.

do i have to change os too?

i think most of the users wants this mailing to be in
different form. i see no advantage of mailing list
compared to news group and i don't understand why are
you so tied to mailing list.
i appreciate efforts of mailing list owners but
i think i am going to unsubscribe because mailing list
is to dificult to handle.


if anybody else agree with me, please write, and if
there is enough of us we can submit petiton to mailing
list owners requsting better quality of service.

dario

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




RE: AW: mailing list or news group??

2001-05-17 Thread rday

that's not a bad cut - another way of slicing might be -

tomcat - config  install
tomcat - applications

It seems to me, that the cross-platform differences aren't enough to warrant
splitting it along those lines. That's if we want to do it that way.

My vote is for a Mailing list. Means that I ain't going to break out my
newsreader...

At 5/17/01 1:49:40 PM, Robert Wohlgemuth [EMAIL PROTECTED] wrote:
#  Hi!
#
#  Mailinglists are very good, but if the amount of messages explode (like in
#  this mailing list) it should be considered to split the mailinglist into
#  several more specific ones:
#  e.g. tomcat + IIS
#   tomcat + apache (win)
#   tomcat + apache (linux)
#   tomcat + security
#
#  and so on.
#
#  I think this would improve the quality of service.
#
#  best regards,
#   r00bi

Roger





Re: AW: mailing list or news group??

2001-05-17 Thread John Clark Naldoza y Lopez

Hassan Siddiqui wrote:
 
 I vote for a web-based forum - all you need is a web browser,
 which you all no doubt have or you wouldn't have subscribed
 to this forum in the first place!
 

I may have a web browser...  But I'm somewhat restricted in trying to
surf to websites...  Our internet connection over here is also rather
slow...

I vote for the Mailing list...;-)

-- 
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \



Recovering from oversize upload exception ?

2001-05-17 Thread James Noctor \(NC\)

Hi Tal ?

Sorry to bother you. I say your message posted (attached) about problems
trying to gracefully reject large uploaded files.

Did you find a solution ? (Only way we can provide graceful errors is to
read the whole file which defeats the purpose of limiting the file size...)

Hope you can help.

Regards,
Jim.


--=_NextPart_000_00EE_01C0823D.09719AF0
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit

RE: Session ProblemHello,

We are trying to use the Oreilly servlet package to service requests from a
form that is used to upload files. The form contains buttons, checkboxes,
radio buttons, and several 'file' fields.

When request size is larger than the max size we allow, the constructor

new MultipartParser(req, 10, true, true)

throws an exception, reporting about the size violation.

This is fine but when this happens, we cannot access the values of fields
and buttons that were submitted. This significantly reduce our ability to to
provide the user with a graceful error handling and all we can indicate in
the error message that the total request size was above the limit and any
setting of checkboxes and radio buttons is lost.

Are we missing something ? Any idea how to improve the error handling and to
recover field values ?

Thanks,

Tal

 -Original Message-
From: Mike Campbell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 11:37 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Session Problem


  Craig (or anyone),

   You might want to turn your thinking inside out on how to
   handle this problem
   :-).

  I came in on this discussion thread mid-strand, and have a question.  Your
code snipped on session handling made perfect sense, and really made the
session-handling issue finally click for me.  My question is about
timeouts; where is the timeout value set?

  Thanks




Re: Tomcat admin servlet

2001-05-17 Thread Kevin Pang

Add a line in tomcat-users.xml:
user name=name   password=password roles=admin /
use name/password to access
Regards,

Kevin

- Original Message -
From: Mark Papiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 3:20 PM
Subject: Tomcat admin servlet


 Hi,

 I read an earlier email about accessing the Tomcat admin servlet and just
 tried:

 http://myhost:port/admin

 This displays an admin screen. I then hit View All Contexts

 and I was prompted for login and entered a user/password that I had
entered
 in an admin role in tomcat-users.xml.

 Howerver when I enter my login/password I get:

 Error: 500
 Location: /admin/contextAdmin/contextAdmin.jsp
 You must mark the administration application as trusted


 Can someone help with this?

 Thanks
 Mark Papiani

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





Re: Attn: Roger - question about setting up Apache and Tomcat

2001-05-17 Thread HD


I'm not even sure how you got Apache to run with this
configuration (have you tried Apache.exe -t?). 

== Usually I double click the apache.exe file.  I
just tried your cmd the msg is: syntax OK, that's it.


Include
c:/hqbin/apache/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto
== Tomcat doesn't have to be installed under Apache
dir. right?  (just make sure)

LoadModule jk_module modules/mod_jk.dll

(notice that I've used .dll rather than so)
== Got this

I put the following 2 lines into httpd.conf file:

LoadModule jk_module modules/mod_jk.dll
Include c:\tomcat\conf\mod_jk.conf-auto

I have no idea about the rest, although you should
look at the line for the examples in the include file.

== I don't either but when I read the instructions in
the Tomcat website, I did what was there.

With the new setup, apache still doesn't talk to
tomcat.

One more thing, I put a dir named schart under
tomcat/webapps/ here I have my jsp files.
If I want to test Apache - Tomcat communication, I go
to http://localhost/schart/test.jsp, is this correct? 
The error log tells me that
c:/apache/htdocs/schart/test.jsp does not exist
I changed the DocumentRoot in the httpd.conf
file to point to C:/apache (the original point to
c:/apache/htdocs)

Thanks,
Thao



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



Re: Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread Antony Bowesman

[EMAIL PROTECTED] wrote:
 
 Hello,
 
 the error I posted in JDBCRealm/Tomcat do not not protect Web 
 Pages!?... is solved. Stupid I was I forgot to rename the *.html
 files to *.jsp. Tomcat obviously totally ignores the html-File and 
 doesn't protect it. Ok seems to work. But now when accessing the 
 protected source I get an error like this one:

Tomcat's behavious is strange re html files.  If one is protected via
url-pattern it redirects to the configured login form.  So, you type in
the user name/password but tomcat never calls the realm/authenticate()
method, it just then shows the html page regardless of what you type in
on the login form...



RE: Cookies

2001-05-17 Thread William Kaufman

(I'm not sure what this question has to do with cookies,...)

 I use JDBCRealm and I'd like to have the connection times out after a
 certain period of time. Currently, it seems that once you have logged
 in, as long as you don't exit from your browser, the servlets 
 can be run forever. Is there anything I can set in server.xml?

What exactly are you trying to time out--JDBCRealm's database connection, or
the servlet session, or the authenticated account?  (Your mention of
JDBCRealm confuses me,...)

1) The database connection won't be closed until some error occurs.

2) The servlet session has a time-out specified by
webapp/session-config/session-timeout in your web.xml file.

3) Authentication, I believe, is maintained by the browser, not the server,
and there's no way to tell the browser to discard its credentials.

Assuming you're only worried about access to your servlets (not static files
on your system), you could always use your own authentication (e.g., a login
form with the credentials stored as a session attribute) and bypass the
browser's authentication.

-- Bill K.



RE: Supid errors gone but another internal error with JDBC Realm

2001-05-17 Thread Ignacio J. Ortega

Please File a bug at http://nagoya.apache.org/bugzilla with this
behavior...

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Antony Bowesman [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 17 de mayo de 2001 15:50
 Para: [EMAIL PROTECTED]
 Asunto: Re: Supid errors gone but another internal error with 
 JDBC Realm
 
 
 [EMAIL PROTECTED] wrote:
  
  Hello,
  
  the error I posted in JDBCRealm/Tomcat do not not protect Web 
  Pages!?... is solved. Stupid I was I forgot to rename the *.html
  files to *.jsp. Tomcat obviously totally ignores the html-File and 
  doesn't protect it. Ok seems to work. But now when accessing the 
  protected source I get an error like this one:
 
 Tomcat's behavious is strange re html files.  If one is protected via
 url-pattern it redirects to the configured login form.  So, 
 you type in
 the user name/password but tomcat never calls the realm/authenticate()
 method, it just then shows the html page regardless of what 
 you type in
 on the login form...
 



Re: Re[2]: Tomcat standalone with SSL

2001-05-17 Thread Kevin Pang

I tried your solution, the same with before, my steps : (RH7,
openssl0.9.5.a,Tomcat3.2.1,JDK1.3)
1. keytool -genkey -alias tomcat -keyalg RSA
2. openssl req -new -out REQ.pem -keyout KEY.pem
3. openssl req -x509 -in REQ.pem -key KEY.pem -out CERT.pem
4. openssl pkcs8 -topk8 -nocrypt -in KEY.pem -out KEY.der -outform der
5. openssl x509 -in CERT.pem -out CERT.der -outform der
6. java ImportKey KEY.der CERT.der
7. Modified server.xml and java.security, copy JSSE 3 Jars to
tomcat_home/lib,
no any error message display, when startup, a new message in console:
  PoolTcpConnector: Starting HttpconnectionHandler on 8443
Anything wrong? thank you very much.

Rgds,
Kevin


- Original Message -
From: Wolfgang Mutter [EMAIL PROTECTED]
To: Tim O'Neil [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 7:40 PM
Subject: Re[2]: Tomcat standalone with SSL


 Hi,

 with an self-signed cert there is no problem ! The problem is the CA
 so give an try to our free program. The program converts the CA files
 into an DER format and then stores it into the keystore. Then the
 tomcat standalone works fine. We use this solution for three server
 without any problems !
 http://www.comu.de/docs/tomcat_ssl.htm

 Wednesday, May 16, 2001, 5:18:39 PM, you wrote:

 I set up the Tomcat standalone with SSL support according to the
user-guild
 with many people's help on this list, only difference is I didn't do:
 keytool -genkey -alias tomcat -keyalg RSA
 
 Now I can see a new message: PoolTcpConnector: Starting
 HttpconnectionHandler on 8443 when startup. But can't find other
 information about using SSL on Tomcat, how to know if SSL is OK? what
should
 I do then? what's the difference with before?  Help, please.
 Kevin

  Don't know. I never got that message. All I can tell you
  is I have tomcat running as a standalone server with
  a self-signed cert here. I went to Apache + tomcat with a
  CA cert later.

 Yours
 Wolfgang Mutter






Servlets and JSP sharing ONE context

2001-05-17 Thread dmolinier

Hi everybody.

Could someone explain me HOW to configure Tomcat (server.xml and tomcat.conf) 
so that JSPs and servlets share the same context ?

BTW, I would like my files not to be located in .../tomcat/webapps directory.

Thanks in advance.

-- 
David



server.xml context port from 3.2.1 to 3.3

2001-05-17 Thread samuel . eaves



I have a question.  I've had to install Tomcat 3.3 to get around a bug I
encountered while building mod_jk.  I had a simple context set up in server.xml
on an NT box running Tomcat 3.2.1.  I would like assistance in converting the
3.2.1 context to a 3.3 context.





RE: AW: mailing list or news group??

2001-05-17 Thread Cox, Charlie
Title: RE: AW: mailing list or news group??





I vote for the mail list because I keep many messages with good explainations that I don't always remember the exact wording of. this way I can search in my local archive and not have to search the entire tomcat archive. it would be difficult to for me to try to find these messages again in the archives. Saving data from webpages is a pain. I don't want 500 .html files on my machine, and just keeping a list of urls(or thread numbers) doesn't help much.

I do have many filters set up that send messages like 'unsubscribe' and 'InterScan' to the trash, and others to topic folders such as 'servlets', 'sessions', 'iis', etc. Since I do not use *nix, I send all those messages to the trash. This makes the list much more manageable since it keeps messages of a thread together and discards messages that I know I have no interest in or knowledge about.

my $.02
Charlie


-Original Message-
From: John Clark Naldoza y Lopez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 9:23 AM
To: [EMAIL PROTECTED]
Subject: Re: AW: mailing list or news group??



Hassan Siddiqui wrote:
 
 I vote for a web-based forum - all you need is a web browser,
 which you all no doubt have or you wouldn't have subscribed
 to this forum in the first place!
 


I may have a web browser... But I'm somewhat restricted in trying to
surf to websites... Our internet connection over here is also rather
slow...


I vote for the Mailing list...;-)


-- 
 /) John Clark Naldoza y Lopez (\
 / ) Software Design Engineer II ( \
 _( (_ _ Web-Application Development _) )_
(((\ \ /_ Cable Modem Network Management System _\ / /)))
( \_/ / NEC Telecom Software Phils., Inc. \ \_/ )
 \ / \ /
 \ _/ phone: (+63 32) 233-9142 loc. 3112 \_ /
 / / cellphone: (+63 919) 399-4742 \ \
 / / email: [EMAIL PROTECTED] \ \





Re: Homepage

2001-05-17 Thread Daniel de Almeida Alvares

Becareful guys !!
This is a virus 
I?m right that was not known!
REgards 
Daniel
___
Daniel de Almeida Alvares
Santos - SP - Brasil
[EMAIL PROTECTED]

- Original Message - 
From: ALex Loubyansky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 15, 2001 12:32 PM
Subject: Homepage


 
 Hi!
 
 You've got to see this page! It's really cool ;O)
 
 




Re: Tomcat admin servlet

2001-05-17 Thread Mark Papiani

Thanks Kevin, but I already have this in the tomcat-users.xml:

user name=admin  password=admin  roles=admin,tomcat /


The admin servlet still reports:


2001-05-17 03:19:39 - Ctx( /admin ): 500 R( /admin + 
/contextAdmin/contextAdmin.jsp + null) You must mark the administration 
application as trusted

How do I mark the admin server as trusted?

Thanks
Mark




From: Kevin Pang [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat admin servlet
Date: Thu, 17 May 2001 15:28:48 +0200

Add a line in tomcat-users.xml:
user name=name   password=password roles=admin /
use name/password to access
Regards,

Kevin

- Original Message -
From: Mark Papiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 3:20 PM
Subject: Tomcat admin servlet


  Hi,
 
  I read an earlier email about accessing the Tomcat admin servlet and 
just
  tried:
 
  http://myhost:port/admin
 
  This displays an admin screen. I then hit View All Contexts
 
  and I was prompted for login and entered a user/password that I had
entered
  in an admin role in tomcat-users.xml.
 
  Howerver when I enter my login/password I get:
 
  Error: 500
  Location: /admin/contextAdmin/contextAdmin.jsp
  You must mark the administration application as trusted
 
 
  Can someone help with this?
 
  Thanks
  Mark Papiani
 
  
_
  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
 
 

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




Re: Attn: Roger - question about setting up Apache and Tomcat

2001-05-17 Thread rday


At 5/17/01 2:44:56 PM, HD [EMAIL PROTECTED] wrote:
#  I'm not even sure how you got Apache to run with this
#  configuration (have you tried Apache.exe -t?).
#
#  == Usually I double click the apache.exe file.  I
#  just tried your cmd the msg is: syntax OK, that's it.
#
#
#  Include
#  c:/hqbin/apache/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto
#  == Tomcat doesn't have to be installed under Apache
#  dir. right?  (just make sure)

That's just my configuration. And - my mistake - it should be

c:\tomcat\conf\mod_jk.conf

-auto means it's auto-generated doh!

#  LoadModule jk_module modules/mod_jk.dll
#
#  (notice that I've used .dll rather than so)
#  == Got this
#
#  I put the following 2 lines into httpd.conf file:
#
#  LoadModule jk_module modules/mod_jk.dll

That's also in the mod_jk.conf file - why don't you just look at the file?

#  Include c:\tomcat\conf\mod_jk.conf-auto
#
#  I have no idea about the rest, although you should
#  look at the line for the examples in the include file.
#
#  == I don't either but when I read the instructions in
#  the Tomcat website, I did what was there.
#
#  With the new setup, apache still doesn't talk to
#  tomcat.

I bet it does. Try this:

http://localhost/examples/jsp/

and clicking on the examples there

#  One more thing, I put a dir named schart under
#  tomcat/webapps/ here I have my jsp files.
#  If I want to test Apache - Tomcat communication, I go
#  to http://localhost/schart/test.jsp, is this correct?
#  The error log tells me that
#  c:/apache/htdocs/schart/test.jsp does not exist
#  I changed the DocumentRoot in the httpd.conf
#  file to point to C:/apache (the original point to
#  c:/apache/htdocs)

Roger





Re: AW: mailing list or news group??

2001-05-17 Thread Mark Mynsted

No problem. 
But I am not the owner of Jakarta Tomcat.  I believe that the owner(s) should put this 
in SourceForge if they like the idea.  That way they can implement what ever parts, 
including no parts, of SourceForge they believe would be consistent with their mission.

Sincerely yours;

Mark Mynsted



VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592

 [EMAIL PROTECTED] 5/17/2001 9:03:52 AM 
Hi Mark and the gang!

I vote for a FAQ. While I find that this list is quite well-behaved as
to signal-to-noise, there's also a problem with recurrent questions. So,
the traffic is uncomfortably high.

The advantage of a mailing list is that people in the know lurk around
and you get qualified answers. On a newsgroup, you get lots of free-porn
messages. On a forum, you get a sore finger.

But anyhow, you don't have to trust my opinion or tastes. This is open
source: if you like the idea, go ahead and make the web forum! I'm sure
we'd all be happy if it served us novice users.

Un saludo,

Alex.

Mark Mynsted wrote:
 
 I also vote for a web-based forum.  (Such as those provided for free at SourceForge).
 
 Sincerely yours;
 
 Mark Mynsted
 
 VHA Management Information Systems Client Services
 [EMAIL PROTECTED] 
 (972) 830 - 0592, Internal x1592
 
  [EMAIL PROTECTED] 5/17/2001 8:10:12 AM 
 I vote for a web-based forum - all you need is a web browser,
 which you all no doubt have or you wouldn't have subscribed
 to this forum in the first place!
 
 Dario Novakovic wrote:
 
  if anybody else agree with me, please write, and if
  there is enough of us we can submit petiton to mailing
  list owners requsting better quality of service.
 
 
 --
  Hassan Siddiqui  ESA/SCI/SAX
  Tel:   +31-(0)71-565 5899Room Dd 015, ESTEC
  Fax:   +31-(0)71-565 4690PO Box 299, 2200 AG Noordwijk
  http://astro.estec.esa.nlThe Netherlands




RE: Apache, Struts, .conf files

2001-05-17 Thread Dante le Poole

Replace the ApJServMount statements with JkMount statements in the
generated tomcat-apache.conf file (and replace any other JServ
statements with their mod_jk equivalents). 
That did it for me.

Dante

::-Original Message-
::From: [EMAIL PROTECTED]
::[mailto:[EMAIL PROTECTED]]On
::Behalf Of DHarty
::Sent: Wednesday, May 16, 2001 5:43 PM
::To: [EMAIL PROTECTED]
::Subject: Apache, Struts, .conf files
::
::
::Help,
::
::I am trying to install the struts framework examples on my apache1.3.19 /
::tomcat3.2.1 setup.
::
::I have followed the directions included with struts (relevent instruction
::listed at end of email
::
::When I try to start the Apache service (tomcat is already running), I get an
::internal Windows NT error
::
::If I remove the
::
::  include d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf
::
::line, apache starts, but does not recognize *.do files as appended to the
::modified tomcat-apache.conf file.
::
::I have tried skipping step 7 (modifiing the tomcat-apache.conf file) with
::the same result.
::
::I have also tried different iterations of removing, altering the line that
::referneces mod_jk:
::
::  include d:/web/tomcat/conf/mod_jk.conf-auto
::
::ex:
::  include d:/web/tomcat/conf/mod_jk.conf-auto
::d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf
::
::with and without the tomcat-apache.conf line.
::
::I have even tried pointing the include line to the origional (unmolested)
::tomcat-apache.conf file in the tomcat path.
::
::Please tell me I am missing something obvious.
::
::
::
::D
::
::Struts instructions:
::
::--
::
::
::This document contains notes that have been accumulated on getting the
::Struts
::applications (documentation and example) running in a variety of servlet
::container environments.
::
::For most containers, you need only to:
::
::1: Copy the WAR files in your Struts  /webapp  directory to your
::containers
::   webapps  directory.
::
::2: In some cases, you may need to restart your container if it is running.
::
::
::* Tomcat 3.1+ with Apache - Additional steps provided below.
::
::
::TOMCAT 3.1 (OR LATER) WITH APACHE
::-
::
::* These instructions assume you have successfully integrated
::  Tomcat with Apache according to the Tomcat documentation.
::
::3* Copy struts-documentation.war and struts-example.war
::  to your $TOMCAT_HOME/webapps directory
::
::4* Restart Tomcat if it is already running
::
::5* Tomcat will generate a file $TOMCAT_HOME/conf/tomcat-apache.conf
::  that will be used by Apache.  This file is regenerated every time
::  you start Tomcat, so copy this file to a safe place (such as
::  your Apache configuration directory; on Unix systems this is usually
::  /usr/local/apache/conf.
::
:: (I SKIPPED STEP 6)
::6*If you are running Tomcat 3.1, Tomcat will not have generated the
::  entries for your new applications.  Add the following lines to the
::  tomcat-apache.conf file that you have saved, replacing
::  $TOMCAT_HOME with the path to your Tomcat home directory:
::
::Alias /struts-documentation
::$TOMCAT_HOME/webapps/struts-documentation
::Directory $TOMCAT_HOME/webapps/struts-documentation
::  Options Indexes FollowSymLinks
::/Directory
::ApJServMount /struts-documentation/servlet /struts-documentation
::Location /struts-documentation/WEB-INF/
::  AllowOverride None
::  deny from all
::/Location
::
::Alias /struts-example $TOMCAT_HOME/webapps/struts-example
::Directory $TOMCAT_HOME/webapps/struts-example
::  Options Indexes FollowSymLinks
::/Directory
::ApJServMount /struts-example/servlet /struts-example
::Location /struts-example/WEB-INF/
::  AllowOverride None
::  deny from all
::/Location
::
::7* On all versions of Tomcat, the generated file above does not
::  know anything about extension mappings defined in a web.xml file,
::  so the *.do URIs that go to the controller servlet will not be
::  recognized.  To fix this, add the following line to the saved
::  version of tomcat-apache.conf, after the corresponding line
::  for the .jsp extension:
::
::AddHandler jserv-servlet .do
::
::8* Ensure that the saved version of tomcat-apache.conf is referenced
::  in your Apache httpd.conf configuration file.  A typical use would
::  have the following line at the bottom of httpd.conf:
::
::Include /usr/local/apache/conf/tomcat-apache.conf
::
::  (I used: include d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf)
::
::9* In order to recognize index.jsp as a default page for web
::  applications, search in your httpd.conf for a DirectoryIndex
::  directive.  If you have one, add index.jsp to the end of the
::  list, so that it might look like this:
::
::DirectoryIndex index.html index.jsp
::
::  If you do not have such an entry, add one like this:
::
::DirectoryIndex index.jsp
::
::10* Restart Apache to make it aware of the new applications.  You 

Re: servlet chaining, session null

2001-05-17 Thread Bo Xu

[EMAIL PROTECTED] wrote:

 Hi, i'm trying to use Servlet chaining with three servlets. In the first one
 i create a cession (if it doesn't exist), in the second one i put some
 attributes in the cession. But when i arrive in the third servlet, my
 session is null?
 As anybody already had this problem ?

 Is it possible to get the path of the servlet who called the last one ?
 I mean if i am in the ith servlet, how can i get the path of the (i-1)th
 servlet ?
 [...]

Hi :-)  I am not sure, I just suggest you to notice:

- do you use cookie or url-rewritting or other to make your session-tracking?
  if you are using url-rewritting, don't forget to use
  HttpServletResponse.encodeURL/encodeRedirectURL  to encode the
  URL(make a new URL which includes the JSESSIONID), I guess it
  is also possible to add JSESSIONID by myself with HttpSession.getId()

- from several emails, HttpSession is within a special webapp, so if in your
  Servlet-chain, you go to another Servlet-class which is in another webapp,
  now perhaps another new session will/need-to be made.


Bo
may.17, 2001





Connection pooling

2001-05-17 Thread Magnus Jansson

I've seen that there is a connection pooling thing under the jakarta project.

Is that good?





test (please ignore) ???????????????????????????

2001-05-17 Thread majid nakit


test



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




RE: Preserving single quotes

2001-05-17 Thread Cox, Charlie
Title: RE: Preserving single quotes





My guess is that you inserted quotes copied from Microsoft Word. Word repaces normal single quotes with smart quotes(their term, not mine). This is some value that is not resolved by a lot of applications(notepad,xml/xsl,etc),although XMLSpy seemed to know what it was but wouldn't change it, even though it would show up as escape chars in my xml document. 

You can disable them in the auto-format section and also in the auto-format as you type section under tools-autoformat. I wish there was an 'undo useless formatting enabled by default', but I couldn't find it.

now to get rid of them, you must (after disablind autoformat) replace all ' with ' and you will have normal quotes again. Same with , the ellipse(...), and other autoformat characters (smiley faces, etc).

now you can re-insert your data to your database. 


It took us a while to figure out that word was the culprit.


hope this helps
Charlie


-Original Message-
From: Venkat [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 2:22 AM
To: [EMAIL PROTECTED]
Subject: Preserving single quotes



Hi all


Forgive me if it's a repeated post since I could not get adequate info. from
the archives. I'm facing a problem which most of you might have encountered
and solved. Please provide a solution to this: I'm able to insert all
specials characters into my MSSQL tables using PreparedStatement interface
but when I read the same data using a CachedRowSet class or normal ResultSet
class, everything works fine except single quotes which are displayed as '?'


Please suggest me a work around to this


Thank you all


venkat




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





Tomcat 4/Apache combination

2001-05-17 Thread Laurens Fridael



Hi,

Can anyone comment 
on the stability of the Tomcat 4 / Apache combination? Do the Apache module and 
the Tomcat 4 connector work well enough for production use? I know Tomcat 4 is 
still in beta state, but I'm willing to take the risk.The Servlet 2.3 Filter 
feature will be a great time-saver for my current project.

Thanks
-Laurens


question about configuring tomcat with apache

2001-05-17 Thread John Paca

Is there any way to configure tomcat so that it opens the apache web server
instead of the other way around?

The reason I ask is that for security reasons we would like to put the
apache web server on one NT and have tomcat run on another with a firewall
between the 2.  It would be more secure if we could have the tomcat server
open the apache web server (through the firewall) than the other way around.

Is there a way to do this?

John Paca
Engineering Director
USAN
[EMAIL PROTECTED]








Has anybody resolved no-refresh of servlets?

2001-05-17 Thread Mark Mynsted

Has anybody resolved why servlets do not seem to be refreshed when the reloadable=true 
flag is on for a context?

I have the reloadable flag set to true for a context.  When my JSPs change they are 
reloaded.  When my Serlvets change, they are NOT reloaded.  Why? What do I need to do?

Sincerely yours;

Mark Mynsted



VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592




Re: Homepage

2001-05-17 Thread Martin Mauri

Yes, I also notified it...

 Becareful guys !!
 This is a virus 
 I?m right that was not known!
 REgards 
 Daniel
 ___
 Daniel de Almeida Alvares
 Santos - SP - Brasil
 [EMAIL PROTECTED]
 
 - Original Message - 
 From: ALex Loubyansky [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, May 15, 2001 12:32 PM
 Subject: Homepage
 
 
  
  Hi!
  
  You've got to see this page! It's really cool ;O)
  
 




RE: FORM-based login questions

2001-05-17 Thread Kevin HaleBoyes

Thanks for your help.

I've been browsing the archives for this list and have noticed that the
question about the mis-redirect from the direct-access to the login.jsp
comes up fairly often.  I'm wondering (haven't tried anything yet) if I
can set up the redirection manually if the login page is accessed directly.
Maybe by adding an appropriate header field in the request...
I wonder if Sun lurks on this list and acts on any of these (seemingly)
short comings?

I looked at the Tomcat source code for an answer about protecting
the login.jsp file/form itself.  Tomcat serves it up even if it is in a
protected url path.  I haven't tried it but I think that's what the code
says.

Thanks again for your help.
Kevin.


-Original Message-

Date: Wed, 16 May 2001 14:50:36 -0700
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
From: JULIEN,TIMOTHY (HP-NewJersey,ex2) [EMAIL PROTECTED]
Subject: RE: FORM-based login questions
Message-ID: [EMAIL PROTECTED]

1. You are right that the spec doesn't say what to do when a login form is
accessed directly.  This is why Tomcat doesn't know what to do.  Two things:

a) don't let users access login form directly.  Not sure what happens in
Tomcat if you protect the login form.  At least you can remove all links to
the login form in your app.  This is actuallythe point behind login forms -
so you don't have to worry about it in your app, it just happens by magic.
b) the spec needs to change to handle the case where a login form is
directly accessed by a client.  My personal view is a welcome file should be
returned.  If there isn't one, then a 404 should occur.

2. there is no logout mechanism in Servlet.  Your solution is i think good.

3. you could use a filter that runs before every servlet which does this
work for you

-Original Message-



Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Difficult question Urgent!!!

2001-05-17 Thread mohamed imdadullah


Hhi all,

I have Tomcat running under apache, i have been able to have same 
authentication for both apache (serving perl) and tomcat(serving jsp).

The problem is , after authenticating user in jsp, i need to get the user 
name of the person who has logged in to make further queries with the 
database.

I dunno how it is done, i dont even know whether it could could be retrieved 
from the http session.

iam pretty sure that the user name can be extracted as the apache maintains 
a different session for the perl part and another for the jsp part

any ideas would be appreciated

regards

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




No mod_jk.so?

2001-05-17 Thread TWR - Hauptuser

Hi,

why is there no mod_jk.so in the jakarta-3.2.2b5 directory, but mod_jk.dll 
and for Netware, OS which are VERY freely distributable ;-)? I tried the 
former mod_jk.so for 3.1.1 but it seems not to work (Internal server 
error...). Where can I get a mod_jk.so?

Regards
   Thomas



Re: Application with distributed resources

2001-05-17 Thread Bip Thelin

On Thu, 17 May 2001, Twylite wrote:

 [...]

 1. Sessions are not shared between servers.  Although I do not store any information 
in sessions (at this stage, 
 at least), I need to transfer a user's identity and roles between servers.  At the 
moment a redirection to another 
 server means the user have to log in again, which is obviously unacceptable.

There is VERY experimental work made on Clustering servers and the ability to
replicate sessions in memory. However you have to run your tomcat's with
a frontend, i.e. a network dispatcher. I'm not sure if this is what you
want to do. However it's not heavily tested and considered highly
experimental, and did I mention it's for Tomcat 4.x only.

However if you do wanna try this out I can tell you howto set it up and enable
it since it's not a documented feature.

..bip





A Servlet Exception Has Occurred

2001-05-17 Thread Bruno Crapart

I have tried to upgrade all my system to Tomcat4, JDK1.3.1, JSDK1.3
Here is the result,
Wrong java file is created from jsp file 
It worked fine with past versions of Tomcat JDK and JSDK

A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\tomcat\bin\..\work\localhost\egc\carriersite\code_jsp.java:62:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error

Help please



Re: Attn: Roger - question about setting up Apache and Tomcat

2001-05-17 Thread HD

Roger,

I don't know why the instruction on the Tomcat website
include the mod_jk.conf-auto.  
Since I don't know much about it, so I just followed
exactly what they instructed.  

I bet it does. Try this:

http://localhost/examples/jsp/
== don't know why it doesn't. That's why I need help.

I just reinstalled my Apache and Tomcat.
What I changed is below, please check if I'm right:

- Put the line: Include c:\tomcat\conf\mod_jk.conf
in httpd.conf 

- Changed mod_jk:
LoadModule jk_module modules/mod_jk.dll

IfModule mod_jk.c

JkWorkersFile c:/tomcat/conf/workers.properties
JkLogFile  logs/jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /* ajp12
/IfModule

- I see this in tomcat-apache file:
LoadModule jserv_module modules/ApacheModuleJServ.dll
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice

ApJServDefaultPort 8007

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /examples C:/tomcat/webapps/examples
Directory C:/tomcat/webapps/examples
Options Indexes FollowSymLinks
/Directory
ApJServMount /examples/servlet /examples

== I think I should change here too, since it's
looking for Jserv, I changed all ApJserv with Jk, and
other things relate to mod_jk, this is a guess. 

After all, nothing's working :((( 

Sorry to bother you but I must get this work.  Don't
know if I miss changing something else.


I appreciate your time!
Thao





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



RE: Tomcat 4/Apache combination

2001-05-17 Thread Bruno Crapart



The 
same for me ! I am confident with Jakarta
But i 
encounter one problem below :

A Servlet Exception Has Occurredorg.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\bin\..\work\localhost\egc\carriersite\code_jsp.java:62: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
 ^
1 error

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:523)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:175)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:187)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:453)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:254)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:194)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:255)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:225)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2252)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:875)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:952)
	at java.lang.Thread.run(Thread.java:484)


  -Message d'origine-De: Laurens Fridael 
  [mailto:[EMAIL PROTECTED]]Envoyé: jeudi 17 mai 2001 
  17:00À: [EMAIL PROTECTED]Objet: 
  Tomcat 4/Apache combination
  Hi,
  
  Can anyone comment 
  on the stability of the Tomcat 4 / Apache combination? Do the Apache module 
  and the Tomcat 4 connector work well enough for production use? I know Tomcat 
  4 is still in beta state, but I'm willing to take the risk.The Servlet 2.3 
  Filter feature will be a great time-saver for my current 
  project.
  
  Thanks
  -Laurens


RE: servlet chaining, session null

2001-05-17 Thread SAMEUNIE

Well,

all my servlets are on the same webapps.
I don't use the url rewriting, but the HttpSession.

for example in the first servlet: 
HttpSession session = request.getSession(false);
if (session == null)
 session = request.getSession(true);
session.setAttribute(path1,request.getServletPath());
RequestDispatcher dispatch =
this.getServletContext().getRequestDispatcher(/servlet/chaining.Servlet2);
dispatch.forward(request,response);

in Servlet2
HttpSession session = request.getSession(false);
session.setAttribute(path2,request.getServletPath());
RequestDispatcher dispatch =
this.getServletContext().getRequestDispatcher(/servlet/chaining.Servlet3);
dispatch.forward(request,response);

I do the same in the third servlet, but when i test my session, it's  null.

That's funny, but it only happen the first time i send the request, the
second time, everything works fine !!!


Strange !!!





 -Message d'origine-
 De:   Bo Xu [SMTP:[EMAIL PROTECTED]]
 Date: jeudi 17 mai 2001 16:29
 À:[EMAIL PROTECTED]
 Objet:Re: servlet chaining, session null
 
 [EMAIL PROTECTED] wrote:
 
  Hi, i'm trying to use Servlet chaining with three servlets. In the first
 one
  i create a cession (if it doesn't exist), in the second one i put some
  attributes in the cession. But when i arrive in the third servlet, my
  session is null?
  As anybody already had this problem ?
 
  Is it possible to get the path of the servlet who called the last one ?
  I mean if i am in the ith servlet, how can i get the path of the (i-1)th
  servlet ?
  [...]
 
 Hi :-)  I am not sure, I just suggest you to notice:
 
 - do you use cookie or url-rewritting or other to make your
 session-tracking?
   if you are using url-rewritting, don't forget to use
   HttpServletResponse.encodeURL/encodeRedirectURL  to encode the
   URL(make a new URL which includes the JSESSIONID), I guess it
   is also possible to add JSESSIONID by myself with HttpSession.getId()
 
 - from several emails, HttpSession is within a special webapp, so if in
 your
   Servlet-chain, you go to another Servlet-class which is in another
 webapp,
   now perhaps another new session will/need-to be made.
 
 
 Bo
 may.17, 2001
 



Re: tomcat-user

2001-05-17 Thread Mark Mynsted

I doubt any IBMers will comment.  ;-)

Sincerely yours;

Mark Mynsted



VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592

 [EMAIL PROTECTED] 5/17/2001 10:18:11 AM 
At 04:01 PM 5/17/2001 +0100, George wrote:
  I am a partially happy OS/2 user. I'v got the Apache 1.3.19 server
(even with SSL), and it works fine (Great!).

Didn't IBM kill the OS/2 code tree?






Thanks RE: Apache, Struts, .conf files

2001-05-17 Thread DHarty

Thanks Dante!

Your email made me realize that the struts instructions assume that your
using JServ and not mod_jk

D







-Original Message-
From: Dante le Poole [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Apache, Struts, .conf files


Replace the ApJServMount statements with JkMount statements in the
generated tomcat-apache.conf file (and replace any other JServ
statements with their mod_jk equivalents).
That did it for me.

Dante

::-Original Message-
::From: [EMAIL PROTECTED]
::[mailto:[EMAIL PROTECTED]]On
::Behalf Of DHarty
::Sent: Wednesday, May 16, 2001 5:43 PM
::To: [EMAIL PROTECTED]
::Subject: Apache, Struts, .conf files
::
::
::Help,
::
::I am trying to install the struts framework examples on my apache1.3.19 /
::tomcat3.2.1 setup.
::
::I have followed the directions included with struts (relevent instruction
::listed at end of email
::
::When I try to start the Apache service (tomcat is already running), I get
an
::internal Windows NT error
::
::If I remove the
::
::  include d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf
::
::line, apache starts, but does not recognize *.do files as appended to the
::modified tomcat-apache.conf file.
::
::I have tried skipping step 7 (modifiing the tomcat-apache.conf file) with
::the same result.
::
::I have also tried different iterations of removing, altering the line that
::referneces mod_jk:
::
::  include d:/web/tomcat/conf/mod_jk.conf-auto
::
::ex:
::  include d:/web/tomcat/conf/mod_jk.conf-auto
::d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf
::
::with and without the tomcat-apache.conf line.
::
::I have even tried pointing the include line to the origional (unmolested)
::tomcat-apache.conf file in the tomcat path.
::
::Please tell me I am missing something obvious.
::
::
::
::D
::
::Struts instructions:
::
::--
::
::
::This document contains notes that have been accumulated on getting the
::Struts
::applications (documentation and example) running in a variety of servlet
::container environments.
::
::For most containers, you need only to:
::
::1: Copy the WAR files in your Struts  /webapp  directory to your
::containers
::   webapps  directory.
::
::2: In some cases, you may need to restart your container if it is running.
::
::
::* Tomcat 3.1+ with Apache - Additional steps provided below.
::
::
::TOMCAT 3.1 (OR LATER) WITH APACHE
::-
::
::* These instructions assume you have successfully integrated
::  Tomcat with Apache according to the Tomcat documentation.
::
::3* Copy struts-documentation.war and struts-example.war
::  to your $TOMCAT_HOME/webapps directory
::
::4* Restart Tomcat if it is already running
::
::5* Tomcat will generate a file $TOMCAT_HOME/conf/tomcat-apache.conf
::  that will be used by Apache.  This file is regenerated every time
::  you start Tomcat, so copy this file to a safe place (such as
::  your Apache configuration directory; on Unix systems this is usually
::  /usr/local/apache/conf.
::
:: (I SKIPPED STEP 6)
::6*If you are running Tomcat 3.1, Tomcat will not have generated the
::  entries for your new applications.  Add the following lines to the
::  tomcat-apache.conf file that you have saved, replacing
::  $TOMCAT_HOME with the path to your Tomcat home directory:
::
::Alias /struts-documentation
::$TOMCAT_HOME/webapps/struts-documentation
::Directory $TOMCAT_HOME/webapps/struts-documentation
::  Options Indexes FollowSymLinks
::/Directory
::ApJServMount /struts-documentation/servlet /struts-documentation
::Location /struts-documentation/WEB-INF/
::  AllowOverride None
::  deny from all
::/Location
::
::Alias /struts-example $TOMCAT_HOME/webapps/struts-example
::Directory $TOMCAT_HOME/webapps/struts-example
::  Options Indexes FollowSymLinks
::/Directory
::ApJServMount /struts-example/servlet /struts-example
::Location /struts-example/WEB-INF/
::  AllowOverride None
::  deny from all
::/Location
::
::7* On all versions of Tomcat, the generated file above does not
::  know anything about extension mappings defined in a web.xml file,
::  so the *.do URIs that go to the controller servlet will not be
::  recognized.  To fix this, add the following line to the saved
::  version of tomcat-apache.conf, after the corresponding line
::  for the .jsp extension:
::
::AddHandler jserv-servlet .do
::
::8* Ensure that the saved version of tomcat-apache.conf is referenced
::  in your Apache httpd.conf configuration file.  A typical use would
::  have the following line at the bottom of httpd.conf:
::
::Include /usr/local/apache/conf/tomcat-apache.conf
::
::  (I used: include d:/web/apache_1.3.19/Apache/conf/tomcat-apache.conf)
::
::9* In order to recognize index.jsp as a default page for web
::  applications, search in your httpd.conf for a DirectoryIndex
::  directive.  If 

Creatying java file

2001-05-17 Thread Bruno Crapart

From jsp file, who is creating Java file ? (under work folder)
My problem is that this creator is doing a bad job under Tomcat4.0 !

Bruno





-Message d'origine-
De : John Paca [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 17 mai 2001 17:05
À : [EMAIL PROTECTED]
Objet : question about configuring tomcat with apache


Is there any way to configure tomcat so that it opens the apache web server
instead of the other way around?

The reason I ask is that for security reasons we would like to put the
apache web server on one NT and have tomcat run on another with a firewall
between the 2.  It would be more secure if we could have the tomcat server
open the apache web server (through the firewall) than the other way around.

Is there a way to do this?

John Paca
Engineering Director
USAN
[EMAIL PROTECTED]







Re: Creatying java file

2001-05-17 Thread Bip Thelin

On Thu, 17 May 2001, Bruno Crapart wrote:

 My problem is that this creator is doing a bad job under Tomcat4.0 !

Read my previous mail, I would think that there is no problem with your
creator.

..bip





Tomcat Socket Error

2001-05-17 Thread Jaimes Blunt
Title: Tomcat Socket Error





Hi guys,


I was wondering if someone could help me. I am using Tomcat as a standalone middleware server, that basically manages connections to a remote system, and parses all data received. I have started getting weird error messages as mroe people begin to access my servlets. You can find the error message below. I was wondering if anyone else was encountering these kinds of errors, and if so, what they may have done to solve it.

Thanks a bunch


Jaimes Blunt


Here is the error:
2001-05-17 10:39:44 - ContextManager: SocketException reading request, ignored -
java.net.SocketException: Connection reset by peer: JVM_recv in socket input st
ream read
 at java.net.SocketInputStream.socketRead(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:86)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
 at org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestAdapter.java:115)
 at org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:106)
 at org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:128)
 at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138
)
 at org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpRequestAdapter.java:129)
 at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:195)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)





Re: passing quotes in html

2001-05-17 Thread Christoph Kukulies

On Thu, May 17, 2001 at 05:43:36PM +0200, Christoph Kukulies wrote:
 
 Sorry that this is not directly tomcat related but in the course of 
 writing a jsp/servlet application I came across the problem
 that I'm generating a FORM which contains 
 something like:
 
 fprintf(yyout,input type=\hidden\ name=line%d value=\%s\\n,p,s);
 
 But string s can contain  quotes. In order to have the quotes later
 appear in the html page, what do I have to do to quote the quotes?

Dumb question. *withdrawn*
(inserted #34; for the quotes).
 
 -- 
 Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]



inserted line feeds in concatenated strings

2001-05-17 Thread Christoph Kukulies


I'm seeing different browser behaviour between unix netscape
vs. Windows (NT) Netscape or MSIE.

I'm generating a page with text between PRE.../PRE.
The text is generated via out.println(text + , + number);
and I get a line break after 'text' while under Unix browsers I don't
get a line break.

Any idea?
-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]



Virtual Hosting and security

2001-05-17 Thread Renato Weiner
Hi all,
I know this is a quite common subject but I didn't find any ultimate answer. In a shared hosting environment, how can I prevent clientX to read files from clientY ? 
- java.policy doesn't cover this. If I use grant codeBase 'file:/...' or 'http://', it doesn't work.
- can I override SecurityManager ? If so, how can I know which JSP/Servlets is trying to read a file ? ( inside the methgd checkRead I now the file... If I know the absolute path I can compare the location of the reader and the file being read ) 
Did anybody make a secure shared-hosting environment 
I do not want to use a private JVM for each client, because it's too expensive.
Thanks in advance
Renato - Brazil.
Do You Yahoo!?
Yahoo! Auctions $2 Million Sweepstakes  -  Got something to sell?

RE: Static filed reference BUG since( Tomcat 4b2-b5)

2001-05-17 Thread Randy Layman


There is a difference between adding to the classpath and importing.
The class path helps the JVM find the .class file for a particular class.
The import statements allow a developer to use the short class-only name
(i.e. Vector) instead of the fully qualified class name (i.e.
java.util.Vector).  These are two entirely different concepts and one really
has not bearing on the other.

Randy

 -Original Message-
 From: Andrew [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 17, 2001 11:54 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Static filed reference BUG since( Tomcat 4b2-b5)
 
 
 Thanks a lot, it works! But I was thinking that tomcat 
 4b1 import(add to
 classpath) all the classes for every .JSP from WEB-INF\classes.
 Is it reasonable(why WEB-INF\classpath dir)?
 
 - Original Message -
 From: Randy Layman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 3:26 PM
 Subject: RE: Static filed reference BUG since( Tomcat 4b2-b5)
 
 
 
  Just a thought - have you imported that class?  You need to remember
  that all generated classes are placed into a package 
 corresponding to
 their
  location in the webapp (prefixed by jsp, I believe), so classes that
 aren't
  in any package aren't in the same package as the JSP file.  
 I believe that
  if you import the class (and I think you'll have to do each 
 separate class
  explicitly) this should solve your problem.
 
  Randy
 
  -Original Message-
  From: Andrew [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 17, 2001 5:44 AM
  To: [EMAIL PROTECTED]
  Subject: Static filed reference BUG since( Tomcat 4b2-b5)
 
 
  Hi, every time I try to reference static field(from jsp page) in
  nonpackaged class I've got jasper error:
  Undefined variable or class name: Myclass, but I've put that in
  \WEB-INF\classes dir of my app and Tomcat4b1 process my 
 page without any
  errors.
 
  What could be wrong?
 
 



Re: passing quotes in html

2001-05-17 Thread Wyn Easton

Use the single quote (') in the HTML that has double
quotes.

Like this:

input type=text value='Hello'

--- Christoph Kukulies
[EMAIL PROTECTED] wrote:
 
 Sorry that this is not directly tomcat related but
 in the course of 
 writing a jsp/servlet application I came across the
 problem
 that I'm generating a FORM which contains 
 something like:
 
 fprintf(yyout,input type=\hidden\ name=line%d
 value=\%s\\n,p,s);
 
 But string s can contain  quotes. In order to have
 the quotes later
 appear in the html page, what do I have to do to
 quote the quotes?
 
 -- 
 Chris Christoph P. U. Kukulies
[EMAIL PROTECTED]


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



starting tomcat in debug VM

2001-05-17 Thread Nathan Coast

Hi, I'm trying to start tomcat in debug mode using these options:

TOMCAT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n

as I understand it, the address to which the debuger should connect should be 
displayed on stdout.  However, all that is being displayed is the agent 
password.  Any ideas what (if any) other parameters need to be passed to java in 
order to obtain the port that the vm is waiting for?  I've tried specifying the 
port using address=localhost:1234 but this makes no difference.

Thanks in advance
Nathan




Tomcat 4 as an NT/2000 Service

2001-05-17 Thread Christopher Benson



Does anyone know 
when a version ofjk_nt_service.exe for Tomcat 4.x will be available so 
that Tomcat 4 can be run as an NT/2000 Service? Alternatively, is there a 
way the current jk_nt_service.exe can work with Tomcat 4. Tomcat 4 has no 
workers.properties file which is required by 
jk_nt_service.exe.

Thanks,
Chris



RE: No mod_jk.so?

2001-05-17 Thread GOMEZ Henri

What OS did you look for ?

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 6:42 PM
To: [EMAIL PROTECTED]
Subject: No mod_jk.so?


Hi,

why is there no mod_jk.so in the jakarta-3.2.2b5 directory, 
but mod_jk.dll 
and for Netware, OS which are VERY freely distributable ;-)? I 
tried the 
former mod_jk.so for 3.1.1 but it seems not to work (Internal server 
error...). Where can I get a mod_jk.so?

Regards
   Thomas




RE: Application with distributed resources

2001-05-17 Thread Vijay Prabhakar
Title: RE: Application with distributed resources






I'm really interested in this kind of stuff. I have been working on this myself with Tomcat to do session failover and shared memory spaces. I found a company that's doing some interesting work with shared memory as well. Is this feature expected to be released in Tomcat 4.x?

-Vijay


-Original Message-

From: Bip Thelin [mailto:[EMAIL PROTECTED]]

Sent: Thursday, May 17, 2001 12:28 PM

To: [EMAIL PROTECTED]

Subject: Re: Application with distributed resources



On Thu, 17 May 2001, Twylite wrote:



 [...]



 1. Sessions are not shared between servers. Although I do not store any information in sessions (at this stage, 

 at least), I need to transfer a user's identity and roles between servers. At the moment a redirection to another 

 server means the user have to log in again, which is obviously unacceptable.


There is VERY experimental work made on Clustering servers and the ability to

replicate sessions in memory. However you have to run your tomcat's with

a frontend, i.e. a network dispatcher. I'm not sure if this is what you

want to do. However it's not heavily tested and considered highly

experimental, and did I mention it's for Tomcat 4.x only.


However if you do wanna try this out I can tell you howto set it up and enable

it since it's not a documented feature.


 ..bip






RE: start tomcat server remotely --Help needed

2001-05-17 Thread Vijay Prabhakar
Title: RE: start tomcat server remotely --Help needed






_theoretically_ you could do this. I wouldn't suggest that though. I'd say use JMX to do stops and restarts.


-Vijay


-Original Message-

From: Valeriy Molyakov [mailto:[EMAIL PROTECTED]]

Sent: Thursday, May 17, 2001 1:54 AM

To: [EMAIL PROTECTED]

Subject: Re: start tomcat server remotely --Help needed



Can I do restart server via HTTP with using servlets or JSP ?


- Original Message - 

From: [EMAIL PROTECTED]

To: [EMAIL PROTECTED]

Sent: Thursday, May 17, 2001 9:12 AM

Subject: Re: start tomcat server remotely --Help needed



 Hi,

 

 which OS do you use? If it's Linux or Win2000 you can easily log in via

 telnet and start it as if you where siting in front of the keyboard

 

 Sascha

 





Re: Struts, Velocity, JSP, XSLT?

2001-05-17 Thread Jeff Kilbride

Speed is one consideration. XML and XSLT are great, but are very processor
intense for all the translation/transformation that is done on the fly.

--jeff

- Original Message -
From: Richard Draucker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 9:18 PM
Subject: Struts, Velocity, JSP, XSLT?


 I've been happily using servlets with Tomcat for some time.
 I'm now happily using XSLT for output (Xalan/Xerces) mostly
 cause, oh hell, cause 'everyone' says XML is the way to go.

 The question is... is Velocity vs. XSLT simply a
 religeous difference?  I mean, is there something Velocity
 and Struts offer over XML/XSLT?

 Thanks,
 Richard






Re: Cookies

2001-05-17 Thread Jeff Kilbride

Look at the session-timeout directive in your web.xml file. The default is
30 minutes.

--jeff

- Original Message -
From: Oki DZ [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:26 PM
Subject: Cookies


 Hi,

 I use JDBCRealm and I'd like to have the connection times out after a
 certain period of time. Currently, it seems that once you have logged
 in, as long as you don't exit from your browser, the servlets can be run
 forever. Is there anything I can set in server.xml?

 TIA,
 Oki





RE: Application with distributed resources

2001-05-17 Thread Bip Thelin

On Thu, 17 May 2001, Vijay Prabhakar wrote:

 I'm really interested in this kind of stuff.  I have been working on
 this myself with Tomcat to do session failover and shared memory spaces.
 I found a company that's doing some interesting work with shared memory
 as well.  Is this feature expected to be released in Tomcat 4.x?

It's currently in the latest beta(5) so grab that one if you want to
play around with it!

..bip





RE: Difficult question Urgent!!!

2001-05-17 Thread William Kaufman

javax.servlet.http.HttpServletRequest.getRemoteUser().

-- Bill K.


 -Original Message-
 From: mohamed imdadullah [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 17, 2001 9:17 AM
 To: [EMAIL PROTECTED]
 Subject: Difficult question Urgent!!!
 
 
 
 Hhi all,
 
 I have Tomcat running under apache, i have been able to have same 
 authentication for both apache (serving perl) and tomcat(serving jsp).
 
 The problem is , after authenticating user in jsp, i need to 
 get the user 
 name of the person who has logged in to make further queries with the 
 database.
 
 I dunno how it is done, i dont even know whether it could 
 could be retrieved 
 from the http session.
 
 iam pretty sure that the user name can be extracted as the 
 apache maintains 
 a different session for the perl part and another for the jsp part
 
 any ideas would be appreciated
 
 regards
 
 __
 ___
 Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.



Re: Browser Closed

2001-05-17 Thread Alin Simionoiu

Is possible to find out if a specific session is no longer valid?..

- Original Message -
From: Milt Epstein [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 1:15 AM
Subject: Re: Browser Closed


 On Wed, 16 May 2001, Alin Simionoiu wrote:

  I think this event as also fired when you browse thru the
  pages..wright?..  Want I will really like to have is a SessionEnd
  event...

 Basically ... there isn't a generic, catch-all way to do this, so
 you're going to need to rely on the session timeout mechanism.


  - Original Message -
  From: Richard Draucker [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, May 16, 2001 9:26 PM
  Subject: Re: Browser Closed
 
 
   Try clicking the logout button with a javascript triggered
   by the body onunload.  This is how the porn sites feed
   you a zillion popups when you try to get outta their
   site... ooops, you weren't supposed to know I know that.
  
  
  
   On Thu, 17 May 2001, you wrote:
Hello everybody,
   
I'm implementing a login/logout from a web page.
Everithing is absolutly fine if the user it's using my logout
button.
   
But, if the user just close the browser, without using the logout
  button,
then I'm in trouble.
Has anybody any ideea if is possible to know when a user close the
browser?..
   
I'm not using a keep-alive connection.
Probably is not possible, considering that http is a stateless
protocol.
   
Alin
   --
   Richard Draucker,  [EMAIL PROTECTED]
   Protected-Data.Com  www.protected-data.com
   Remote data support for web developers.
  
  
  
  
  
  
  
  
 

 Milt Epstein
 Research Programmer
 Software/Systems Development Group
 Computing and Communications Services Office (CCSO)
 University of Illinois at Urbana-Champaign (UIUC)
 [EMAIL PROTECTED]





Tomcat Apache/ JServ mod_jserve problem ...

2001-05-17 Thread Anil Kumar

Hi

I thought Some one  can help ..

I am getting these error messages ...

[17/05/2001 09:25:38:758] (ERROR) an error returned handling request via

protocol ajpv12
[17/05/2001 09:25:41:553] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:61618
[17/05/2001 09:25:41:553] (EMERGENCY) ajp12: connection fail

in mod_jserv.log ...

Could you please tell me how we can  fix this problem ... Thanks in
advance ..




Re: Difficult question Urgent!!!

2001-05-17 Thread Jeff Kilbride

How about the getRemoteUser() method of the request object?

--jeff

- Original Message -
From: mohamed imdadullah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 4:17 PM
Subject: Difficult question Urgent!!!



 Hhi all,

 I have Tomcat running under apache, i have been able to have same
 authentication for both apache (serving perl) and tomcat(serving jsp).

 The problem is , after authenticating user in jsp, i need to get the user
 name of the person who has logged in to make further queries with the
 database.

 I dunno how it is done, i dont even know whether it could could be
retrieved
 from the http session.

 iam pretty sure that the user name can be extracted as the apache
maintains
 a different session for the perl part and another for the jsp part

 any ideas would be appreciated

 regards

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





test -- apologies.

2001-05-17 Thread mepstein



Testing ...





Problems replacing SessionInterceptor

2001-05-17 Thread David M. Rosner

Hello,

I've written my own version of the SessionInterceptor and placed this
with my application class files (com.myapp.uril.SessionInterceptor). I
updated the server.xml file to point to my version of the class instead
of Tomcats by updating the following:


RequestInterceptor 

className=com.myapp.util.SessionInterceptor

noCookies=false /


This works fine on my development box, but on my production box I get an
error on startup claiming it can not find the class. In the production
environement we use directories under the webapps:

 Context
path=/

docBase=webapps/app-010517a

crossContext=false

debug=0

reloadable=false 
 /Context


Is there something else I need to do to get Tomcat to use my version of
the SessionInterceptor?


Thanks,

-dave




Re: AW: AW: mailing list or news group??

2001-05-17 Thread Milt Epstein

On Thu, 17 May 2001, Ralph Einfeldt wrote:

 Sorry, but it has been discussed in at least three threads!

 Some examples:

 http://mikal.org/interests/java/tomcat/archive/view?mesg=26350
 http://mikal.org/interests/java/tomcat/archive/view?mesg=26349

 http://mikal.org/interests/java/tomcat/archive/view?mesg=15019
 http://mikal.org/interests/java/tomcat/archive/view?mesg=14988
 http://mikal.org/interests/java/tomcat/archive/view?mesg=14946
 http://mikal.org/interests/java/tomcat/archive/view?mesg=14937
 http://mikal.org/interests/java/tomcat/archive/view?mesg=14929

 http://mikal.org/interests/java/tomcat/archive/view?mesg=11634
 http://mikal.org/interests/java/tomcat/archive/view?mesg=11579 (*)
 http://mikal.org/interests/java/tomcat/archive/view?mesg=11496
 http://mikal.org/interests/java/tomcat/archive/view?mesg=11476
 http://mikal.org/interests/java/tomcat/archive/view?mesg=11471
 http://mikal.org/interests/java/tomcat/archive/view?mesg=11468

 * Look at this one to see Craig's opinion
 (which it quite close to mine)

OK.

But to be fair, the latter two threads were before I joined this
group, and the first (the most recent one) -- which consisted
basically of one person saying Is there a newsgroup form of this
list and another one saying Arhhh -- no way -- hardly
constitutes a discussion or a thread :-).

As to a mailing list vs. a newsgroup vs. a web forum: I have a strong
dislike of the latter (for reasons I already mentioned); I can see
legitimate and significant pros and cons of the first two, and so
hence don't have a strong opinion one way or another on it.  (If I
couldn't take tomcat-user as a mailing list, I'd simply unsubscribe
and read the archives -- and if it doesn't restrict posting to
subscribers, then there's nothing really lost there -- and even if it
does, perhaps there's a subscribe but no mail option.)

Further, regarding a newsgroup, there's nothing stopping someone from
simply going ahead and setting one up.  It wouldn't be so easy to
create such a Big 8 newsgroup -- you've got to go through the whole
RFD/CFV process -- but, if things haven't changed too much, creating
an alt group is easy.  That could be a good thing, as those of the
tomcat-user people who prefer newsgroups would go there, and those
that prefer mailing lists would stay here -- and each would have less
volume.


  -Ursprüngliche Nachricht-
  Von: Milt Epstein [mailto:[EMAIL PROTECTED]]
  Gesendet: Donnerstag, 17. Mai 2001 11:50
  An: [EMAIL PROTECTED]
  Betreff: Re: AW: mailing list or news group??
 snip/
  As to the previous poster's comments,  I think he's wrong on several
  points.  For one thing, I've been on this list several months, and I
  don't recall seeing this topic discussed at all, let alone several
  times.
 snip/
  Further, I think he's off as to the capabilities of modern
  mail readers -- particularly, I think there are many good, modern mail
  readers that don't have the first and third features he mentions.


Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




  1   2   >