From: Mark Thomas [mailto:[EMAIL PROTECTED]
Subject: Re: Serving static resources outside webapp in Tomcat 5.5.25
Adding the following, as contents.xml, to your webapps
directory should work
?xml version=1.0 encoding=UTF-8?
Context docBase=/app/resources
/Context
I think you mean to
From: Bruce [mailto:[EMAIL PROTECTED]
Subject: Tomcat 6.0.14 startup on Windows
The help says this is possible with the //MS// option.
Can't answer that one.
When Tomcat starts, I get a command window that needs
to be minimized.
You appear to have the Allow service to interact with
From: MassimoH [mailto:[EMAIL PROTECTED]
Subject: Confusing Tomcat Error: SEVERE: Error listenerStart
This was working perfectly until I did an
uinstall/reinstall of Apache Tomcat 6.0.14
along with the new RC2 of NetBeans 6.0.
Try installing an undbundled Tomcat from tomcat.apache.org,
From: Steven Crosley [mailto:[EMAIL PROTECTED]
Subject: Re: servlet-api.jar jsp path is empty
Doesn't look like I have the jsp-api.jar anywhere else. Could there
be another reason why it can't find the class?
Make sure CLASSPATH isn't set.
You can turn on -verbose:class, but that will
From: jnedzel [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat becomes non-response for ~30 seconds
Are there any cases where everything is working at the OS and
network level but Tomcat itself hangs for 30 seconds or so?
What JVM are you using? Older ones have been known to have long
From: Stefan Rainer [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.0.* Docuemntation available?
i am looking for a detailed manual on the configuration
parameters of tomcat 5.0. I can only find one for 5.5
The docs are included in every Tomcat download, and installed as a
webapp. Older
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
Propes, Barry L wrote:
probably that path attribute is wrong, correct? Not needed on 5x?
Yes, it's necessary, since the OP isn't dropping a WAR anywhere, but
installing a context.xml file.
Nope, the path
From: Niki Diulgerov [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
if I remove the Valve directive there is no error...
Valve classname=org.apache.catalina.valves.RemoteAddrValve
allow=192.9.202.231/
It's className, not classname. Case matters.
- Chuck
THIS COMMUNICATION
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: RemoteAddrValve
I'm an idiot.
End of the month - time to reboot :-)
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
From: Randeep Walia [mailto:[EMAIL PROTECTED]
Subject: Parameter Map is null after Ajax Request
Saving Set 3 will demonstrate a problem whereby the servlet
that processes this request has an empty Parameter map
Servlets don't have parameter maps, requests do. Are you by any chance
From: Vimal Kumar [mailto:[EMAIL PROTECTED]
Subject: RE: SSL Session expires every request
Do u know how to configure PHP 5.2.5 on Tomcat 6.0. Please
let me know about it.
Now you've become really annoying - you've hijacked threads, asked the
same question multiple times, and apparently
From: Bárbara Vieira [mailto:[EMAIL PROTECTED]
Subject: RE: SSL Session expires every request
HttpSession wasn't null in the beginning, when I started
my implementation. However, now is null in every request.
How are you retrieving the session? A code sample would be good.
- Chuck
From: Tom Robinson [mailto:[EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError:
org/apache/commons/collections/SequencedHashMap
I think I've installed all the correct jars (mostly via
jpackage and CentOS yum repos)
And therein lies the problem, most likely. Throw away the
From: Manca Davide [mailto:[EMAIL PROTECTED]
Subject: R: [Tomcat 6] jsp on the fly
but it doesn't...
how can I make it works?
Does auto-compilation of JSPs work in a fresh Tomcat download, using the
included JSP examples? If so, then something you have changed in your
current Tomcat
From: David Sánchez [mailto:[EMAIL PROTECTED]
Subject: Infinite loop restarting web app
Any ideas what could have caused this? I erased the jars and
re-uploaded but the problem continues
What's the timestamp on the jep-2.3.0.jar? Is it in the future, perhaps?
- Chuck
THIS
From: Tom Robinson [mailto:[EMAIL PROTECTED]
Subject: can't undeploy webapp with manager
I've pasted my context (ROOT.xml) and server.xml below
with a few more comments on various Host settings
This is certainly an unusual configuration; whether or not that's
contributing to the issue
From: Bárbara Vieira [mailto:[EMAIL PROTECTED]
Subject: RE: SSL Session expires every request
However, when the user is authenticated using a CERT,
all the sessions are null : HttpSession in Servlets and
Session(Internal Session) in my Valve.
The info is interesting, but you didn't answer
From: peri [mailto:[EMAIL PROTECTED]
Subject: I got the following error while running my very
simple JSP onTomcat 4.1. server
class file has wrong version 49.0, should be 48.0
You appear to have multiple JRE/JDKs installed on your system. The
above message would be displayed by a 1.4 JVM
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError:
org/apache/commons/collections/SequencedHashMap
Common/lib is for internal use and wouldnt be expected to
demand load the classes you require as is the case for the
webapp WEB-INF
From: Tom Robinson [mailto:[EMAIL PROTECTED]
Subject: Re: can't undeploy webapp with manager
I want a separate Engine.
I'm still curious: why?
There is a need for more than one virtual host.
Multiple Host elements are allowed inside a single Engine.
The ROOT.xml stays and redeploys the
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError:
org/apache/commons/collections/SequencedHashMap
Directory of %CATALINA_HOME%\common\lib
06/15/2004 08:29p 26,202 commons-logging-api.jar
Directory of
From: Tom Robinson [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.NoClassDefFoundError:
org/apache/commons/collections/SequencedHashMap
The WEB-INF/lib location works for my specific app
and gives it independence from the admin app if that's
using a different version. Placing it in
From: teoh [mailto:[EMAIL PROTECTED]
Subject: memory required to run webapp without outofmemory
is just by looking at tomcat manager, we can find out maximum memory
required to run webapp without out of memory?
Not really - it's much more complicated. The JVM heap holds objects of
all
From: Breno Jacinto [mailto:[EMAIL PROTECTED]
Subject: Tomcat serving static pages
I wonder if today, with Tomcat's maturity, is there any need to
integrate it with Apache JK modules just for serving static content?
My opinion: definitely not. There are reasons you might want to run
httpd
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: memory required to run webapp without outofmemory
first I would enable your PermGen memory collector
http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-p
ermgen-outofmemoryerror
Unfortunately, the entire premise of
From: Александър Шопов [mailto:[EMAIL PROTECTED]
Subject: Yet again a problem with POSTs and encodings
My problem is that I am trying to POST non ASCII data to
tomcat, but it gets recoded in ISO8859-1 interpretation
of UTF-8 byte sequence.
Have you tried implementing a filter to set the
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
Yes, and also in expanded .war files. That's where Tomcat will look for
the
From: Breno Jacinto [mailto:[EMAIL PROTECTED]
Subject: Re: Hundreds of Instances
They get very, very slow because Linux starts to swap like
crazy, after the Tomcat process eats almost 100% of RAM.
If you're encountering significant swapping with your current heap and
RAM sizes, you might
From: Breno Jacinto [mailto:[EMAIL PROTECTED]
Subject: Re: Hundreds of Instances
when does tomcat creates a new thread, and
when and how does it get deallocated?
This is controlled by the maxThreads, maxSpareThreads, and
minSpareThreads attributes of Connector elements:
From: primus [mailto:[EMAIL PROTECTED]
Subject: Preventing War files from redeploying
Is it possible to have tomcat not redeploy the last
war and just start up with the existing files?
Not redeploying from the .war is Tomcat's normal behavior, at least for
the 5.5 and 6.0 versions. Since
From: Tim [mailto:[EMAIL PROTECTED]
Subject: How to config tomcat 5.5 to display project in sub
directory in url
I tried to write context:
Context docBase=war path=/aa/projectName reloadable=true/
in \conf\Catalina\localhost\projectName.xml but doesn't help.
1) Take out the path
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: How to config tomcat 5.5 to display project in
sub directoryin url
snip
Can I nominate this as a FAQ?
snip
Can I nominate this as a FAQ answer?
Fine by me. Note that the above information actually is in the doc for
Context
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: How to config tomcat 5.5 to display project in
sub directoryinurl
Recently, I have seen that folks are referring to the Wiki. Do we have
redundant sources of information out there?
Numerous, especially if you include the
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: How to change docroot?
How do I change the docroot in Tomcat?
I'm currently serving from
/usr/local/apache-tomcat-5.5.25/webapps/ROOT
and I want to be serving from /var/www/html.
Delete the webapps/ROOT directory and create the file
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat.conf JAVA_OPTS
c. wrote:
I'm wondering what the JAVA_OPTS -Xminf0.1 and
-Xmaxf0.3 are. Anyone know?
MinHeapFreeRatio and MaxHeapFreeRatio (divided by 100).
I'd recommend not setting these unless you really know what's
From: primus [mailto:[EMAIL PROTECTED]
Subject: RE: Preventing War files from redeploying
It is a clustered environment, the war is dropped into a
deployment folder on the main node which distributed the war
to the vhost folder on both servers, the war then expands.
I'm not familiar with
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 4 Successfully Authentication Logout
Is this really NOT possible?!
I think it must be possible, since Tomcat's admin webapp uses form-based
login and implements a Log Out button that returns the user to the login
page.
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B.
Subject: Re: How to Deploy WAR using a sub-context path?
I see that there is a lock on it by the Tomcat process.
You need to set the antiJARLocking and antiResourceLocking attributes of
the Context element to true. This should only
From: Dmitry S. Kravchenko [mailto:[EMAIL PROTECTED]
Subject: How to enable logging correctly in Tomcat 5.5?
I have tried to place logger directive within host tag within
server.xml file.
Logger elements are not used in Tomcat 5.5 and above, as documented
here:
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Subject: HTTP 1.1 Not Supported
2. The pocket pc app tries to obtain a Response object
from the request
3. On the line of code that tries to obtain a response
I get a server error
Are you referring to the app running on the Pocket PC or the
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Subject: Re: HTTP 1.1 Not Supported
And what does the access log (or Wireshark trace) show as
being sent by the app on the Pocket PC?
Using Ethereal I found that Tomcat is sending this error back to my
Pocket PC application:
Not what I
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
Context debug=99 reloadable=true crossContext=true
Logger className=org.apache.catalina.logger.FileLogger
directory=C:\cmllpz\prjx\java\GWB\logs
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Subject: Re: HTTP 1.1 Not Supported
Here is the exact String exported from the packet:
POST /test/sync/upload.jsp?username=test1 HTTP/1.1
Content-Type: text/xml
Content-Length: 4005
Connection: Keep-Alive
Expect: 100-continue
Host:
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Subject: RE: HTTP 1.1 Not Supported
if the PPC won't accept the Coyote Connector, I don't know
what path you can take to rectify that.
The Pocket PC is not rejecting the response, it's Tomcat that's
rejecting the Pocket PC request and
From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
Subject: RE: Class not found exception help in 6.0.10?
once a week or so we'll get a Class Not Found exception
SEVERE: Exception starting filter security
java.lang.ClassNotFoundException:
com.emn8.console.common.SecurityFilter
at
From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
Subject: RE: Class not found exception help in 6.0.10?
Yes, a webapp initialization should occur when Tomcat
is started / restarted
So the problem you see once a week occurs only when you start Tomcat?
How do you resolve the situation - by
From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
Subject: Class not found exception help in 6.0.10?
We drop our simple webapp jar (just one) in
$CATALINA_HOME/lib.
First question: why are you putting a webapp jar in Tomcat's lib
directory? It belongs in the webapp's WEB-INF/lib.
once a
From: Bob Riaz [mailto:[EMAIL PROTECTED]
Subject: Request parameters incorrect
The parameters we find in this string come from 3
different pages! We're baffled!!
This is pretty much always a problem with incorrect scoping or
synchronization in the webapp. For example, code processing a
From: RuiXian BAO [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat.conf JAVA_OPTS
If so, why the -Xms and -Xmx were invented in the first place?
These date from the first JVMs (more than 10 years ago), when memory was
expensive, and garbage collection pause time was a function of the size
of
From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
Subject: RE: Class not found exception help in 6.0.10?
So since CATALINA_HOME/lib is a parent repository (and the
code is definitely there), and since the problem does not
manifest itself duringinit, this exception in the logs must
not be
From: Craig Dunn [mailto:[EMAIL PROTECTED]
Subject: Null datasource trying to connect to JNDI connection.
In my server.xml:
The usual comment: don't put Context elements in server.xml; doc
reference:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
From: eladm [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying to a sub context
I would like the users to be able to access the media
context with the url : http:domain/images/media/.
That's not how you described it in your earlier message, but
nevertheless...
As has been discussed in this
From: Mark Shifman [mailto:[EMAIL PROTECTED]
Subject: Re: Null datasource trying to connect to JNDI connection.
What would you do if you wanted to add a different version of
DBCP, ie Commons DBCP 1.3-SNAPSHOT?
Would you put the jar in $CATALINA_HOME/lib and then use the factory
From: Stefano Martines [mailto:[EMAIL PROTECTED]
Subject: Re: How to check my current JVM settings
1) but how can I see what is the current setting?
2) where should I set the CATALINA_OPTS , on catalina.50.bat ?
3) What is the syntax of defining JVM paramters?
You can't use CATALINA_OPTS
From: Stefano Martines [mailto:[EMAIL PROTECTED]
Subject: Re: How to check my current JVM settings
is tomcat 5.0.28 or 5.0.30 no more supported?
Then we have to switch to tomcat 5.5, right?
No, you don't have to. It's just that there is no more development or
bug fixing on the 5.0 leg.
From: news [mailto:[EMAIL PROTECTED] On Behalf Of galevsky
Subject: [Windows service] how to set service name
I would like to know if it is possible to set the service
name in parameter to NSIS installer.
Use the service.bat script; the optional second argument is the desired
service
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Tomcat Filter Ordering
Is there a way to specify in tomcat the order the filters
must be placed in the filter chain.
Read the Servlet spec (section 6.2.4):
The order the container uses in building the chain of filters to be
applied
From: Thomas Okken [mailto:[EMAIL PROTECTED]
Subject: Re: DataSource created but not initialized = Cannot
create JDBCdriver of class '' for connect URL 'null'
There is a warning about the docBase attribute (strange; I
copied that text verbatim from the Tomcat FAQ); if I remove
that
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
But what I mean is, how do I know what the root directory
is for web serving purposes?
(Be careful of the term root. Tomcat requires that the default webapp
name for a given Host be named ROOT,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: discrepancy for tomcat connector file names for win32
Is there a discrepancy at this URL
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk
-1.2.25/
for downloading the binaries for win32.
Yes, the files are
From: kkus [mailto:[EMAIL PROTECTED]
Subject: Re: Value can't be changed in bean extended from
AbstractControllerof Spring
But Java can handle hot-swapping for normal Java application
automatically, so still can't understand why Tomcant can't work
this way.
Your assumption is incorrect.
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
I guess the thing is that I don't know what a
PersistentManager is or if I need it.
Again, to quote from the doc:
In addition to the usual operations of creating and deleting sessions,
a
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
Now I'm getting this, No Store configured, persistence
disabled,
To quote from the doc:
In order to successfully use a PersistentManager, you must nest inside
it a Store element, as described
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
OK, I think, this time I did follow the FM ;-) at:
But perhaps not all of it...
but when I declared a log4j.properties file inside of a webapp
no log file is created
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: Configuring Tomcat on Fedora Core 8
Dec 7, 2007 2:07:12 PM
org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 20 column 4: The element
type Context
must be terminated by the matching end-tag
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: Configuring Tomcat on Fedora Core 8
display it here so everyone can see it
Everyone already has - look in the original message. If you've lost
that, look in the archives.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: Configuring Tomcat on Fedora Core 8
display contents of jira-server.xml
The OP already did. Read the whole message.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
So how do I know by looking at the directory structure of
Jira what my docBase and path should be in jira.xml?
You were referring to jira-server.xml, not jira.xml; which is it?
Normally, you do
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
So my Context line looks like this now: Context
docBase=/var/www/html/jira/src/webapp/ debug=0
That's probably correct, but without knowing your exact JIRA directory
structure, I can't say for
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
Arg. Now it's broken again. No 404 pages, just blankness.
I suspect your docBase attribute for your Context element is still not
correct. It's unlikely that the application jars and classes are
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
I'm installing Jira from source to develop it, so I'm not
using the precompiled version that doesn't include the
src/ directory.
I still wonder if the src directory will contain the jars and
From: linuxChique [mailto:[EMAIL PROTECTED]
Subject: RE: Configuring Tomcat on Fedora Core 8
So what is the appBase in server.xml, and why can't I just
make it work?
The appBase attribute identifies the standard directory for all typical
deployments, with the default value of webapps.
From: John Caron [mailto:[EMAIL PROTECTED]
Subject: Is compress working? No Content-Encoding header
I tried to enable compression in Tomcat 6.0.10:
I just tried the same thing in 6.0.14 with no problems, retrieving the
same page that you tried.
Connector config:
Connector port=8080
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: Specify context path when context.xml is in META-INF
Is there a way, when you have your context.xml in META-INF rather than
specifying the Context element in server.xml or elsewhere, to
customize the context path?
No - the path is
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: See command-line output with startup errors in Windows
How can I view the output in the second command-line window
Simply use catalina.bat run instead of startup.bat, and comment out
the @echo off in the top line.
- Chuck
THIS
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: RE: Specify context path when context.xml is in META-INF
Based on what I've read, I've learned that the least ideal
approach is to place the context information in server.xml.
Correct; doing so requires a Tomcat restart to change
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: RE: See command-line output with startup errors in Windows
However, if I comment out @echo off as you
suggested, I get output where every line in
the batch file seems to be executing on its own
line, executing as a command - why
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Tomcat threads
What's the value of Initial Number of Threads created on
Tomcat startup?
Whatever you configured on your Connector elements:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
From: David kerber [mailto:[EMAIL PROTECTED]
Subject: Help with java Lists
I need to have some kind of list or collection that I can
search quickly for a specific entry, and then start stepping
through the list item by item from that point.
Try java.util.TreeMap; the subMap() and
From: Matthew Thomas Broadhead [mailto:[EMAIL PROTECTED]
Subject: server mapping behaviour when directory structure
mirrors mappings
servlet-mapping
servlet-nameSales/servlet-name
url-pattern/sales/url-pattern
/servlet-mapping
If you look at the servlet spec (section 11.2),
From: Carlo Montanari [mailto:[EMAIL PROTECTED]
Subject: JkMount changing webapp context
In other words, when the users ask for
http://www.myapphost.tld/, they should see the
content of http://localhost:8009/myapp/
For a Tomcat-only solution, define as many Host elements in server.xml
From: Tony Anecito [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5.25 and jvm version support
What is the latest version of the Sun jvm that is
supported by Tomcat 5.5.25?
5.5.25 seems to run fine on the latest JRE/JDK 6 Update 3.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: [Axis2] FileNotFoundException (SESSIONS.ser) during
tomcat shutdown
(Please don't cross-post to multiple lists; that makes following a
thread nearly impossible.)
Some more details. I don't know whether this is a Tomcat or Axis2
From: Md. Jahid Shohel [mailto:[EMAIL PROTECTED]
Subject: Re: Location of API
Thanks, actually I saw that, but I want to use that from inside
tomcat. So, I need to know from where tomcat is using that.
I don't believe the standard distribution includes PureTLS (due to
previous export
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
but the problem seems to be that the axis2 directory does
not exist under $CATALINA_HOME/work/Catalina/localhost.
Tomcat normally creates a directory for each
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
For some obscure reason the directory is deleted (!!!) and the same
problem occurs.
Sounds like you might have a somewhat malevolant webapp...
Does your
From: lightbulb432 [mailto:[EMAIL PROTECTED]
Subject: What gets reloaded on Tomcat automatic reload
I ask because, surprisingly, a static variable kept its state
across the automatic reload.
Where is the class file for the static variable located? All classes in
the webapp directory (or
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
The serialised session files are kept in the temp folder
No, they're kept in Tomcat's work directory, which is normally (and
definitely in Michele's case)
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
I've tried with a clean tomcat 6.0.13 setup where only axis2 1.3 was
deployed (tomcat 5.5.20 behaves the same) - no web services were
deployed in axis2.
From: hezjing [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5 OutOfMemoryError (PermGen space)
After some times, my Tomcat will stop responding and the stdout log
says OutOfMemoryError!
Check the FAQ:
http://wiki.apache.org/tomcat/FAQ/Memory
Especially this link from the above:
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
BTW I've set workDir in $CATALINA_HOME/conf/server.xml (inside the
Host section) to point to a temp folder in my home.
Don't change the workDir attribute
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
Where do I find the Context element related to axis2 (which
is a servlet)?
First you said axis2 is a webapp, now you say it's a servlet; I suspect
the
From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser)
during tomcat shutdown
The folder is created at tomcat startup but when I stop tomcat
it still complains because it doesn't find the file SESSIONS.ser
(i.e. the same error
From: Shaw, Mike [mailto:[EMAIL PROTECTED]
Subject: User roles
Our Security group wants for me to change the Tomcat 5
default password.
There's no such thing as a password for Tomcat itself. Various webapps
deployed under Tomcat may have security constraints requiring certain
roles, but
From: Bill Clarke-Fields [mailto:[EMAIL PROTECTED]
Subject: Tomcat Process Memory Leak?
Any ideas about what could be causing this? I realize it
could be an application-related leak
Not just could be, it almost definitely is, since this behavior isn't
seen normally.
but in that case
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ljuba Veselinova
Subject: Re: Tomcat does not stay on as a windows service
However, after all this, I am still getting info about two instances
of java.exe listening on several ports, one of which is 8005.
You have one or more
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: directory listings per webapp
Context path=/foo docBase=/dir/foo debug=0 privileged=false
/Context
Broken record: take out the path attribute; it's not allowed (but it's
not this problem).
servlet-mapping
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: Re: directory listings per webapp
I made those two changes - but I still don't get any directory listing
What do you get?
Did you restart Tomcat (or insure that the webapp was otherwise
redeployed)?
What version of Tomcat are you using?
From: Dan Armbrust [mailto:[EMAIL PROTECTED]
Subject: Re: directory listings per webapp
Thanks a lot. I'll see if I can get access to
http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer
to this question - since the current answer is pretty poor.
In what way? It
From: Sebastian Göttschkes
[mailto:[EMAIL PROTECTED]
Subject: Session Management between instances
So, all I need is to tell Tomcat to forget every session when
restarting.
You didn't bother to tell us what version of Tomcat you're using, but if it's a
reasonably recent one, look in
901 - 1000 of 7907 matches
Mail list logo