From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: problem with tomcat 5.5.9
We observed that tomcat's memory footprint (not the heap size) keeps
increasing if we run it for a long time under constant load. Initially
it was 305 MB, but after running it for 12 hours continuously, it
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
So, my question is... why am I getting the ClassDefNotFound
error, and how do I correct it (or can I, given my current
configuration)?
Simplistic packageless servlets may well work, but real
From: Andri Herumurti [mailto:[EMAIL PROTECTED]
Subject: RE: [OT] ParallelGCThreads more than cpu count
is there any weakness if i setting like that?
There will be some potential of extra overhead due to unnecessary
switching and lock contention, but I would expect the effect to be
rather
From: Gema Berdasco [mailto:[EMAIL PROTECTED]
Subject: Re: Cannot access external resources from a webapp
when upgrading Tomcat above 5.5.9 version.
The situation is just you`ve said. Do you know any other way
to access to external resources?
You can configure a path for your webapp to
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Subject: tomcat and 64 bit processors
Hopefully I wont bore anyone. Any special considerations
with tomcat 5.5 and a 64 bit processor, can I grab the
binaries from the download site or should I grab the source?
Outside of the optional APR
From: Olav Drageset [mailto:[EMAIL PROTECTED]
Subject: Tomcat mod_jk on WhiteboxEL ??
However browsing from another host on the same local network
only hangs the browser when using the right IP-number.
As a previous respondent said, most likely a firewall issue - on either
box.
I try to
From: Stevie G. Messervey [mailto:[EMAIL PROTECTED]
Subject: https difficulties w/ Tomcat5
Tomcat:5.5.15
APR:1.2.2
Basically, I cannot get the SSL connector to work.
APR uses a different SSL configuration based on OpenSSL, as documented
near the bottom of:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
Subject: Sharing classes between applications
Well, what do you think, is this a good idea, to share the
classes and if yes, how can I do it :)
Unless the two apps actually need to share data, don't do it. You end
up introducing
From: Aparna Ramakrishnan [mailto:[EMAIL PROTECTED]
Subject: help to solve 'OutOfMemoryError'
What changes do I need to make to avoid this
OutOfMemoryError?
The question is too generic for anyone to provide a concrete answer.
Start here:
http://tomcat.apache.org/faq/memory.html
Do some
From: Randy Paries [mailto:[EMAIL PROTECTED]
Subject: moving from tomcat 5.0.24 to 5.5.15, haviing
problems with root app
my server.xml is pretty as left as is (will inlcude if requested)
There are differences between 5.0 and 5.5 - make sure you read the docs
and look at the comments in
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: Please Help Setting Up Site
Now if someone types in the proper http://www.mysite.com
all is good.
PROBLEM: when friends and family type in http://mysite.com
(forgetting) the www, they get to my site, but get the
message that
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tino Schöllhorn
Subject: Multiple Tomcat-Instances problem
But now I noticed that those 2 instances are
using the same classes and the same classpath,
which they should'nt.
A couple of questions:
1) What do you mean by classpath? An
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple Tomcat-Instances problem
CATALINA_HOME=/our-apps/apache-tomcat-5.5.12
export CATALINA_HOME
is surely wrong in the config file of /our-apps/tomcat-production
Not at all. Look at the section entitled Advanced
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple Tomcat-Instances problem
Yes, but since CATALINA_HOME is used to define the classpath, both
instances would use same libs (bootstrap, logkit, etc). I think the
original poster wanted the apps to avoid using same libs.
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple Tomcat-Instances problem
tomcat is just a java program, therefore it runs in a VM. Each running
VM has a classpath,
Actually, each VM has at least three classpaths, not counting any
separate ones implemented in the Java
From: Mark Space [mailto:[EMAIL PROTECTED]
Subject: 404 resource not found
2. The app is installed in (Tomcat_home)/webapps/ROOT/Beer-v1
That's at least one problem - your app should be under webapps, not
webapps/ROOT. Your app was never deployed. Follow the examples.
- Chuck
THIS
From: Mark Space [mailto:[EMAIL PROTECTED]
Subject: Re: 404 resource not found
So, is ROOT the default app? This said to use ROOT:
http://www.coreservlets.com/Apache-Tomcat-Tutorial/
I'd suggest using the real Tomcat and Servlet documentation first, and
then referring to 3rd party doc
From: Chad Russell [mailto:[EMAIL PROTECTED]
Subject: Tomcat webapp directory on virtual host
I want to deploy a struts .war file to one of the virtual hosts, but
Tomcat wont recognize it. In my server.xml under the hosts
section I have both the appBase and the docBase pointing to the
From: Chad Russell [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat webapp directory on virtual host
Context path= reloadable=true
docBase=/home/domaindir/public_html debug=1/
The docBase should specify the actual .war file, not just the directory
it's in. Since you're using the appBase
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: RE: Need tomcat build for Fedora 3 on x86
But in reality I have so far never seen such a thing as a Java
build once, run everywhere come true.
Actually, I've never seen it fail, for pure Java, headless-compatible
programs.
I
From: Hans Sowa [mailto:[EMAIL PROTECTED]
Subject: Re: From Java to C#, ASP.NET [Off Topic]
I want to mentioned that it is not important which API is
used from JAVA to say that your application is a J2EE
application or not. The only two thinks which count are
1) it is written in java
From: Legolas Woodland [mailto:[EMAIL PROTECTED]
Subject: Tuning Tomcat , i need some advice
Where i can find more reference and how to(s) or step by step
manual to tune tomcat.
I'd suggest starting with Peter Lin's paper:
http://tomcat.apache.org/articles/performance.pdf
Also look in
From: Legolas Woodland [mailto:[EMAIL PROTECTED]
Subject: is there any way to monitor application server when
it is working ?
is there any application that help monitor an application
server when it is working ?
Look at Tomcat's built-in manager app as an example. Read the doc:
From: Tom Bednarz [mailto:[EMAIL PROTECTED]
Subject: Tomcat and client certificates
If that is not possible, I need two servers, each running
an instance of Tomcat with different server.xml settings.
I haven't tried it, but I would think all you need is two sets of
Connector tags, not two
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark F
Subject: Tomcat log to syslog
If there is a newer version available for SLES
could someone please let me know where to find it.
Other than the optional APR connector, Tomcat is pure Java, so just grab
the latest level from the Tomcat
From: David Ziants [mailto:[EMAIL PROTECTED]
Subject: Cannot transform and load jsp file with Tomcat under Eclipse
I also added META-INF\context.xml file:
==
?xml version=1.0 encoding=UTF-8?
Context
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Subject: RE: RE: context.xml
I am hoping to find a place for a context.xml to live where it will
never get deleted. That a customer can change and when we give them a
new war file, the context.xml changes that they have made will stick
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: How to identify version of a running Tomcat and
similar trivia
3. How to identify a Tomcat's config?
4. Parsing the config
5. Tool for monitoring a Tomcat's state
For all of the above, try the manager and admin apps that are
From: Roel De Nijs [mailto:[EMAIL PROTECTED]
Subject: Betr.: RE: Memory Management between different webapps
The problem we are confronted with: all our web-apps are
running fine in our test-environment, even if workload is
simulated to be very high. If we go to production environment
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Antonio W. Lagnada
Subject: APR in Tomcat 5.5
Once I have apr installed, what is the configuration change
that I need to do to let tomcat know to use apr?
None, assuming the APR native library is installed in the proper
From: Jeffery G. Summers [mailto:[EMAIL PROTECTED]
Subject: Port 8443 won't become active
Our webserver is an IBM P615C AIX 5.2 box. I have attempted
the following to enable port 8443:
1) keytool -genkey -alias tomcat -keyalg RSA
2) Edited server.xml and uncommented the port 8443
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Antonio W. Lagnada
Subject: Re: APR in Tomcat 5.5
Thanks. I'm assuming I need to append it to LD_LIBRARY_PATH as such:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/apr
If you already have something in that environment
From: Lionel Farbos [mailto:[EMAIL PROTECTED]
Subject: Why TC 5.5 vs TC4.1 (perf reasons)
is somebody know a good link that show why Tomcat 5.5 is
better than Tomcat 4.1 ?
Don't know of any documented 4.1 vs. 5.5 studies, but Peter Lin
published an interesting paper comparing static
From: Alan Honczar [mailto:[EMAIL PROTECTED]
Subject: need suggestion about jdk 1.4 logging in Tomcat
I need a suggestion about java logging within a context.
I´d like to have a way to isolate the jdk1.4 log between
Tomcat contexts.
You didn't bother to tell us what Tomcat version you're
From: John [mailto:[EMAIL PROTECTED]
Subject: Managed beans not instantiated with embedded Tomcat 5.5.15
The web application makes use of managed beans
This web application works fine when run in a Stand Alone
Tomcat that is not embedded.
When the web application is run within our
From: Patrick Lacson [mailto:[EMAIL PROTECTED]
Subject: Definitive Guide for setting up SSL for Tomcat
This is where I need your help. I followed the Tomcat instructions (
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html) to
the letter and have been unsuccessful.
You didn't
From: Dave Morrow [mailto:[EMAIL PROTECTED]
Subject: KeepGenerated
If my thinking is correct, the change in KeepGenerated should have
decrease performance? Am I correct in this assumption?
Does anyonw know of any drawbacks to what I have done?
Changing keepgenerated shouldn't really
From: Yue Mu [mailto:[EMAIL PROTECTED]
Subject: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15
However, when the web application is stopped (unavailable),
it returns the default Tomcat 503 error page (see below),
not the custom error page.
If the application is not available, its
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]
Subject: Would like to know what might be causing this
exception in servlet
Feb 1, 2006 9:09:33 PM org.apache.tomcat.util.net.PoolTcpEndpoint
processSocket
SEVERE: Socket error caused by remote host /204.244.137.23
From: Yue Mu [mailto:[EMAIL PROTECTED]
Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15
If the sendError method is called on the response,
I think the above clause lets the container off the hook, since the app
code could not have used the sendError method (since the
From: Casey Dunn [mailto:[EMAIL PROTECTED]
Subject: Tomcat startup class loading differences
Tomcat 4.1.24 java 1.4.2_09
Some days it works (either 200's or 404's) and others it does not
(403's) when making a request to our service.
Is the problem reproducible on the current level of
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Subject: Re: Missing startup/shutdown scripts in latest
5.1.15 Windows install
I would forget about the windows installer and just install the TC
.zip binary version into a new directory instead, and create desktop
shortcuts to the
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Securing Tomcat
First I wondered why they were started as root process.
Only to allow access to ports below 1024. You can use iptables to
reroute ports, or use jsvc to start Tomcat with some other userid.
Google or search the
From: Tobias Illik [mailto:[EMAIL PROTECTED]
Subject: Error reported in catalina.out: Invalid path /login
was requested
Whenever i access the Tomcat Administration Tool I get the
Error message:
This is normal on the first access to the admin app. I haven't bothered
to go through the
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: Two DNS Entries Two Sites?
A week ago, I created another context (in the server.xml) for a
dev-site, of my live site, and I am using that for QA. I want to run a
second real-web site off this box, and same Tomcat. It has its own DNS
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Tomcat logrotation
I would like to employ logrotate.
Have you read the doc:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
http://tomcat.apache.org/faq/logging.html
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: webapps/ROOT
a) what is the standard purpose and use of the
webapps/ROOT context
It's the default application for the host.
b) why would someone want to deploy their app to this location
So that end users can use just the host
From: Joe McTigue [mailto:[EMAIL PROTECTED]
Subject: RE: webapps/ROOT
I think you just hijacked another thread. If you have a new question,
please start a new thread, and not reuse an existing one.
But all I was asking was, do you know where in the tomcat5.5 core
download The servlets.jar
From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]
Subject: RE: Would like to know what might be causing this
exception in servlet
I have one more. This *IS* a real error, and is caused by something
breaking between MySQL and my servlets.
(Should probably start a new thread for this,
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: Why JasperException Unable to compile
we run two Tomcats on two separate hosts which are assumed
to be configured exactly the same (at least as far as Tomcat,
Java env, and this webapp are concerned).
And what would that
From: Joey Geiger [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5.15 Context Reloading issue
The host is configured as:
Host name=application.com appBase=C:\web\application
unpackWARs=true autoDeploy=true xmlValidation=false
xmlNamespaceAware=false reloadable=true
Context path=
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Subject: context.xml my old friend
I cannot get tomcat 5.5.15 to use:
$CATALINA_HOME/webapp/Monitor/META-INF/context.xml
Do you mean webapp or webapps (the latter is the standard)? If the
above was not just a typo, check that it matches
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Subject: RE: context.xml my old friend
I've turned off autoDeploy.
That should not affect deployment of apps that are already in the
webapps directory, only deployment of ones added after Tomcat starts.
It's the deployOnStartup attribute that
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Subject: RE: context.xml my old friend
When you did this, do you get a copy of the context.xml
within Catalina/localhost renamed to probe.xml?
Nope - no extra copies of the file containing the Context tag were
created.
- Chuck
THIS
From: sumesh [mailto:[EMAIL PROTECTED]
Subject: Virtual Directory
How can I create a Virtual Directory in Apache Tomcat? I have
installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I
have some Tutorials in E:\Tutorial .I want to publish the same using
the same Web
From: Nehal Sangoi [mailto:[EMAIL PROTECTED]
Subject: RotateLogs in Apache 2.0
I need to rotate logs in apache 2.0 once they reach the
size limit of 5 MB. What commands would work to carry
out the reqd. job?
Why would you be asking an Apache httpd question on the Apache Tomcat
mailing
From: sumesh [mailto:[EMAIL PROTECTED]
Subject: Virtual Directory
How can I create a Virtual Directory in Apache Tomcat? I have
installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I
have some Tutorials in E:\Tutorial .I want to publish the same using
the same Web
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: RE: Re: Verisign SSL on Tomcat 5.5.9
I struggled with the install for weeks, and after screwing
around, found out it was once executable that was in my
install (Tomcat) that was screwing things up.
Are you thinking of the
From: Bob Faist [mailto:[EMAIL PROTECTED]
Subject: RE: caseSensitive on Windows XP
Try this:
Context caseSensitive=false
Context path=/V2D docBase=V2D/
/Context
I think tomcat is case sensitive by default. I had to add
the caseSensitive attribute to the top level Context node.
From: Alex Turner [mailto:[EMAIL PROTECTED]
Subject: Symlinked directories
I'm using tomcat 5.5.12 on linux, and I'm wondering how I can get
tomcat to follow symlinks in a web app directory?
RTFM:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Look at the allowLinking
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
Subject: RE: context.xml my old friend (SOLVED)
When I had META-INF/context.xml it was never being deployed
(copied and renamed) to:
$CATALINA_HOME/conf/Catalina/localhost/Monitor.xml
This happens only when your app is in a .war file
From: Mark Demma [mailto:[EMAIL PROTECTED]
Subject: Using Tomcat over NFS over multiple hosts, want to
separate locations of directories
the two main problems I run into is the inability to separate
the web app deploy path, i.e. where it LOOKS for the warfiles
and the expand path, where
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 2006 February 08, Wednesday 23:06
To: Tomcat Users List
Subject: RE: Using Tomcat over NFS over multiple hosts, want
to separate locations of directories
You should probably take a long look at:
http://tomcat.apache.org/tomcat
From: Letícia Álvares Barbalho [mailto:[EMAIL PROTECTED]
Subject: Problem with Tomcat and Java versions
I was using java 1.4.2 here, and recently migrated to java 1.5.
Unfortunately, something probably is missing, 'cause I'm
having problems with Tomcat.
You don't say what Tomcat version
From: Marcelo Fukushima [mailto:[EMAIL PROTECTED]
Subject: Environment Entry
Another sily question: how do i retrieve these Environment Entries
within an application? im using tomcat 5.5
There are examples here:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
- Chuck
From: Mark Demma [mailto:[EMAIL PROTECTED]
Subject: Re: Using Tomcat over NFS over multiple hosts, want
to separate locations of directories
the problem is that anything I put into webapps barfs with the
following, looking like it can't find any of it's libraries at /usr/
From: Mark Demma [mailto:[EMAIL PROTECTED]
Subject: Re: Using Tomcat over NFS over multiple hosts, want
to separate locations of directories
I can't for the life of me find anywhere that you can tell tomcat
that it should look for it's whole [EMAIL PROTECTED]@ conf/ directory in
From: Lothar Krenzien [mailto:[EMAIL PROTECTED]
Subject: Re: webapp under different URLs with different JSP
but same java classes
Tomcat Users List users@tomcat.apache.org schrieb am
10.02.06 15:14:51:
Duplicate your classes, one copy in each webapp
Of course I did it. But I
From: Burak Yýlmaz [mailto:[EMAIL PROTECTED]
Subject: Tomcat - blank page problem
Webpages seem to be loading then usually blank page
comes(totaly blank no error messages) on high traffic.
Anyone knows why this problem may occur...?
What do you see in the Tomcat logs? Can you simulate
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: java.lang.Object cannot be resolved
import java.lang.Object;
The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
Don't know why you're suddenly getting this
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
This would imply that javac (or whatever compiler is being used) cannot
find rt.jar,
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
Lets start with the easy stuff is
$JAVA_HOME\lib\rt.jar on your $CLASSPATH ???
The rt.jar should NOT be on CLASSPATH. CLASSPATH refers to the location
of application classes, not ones provided
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
I never set $CLASSPATH, but when I call rt.jar via javac -cp .../
rt.jar Servlet.java, it works fine. Should I set $CLASSPATH or is
that enough?
No, you don't want to put rt.jar on the -cp
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
I set $JAVA_HOME to /usr/lib/jdk, it's a link to /usr/lib/jdk1.5.0_05.
JAVA_HOME has no effect on compilations; the Tomcat startup scripts use
it to find the installed JRE/JDK, but the standard
From: Hannes Hein [mailto:[EMAIL PROTECTED]
Subject: install tomcat under linux (java problem)
I try to install tomcat in the way it is described here:
http://tomcat.apache.org/tomcat-5.5-doc/setup.html
Note that this section is for running Tomcat as a daemon; does Tomcat
run properly on
From: Jo Pfeffer [mailto:[EMAIL PROTECTED]
Subject: Suppress Servlet-Engine header info
can I change the config so that it just sends something like
'Servlet-Engine: Tomcat Web Server' or similar?
More modern versions of Tomcat support the server attribute on the HTTP
Connector tag, and
From: Abhilash Kumar [mailto:[EMAIL PROTECTED]
Subject: No of concurrent requests per session
I am using Tomcat 5.0.30 with HTTP 1.1 Connector. If I try
to make a third request while two other request's (which i
have already made) responses have not yet arrived, then
Tomcat is not
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
No, simple javac Hello.java doesn't work. Only if I set $CLASSPATH
to /usr/lib/jdk/jre/lib/rt.jar or with the -cp-option.
Then your JDK installation is broken. Where is javac being executed
From: Mark Slater [mailto:[EMAIL PROTECTED]
Subject: Re: Trouble accessing Resources in my Context
So, while this works acceptably (the context information for the
webapp is not included in server.xml), I would *much* prefer to use
the WEB-INF/context.xml the Tomcat docs say I can (the
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: default webapp not understanding
I am having trouble understanding what is meant by the default webapp.
(It would help if you'd tell us what Tomcat level you're running...)
For 5.5.x, the default webapp is the one located in
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: RE: default webapp not understanding
If I deploy the webapp in ROOT, then the structure would look
like this:
$TOMCAT_HOME/webapps/root/mywebapp.
No - get rid of the mywebapp idea. Your app needs to be deployed AS
root, not under
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Subject: RE: default webapp not understanding
This has been my confusion ... when I put the war file there,
it creates the mywebapp folder structure. Should I of named
the webapp root?
The name of the webapp (what's used on the URI) is
From: Mark Slater [mailto:[EMAIL PROTECTED]
Subject: Re: Trouble accessing Resources in my Context
Is there any particular reason the context file goes in META-INF as
opposed to WEB-INF?
As I understand it, the structure and contents of WEB-INF are defined by
the servlet spec, and adding
From: Rob Tanner [mailto:[EMAIL PROTECTED]
Subject: Re: sun-web.xml file in Tomcat
In Tomcat the context root is simply the path in the
context declaration in server.xml.
You should not have any Context declarations in server.xml; that
capability is there only for compatibility with older
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Subject: help with apache-tomcat-6.0.14 install
Neither the JAVA_HOME nor the JRE_HOME environment
variable is defined. it`s in the path .
Did you read the RUNNING.txt file? Did you set either of JAVA_HOME or
JRE_HOME, as the message
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: [OT] Getting a pattern from a DateFormat object
Does anyone know if I can get the pattern for a DateFormat object?
I don't think you can, since DateFormat is abstract; there's no
guarantee there's even a pattern involved.
(It
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: Class loading issue
but when the webapp loads, one of the classes it requires
generates an error the first time the webapp is accessed
via the browser.
What error? Do you have an associated stack trace? Is there anything
in the
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Philamasophical question META-INF
Storing stuff in WEB-INF should be just fine -- I would stick
to WEB-INF instead of META-INF.
According to the Servlet spec, both WEB-INF (SRV.9.5) and META-INF
(SRV.9.6) must be protected
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: Philamasophical question META-INF
Is/Are there any presumably default configuration
options which Tomcat uses to specifically protect
META-INF from client access?
Not that I'm aware of. Since the spec explicity states that
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
It looks like you must have the system property
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
However, that does not clarify for me why it only
happens when I attempt to set the load-on-startup
element in the webapps web.xml file
Don't have a real answer for that, at least not yet (but see below for
From: Tony Fountain [mailto:[EMAIL PROTECTED]
Subject: RE: Class loading issue
There is nothing in the endorsed directory.
Good, that says no confusion is being introduced from there.
As far as the comment regarding the parser class...
I'll admit, you totally lost me :).
By default, a
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Cookies
So is it the case that if browser B has previously set a
cookie at site S (at url uuu), then when B returns to uuu
(say after many days but before the cookie for uuu has
expired), B sends the cookies for uuu in the /first/
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
Subject: Re: Class loading issue
Nevertheless, the official path to provide a custom XML parsing
library is to use the endorsing mechanism. See XML Parsers and J2SE
1.4, XML Parsers and JSE 5 chapters in class-loader-howto.html
That doc
From: Ankit Dangi [mailto:[EMAIL PROTECTED]
Subject: Re: 'wan' application in 5.5.25
In the 'webapps' directory, I created an application
with the name as 'wan'. It works fine with .20, and
doesn't work with .25.
I have no problem running a simple webapp named 'wan' on 5.5.25.
What do
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: Application state in ServletContext
The code cannot directly touch the ServletContext class,
but may do so through an interface (shown below).
public class ApplicationState {
private static MapString,Object stateValues;
public
From: Janeve George [mailto:[EMAIL PROTECTED]
Subject: Exception in thread HttpProcessor[8080][2]
java.lang.NullPointerException
We are having no clue of why this exception is being
frequently thrown.
Don't suppose you'd care to supply some useful information:
1) Tomcat version
2)
From: Grzegorz Borkowski [mailto:[EMAIL PROTECTED]
Subject: Re: What's up with admin application for Tomcat 6?
- lambdaprobe: I have never heard about this, but looks interesting;
unfortuntelly, according to site docs, it works only for
Tomcat 5.x ...
That one line in the doc wasn't
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: mod_jk for OS X PPC
unless Apple's loader now includes x64 emulation on 32-bit PPC
hardware, which I find unlikely.
Uhhh... G5 is a 64-bit processor...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
From: itay sahar [mailto:[EMAIL PROTECTED]
Subject: Re: migration from tomcat 4.1 to 5.5
3. But i still get the error: java.lang.NoSuchMethodError:
javax.servlet.jsp.tagext.TagAttributeInfo
when tring launch the application.
There are three versions of the TagAttributeInfo constructor,
701 - 800 of 7907 matches
Mail list logo