Hi All,
When we start tomcat and connect to the server, the index.jsp page is
displayed . When I key in a password, it validates the password and goes
to the next jsp page(login.jsp)
I stop tomcat and restart it again. Now when I connect to the server,
the index.jsp directly takes me to the
You could have a look at the MockObjects project on sourceforge.
http://mockobjects.sourceforge.net
http://mockobjects.sourceforge.net/javadoc/1.4/
All our servlets, filters, DAO code etc are tested using Mocks :)
It's great not needing a db or remote connection or even a servlet
container when
Ok. But here's the confusing part. When I try to compile Tomcat 4.1.27
with Jasper2, I get error messages complaining that there is so such
function as TagInfo.hasDynamicAttributes(). Surely, this function was
introduced in JSP 2.0 and is only available in
jakarta-servletapi-5. However,
Apache 2.0.47
Tomcat 4.1.24
There isn't an SSL version of either the mod_jk or jk2 connector. Since
JK and JK2 don't ever communicate with a client, there's really no need.
You might be able to setup a tunnel using stunnel or similar, but on
Windows that will be problematic.
Apache binary:
I tried after changing the port # in propertied file, but it didn'twork out.
:((
From: John Turner [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat 5.0.2 and IIS
Date: Thu, 07 Aug 2003 11:54:13 -0400
I'm pretty sure your
Howdy,
Looks like Struts has a dependency on Commons Logging which is using
Log4j under the hood. The commons logging jar is being loaded from a
higher level classloader (common/lib or server/lib) and can't access
classes only provided by a lower classloader (your webapp).
Maybe try having the
There should be no surprise.
For Tomcat alone, perhaps about 20MB disk (plus whatever you want for
logs) and for RAM, you could do fine with 128MB.
What you are missing, and what other people have pointed out, is that
every single web application that you would use with Tomcat is
different.
Hi,
http://jakarta.apache.org/tomcat/faq/connectors.html
-e
On Wed, 6 Aug 2003 [EMAIL PROTECTED] wrote:
Hello,
I've compiled mod_jk2, and installed it intirely according to the
instructions on the website.
I'm using apache 2.0.47 and tomcat 4.1.24
I have the impression that the mod_jk2
Because a web server serves static content (html, images, etc.) much faster than
tomcat will.
Nathan Ward wrote:
Hello John,
I hate to be pushy, but are you going to post a reply to this question at some point?
Nathan
- Original Message -
From: Nathan Ward
To: [EMAIL
i am reviewing a list of the session ids in my SessionCount's HashSet,
and have acquired some more information:
when someone logs in, two session ids are getting added to my
SessionCount's HashSet, and one of them is a blank session id. i'm not
sure if it's null or .
the only session that
Have you followed the HOWTOs? Read the FAQ for the connectors?
What does your httpd.conf file look like? Workers.properties? JkMount?
Are you using the right mod_jk.so file for your Apache?
John
[EMAIL PROTECTED] wrote:
I am having lots of problems integrating apache 1.3 with tomcat 4.1.24
You'll have to do it on a regular basis if you continue to use a DTD of
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd;. Try something like
http://java.sun.com/dtd/web-app_2_3.dtd;. Note 2.3 instead of 2.2.
John
Jiann-Ming Su wrote:
I'm getting a bunch of the errors included below. I've
Also don't do:
'export $PATH=...'
Instead do:
'export PATH=...'
The '$' symbol is not supposed to be there.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: [EMAIL PROTECTED]
Hi,
I am looking for a way to track which/how many sessions are open. Generally
it seems to work with a HttpSessionListener, but the Listener is not
notified again if the server restarts and still
has any opened sessions.
Anyone knows how to deal with that problem? Or is the only chance to look
Sorry for being thick but Im a bit confused as to when you are doing
anything with the sessions? If I make a request to one server, then go on
to another for the next request, how does server 2 get my session from
server 1 without server 1 having had to persist the session to disk every
time
SimpleTag is part of JSP2.0 which is in tomcat5. AFAIK, there is no simpletag
for jsp1.2 (tomcat4)
More info on tag pooling:
http://jakarta.apache.org/tomcat/faq/misc.html#tagpool
http://jakarta.apache.org/tomcat/faq/misc.html#tagbroken
-Tim
Shawn Zernik wrote:
Mike:
I can't resolve that
I changed the IIS port back to 80 and tomcat to 8080, also in the
worker.properties file i have changed to port to 8080. still not working.
I can go to servlet using tomcat by following paths:
http://localhost:8080/servlet/HelloWorld
http://localhost:8080/examples/servlet/HelloWorld
I didn't
Nothing. SSL or not, the only thing you need between Tomcat and Apache
is the connector like mod_jk or mod_jk2.
SSL VirtualHosts are different than regular Virtual Hosts in Apache's
httpd.conf file...you need to make sure that requests are forwarded to
Tomcat for both types of VirtualHosts,
I've managed to get it working (a problem with the path to the keystore), I'm reading
a tomcat book, and its really useful to know to type catalina run if tomcat exits
and you cant see the error messages.
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Friday,
I had the same problem, it seems to occur when you uncomment the connector in
server.xml and causes tomcat to exit, making it impossible to see what the error
message was. I gave up in the end. Have you been able to get it working?
-Original Message-
From: [EMAIL PROTECTED]
Howdy,
And how does this approach save memory? You've simply replaced a
session
object with a HashMap. Or am I missing something?
It's not intended to save memory and doesn't. It's intended to prevent
putting non-serializable attributes in a session.
Yoav Shapira
This e-mail, including any
Hi,
I can't start up a particular 3rd party webapp, I get the expection
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet. I made sure
that only one servlet.jar exists in my tomcat directory structure. I'm
using a clean install of Tomcat 4.1.27 and to install the webapp I just
Of course not. I'm only regergitating stuff I have read. But I have seen it
from several different sources, so I took it as truth. Do you have benchmarks
to prove otherwise?
--
***
* Rick Roberts*
* Advanced Information
__
Join Freeserve http://www.freeserve.com/time/
Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered
ISP and Best Consumer Application.
Angus,
doesnt using a shared jdbc based session manager slow the whole thing down
a lot? Why dont you just use session persistence?
Pete
Hello,
I'm trying to run the latest version of FOP (0.20) on Tomcat 3.2, by
following the instructions in
http://xml.apache.org/fop/servlets.html
When I run the servlet, I get the error
java.lang.NoClassDefFoundError: org/xml/sax/XMLReader
at FopServlet.renderFO(Unknown Source)
at
Hi
the HttpConnector haa a connectionTimeout parameter. Set this to a low
razonable value, as 2 ( 20 seconds )
I was having a similar problem, using the JkConnector, but because my app
wasn't releasing db connections to the dbcp pool. Then, the run out of
processors ... is more a signal
Is it also unlimited (or insanely huge) on the database?
-e
On Fri, 8 Aug 2003, Barclay A. Dunn wrote:
i adjusted the pool to unlimited and am still getting these errors.
something else seems to be fekachte.
barclay
-Original Message-
From: Eric J. Pinnell [mailto:[EMAIL
I agree that the design isn't the greatest (but I've seen much worse ;-). To
do what you want, in FCServlet try something like:
if(request.getServletPath().endsWith(.jsp)) {
RequestDispatcher rd = getServletContext().getNamedDispatcher(jsp);
rd.forward(request, response);
after changing the timeout to 5 min, i confirmed that indeed it was
destroying a session after 5 min.
... and your listener was properly removing the session from its list?
every time the list increases, it increases by 2 - one with a long
alphanumeric session id, and one with a blank one
Hello,
I would like fr.localhost and en.localhost to resolve to localhost. I have
created the aliases under tomcat but I was told by someone on the mailing list that
further configuration was needed on the dns side. I am running w2k. Can anyone tell
me how to configure my w2k machine please?
I have libjvm.so under JAVA_HOME/jre/lib/i386/server and
JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either.
Pat
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:00 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.47,
I have a question along these lines...
I am running jakarta-tomcat-4.1.18 on 4 different severs. 3 are Red Hat 8.0
and 1 Red Hat 6.2. Same tomcat configuration on all of them. ps -el shows
one java process on the Red Hat 8.0 but on the 6.2 box I have upward of 30
processes for java. Is there a
hi,
i have grown my own active session counting set up and it is definitely
*adding* sessions to the count, but i do not think it is ever removing
them.
here is my configuration:
1. i have an object called SessionCount that contains a HashSet of
session ids, and methods to add, remove,
catalina run will let me see the error.
Thanks
-Original Message-
From: Jeff Tulley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.1 https problem
Try simply catalina run to have it run in the current window. Then
see
Hi,
I agree. That is what I have always read and I think it's a wide
conception that is out there.
If this isn't true could someone enlighten us?
-e
On Fri, 8 Aug 2003, Rick Roberts wrote:
Of course not. I'm only regergitating stuff I have read. But I have seen it
from several different
Thanks Mourad
I am surpised that I could not find any document which talks about hardware
and memory requirements for installing and running tomcat. I have other
other applications running on the system and without the memory and h/w
requirements it will be difficult for me.
Thanks
From:
Howdy,
Of course not. I'm only regergitating stuff I have read. But I have
seen
it from several different sources, so I took it as truth. Do you have
benchmarks to prove otherwise?
It could be the sources you read are outdated. I don't question their
accuracy at the time they came out,
It would be best if you went a rewrote your tags not to require release
to be called. That change will also bring you in-line with the jsp
spec. These links might help:
http://www.onjava.com/lpt/a/1248
http://www.onjava.com/lpt/a/1250
http://jakarta.apache.org/taglibs/guidelines.html
Agreed.
John
Noel J. Bergman wrote:
Nathan,
There are many facets to the subject, but if all you don't mind running all
of your domains in one process, have no need for load balancing, no need for
non-Tomcat features, etc., then running Tomcat directly is probably fine.
Historically (and
The isapi.log file doesn't have any log. it's empty. In the tomcat log
files, it doesn't have any error message.
When I type http://localhost/examples/servlet/HelloWorld or
http://localhost/examples/HelloWorld, it gives The page cannot be
displayed and the default error page.
let me tell you
Hi Bill,
Thanks for the info! Looks like that helped, but I can't tell for sure
because the server isn't loaded too much right now. Will have to wait until
morning to find out. Did I miss something or is that not in the docs?
Might be good to add this to the docs :)
Thanks again,
Mike
Once you are connected with the JVM using ( jdb -attach, for example
) command you can debug everything that tomcat read.
--
De: Shawn Zernik[SMTP:[EMAIL PROTECTED]
Responder:Tomcat Users List
Enviada: sexta-feira, 8 de agosto de 2003 15:40
Para: [EMAIL
is there an hs_err_pidsome_id.log file? This can provide the stack trace
of the thread that was running when the crash occurred.
Charlie
-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 3:48 PM
To: 'Tomcat Users List'
Subject: RE: Problem:
Answered on 08/05/2003, 11:00 AM Eastern.
If you want to address me, I suggest putting something in the subject
line or sending me a message off-list.
A subject line of why integrate with a web server is a FAQ that I
would normally ignore.
John
Nathan Ward wrote:
Hello John,
I hate to be
Hi,
You could get a thread dump and see where your connections are hanging.
When you get your errors kill -QUIT the pid.
-e
On Fri, 8 Aug 2003, Barclay A. Dunn wrote:
ok, well, at least we have concrete proof of it.
now, given that i can confirm that i am closing connections (calling
I am trying to configure an application of the TOMCAT 4.0 for the TOMCAT
4.1. E the following error happens:
javax.servlet.ServletException: Cannot allocate servlet instance for path
/ebs/servlet/servlets.servletEbs
what it can be?
I only copied the folder for Tomcat 4.1.
Tks
Hey,
I configured IIS to run with tomcat (with the help of this forum only) :)
I have forms and they are processed by servlets. using tomcat they work very
fine. but when i try to run using IIS, it gives nullpointerexception. I am
using GET method to send the form information.
Is it a bug
hi ,all:
how can I send my questions to all of you ? Could you tell me ? Thanks~~
mqg
- SOUVENIR --- .
| Souvenir of China |
| A Good Place for You |
`-- http://www.souvenirchina.com -'
mailto:[EMAIL PROTECTED]
On Wed, Aug 06, 2003 at 07:59:09AM -0400, Tim Funk wrote:
So the webserver is making HTTP Requests (as well as receiving them)?
In that case, it sounds like an application error. How is your webapp
making HTTP requests? (Venturing into off-topic mode)
That's fairly common with portals.
ÔÚ 2003-08-09 04:45:00 ÄúдµÀ£º
Have a look at this...of you ? Could you tell me ? Thanks~~
http://jsptags.com/tags/navigation/pager/index.jsp
appa
N.B.Bopanna [EMAIL PROTECTED] wrote:
Hey Gautham,
It is not under my control. The mail server adds it to all mails.
-Original Message-
Good afternoon all.
What has become of the mod_jk binaries for v1.2.5?
Still coming or some place other than:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ ?
TIA
Norm
-
To unsubscribe, e-mail: [EMAIL
Thanks for the info. I should have RTFM ;)
Mauricio Nuñez wrote:
Hi
With RH 8, you can see the threads using the option -m
Att
Mauricio
El Jue 07 Ago 2003 09:17, Jon Wingfield escribió:
Yep. Since RH 8 the ps command only shows the main java process. In
previous versions ps showed the
Hi Shawn... Do you happen to have a How-To somewhere about integrating
Netbeans Tomcat? :-) I don't want to use Netbeans' internal Tomcat server
and I've been struggling a little to use both together...
Regards,
Carlos
*** Oh, about your question, there's information at
Doesn't seem to have that much of an effect. I guess I should profile
it though. I don't want to use session persistence because then I would
need to use network session clustering. Session clustering is a
requirement for my app. I figure using a DB instead of memory to store
my sessions is
Hi All,
I am calling javac task inside the user defined IF task.
for example,
if test='build.has.conversion'
javac destdir=${build.conversion.class}
debug='on' debuglevel='lines,source' taskname=compile.conversion
src path=${build.root}/conversion/framework/
classpath
56 matches
Mail list logo