RE: Tomcat 3.2`

2003-01-27 Thread Larry Isaacs
You will need to be aware of a little bit about how
classloaders behave.   Tomcat will create a webapp
classloader that includes WEB-INF/classes and the jars
WEB-INF/lib.  In Tomcat 3.2.x, a parent of this webapp
classloader is the "CLASSPATH" classloader.  As the parent,
classes in the webapp classloader can access classes in the
"CLASSPATH" classloader.  However, classes in the "CLASSPATH"
classloader can *NOT* access classes in the child webapp
classloader.

Most likely some class currently in your CLASSPATH, or
extensions directory, is trying to do this.  Hopefully,
the resulting stack trace can give you some clues as to
which classes are involved and then determine how best to
resolve the problem.

You can try putting the jar(s) on the CLASSPATH.  However,
even if this fixes this issue, doing so may have other
undesirable side effects.  For example, if you move
classes112.jar to the CLASSPATH, it would no longer
access to other the classes in the webapp classloader that
it previously had.

Cheers,
Larry 


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 27, 2003 10:19 AM
> To: Tomcat Users List
> Subject: Tomcat 3.2`
> 
> 
> 
> Hello all,
> 
> We have a problem with Tomcat 3.2.  We have developed an 
> application that
> needs to work in 3.2 (an upgrade is not an option). The 
> problem is that
> Tomcat does not seem to be picking up the jars in the 
> WEB-INF/lib folder,
> and this is resulting in ClassNotFoundExceptions.
> 
> To be more specific, classes112.jar (Oracle drivers) and 
> Struts1.02.jar are
> not being picked up.
> 
> Is anyone aware of any issues that we should be aware of which may be
> causing this ?  Are there some classes in those libraries 
> that need to be
> removed ?
> 
> Any help would be much appreciated.
> 
> Thanks
> 
> Mehdi Nejad - Senior Developer
> [EMAIL PROTECTED]
> ~~
> Bluewave Ltd - Business Solutions
> http://www.bluewave.com
> Tel. +44 (0)20 7479 8394
> ~~
> 
> 
> --
> To unsubscribe, e-mail:   
>  [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 3.2 versus 4.1

2002-12-26 Thread bcruz

Hi Ronen,

We just completed the upgrade ourselves.  For our applications, we are getting 
MUCH better performance with Tomcat 4.1.  We had an issue with CPU usage 
constantly increasing over time with 3.2.4, which seemed to go away with 4.1.  
The upgrade wasn't too bad, we just installed 4.1, copied over all our webapps, 
wrote a script to change server.xml, and made some custom configurations to 
web.xml, changed workers.properties and httpd.conf for the apache connection.  
Everything went well for the most part.  We are actually using the same JK 
connector that we used with tomcat 3.2.4.  

We did run into several bugs, but everything we need seems to be ironed out 
with the 4.1.17 version.


Brandon Cruz



Quoting Ronen Shenkar <[EMAIL PROTECTED]>:

> Hi,
> I'm considering upgrading from Tomcat 3.2 to Tomcat 4.1.
> I wonder if the performance and other improvements between the two
> releases
> are major and if the upgrade itself is painful.
> Is there a document instructing how to do such an upgrade?
> Thanks, ronen
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 
> 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 3.2 versus 4.1

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Ronen,

The biggest issues I have seen are

1. Tomcat 4 strictly adheres to the DTD for the web.xml for web applications
where as some version of Tomcat 3 did not. The DTD for the web.xml is
specfied in the Servlet specs available at
http://java.sun.com/products/servlet/download.html.  I do not remember the
actual error returned but it fairly obvious.

2. As specifed in the release notes for Tomcat 4
Starting with Tomcat 4.1.12, the invoker servlet is no longer available by 
default in all webapp. Enabling it for all webapps is possible by editing
$CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping
definition.

Using the invoker servlet in a production environment is not recommended and
is unsupported.

3. As specifed in the release notes for Tomcat 4
Unix symlinks will not work when used in a web application to link resources

located outside the web application root directory.

This behavior is optional, and the "allowLinking" flag may be used to
disable
the check.

I include an email from the list specifing the fix athough I have not
actually implemented it.

4. For the most CPU intensive webapp I saw a factor of 2 increase (>6 secs
to 3 to 4 secs) in speed.  All others stayed about the same but they had sub
second responses to begin with so I was not expecting an increase.

5. Tomcat 4 comes with the Coyote JK connector turned on by default.  But
the original JK/ajp connector is still available.  The coyote connector is
technically for use with the JK2 module for apache2 but it appears to work
for JK with apache 1.3 and apache 2.0.  It does load info from
$TOMCAT_HOME/conf/jk2.properties but the default file has everything
commented out.  It would be good to validate you apps against both
connectors and see which works best for you.  I am currently doing this on
our test server and so far have not noticed any significant difference.

Jeff


-Original Message-
From: Ronen Shenkar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 6:27 AM
To: Tomcat Users List
Subject: Tomcat 3.2 versus 4.1


Hi,
I'm considering upgrading from Tomcat 3.2 to Tomcat 4.1.
I wonder if the performance and other improvements between the two releases
are major and if the upgrade itself is painful.
Is there a document instructing how to do such an upgrade?
Thanks, ronen

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--- Begin Message ---


-Original Message-
From: Bob McCormick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 12:18 PM
To: Tomcat Users List
Subject: RE: Status of Symbolic Links on Linux/TC 4.1.12???


OK - thanks.  Didn't realize that this version is alpha.  Don't wish to
play with an alpha version for what we're doing.

I was able to get this to work with 4.1.12 by the doing the following:

In the server.xml I turned on the context for ROOT and added a
 as follows:





I would imagine you can add the above Resource to any context and it
will follow the symlinks.

Thanks...Bob


On Thu, 2002-11-21 at 10:58, Turner, John wrote:
> 
>
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.15-alpha/bi
> n/
> 
> John
> 
> 
> > -Original Message-
> > From: Bob McCormick [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 21, 2002 1:50 PM
> > To: Tomcat Users List
> > Subject: Re: Status of Symbolic Links on Linux/TC 4.1.12???
> > 
> > 
> > Hi Bill,
> > 
> > OK - sounds good.  Now, how do I find the 4.1.15?  I went to the
> > binaries and see that there is only 4.1.12.  I a bit new to Tomcat, so
> > I'm groping a bit here.
> > 
> > Thanks..Bob
> > 
> > 
> > On Wed, 2002-11-20 at 22:41, Bill Barker wrote:
> > > It should be pretty much working in 4.1.15 now (as long as 
> > you configure the
> > > Resources yourself).  From 4.1.13, you can also get it to 
> > work by setting
> > > the caseSensitive="false" attribute on the Resources tag.
> > > 
> > > "Bob McCormick" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > Hi All,
> > > >
> > > > Have checked the archives and see that someone was having 
> > a problem with
> > > > being able to access URL's via Tomcat 4.1.x that contain 
> > a symbolic
> > > > link.  I too am having this problem and was hoping to 
> > only use TomCat to
> > > > serve up content.
> > > >
> > > > Would anyone be able to tell me whether this is just an 
> > overlooked bug,
> > > > specified setting in the security settings somewhere or 
> > flat-out not
> > > > going to be something that is supported any longer.  We'd 
> > really like to
> > > > NOT have to use Apache to have on less thing to worry 
> > about, and so any
> > > > information on this particular would be GREATLY appreciated.
> > > >
> > > > Thanks...Bob
> > > >
> > > > Bob McCormick
> > > > IST
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> 
> > For additional commands, e-mail:

Re: Tomcat 3.2 and 4.1 coexist?

2002-11-25 Thread Carsten Ziegert
I performed your taskk without any trouble.
3.2 is running on port 8080, 4.1. on 8090. You just
have to change the file server.xml to define the new port.
Both versions are running in parallel. They've been
installed in /usr/local/tomcat3 and /usr/local/tomcat4

Carsten

Am Montag, 25.11.02, um 18:19 Uhr (Europe/Berlin) schrieb jimmy:


Hello Folks,

Is it possible to install Tomcat 3.2 and 4.1 on the
same server? Are there any side effects? Which path
needs to be followed to install 4.1 on a system that
has 3.2 installed?

The build list is rather long and complicated along
with references and dependancies to many packages.
Therefore any assistance would be appreciated from
someone who has already accomplished a similiar task.

Thanks for your time!

Tom Jerry

__
Do you Yahoo!?
Yahoo! Mail Plus ñ Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   

For additional commands, e-mail: 




--
Carsten Ziegert

Hannover Medical School, Dept. of Hematology and Oncology
Carl-Neuberg-Straße 1, 30625 Hannover

University of Applied Sciences, Faculty of Information Sciences
Ricklinger Stadtweg 120, 30459 Hannover

http://summit-bmt.fh-hannover.de



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Steve

That did itthankyou!

Steve
--- David Cassidy <[EMAIL PROTECTED]> wrote:
> Try 
> 
> <%@ include file="/common/copyright.html" %>
> 
> 
> This will then include the file from your docbase
> 
> eg tomcat will add in the /net/webapps/ bit for you ...
> 
> Try it ;-}
> 
> D
> 
> 
> 
> Steve wrote:
> 
> >I checked for typos
> >
> >thanks
> >
> >--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>I don't know why it wouldn't work other than due
> >>to a simple typo.
> >>
> >>Larry
> >>
> >>    
> >>
> >>>-Original Message-
> >>>From: Steve [mailto:[EMAIL PROTECTED]] 
> >>>Sent: Wednesday, June 05, 2002 10:48 AM
> >>>To: Tomcat Users List
> >>>Subject: RE: Tomcat 3.2 : Include File Paths
> >>>
> >>>
> >>>My docbase is set to /net/webapps
> >>>
> >>>Still gives me "bad argument to include file"
> >>>
> >>>Steve
> >>>--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> >>>  
> >>>
> >>>>If your docBase is set to "/net/webapps" then what
> >>>>you describe should work.  If your docBase is set to
> >>>>"/net/webapps/test", then the ".." in your include
> >>>>is trying to go outside of the webapp, which is not
> >>>>allowed.
> >>>>
> >>>>Cheers,
> >>>>Larry
> >>>>
> >>>>
> >>>>
> >>>>>-Original Message-
> >>>>>From: Steve [mailto:[EMAIL PROTECTED]] 
> >>>>>Sent: Wednesday, June 05, 2002 7:12 AM
> >>>>>To: [EMAIL PROTECTED]
> >>>>>Subject: Tomcat 3.2 : Include File Paths
> >>>>>
> >>>>>
> >>>>>Hi;
> >>>>>
> >>>>>I'm using Tomcat 3.2
> >>>>>
> >>>>>I have a webapp defined on my system to be:
> >>>>>/net/webapps
> >>>>>
> >>>>>Under the directory "webapps" I have several subdirectories 
> >>>>>for jsps and various
> >>>>>resources.
> >>>>>
> >>>>>In one file, /net/webapps/test/test.jsp, I am trying to use 
> >>>>>this include directive
> >>>>><%@ include file="../common/copyright.html" %>
> >>>>>to include
> >>>>>/net/webapps/common/copyright.html
> >>>>>
> >>>>>I keep getting error code 500 and the message "bad file 
> >>>>>argument to include"
> >>>>>
> >>>>>Anyone have any idea of what is going on and how I can "back 
> >>>>>up" with file paths?
> >>>>>
> >>>>>Thanks in advance
> >>>>>
> >>>>>Steve
> >>>>>
> >>>>>
> >>>>>
> >>>>>__
> >>>>>Do You Yahoo!?
> >>>>>Yahoo! - Official partner of 2002 FIFA World Cup
> >>>>>http://fifaworldcup.yahoo.com
> >>>>>
> >>>>>--
> >>>>>To unsubscribe, e-mail:   
> >>>>><mailto:tomcat-user-> [EMAIL PROTECTED]>
> >>>>>For 
> >>>>>additional commands, 
> >>>>>e-mail: <mailto:[EMAIL PROTECTED]>
> >>>>>
> >>>>>  
> >>>>>
> >>>>--
> >>>>To unsubscribe, e-mail:   
> >>>>
> >>>>
> >>><mailto:tomcat-user-> [EMAIL PROTECTED]>
> >>>  
> >>>
> >>>>For 
> >>>>
> >>>>
> >>>additional commands, 
> >>>e-mail: <mailto:[EMAIL PROTECTED]>
> >>>  
> >>>
> >>>__
> >>>Do You Yahoo!?
> >>>Yahoo! - Official partner of 2002 FIFA World Cup
> >>>http://fifaworldcup.yahoo.com
> >>>
> >>>--
> >>>To unsubscribe, e-mail:   
> >>><mailto:tomcat-user-> [EMAIL PROTECTED]>
> >>>For 
> >>>additional commands, 
> >>>e-mail: <mailto:[EMAIL PROTECTED]>
> >>>
> >>>  
> >>>
> >>--
> >>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >>
> >
> >
> >__
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >  
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: Tomcat 3.2 : Include File Paths

2002-06-05 Thread David Cassidy

Try 

<%@ include file="/common/copyright.html" %>


This will then include the file from your docbase

eg tomcat will add in the /net/webapps/ bit for you ...

Try it ;-}

D



Steve wrote:

>I checked for typos
>
>thanks
>
>--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
>  
>
>>I don't know why it wouldn't work other than due
>>to a simple typo.
>>
>>Larry
>>
>>
>>
>>>-Original Message-
>>>From: Steve [mailto:[EMAIL PROTECTED]] 
>>>Sent: Wednesday, June 05, 2002 10:48 AM
>>>To: Tomcat Users List
>>>Subject: RE: Tomcat 3.2 : Include File Paths
>>>
>>>
>>>My docbase is set to /net/webapps
>>>
>>>Still gives me "bad argument to include file"
>>>
>>>Steve
>>>--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
>>>  
>>>
>>>>If your docBase is set to "/net/webapps" then what
>>>>you describe should work.  If your docBase is set to
>>>>"/net/webapps/test", then the ".." in your include
>>>>is trying to go outside of the webapp, which is not
>>>>allowed.
>>>>
>>>>Cheers,
>>>>Larry
>>>>
>>>>
>>>>
>>>>>-Original Message-
>>>>>From: Steve [mailto:[EMAIL PROTECTED]] 
>>>>>Sent: Wednesday, June 05, 2002 7:12 AM
>>>>>To: [EMAIL PROTECTED]
>>>>>Subject: Tomcat 3.2 : Include File Paths
>>>>>
>>>>>
>>>>>Hi;
>>>>>
>>>>>I'm using Tomcat 3.2
>>>>>
>>>>>I have a webapp defined on my system to be:
>>>>>/net/webapps
>>>>>
>>>>>Under the directory "webapps" I have several subdirectories 
>>>>>for jsps and various
>>>>>resources.
>>>>>
>>>>>In one file, /net/webapps/test/test.jsp, I am trying to use 
>>>>>this include directive
>>>>><%@ include file="../common/copyright.html" %>
>>>>>to include
>>>>>/net/webapps/common/copyright.html
>>>>>
>>>>>I keep getting error code 500 and the message "bad file 
>>>>>argument to include"
>>>>>
>>>>>Anyone have any idea of what is going on and how I can "back 
>>>>>up" with file paths?
>>>>>
>>>>>Thanks in advance
>>>>>
>>>>>Steve
>>>>>
>>>>>
>>>>>
>>>>>__
>>>>>Do You Yahoo!?
>>>>>Yahoo! - Official partner of 2002 FIFA World Cup
>>>>>http://fifaworldcup.yahoo.com
>>>>>
>>>>>--
>>>>>To unsubscribe, e-mail:   
>>>>><mailto:tomcat-user-> [EMAIL PROTECTED]>
>>>>>For 
>>>>>additional commands, 
>>>>>e-mail: <mailto:[EMAIL PROTECTED]>
>>>>>
>>>>>  
>>>>>
>>>>--
>>>>To unsubscribe, e-mail:   
>>>>
>>>>
>>><mailto:tomcat-user-> [EMAIL PROTECTED]>
>>>  
>>>
>>>>For 
>>>>
>>>>
>>>additional commands, 
>>>e-mail: <mailto:[EMAIL PROTECTED]>
>>>  
>>>
>>>__
>>>Do You Yahoo!?
>>>Yahoo! - Official partner of 2002 FIFA World Cup
>>>http://fifaworldcup.yahoo.com
>>>
>>>--
>>>To unsubscribe, e-mail:   
>>><mailto:tomcat-user-> [EMAIL PROTECTED]>
>>>For 
>>>additional commands, 
>>>e-mail: <mailto:[EMAIL PROTECTED]>
>>>
>>>  
>>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>>
>
>
>__
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>  
>



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




RE: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Steve

I checked for typos

thanks

--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> I don't know why it wouldn't work other than due
> to a simple typo.
> 
> Larry
> 
> > -Original Message-
> > From: Steve [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, June 05, 2002 10:48 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 3.2 : Include File Paths
> > 
> > 
> > My docbase is set to /net/webapps
> > 
> > Still gives me "bad argument to include file"
> > 
> > Steve
> > --- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> > > If your docBase is set to "/net/webapps" then what
> > > you describe should work.  If your docBase is set to
> > > "/net/webapps/test", then the ".." in your include
> > > is trying to go outside of the webapp, which is not
> > > allowed.
> > > 
> > > Cheers,
> > > Larry
> > > 
> > > > -Original Message-
> > > > From: Steve [mailto:[EMAIL PROTECTED]] 
> > > > Sent: Wednesday, June 05, 2002 7:12 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Tomcat 3.2 : Include File Paths
> > > > 
> > > > 
> > > > Hi;
> > > > 
> > > > I'm using Tomcat 3.2
> > > > 
> > > > I have a webapp defined on my system to be:
> > > > /net/webapps
> > > > 
> > > > Under the directory "webapps" I have several subdirectories 
> > > > for jsps and various
> > > > resources.
> > > > 
> > > > In one file, /net/webapps/test/test.jsp, I am trying to use 
> > > > this include directive
> > > > <%@ include file="../common/copyright.html" %>
> > > > to include
> > > > /net/webapps/common/copyright.html
> > > > 
> > > > I keep getting error code 500 and the message "bad file 
> > > > argument to include"
> > > > 
> > > > Anyone have any idea of what is going on and how I can "back 
> > > > up" with file paths?
> > > > 
> > > > Thanks in advance
> > > > 
> > > > Steve
> > > > 
> > > > 
> > > > 
> > > > __
> > > > Do You Yahoo!?
> > > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > > http://fifaworldcup.yahoo.com
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:   
> > > > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > > > For 
> > > > additional commands, 
> > > > e-mail: <mailto:[EMAIL PROTECTED]>
> > > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




RE: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Larry Isaacs

I don't know why it wouldn't work other than due
to a simple typo.

Larry

> -Original Message-
> From: Steve [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 05, 2002 10:48 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.2 : Include File Paths
> 
> 
> My docbase is set to /net/webapps
> 
> Still gives me "bad argument to include file"
> 
> Steve
> --- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> > If your docBase is set to "/net/webapps" then what
> > you describe should work.  If your docBase is set to
> > "/net/webapps/test", then the ".." in your include
> > is trying to go outside of the webapp, which is not
> > allowed.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Steve [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, June 05, 2002 7:12 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat 3.2 : Include File Paths
> > > 
> > > 
> > > Hi;
> > > 
> > > I'm using Tomcat 3.2
> > > 
> > > I have a webapp defined on my system to be:
> > > /net/webapps
> > > 
> > > Under the directory "webapps" I have several subdirectories 
> > > for jsps and various
> > > resources.
> > > 
> > > In one file, /net/webapps/test/test.jsp, I am trying to use 
> > > this include directive
> > > <%@ include file="../common/copyright.html" %>
> > > to include
> > > /net/webapps/common/copyright.html
> > > 
> > > I keep getting error code 500 and the message "bad file 
> > > argument to include"
> > > 
> > > Anyone have any idea of what is going on and how I can "back 
> > > up" with file paths?
> > > 
> > > Thanks in advance
> > > 
> > > Steve
> > > 
> > > 
> > > 
> > > __
> > > Do You Yahoo!?
> > > Yahoo! - Official partner of 2002 FIFA World Cup
> > > http://fifaworldcup.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > > For 
> > > additional commands, 
> > > e-mail: <mailto:[EMAIL PROTECTED]>
> > > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 

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




RE: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Ganey, Todd

Users cannot remove other people.  
To unsubscribe, e-mail:
[EMAIL PROTECTED]

from the address that is receiving mail from this list

HTH,
Todd

-Original Message-
From: anette mysel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 7:49 AM
To: Tomcat Users List
Subject: Re: Tomcat 3.2 : Include File Paths


PLEASE REMOVE ME FROM YOUR MAILING LIST.I DO NOT KNOW WHO YOU ARE... THANK
YOU...
- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 7:48 AM
Subject: RE: Tomcat 3.2 : Include File Paths


> If your docBase is set to "/net/webapps" then what
> you describe should work.  If your docBase is set to
> "/net/webapps/test", then the ".." in your include
> is trying to go outside of the webapp, which is not
> allowed.
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Steve [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 05, 2002 7:12 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.2 : Include File Paths
> >
> >
> > Hi;
> >
> > I'm using Tomcat 3.2
> >
> > I have a webapp defined on my system to be:
> > /net/webapps
> >
> > Under the directory "webapps" I have several subdirectories
> > for jsps and various
> > resources.
> >
> > In one file, /net/webapps/test/test.jsp, I am trying to use
> > this include directive
> > <%@ include file="../common/copyright.html" %>
> > to include
> > /net/webapps/common/copyright.html
> >
> > I keep getting error code 500 and the message "bad file
> > argument to include"
> >
> > Anyone have any idea of what is going on and how I can "back
> > up" with file paths?
> >
> > Thanks in advance
> >
> > Steve
> >
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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



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




Re: Tomcat 3.2 : Include File Paths

2002-06-05 Thread anette mysel

PLEASE REMOVE ME FROM YOUR MAILING LIST.I DO NOT KNOW WHO YOU ARE... THANK
YOU...
- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 7:48 AM
Subject: RE: Tomcat 3.2 : Include File Paths


> If your docBase is set to "/net/webapps" then what
> you describe should work.  If your docBase is set to
> "/net/webapps/test", then the ".." in your include
> is trying to go outside of the webapp, which is not
> allowed.
>
> Cheers,
> Larry
>
> > -Original Message-
> > From: Steve [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 05, 2002 7:12 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.2 : Include File Paths
> >
> >
> > Hi;
> >
> > I'm using Tomcat 3.2
> >
> > I have a webapp defined on my system to be:
> > /net/webapps
> >
> > Under the directory "webapps" I have several subdirectories
> > for jsps and various
> > resources.
> >
> > In one file, /net/webapps/test/test.jsp, I am trying to use
> > this include directive
> > <%@ include file="../common/copyright.html" %>
> > to include
> > /net/webapps/common/copyright.html
> >
> > I keep getting error code 500 and the message "bad file
> > argument to include"
> >
> > Anyone have any idea of what is going on and how I can "back
> > up" with file paths?
> >
> > Thanks in advance
> >
> > Steve
> >
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




RE: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Steve

My docbase is set to /net/webapps

Still gives me "bad argument to include file"

Steve
--- Larry Isaacs <[EMAIL PROTECTED]> wrote:
> If your docBase is set to "/net/webapps" then what
> you describe should work.  If your docBase is set to
> "/net/webapps/test", then the ".." in your include
> is trying to go outside of the webapp, which is not
> allowed.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Steve [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, June 05, 2002 7:12 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.2 : Include File Paths
> > 
> > 
> > Hi;
> > 
> > I'm using Tomcat 3.2
> > 
> > I have a webapp defined on my system to be:
> > /net/webapps
> > 
> > Under the directory "webapps" I have several subdirectories 
> > for jsps and various
> > resources.
> > 
> > In one file, /net/webapps/test/test.jsp, I am trying to use 
> > this include directive
> > <%@ include file="../common/copyright.html" %>
> > to include
> > /net/webapps/common/copyright.html
> > 
> > I keep getting error code 500 and the message "bad file 
> > argument to include"
> > 
> > Anyone have any idea of what is going on and how I can "back 
> > up" with file paths?
> > 
> > Thanks in advance
> > 
> > Steve
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:   
> >  [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: 
> > 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 3.2 : Include File Paths

2002-06-05 Thread Larry Isaacs

If your docBase is set to "/net/webapps" then what
you describe should work.  If your docBase is set to
"/net/webapps/test", then the ".." in your include
is trying to go outside of the webapp, which is not
allowed.

Cheers,
Larry

> -Original Message-
> From: Steve [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 05, 2002 7:12 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.2 : Include File Paths
> 
> 
> Hi;
> 
> I'm using Tomcat 3.2
> 
> I have a webapp defined on my system to be:
> /net/webapps
> 
> Under the directory "webapps" I have several subdirectories 
> for jsps and various
> resources.
> 
> In one file, /net/webapps/test/test.jsp, I am trying to use 
> this include directive
> <%@ include file="../common/copyright.html" %>
> to include
> /net/webapps/common/copyright.html
> 
> I keep getting error code 500 and the message "bad file 
> argument to include"
> 
> Anyone have any idea of what is going on and how I can "back 
> up" with file paths?
> 
> Thanks in advance
> 
> Steve
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
>  [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 3.2.x

2002-03-19 Thread Robert Nocera

I was under the impression that you need to rename your zip files to jar
files to get Tomcat 3.2 to load them.  At least that's what I have
noticed in using Tomcat 3.2 with JBuilder.

Robert Nocera
New England Open Solutions
www.neosllc.com
"You supply the Vision.  We will do the rest."
  


-Original Message-
From: Daniel Bruce Lynes [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 19, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.x

I'm curious as to whether this problem is just me.  I haven't seen any 
mention of anyone else running into this problem.

However, what I'm experiencing (it doesn't happen in Tomcat 4.0.x), but
I 
still need to get things working under Tomcat 3.2.x is:

1. deploy the war file
2. restart tomcat
3. attempt to run the application

Where the problem lies is in the jar/zip files that are in the 
$TOMCAT_HOME/webapps/appname/WEB-INF/lib directory.  Some don't get
loaded at 
all, and others only get partially loaded.  For the ones that only
partially 
get loaded, even if I extract them into the classes directory, I still
run 
into the same roadblock.

This phenomenon occurs under both Tomcat 3.2.3 and Tomcat 3.2.1.  I can
move 
my jar/zip files into the system lib directory, but then my servlets are

foobar; Tomcat won't find them anymore.

Thanks in advance for any help or answers you might have.

P.S.  Any properties files I have won't get loaded from the
WEB-INF/classes 
directory either...I have to put those into the $TOMCAT_HOME/classes 
directory.

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.2.x

2002-03-19 Thread Brandon Cruz

I use tomcat 3.2.4 and haven't noticed this problem.  Not sure about the
earlier versions of 3.2.x.

Brandon

-Original Message-
From: Daniel Bruce Lynes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 11:13 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2.x


I'm curious as to whether this problem is just me.  I haven't seen any
mention of anyone else running into this problem.

However, what I'm experiencing (it doesn't happen in Tomcat 4.0.x), but I
still need to get things working under Tomcat 3.2.x is:

1. deploy the war file
2. restart tomcat
3. attempt to run the application

Where the problem lies is in the jar/zip files that are in the
$TOMCAT_HOME/webapps/appname/WEB-INF/lib directory.  Some don't get loaded
at
all, and others only get partially loaded.  For the ones that only partially
get loaded, even if I extract them into the classes directory, I still run
into the same roadblock.

This phenomenon occurs under both Tomcat 3.2.3 and Tomcat 3.2.1.  I can move
my jar/zip files into the system lib directory, but then my servlets are
foobar; Tomcat won't find them anymore.

Thanks in advance for any help or answers you might have.

P.S.  Any properties files I have won't get loaded from the WEB-INF/classes
directory either...I have to put those into the $TOMCAT_HOME/classes
directory.

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat 3.2 and external webapps (again)

2002-02-15 Thread Joel Rees
Never mind, I finally found it, in the deployment section of the online docs
for 3.2.

Add a  entry to server.xml, etc.

Sorry about the static.

- Original Message -
I wrote:

> I seem to recall several posts on this, but can't figure out how to get
them
> from the archive, and I don't recall any answers except my own half-baked
> response about doing it in v 3.3. I've also dug through the 3.2 docs a
ways.
> And I've been mucking about in the conf directory for several days, and I
> still can't figure out how to tell tomcat 3.2 to serve something outside
of
> its own directory tree.
>
> No problems in v 3.3. apps-.xml, etc. work fine. But I am being told
to
> use 3.2.
>
> I get the feeling it might be done by setting up workers and making
> appropriate re-directs in apache. Is this where I should be looking?
>
> Joel




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 


RE: tomcat 3.2 to 4.0

2001-12-11 Thread Larry Isaacs

New to Tomcat 3.3 and 4.x is that your web.xml is checked for
"correctness".  Tomcat 3.2.x didn't bother.  Something on
line 1 of the web.xml file is causing the XML parser to think
you forgot to include a "" element.

Cheers,
Larry

> -Original Message-
> From: Rich Baldwin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 11:48 AM
> To: Tomcat Users List
> Subject: Re: tomcat 3.2 to 4.0
> 
> 
> Glanced at the catalina.out log
> 
> Any idea the source of this error.
> 
> Apache Tomcat/4.0.1
> PARSE error at line 1 column 10
> org.xml.sax.SAXParseException: Element type "web-app" must be 
> declared.
> PARSE error at line 95 column 12
> org.xml.sax.SAXParseException: The content of element type 
> "web-app" must
> match
> "(icon?,display-name?,description?,distributable?,context-para
m*,servlet*,servle
> 
> t-mapping*,session-config?,mime-mapping*,welcome-file-list?,er
> ror-page*,taglib*,
> 
> resource-ref*,security-constraint*,login-config?,security-role
> *,env-entry*,ejb-r
> 
> ef*)".
> PARSE error at line 95 column 12
> org.xml.sax.SAXParseException: The content of element type 
> "web-app" must
> match
> "(icon?,display-name?,description?,distributable?,context-para
m*,servlet*,servle
> 
> t-mapping*,session-config?,mime-mapping*,welcome-file-list?,er
> ror-page*,taglib*,
> 
> resource-ref*,security-constraint*,login-config?,security-role
> *,env-entry*,ejb-r
> 
> ef*)".
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.1
> 
> 
> Rich Baldwin wrote:
> 
> > Ok I am migrating my servlets to the 4.0 servlet engine 
> from the 3.2.
> > Using ant and the detailed
> > notes in the docs, I have built and deployed my 
> application.  I stopped
> > and started tomcat, and
> > then tried to access any *html, *wm (webmacro) or servlet; 
> I get a 404
> > error.  I can get to
> > http://localhost:8080/index.html and the examples, so I 
> know that tomcat
> > is up and running.
> > Any new ~webapp/myapp just seems to be ignored.  Any suggestions?
> >
> > Thanks, Rich
> >
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

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




Re: tomcat 3.2 to 4.0

2001-12-11 Thread Rich Baldwin

Glanced at the catalina.out log

Any idea the source of this error.

Apache Tomcat/4.0.1
PARSE error at line 1 column 10
org.xml.sax.SAXParseException: Element type "web-app" must be declared.
PARSE error at line 95 column 12
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servle

t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,

resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-r

ef*)".
PARSE error at line 95 column 12
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servle

t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,

resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-r

ef*)".
Starting service Tomcat-Apache
Apache Tomcat/4.0.1


Rich Baldwin wrote:

> Ok I am migrating my servlets to the 4.0 servlet engine from the 3.2.
> Using ant and the detailed
> notes in the docs, I have built and deployed my application.  I stopped
> and started tomcat, and
> then tried to access any *html, *wm (webmacro) or servlet; I get a 404
> error.  I can get to
> http://localhost:8080/index.html and the examples, so I know that tomcat
> is up and running.
> Any new ~webapp/myapp just seems to be ignored.  Any suggestions?
>
> Thanks, Rich
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.2 vs Tomcat 3.3

2001-11-30 Thread Larry Isaacs

The main advantages of Tomcat 3.3 over 3.2.x is its
performance, stability, and configurability.  The improvements
do lead to differences, so there is some learning involved
when upgrading.

For example, Tomcat 3.2.x puts auto-generated config files for
Apache, etc. in the same "conf" directory with all the other
relatively unchanging config files.  Tomcat 3.3 writes those
files to a separate directory, "conf/auto".  This allows the
name of the auto-generated file to be configurable without much
worry about conflicts with the name of other files.  This does
mean that if you go looking for mod_jk.conf-auto, you won't
find it.  It's "conf/auto/mod_jk.conf" in Tomcat 3.3.

I don't think you will find a change that doesn't offer a
benefit as the reason for the change.  You can look in

to see the main differences documented.  Look in the
"IMPORTANT NOTE" part of the "INSTALLING AND RUNNING TOMCAT"
section and the "NEW FEATURES AND CHANGES IN THIS RELEASE".

IMHO, I think there will be less to learn (assuming you
scan the documentation) upgrading from Tomcat 3.2.x to 3.3
than to 4.x.  However, Tomcat 3.3 implements the Servlet 2.2/
JSP 1.1 specs, where Tomcat 4.x implements Servlet 2.3/JSP 1.2.
If you need the new features of the new specs, Tomcat 4.0
is the only choice between the two.

Hope this helps,

Cheers,
Larry


> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 30, 2001 2:01 PM
> To: Tomcat Users List
> Subject: Tomcat 3.2 vs Tomcat 3.3
> 
> 
> Has anyone found any major advantages/disadvantages between 
> tomcat 3.2 and
> tomcat 3.3?I have seen a large amount of confusion from 
> people that have
> upgraded from 3.2 to 4.0, can this be expected with 3.3?
> 
> Brandon
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.2 vs Tomcat 3.3

2001-11-30 Thread Jerome Jacobsen

I've recently upgraded from 3.2 to 4.0.1.  Wasn't very painful.  Did it
in one day.  Had to change taglib .tld files which contained the
xmlns attribute within the taglib tag to instead use the
mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 2:01 PM
To: Tomcat Users List
Subject: Tomcat 3.2 vs Tomcat 3.3


Has anyone found any major advantages/disadvantages between tomcat 3.2 and
tomcat 3.3?I have seen a large amount of confusion from people that have
upgraded from 3.2 to 4.0, can this be expected with 3.3?

Brandon


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat 3.2 vs Tomcat 3.3

2001-11-30 Thread Bret Farris

I looked at 3.3 and it looked considerably different than 3.2 to me.  I was
able to upgrade my servlet applications to 4.0 with general ease.  The
directory structures for sure are much more similar between 3.2 and 4.0 than
they are between 3.2 and 3.3.  But then only been at this for a short time.

Bret

- Original Message -
From: "Brandon Cruz" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 12:00
Subject: Tomcat 3.2 vs Tomcat 3.3


> Has anyone found any major advantages/disadvantages between tomcat 3.2 and
> tomcat 3.3?I have seen a large amount of confusion from people that
have
> upgraded from 3.2 to 4.0, can this be expected with 3.3?
>
> Brandon
>
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith

I didn't install from RPM, so I don't know what the init script looks like.  
It might or might not start the security manager.   If Reid's suggestion to 
check the MySQL permissions doesn't help, check out the comments at the 
bottom of catalina.policy for how to set security permissions for the 
security manager inside TC4.

I thought since you had it working under TC 3 that the authentication with 
MySQL wouldn't be the problem.  As a diagnostic for MySQL, you could use the 
command line from your server to authenticate the same as your TC server 
(same user and password) and see what you get.

--David Smith

On Wednesday 31 October 2001 11:33 am, you wrote:
> Hi David,
>
>
> I've started tc 4.0 with the init script. I'm not sure whether tomcat is
> started with -security or not.
> Which modifications are needed? How do these look like?
>
> Christian
>
> David Smith wrote:
> > There's not enough info to tell, but it looks like the MySQL driver and
> > TC 4.0.1 are working correctly.  Are you using the security manager that
> > comes with TC 4??  If so, you need to modify catalina.policy to allow
> > this connection.
> >
> > --David Smith
>
> --
> To unsubscribe, e-mail:  
>  For additional
> commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Christian Gothe

Hi Reid,

ups...i'm so nutty ;-).. of course, the privileges...

Thanks,
Christian


Reid Beckett wrote:

> This doesn't sound like a problem with Tomcat configuration.  It has
> something to do with the mysql user privileges.  Assuming the dbURL,
> username, and password are correct, the user may not have access to the
> particular database, or the user may not have access from that
> particular ip address.
> 
> -Original Message-
> From: Christian Gothe [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 31, 2001 9:51 AM
> To: [EMAIL PROTECTED]
> Subject: TOMCAT 3.2 -> 4.0, JDBC, MySQL
> 
> 
> Hi!
> 
> Problem:
> 
> -[cut]-
> Class.forName("org.gjt.mm.mysql.Driver");
> Connection con = DriverManager.getConnection(DbURL, DbUser, DbPassword);
> -[cut]-
> 
> That works fine for TC3.2, but throws an SQLException in TC 4.0.
> 
> Exception:
> 
> java.sql.SQLException: Server configuration denies access to data source
> 
> System:
> 
> RedHat 7.2
> Tomcat-4.0.1 RPMS
> JDK-1.4 RPMS
> MM.Mysql JDBC Driver
> Apache-1.3.12 RPMS
> MySQL-3.23.36 RPMS
> webapp_module RPMS (WarpConnector)
> 
>   What have to be done to get my servlet work for TC 4.0 w/o use of JNDI
> 
> lookups?
> 
> 
> Regards,
> Christian
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 
> 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Christian Gothe

Hi David,


I've started tc 4.0 with the init script. I'm not sure whether tomcat is 
started with -security or not.
Which modifications are needed? How do these look like?

Christian

David Smith wrote:

> There's not enough info to tell, but it looks like the MySQL driver and TC 
> 4.0.1 are working correctly.  Are you using the security manager that comes 
> with TC 4??  If so, you need to modify catalina.policy to allow this 
> connection.
> 
> --David Smith
> 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread Reid Beckett

This doesn't sound like a problem with Tomcat configuration.  It has
something to do with the mysql user privileges.  Assuming the dbURL,
username, and password are correct, the user may not have access to the
particular database, or the user may not have access from that
particular ip address.

-Original Message-
From: Christian Gothe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 9:51 AM
To: [EMAIL PROTECTED]
Subject: TOMCAT 3.2 -> 4.0, JDBC, MySQL


Hi!

Problem:

-[cut]-
Class.forName("org.gjt.mm.mysql.Driver");
Connection con = DriverManager.getConnection(DbURL, DbUser, DbPassword);
-[cut]-

That works fine for TC3.2, but throws an SQLException in TC 4.0.

Exception:

java.sql.SQLException: Server configuration denies access to data source

System:

RedHat 7.2
Tomcat-4.0.1 RPMS
JDK-1.4 RPMS
MM.Mysql JDBC Driver
Apache-1.3.12 RPMS
MySQL-3.23.36 RPMS
webapp_module RPMS (WarpConnector)

  What have to be done to get my servlet work for TC 4.0 w/o use of JNDI

lookups?


Regards,
Christian


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: TOMCAT 3.2 -> 4.0, JDBC, MySQL

2001-10-31 Thread David Smith

There's not enough info to tell, but it looks like the MySQL driver and TC 
4.0.1 are working correctly.  Are you using the security manager that comes 
with TC 4??  If so, you need to modify catalina.policy to allow this 
connection.

--David Smith

On Wednesday 31 October 2001 09:51 am, you wrote:
> Hi!
>
> Problem:
>
> -[cut]-
> Class.forName("org.gjt.mm.mysql.Driver");
> Connection con = DriverManager.getConnection(DbURL, DbUser, DbPassword);
> -[cut]-
>
> That works fine for TC3.2, but throws an SQLException in TC 4.0.
>
> Exception:
>
> java.sql.SQLException: Server configuration denies access to data source
>
> System:
>
> RedHat 7.2
> Tomcat-4.0.1 RPMS
> JDK-1.4 RPMS
> MM.Mysql JDBC Driver
> Apache-1.3.12 RPMS
> MySQL-3.23.36 RPMS
> webapp_module RPMS (WarpConnector)
>
>   What have to be done to get my servlet work for TC 4.0 w/o use of JNDI
> lookups?
>
>
> Regards,
> Christian
>
>
> --
> To unsubscribe, e-mail:  
>  For additional
> commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 3.2 and Saxon

2001-10-23 Thread Larry Isaacs

Having XML parser/XSLT conflicts is a known issue in Tomcat 3.2.
I believe the saxon.jar would need to go in TOMCAT_HOME/lib.
If Tomcat won't start, perhaps a more compatible XML parser
that the current xerces.jar could be found.  If not, I think
you are out of luck with Tomcat 3.2.x.  Without knowing the
startup problem, I can't say for sure.

You will likely have better luck with Tomcat 3.3 or 4.0.1.
New classloader handling allows "server" classes to be
hidden from web applications.

In Tomcat 3.3, the default behavior is try to detect if a
web application has its own XML parser.  If found, Tomcat 3.3
keeps its crimson.jar and xalan.jar hidden from that web
application.  If not found, crimson.jar and xalan.jar are
included in the web application's classloader.  This behavior
is configurable should Tomcat 3.3 not detect saxon.jar as
an XML parser.

Tomcat 4.0.x implements the new feature in the Servlet 2.3
spec where classes in the web application's class loader
are used before classes in parent classloaders.  This
should also fix your problem.

Hope this helps.

Larry

> -Original Message-
> From: Hornsby Peter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 11:51 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat 3.2 and Saxon
> 
> 
> Hi folks, newbie here, asking for help :-)
> 
> I'm having troubles using Tomcat 3.2 with Saxon.  My code imports the
> following:
> 
> import javax.xml.transform.TransformerFactory;
> import javax.xml.transform.Transformer;
> import javax.xml.transform.stream.StreamSource;
> import javax.xml.transform.stream.StreamResult;
> import javax.xml.transform.TransformerException;
> import javax.xml.transform.TransformerConfigurationException;
> 
> However, Tomcat returns 
> 
> 2001-10-23 16:15:21 - Ctx( /nimoi ): Exception in: R( /nimoi +
> /servlet/NimoiQue
> ry + null) - java.lang.NoSuchMethodError
> at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1451)
> at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> 
> at
> org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
> ormerFactoryImpl.java:864)
> (more removed)
> 
> when I try and call 
> 
> TransformerHandler handler = stfactory.newTransformerHandler(new
> StreamSource(xslID));
> 
> From within my code.  As far as I can see, it is a problem with Tomcat
> being unable to find the right files.  Assuming the files are 
> contained
> within saxon.jar (any confirmation would be appreciated), 
> moving a copy
> of it to TOMCAT_HOME/lib would solve the problem...but unfortunately,
> Tomcat won't even start up.  The other files in TOMCAT_HOME/lib are:
> 
> ant.jar
> jasper.jar
> servlet.jar
> webserver.jar
> xerces.jar
> 
> Any idea what I can do to solve the problem?
> 
> Also, is it possible to set JVM settings (specifically memory 
> allocation
> settings) for running within Tomcat?
> 
> Thanks for any and all help,
> Pete 
> 
> 
> -- 
> The Information contained in this E-Mail and any subsequent 
> correspondence
> is private and is intended solely for the intended recipient(s).
> For those other than the recipient any disclosure, copying, 
> distribution, 
> or any action taken or omitted to be taken in reliance on 
> such information is
> prohibited and may be unlawful.
> 



Re: Tomcat 3.2 Mac OS 9.1 JNI UnsatisfiedLinkError

2001-10-19 Thread Allan Greenier

I use Webstar 4.4, which will interface (redirect url) with Tomcat.

I'm still trying to solve my link error, I'm wondering if anyone on this list
has insight into this. Tomcat 3.2:

I was advised to start tomcat with
-Djava.library.path={path to shared lib}
I looked through tomcat source, and nowhere does it consult
java.library.path
Doesn't that mean this will fail also?

I'm about to bite the bullet and talk to my shared lib app
with RMI, but I'm reluctant to.


Allan Greenier
Fluency llc.
[EMAIL PROTECTED]
www.fluencyllc.com


> Just curious...
> 
> What web server would you hook Tomcat up to...  It's not like Apache works
> on Mac OS 9.x...
>



Re: Tomcat 3.2 Mac OS 9.1 JNI UnsatisfiedLinkError

2001-10-18 Thread Darth Darknerd

Just curious...

What web server would you hook Tomcat up to...  It's not like Apache works
on Mac OS 9.x...




Re: Tomcat 3.2 or 4.0 standalone, which is better to use now?

2001-08-07 Thread cmanolache

On Tue, 7 Aug 2001, Laurens Fridael wrote:

> Hi,
>
>
> Which is better for standalone usage? Tomcat 3.2 or 4.0 beta6 ? Stability is
> my most important consideration.

3.3, of course :-)


> I know Tomcat 4 is still beta but I read that it already performs well. I'm
> currently experimenting with a Apache/Tomcat 3.2 combination but I find the
> Apache URL mapping configuration too much work.

If you want static files served by apache, you have to do the work.

If "forward everything to tomcat" is an acceptable solution, both
mod_webapp and mod_jk will give you a trivial configuration ( the only
difference is that mod_jk will also generate the config for you, so you
don't have to type it for each context ).



Costin




Re: Tomcat 3.2 or 4.0 standalone, which is better to use now?

2001-08-07 Thread Pier P. Fumagalli

Laurens Fridael at [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Which is better for standalone usage? Tomcat 3.2 or 4.0 beta6 ? Stability is
> my most important consideration.
> I know Tomcat 4 is still beta but I read that it already performs well.

Without ANY whatsoever doubt... 4.0.

> I'm currently experimenting with a Apache/Tomcat 3.2 combination but I find
> the Apache URL mapping configuration too much work.

Try mod_webapp... It's a one-line configuration solution...

Pier




RE: Tomcat 3.2 or 4.0 standalone, which is better to use now?

2001-08-07 Thread Michael Weissenbacher

if it's for stability then coose a apache/tomcat combination. it's
definately more stable and also faster than using tomcat standalone.
i know this wasn't your question, but i definately didn't have good
experiences with tomcat standalone. i think it's main purpose is for
testing.

-Original Message-
From: Laurens Fridael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 3:33 PM
To: Tomcat mailing list
Subject: Tomcat 3.2 or 4.0 standalone, which is better to use now?


Hi,


Which is better for standalone usage? Tomcat 3.2 or 4.0 beta6 ? Stability is
my most important consideration.

I know Tomcat 4 is still beta but I read that it already performs well. I'm
currently experimenting with a Apache/Tomcat 3.2 combination but I find the
Apache URL mapping configuration too much work.


Regards
-Laurens




Re: Tomcat 3.2

2001-07-24 Thread dkalna


Hi,

 Just replace Classic VM with HotSpot Server VM.

 Best regards
 Dalibor

 [EMAIL PROTECTED]




__ Reply Separator _
Subject: Tomcat 3.2
Author:  [EMAIL PROTECTED] (Deniz Gülmez <[EMAIL PROTECTED]>)
at INTERNET
Date:24.7.2001 5:08






Hello,

i just implemented Tomcat 3.2 on a Windows 2000 box. I want to start Tomcat
as a NT service and i followed the instructions on the "working with the
Jakarta NT service" document. A service named "Tomcat" is working properly
but when the user loggs off from the system, the service stops.This is an
unwanted situation. Could you please tell me if there are any workarounds or
methods to avoid this situation?

Thanks a lot



Deniz Gülmez
Implementation and Localization Specialist
Digilane Professional Internet Services Inc.
http://www.digilane.com.tr
address: Yapi Kredi Plaza C Blok Kat 8 80620 Levent Istanbul Turkey
phone  : +90 212 270 96 66(pbx)
fax: +90 212 278 11 49





Re: Tomcat 3.2 standalone on Solaris 2.7 core dumping

2001-06-04 Thread Hemant Singh

HI Tom:
try increasing the memory available to shell in which your tomcat server is
running(on popup window in case ur using defaults)
It might work
Hemant


- Original Message -
From: "Tom Amiro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 03, 2001 10:31 PM
Subject: Tomcat 3.2 standalone on Solaris 2.7 core dumping


> Hi,
>
> I'm using Tomcat 3.2  in standalone mode on Solaris 2.7 with the JDK 1.3,
> and it is core dumping with Java Out of Memory.
>
> Tomcat is running a servlet that performs XSLT transformations on an
> XML file that is ~1.4MB big and returns html output to the client
> browser. It was running fine during development, but once the
> servlet was made available to the web site's users (www.coolrunning.com),
> it began crashing. Must be due to the increased load.
>
> I don't know how heavy the load is exactly, nor how to determine it, but
> the site is not an Ebay by any means. I'm assuming Tomcat can handle
> a single servlet application on a low-traffic web site -- less than
100,000 hits a day.
>
> Following suggestions on the web, I've
>
> - Increased the memory allocated to Tomcat to 128M (using -Xmx128m
switch)
> - Increased the max_threads to 100
> - Increased the file descriptors to 256
> - added System.gc(); to the end of the Servlet code
>
> These changes have helped; it takes much longer, but it still crashes
under "normal" use.
>
> I've been watching the output from the "top" command.
> It shows that the Tomcat  Java process is starting with about 32MB and
> over time and load it climbs. It was running at 62M for quite a while, and
> it even dropped to 55M, and then grew  to 169M without crashing.
> Not sure how high the SIZE (memory) gets to before it crashes; but crash
it does
> with a core dump.
>
> With the 'ps' command, I don't see any accumulation of treads. Here's
> a dump
>   81=> /usr/ucb/ps -auxww | grep thread
>   root 24231 73.0 28.3173016141648 ?R 20:30:02 21:51
/usr/local/j2sdk/
>


bin/../bin/sparc/native_threads/java -Xmx128m -Dtomcat.home=/usr/local/tomca
t
>   or g.apache.tomcat.startup.Tomcat
>
> I don't know how to analyze the core dump, except to use strings on it. At
least,
> I can see that it was definitely caused by Tomcat.
>
> What would be a reasonable setting on max_threads? Is 100 just to low?
> I could start Tomcat with more memory, say 256M (system has 512MB),
> but I don't want to negatively impact the other applications. The system
is running
> Apache without any problems, independent of Tomcat.
>
> I've spent months developing this JSP/Servlet application for the
Coolrunning
> Events calendar, and can't go back. Have to make Tomcat work!
>
> Any help appreciated.
>
> Tom
>
>
>
>
>






RE: Tomcat 3.2 CPU utilization

2001-03-22 Thread DONNIE HALE

I spent a full day and a half trying to track this down. Once I had figured out the 
problem, I then had enough info to find it in the release notes. In our situation, I 
can peg a single CPU on a multi-CPU box just by requesting "/anyfile.html" from a 
browser. Your browser will just sit there for almost ever, and you'll see the CPU % 
jump way up. I'm just mentioning this so that you can prove quickly that your problem 
is solved.

Donnie


>>> [EMAIL PROTECTED] 03/22/01 11:54AM >>>
Donnie,

Looks like this is the culprit.  We will not know for sure for a day or 2
but it defiantly has our name on it.

TY!

Jason Maderios


-Original Message-
From: DONNIE HALE [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 22, 2001 11:17 AM
To: [EMAIL PROTECTED] 
Subject: RE: Tomcat 3.2 CPU utilization


Read the 3.2.1 release notes doc
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if
the 6.11 issue in there applies
to your configuration.

Donnie

>>> [EMAIL PROTECTED] 03/22/01 11:06AM >>>
D,


Did you find a resolution to this?  I am experiencing the same issue.  Load
keeps rising over a period of time until the machine can no-longer take
requests.

ENV:

Sparc Sol 2.6
Tomcat 3.2.1
Java j2re1_3_0_02
Apache 1.3.17 Using mod_jk

Anyone know where to look?


Jason Maderios


-Original Message-
From: D I Macdonald [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 12, 2001 5:27 AM
To: [EMAIL PROTECTED] 
Subject: Tomcat 3.2 CPU utilisation


Hi there.

I notice a few people have claimed to see high cpu utilisations when 
using tomcat on NT.  I have been using tomcat 3.2 on Solaris 7 (Ultra 
5).  The configuration is pretty much out of the box, except for turning 
on https support and changing default http port to 80.  The load on the 
machine is very light, and when the server is started CPU utilisation by 
the tomcat process is very low.

However, inevitably over the next few days, CPU utilisation climbs to 
close to 100% and does not diminish until the server is restarted.

Does anyone have any clues as to the probable cause of this?

Regards

D I Macdonald


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




RE: Tomcat 3.2 CPU utilization

2001-03-22 Thread Jason Maderios

Donnie,

Looks like this is the culprit.  We will not know for sure for a day or 2
but it defiantly has our name on it.

TY!

Jason Maderios


-Original Message-
From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 11:17 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 CPU utilization


Read the 3.2.1 release notes doc
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if
the 6.11 issue in there applies
to your configuration.

Donnie

>>> [EMAIL PROTECTED] 03/22/01 11:06AM >>>
D,


Did you find a resolution to this?  I am experiencing the same issue.  Load
keeps rising over a period of time until the machine can no-longer take
requests.

ENV:

Sparc Sol 2.6
Tomcat 3.2.1
Java j2re1_3_0_02
Apache 1.3.17 Using mod_jk

Anyone know where to look?


Jason Maderios


-Original Message-
From: D I Macdonald [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 12, 2001 5:27 AM
To: [EMAIL PROTECTED] 
Subject: Tomcat 3.2 CPU utilisation


Hi there.

I notice a few people have claimed to see high cpu utilisations when 
using tomcat on NT.  I have been using tomcat 3.2 on Solaris 7 (Ultra 
5).  The configuration is pretty much out of the box, except for turning 
on https support and changing default http port to 80.  The load on the 
machine is very light, and when the server is started CPU utilisation by 
the tomcat process is very low.

However, inevitably over the next few days, CPU utilisation climbs to 
close to 100% and does not diminish until the server is restarted.

Does anyone have any clues as to the probable cause of this?

Regards

D I Macdonald


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



RE: Tomcat 3.2 CPU utilization

2001-03-22 Thread DONNIE HALE

Read the 3.2.1 release notes doc 
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if the 6.11 
issue in there applies
to your configuration.

Donnie

>>> [EMAIL PROTECTED] 03/22/01 11:06AM >>>
D,


Did you find a resolution to this?  I am experiencing the same issue.  Load
keeps rising over a period of time until the machine can no-longer take
requests.

ENV:

Sparc Sol 2.6
Tomcat 3.2.1
Java j2re1_3_0_02
Apache 1.3.17 Using mod_jk

Anyone know where to look?


Jason Maderios


-Original Message-
From: D I Macdonald [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 12, 2001 5:27 AM
To: [EMAIL PROTECTED] 
Subject: Tomcat 3.2 CPU utilisation


Hi there.

I notice a few people have claimed to see high cpu utilisations when 
using tomcat on NT.  I have been using tomcat 3.2 on Solaris 7 (Ultra 
5).  The configuration is pretty much out of the box, except for turning 
on https support and changing default http port to 80.  The load on the 
machine is very light, and when the server is started CPU utilisation by 
the tomcat process is very low.

However, inevitably over the next few days, CPU utilisation climbs to 
close to 100% and does not diminish until the server is restarted.

Does anyone have any clues as to the probable cause of this?

Regards

D I Macdonald


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




RE: Tomcat 3.2 CPU utilization

2001-03-22 Thread Jason Maderios

D,


Did you find a resolution to this?  I am experiencing the same issue.  Load
keeps rising over a period of time until the machine can no-longer take
requests.

ENV:

Sparc Sol 2.6
Tomcat 3.2.1
Java j2re1_3_0_02
Apache 1.3.17 Using mod_jk

Anyone know where to look?


Jason Maderios


-Original Message-
From: D I Macdonald [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 5:27 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2 CPU utilisation


Hi there.

I notice a few people have claimed to see high cpu utilisations when 
using tomcat on NT.  I have been using tomcat 3.2 on Solaris 7 (Ultra 
5).  The configuration is pretty much out of the box, except for turning 
on https support and changing default http port to 80.  The load on the 
machine is very light, and when the server is started CPU utilisation by 
the tomcat process is very low.

However, inevitably over the next few days, CPU utilisation climbs to 
close to 100% and does not diminish until the server is restarted.

Does anyone have any clues as to the probable cause of this?

Regards

D I Macdonald


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



Re: Tomcat 3.2 & IIS 5.0

2001-03-21 Thread Malemute

Eric, port 8080 is default by Tomcat; this port is used in Tomcat, but IIS
normally is used a web port server (80); I have same problem than Klemens.


- Original Message -
From: "Eric Jenson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 8:35 PM
Subject: RE: Tomcat 3.2 & IIS 5.0


> Have you specified the JAVA_HOME directory in the tomcat.bat file?
>
> set JAVA_HOME = C:\jdk1.2.2\
>
> Have you installed the isapi_redirect.dll in IIS?
> Are you specifying the http://server:8080/ in your URL?
> I just installed it and works fine for me.
>
> -Original Message-
> From: Schmid, Klemens [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 11:29 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat 3.2 & IIS 5.0
>
>
> Hi
>
> I cannot get tomcat 3.2 to run with IIS under W2K server. I followed the
> tomcat-iis-howto instructions and also the troubleshooting but I never got
> the basic example page. My log shows the "GET /... 500" but the tip in the
> troubleshooting doesn't help.
> Are there any known issues? Newgroups hint concerning this problems are
> poor.
>
> Regards,
> Klemens Schmid
> SAP AG
>




RE: Tomcat 3.2 & IIS 5.0

2001-03-21 Thread Eric Jenson

Have you specified the JAVA_HOME directory in the tomcat.bat file?

set JAVA_HOME = C:\jdk1.2.2\ 

Have you installed the isapi_redirect.dll in IIS?
Are you specifying the http://server:8080/ in your URL?
I just installed it and works fine for me.

-Original Message-
From: Schmid, Klemens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 11:29 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 3.2 & IIS 5.0


Hi

I cannot get tomcat 3.2 to run with IIS under W2K server. I followed the
tomcat-iis-howto instructions and also the troubleshooting but I never got
the basic example page. My log shows the "GET /... 500" but the tip in the
troubleshooting doesn't help.
Are there any known issues? Newgroups hint concerning this problems are
poor.

Regards,
Klemens Schmid
SAP AG



RE: Tomcat 3.2, RMI, JNDI & Classloaders: a solution

2001-03-15 Thread Andrew Gilbert


>You can make them visible, but the class from the boot classloader or
>system classloader has to know what to do -- it calls
>Thread.getContextClassLoader() to get the class loader for the current
>thread, and asks *that* classloader to create the new object, instead
of
>using the "new" operator.

As an example then, Toolkit.getDefaultToolkit() does a Class.forName and
if that fails tries the system class loader when creating the default
AWT toolkit. I would assume then that the jdk12 interceptor is not going
to help in a scenario such as using PJA where one has to force pja.jar
into the boot class path. Is that correct?



RE: Tomcat 3.2, RMI, JNDI & Classloaders: a solution

2001-03-15 Thread Craig R. McClanahan



On Thu, 15 Mar 2001, Andrew Gilbert wrote:

> Carlos,
> 
> Thanks. This is interesting. Can you explain what the effect of
> Thread.setContextClassLoader() is? Does it make classes from the
> WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by 
> the boot class or system class loader?
> 

You can make them visible, but the class from the boot classloader or
system classloader has to know what to do -- it calls
Thread.getContextClassLoader() to get the class loader for the current
thread, and asks *that* classloader to create the new object, instead of
using the "new" operator.

WARNING:  Thread.setContextClassLoader() does not exist in JDK 1.1 (which
Tomcat 3.x is designed to support), so this change can only be added to
optional Tomcat components that are loaded only when running in a Java2
environment.

WARNING:  Tomcat 4.0 (which requires Java2 already) does use the context
class loader in this manner already.  However, this behavior is *not* in
the servlet specification, and you can *not* rely on it if your
application needs to be portable.  (For that matter, servlet containers
are not even required to provide a "shared JAR files" mechanism -- they
are only required to support WEB-INF/classes and WEB-INF/lib.)

> Andrew
> 

Craig McClanahan




RE: Tomcat 3.2, RMI, JNDI & Classloaders: a solution

2001-03-15 Thread Andrew Gilbert

Carlos,

Thanks. This is interesting. Can you explain what the effect of
Thread.setContextClassLoader() is? Does it make classes from the
WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by 
the boot class or system class loader?

Andrew

-Original Message-
From: Carlos Pita [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:50 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Tomcat 3.2, RMI, JNDI & Classloaders: a solution


Hi all!

A lot of people has been having problems with Tomcat 3.2,
classloaders,
jndi, jndi.properties, rmi and stubs when trying to call ejbs from
Tomcat in
a different JVM. The problem is simple: because jndi and rmi classes are
loaded by the system (or bootstrap, I can't remember it but it really
doesn't matters) classloader -see
\docs\tooldocs\findingclasses.html - they can not see the
resources
and classes of your context (loaded by the context classloader, which is
a
descendant -i mean in the classloader delegation hierarchy- of the
system
classloader).
An obvious and bad solution is to put your classes in the CLASSPATH
(don't do this!) to allow them to be loaded once for all of your
contexts by
the system classloader.
Instead, to fix the problem you should add the request interceptor
showed below to your server.xml (I have read an email saying that it
should
be the last request interceptor in the chain so I put it the last, but I
haven't tried with another combinations):



This is in order to call the Thread.setContextClassLoader() during
each
request. The following is taken from a post by C. McClanahan in
tomcat-user:
"Note that Tomcat 4.0, because it is guaranteed a Java2 platform as a
prerequisite, calls Thread.setContextClassLoader() on every request by
default".
But even after doing this, jndi.properties in your WEB-INF/classes
(or
in a .jar in WEB-INF/lib) won't be loaded. Keep reading the following
paragraphs quoted from an email by Christopher Audley in tomcat-dev!

""
The following discussion applies to tomcat 3.2.1 running under Sun JDK
1.3

I spent this afternoon tracking down why a call to new InitialContext()
from a web application did not appear to be finding the jndi.properties
located under WEB-INF/classes.  I am using the Jdk12Interceptor and
verified that Thread.currentThread().getClassLoader() was the tomcat
AdaptiveClassLoader before the call to new InitialContext().  After some
investigation I determined that the JNDI implementation uses the
classloader method getResources to find all occurances of the file
jndi.properties in the classpath.  AdaptiveClassLoader does not have
this method implemented, the default implementation calls findResources
which simply returns an empty Enumeration unless overriden.

Attached are patches to AdaptiveClassLoader and ClassRepository to
implement findResources so that JNDI will behave correctly when a
jndi.properties is placed in the web application classpath.  I have
moved some code from AdaptiveClassLoader to ClassRepository to avoid
code duplication and changed the implementation of getResource to
findResource for consistency.

I hope that this can be incorporated into the sources before 3.2.2.
""

Finally, after aplying the patch (I've attached it as you can see)
and
recompiling the sources you get the desired behaviour.

See you,
Carlos



Re: Tomcat 3.2 CPU utilisation

2001-03-12 Thread D I Macdonald

Very much obliged.  That looks like a definite possibility.

Regards

D I Macdonald


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




Re: Tomcat 3.2 CPU utilisation

2001-03-12 Thread DONNIE HALE

Read the 3.2.1 release notes doc 
(http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme) and see if the 6.11 
issue in there applies
to your configuration.

Donnie


>>> [EMAIL PROTECTED] 03/12/01 05:26AM >>>
Hi there.

I notice a few people have claimed to see high cpu utilisations when 
using tomcat on NT.  I have been using tomcat 3.2 on Solaris 7 (Ultra 
5).  The configuration is pretty much out of the box, except for turning 
on https support and changing default http port to 80.  The load on the 
machine is very light, and when the server is started CPU utilisation by 
the tomcat process is very low.

However, inevitably over the next few days, CPU utilisation climbs to 
close to 100% and does not diminish until the server is restarted.

Does anyone have any clues as to the probable cause of this?

Regards

D I Macdonald


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



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




RE: TOMCAT 3.2 + session

2001-02-28 Thread Michael Weissenbacher

i believe this has something to do with the SecureRandom that's userd by
tomcat to create sessionid's. the initialisation takes quite long but only
the first time. try accessing the servlet from another computer or user
another browser! netscape's behavior is not really suitable if the test
machine is the same as the servlet machine.

michael


-Original Message-
From: Bartsch Axel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject: TOMCAT 3.2 + session


Hi,

I am using TOMCAT 3.2 (I guess this means 3.2.1)

When creating a session (request.getSession(true)) within a servlet this
session creation takes about 10-20s!

And if you run the Netscape Browser 4.7 on the same machine as the servlet
engine, the session creation takes about 1 hour:
the reason is that Netscape takes all processing time when waiting for a
response and therefore blocks the servlet engine process.

Does anybody know this problem?

And why does TOMCAT need so long to create a session? With JRUN this was no
problem. What can be done?

In which TOMCAT version will this be corrected?


Axel   Lannion/France

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


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




RE: TOMCAT 3.2 + session

2001-02-28 Thread Bartsch Axel

To be exact it takes 12 minutes to login (=create session) when running Netscape 
browser and the TOMCAT servlet engine on the same machine.

Axel Lannion/France

> -Original Message-
> From: Bartsch Axel [SMTP:[EMAIL PROTECTED]]
> Sent: mercredi 28 f> évrier 2001 14:34
> To:   [EMAIL PROTECTED]
> Subject:  TOMCAT 3.2 + session
> 
> Hi,
> 
> I am using TOMCAT 3.2 (I guess this means 3.2.1)
> 
> When creating a session (request.getSession(true)) within a servlet this session 
>creation takes about 10-20s!
> 
> And if you run the Netscape Browser 4.7 on the same machine as the servlet engine, 
>the session creation takes about 1 hour:
> the reason is that Netscape takes all processing time when waiting for a response 
>and therefore blocks the servlet engine process.
> 
> Does anybody know this problem?
> 
> And why does TOMCAT need so long to create a session? With JRUN this was no problem. 
>What can be done?
> 
> In which TOMCAT version will this be corrected?
> 
> 
> Axel   Lannion/France
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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




RE: Tomcat 3.2 throwing a VerifyError at me

2001-02-12 Thread CPC Livelink Admin


An easy way to find it is to introduce an error in the JSP and look at
Jaspers error message, which includes the full path to the file.

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 throwing a VerifyError at me



In the work directory will be a .java file that will correspond to
your jsp file.  (The name will be managled, but its fairly straight forward
which file is which).  You won't be able to change how Jasper works, but
knowing which class it wants to create with a no-arg constructor will help
solve the problem.

Randy


-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 throwing a VerifyError at me


>   It would appear to me that you are trying to create an instance of a
> class (using Class.newInstance()) that doesn't have a matching contructor

I never call Class.newInstance() at all in my code.

> maybe Jasper is generating this call?

How do I check this, and how do I stop it from happening?

Sorry for all the questions, maybe I should just leave the system
alone.  It sems quite happy with Tomcat 3.1.

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Arms alone are not enough to keep the peace
it must be kept by men.
 -- John Fitzgerald Kennedy, 1962


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

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



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




RE: Tomcat 3.2 throwing a VerifyError at me

2001-02-12 Thread Randy Layman


In the work directory will be a .java file that will correspond to
your jsp file.  (The name will be managled, but its fairly straight forward
which file is which).  You won't be able to change how Jasper works, but
knowing which class it wants to create with a no-arg constructor will help
solve the problem.

Randy


-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 throwing a VerifyError at me


>   It would appear to me that you are trying to create an instance of a
> class (using Class.newInstance()) that doesn't have a matching contructor

I never call Class.newInstance() at all in my code.

> maybe Jasper is generating this call?

How do I check this, and how do I stop it from happening?

Sorry for all the questions, maybe I should just leave the system 
alone.  It sems quite happy with Tomcat 3.1.

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Arms alone are not enough to keep the peace
it must be kept by men.
 -- John Fitzgerald Kennedy, 1962


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

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




RE: Tomcat 3.2 throwing a VerifyError at me

2001-02-12 Thread Rajnish Bhaskar

>   It would appear to me that you are trying to create an instance of a
> class (using Class.newInstance()) that doesn't have a matching contructor

I never call Class.newInstance() at all in my code.

> maybe Jasper is generating this call?

How do I check this, and how do I stop it from happening?

Sorry for all the questions, maybe I should just leave the system 
alone.  It sems quite happy with Tomcat 3.1.

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Arms alone are not enough to keep the peace
it must be kept by men.
 -- John Fitzgerald Kennedy, 1962


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




RE: Tomcat 3.2 throwing a VerifyError at me

2001-02-12 Thread Randy Layman


It would appear to me that you are trying to create an instance of a
class (using Class.newInstance()) that doesn't have a matching contructor to
how you are trying to load it.  If I remember correctly, newInstance only
works with No-Argument constructors.  Check for this, and if its not in your
code, check the generated java - maybe Jasper is generating this call?

Randy


-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 9:41 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2 throwing a VerifyError at me


I didn't get a reply to this before, so I'm resending it.

Raj.

Hi all,
I've been using Tomcat 3.1 for a quite a long time now, and I 
thought that I'd finally give 3.2.1 a try since it's (finally) out of beta.

I've set up Tomcat on a Windows NT4 machine with Sun JDK 1.2 
and added my webapp to the server.xml file as follows:





I then went through my app to ensure that everything is still 
working, and although most of the JSPs are working fine, when it 
comes to one of them, I get a VerifyError exception:

/ITEU/html/manager/displayquestions.jsp Internal Servlet Error:
javax.servlet.ServletException: (class: 
html/manager/_0002fhtml_0002fmanager_0002fdisplayquestions_00
02ejspdisplayquestions_jsp_1, method: _jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServle
tResponse;)V) Incompatible object argument for function
<>

Root cause:
java.lang.VerifyError: (class: 
html/manager/_0002fhtml_0002fmanager_0002fdisplayquestions_00
02ejspdisplayquestions_jsp_1, method: _jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServle
tResponse;)V) Incompatible object argument for function
at java.lang.Class.newInstance0(Native Method)
<>

I've gone back and checked this against Tomcat 3.1 and it works 
fine.  I'm guessing that this is some sort of security thing that is 
different between 3.1 and 3.2, or there's some setting that I've 
missed, but I can't see what it is.  Can someone help?

TIA,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Only buffoons refer to the Internet as the Information Superhighway.
 -- (The Rough Guide to the Internet 1999)


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

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




RE: Tomcat 3.2 admin app

2001-02-02 Thread McCarthy, Richard

hi,
I tried typing in the port number and it works!!..
thanks a million for your reply,something I probably should have been
doing ,but am extremely new to the whole web server setup..
Once again,thanks for the help,
Richard...

> -Original Message-
> From: Stefan Langer [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 6:36 PM
> To:   [EMAIL PROTECTED]
> Subject:      RE: Tomcat 3.2 admin app
> 
> What is your enviroment??? 
> 
> Try going to port 8080 where Tomcat is actually listening.. 
> something like this
> 
> http://localhost:8080/admin
> 
> The admin index page should come up!!
> 
> Stefan
> 


This message is sent in confidence for the addressee
only.  The contents are not allowed to be disclosed to
anyone other than the addressee.  Unauthorised 
recipients must preserve this confidentiality and should 
please advise the sender immediately of any error in
transmission.

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




RE: Tomcat 3.2 admin app

2001-02-01 Thread Stefan Langer

The login is what ever you define in the tomcat-users.xml file in the conf directory 
under your tomcat installation.

Tomcat doesn't give a default setup for the admin role so you have to edit it 
yourself.

Try something like:




Stefan




RE: Tomcat 3.2 admin app

2001-02-01 Thread Johnathan Smith

But whats the login??

--- Stefan Langer <[EMAIL PROTECTED]> wrote:
> What is your enviroment??? 
> 
> Try going to port 8080 where Tomcat is actually
> listening.. 
> something like this
> 
> http://localhost:8080/admin
> 
> The admin index page should come up!!
> 
> Stefan
> 
> 


=
If your into Body For Life, check out
http://clubs.yahoo.com/clubs/bodyforlifestatenislandny

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

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




RE: Tomcat 3.2 admin app

2001-02-01 Thread Stefan Langer

What is your enviroment??? 

Try going to port 8080 where Tomcat is actually listening.. 
something like this

http://localhost:8080/admin

The admin index page should come up!!

Stefan




Re: Tomcat 3.2 Hardware Requirements, OS

2001-01-14 Thread Narayanan


  This information is available in the tomcat-aache.org ..when u visit this
site they would have given the platforms in which they have sucessfully
tested
  tomcat ..Win 98 , NT ,Unix,Solaris. Linux ...supports 

  Narayanan


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




RE: tomcat 3.2 and 3.2.1 slow

2001-01-13 Thread andyjee

Cannot start tomcat under windows 98? attached is log file. Already
increased environment variable to 2016mb. Got any ideas

-Original Message-
From: Kief Morris [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: tomcat 3.2 and 3.2.1 slow


Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600
>when i run tomcat from jbuilder3 i notice a significant delay in running
>jsps ( the num guess jsp for example takes 50 seconds every first time i
>start tomcat and run it)
>the same jsp executes very fast in tomact 3.1.

Is it also slow when you run 3.2.1 independently of jbuilder? I've found
running Tomcat under a debugger is fantastically slow (not really worth
it IMO).

Kief


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

 jasper.log
 servlet.log
 tomcat.log

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


Re: tomcat 3.2 and 3.2.1 slow

2001-01-13 Thread Stein M. Eliassen

Kief Morris wrote:
> 
> Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600
> >when i run tomcat from jbuilder3 i notice a significant delay in running
> >jsps ( the num guess jsp for example takes 50 seconds every first time i
> >start tomcat and run it)
> >the same jsp executes very fast in tomact 3.1.
> 

When running Tomcat 3.2.1 in Visual Age for Java on Linux, the numguess took
less then five secs. on the first run, and after that it is no delay.


> Is it also slow when you run 3.2.1 independently of jbuilder? I've found
> running Tomcat under a debugger is fantastically slow (not really worth
> it IMO).
> 

What debugger, or IDE, is that?

Use taglibs and beans if you want to avoid some of that jsp-recompiling time.


Regards
Stein

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




Re: tomcat 3.2 and 3.2.1 slow

2001-01-13 Thread Kief Morris

Mohan Surender typed the following on 03:46 AM 1/13/2001 -0600
>when i run tomcat from jbuilder3 i notice a significant delay in running
>jsps ( the num guess jsp for example takes 50 seconds every first time i
>start tomcat and run it)
>the same jsp executes very fast in tomact 3.1.

Is it also slow when you run 3.2.1 independently of jbuilder? I've found
running Tomcat under a debugger is fantastically slow (not really worth 
it IMO).

Kief


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




RE: Tomcat 3.2 Beta 2 - IOException in ... - Connection aborted by peer: socket write error

2001-01-11 Thread Michael Wentzel

> the only thing i noticed is that this Exception is thrown 
> only when i put a
> reference to files larger than 3K
> 
> 
> What could this mean ?

Sounds like the peer client is getting tired of waiting for a transfer to
complete.
I had a similar problem when generating PDF's on the fly.  The generation
took
a couple of seconds and the client decided to timeout on the connection.
What
happens when you point your browser directly at the js files
(i.e. http://localhost:8080/Static/javascript/dhtmllib.js)?  You could
always try
breaking the files into smaller pieces and see if that works.


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

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




RE: Tomcat 3.2 stability

2001-01-04 Thread Lacerda, Wellington (AFIS)

Hi,

I'm running tomcat 3.2.1 in test and production environments here since the
release, for what, 10 days ? and did not note the problem you reported:

NT 4.0 latest sp
Tomcat 3.2.1 security patches maint release
Plenty of heavy apps
Oracle 8I

(Oi Jose Euclides, tentei responder a algumas de suas perguntas outro dia em
portugues, mas meu postmaster nao consegue achar seu email na previdencia
social)

Wellington Silva
UN/FAO

-Original Message-
From:   Jose Euclides da Silva Junior - DIGR.O
[mailto:[EMAIL PROTECTED]]
Sent:   04 January 2001 15:29
To: [EMAIL PROTECTED]
Subject:RES: Tomcat 3.2 stability

-BEGIN PGP SIGNED MESSAGE-

You dont need to do it at all! See the NT statistics about
all services are
running on...

José Euclides Júnior
__
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] 
[EMAIL PROTECTED]
http://euclides.8m.com


- -Mensagem original-
De: Duane Morse [SMTP:[EMAIL PROTECTED]]
Enviada em: Quinta-feira, 7 de Dezembro de 2000
14:59
Para:   '[EMAIL PROTECTED]'
Assunto:            RE: Tomcat 3.2 stability

You might want to write a simple JSP or servlet that you
could hit to get
information about memory and thread usage; that might
provide some clues.

- -Original Message-
From: Matthew Preston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 6:36 AM
To: tomcat user
Subject: Tomcat 3.2 stability


Has anyone noticed any stability problems with the recently
relesaed Tomcat
3.2?

The situation:

After running a couple of web apps for ~4 days with
light/moderate usage
Tomcat becomes very slow and starts using 100% cpu.  This
never happened
with Tomcat 3.1.

This was seen running on a resonably fast P3 computer with
128 megs ram and
NT4 with jdk 1.3.

Is this a known problem?

Cheers,
Matt
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1


iQCVAwUBOlSiSN0YhuJ3BUxtAQF4ywP7BkzTFQ8c1n1B9ATW010ov9midFj5YErh

CpjumOIONslLFkjzBLm6TBJhhd98nd+686jiYoSeoW4aiQ6spbiMBTmEt+orTw88

HlQ1zZXh7FDDVZv2gzIR2lvCyIi5yfKSNNShSF2DY2FQg+bx4Z1zd0vgMKIAdEDi
gdFwx62zXu8=
=ZPXs
-END PGP SIGNATURE-


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


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




Re: Tomcat 3.2 standalone + SSL - Help please

2000-12-20 Thread Dion_Vansevenant



Sorry, typo in the message. I meant to say "https".

Dion Vansevenant
Internetwork Administrator
MRO.com



|+--->
||  "Filip Hanik"|
||   |
||   |
||  19/12/2000   |
||  17:45|
||   |
|+--->
  >|
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: Dion Vansevenant/PSDI@PSDI       |
  |       Subject: Re: Tomcat 3.2 standalone + SSL - Help please   |
  >|




try https://ip.add.re.ss:8443 instead. ie has to know that you want to use
https instead of http

Filip

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 2:26 PM
Subject: Tomcat 3.2 standalone + SSL - Help please




I have followed the instructions in server.xml for configuring SSL with
Tomcat.
When I try to access the SSL connection at http://ip.add.re.ss:8443, the
server
thinks about it, then my browser (IE5) displays and empty certificates box
for
me the select the certificate I want to use. The certificate I want to use
is
the one created by following the tomcat-ssl-howto. I specified a keystore
directory when using the keytool command.

Perusing the Tomcat archives revealed nothing useful, but the OpenSSL FAQ
produced this interesting little tidbit:

 "What will typically happen is that when a server requests authentication
it
 will either not include your certificate or tell you that you have no
client
 certificates (Netscape) or present you with an empty list box (MSIE). The
 reason for this is that when a server requests a client certificate it
 includes a list of CAs names which it will accept. Browsers will only let
you
 select certificates from the list on the grounds that there is little point
 presenting a certificate which the server will reject.


 The solution is to add the relevant CA certificate to your servers "trusted
CA
 list". How you do this depends on the server sofware in uses."


 Does this mean Tomcat needs to be configured to present the certificate? If
 so, how and where?


 Thanks in advance.





Dion Vansevenant
Internetwork Administrator
MRO.com









Re: Tomcat 3.2 standalone + SSL - Help please

2000-12-19 Thread Filip Hanik

try https://ip.add.re.ss:8443 instead. ie has to know that you want to use
https instead of http

Filip

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 2:26 PM
Subject: Tomcat 3.2 standalone + SSL - Help please




I have followed the instructions in server.xml for configuring SSL with
Tomcat.
When I try to access the SSL connection at http://ip.add.re.ss:8443, the
server
thinks about it, then my browser (IE5) displays and empty certificates box
for
me the select the certificate I want to use. The certificate I want to use
is
the one created by following the tomcat-ssl-howto. I specified a keystore
directory when using the keytool command.

Perusing the Tomcat archives revealed nothing useful, but the OpenSSL FAQ
produced this interesting little tidbit:

 "What will typically happen is that when a server requests authentication
it
 will either not include your certificate or tell you that you have no
client
 certificates (Netscape) or present you with an empty list box (MSIE). The
 reason for this is that when a server requests a client certificate it
 includes a list of CAs names which it will accept. Browsers will only let
you
 select certificates from the list on the grounds that there is little point
 presenting a certificate which the server will reject.


 The solution is to add the relevant CA certificate to your servers "trusted
CA
 list". How you do this depends on the server sofware in uses."


 Does this mean Tomcat needs to be configured to present the certificate? If
 so, how and where?


 Thanks in advance.





Dion Vansevenant
Internetwork Administrator
MRO.com





Re: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Matt Goss

G,
I'm not totally sure, but you may want to try renaming the subdirectory to
something other that admin (Apache may be picking it up as a call for its
mapping of /admin/ to the admin webapp...
Matt

Graeme Wallace wrote:

> So its a bug in 3.2 then.
>
> -Original Message-
> From: Matt Goss [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 18, 2000 8:24 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat 3.2 - getRequestDispatcher().forward
>
> Graeme,
> No, the forwarded request is treated as the same request.
> Matt
>
> Graeme Wallace wrote:
>
> > Hi,
> >
> > Is the behavior of getRequestDispatcher(pagelocation).forward(req,res)
> > supposed to interpret
> > the page location as if it was a new request to Tomcat ?
> >
> > ie. if I have a webapps that has an admin subdirectory and I want to
> forward
> > to its
> > index.jsp, I used to do
> > getRequestDispatcher("/admin/index.jsp").forward(req,res)
> >
> > but if i do that with Tomcats default admin webapp still configured it
> gets
> > the forward
> > to process instead of tomcat picking up the file.
> >
> > regards,
> >
> > G.


begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard



RE: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Graeme Wallace

So its a bug in 3.2 then.

-Original Message-
From: Matt Goss [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 8:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 3.2 - getRequestDispatcher().forward


Graeme,
No, the forwarded request is treated as the same request.
Matt

Graeme Wallace wrote:

> Hi,
>
> Is the behavior of getRequestDispatcher(pagelocation).forward(req,res)
> supposed to interpret
> the page location as if it was a new request to Tomcat ?
>
> ie. if I have a webapps that has an admin subdirectory and I want to
forward
> to its
> index.jsp, I used to do
> getRequestDispatcher("/admin/index.jsp").forward(req,res)
>
> but if i do that with Tomcats default admin webapp still configured it
gets
> the forward
> to process instead of tomcat picking up the file.
>
> regards,
>
> G.




Re: Tomcat 3.2 - getRequestDispatcher().forward

2000-12-18 Thread Matt Goss

Graeme,
No, the forwarded request is treated as the same request.
Matt

Graeme Wallace wrote:

> Hi,
>
> Is the behavior of getRequestDispatcher(pagelocation).forward(req,res)
> supposed to interpret
> the page location as if it was a new request to Tomcat ?
>
> ie. if I have a webapps that has an admin subdirectory and I want to forward
> to its
> index.jsp, I used to do
> getRequestDispatcher("/admin/index.jsp").forward(req,res)
>
> but if i do that with Tomcats default admin webapp still configured it gets
> the forward
> to process instead of tomcat picking up the file.
>
> regards,
>
> G.


begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard



Re: Tomcat 3.2 SSL error:Error reading request

2000-12-15 Thread Dave Smith



Hi Robert,
 
I can tell you keystores for 1.2 and 1.3 are not 
compatible
(at least in my experience). 
 
I ignored the note about compiling tomcat and 
was
able to get SSL working in tomcat 
standalone
configuration. See the Dasho-Pro reference? 
That's
a tag from deep in the Cipher suite. I'm 
almost
certain you need to backtrack and generate a 
fresh
keystore. import your RSA cert into 
that and make sure 
it is for "tomcat" with a password of "changeit". 
 
Verify that the 
keystore was generated with the same 
JDK that is used by tomcat. You mention 
using
different JDK's. I think this is where the problem 
is.
 
Good Luck,
 
Dave

  - Original Message - 
  From: 
  Robert 
  Oschwald 
  To: [EMAIL PROTECTED] 
  
  Cc: [EMAIL PROTECTED] 
  Sent: Friday, December 15, 2000 11:28 
  AM
  Subject: Tomcat 3.2 SSL error:Error 
  reading request
  
  Hi,
   
  I'm currently stuck with my SSL enabling of 
  tomcat 3.2 with a weird error message.
  As soon as I try to access SSL secured content, 
  the following error occurs:
   
  2000-12-15 05:23:51 - ContextManager: Error 
  reading request R( /) 4002000-12-15 05:23:51 - Ctx(  ): 400 R( /) 
  null2000-12-15 05:23:51 - Ctx(  ): Handler null null2000-12-15 
  05:23:51 - Ctx(  ): IOException in: R( /) Socket closed
  2000-12-15 05:10:57 - Ctx(  ): IOException 
  in: R( /) Socket closed
   
  After a while, the following exception is 
  thrown:
      at 
  java.io.IOException.(IOException.java:49)    
  at 
  javax.net.ssl.SSLException.([DashoPro-V1.2-120198])    
  at 
  java.io.BufferedInputStream.fill(BufferedInputStream.java:192)    
  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:498)
   
  I've compiled tomcat 3.2 with SSL support 
  (SSLSocketFactory was compiled successfully)
  as described in the Tomcal-SSL-Howto 
  document.
   
  ALso, I've changed my jdk-1.3 (IBM) jre 
  java.security file as described.
   
  I had a problem adding my CERT to the keystore, 
  where keytool always complained that the 
  public keys are different between the stored and 
  given key.
  I worked that around by deleting the keystore and 
  let keytool create it during the CERT import.
  That worked.
   
  I will now try it again with the SUN JDK 1.3, 
  maybe the IBM jdk doesn't work.
   
  Has anyone an idea what the problem is? Is this 
  caused by a keystore problem reading my CERT
  or is there any hint you can give 
me?
   
   
   
  Thanks in advance!
   
   
  Robert
   


Re: Tomcat 3.2 - Default web.xml not being read

2000-12-14 Thread Bojan Smojver

I just compiler the attached file into a class, put the class into the
webserver.jar (to avoid changing CLASSPATH for testing) and modified
server.xml file with:



after the WebXmlReader section and restarted Tomcat and Apache.

The errors are still going to the browser and generated java files are
still there.

I was hoping this file would fix the problem I had with init parameters
but it doesn't. I must be doing something really silly...

Any ideas?

Bojan

[EMAIL PROTECTED] wrote:
> 
> > > Given that the default web.xml is not being read, how do you enable Jikes as
> > > the JspCompiler?  That setting used to be in web.xml.  What's the syntax to
> > > specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
> > > (If so, could it be put back, or define a syntax in server.xml for it?).
> >
> > I'll try to write a small interceptor that sets the compiler and other
> > options for jasper ( probably next week it'll be ready ). ( that will not
> > require a new release of tomcat - you just install the interceptor in the
> > classpath and add it to tomcat.jar ).
> 
> Ok, I don't think it'll be ready next week - you can use it today, it took
> 10 minutes to write and test :-)
> 
> You can set all the options that jasper knows - compile the interceptor (
> you need tomcat jars in CLASSPATH ), add it to CLASSPATH, and then
> add in your server.xml ( after WebXmlReader ):
> 
>  className="tc3.JasperOptions"
> keepGenerated="true"
> jspCompilerPlugin="org.apache.jasper.compiler.JikesJavaCompiler"
> />
> 
> ( run javadoc and read all other options you can set ).
> It should work with any tomcat 3.2 - in 3.3 there is already one
> ( JspInterceptor ) that does a much better integration ( and is faster
> than the servlet used in 3.2 ).
> 
> Costin
> 
>   
>  Name: JasperOptions.java
>JasperOptions.javaType: Plain Text (TEXT/PLAIN)
>  Encoding: BASE64



RE: Tomcat 3.2 - Default web.xml not being read

2000-12-14 Thread Barbara Nelson

Thank you for the fast turnaround :-)
I'll try it out.

Barbara.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 1:44 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED] org'
Subject: Re: Tomcat 3.2 - Default web.xml not being read


> > Given that the default web.xml is not being read, how do you enable
Jikes as
> > the JspCompiler?  That setting used to be in web.xml.  What's the syntax
to
> > specify it in server.xml, or did we lose this functionality for Tomcat
3.2?
> > (If so, could it be put back, or define a syntax in server.xml for it?).
> 
> I'll try to write a small interceptor that sets the compiler and other
> options for jasper ( probably next week it'll be ready ). ( that will not
> require a new release of tomcat - you just install the interceptor in the
> classpath and add it to tomcat.jar ).

Ok, I don't think it'll be ready next week - you can use it today, it took
10 minutes to write and test :-)

You can set all the options that jasper knows - compile the interceptor (
you need tomcat jars in CLASSPATH ), add it to CLASSPATH, and then 
add in your server.xml ( after WebXmlReader ):


 
( run javadoc and read all other options you can set ).
It should work with any tomcat 3.2 - in 3.3 there is already one 
( JspInterceptor ) that does a much better integration ( and is faster
than the servlet used in 3.2 ).

Costin



Re: Tomcat 3.2 - Default web.xml not being read

2000-12-14 Thread cmanolache

> > Given that the default web.xml is not being read, how do you enable Jikes as
> > the JspCompiler?  That setting used to be in web.xml.  What's the syntax to
> > specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
> > (If so, could it be put back, or define a syntax in server.xml for it?).
> 
> I'll try to write a small interceptor that sets the compiler and other
> options for jasper ( probably next week it'll be ready ). ( that will not
> require a new release of tomcat - you just install the interceptor in the
> classpath and add it to tomcat.jar ).

Ok, I don't think it'll be ready next week - you can use it today, it took
10 minutes to write and test :-)

You can set all the options that jasper knows - compile the interceptor (
you need tomcat jars in CLASSPATH ), add it to CLASSPATH, and then 
add in your server.xml ( after WebXmlReader ):


 
( run javadoc and read all other options you can set ).
It should work with any tomcat 3.2 - in 3.3 there is already one 
( JspInterceptor ) that does a much better integration ( and is faster
than the servlet used in 3.2 ).

Costin


/*
 * 
 *
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *notice, this list of conditions and the following disclaimer in
 *the documentation and/or other materials provided with the
 *distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *any, must include the following acknowlegement:  
 *   "This product includes software developed by the 
 *Apache Software Foundation (http://www.apache.org/)."
 *Alternately, this acknowlegement may appear in the software itself,
 *if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *Foundation" must not be used to endorse or promote products derived
 *from this software without prior written permission. For written 
 *permission, please contact [EMAIL PROTECTED]
 *
 * 5. Products derived from this software may not be called "Apache"
 *nor may "Apache" appear in their names without prior written
 *permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * 
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * .
 *
 * [Additional notices, if required by prior licensing conditions]
 *
 */ 


package tc3;

import org.apache.tomcat.core.*;
import org.apache.tomcat.core.Constants;
import org.apache.tomcat.util.*;
import java.io.*;
import java.net.*;
import java.util.*;

/**
 * To set Jasper options. Needs to be installed just after WebXmlReader.
 * 
 *
 * Supports all of the  existing options in EmbededServletOptions.
 *
 * @author [EMAIL PROTECTED]
 */
public class JasperOptions extends BaseInterceptor {

public JasperOptions() {
}

Hashtable args=new Hashtable();

/**
 * Are we keeping generated code around?
 */
public void setKeepGenerated( String s ) {
args.put( "keepgenerated", s );
}

/**
 * Are we supporting large files?
 */
public void setLargeFile( String s ) {
args.put( "largefile", s );
}

/**
 * Are we supporting HTML mapped servlets?
 */
public void setMappedFile( String s ) {
args.put( "mappedfile", s );
}

/**
 * Should errors be sent to client or thrown into stderr?
 */

Re: Tomcat 3.2 - Default web.xml not being read

2000-12-14 Thread cmanolache

> Given that the default web.xml is not being read, how do you enable Jikes as
> the JspCompiler?  That setting used to be in web.xml.  What's the syntax to
> specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
> (If so, could it be put back, or define a syntax in server.xml for it?).

I'll try to write a small interceptor that sets the compiler and other
options for jasper ( probably next week it'll be ready ). ( that will not
require a new release of tomcat - you just install the interceptor in the
classpath and add it to tomcat.jar ).

I think Larry is also working on something - he sent a proposal few days
ago about how to enable debugging ( and pass options to jasper ). It'll
probably be part of a 3.2.x bug-fix release, as it requires some changes
in the existing code.
 
As a workaround you can use the web.xml in your web application. 

Costin




Re: Tomcat 3.2 - Default web.xml not being read

2000-12-14 Thread Barbara Nelson

> web.xml is no longer used/supported in 3.2.
> The main reason - the code that merged the "default" web.xml with the
> application web.xml was very bad, slow and hard to maintain. It was
> commented out until someone wants to fix it. 
> 
> A second reason - probably more important from a user perspective - is
> that it direct user to un-portable web applications. If you want your
> application to be portable ( i.e. to be able to take it and deploy it on a
> different container ) you need to have all the mappings, etc in your
> application web.xml file. As long as you use the "default" web.xml your
> application can't be portable.
> 
> In addition, there was no rule about the interaction between setting in
> the application web.xml and the server web.xml - it just happen based on
> hacks in the code.
> 
> A third reason is the fact that tomcat already has a configuration file -
> server.xml, and it's confusing to use 2 different styles, and server.xml
> has far more options on setting the server. 
> 
> To add another argument here, one idea in tomcat is that the server
> shouldn't depend on any particular cofiguration file format - it should be
> possible to embed tomcat in an application using JNDI or windows registry
> for configuration, and tomcat shouldn't require any special configuration
> file. Web.xml was a big obstacle for this. ( if you look at EmbededTomcat,
> it is possible to start tomcat without any configuration file at all,
> using only API calls. If we would use web.xml then this will become
> much harder or impossible )
> 
> Costin

Given that the default web.xml is not being read, how do you enable Jikes as
the JspCompiler?  That setting used to be in web.xml.  What's the syntax to
specify it in server.xml, or did we lose this functionality for Tomcat 3.2?
(If so, could it be put back, or define a syntax in server.xml for it?).

Thanks,

Barbara Nelson.





RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Maureen Fisher

it says right in the tomcat docs that windows does not support relative 
paths. I should have thought of that ;-)

At 12:35 PM 12/11/2000 -0800, Hernandez, Rey wrote:
>Hi all,
>
> Well, with the help of the comments I figured out the problem.  I
>did not wish to use the auto-generated file because I wanted to change a few
>things manually.  I thought that I had copied enough from the auto-conf to
>have my manual conf work.  The problem was this:
>
>I set these two directives:
>
>JkWorkersFile conf/workers.properties
>JkLogFile logs/mod_jk.log
>
>The auto-conf set them this way:
>
>JkWorkersFile "C:/web/apache/conf/workers.properties"
>JkLogFile "C:/web/apache/logs/mod_jk.log"
>
>It seems that when I set them using relative paths that Apache did not know
>where to find them, even though relative paths work elsewhere in my
>httpd.conf file.  Does anyone know why my way didn't work?
>
>Anyway, thanks for the help, I knew it had to be a simple user error.
>
>Rey
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 11, 2000 11:59 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk
>
>
>Note that with mod_jk, you have to start Tomcat first, then Apache.  If you
>followed the directions in the howto, you'll see that you include in
>httpd.conf a file that is not present until Tomcat is running.
>
>-Original Message-
>From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 11, 2000 1:37 PM
>To: '[EMAIL PROTECTED]'
>Subject: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk
>
>
>Hi all,
>
> I know this has probably been addressed before, but I can't find
>documentation on this anywhere, I checked the list archive, I've looked in
>the documentation, I've checked the readmes and I've looked at the mod_jk
>documentation very closely.  I can get Tomcat up and running just fine as a
>standalone.  I can get it running with apache when I use the mod_jserv
>module.  When I try to get Tomcat running with Apache using mod_jk, apache
>won't start and I can't find errors in any of the log files.  I'm sure
>someone has run into this problem at some point and I would appreciate a
>little light to be shed on this situation.
>
>Thanks in advance,
>Rey
>
>-Original Message-
>From: Duane Morse [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 08, 2000 11:56 AM
>To: '[EMAIL PROTECTED]'
>Subject: RE: Error Messages
>
>
>I think you can get errors of this type if the user clicks the STOP button
>on the browser before the
>response is completely transmitted (or, equivalently, when the user closes
>the browser prematurely).
>
>
>Duane Morse, Eldorado Computing Inc., Phoenix AZ
>
>-Original Message-
>From: Parayali, Jayesh 1065 [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 08, 2000 12:40 PM
>To: '[EMAIL PROTECTED]'
>Subject: Error Messages
>
>
>
>I am running tomcat 3.2 on windows NT workstation
>
>I am getting the below messages
>
>2000-12-08 11:08:38 - Ctx( ): IOException in: R(  + /00.jpg + null)
>Connection aborted by peer: socket write error
>
>Anybody encountered this problem?
>
>Thanks,
>Jayesh




RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Hernandez, Rey

Hi all,

Well, with the help of the comments I figured out the problem.  I
did not wish to use the auto-generated file because I wanted to change a few
things manually.  I thought that I had copied enough from the auto-conf to
have my manual conf work.  The problem was this:

I set these two directives:

JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log

The auto-conf set them this way:

JkWorkersFile "C:/web/apache/conf/workers.properties"
JkLogFile "C:/web/apache/logs/mod_jk.log"

It seems that when I set them using relative paths that Apache did not know
where to find them, even though relative paths work elsewhere in my
httpd.conf file.  Does anyone know why my way didn't work?

Anyway, thanks for the help, I knew it had to be a simple user error.

Rey
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 11:59 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk


Note that with mod_jk, you have to start Tomcat first, then Apache.  If you
followed the directions in the howto, you'll see that you include in
httpd.conf a file that is not present until Tomcat is running.

-Original Message-
From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk


Hi all,
 
I know this has probably been addressed before, but I can't find
documentation on this anywhere, I checked the list archive, I've looked in
the documentation, I've checked the readmes and I've looked at the mod_jk
documentation very closely.  I can get Tomcat up and running just fine as a
standalone.  I can get it running with apache when I use the mod_jserv
module.  When I try to get Tomcat running with Apache using mod_jk, apache
won't start and I can't find errors in any of the log files.  I'm sure
someone has run into this problem at some point and I would appreciate a
little light to be shed on this situation.
 
Thanks in advance,
Rey

-Original Message-
From: Duane Morse [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 11:56 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Error Messages


I think you can get errors of this type if the user clicks the STOP button
on the browser before the
response is completely transmitted (or, equivalently, when the user closes
the browser prematurely).
 

Duane Morse, Eldorado Computing Inc., Phoenix AZ 

-Original Message-
From: Parayali, Jayesh 1065 [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 12:40 PM
To: '[EMAIL PROTECTED]'
Subject: Error Messages



I am running tomcat 3.2 on windows NT workstation 

I am getting the below messages 

2000-12-08 11:08:38 - Ctx( ): IOException in: R(  + /00.jpg + null)
Connection aborted by peer: socket write error 

Anybody encountered this problem? 

Thanks, 
Jayesh 



RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread guyr

Note that with mod_jk, you have to start Tomcat first, then Apache.  If you
followed the directions in the howto, you'll see that you include in
httpd.conf a file that is not present until Tomcat is running.

-Original Message-
From: Hernandez, Rey [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk


Hi all,
 
I know this has probably been addressed before, but I can't find
documentation on this anywhere, I checked the list archive, I've looked in
the documentation, I've checked the readmes and I've looked at the mod_jk
documentation very closely.  I can get Tomcat up and running just fine as a
standalone.  I can get it running with apache when I use the mod_jserv
module.  When I try to get Tomcat running with Apache using mod_jk, apache
won't start and I can't find errors in any of the log files.  I'm sure
someone has run into this problem at some point and I would appreciate a
little light to be shed on this situation.
 
Thanks in advance,
Rey

-Original Message-
From: Duane Morse [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 11:56 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Error Messages


I think you can get errors of this type if the user clicks the STOP button
on the browser before the
response is completely transmitted (or, equivalently, when the user closes
the browser prematurely).
 

Duane Morse, Eldorado Computing Inc., Phoenix AZ 

-Original Message-
From: Parayali, Jayesh 1065 [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 12:40 PM
To: '[EMAIL PROTECTED]'
Subject: Error Messages



I am running tomcat 3.2 on windows NT workstation 

I am getting the below messages 

2000-12-08 11:08:38 - Ctx( ): IOException in: R(  + /00.jpg + null)
Connection aborted by peer: socket write error 

Anybody encountered this problem? 

Thanks, 
Jayesh 



RE: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread Hernandez, Rey

When I start Apache from the command line it tells me Failed to start the
service.

I've specifically set the Tomcat standalone to run on port 83 so it won't
interfere with the Apache services running on Port 81 and 80 (It is a
development machine, I have a few apache instances running).

Plus, why would it all work with mod_jserv and not mod_jk?

Rey

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 10:38 AM
To: [EMAIL PROTECTED]; Hernandez, Rey
Cc: '[EMAIL PROTECTED]'
Subject: Re: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk


When you start apache from the command line what does 
it tell you? I am guessing you have Tomcat in 
standalone pointing to the same port as apache wants to 
use. Check your tomcat.conf.

Quoting "Hernandez, Rey" <[EMAIL PROTECTED]>:

> Hi all,
>
> I know this has probably been addressed before, 
but I can't find
> documentation on this anywhere, I checked the list 
archive, I've looked in
> the documentation, I've checked the readmes and I've 
looked at the mod_jk
> documentation very closely.  I can get Tomcat up and 
running just fine as a
> standalone.  I can get it running with apache when I 
use the mod_jserv
> module.  When I try to get Tomcat running with Apache 
using mod_jk, apache
> won't start and I can't find errors in any of the log 
files.  I'm sure
> someone has run into this problem at some point and I 
would appreciate a
> little light to be shed on this situation.
>
> Thanks in advance,
> Rey
>
> -Original Message-
> From: Duane Morse [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 08, 2000 11:56 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Error Messages
>
>
> I think you can get errors of this type if the user 
clicks the STOP button
> on the browser before the
> response is completely transmitted (or, equivalently, 
when the user closes
> the browser prematurely).
>
>
> Duane Morse, Eldorado Computing Inc., Phoenix AZ
>
> -Original Message-
> From: Parayali, Jayesh 1065 
[mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 08, 2000 12:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: Error Messages
>
>
>
> I am running tomcat 3.2 on windows NT workstation
>
> I am getting the below messages
>
> 2000-12-08 11:08:38 - Ctx( ): IOException in: R(  
+ /00.jpg + null)
> Connection aborted by peer: socket write error
>
> Anybody encountered this problem?
>
> Thanks,
> Jayesh
>
> 



Re: Tomcat 3.2 + Apache 1.3.14 + Windows NT 4 + mod_jk

2000-12-11 Thread mf12

When you start apache from the command line what does 
it tell you? I am guessing you have Tomcat in 
standalone pointing to the same port as apache wants to 
use. Check your tomcat.conf.

Quoting "Hernandez, Rey" <[EMAIL PROTECTED]>:

> Hi all,
>
> I know this has probably been addressed before, 
but I can't find
> documentation on this anywhere, I checked the list 
archive, I've looked in
> the documentation, I've checked the readmes and I've 
looked at the mod_jk
> documentation very closely.  I can get Tomcat up and 
running just fine as a
> standalone.  I can get it running with apache when I 
use the mod_jserv
> module.  When I try to get Tomcat running with Apache 
using mod_jk, apache
> won't start and I can't find errors in any of the log 
files.  I'm sure
> someone has run into this problem at some point and I 
would appreciate a
> little light to be shed on this situation.
>
> Thanks in advance,
> Rey
>
> -Original Message-
> From: Duane Morse [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 08, 2000 11:56 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Error Messages
>
>
> I think you can get errors of this type if the user 
clicks the STOP button
> on the browser before the
> response is completely transmitted (or, equivalently, 
when the user closes
> the browser prematurely).
>
>
> Duane Morse, Eldorado Computing Inc., Phoenix AZ
>
> -Original Message-
> From: Parayali, Jayesh 1065 
[mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 08, 2000 12:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: Error Messages
>
>
>
> I am running tomcat 3.2 on windows NT workstation
>
> I am getting the below messages
>
> 2000-12-08 11:08:38 - Ctx( ): IOException in: R(  
+ /00.jpg + null)
> Connection aborted by peer: socket write error
>
> Anybody encountered this problem?
>
> Thanks,
> Jayesh
>
> 




RE: Tomcat 3.2 stability

2000-12-07 Thread raimee



Does anybody already have something like this.


Duane Morse <[EMAIL PROTECTED]> on 12/07/2000 11:59:24 AM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:  RE: Tomcat 3.2 stability




You might want to write a simple JSP or servlet that you could hit to get
information about memory and thread usage; that might provide some clues.

-Original Message-
From: Matthew Preston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 6:36 AM
To: tomcat user
Subject: Tomcat 3.2 stability


Has anyone noticed any stability problems with the recently relesaed Tomcat
3.2?

The situation:

After running a couple of web apps for ~4 days with light/moderate usage
Tomcat becomes very slow and starts using 100% cpu.  This never happened
with Tomcat 3.1.

This was seen running on a resonably fast P3 computer with 128 megs ram and
NT4 with jdk 1.3.

Is this a known problem?

Cheers,
Matt






RE: Tomcat 3.2 stability

2000-12-07 Thread Duane Morse

You might want to write a simple JSP or servlet that you could hit to get
information about memory and thread usage; that might provide some clues.

-Original Message-
From: Matthew Preston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 6:36 AM
To: tomcat user
Subject: Tomcat 3.2 stability


Has anyone noticed any stability problems with the recently relesaed Tomcat
3.2?

The situation:

After running a couple of web apps for ~4 days with light/moderate usage
Tomcat becomes very slow and starts using 100% cpu.  This never happened
with Tomcat 3.1.

This was seen running on a resonably fast P3 computer with 128 megs ram and
NT4 with jdk 1.3.

Is this a known problem?

Cheers,
Matt



RE: Tomcat 3.2 Final and Taglibs

2000-12-05 Thread Duane Morse

You're using a jar file for your tag library, right?  I think Tomcat is
expecting
to find the TLD file in the jar file under subdirectory META-INF; further,
it is
expecting the file name to be "taglib.tld".

-Original Message-
From: David Geary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 4:09 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2 Final and Taglibs


I'm trying to get a tag library working with Tomcat 3.2 final, which
throws the
exception listed after my signature.

Does anyone know what this exception means, or how to get rid of it?

Apparently, Tomcat's looking for a TLD named taglib.tld which is
supposed
to be in the META-INF directory? It makes absolutely no sense to me.

Thanks,


david


Error: 500
Location: /iterator/test.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException:
F:\jakarta-tomcat-3.2\webapps\iterator\test.jsp(2,0) Unable to open
taglibrary /WEB-INF/tlds/iterator.tld : Could not locate TLD
META-INF/taglib.tld
 at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:713)

 at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:116)

 at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
 at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
 at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)

 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)

 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)

 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)

 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)

 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)

 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)

 at java.lang.Thread.run(Thread.java:484)





Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-12-01 Thread Matt Goss

thanks... :)
Matt

"Craig R. McClanahan" wrote:

> Matt Goss wrote:
>
> > Craig,
> > I'm looking at using the MVC method for a current project... how exactly does
> > struts benifit this framework?
>
> Struts is an implementation of the MVC processing model, including a controller
> servlet and a framework for defining actions, plus mechanisms for assigning logical
> names to business and presentation logic components so that changes in the path of a
> JSP page (for example) do not require changes to the application logic in your
> actions.  There's also a very nice custom tag library for building internationalized
> form-based web applications.
>
> For more info, see , and join the STRUTS-USER
> maililng list.
>
> >
> > just curious...
> > Also (since, I've got you ear), I've tried a similar process under tomcat 3.1
> > where I route all requests (ierouter
> > /*)through a router servlet to check
> > login and whatnot. I couldn't get it to work... is this a bug in 3.1??? We are
> > upgrading to 3.2 now that it is released and I was hoping that would fix the
> > problem...
>
> If you map to "/*", your controller servlet will indeed catch all requests.  The
> problem is that you won't be able to forward to a JSP page later -- because the "/*"
> pattern will catch JSP pages also :-(.
>
> What I like to do is map the controller servlet to an extension (my favorite is 
>"*.do"
> which implies "go do something").  Then, I can have a form submit that goes to a url
> like:
>
> /myapp/saveCustomer.do
>
> which will be sent to the controller servlet, which then figures out which action to
> call based on the "/saveCustomer" part (which your servlet can extract by calling
> getServletPath() and doing a little string processing), and things go on from there.
>
> >
> > thanks,
> > Matt Goss
> >
>
> Craig
>
> >
> > "Craig R. McClanahan" wrote:
> >
> > > Duane,
> > >
> > > The problem you're referring to doesn't happen to me, even though I use this
> > > kind of programming approach all the time (in Struts).  Do you have a simple
> > > test case that you can send to help us isolate this?
> > >
> > > Craig McClanahan


begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard



Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-12-01 Thread Craig R. McClanahan

Matt Goss wrote:

> Craig,
> I'm looking at using the MVC method for a current project... how exactly does
> struts benifit this framework?

Struts is an implementation of the MVC processing model, including a controller
servlet and a framework for defining actions, plus mechanisms for assigning logical
names to business and presentation logic components so that changes in the path of a
JSP page (for example) do not require changes to the application logic in your
actions.  There's also a very nice custom tag library for building internationalized
form-based web applications.

For more info, see , and join the STRUTS-USER
maililng list.

>
> just curious...
> Also (since, I've got you ear), I've tried a similar process under tomcat 3.1
> where I route all requests (ierouter
> /*)through a router servlet to check
> login and whatnot. I couldn't get it to work... is this a bug in 3.1??? We are
> upgrading to 3.2 now that it is released and I was hoping that would fix the
> problem...

If you map to "/*", your controller servlet will indeed catch all requests.  The
problem is that you won't be able to forward to a JSP page later -- because the "/*"
pattern will catch JSP pages also :-(.

What I like to do is map the controller servlet to an extension (my favorite is "*.do"
which implies "go do something").  Then, I can have a form submit that goes to a url
like:

/myapp/saveCustomer.do

which will be sent to the controller servlet, which then figures out which action to
call based on the "/saveCustomer" part (which your servlet can extract by calling
getServletPath() and doing a little string processing), and things go on from there.

>
> thanks,
> Matt Goss
>

Craig


>
> "Craig R. McClanahan" wrote:
>
> > Duane,
> >
> > The problem you're referring to doesn't happen to me, even though I use this
> > kind of programming approach all the time (in Struts).  Do you have a simple
> > test case that you can send to help us isolate this?
> >
> > Craig McClanahan




Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-12-01 Thread Matt Goss

Craig,
I'm looking at using the MVC method for a current project... how exactly does
struts benifit this framework?
just curious...
Also (since, I've got you ear), I've tried a similar process under tomcat 3.1
where I route all requests (ierouter
/*)through a router servlet to check
login and whatnot. I couldn't get it to work... is this a bug in 3.1??? We are
upgrading to 3.2 now that it is released and I was hoping that would fix the
problem...
thanks,
Matt Goss

"Craig R. McClanahan" wrote:

> Duane,
>
> The problem you're referring to doesn't happen to me, even though I use this
> kind of programming approach all the time (in Struts).  Do you have a simple
> test case that you can send to help us isolate this?
>
> Craig McClanahan


begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
url:www.rtci.com
org:RTCI;Custom Solutions
adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US
version:2.1
email;internet:[EMAIL PROTECTED]
title:Web Developer
fn:Matt
end:vcard



RE: Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread David Rees

Hi Craig,

> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
>
> David Rees wrote:
>
> > I also just tried this on Tomcat 3.2, same problem.
> >
> > Again, here's the problem:
> >
> > I have a form which posts to a jsp, which then instantiates a
> bean with the
> > data from the form, which then forwards the request to a
> servlet which does
> > a getAttribute to obtain then the bean data.  It then forwards
> on again to
> > another jsp.
> >
> > The problem occurs during development:  Updating the servlet causes a
> > ClassCastException.  Shutting down and restarting Tomcat makes the
> > ClassCastException go away.
> >
> > This happens on Tomcat 3.1 and 3.2.  It does not happen on the
> Tomcat 4.0 m4
> > build.
> >
> > Should I post this issue to the -dev list?  It seems like a
> Tomcat bug to
> > me.
>
> You can if you want ... but there are fundamental architectural
> problems to the
> way that class reloading was done in 3.1 and 3.2.  It would be a
> pretty major
> change to fix it.

Ah, so is this a known bug?  I looked through the archive, but couldn't find
any reference to it.  I would think that what I'm trying to do is pretty
common, I'm surprised it hasn't come up more often.  Is there any known
workarounds besides restarting the server?  It's a very strange bug, casting
the Bean to an object and running Class.forName() reports the right thing...

> Tomcat 4.0 uses a different strategy (pretty much based on what
> Apache JServ)
> did that seems to deal with class reloading in a much more robust
> manner (and
> with lower overhead).

Yeah, I noticed that 4.0 seems to be much quicker when it comes to compiling
and reloading things.  I guess I could run the latest milestone build of
that to avoid this problem.

Thanks,
-Dave




Re: Tomcat 3.2 ClassCastException after servlet update on getAttribute

2000-11-30 Thread Craig R. McClanahan

David Rees wrote:

> I also just tried this on Tomcat 3.2, same problem.
>
> Again, here's the problem:
>
> I have a form which posts to a jsp, which then instantiates a bean with the
> data from the form, which then forwards the request to a servlet which does
> a getAttribute to obtain then the bean data.  It then forwards on again to
> another jsp.
>
> The problem occurs during development:  Updating the servlet causes a
> ClassCastException.  Shutting down and restarting Tomcat makes the
> ClassCastException go away.
>
> This happens on Tomcat 3.1 and 3.2.  It does not happen on the Tomcat 4.0 m4
> build.
>
> Should I post this issue to the -dev list?  It seems like a Tomcat bug to
> me.
>

You can if you want ... but there are fundamental architectural problems to the
way that class reloading was done in 3.1 and 3.2.  It would be a pretty major
change to fix it.

Tomcat 4.0 uses a different strategy (pretty much based on what Apache JServ)
did that seems to deal with class reloading in a much more robust manner (and
with lower overhead).

>
> -Dave

Craig McClanahan



Re: Tomcat 3.2 tries to read POST data before forwarding to JSP

2000-11-30 Thread Craig R. McClanahan

Duane,

The problem you're referring to doesn't happen to me, even though I use this
kind of programming approach all the time (in Struts).  Do you have a simple
test case that you can send to help us isolate this?

Craig McClanahan


Duane Morse wrote:

> The following partial stack trace illustrates a problem/bug in Tomcat 3.2
> (final release) when a servlet processes
> a POST request and then forwards processing to a JSP.   In "pre-processing",
> Tomcat is trying to read the form
> data, but since it's already been read, it generates a "short read" error.
> Since the servlet API
> specifically says that the forward command allows one servlet to do some
> processing of a message before
> passing on the work to another servlet, this behavior is either a bug in the
> Tomcat 3.2 implementation (trying
> to read the POST data without knowing whether the subsequent servlet wants
> the data) or it's a serious shortcoming
> of the servlet API (you can't ever forward a POST request).
>
> java.lang.IllegalArgumentException: Short Read at
> javax.servlet.http.HttpUtils.parsePostData(HttpUtils.java:238) at
> org.apache.tomcat.util.RequestUtil.readFormData(RequestUtil.java:101) at
> org.apache.tomcat.core.RequestImpl.handleParameters(RequestImpl.java:691) at
> org.apache.tomcat.core.RequestImpl.getParameterValues(RequestImpl.java:259)
> at org.apache.tomcat.core.RequestImpl.getParameter(RequestImpl.java:250) at
> org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRe
> questFacade.java:222) at
> org.apache.jasper.servlet.JspServlet.preCompile(JspServlet.java:326) at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:370) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at
> org.apache.tomcat.core.Handler.service(Handler.java:286) at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
> .java:194)
>
> Duane Morse, Eldorado Computing Inc., Phoenix Arizona



Re: Tomcat 3.2 thread-pool

2000-11-30 Thread Craig R. McClanahan

[EMAIL PROTECTED] wrote:

> Tomcat 3.2 allocates a thread from a pool to handle a session.

Actually, to handle a request -- not a session.

>
> Can this pooling behavior be turned off so that threads die at the end of a 
>request/response cycle? (as per the Tomcat 3.1 default)

Not with the standard PoolTcpConnector that is used.  You could switch to using the 
SimplePoolConnector -- but I doubt it has had very
much testing lately.

Also, why would you want this?  Recycling the threads in the pooled connector is one 
of the reasons that Tomcat 3.2 has better
performance than 3.1.

Craig McClanahan





RE: tomcat 3.2 b8

2000-11-26 Thread Saurabh Shukla


YOU HAVE TO MENTION it in httpd.conf(Apache), can be done away with at
tomcat level..
in tomcat just map the contexts.

You need to have different web.xml in each of your application root(Web-INF)

IF you are starting two different tomcat's then you obvously will be needing
to different
server.xml.

Shuklix

-Original Message-
From: Landaluze Produktions IS - Carlos [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 26, 2000 2:34 AM
To: [EMAIL PROTECTED]
Subject: tomcat 3.2 b8


i have install the tomcat 3.2 b8 in my linux with the apache
if i want to use virtual domains, where must i define them? in the apache or
in the concat conf files? or in both?

i each virtual domain i must tu put a server.xml and a web.xml file?
in this 3.2 b8 version for each viortual domain i must to run a JVM?
thanks
 Carlos







Re: Tomcat 3.2-b7 not compliant to Servlet Specification 2.2 ?!

2000-11-16 Thread Craig R. McClanahan

Thanks for the patch Marc!  I'm sorry I missed this when fixing things for b7.
It will be fixed in the final release.

Craig McClanahan


Marc Saegesser wrote:

> I posted a patch a few days ago to fix this problem.  In most cases Tomcat
> shutsdown every other context starting with the first one added so you might
> be able to adjust the order of the contexts in your server.xml file to make
> sure that it hits the ones you really need shutdown.
>
> If you can build from source, please try the attached patch and see if it
> fixes the problem for you.
>
> Marc Saegesser
>
> -Original Message-
> From: Jochen Schneider [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 16, 2000 3:20 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.2-b7 not compliant to Servlet Specification 2.2 ?!
>
> Hi,
>
> I posted the attached error description a few weeks ago but didn't get any
> response. Yesterday I tried tomcat 3.2-b7 and the error seems to be still in
> there.
>
> It seems that tomcat does not remove all previously added contexts if it is
> shutdown. This is a major problem because if the context is not properly
> removed the destroy method of the servlets is not called, which is
> guaranteed by the serlvet specification. Therefor 3.2 does not comply with
> JSDK 2.2.
>
> I have put some log messages in the destroy method of my servlets, but this
> method is never called if I shutdown tomcat using the shutdown.bat command
> script.
>
> This behaviour can be reproduced with the three web apps coming with tomcat:
> (example, admin, test). If tomcat (3.2-b7)  is started from a command prompt
> ( tomcat.bat run)  the following output is produced (Test environment : JDK
> 1.2.2, Win NT 4.0 SP5, Tomcat 3.2-b7):
>
> [e:\temp\tomcat-3.2-b7\bin]tomcat.bat run
> Including all jars in e:\temp\tomcat-3.2-b7\lib in your CLASSPATH.
>
> Using CLASSPATH:
> e:\temp\tomcat-3.2-b7\classes;e:\temp\tomcat-3.2-b7\lib\ant.jar
> ;e:\temp\tomcat-3.2-b7\lib\jasper.jar;e:\temp\tomcat-3.2-b7\lib\jaxp.jar;e:\
> temp
> \tomcat-3.2-b7\lib\parser.jar;e:\temp\tomcat-3.2-b7\lib\servlet.jar;e:\temp\
> tomc
> at-3.2-b7\lib\webserver.jar
>
> 2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /examples )
> 2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2000-11-15 05:09:23 - ContextManager: Adding context Ctx(  )
> 2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /test )
> 2000-11-15 05:09:23 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
> 2000-11-15 05:09:23 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
>
> All contexts were added properly!
>
> If I shutdown tomcat using the stop script (shutdown.bat) from another
> command prompt the following output is produced :
>
> 2000-11-15 05:09:27 - ContextManager: Removing context Ctx( /examples )
> 2000-11-15 05:09:27 - ContextManager: Removing context Ctx(  )
>
> As you can see only the /example and the root context was removed. The real
> strange thing is that the output varies! Here is the output of a second try
> with exact the same environment!
>
> [e:\temp\tomcat-3.2-b7\bin]tomcat.bat run
> Including all jars in e:\temp\tomcat-3.2-b7\lib in your CLASSPATH.
>
> Using CLASSPATH:
> e:\temp\tomcat-3.2-b7\classes;e:\temp\tomcat-3.2-b7\lib\ant.jar
> ;e:\temp\tomcat-3.2-b7\lib\jasper.jar;e:\temp\tomcat-3.2-b7\lib\jaxp.jar;e:\
> temp
> \tomcat-3.2-b7\lib\parser.jar;e:\temp\tomcat-3.2-b7\lib\servlet.jar;e:\temp\
> tomc
> at-3.2-b7\lib\webserver.jar
>
> 2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /examples )
> 2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2000-11-15 05:09:34 - ContextManager: Adding context Ctx(  )
> 2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /test )
> 2000-11-15 05:09:35 - PoolTcpConnector: Starting HttpConnectionHandler on
> 8080
> 2000-11-15 05:09:35 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
> 8007
>
> 2000-11-15 05:09:37 - ContextManager: Removing context Ctx( /examples )
>
> Now only the example context was removed by the ContextManager.
>
> This behavior is a major problem for us since we rely on the destroy method
> of the servlet to release some handles in a remote object. I tried a lot of
> things but didn't succeed.
>
> I really would appreciate any help or comment.
>
> --Jochen
>
>   
>Name: ContextManager.patch
>ContextManager.patchType: unspecified type (application/octet-stream)
>Encoding: quoted-printable




RE: Tomcat 3.2-b7 not compliant to Servlet Specification 2.2 ?!

2000-11-16 Thread Marc Saegesser

I posted a patch a few days ago to fix this problem.  In most cases Tomcat
shutsdown every other context starting with the first one added so you might
be able to adjust the order of the contexts in your server.xml file to make
sure that it hits the ones you really need shutdown.

If you can build from source, please try the attached patch and see if it
fixes the problem for you.

Marc Saegesser


-Original Message-
From: Jochen Schneider [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 3:20 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2-b7 not compliant to Servlet Specification 2.2 ?!


Hi,

I posted the attached error description a few weeks ago but didn't get any
response. Yesterday I tried tomcat 3.2-b7 and the error seems to be still in
there.

It seems that tomcat does not remove all previously added contexts if it is
shutdown. This is a major problem because if the context is not properly
removed the destroy method of the servlets is not called, which is
guaranteed by the serlvet specification. Therefor 3.2 does not comply with
JSDK 2.2.

I have put some log messages in the destroy method of my servlets, but this
method is never called if I shutdown tomcat using the shutdown.bat command
script.

This behaviour can be reproduced with the three web apps coming with tomcat:
(example, admin, test). If tomcat (3.2-b7)  is started from a command prompt
( tomcat.bat run)  the following output is produced (Test environment : JDK
1.2.2, Win NT 4.0 SP5, Tomcat 3.2-b7):

[e:\temp\tomcat-3.2-b7\bin]tomcat.bat run
Including all jars in e:\temp\tomcat-3.2-b7\lib in your CLASSPATH.

Using CLASSPATH:
e:\temp\tomcat-3.2-b7\classes;e:\temp\tomcat-3.2-b7\lib\ant.jar
;e:\temp\tomcat-3.2-b7\lib\jasper.jar;e:\temp\tomcat-3.2-b7\lib\jaxp.jar;e:\
temp
\tomcat-3.2-b7\lib\parser.jar;e:\temp\tomcat-3.2-b7\lib\servlet.jar;e:\temp\
tomc
at-3.2-b7\lib\webserver.jar

2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /examples )
2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2000-11-15 05:09:23 - ContextManager: Adding context Ctx(  )
2000-11-15 05:09:23 - ContextManager: Adding context Ctx( /test )
2000-11-15 05:09:23 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2000-11-15 05:09:23 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007


All contexts were added properly!

If I shutdown tomcat using the stop script (shutdown.bat) from another
command prompt the following output is produced :


2000-11-15 05:09:27 - ContextManager: Removing context Ctx( /examples )
2000-11-15 05:09:27 - ContextManager: Removing context Ctx(  )


As you can see only the /example and the root context was removed. The real
strange thing is that the output varies! Here is the output of a second try
with exact the same environment!

[e:\temp\tomcat-3.2-b7\bin]tomcat.bat run
Including all jars in e:\temp\tomcat-3.2-b7\lib in your CLASSPATH.

Using CLASSPATH:
e:\temp\tomcat-3.2-b7\classes;e:\temp\tomcat-3.2-b7\lib\ant.jar
;e:\temp\tomcat-3.2-b7\lib\jasper.jar;e:\temp\tomcat-3.2-b7\lib\jaxp.jar;e:\
temp
\tomcat-3.2-b7\lib\parser.jar;e:\temp\tomcat-3.2-b7\lib\servlet.jar;e:\temp\
tomc
at-3.2-b7\lib\webserver.jar

2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /examples )
2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2000-11-15 05:09:34 - ContextManager: Adding context Ctx(  )
2000-11-15 05:09:34 - ContextManager: Adding context Ctx( /test )
2000-11-15 05:09:35 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2000-11-15 05:09:35 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

2000-11-15 05:09:37 - ContextManager: Removing context Ctx( /examples )



Now only the example context was removed by the ContextManager.


This behavior is a major problem for us since we rely on the destroy method
of the servlet to release some handles in a remote object. I tried a lot of
things but didn't succeed.


I really would appreciate any help or comment.

--Jochen

 ContextManager.patch


RE: Tomcat 3.2 beta and PHP

2000-11-15 Thread Cheng-Wei Cheng

I think sam has done a wonderful job
creating this link between java and php. 
I know if I ask I should do it.. but
I really dont have the know-how like
sam. So what other functionality
can we expect from the java-php link
beside making it more stable.

gosh.. this message probably should be
on php list as well.. 

any ideas?
cheng



Re: Tomcat 3.2 beta and PHP

2000-11-15 Thread Christian Wenz

Hi Olivier,

the version not working was 4.0.1 - if I remember correctly. I tried it of course
in a very unstable environment (Win98, Microsoft's own PWS, old JDK 1.1.8) and had
no luck (however all versions from 4.0beta to 4.0.0 worked really fine, and
chances that I made some mistakes when replacing the appropriate files are minimal
;) ); under WinNT/Apache the system ran stable for about one minute ... The
strange thing was that Sam Ruby couldn't reproduce the crashes, other users
couldn't reproduce the crashed, however I always "succeeded" on all systems I
tried. The later versions however work like a charm (ok, most of the time :) ). I
think it's a great piece of code from Sam :-)

Regards
Christian

Olivier Baillard wrote:

>
> I'am happy to see someone else in the world has tried to use PHP and Tomcat
> together.
>
> Sooo!! Which version of PHP work (or doesn't work) on Windows?





Re: Tomcat 3.2 beta and PHP

2000-11-15 Thread Olivier Baillard

Hello Christian,


I'am happy to see someone else in the world has tried to use PHP and Tomcat 
together.

Sooo!! Which version of PHP work (or doesn't work) on Windows?

For the moment, I only really try on SUSE 7.0. with Apache. Which results 
did you get?


Personally, I get the following:
- exchange of simple data like boolean, string, int, double and array of 
string (String [][] for example).
- I wrote a class who is running in Tomcat to make some request from PHP 
and give the result to PHP. Problem: it crashes sometimes. I compiled PHP 
whit jdk1.3 from SUN and run Tomcat whith the samke jdk, adn know it seems 
to be stable. But!
- with phplib, I can use common session variable with PHP and Tomcat. The 
adavantage: you can reach the session variable from PHP and from others 
Java classes/applications.


The problems I found:
- Generally, php as servlet doesn't seems to be really stable (Tomcat 
crashes, not really often, but I am not hapy with it).
- Sometimes mit Tomcat hang up (it doesn't answer to www request).
- if I make an include in a  PHP file and use the same include later, I 
become some strange result : page not completly downloaded.


Bye! / Tschuess!

O. Baillard




At 18:38 15.11.00 +0100, you wrote:
>[EMAIL PROTECTED]
Hallo,
I've tried this as well, and was really happy with the results. However please
take into account that the windows versions of PHP are quite different in 
terms
of stability. Some versions just fail to cooperate with Tomcat, crashing
reproducably, however most versions work just fine ... :-)
Regards
Christian
Olivier Baillard wrote:
 > I would kike to know if somebody already have some experience with tomcat
 > and PHP working as serlet (with Tomcat). If somebody has some interest, I
 > would be happy to exchange my own experience. I get PHP to work with Tomcat
 > 3.2 beta 7 on Linux with Java extension. You can exchange data between PHP
 > and Tomcat, use Java classes/beans. I know, some people will say me : use
 > JSP, you stupid idiot!! But the purpose of it is to use the flexibility
 > of PHP (whith html) and the power of Java together. Later we will connect
 > our Web-Application with some Software of us.




Re: Tomcat 3.2 beta and PHP

2000-11-15 Thread Sam Ruby/Raleigh/IBM

Christian Wenz wrote:
>
> I've tried this as well, and was really happy with
> the results. However please take into account that
> the windows versions of PHP are quite different in
> terms of stability. Some versions just fail to
> cooperate with Tomcat, crashing reproducably,
> however most versions work just fine ... :-)

Most of the development of this function was originaly on WinNT, and now on
Win2K...

- Sam Ruby




RE: Tomcat 3.2 beta and PHP

2000-11-15 Thread Lacerda, Wellington (AFIS)

C'mon... :D

Let me know how you did it, can you ? Which package do you use ?

Thanks,

Wellington

-Original Message-
From:   Christian Wenz
[mailto:[EMAIL PROTECTED]]
Sent:   15 November 2000 18:39
To: [EMAIL PROTECTED]
Subject:        Re: Tomcat 3.2 beta and PHP

Hallo,

I've tried this as well, and was really happy with the
results. However please
take into account that the windows versions of PHP are quite
different in terms
of stability. Some versions just fail to cooperate with
Tomcat, crashing
reproducably, however most versions work just fine ... :-)

Regards
Christian

Olivier Baillard wrote:

> I would kike to know if somebody already have some
experience with tomcat
> and PHP working as serlet (with Tomcat). If somebody has
some interest, I
> would be happy to exchange my own experience. I get PHP to
work with Tomcat
> 3.2 beta 7 on Linux with Java extension. You can exchange
data between PHP
> and Tomcat, use Java classes/beans. I know, some people
will say me : use
> JSP, you stupid idiot!! But the purpose of it is to
use the flexibility
> of PHP (whith html) and the power of Java together. Later
we will connect
> our Web-Application with some Software of us.




Re: Tomcat 3.2 beta and PHP

2000-11-15 Thread Sam Ruby/Raleigh/IBM

Olivier Baillard wrote:
>
> I would kike to know if somebody already have some experience
> with tomcat and PHP working as serlet (with Tomcat).  If
> somebody has some interest, I would be happy to exchange my
> own experience. I get PHP to work with Tomcat 3.2 beta 7 on
> Linux with Java extension. You can exchange data between PHP
> and Tomcat, use Java classes/beans. I know, some people will
> say me : use JSP, you stupid idiot!! But the purpose of
> it is to use the flexibility of PHP (whith html) and the
> power of Java together. Later we will connect our
> Web-Application with some Software of us.

It would be fair to say that I have some experience and interest.  I've
contributed to both projects, and in particular am the author of the
integration between the two.

- Sam Ruby




RE: Tomcat 3.2 beta and PHP

2000-11-15 Thread Cheng-Wei Cheng

heck yeh.. 
please let me know how you did it

I am looking for way to beat the
heck out of the evil m$ .NET model
which is intended to have common
component model shared between
different language compiled into
a intermediate language. B.S

with python we have
jpython
with php we have the php java link
and with perl.. I am sure there is
a link somewhere.. 

ideally I would like to see

apache2.0
  mod_php -> php4-java-orb link
  tomcat4
  mod_python
  mod_perl 

using jboss
accessing postgres

co-exist as one server
accessing EJB/Servlet/CORBA
middleware objects..

I have been working on the same
line but php4 is just too much a
pain to get most of the extension 
up correctly

plz.. your answer would be extremely helpful

cheng

-Original Message-
From: Olivier Baillard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 9:14 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.2 beta and PHP


Hi,



I would kike to know if somebody already have some experience with tomcat 
and PHP working as serlet (with Tomcat). If somebody has some interest, I 
would be happy to exchange my own experience. I get PHP to work with Tomcat 
3.2 beta 7 on Linux with Java extension. You can exchange data between PHP 
and Tomcat, use Java classes/beans. I know, some people will say me : use 
JSP, you stupid idiot!! But the purpose of it is to use the flexibility 
of PHP (whith html) and the power of Java together. Later we will connect 
our Web-Application with some Software of us.


So, if someone hat interest, let me know...


Bye!
O. Baillard



Re: Tomcat 3.2 beta and PHP

2000-11-15 Thread Christian Wenz

Hallo,

I've tried this as well, and was really happy with the results. However please
take into account that the windows versions of PHP are quite different in terms
of stability. Some versions just fail to cooperate with Tomcat, crashing
reproducably, however most versions work just fine ... :-)

Regards
Christian

Olivier Baillard wrote:

> I would kike to know if somebody already have some experience with tomcat
> and PHP working as serlet (with Tomcat). If somebody has some interest, I
> would be happy to exchange my own experience. I get PHP to work with Tomcat
> 3.2 beta 7 on Linux with Java extension. You can exchange data between PHP
> and Tomcat, use Java classes/beans. I know, some people will say me : use
> JSP, you stupid idiot!! But the purpose of it is to use the flexibility
> of PHP (whith html) and the power of Java together. Later we will connect
> our Web-Application with some Software of us.





Re: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread Craig R. McClanahan

To follow up on a few of the items from my perspective as a Tomcat
developer:

Kitching Simon wrote:

> Hi Tomcat developers,
>
> I'd love to see some info on the release plans
> for these products too. I presume that those of
> you with "committer" status have some
> general long-term plans
>
> I understand that software development schedules
> (and esp. open-source projects) are difficult to
> estimate, but a rough guess would still be better
> than no information!
>
> I assume that 3.2 release will come well before
> 4.0 release, so that's one reason to stick with 3.2
> instead of moving to 4.0 right now.
> Would I be right in guessing 3.2 release is expected
> sometime round december, and 4.0 release around
> march/april next year???
>

I cannot speak directly for the release plans for 3.2 final -- that is up
to Sam Ruby, who is the release manager for this version.  I would assume,
however, that it is imminent.

My personal goals for Tomcat 4.0 include:

- Feature-complete implementation of the servlet 2.3
  and JSP 1.2 "Proposed Final Draft" specifications
  that were recently published at java.sun.com (this
  will be accomplished with a Milestone 4 release
  that will be generated tomorrow night if all goes well).

- Attention shifting towards bug fixing and performance
  tuning, with the goal of a production-quality implementation
  by Christmas time or so.  The more people that help
  debug and tune it, the shorter this time frame can be.

- Addition of web connectors (so you can run 4.0 behind
  a web server like you can with 3.2), JNDI environment
  support, and other new features as contributed by
  volunteers working on 4.0.

So, which version should you use?

- If you're readying a production deployment, and do not
  need servlet 2.3/JSP 1.2 features, definitely stick with
  the most recent release of 3.2.  It will be more stable
  and performant at the moment (although early signs are
  that 4.0 will mature very nicely in these directions :-).

- If you've got some time to help debug and tune, and/or
  you need the new 2.3/1.2 features (like filters, wrapped
  RequestDIspatcher arguments, XML syntax for JSP
  pages, custom tag validators, .) then grab the latest
  milestone of Tomcat 4.0 and help us make it better.

FYI:  Tomcat 4.0 will be the web component of the J2EE 1.3 reference
implementation, when it is released.

>
> However, I am really puzzled by the existence of
> the 3.3 stream; surely 3.4 will come out *after*
> 4.0, in which case what's the point of it???
>

The "3.3" code stream was some enhancement work (based on the 3.2 code
base) that started about the time that the first 3.2 beta was released, and
continues to receive some attention even though the TOMCAT-DEV community
voted to switch to the 4.0 code base for the next major release of Tomcat.
While it continues to receive attention from a few developers, I only plan
to mine some of the excellent low-level performance tuning tricks that have
been implemented there.

Although this code is there for anyone who wants to play with it (this is
open source, after all :-), the next major release of Tomcat after 3.2 will
be 4.0, based on the code that is in the "jakarta-tomcat-4.0" CVS
repository.

>
> Cheers,
>
> Simon
>

Craig McClanahan





[tomcat-user] RE: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread kenneth topp


Yes, a page modeled after:

 http://us1.samba.org/samba/development.html

would indeed kick ass.. I think the tomcat cvs is too
intimidating... There should be a document explaining the tags...

Anycase, my theory is that 3.3 (note that apache doesn't follow the even
version number scheme of the linux kernel) will be the real sucessor to
jserv..  3.1 is sun re (ie not for production use). 3.2 is beggining to
bring it back, but there are many issues, and 3.3 will have everything
in good form again.

4.0 is next gen, which will take some time for people to adapt to.  It
supports the next generation of specifications..

my thoughts.. not gospel, but I would love for tomcat-dev to straighten
things out..  Hopefully politics isn't in play.

Kenneth Topp
---
 to unsubscribe: [EMAIL PROTECTED]
 for more info: http://jakarta.apache.org/getinvolved/mail.html



On Tue, 31 Oct 2000, Kitching Simon wrote:

> Hi Tomcat developers,
> 
> I'd love to see some info on the release plans
> for these products too. I presume that those of
> you with "committer" status have some
> general long-term plans
> 
> I understand that software development schedules
> (and esp. open-source projects) are difficult to
> estimate, but a rough guess would still be better
> than no information!
> 
> I assume that 3.2 release will come well before
> 4.0 release, so that's one reason to stick with 3.2
> instead of moving to 4.0 right now.
> Would I be right in guessing 3.2 release is expected
> sometime round december, and 4.0 release around 
> march/april next year??? 
> 
> However, I am really puzzled by the existence of 
> the 3.3 stream; surely 3.4 will come out *after*
> 4.0, in which case what's the point of it???
> 
> Cheers,
> 
> Simon
> 
> > -Original Message-
> > From:   Zsolt Koppany [SMTP:[EMAIL PROTECTED]]
> > Sent:   Tuesday, October 31, 2000 1:47 PM
> > To: [EMAIL PROTECTED]
> > Subject:Tomcat 3.2-beta-6 or 4.0m3?
> > 
> > Hi,
> > 
> > right now I work with tomcat-3.2-beta-6. Is it better to move to 4m3?
> > What is the reason of having both versions?
> > 
> > Zsolt
> > 
> > -- 
> > Zsolt Koppany
> > Intland GmbH www.intland.com
> > Schulze-Delitzsch-Strasse 16
> > D-70565 Stuttgart
> > Tel: +49-711-7871080 Fax: +49-711-7871017
> 




RE: Tomcat 3.2-beta-6 or 4.0m3?

2000-10-31 Thread Kitching Simon

Hi Tomcat developers,

I'd love to see some info on the release plans
for these products too. I presume that those of
you with "committer" status have some
general long-term plans

I understand that software development schedules
(and esp. open-source projects) are difficult to
estimate, but a rough guess would still be better
than no information!

I assume that 3.2 release will come well before
4.0 release, so that's one reason to stick with 3.2
instead of moving to 4.0 right now.
Would I be right in guessing 3.2 release is expected
sometime round december, and 4.0 release around 
march/april next year??? 

However, I am really puzzled by the existence of 
the 3.3 stream; surely 3.4 will come out *after*
4.0, in which case what's the point of it???

Cheers,

Simon

> -Original Message-
> From: Zsolt Koppany [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 1:47 PM
> To:   [EMAIL PROTECTED]
> Subject:  Tomcat 3.2-beta-6 or 4.0m3?
> 
> Hi,
> 
> right now I work with tomcat-3.2-beta-6. Is it better to move to 4m3?
> What is the reason of having both versions?
> 
> Zsolt
> 
> -- 
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7871080 Fax: +49-711-7871017



  1   2   >