Hi,
It's in the Sun XML pack (among other places), at
http://java.sun.com/xml/downloads/javaxmlpack.html
Yoav Shapira
[EMAIL PROTECTED] wrote:
I got it about 6 months ago and you're right, I can't seem
to find it again.
Where did you
I measure how compressed my response is
versus running without using the filter? (I don't mind recycling
the server and changing web.xml between runs).
Thanks in advance,
Yoav Shapira
Millennium Pharmaceuticals
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto
Hi,
I'm not sure if it matters, but did you try giving the name
of the driver class separated by periods instead of slashes, e.g.
com.ibm.db2.jdbc.app.DB2Driver
?
Yoav Shapira
George M. Coles wrote:
Hi all,
I am using tomcat for the firs time. I have v. 4.02, using jdk 1.4.
I am
Hi,
Sorry to bump in late in the thread, maybe this was already raised,
but in your server.xml, did you specify the privileged=true
attribute for the Manager context?
Yoav
If i enter http://myserver/managerstuff/list
it then ask for login/password - OK
and then generates an exeption
Hi,
So tomcat4.0.2 remove the System.exit(0) call at the end of the
Bootstrap class, and there are good reasons to not have it there
(for embedded invocations of tomcat, etc.). I'm also aware
of the possible harm of System.exit(0) and the use of SecurityManager
to prevent that.
Here's my
on the java.sun.com
site (there's also a link from www.theserverside.com).
Good luck,
Yoav Shapira
John Wadkin wrote:
Rick,
Simple question, here comes the complex answer :)
I'm a student who's working for my Uni for a year. I'm working on a small
project to look at how best to implement a new
as different
users, and the path is too long for the different CATALINA_OPTS
to show through.
I realize this may be more of a Unix question, but if anyone
has suggestions, I'll be glad to hear them. Thanks in advance,
Yoav Shapira
Millennium Pharmaceuticals
--
To unsubscribe: mailto:[EMAIL
be
internal
somewhere.
Any clues?
When I try to run jsp to pre-compile the file, I get a
java.util.EmptyStackException -- what's that all about??
Thanks,
Yoav Shapira
Millennium Pharmaceuticals
[EMAIL PROTECTED]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL
(HttpServlet.java:853)
(snip)
There's no line ilke the above anywhere in my code, so it must be
internal
somewhere.
Any clues?
When I try to run jsp to pre-compile the file, I get a
java.util.EmptyStackException -- what's that all about??
Thanks,
Yoav Shapira
Millennium
use parameters like hprof and verbosegc on
the java command line to assist you in monitoring garbage collection.
Yoav Shapira
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Hi there,
So last night the JVM crashed on one of our big servers. It had been
running without a problem for a while, but we've been experimenting
with tuning garbage collection, as this particular JVM is typically
around ~400MB in memory during the day. Here are the details (sorry
for this
the signal)
-Ursprüngliche Nachricht-
Von: Yoav Shapira [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 6. Dezember 2001 15:30
An: Tomcat Users List
Betreff: Solaris VM crash? Full docs included
Hi there,
So last night the JVM crashed on one of our big servers. It had been
Hi,
Maybe what you're looking for is the webapp's context, and for
that you can try HttpServletRequest.getContextPath():
public java.lang.String getContextPath()
Returns the portion of the request URI that indicates the context of the
request. The context path always comes first in a request URI.
Hi,
1) I don't remember having to download JAXP myself for tomcat
installation. Doesn't tomcat come with and use Xerces internally?
2) You can get JAXP binaries, including xalan.jar, by download the
Java XML Pack (fall '01 is tested with tomcat 4.0.1, I don't know
about the latest, winter
://myhost/mycontext/myservlet myself, the filter does
get called, so I know it has to do with the calling mechanism,
filter-mapping,
or something along these lines.
Thanks in advance, and sorry for the long post,
Yoav Shapira
Millennium Pharmaceuticals, Inc.
[EMAIL PROTECTED]
--
To unsubscribe
Hi,
Default JVM allows for 64MB max to the heap. You may want to
increase that by using CATALINA_OPTS, e.g.:
CATALINA_OPTS='-Xmx128m'
would allow the JVM to use up to 128MB of memory. There are many
other settings available, see the Java runtime options on java.sun.com.
Yoav
Frank
Hi,
Look at log4j:
http://jakarta.apache.org/log4j
We've been using it for a while, both for development and production
logging, and it's just great. Most of JSR47 (java.util.logging)
is based on log4j, and it's also used by several commercial and/or
big products like JBoss.
Yoav
James Adams
Hi,
It's still there. For the adventurous, try the new JBoss2.4.1-Tomcat4.0
integrated download:
http://prdownloads.sourceforge.net/jboss/JBoss-2.4.2_Tomcat-4.0.zip
Otherwise, you can just go to jboss.org and download the latest
release-quality thing, which is integrated with Tomcat 3.2.3 I
Hi,
You can always use HTML or JSP forwarding, along the lines of:
html
head
meta http-equiv=REFRESH content=0; URL=/miiq/index.html
/head
/html
Or something like
html
head
titleJSP Forwarder/title
/head
body
jsp:forward page=/miiq/index.html
/body
/html
Good luck,
Yoav
Ryan Brown wrote:
an exception. The connection itself is fine,
I can call stuff like con.getContentLength() and it works (correctly)
without a problem.
Is the manager app coded specifically to disallow opening stream to it?
Has anyone else tried/encountered something like this?
Thanks!
Yoav Shapira
Millennium
Hi,
My guess is you need to enable remote address lookups in your
server.xml. Since they are expensive to log, they are usually turned
off by default, and the behavior is to simply return the address
rather than the host.
Yoav
Miao, Franco CAWS:EX wrote:
When I put the following code in
Howdy,
The sessionID is an internal identifier assigned and used by the
web server (typically). Maybe you want to consider using your own
session variable with a different name, that you can assign and control
manually? It would be your responsibility to guarantee uniqueness,
but that's
Howdy,
My two cents... Solaris 2.6 on an Ultra 10, tomcat 4.0.1, takes about
20 seconds for complete startup, less than five seconds for complete
shutdown (process gone and everything). My setup right now has
3 webapps, one of which spawns a couple of threads (but takes care
to terminate them
, deploy, test on tomcat-standalone first. You'll likely find that the
performance, including for static resources, is sufficient for your needs.
Yoav Shapira
--- [EMAIL PROTECTED] wrote:
I guess I am confused.
I set up my workers2.properties to link to
/exmaples/jsp/*
then when I type
it to
tomcat for dynamic content.
Either tomcat or apache by themselves support virtual hosting. For tomcat, you
simply add more Host elements in server.xml. See the Host configuration
reference in the tomcat docs.
Yoav Shapira
--- Latesha Williams [EMAIL PROTECTED] wrote:
I have a web application
Howdy,
Define an exception, e.g. MyException. Define an error-page (in web.xml) for
that exception. Throw that exception from your servlet.
Yoav Shapira
--- seera naveen [EMAIL PROTECTED] wrote:
Hi,
I am using FORM based authentication and JNDIRealm. Is it possible to have
custom error
Howdy,
Your DecodeInterceptor usage covered inappropriately designed web page ;)
Use a Filter to do this in tomcat 4. You'll have to write a request charset
setting filter as that doesn't come built-in to tomcat.
Yoav Shapira
--- j p [EMAIL PROTECTED] wrote:
Hi,
I have problem moving my
.
Yoav Shapira
--- Raible, Matt [EMAIL PROTECTED] wrote:
I'm having trouble using Tomcat's Ant Tasks. I've written up a wiki page on
how I'm using them and the problems I'm experiencing. Any help is
appreciated.
http://raibledesigns.com/wiki/Wiki.jsp?page=TomcatAntTasks
Thanks,
Matt
Howdy,
Perhaps the fact that in 4.0.x your JSPs were package-less and in 4.1.x they're
in org.apache.jsp? (Or vice versa, I can never remember).
Anyways, why are you using the tomcat-specific HttpRequestFacade instead of the
servlet specification's HttpServletRequest?
Yoav Shapira
--- Woodrich
Howdy,
Are there any errors in the tomcat logs? In the Jetspeed logs? Considering
the developers of Jetspeed themselves use tomcat to develop and test, I'd be
surprised if there were out-of-the-box problems.
Yoav Shapira
--- grenoml [EMAIL PROTECTED] wrote:
I have the following setup:
J2SE
Howdy,
It does work if you place logj4.properties in WEB-INF/classes and log4j.jar in
WEB-INF/lib. If you could please be a bit more explicity when you say This
does not seem to be working perhaps I could help more.
Yoav Shapira
--- Dean A. Hoover [EMAIL PROTECTED] wrote:
I want to use log4j
Howdy,
Comment in the AccessLogValve in $CATALINA_HOME/conf/server.xml.
Yoav Shapira
--- Roman Fail [EMAIL PROTECTED] wrote:
Is there an easy way to log all the URL's that clients have requested? We
are having serious intermittent problems on a production server, and a devil
of a time
(by the way, it's not a Blocker and likely to be
demoted) and was disappointed to not see any error logs. Are there any
messages at all? Can you post the JSP page that's not rendering?
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
SBC Yahoo
. maxProcessors for your
connector.
There are ample free (and non-free) tools to do the above: The Grinder, Load
(from PushToTest), JMeter, wget, etc etc.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http
expect anything to be available.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
To unsubscribe, e-mail
have to
subclass/wrap GenericObjectPool yourself.
In fact, come to think of it, SynchronizedGenericObjectPool may not be that bad
an addition to commons-pool.
Yoav Shapira
--- James Carpenter [EMAIL PROTECTED] wrote:
What pool implementation of the Commons-Pool utility provides process based
like putting them in the Context rather than some global place, on
the princinple that web appliations should be self-contained. Having a
fallback/default/global configuration just complicates debugging. However, I
see it would be useful in development/testing.
Yoav Shapira
=
Yoav Shapira
Howdy,
ServletContext#getServerInfo()
This is a FAQ, search the archives before you post.
Yoav Shapira
--- Billy Ng [EMAIL PROTECTED] wrote:
Hi folks,
Is there any api to get the tomcat version?
Thanks!
Billy Ng
=
Yoav Shapira
[EMAIL PROTECTED
been discussing, I bet you'd have standalone JNDI very
soon ;)
Yoav Shapira
On Fri, 15 Aug 2003, Micael wrote:
This is mistaken, if you mean what you say. There is a JDBC resource
available via JNDI in Tomcat. You have to code it, of course, but it
definitely is available.
At 02:53 PM 8/15
if you're trying to come
up with some sort of general solution.
Yoav Shapira
--- Francisco J. Bido [EMAIL PROTECTED] wrote:
That's a good idea. Thanks!
Take care,
-FB
On Saturday, June 7, 2003, at 03:23 PM, Tim Funk wrote:
The easy kluge is to hack the startup scripts (or write wrappers
Howdy,
Is it the maxProcessor option?
Yes. See the configuration reference for the Connector element for details.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http
listener.
Why are you clearing all the attributes instead of a specific one?
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
permissions for all the webapps.
Yoav Shapira
--- [EMAIL PROTECTED] wrote:
Hi,
How do I get it so that Tomcat does not run as root when I start it up on
Linux? I know in Apache I create a new group and user and set it inthe
httpd.conf file. What is the best way to have the Tomcat run
Howdy,
I use nagios for this: www.nagios.org.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
settings like this are not
transparent and easy to debug.
Second comment: glad you got it fixed, and thanks for posting the update.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM
to either
comment in tomcat's invoker servlet or map your servlets in your web.xml file.
Other than that, give it a shot and let us know if you run into any problems...
Yoav Shapira
--- Subramaniam Kumar [EMAIL PROTECTED] wrote:
Can someone point to 'migration steps' to migrate from Weblogic
Howdy,
It might be that the fallback behavior is to use a public no-args constructor,
ala JavaBeans.
Yoav Shapira
--- Renato Romano [EMAIL PROTECTED] wrote:
In the tomcat documentation it is said that to configure a new JNDI
resource you should put a Resource entry in the Context portion of my
*700mhz, 1GB. One application 30mb.
Thanks
Euan
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
:03:27 StandardContext[/jmed]: Error configuring application
listener of class listeners.SessionListener
java.lang.ClassNotFoundException: listeners.SessionListener
So, make those listener classes available under your docBase (c:\med..)
WEB-INF\classes\... or WEB-INF\lib directory ;)
Yoav Shapira
the digest
version.
Use the archives ;) I like the ones at AIMS.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Howdy,
What errors are in the tomcat logs?
Yoav Shapira
--- Ozge Gundogdu [EMAIL PROTECTED] wrote:
Hi;
I have been trying to install tomcat 4.0.4 on solaris 5.7. and set the
environment variables
JAVA_HOME=/usr/java1.2
CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.6
then I run
on this list: you should ask
whoever wrote the msjava.tools.nativ.MSJNIManager component for documentation /
assistance.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http
Howdy,
I am gonna ask the developers to switch to log4j instead of System.out, they
might give me the finger :)
I wouldn't give you the finger ;) There was a discussion in the winter about
making tomcat 5.x use log4j internally.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED
push for that in tomcat 5 ;)
When swallowOutput is true, the output gets redirected to the appopriate tomcat
logger, which rolls itself over nightly automatically.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
Yahoo! Calendar - Free online
Howdy,
Print out the value of session.getAttribute(DBREADER) before you set it: that
way you can see what its real runtime class is. It probably won't be that
locationHelper class you're trying to cast into...
Yoav Shapira
--- Mufaddal Khumri [EMAIL PROTECTED] wrote:
Made a typo in my previous
, in a version-controlled tree. Have an ant
script that builds your app and deploys it to the tomcat installation.
Yoav Shapira
--- White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] wrote:
Hello all,
My company is contemplating the idea of deploying servlet applications on
Tomcat in production
Selector: and it's even done for you for a webapp/context
environment such as tomcat in Jacob Kjome's servlet context repository
selector, currently available in the log4j sandbox and slated for inclusion in
log4j 1.2.x.
Yoav Shapira
--- Tim Shaw [EMAIL PROTECTED] wrote:
Feedback welcome - I've been
on the shutdown port. Use netstat or an
equivalent command to make sure tomcat is listening on the shutdown port when
you're issuing the shutdown command.
Yoav Shapira
--- [EMAIL PROTECTED] wrote:
tomcat 4.1.24
redhat 7.3
apache 1.3.20
jdk j2sdk1.4.1_02
tomcat is installed and is runnable
Howdy,
How I wish people would search the archives ;( This is a consequence of
linux's reporting of java threads as processes: all of these processes are one,
sharing the same amount of memory.
Yoav Shapira
--- siddharth [EMAIL PROTECTED] wrote:
hello,
I am running following servers on my
Howdy,
I guess you're trying to buld tomcat 5? Are you going the download way or the
build.properties way?
Yoav Shapira
--- Antonio_Fiol_Bonnín [EMAIL PROTECTED] wrote:
Hello,
I have just followed the instructions on
http://jakarta.apache.org/tomcat/building.html and I get the following
of settings. That way you can see the actual effect on
your system intead of relying on me or someone else's article.
Yoav Shapira
=
Yoav Shapira
[EMAIL PROTECTED]
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
answer might be:
- You need to modify the above in your server.xml and catalina.sh before
burning your copy of tomcat to CD
- Whatever directory you use for your logs and workDir (which is required
by the servlet spec, as I said earlier) needs to be off the CD-ROM, but
accessible and writeable.
Yoav
Howdy,
These are being sent by viruses/worms from addresses that are subscribed
to the list. I try to catch them before but because the addresses are
legit they don't show up for me to moderate...
Yoav Shapira
On Fri, 22 Aug 2003, Jens Skripczynski wrote:
Hi,
*aehm* how could this unrelated
the infected machines are cleaned/quarantined.
Yoav Shapira
On Fri, 22 Aug 2003, Kannan Sundararajan wrote:
Normally there would be someone verifies the email before going inot users
group.. But seems no one is verifying.. It is flooding already in my inbox..
-Original Message-
From
in server.xml to see the
exact steps it is performing to match a servlet to incoming requests.
Yoav Shapira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hey,
Mike's suggestion is good. A purer approach is possible with tomcat 5,
because the 2.4 servlet spec allows for a servlet to be mapped as a
welcome-file.
Yoav Shapira
On Wed, 3 Sep 2003, Mike Cherichetti (Renegade Internet) wrote:
I don't think this can be done with mappings. You can put
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.4-alpha. This build contains numerous bug fixes and other
improvments, and hopefully gets us closer to the first stable 5.5 release.
Release notes:
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.0.30-beta. The release contains a significant number of bug fixes,
and we expect it to be ratified as a Stable release when the vote takes place
next week as usual.
Release notes:
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.6-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements.
Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
Please refer to the change
The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat
5.0.28.
Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html
Release notes:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES
Downloads:
The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat
5.5.0.
This is the first release of the new Tomcat 5.5 branch, and as such it is not
yet stable. We expect significant additional changes, including possible
changes to packaging, dependencies, and Tomcat internal
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.1. This second build in the 5.5 branch contains a number of
significant stability improvements over 5.5.0, as well as a host of
documentation updates and minor fixes.
Release notes:
Hi,
I have some problem when people spam me ;) Please stick to the mailing list
and avoid personal emails. And remember
http://jakarta.apache.org/tomcat/faq/tomcatuser.html#why.
Thanks,
Yoav
--- Gaurav Handa [EMAIL PROTECTED] wrote:
hi
I have some problem in calling the methods which
The Apache Jakarta Tomcat team is proud to announce that Tomcat 5.5.7 has been
voted stable after substantial evaluation and testing. The vote thread is
archived at http://marc.theaimsgroup.com/?t=11067421773r=1w=2 among other
places.
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.8-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements.
Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
Please refer to the change
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.9-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements.
Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
Please refer to the change log
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.9 stable. This build contains numerous bug fixes, documentation
updates, and other improvements.
Please note that while all core features have been tested and voted stable,
there is a known issue in this
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.10-alpha. This build contains 110 improvements, including bug
fixes, enhancements, and documentation updates. There are several interesting
new features, such as Apache Portable Runtime (APR)-based
23 September 2005 - Apache Tomcat 5.5.12-alpha Released
The Apache Tomcat team is proud to announce the immediate availability of
Tomcat 5.5.12-alpha. This version contains several bug fixes, including an
import change to session attribute storage concurrency that is required by the
upcoming
Hi,
FYI, the Tomcat source code has been moved to Apache's Subversion (SVN)
repository. The old CVS repositories are now locked down: they can still be
used for checking out code, but no further work will be done in them. For
details on how to work with SVN, please see
Hi,
The 5.5.12 stability vote is now over, and the release is stable. The
following votes were cast for stable:
Jeanfrancois Arcand
Allistair Crossley
Henri Gomez
Jim Jagielski (not sure if this one is binding in the strictest sense of the
word)
Remy Maucherat
Peter Rossbach
Yoav Shapira
Mladen
81 matches
Mail list logo