Paridhi Bansal typed the following on 13:25 14/06/2003 -0500
In our case,high no. of concurrent requests is not requireqd. no
multithreading is being used at servlet end. So i have put maxProcessors in
server.xml to 30..however, whenevr i start tomcat, it starts with 9 java
threads that
Jeff Masud typed the following on 01:28 23/02/2003 -0800
However after switching over one of our application servers, we
noticed some problems. I've tested both J2sdk 1.4 and IBM Java 1.4 and
both have proven to given the same results. Anytime we run Tomcat,
everthying works fine for a little
Peter Flynn typed the following on 11:58 28/01/2003 +
There's no need to mirror content in two directories, nor is there
any need to point Tomcat at Apache's content root. You can just
make Apache's doc root the same as Tomcat's Context root and the
issue goes away. Or, just put your JSP
[EMAIL PROTECTED] typed the following on 08:56 28/01/2003 +0100
I want to store session information on filesystem so that it is possible
for me to
restart tomcat without loosing all sessioninformations.
First of all, you don't need to use PersistentManager to do this - the default
session manager
[EMAIL PROTECTED] typed the following on 15:02 28/01/2003 +0100
I have only one testservlet where only the HttpSession Object is created.
After the first connect to the test servlet and maxima 60 Seconds I get the
Exception.
This is strange, because your configuration shouldn't try to swap it
Lorenti, John typed the following on 09:40 24/01/2003 -0500
Unfortunately, David, I don't believe that each IP gets its own set of
ports. Instead, the ports belong to the machine itself. If you want to
keep IIS and Tomcat independent on the same machine, then you can assign a
different port to
Rakesh Kant typed the following on 23:02 21/12/2002 -0800
I downloaded jakarta-tomcat-4.1.18.tar.gz yesterday to my windows 2000
machine and then binary ftped to my sun solaris machine. There I tried to
first gunzip and then un-tar the file.
But I am getting directory checksum error. Anyone
Denise Mangano typed the following on 22:41 21/12/2002 -0500
Sorry, should have posted this... When I type in
http://localhost/examples/servlets/ I now get a Forbidden message saying
that I do not have permission to access /examples/servlets/index.html. This
message is coming from my Apache at
Abanindra Nath Sarkar typed the following on 15:22 20/12/2002 +0530
I am facing a typical problem. I am using Apache Tomcat that comes with Java Web
Services Developer Kit (JWSDK) to use a web service that is being deployed within a
Sun ONE app server. The server is in the same LAN with the
Lars Preben S. Arnesen typed the following on 10:59 20/12/2002 +0100
When I start Tomcat I get an exception (included below). I seems like
the problem is in the web.xml, but this works just fine when the
xml-file is included in a war-file. I removed almost all entries and
inserted one by one and
[EMAIL PROTECTED] typed the following on 13:29 20/12/2002 +0100
I always get a ClassNotFound
Exception for the class I specify in the attribute className when I
try to start catalina.
...
Context path=/myapp docBase=myapp debug=1
Listener className=com.mypackage.ListenerClass/
/Context
Kenny G. Dubuisson, Jr. typed the following on 09:05 20/12/2002 -0600
Simple minded as I am, I still believe with everything I have that there
MUST be a setting in Tomcat that controls how often new session ID's are
generated.
This is a standard configuration in the web.xml file, use:
James Goodwill typed the following on 09:30 PM 5/7/2001 -0600
Hello,
Does anyone know of a release date set for Tomcat 4?
Beta 4 should be out within a week, but the final release of Tomcat 4.0
will wait until the servlet 2.3 specification is released. I don't know when
this will be.
Kief
Steve Brunton typed the following on 04:46 PM 5/1/2001 -0400
Running Tomcat 3.3M2 with Apache 1.3.19 using mod_jk.so and the apj13
setup on a HP LPR with 2 500 Mhz PIII's and Solaris 8 x86 with all the
latest and greatest patches on it (Tomcat/Apache/mod_jk.so built
natively on the box) I get
Jakob Praher typed the following on 08:19 PM 4/28/2001 +0200
can anybody tell me, whether persistent Session-Storage will be implemented
before the release of tomcat-4.0?
It is implemented in the current CVS repository, so should show up in the
next beta (not sure when that will be). You can get
Gerard Quinn typed the following on 06:22 PM 4/18/2001 +0100
I am using Tomcat 4 beta 3 to develop a site.
Every so often if I have the "allow session cookies" option set in my browser,
My sessions get lost or invalidated or something.
If I disable this option and let the server use url rewriting
Raul Valenberg typed the following on 03:36 PM 4/15/2001 -0600
We are designing a Web application with Servlets and JSPs that has to run on
several machines in a fail-over mode. Each machine also has to participate in
the workload as longs it is up. Furthermore, our requirements state that if a
Hi, I am in the process of investigating to choose a servlet container for
our project. I am wondering if we should start off with Tomcat 4.0 or
Tomcat
3.2.1. Can anybody tell me what are the major differences in Tomcat 3.x and
Tomcat 4.x?
A couple of major differences among others will be:
Torgeir Veimo typed the following on 06:12 PM 3/28/2001 +0200
The problem is that neither are directly subscribed to the list -
But shouldn't the reply-to field point to the mailing list address
instead of the original mailer?
The Sender address is the one which mail servers should
Slemp, Douglas, J (Doug) typed the following on 09:46 AM 3/27/2001 -0500
I'm unfamilir with the method setAttribute for HttpSession(something new?)
I myself have no problem with session state, as long as I use the
getValue/putValue methods as defined in the HttpSession class.
putValue/getValue
Seshagiri Dev Kurmana typed the following on 03:59 PM 3/21/2001 +0530
My environment is WinNT, Tomcat3.2, jsse1.0.2.Everything is working fine with cookie
enabled browsers.But when I disable cookies in the browsers the session id is
changing and consequently the original session is becoming
Chris Zhao typed the following on 12:58 PM 2/14/2001 -0500
For the reason that temporarily stopping Tomcat would not affect user's
browsing, session serialization should be used instead of expiration.
Or, configuration may carry a flag to turn on this feature or not.
Take a look at Tomcat 4.0
mike niemaz typed the following on 09:40 AM 2/15/2001 +0100
Hi,
I'm having troubles to understand how really sessions are working.
I'm using a servlet to handle every client requests and I'm using
jsp
session to display various objects between frames, such as:
HttpSession
Richard Downey typed the following on 09:45 AM 2/12/2001 +
I am moving working applications from 3.1.1 to 3.2.1 and after getting over
the strictly enforced case rules everything seemed to be OK , however I've
noticed that whenever a session expires using HttpSession session =
Richard Downey typed the following on 12:37 PM 2/12/2001 +
I can now re-create the stack overflow problem with the two attached
servlets. The problem only occurs when you put something into the session
(in my case I'm using the deprecated getValue, putValue for compatibility
with Websphere
John Clark L. Naldoza typed the following on 09:57 AM 2/9/2001 +0800
session-config
session-timeout
5
/session-timeout
/session-config
However, I have a session bean with an HttpSessionBindingListener- I
would think that my valueUnbound() method would
Pravin Jain typed the following on 03:42 PM 2/9/2001 +0500
Tomcat is configured perfectly ok and is running fine. The only problems I
have is while implementiong "Session" in my servlets. I have a servlet say
"First" servlet, that create's an Httpsession using the getSession() method
and uses
Merwin Yap typed the following on 04:27 PM 2/3/2001 +0800
Hi! I want to ask about sessions in tomcat. How do you change the
elapsed time for the session to expire.
In your web.xml put:
session-config
session-timeout30/session-timeout
/session-config
Change 30 to the number of minutes that
Les Hartzman typed the following on 04:36 PM 2/7/2001 -0800
Using Tomcat 3.2.1, is it possible to define/display custom error pages
based on errors that occur within a servlet? No JSPs are used; this is a
servlet/EJB environment.
I've seen in the spec for web.xml that there is an error-page
David Oxley typed the following on 10:38 AM 2/8/2001 +
I know that the HttpSession is only valid on the virtual host it was created
on. This is more of a security question. We currently have our own session
class that gets stored in an HttpSession 1:1 ratio. So we've coded a request
that
David Oxley typed the following on 01:07 PM 2/8/2001 +
I sort-of understand what you're doing, but I'm not clear on a couple of
details.
What do you mean when you say you've "coded a request"? How exactly is
the session ID passed from the original host to the new host, is this by a
form field
Dan Sojka typed the following on 02:28 PM 2/6/2001 -0800
I am trying to set up a custom error page to intercept Tomcat 404's
I have Apache intercepting static page 404's.
I am using tomcat 3.2 final.. And I have searched all the archives and
found one common answer:
in web.xml --
[EMAIL PROTECTED] typed the following on 09:56 AM 2/7/2001 +0100
In order to configure our load balancer to enable cookie based
persistence we have to set the name of the cookie the load balancer will
look for, but we also need to set the number of characters in that
string that are unique. So my
[EMAIL PROTECTED] typed the following on 01:10 PM 2/6/2001 +0100
Our load balancer supports two ways of keeping the state of the sessions
between requests, ip source (all clients from the same subnet will be redirected
to that Tomcat server) and cookie based (a little more flexible approach),
Jim Crossley typed the following on 12:19 PM 2/6/2001 -0500
I'm still confused about the -f option, though. You're not creating
your server.xml in the shared installation directory, are you? I
thought tomcat always used $TOMCAT_HOME/conf/server.xml *unless* you
specified another location with
Shahed Ali typed the following on 04:41 PM 1/31/2001 -0600
I have a MVC framework in which all jsp pages post
data to a controller servlet.
In this servlet, I need to findout which jsp page invoked it.
Currently I am passing a hidden variable with value="/callingpage.jsp"
...
I want to replace
Ferguson, Doug typed the following on 09:35 AM 1/31/2001 -0600
Is there an elegant way to implement session variables in a load balancing
senario? If I understand correcty everything is stored on the
server and a sessionID is store in the users browser so that the
server can look it up. But what
Nathan N. Vuong typed the following on 09:33 AM 1/31/2001 -0500
Would like to know how to maintain single Session with
Cookies turn off on the browser with request dispatching:
1) request.getRequestDispatcher(URL)
2) getServletContext().getNamedDispatcher(servlet name)
My first thought is
Ivo Limmen typed the following on 03:58 PM 1/30/2001 +0100
I created an object that tracks the amount of sessions and can refer to any
of them if needed be. It uses a weak reference to make it possible that
Tomcat can still drop a session if a user leaves the server. The trouble is
Tomcat doesn't
James Jouett typed the following on 05:00 PM 1/30/2001 -0600
There are no pages or images - I'm just using HTTP as the mechanism to post a
request to a servlet from a client, so nothing is static. My main concerns are
the configuration options of standalone Tomcat (security, SSL, redirection,
Affan Alim typed the following on 04:37 PM 1/23/2001 +
Any body knows about the big diffrences between the tomcat server, Jrun and Java Web
Server
which is power full and why?
Tomcat 3.x is (as I understand it) the replacement for Java Web Server - Sun
joined with Apache to form Jakarta,
Waldhoff, Rodney typed the following on 12:57 PM 1/23/2001 -0600
It occurs to me that others must have encountered similar problems with overlaying
sub-projects onto what for all intents and purposes is a single web application, and
I wonder what if any solutions you have come up with. If
C. Jason Benedict typed the following on 03:50 PM 1/23/2001 -0600
ok...so if it is free, can it be used in a production environment that
generates a profit?
It is under the same license as the Apache web server, which is the
most widely used web server on the Internet for commercial as well
as
William Boyd typed the following on 03:48 PM 1/22/2001 -0800
I have a User site and an Admin site, both have their own context entry in
the server.xml file.
Both Sites must also share the same session information as the interface
allows users to move from one site to another while only logging on
mall wrote:
Can anybody tell me if it is possible for the container(tomcat) to
load an object and to make
that object available to all the pages/servlets contained within the
container? I've
asked this question before but i don't think i made my question clear
enough the last time.
You
Rajeev Bakhru typed the following on 03:24 PM 1/17/2001 -0500
On the login jsp page in the application, I used a servlet and created a
session with
HttpSession session = req.getSession(true)
...
Then on this page (b) , I used
a href = "%encodeURL(..jsppage)%" and passes the same variable again
Dan Eppinghoff typed the following on 11:02 PM 1/17/2001 -0500
Hello all,
I have a problem getting the "Referer" header from the request object in
a JSP. The
only value I get for it is null. I printed a list of the available headers
(via
getHeaderNames()) and this is the list I got:
Martin Grneberg typed the following on 01:42 AM 1/17/2001 +0100
Because cookies are disabled in many browsers, I prefere
sessionmangment with urlrewriting. (server.xml -- noCookies)
On normal http requests the sessionmanagment make a good job.
But changing to a safe https SSL connection for
David Wall typed the following on 09:08 AM 1/15/2001 -0800
if (session == null) {
session = request.getSession(true);
response.sendRedirect(response.encodeURL());
return;
}
Since this is a redirect, why aren't you using response.encodeRedirectURL()?
Does it not work? What is the
Shicheng TIAN(CMS) typed the following on 01:20 AM 1/13/2001 +
Hello there,
I followed the instruction below trying to install Tomcat (on Windows 2000),
but failed to do so?!
...
D:\jakarta-tomcat-3.2.1\bin\startup
a new window (Tomcat 3.2) would appear for one/two seconds, then
it killed
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
Billy Turchin typed the following on 12:59 PM 12/28/2000 -0500
I am using Tomcat 3.2.1. The session is certainly valid, because
though I get a null pointer exception when I try to invalidate it, I can
still perform actions with that user...ie data is still in the session.
I am storing the
t) is more heavily focused on
performance. I'd be suprised if 4.0 comes out super-fast since it's a
new architecture - hopefully it'll be tightened up over a few point releases.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
to hang all the web server threads on
this dedicate connections. I don't
You might consider pointing directly to Tomcat for this purpose, and have
Apache handle images and any other static files.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598
onse.encodeURL("/examples/test.jsp?name=hello+world") %"click/a
This will make sure you don't lose the session if the user doesn't
eat cookies.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
will still be created.
Kief
---
Kief Morris
Director of Technology
bitBull Ltd. http://www.bitBull.com
phone +44 020 7598 9938
fax +44 020 7460 4081
" value="8080"/
Parameter name="max_threads" value="2"/
Parameter name="max_spare_threads" value="2"/
Parameter name="min_spare_threads" value="1" /
/Connector
There are still going to be other threads - Tomcat
Saikat Chatterjee typed the following on 12:06 15/12/2000 +0530
Hello all,
I have a question regarding 'timeout' period of a servlet.
Is it possible for me to set this 'timeout' period of a servlet in
Tomcat?There must be some configuration file where i can set this.
I'm not sure
Scott Jones typed the following on 12:33 14/12/2000 -0800
error-page
error-code500/error-code
location/errors/error.jsp/location
/error-page
However, this doesn't seem to work at all -- an error in a Cocoon page will
just give me a plain-ol' stack dump like I normally get
Joan Xiao typed the following on 17:01 13/12/2000 -0800
I've been trying to use jspc to precompile the jsp pages into java classes.
I've moved this to tomcat-user, since tomcat-dev is for discussing development
of tomcat itself, not how to use tomcat.
Now I have problem with where to put the
Eoin McCarthy typed the following on 12:39 14/12/2000 +
Which version of java is needed to run jsps with Tomcat (v3.2) ?
1.1 or higher.
---
bitBull makes the Internet bite: http://www.bitBull.com/demos/
Stefán F. Stefánsson typed the following on 14:56 14/12/2000 +
Hello. I'm getting the following error when I try to build Tomcat
3.2.1. I've been using (and building) Tomcat 3.2 successfully:
C:\jakarta\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspCompil
er.java:136: Method
alex typed the following on 17:17 13/12/2000 +0900
hi all!!
i got a problem with my code.
and the most of all.
i cannot find where i made mistake.
i was stuck for several days.
who can help me?
I have a similar problem.
Root cause:
java.lang.NullPointerException
at
Kief Morris typed the following on 10:07 13/12/2000 +
Root cause:
java.lang.NullPointerException
at
org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat
or.java:196)
OK, I've tracked this down. In my own code, this is caused by having a setter with
a different
Stephen F. Kispersky typed the following on 11:55 11/12/2000 -0800
- In the README, "servletapi" is referenced, but it is not to be found on the
Tomcat site that I could see. I tried substituting the JSAPI classes on
Sun site (version 2.2).
If you go to
Pankaj Bhagat typed the following on 11:17 12/12/2000 +0100
I want Custom error pages, in my application, the two solutions i have is to use the
"ErrorDocument" directive in Apache or to use the "error-pages" xml element while
deploying my servlet in Tomcat (please note that i am using Apache
Pankaj Bhagat typed the following on 11:58 12/12/2000 +0100
So now what i can understand is that it should be Tomcat's problem to
intercept any errors occuring in the servlet and then passing me onto the
specified url in the deployment descriptor.
I believe this only applies to JSP pages. For
Pankaj Bhagat typed the following on 12:58 12/12/2000 +0100
But just for information, can you comment on the error-pages tag not
working in the deployment descriptor of Tomcat 3.2
I just tried it, it works fine for me. Are you specifying the full names of the
exceptions? e.g.
Pankaj Bhagat typed the following on 14:58 12/12/2000 +0100
The only difference in what i was trying previously and this one is that
for an error page i was going to an html file whereas now its
working if i redirect to a jsp.
Aha, someone else just pointed this out.
Dont know
Shahed Ali typed the following on 08:49 12/12/2000 -0600
I dont know about the specs, but I think all errorpages need the iserrorpage
= true page directive.
So that could mean that they should be .jsp (?)
The spec doesn't seem to say this ... I believe that's just needed if you want
the
Catherine Jung typed the following on 16:18 12/12/2000 +
Boy mailing lists have a short memory!, I'd been having trouble with this
last week and posted about it, on tomcat-dev too, but to no avail.
No-one seems to check the archives/bug database these days :)
Actually I did look, but I
Craig R. McClanahan typed the following on 11:40 08/12/2000 -0800
I'm need to create a simple tool for Tomcat so that I can see how many users
have active sessions for the available Contexts. e.g. how many sessions are
active for /admin with details for each.
...
Under a servlet 2.3
Affan Alim typed the following on 14:04 08/12/2000 +
I am running Apache on Linux Redhat 6.2 so could any one please guide me how
to set this up on linux.
as well as where i put the servelet in apache eb server please send the
directory structure of servlet class file.
Please send me
First of all, are you using Tomcat 3.2? Version 3.1 has lots of bugs. 3.2
is much better about loading and reloading classes.
Riley,R typed the following on 10:39 07/12/2000 +
I've tried starting and stopping tomcat and have all of the servlets class
files in jars in its webapps classes
George McKInney typed the following on 08:52 06/12/2000 -0800
General consensus here seems (in hindsight) to be that TOMCAT_HOME/lib is
***NOT*** the place to put .jar files UNLESS the Tomcat administrator can
ensure that every app that will be installed will be happy with them.
Otherwise,
Pratik Machchar typed the following on 05:57 PM 12/5/2000 +0530
I set a cookie with certain maxAge() say 200.
now on logout I wan't to remove that cookie I set maxAge(0) then also this
cookis is not removed
Are you getting the cookie with request.getCookies() and changing its
maxAge, or
Panagiotis Konstantinidis typed the following on 12:26 30/11/2000 +
Now, I am using Apache v1.3.12 and Tomcat v3.1 (for Windows).
The first thing I would recommend is upgrading to Apache 1.3.14 and Tomcat 3.2,
since these are the latest stable versions. Tomcat in particular has fixed
a
Anand Prasad typed the following on 19:04 29/11/2000 -0800
Is there way using RequestDispatcher or sendReDirect() to send a page to
particular frame.
For example. sendRedirect("index.html" target=_top);
Unfortunately it's the browser which decides which frame to load a page
into, you can't
Tomas Marek typed the following on 00:56 23/11/2000 +1100
Also, because W98 included M$ Personal Web Server doesn't support JSP, I
run Tomcat as a standalone server (just learning anyway). So, what is the
http address of my .jsp files?
Try http://localhost:8080
---
bitBull
79 matches
Mail list logo