Howdy,
Is this the full trace: there's no root cause??
Take the .java file for your .jsp from tomcat's work directory and try
to compile it yourself.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Olumide [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 9:30
Howdy,
Eventually I used a servlet spec listener which is better to do from a
lot
of reasons.
Good.
...It seems there is an unbreakble wall between a web-app and tomcat
and
you can be either
in this side or the other.
You can be in the middle (common/lib), but all the classes that need
Howdy,
Since you already have a front-end (IIS) anyways, use it for the images. Have a
directory on it /images, and have all your image URLs be /images/img1.gif etc.,
instead of /myApp1/images/img1.gif.
One alternative is to have an images webapp on tomcat and use it to serve the images,
Howdy,
Yoav - Where do you specify heap size? I understand it is a parameter
of
the java command, but is in a Tomcat startup script somewhere? Or do I
just
execute it at the command line?
Add
JAVA_OPTS='-Xmx512m'
to
$CATALINA_HOME/bin/catalina.sh
on unix. On windows, you can do this with a
Howdy,
There are ant tasks that do the manager webapp's functions (install /
deploy / stop / start a webapp, etc.). Equivalents don't exist for the
admin webapp that I'm aware of.
If you were to do it in java, via Ant, it wouldn't be too difficult.
Yoav Shapira
Millennium ChemInformatics
Howdy,
try {
m_repository = (String)
m_envCtx.lookup(opensite.repository);
Out of curiosity, do you get the same error if you
lookup(/opensite.repository) ?
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
Howdy,
Thanks Yoav - one last dumb question and I will leave you alone! So by
There's more than one in this email ;) And no question is dumb
(although that assertion is frequently tested on this list).
adding that to my environment variables list, Tomcat knows to add it as
a
startup parameter
Howdy,
The error I get looks like this:
HTTP Status 404 - /nsfs
type Status report
message /nsfs
description The requested resource (/nsfs) is not available.
Apache Tomcat/4.1
What the root cause and full stack trace?
Yoav Shapira
This e-mail, including any attachments, is a
Howdy,
I am a bit confused: I am running Tomcat 4.1.18 on Linux, with JDK
1.4.1_03-b02. Nowhere in the startup scripts do I see it specified how
much memory to use (i.e., with the -Xmx flag). When I call
Runtime.totalMemory(), it gives me 128MB, yet I was under the
impression that the JVM sets
Howdy,
2003-07-23 11:09:30 StandardContext[/nsfs]: Resources start failed:
java.lang.IllegalArgumentException: Document base
/var/tomcat4/webapps/nsfs does not exist or is not a
readable directory
Well explain it to me! :)
There is a /var/tomcat4/webapps/nsfs.war file.
There should not be
Howdy,
I'd like to do this independant of ant - basically a self-contained
tool
that
could parse the xml and insert the proper tags at the proper points
(context
items, datasource, etc)
Good luck, have fun. Server.xml is subject to change (sometimes
drastic) between tomcat releases.
Yoav
Howdy,
Yup, use sendRedirect.
Or add a filter with a servlet request wrapper mapped to index.jsp that checks and
adds parameters as needed.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: René Vangsgaard ML [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 8:34
Howdy,
i think this should be your servlet mapping:
servlet-mapping
servlet-nameShowParameters/servlet-name
url-pattern/testapp/ShowParameters/url-pattern
/servlet-mapping
No: url-pattern is relative to the app docBase and should not include
the app name.
(The above
Howdy,
The best is this list ;) ;) ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Norris Shelton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 4:38 PM
To: [EMAIL PROTECTED]
Subject: Tomcat training
I saw the e-mail about the tomcat training offered by
Howdy,
I see in the manual that it is possible to have customised loggers
(Logger tag within a Context). I managed to do a customised FileLogger
for my web app, but I couldn't override the default std output and std
error logger (cantalina.out). Any ideas how to do that?
Use the context's
Howdy,
It's a strange requirement at best to not log the stack trace of
internal tomcat exceptions. The stack trace is a crucial element in
tracing and debugging problems.
H...so you need a way to trap exceptions thrown by Tomcat outside
of
an application Context?
Yeah... I should have
Howdy,
I've built tomcat 4.1.24 (and for that matter, nearly every 4.x and 5.x
version) on Solaris 8 a bunch of times without a problem... What exactly
are you running into?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mark F [mailto:[EMAIL PROTECTED]
Sent:
Howdy,
That's fairly strange. Add echo $JAVA_HOME to the beginning of
startup.sh to see if it's really set. Maybe you're setting it in the
wrong way or location. Alternatively, just add JAVA_HOME='/usr/java2'
to startup.sh (or better yet, catalina.sh).
Yoav Shapira
Millennium ChemInformatics
Howdy,
Are you looking for a JAAS Realm to talk to Active Directory, or
something more/else?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Hirsch, Barbara [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 2:00 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and
that it could be a permissions problem, but after
running
the suggested chmod commands, still no luck.
Any other ideas.
thanks again.
William Mitchell
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:50 PM
To: Tomcat Users List
Subject: RE
Howdy,
SEVERE: Exception invoking periodic operation:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationExc
eption: java.lang.IncompatibleClassChangeError:
org.apache.commons.logging.impl.SimpleLog
at
Howdy,
Everytime i run this, i get a remoteinovationerror (i resume from the
EJBCLientClass)
RemoteInvocationError can occur due to many reasons. You will need to
supply the full stack trace and relevant code.
Could this be a classloader issue?
It could, and it could be many other things.
Howdy,
Is there a rule-of-thumb for setting the heap size based on how many
concurrent Tomcat processors/threads? Mine are mostly basic jsps and
servlets generating HTML. As I'll be running several Tomcat instances
for different apps, I need to allocate my 512M RAM to each Tomcat.
No, and there
Howdy,
Don't put anything in common/lib or common/classes. Put the log4j jar
in the WEB-INF/lib directory of your webapp. Put the log4j
configuration file in the WEB-INF/classes directory of your webapp.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mike McCown
Howdy,
Check the OS limits for the user account that's running tomcat (e.g. ulimit -a). Max
out whatever you can.
Are you trying for one instance with 36 webapps or 36 instances of tomcat? (It
doesn't really matter, both should work, I'm just curious)
Yoav Shapira
Millennium ChemInformatics
Howdy,
Lets say you have one static HTML page with one image
in it. You can serve it with Apache stand alone (or
any stand alone Web server). So howmany requests are
there ?
Do you count :
HTML : 1 request
Image : 1 request
1+1=2 requests
The answer is : You just request for a page, and
Howdy,
Basically, tomcat doesn't.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Servlet Caching question
Hello,
I wanted to know how Tomcat caches the output
(at) greenfieldresearch (dot) ca
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: July 25, 2003 1:59 PM
To: Tomcat Users List
Subject: RE: Servlet Caching question
Howdy,
Basically, tomcat doesn't.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Atreya
Howdy,
Our JSP/Servlets perform some calculations based on some input from a
HTML Form. These calculations are a little bit complicated so they
take
time to perform. However the output that they produce is relatively
small. The majority of our users will give the same input, so the
output is
Howdy,
I cannot see why creating a daemon thread cannot cater
for this. You just start the thread in the init method
of the InitServlet (or any servlet you create with
start-when-app-starts).
I'm actually a fan of the background daemon-thread approach, and think
the user-threading limitations
Howdy,
I use context listeners fairly heavily and haven't had a problem with
their lifecycle, including contextDestroyed. When is it you're
expecting the method call and it's not happening?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Filip Hanik [mailto:[EMAIL
Howdy,
Taking the Filter out of the equation, can you find and use the servlets
in your context?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mailing Listen [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: Filter and
Howdy,
Hmm, haven't seen this one before. What linux flavor?
What kernel version?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Rau NF [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 10:46 PM
To: [EMAIL PROTECTED]
Subject: Tomcat under load - Use 'java -Xss'
Howdy,
This setting is not configurable. It was changed due to a couple of
issues with JSP naming for JSP 2.0.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Julien Martin [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 27, 2003 11:13 AM
To: Tomcat Users List
Subject:
Howdy,
Why did you upgrade to 4.1.23? Or was that just a typo
and you're really using 4.1.24 (as you should be)? ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Hans Wichman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 3:38 AM
To: [EMAIL PROTECTED]
Howdy,
This feels like something that would come up often but, not being a
Java
guru, I'm not sure of the solution. I have a web app with a number of
servlets accessing a database via JDBC. I encapsulate all the JDBC work
within a class called JDBCAccess. In order to allow code to be tested
from
Howdy,
Moving to 4.1.24 can't hurt. Telling us the whole exception message,
including the full stack trace, can't hurt either ;)
I like your trains, btw.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: EXT / ALTIOR CABOU Carl (DRT) [mailto:[EMAIL PROTECTED]
Sent:
Howdy,
I meant
class MyException extends Exception {
...
}
;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shapira, Yoav
Sent: Tuesday, July 29, 2003 9:03 AM
To: Tomcat Users List
Subject: RE: translating exceptions
Howdy,
This feels like something that would
Howdy,
James?
http://james.apache.org/
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Pitre, Russell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 10:01 AM
To: Tomcat Users List
Subject: Off Topic: List Server for Tomcat
Hello All,
This may be off topic. I
Howdy,
1. Is it possible to deploy a web app using a jar file?
A war file, used to deploy webapps, is a jar file with a special
structure inside. You use the jar command-line utility to create/unpack
the file, and you can use the jar file programmatic access if you want.
But the file has to
Howdy,
I like JMeter, The Grinder, wget, Load (from PushToTest). Unlike the
other response, I really don't think LoadRunner is worth its price.
Even if it were free, I wouldn't use it exclusively.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dhruva B. Reddy
Howdy,
Make sure you're not creating any non-daemon threads that will prevent
tomcat from shutting down gracefully. And add logging to your webapp ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003
Howdy,
Do the JSP examples work?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Marco Miedl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: HTTP Status 500
Hi,
I installed Java (j2sdk1.4.2) and Tomcat
Howdy,
I'll save you the query on tomcat-dev: there's not a current version
around, at least not publicly. You can use ArgoUML or something like it
to reverse-engineer the UML. Feel free to contribute it back to the
list when you're done ;)
Yoav Shapira
Millennium ChemInformatics
Howdy,
Don't DLLs usually end in .dll, rather than .jar? So they won't get
loaded even if you put them in shared/lib (or any of tomcat's other lib
directories), as tomcat only looks for .jar files.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Ivan Montoro
Howdy,
Are Custom Error pages available for 500 errors?
500's are tough, as they are internal server (i.e. not your webapp's)
errors. I don't recall the spec on this point, but at some point I
thought error page customization only had to be available for 300 and
400 range HTTP status.
As
Howdy,
These files are different from each other. Server.xml is read on startup and requires
a server restart to reload.
Web.xml for a given webapp is read when the webapp is loaded (normally on server
startup), and you can have it reloaded by reloading the webapp (via the manager
webapp),
Howdy,
Put Password.class under WEB-INF/classes, not WEB-INF/lib. Only .jar
files go under the lib directory.
Additionally, I strongly suggest you put Password.class in a package,
e.g. com.yourcompany (and then in WEB-INF/classes/com/yourcompany).
Yoav Shapira
Millennium ChemInformatics
Howdy,
Don't use commons-pool for a thread pool. Use Doug Lea's concurrency
library instead. I should add this do the commons-pool javadoc
somewhere. Commons-pool is excellent for all types of pooling, but not
threads, as the concurrency issues are difficult at best to overcome.
Yoav Shapira
Howdy,
does someone know a way to catch a request and to forward it to one or
an
other webapp according to some runtime settings?
The idea is to be able at runtime to smoothly add a webapp, set it as
the
default, and to remove the one that was the default when it has no
active
session anymore.
Howdy,
I think those messages were from the HttpProcessor, the old HTTP
connector. You can still use it if you'd like, but in tomcat 4.1.x the
default connector is Coyote, which doesn't have these messages.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Geralyn M
Howdy,
SI Here is the solution that I implemented.
SI s_contextPath =
SI config.getServletContext()
SI .getResource(/).getPath();
SI if ( s_contextPath.equals(/) ) s_contextPath = ;
I don't think the above even works as quoted. For example,
for a context name /blah on tomcat 4.1.24
Howdy,
If i'm reloading the webapp via manager application, all users lost
there
sessions, isn't it?
Regards :o)
Not by default. They're persisted to disk by the session manager. Only
times session go away is on timeout.
Yoav Shapira
This e-mail, including any attachments, is a
Howdy,
Make sure you change the redirectPort for the 8080 connector to not be
8443, then, and point instead to your SSL port ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 1:47 PM
To: [EMAIL
Howdy,
And thank you for posting the root cause and solution.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Sebastien Dagnicourt [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:15 AM
To: 'Tomcat Users List'
Subject: RE: Hanging problem with TC 4.4.1.24
Ok,
Howdy,
You can search the archives on the use of symlinks or the tldScanJar
exception for more information: this comes up a lot.
What I suggest is to stick with your current system: have a central
location for your tools, preferably under version control, and copy jars
out of it into the
Howdy,
Why not just do
RequestDispatcher rd =
getServletContext().getRequestDispatcher(/lookup.html);
I.e. don't have the explicit getContext(/example) call in the middle
as you're already in that context.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL
Howdy,
What about the HttpSessionActivationListener's sessionWillPassivate()
event?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:18 AM
To: [EMAIL PROTECTED]
Subject: Re: Way to cleanup *before*
Howdy,
This would almost definitely be an OS/JDK limit somewhere along the
line. Tomcat will just stream the file, so its size is not really an
issue AFAIK.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Lee Peik Feng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July
Howdy,
My mail reader doesn't like your attachment. In general, instead of
posting attachments post the relevant bits from the file. In this case,
since you have no idea what you did wrong, why not just start with a new
installation of tomcat?
Yoav Shapira
Millennium ChemInformatics
that I've looked for the bad
terms.
Marc.
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Wednesday, July 30, 2003 3:17 PM
Subject: RE: Rooting request to one or an other webapp
Howdy,
does someone know a way to catch a request
Howdy,
You can't with a pure server-side solution, as the server doesn't know
anything about the frames, only your browser does. So you have to use
JavaScript or another client-side approach to get the source from the
server and copy it into the desired frame.
Yoav Shapira
Millennium
Howdy,
Google is your friend:
http://www.hclrss.demon.co.uk/demos/symbol.html
(scroll down to Currency Symbols section)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shanta B [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:31 PM
To: Tomcat Users List
Howdy,
Is there an HTML paramater (maybe META tag or something similar) that
will
tell
the page to always be the _top frame? Or maybe a body onLoad()
technique
that
I can use to force this page to always live in the top frame?
Yes, frame-popping is pretty easy. A simple variant would be like:
Howdy,
Probably a bad war file URL. Try file://c:/bond.war.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Derek Mahar [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:42 PM
To: Steph Richardson; Tomcat Users List
Subject: RE: ANT tasks for management
Howdy,
Processor thread creation is lazy. You can subclass if you want greedy.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Rau NF [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 6:47 PM
To: [EMAIL PROTECTED]
Subject: minProcessor = maxProcessor value (are
Howdy,
In my browser I go to
http://neptune/jasonTest/servlet/HelloWorldExample; and get a page not
found (404).
I am running it on port 80. The only difference between my webapp and
the examples webapp is that I have no web.xml.
My friend has no problem on his Tomcat server with no web.xml
Howdy,
You can have two servlet-mapping tags for your servlet.
As an aside, IMHO Principal is not that good a name for a servlet as one
might confuse it with java.security.Principal.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Moraes, Fabio [mailto:[EMAIL
Howdy,
What is standard/recomended approach to getting my servlets and JSPs to
log
to
the same file.
I am currently using the context logger in server.xml as follows:
!-- ActionItems Context --
Context path=/ai docBase=ai debug=0 reloadable=true
crossContext=true
Logger
Howdy,
Then use log4j.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Rick Roberts [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 1:18 PM
To: Tomcat Users List
Subject: Re: Servlets JSPs log to different files
How are you logging in your servlets? Are
Howdy,
Even if your loathe to do it, a profiler is invaluable as long as the
profiled environment (your dev/test env) is close enough to production
to be meaningful. You should profile, and run stress tests, on hardware
and software that's as similar as possible to production, before going
live.
not suppposed to ? Per
the
docs, this is called when the session is migrating between VMs and when
persisting sessions, but all I've got going is a session in a single VM
being
created and being invalidated.
On Thursday 31 July 2003 06:33 am, Shapira, Yoav wrote:
Howdy,
What about
Howdy,
01-Aug-2003 17:48:01 org.apache.jk.common.ChannelSocket
processConnection
INFO: Server has been restarted or reset this connection
This were mostly fixed in 4.1.24. Try moving to it (or better yet,
4.1.27), as there are several potentially relevant fixes from 4.1.18.
Yoav Shapira
Howdy,
Depends on the version of tomcat they run and on what elements you wish
to override. Some, e.g. anything not under Context, you can't
override. You can include a context.xml with your war file to specify
anything that would normally go inside the Context block of server.xml
for your
Howdy,
Thanks Yoav. With that being said, is there anything I need to do in
my
web.xml file to tell it to use context.xml instead of the server
context?
No, tomcat reads that as if it were in server.xml. The in-memory
representation is identical.
And also, is this information in the online
Howdy,
But do I have to import my own classes? If so what is the purpose of
having the Bean code separated from the JSP code?
Yes, you have to import your classes so the JVM knows what classes
you're using.
The point of separation is two-fold (probably more):
- Other components can use the
Howdy,
I googled around for help, but can not seem to find anything starting
from
scratch. Does anybody know of a good place to start teaching yourself
the
product? Need to define three separate sites from the main site. E.g.
www.ourdomain.com/site1-site3
Each site would likely be a web
Howdy,
Has anyone got any clues on JVM tuning for Tomcat on Windows 2000, Sun
141
I would venture at least a few people on this list have clues. But it's
impossible to help you without a clue about your webapp.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
Howdy,
Since your question is regarding tomcat on linux, so I thought it best
to put my question to you as well. I have downloaded the rpm file for
the SDK or jdk 1.4. When I see the file on linux machine, I see
___.rpm.bin
How do I install it ? Any suggestions ?
Bad idea: start another thread
Howdy,
when I stop tomcat using shutdown.sh there are still many
tomcat-processes
running in linux. Is this normal or do I have a configuration problem
(contexts are not closed properly)?
I use a connection pool to a Mysql-database in my application
(BasicDatasourceFactory). Do I have to close
Howdy,
I would point out a couple of things, since you posted this code as an
example, but they are subjective.
I have a servlet that is loaded at the time tomcat starts.
The container is free to destroy and reload this servlet as it deems
necessary. Accordingly, use a ServletContextListener
Howdy,
Can anyone expand on this further and explain how to use a Log4j logger
reference in beans that do not have a notion of what the underlying
servlet
context is? The only way I can see how to get this to work is to pass
the
logger reference as an argument in the bean's constructor.
You
Howdy,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 9:27 AM
To: Tomcat Users List
Subject: RE: JVM tuning
Hmm well only a profiler could tell me that; I was more looking for
some
(subsequently discovered) things such as you should
Howdy,
-Original Message-
From: Lee Peik Feng [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 8:02 AM
To: Tomcat Users List
Subject: Re: What is that maximum file size tomcat can serve?
I think this is due to the content-length (in the HTTP header)
generated by
Tomcat.
Since my
Howdy,
Well not really; we know that we are running Tomcat, a web container
which
has its own (fixed) characteristics. It is a server side app which is
processing non state based transactions which are thus highly like to
involve a lot of objects being created and destroyed without too many
Howdy,
You could have different tomcat instances, each with a copy of the app
that has different property file settings. Or you could deploy the app
multiple times with different names to one tomcat instance (e.g.
webapps/MyApp-Test, webapp/MyApp-Dev) etc.
Yoav Shapira
Millennium
Howdy,
In our company, we are using Tomcat Version 4.0.1 and Java 2 SDK,
Standard
Edition Version 1.4.0
If possible, update to 4.1.27 and JDK 1.4.2.
a. I read that if one uses 'catalina nonaming
start' instead of
'startup', it would help disable the use of JNDI within Tomcat.
(1) Is this
Howdy,
I am running Tomcat 4.1.24 on Windows NT 4.0. When I get a runtime
error
in my servlet, I'm getting stack traces on the console instead of in
the
log. Is there a way to force all output to the log. I have a log
specified that it writes to while the container loads, but for some
reason,
Howdy,
How do you have it configured now?
Also, if you could use 5.0.6 for your testing instead that'd be great!
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: vikas jain [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:06 PM
To: [EMAIL PROTECTED]
Subject:
Howdy,
Consider a container-independent approach instead: write an
HttpSessionListener that's also a ServletContextListener. Have it keep
a static list of HttpSession objects, adding the session to the list on
its creation and removing on its destruction. Then, have the
contextDestroyed method
Howdy,
Hmmm... Any information in the logs?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:36 PM
To: '[EMAIL PROTECTED]'
Subject: Problem: Tomcat server went down ...
Our Tomcat server just shut
Howdy,
I remember reading where oen can send a kill signal with Unix that will
cause the JVM to do a thread dump before exiting. Does this sound
familiar to anyone?
Send a CTRL-BREAK (SIGQUIT) to the JVM and it'll show you what it's
doing ;) I've tried it on Solaris 8, Win 2000, without a
Howdy,
How did you reach this conclusion? Do you have an IIS front-end or are
you running tomcat stand-alone?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Abhinav Gautam [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 3:22 PM
To: [EMAIL PROTECTED]
Subject:
= this.sessions.iterator();
while (i.hasNext()){
HttpSession s = (HttpSession)i.next();
log(Removing session : + s.getId());
s.invalidate();
}
log(contextDestroyed());
this.context = null;
}
-Original Message-
From: Shapira
Howdy,
I'm sorry, I meant use an activation listener instead of the context
listener to invalidate them. That should work. contextDestroyed() is
too late as all the session handling has already happened.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Shapira, Yoav
of the thread.
Thanks,
Philipp
-Ursprungliche Nachricht-
Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. August 2003 15:18
An: Tomcat Users List
Betreff: RE: Many java-processes left after shutdown.sh
Howdy,
when I stop tomcat using shutdown.sh
Howdy,
You mean like tomcat-users.xml where you can define roles and users?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 4:01 PM
To: '[EMAIL PROTECTED]'
Subject: Where
Howdy,
Look for the web.xml file where there's a Filter element with that
netbeans class, and remove the definition (and any filter-mapping
elements related to it) from the web.xml file.
Just doing a clean install of tomcat is another option: it's quick and
easy.
Yoav Shapira
Millennium
Howdy,
Tomcat 4.0.6
Use Tomcat 4.1.27.
We have looked at the box, and it does not seem to be taxed. We have
tried
setting CATALINA_OPTS to maximize performance but tomcat does not seem
to
be using the additional memory and the system's load average remains
low.
Java (this is not
Howdy,
When the session is created it has no attributes, that's why it's empty.
You can't have put attributes there before it was created ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Anthony Cunningham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 2:54
901 - 1000 of 5223 matches
Mail list logo