-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
How much memory is available on the computer when it throws the
OutOfMemoryError ?
I am sorry to say, but this sounds like a memory leak in your
application, since the gc should collect loose memory, and not use all
of it, unless it needs to. You
Hello,
I have the following problem: Tomcat 5.5 will not reload exploded
applications when a class is recompiled. Is there any modification to be
applied to Tomcat. Note that my autodeploy attribute is set to true(host)
and that my reloadable attribute is also set to true(context).
Any clue very
I would doubt it's a leak in our application since it runs since 15
month on 32bit java without having an OutOfMemory ever. The services
are started with following script(s):
more startMessagingAndFlirtContactServiceBundle.sh
#!/bin/bash
PATH=/usr/local/java/bin:$PATH
[ -n $JACORB ] ||
Hi All,
I am trying to determine which will deliver better performance;
1) Tomcat's Native HTTP server
2) IIS or Apache with JK2 connectors
I have read in one book (Professional Apache Tomcat 5 SE - Chapter 11) the
following info;
Performance-Tomcat is inherently slower than a Web server.
hi,
I'm using tomcat-4.1.29 on windows 2000
I'm trying to change the server.xml to add logging for a context.
when i add a logger to the context, the war file for the context is not
getting extracted.
if i remove this context tag from server.xml the war gets extracted
successfully so there's no
Just because you get an OOM error doesn't mean its a heap issue. See the faq
for details:
http://tomcat.apache.org/faq/memory.html#why
-Tim
Leon Rosenberg wrote:
Hi,
sorry for OT, but since there is so much combined Java experience
here, it's the fastest way of getting an answer.
We have
On 1/17/06, Tim Funk [EMAIL PROTECTED] wrote:
Just because you get an OOM error doesn't mean its a heap issue. See the faq
for details:
http://tomcat.apache.org/faq/memory.html#why
-Tim
Sure, but when ps shows virtual memory usage of 34 GB, I assume it's a
memory issue, isn't it?
P.S.
hi,
I'm using tomcat-4.1.29 on windows 2000
I'm trying to change the server.xml to add logging for a context.
when i add a logger to the context, the war file for the context is not
getting extracted.
if i remove this context tag from server.xml the war gets extracted
successfully so there's no
Sure, but when ps shows virtual memory usage of 34 GB, I assume it's a
memory issue, isn't it?
P.S. (There is no tomcat involed :-) )
Leon Rosenberg wrote:
Hi,
sorry for OT, but since there is so much combined Java experience
here, it's the fastest way of getting an answer.
Hi Mahesha
You can post this message as often as you like but without the containing
output of catalina.out you will never get an answer.
bye Philipp
[EMAIL PROTECTED]
01/17/2006 12:56 PM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
users@tomcat.apache.org
cc
Subject
Hi
I am using Tomcat as a service. But since requests pile up quite
substantially, I'm exploring a way to do clustering of 4 separate Tomcat
instances, and then do load balancing of the same.
Pls let me know of any inputs on how to do the same.
Regards Niladri
The information contained in
[EMAIL PROTECTED] wrote:
I am using Tomcat as a service. But since requests pile up quite
substantially, I'm exploring a way to do clustering of 4 separate Tomcat
instances, and then do load balancing of the same.
Pls let me know of any inputs on how to do the same.
hi
here's the log.
Actually the doc base set is correct still getting the error as directory
does not exist.
The directory is not present as the war has not extracted.
Thanks for your help.
2006-01-17 17:49:51 StandardContext[/Upload-C]: Resources start failed:
Try either of those:
- docBase=Upload-C.war
manually extract the .war to Upload-C/
Le Mardi 17 Janvier 2006 12:56, [EMAIL PROTECTED] a écrit :
hi,
I'm using tomcat-4.1.29 on windows 2000
I'm trying to change the server.xml to add logging for a context.
when i add a logger to the context, the
Hi,
I have an application that handles an embedded server instance (this
application start, stop and deploy wars on an embedded server).
Everything works fine, but now I need that some objects of the application
that handles tomcat can be acceded from the deployed wars.
There is a way to do that?
On 1/17/06, Joost Kraaijeveld [EMAIL PROTECTED] wrote:
Sure, but when ps shows virtual memory usage of 34 GB, I assume it's a
memory issue, isn't it?
P.S. (There is no tomcat involed :-) )
After a recent update of my Etch (2.6.15-1-amd64-k8-smp )based
workstation I suddenly experience
Behrang,
You probably have .jar files for Hibernate that don't contain debug
information. If you want to debug the Hibernate code itself, get a
source code distribution and build it with debugging info (see
documentation for the javac ant tag), or just add the source files to
your IDE.
That
Your results are correct. The JNDI provided by tomcat is read-only.
You'll need to put your DataSource object into your own JNDI context or
store the DataSource in your ServletContext. Personally I like the idea
of putting the javax.sql.DataSource object in the ServletContext and
using it
On 1/17/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
On 1/17/06, Joost Kraaijeveld [EMAIL PROTECTED] wrote:
Sure, but when ps shows virtual memory usage of 34 GB, I assume it's a
memory issue, isn't it?
P.S. (There is no tomcat involed :-) )
After a recent update of my Etch
I update my jsvc lauch script with -Xms and -Xmx options, but I have the same
situation: once the memory has been taken is never released, free memory is
constantly lowering at a lower rate than before, buf lowering.
$DAEMON_HOME/bin/jsvc \
-user $TOMCAT_USER \
-home $JAVA_HOME \
My company is has developed and is now marketing/selling a line-of-business
TSP/Tomcat application which we sell to corporate customers to runs on their
servers in their intranets.
It's suddenly become clear to my company that when we deploy a WAR on a
customers' site, the source code is
Classification: UNCLASSIFIED
Caveats: NONE
Which code are you exactly trying to protect ? By struts code, I am assuimg
you mean your classes ?
-Original Message-
From: Tom Burke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 10:19 AM
To: Tomcat Users List
Subject:
Thanks for this tip. I am not the developer, merely an in-house
administrator who is having an interesting year learning Tomcat
MySQL...
Can I ask for some more clarification, please? You say
If you're referring to your JSPs, you can precompile them and release
everything
as servlets.
From: Tom Burke [mailto:[EMAIL PROTECTED]
Subject: Re: Encrypting/Protecting JSP/Struts source code
Well, the JSPs are among the things I am referring to. Showing my
ignorance, is a 'pre-compiled' file a binary file? And how would we
deploy these onto a server?
Read up on servlets and
In the tomcat workflow, JSPs are first compiled to java source code, and
then compiled a servlet class. Pre-compiling takes care of this before
deployment. I believe there's an Ant task to do this for you. In the
end, all the JSPs and java classes are in compiled binary form that's
harder
Tom Burke wrote:
Is there any way in which the deployed WAR file, and all the files that explode
out of it, can be hidden/encrypted/protected on the server, while still
allowing them to be executed by Tomcat? The app is almost completely
JSP/Struts, there is hardly any HTML at all (if any in
Thanks again. Indeed I will read up. But please give me one clue; as I
say, I'm not the developer - he ought to know all this better than me! -
what's the file extension of a compiled servlet?
Tom
- Original Message -
From: Caldarale, Charles R
To: Tomcat Users List
Sent: Tuesday,
On 1/17/06, Chris Mooring [EMAIL PROTECTED] wrote:
Hi All,
I have just read various configuration documents for jk2 and jk. It seems as
though support for jk2 is no longer available.
Is jk the recommended connector to use now? It seems odd...like I am using a
previous version.
Also, I'd
From: Tom Burke [mailto:[EMAIL PROTECTED]
Subject: Re: Encrypting/Protecting JSP/Struts source code
what's the file extension of a compiled servlet?
.jsp - .java - .class
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only
Hi Rémy,
Thanks for the reply. If that is the case, is it possible to set up virtual
directories with Tomcat's native HTTP server? Any hints on what config files
to look in would be appreciated. I did a search on Google and didn't turn up
to much valuable info.
Thanks again for the reply,
Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Caldarale, Charles R wrote:
Read up on servlets and JSPs on the Sun web site (or Google).
Simplisticaly, servlets are the class files that contain compiled Java
code for processing client requests. Normally, JSPs are turned into
servlets on
Chris Mooring wrote:
Hi Mladen,
Thanks for the info. I think unless I can set up virtual directories on the
Tomcat HTTP server, I might be forced into using another webserver and
connector (jk - soon to be jk3 ;)).
Sure, but it only shows that naming is useless, cause
it will be the same
Using google to find others that have encountered this problem produced
many hits, but I was unable to find a solution to finding the subject
error message in the mod_jk.log. This error message will occur if
definitions for the 'workers.properties' file is placed inside a 'virtual
host
Hi,
Did you check if the new parameter (Xms, Xmx)values are registered for
your service ? (I am not sure how it works on Linux ).
Here is a similar issue but on Windows platform.
I am working with 64 bit java on Windows 2003 and 64-bit AMD Opteron
processor with 16 GB RAM.
I am getting OOME
permgen isn't affected by the normal
-Xms -Xmx
you have to explicitly set the permGen using the proper setting. I forget
the exact syntax at the moment, but it should be archived on the mailing
list.
peter
On 1/17/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Did you check if the
Code as requested, Hope this helps mate:-
package com.my.filters;
/**
* pTitle: CacheFilter/p
* pDescription: This filter sets headers for all requests directed via
the
* filter mappings. This allows the browser to be forced to
use
* the cached version
Caldarale, Charles R wrote:
From: Erik Onnen [mailto:[EMAIL PROTECTED]
Subject: UTF-8 JavaScript and HTML Files
1) Not using APR, sendfile should not be an issue
2) My locale is set: export LC_ALL=en_US.utf8
3) File encoding is set for the JDK: -Dfile.encoding=UTF-8
4) contextDefaultEncoding
Thanks David,
I appreciate you confirming the read-only status of the Tomcat context.
Is there a reason for this being readonly as I ideally need to bind
The dynamic source to the standard context (i.e. literally replace any
defined within the context.xml file) as the datasource is used by my
Hey all,
Can someone tell me if there are any significant performance issues with
using *Access Log Valve on* the heavily used production box?
--
Thank you,
Edmon Begoli
http://blogs.ittoolbox.com/eai/software
Erik Onnen wrote:
Verified and re-verified, that's why I went the path of configuring
multibyte support to begin with.
Have you changed fileEncoding for the default servlet in conf/web.xml?
If not, try setting it to UTF-8. It controls the encoding used to read
static files and defaults to the
All,
Surprising no one responded the first time. Looking at the source, I noticed a
org.apache.catalina.util.ServerInfo class in that does access version
information but it is local to the server and not available from an MBean. I
need to access version information over RMI (JSR 160).
I'm running Tomcat 5.5.12 on Mac OS X and have recently switched from
using a Hibernate-configured DBCP to using a JNDI-configured/owned
c3p0 pool. I recognize that this may not necessarily be the correct
place to ask this question, since the problem may be with c3p0, but
perhaps other
Chris Mooring wrote:
Thanks for the info. I think unless I can set up virtual directories on the
Tomcat HTTP server, I might be forced into using another webserver and
connector (jk - soon to be jk3 ;)).
What do you mean exactly by virtual directories?
If it is something like mapping URL
It depends. In a nutshell, it shouldn't be a performance issue. Why? Since
access log writing occurs after the request has been sent to the client-
there is no performance penalty with respect to the client. *BUT* if all you
threads are in use then your clients will have a small wait period.
Thanks for the suggestion, Mark. I hadn't tried that yet and I wasn't
sure what exactly was serving the static content so your suggestion will
help me get further on my own. Unfortunately, I'm still seeing the same
problem after the suggested change. Perhaps I need to undo some of my
previous
Hi guys,
i recently tried to migrate my webapps from version 5.5.4 to a brand new 5.5.12
installation, so i just copied original $CATALINA_HOME/conf/server.xml all
$CATALINA_HOME/webapps to ver 5.5.12 corresponding folders. When i entered the
manager webapp, i started seeing broken html, kind of
Good comments, but how would you encrypt the config files when Struts needs
these to run out code (hence before I can decrypt). While I personally
prefer Cocoon over struts these are pretty much 'Sister' projects so the
same solution would help me also.
Discussion appreciated.
Rob
-Original
Rob Gregory wrote:
I don't have the time to fully understand your question (time for bed) but
after scanning your issues this post may help:-
Topic regarding UTF-8 vs ISO encoding
http://wiki.apache.org/tomcat/Tomcat/UTF-8
Sorry if I'm really off topic but the linked document is small and
Patricio wrote:
In logs folder of Tomcat 5.5 I have this messages:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by downloading and
installing a compatibility package from the Apache Tomcat
binary download page.
It appears you're
I have post the solution for this, its title: solution for ssl on tomcat
dated 2005.12.30
You should have found it if you spent a little bit effor to search the
answer.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi folks,
I am going to run Tomcat 5.0.* with JDK 1.5, I wonder whether Tomcat 5
officially support JDK1.5 yet. I found in Apache site
http://tomcat.apache.org/tomcat-5.0-doc/appdev/installation.html
that Tomcat 5 has been extensively tested with JDK 1.3.1 as well as JDK
1.4.2, and the latter
--- HuangHao [EMAIL PROTECTED] wrote:
Hi folks,
I am going to run Tomcat 5.0.* with JDK 1.5, I
wonder whether Tomcat 5
officially support JDK1.5 yet. I found in Apache
site
http://tomcat.apache.org/tomcat-5.0-doc/appdev/installation.html
that Tomcat 5 has been extensively tested with
Hello All,
Can Tomcat run on VXWorks ? My requirement is to run JSP/Servlets on
VXWorks. Can any one help?
Regards,
Praveen .P
* ESN 6877-5367
* +91-80-28520408 extn. 82335
* [EMAIL PROTECTED] BLOCKED::mailto:[EMAIL PROTECTED]
The information contained in this electronic message and
Hello,
I'm looking for a way to be able to load classes in org.apache.catalina,
like in Yoav Shapira's Tomcat Realm example (
http://wiki.apache.org/tomcat/HowTo#head-42e95596753a1fa4a4aa396d53010680e3d509b5
).
The problem is, when my compiled classes (which wrap that entire
operation) are
On 1/18/06, gupta vidhi [EMAIL PROTECTED] wrote:
hello,
i'm using jakarta-tomcat-4.1.31and jdk-1_5_0_02-windows-i586-p-iftw in WIN
2000 Professional.
I wish to connect Oracle 8.0(plus) with JSP pages.
i request you to kindly tell me how to do this?
If you are learning JSP you can
Rob Gregory wrote:
Good comments, but how would you encrypt the config files when Struts needs
these to run out code (hence before I can decrypt). While I personally
prefer Cocoon over struts these are pretty much 'Sister' projects so the
same solution would help me also.
This is a valid
Thanks a lot, of course it has helped
-Mensaje original-
De: Rob Gregory [SMTP:[EMAIL PROTECTED]
Enviado el: martes, 17 de enero de 2006 19:39
Para: 'Tomcat Users List'
Asunto: RE: Images caching
Code as requested, Hope this helps mate:-
package com.my.filters;
/**
57 matches
Mail list logo