Delete the works folder (or backup it). then start tomcat.
If the problem still exists the there must be an error in your jsp files
stored in wepapps folder...
Cheers,
gunnar
-Ursprüngliche Nachricht-
Von: Tomcat Cat [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Juli 2004 04:46
Mike Curwen wrote:
host ...
context docBase=/path/to/web-app/root/
path=/foo-app ... /
context docBase=/some/other/path path=/images / /host
I think this syntax would confuse Tomcat. I thought only
one context
tag is allowed ...? I could be
hi tomcat-users
we use a tomcat-based application and it runs well and fast. but from
time to time (this can be some hours but also some days) the application
hangs.
if i have a look on the server, it's absolutely not busy (this would be
surprising because only about 10 people use the
If the log files become full does it create problem with the application?
Like session parameters coming as null or request attributes coming as null
even though they exist there in the session and request respectively?
TIA,
-Jitesh
Hi,
we have Tomcat5 running and are logging the accesses via the AccessLogValve.
To keep the size of the logfile small, I´d like to exclude the images from
being logged. All images are in one directory.
Is there a way to realize that?
Thanks in Advance,
Jörg Fröber
I tried to use table with CHARACTER SET UTF8, but it didn't change anything :(
Any other suggestions?
-Original Message-
From: Koon Yue Lam [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 9:50 PM
To: Tomcat Users List
Subject: Re: Retrieveing Unicode stuff from MySQL 4.1.x ?
Ivan Jouikov wrote:
I tried to use table with CHARACTER SET UTF8, but it didn't change anything :(
Any other suggestions?
I'm using a line like the one below to connect to the MySQL DB and it is
working quite well here:
I tried using those URL parameters. Doesn't change anything.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 2:30 AM
To: Tomcat Users List
Subject: Re: Retrieveing Unicode stuff from MySQL 4.1.x ?
Ivan Jouikov wrote:
I tried
Howdy,
Could someone please tell me why could this happen?
There is a property file props including a key-value pair logfiledir=
c:\hwebgod , execute :
String logdir = props.getProperty(c:\logfiledir);
Then string logdir will be c:logfiledir ( the char \ is missing ! )
Any hint will be
I don't think so.
-Tim
Jitesh Sinha wrote:
If the log files become full does it create problem with the application?
Like session parameters coming as null or request attributes coming as null
even though they exist there in the session and request respectively?
You need \\
-Tim
Chris wrote:
Howdy,
Could someone please tell me why could this happen?
There is a property file props including a key-value pair logfiledir=
c:\hwebgod , execute :
String logdir = props.getProperty(c:\logfiledir);
Then string logdir will be c:logfiledir ( the char \ is missing
Howdy,
I am developing webapp using TC4.1.27 , Eclipse 3.0 and Lomboz 3.0,
In one of my webapp's bean class, I want to get a resource file by :
URL u = t.getClass().getResource(/Application.properties);
my bean class put to WEB-INF\classes\somepackage\, and the webapp
was deployed by an xml
Hi all,
I am running an app. with several threads running in the
background; these threads are simply loading data into the servlet
context, and writing files out streams.
A thread updating 5 parameters in the servlet context
A thread writing each of these parameters to a new file
Hi,
If you're out of disk space, stuff will break. I'm not sure what, and
I'm not sure how the Tomcat Loggers will behave, but definitely things
will break as Tomcat and the JVM need temp space.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Jitesh Sinha
Hi,
Yes, customize/extend the Valve to ignore requests for certain file types. IMHO, not
that good an idea, since you will be missing out on one of the main points of access
logging, which is determining the level and quantity of traffic on your site. Disk
space is cheap, as are log file
Hi,
Because Log is not Serializable, you can't put it in the session. So
making it transient is fine. I also saw your reasoning for making it
dynamic rather than static.
Tomcat will save and restore your sessions across server restarts by
default. That includes session attributes that are
Hi,
Use a Profiler to see what objects keep references to data you think
should be garbage-collected.
I'd also suggest scrapping most your extensive memory tuning settings
for now, unless you're absolutely sure they're perfect.
Yoav Shapira
Millennium Research Informatics
-Original
Hi,
Does it happen if you run tomcat stand-alone, i.e. without the connector
and Apache in front?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Burkard
Sent: Wednesday, July 14, 2004 3:25 AM
To: [EMAIL
Hi,
Umm, maybe ;) But more likely, do this:
- Send a SIGQUIT to the tomcat process so that it generates a thread dump.
- Kill the process using the kill command.
- Inspect the thread dump to look for deadlocks, etc.
- Back up your logs
- Start tomcat.
Yoav Shapira
Millennium Research
Hi,
I have migrated an existing application from tomcat 3.3 to tomcat 4.0
and 5.0. When I started the tomcat, I was thrown a lot of errors related
to the tags in the tld file.
I corrected those errors and finally got this error thrown: (Pasted
below)
Stack Trace --
HTTP Status 500 -
Hi,
See the packageless links at
http://jakarta.apache.org/tomcat/faq/classnotfound.html.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Arnab Chakravarty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 9:34 AM
To: Tomcat Users List
Subject: Problem in
what is 't' ?
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 6:24 AM
To: Tomcat Users List
Subject: why only put resource file to $TC$\shared\classes,
did TC found it?
Howdy,
I am developing webapp using TC4.1.27 , Eclipse 3.0 and
Hi,
The link was helpful and did get the much awaited login page. Now there
are some other problems with the rendering of jsp pages, but yes, the
problem did resolve.
Thanks,
Arnab
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 7:12 PM
Hi.,
I'm trying to configure my JDBC setup under Global JNDI Resources in server.xml.It
is not working in while accessing my web-app.
But i can able to do it under my web-app context.
Please advise me resolve this one.
Thanks.,
MALAI
Ok so how do I find out definitively which of the stuffs is going to
break?
Actually in my application sometimes some parameter becomes null which
creates problems with the flow of the application
Sometimes user is not able to open the application itself.we restart the
web server
Hi,
Ok so how do I find out definitively which of the stuffs is going to
break?
You can't. It'll be the first thing executed that requires disk space
after the disk is full.
You're thinking about this the wrong way: you must prevent the disk from
becoming full. Either buy a bigger
Could you rotate the log files
Like, on a daily basis, rename whatever.log to
yesterdaysdateWhatever.log? I assume that Tomcate would then create a
new whatever.log when it was needed.
You'd still have to watch your diskspace of course. But you could move
off or delete logs that were old.
On Wed, Jul 14, 2004 at 08:23:10PM +0530, Jitesh Sinha wrote:
: Ok so how do I find out definitively which of the stuffs is going to
: break?
: Actually in my application sometimes some parameter becomes null which
: creates problems with the flow of the application
: Sometimes user is
The other thing said was 'restart the web server which clears the logs'
huh?
Who here has a web server that keeps logs in memory or entirely in some
type of swap space that is cleared on a server restart? (do you mean a
tomcat restart, or a server hardware reboot ?)
I'm thinking there might
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivan Jouikov wrote:
| I tried using those URL parameters. Doesn't change anything.
|
|
|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, July 14, 2004 2:30 AM
|To: Tomcat Users List
|Subject: Re:
Sorry for not enough info.
what is 't' ?
t is a Javabeans (in package somepackage) which uses the resource file
Application.properties
- Original Message -
From: Mike Curwen [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 10:18 PM
Subject: RE:
Hello,
I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with
IIS 6.
The service will start and stop right away.
Looking into the event viewer, the log indicated that Tomcat failed to
start.
Could anyone tell me what's wrong? We have the same version of Tomcat
running
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for file: file name here
Description: org.apache.cocoon.ProcessingException: Unable
I have read the Manager App HOW-TO at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
So, I'm accessing the following URL just like the example shows:
https://www.(mydomain).com/manager/sessions?path=/ristmain
I'm trying to interpret these results:
OK - Session information
Hello.
I am used to using Apache Httpd in front of Tomcat to create Redirects for
images. This way, I can re-route all calls to *.jpg to my image server.
But now I don't have Apache Httpd installed. Can I do the same with Tomcat?
This is the setup in Httpd:
VirtualHost www.mysite.com
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for
Hi
Thanks for the reply.
I had seen that. But what is the error number (or whatever) that
generates the
Internal Error Page with the type of errors that I have given? Exactly
what
do I write in the error-code field?
TIA
Hugh F-R
Dr Hugh S. Field-Richards
QinetiQ, St Andrew's Road, Malvern,
Probably 500
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
-Tim
Hugh Field-Richards wrote:
Hi
Thanks for the reply.
I had seen that. But what is the error number (or whatever) that
generates the
Internal Error Page with the type of errors that I have given? Exactly what
do I write in the
Hi,
how can I reduce the amount of processes started by the tomcat.
I tried to change the min_spare* options of the 2 Connectors
in the standard config - so I got 29 processes instead of 33.
How can I reduce the large amount of processes?
I attached the server.xml to this mail - so you can
Hi,
how can I reduce the amount of processes started by the tomcat.
I tried to change the min_spare* options of the 2 Connectors in the standard
config - so I got 29 processes instead of 33.
How can I reduce the large amount of processes?
I attached the server.xml to this mail - so you can have
What version of Win2003 sever are you running, Standard, Web Edition?
Web edition is made only to serve web pages. Some software won't even
LOAD on it.
Jeff Birt
Electronics Engineer
Integrated Systems Facility
University of Missouri - Rolla
573.341.6058
-Original Message-
From: Bui,
Stephen,
If I understand what your asking, you are looking at statistics generated by
Tomcat that tells you how many *active* sessions are still laying around
inside the server. But the first row tells you about sessions that have been
alive between 30 and 40 minutes. You logged in but your
What version of Linux ?
older kernels report each java thread as a separate process.
-Original Message-
From: Matthias Leonhardt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14, 2004 12:18 PM
To: [EMAIL PROTECTED]
Subject: standard install produces 33 processes/forks!
Hi,
Yoav,
Wow, had not considered that. I'm going to sort of say this back to be
sure I understand though :)
So if we stop Tomcat then my session, with any stored attributes that
contain an ActionForm, will be serialized to persistent storage
(disk). Upon restart the sesson and its attributes are
What? I can only find out how many sessions have been active for 30 to
40 minutes and 120 to 130 minutes? That doesn't seem to make sense.
I understand if Tomcat doesn't want to update the stats too frequently,
but what about stats on sessions logged in more than 40 minutes and less
than 2
Hi,
No, you have to do it yourself, and your filter is a good way to go, so
I'd suggest sticking with it. Of course you have at least one other
good option, which is to just specify the image server name in the img
HTML tag ;)
Yoav Shapira
Millennium Research Informatics
-Original
Hi,
I just wanted to confirm your understanding is correct. It's
unfortunate to discover this now, from your perspective, since you
already have many classes affected by this, but then again better late
than never ;)
I tend to agree about throwing AOP into a production system at this
point in
Stephen,
I do not know if my interpretation of how TomCat tracks sessions is correct.
Normally, I look at the number of sessions as listed on the /manager/html
page. But my interpretation could be *completely wrong...*
Bob
On Wednesday 14 July 2004 01:57 pm, Stephen Charles Huey wrote:
Hi Mike,
Linux ipx10388 2.4.20-4GB #1 Mon Jun 28 16:21:04 UTC 2004 i686 unknown
unknown GNU/Linux
I think, these are separate processes - maybe I'm wrong?
regards,
Matthias
32115 ?S 0:07 /usr/lib/java/bin/java
-Djava.endorsed.dirs=/opt/jakarta/tomcat/common/endorsed -classpath
I have integrate my web application with Active Directory and the JNDIRealm working
fine.
However I need to create a workflow that detects when the Active Directory user must
change their password at next logon is set and force them through a workflow to do
so. The problem I have is there
NOT a direct answer to your question...
The IBM Developer Works site has a wonderful set of tutorials on GC and Java.
They can be found at
http://www-106.ibm.com/developerworks/views/java/articles.jsp?sort_order=descexpand=sort_by=Dateshow_abstract=trueview_by=Searchsearch_by=performance%3A
On Wed, Jul 14, 2004 at 08:49:10PM +0200, Matthias Leonhardt wrote:
: Linux ipx10388 2.4.20-4GB #1 Mon Jun 28 16:21:04 UTC 2004 i686 unknown
: unknown GNU/Linux
:
: I think, these are separate processes - maybe I'm wrong?
No; they're threads of a single process.
This is described in the
I have a class that implements Serializable. This class is put in a web
app deployed under TC. when the webapp is accessed via a browser, an
instance of this class is placed in the web session by the webapp.
If an active session contains an instance of this class and if TC is
restarted, when
Hi,
TC persists the session, yes, but that doesn't explain a
ClassNotFoundException. Is the CNFE in your own code? If so post the
relevant chunk.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 14,
The error is inside the webapp. The error message is following:
20040714 01:43:46 ERROR - Exception Message
[java.lang.NoClassDefFoundError
at com.xxx.Manager.getUser(Manager.java:525)
Line 525 in Manager.java has the following code:
User user = new User();
The class User is a java bean
wha The actual limitations are max number of cpu's, disk size and
memory, not applications.
I have no issues with any type of program not loading on a web edition
install of 2k3 over one of Standard or Enterprise 2k3.
The error log that Tomcat generates is going to provide more
information
I would like to override tomcats' error messages for
all webapps. I added the following to conf/web.xml:
error-page
error-code503/error-code
location/error/error.jsp/location
/error-page
error-page
error-code404/error-code
There is mc4j, however I have not gotten it to work properly.
-Original Message-
From: Erik Earle [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 1:23 PM
To: [EMAIL PROTECTED]
Subject: JMX tools survey
I'm just curious: what tools folks are using for monitoring / managing
Hi all,
I need the switch parameters that can be passed to the win32 installer of
tomcat 5 in order to silent install it.
At now I've found the following:
- /S enable the silent installation
- /d which indicates the destination installation folder
any suggestion?
TIA
Alexio
I'm having trouble using a servlet as a welcome file in Tomcat 5. I
haven't found any definitive documentation on how to do it (The Servlet
2.4 spec doesn't even seem to be clear), but I've tried the following
(taken from:
http://www.onjava.com/pub/a/onjava/2004/02/11/jspcookbook.html):
|
Web Edition will not run any 'Enterprise' Applications (from MS at
least). I've tried SQL 2000 with no luck.
Jeff Birt
Electronics Engineer
Integrated Systems Facility
University of Missouri - Rolla
573.341.6058
-Original Message-
From: Ty Mercer [mailto:[EMAIL PROTECTED]
Sent:
On Wed, Jul 14, 2004 at 02:22:29PM -0700, K.C. Baltz wrote:
: welcome-file-list
:welcome-fileMyServlet/welcome-file
:welcome-filedefault.jsp/welcome-file
:/welcome-file-list|
:
: The names were changed to match my particular needs, but the
: functionality should have
Yes, I tried that first actually, but had no success with it either.
K.C.
QM wrote:
On Wed, Jul 14, 2004 at 02:22:29PM -0700, K.C. Baltz wrote:
: welcome-file-list
:welcome-fileMyServlet/welcome-file
:welcome-filedefault.jsp/welcome-file
:/welcome-file-list|
:
: The names
Hi
I don't know if this list is the right one, but I'd like to find some
information about my session problem :
I'm using tomcat 5.0.27 on win2000, j2sdk-1.4.2_04
My problem is that I have a jsp including custom tags, everything is fine
when the jsp shows in IE6.
But when I want to edit this
On Wednesday 14 July 2004 06:02 pm, dom wrote:
I'm using tomcat 5.0.27 on win2000, j2sdk-1.4.2_04
My problem is that I have a jsp including custom tags, everything is fine
when the jsp shows in IE6.
But when I want to edit this page with MS-Word 2003 using the IE edit
button, Word reloads the
I'd guess that word was acting as another browser so new cookies and all that so there
isnt really any way around it unless you recode your application to store session
information elsewhere and perhaps access it using the host IP as a key or something
like that.
-Original Message-
Are there any tools that can Administer multiple tomcat instances?
I found this tool:
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview
But it is very basic and does not allow editing of
the server.xml.
Raj
Hello again.
I push myapp.war file to my staging server. Then I use the deploy
function in the manager app.
http://server/manager/deploy?war=jar:file:/wars/myapp/1.3/myapp.war!/update=true
Most of the app gets reloaded, which is great. But some things do not.
Like anything in the
Yoav - thanks for the confirmation. Its not that bad - 1) We do not
restart very often; 2) I've been wanting to clean up the logging in this
system for a while. This will provide that opportunity :) Peace -
Richard
Shapira, Yoav mailto:[EMAIL PROTECTED] wrote:
Hi,
I just wanted to confirm your
The error is inside the webapp. The error message is following:
20040714 01:43:46 ERROR - Exception Message
[java.lang.NoClassDefFoundError
at com.xxx.Manager.getUser(Manager.java:525)
Line 525 in Manager.java has the following code:
User user = new User();
The class User is a java bean
Yes, I can't agree with this more
u need to do sdome testing, use JUnit if u can
But I would prefer not only use String.equals, but actually print out
the HEX value of the string
u need to print out the HEX value in:
Just before the JSP form start submit
when the action start process the form
just
Hello!
Can anybody tell me how to run Tomcat 5.0.25 as a SERVICE on
windows 2000 server?
Please in step by step explanation...
Thanks a lot!!!
-Original Message-
From: Birt, Jeffrey [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 5:28 AM
To: Tomcat Users List
Subject: RE:
enterprise apps weren't being referred to.
But since you mention it, guess i'll try to install sql when i get to
the office in the morning
On Wed, 14 Jul 2004 16:28:18 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote:
Web Edition will not run any 'Enterprise' Applications (from MS at
least). I've
tomcat 5 has an installer option to install as a service, although it
only sets it to auto instead of manual when you tick it.
From the docs located at this page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
Introduction
Windows
Installing Tomcat on Windows can be done easily
1. Download Tomcat
2. Unzip the archive to a directory
3. Set CATALINA_HOME
4. Open a command prompt and type...
%CATALINA_HOME%\bin\service.bat [install | remove]
5. Open the services applet from the admin tools
6. Start the Apache Tomcat service
Note that I've had to add
We are deploying a servlet front end to an existing application. When
the application is installed, the user picks some parameters, like the
install directory, that aren't known to us when we make the .WAR file we
deploy from.
However, our servlet needs to know this, and it needs to know it
76 matches
Mail list logo