Hi,
I was having some problems with perm gen space on one of our tomcat
instances and decided to increase the perm gen size and review the
JAVA_OPTS settings in general when I noticed something curious. No
settings are currently made so its just running with default values, but
the manager statu
maybe the value for environment variables called JAVA_OPTS equals those
values ?
try to echo $JAVA_OPTS and see if theres any value.
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
Hi,
I was having some problems with perm gen space on one of our tomcat
instances and decided to increase t
Already checked that, it's not in the environment and not set in either
startup.sh or catalina.sh.
On Fri, 2006-10-13 at 14:17 +0700, Lintang JP wrote:
> maybe the value for environment variables called JAVA_OPTS equals those
> values ?
> try to echo $JAVA_OPTS and see if theres any value.
>
>
/etc/init.d/tomcat5 ?
Check for -Xms and -Xmm options
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
Already checked that, it's not in the environment and not set in either
startup.sh or catalina.sh.
On Fri, 2006-10-13 at 14:17 +0700, Lintang JP wrote:
> maybe the value for environment v
Hi All
Adding my yesterday problem, I found this at localhost_log_comium_mt
2006-10-13 14:54:33 StandardContext[/comium_mt]Error configuring application
listener of class com.ricochet.connector.im3.MTQueueProcessor
java.lang.ClassNotFoundException:
com.ricochet.connector.im3.MTQueueProcessor
Good idea, but nothing set there either. The fact it's such an odd
number is another perplexing issue.
On Fri, 2006-10-13 at 09:36 +0200, Pascal Alberty wrote:
> /etc/init.d/tomcat5 ?
> Check for -Xms and -Xmm options
>
> On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
> >
> > Already chec
Hi there,
We have been finding it difficult to persuade tomcat (5.5.12 and 5.5.17) to
unpack a ROOT.war file, either when starting up tomcat from scratch, or
hot-deploying.
We *were* able to get tomcat to expand the war file if it contains a
META-INF directory containing a context.xml file. How
on the same line..
i can access my jsp-examples frm http://localhost/jsp-examples..
but whn i pass my IP address to frnds (whn i m connected to the
internet)...it shows page not available/requested page is not available...
i m using tomcat 5.5 anf apache 2.2.3...
the configuration seems OK to
But, do you use server.xml to configure tomcat embedded? For example,
for the connector ports? If so, how may I ask?
Best regards,
Miguel
On 10/12/06, Andre Prasetya <[EMAIL PROTECTED]> wrote:
Hi Miguel, I m using tomcat embedded but i still use server.xml too
-Andre-
On 10/10/06, Miguel Cor
The default memory values depends on your machine (processor speed and
count, total amount of memory) and are guessed by the vm (if not
explicitely specified) upon application start.
Times of 64Mb max memory are long over now.
regards
Leon
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
Hi
Thanks, I suspected that, but couldn't find a reference in any JVM docs.
Do you have a reference I could look at so I could better understand
what is going on?
In order for me to set an appropriate larger perm gen size, I suppose
I'd need to know what it currently is. I seem to remember it is
in
def perm size is 64Mb
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
Thanks, I suspected that, but couldn't find a reference in any JVM docs.
Do you have a reference I could look at so I could better understand
what is going on?
In order for me to set an appropriate larger perm gen size,
Yes I use server.xml to configure the comcat embedded, and only for connector ports, I attach the server.xml, hopefully its usefull for you.On 10/13/06,
Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
But, do you use server.xml to configure tomcat embedded? For example,for the connector ports? I
Thanks. Found a reference too:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html
Going to set the following...
-server
-Xmx2000m
-XX:MaxPermSize=256m
On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote:
> def perm size is 64Mb
>
> On 10/13/06, Alan Flisch <[EMAIL PROTECTE
just as note Xmx2000m works on 64bit vm only
and you can use g instead of 1000m -> -Xmx2g
regards
Leon
P.S. You should set your ms=mx, saves time :-)
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
Thanks. Found a reference too:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.
Hello All,
We have a problem in our production system. Following is our environment.
Tomcat 3.3.1a
AIX 5.3
IBM JDK 1.3.1
Apache/1.3.28
The only change that we did was changed from AIX 5.1 ML 4 to AIX 5.3 ML5
Tomcat hangs sometimes 5 times a day or sometimes it works fine for a day or
two. We
Any other idea ?
Thanks
On 10/13/06, Pascal Alberty <[EMAIL PROTECTED]> wrote:
On 10/12/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Alberty
> > Subject: CPU level is not coming back to a normal level
> >
> > W
I think you are going to have to get a profiler going to diagnose this.
See where the JVM is spending it's time when the CPU goes high like
this. Also try using the logs to see if it's coincident on specific
requests or other events in tomcat.
--David
Pascal Alberty wrote:
Any other idea
On 10/13/06, Pascal Alberty <[EMAIL PROTECTED]> wrote:
I have set up GC information. While XHTML rendering, there is one Full
GC which spent 0.2 sec. All other GC operations are taking less then
0.01 sec which seems "normal".
When dumping the JVM through a kill -3, I can see threads working on
I thought you were safe up to 4000m (in practice a little lower) for the
32 bit VM.
Regards,
Alan
On Fri, 2006-10-13 at 13:04 +0200, Leon Rosenberg wrote:
> just as note Xmx2000m works on 64bit vm only
> and you can use g instead of 1000m -> -Xmx2g
>
> regards
> Leon
>
> P.S. You should set y
Nope - the 32Bit JVM can only deal with about 1.5GB Ram
Andrew
On 13/10/2006, at 2:51 PM, Alan Flisch wrote:
I thought you were safe up to 4000m (in practice a little lower)
for the
32 bit VM.
Regards,
Alan
-
To start
I am using embedded tomcat and I do not use server.xml. Unfortunately, I am
away from home until Sunday. I will give you more info then.
- Mark
On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
But, do you use server.xml to configure tomcat embedded? For example,
for the connector
Thanks.
On 10/13/06, Andre Prasetya <[EMAIL PROTECTED]> wrote:
Yes I use server.xml to configure the comcat embedded, and only for
connector ports, I attach the server.xml, hopefully its usefull for you.
On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
>
> But, do you use server
Leon,
> The default memory values depends on your machine (processor speed and
> count, total amount of memory) and are guessed by the vm (if not
> explicitely specified) upon application start.
> Times of 64Mb max memory are long over now.
Really? Seems like 32-bit Sun JVM on Sparc has exactly 6
Hmm,
I'm not familiar with limitations on solaris. On linux 32bit VM can
allocate 1.6-1.8 GB depending on vendor (1.6 for sun-jdk).
On the other side, if you are on 64bit OS (and you probably are, or
how could you adress 16GB otherwise), why not using 64bit jdk?
regards
Leon
On 10/13/06, Alan F
Christopher,
unfortunately google is not your friend in this case and the document
seems outdated :-)
http://java.sun.com/docs/hotspot/gc5.0/ergo5.html
n the J2SE platform version 5.0 a class of machine referred to as a
server-class machine has been defined as a machine with
2 or more phys
"No one was asking for cross-application scoping."
Hi chuck, do u know how to do that? It's what I'm trying to do, to get a
cross-app scope for customized management.
Tks
Jose Roberto
>
>> the proper way to access your webapps info is
>> getServletContext() to get the context first..once
There is also the following one, but in wait mode:
"Java2D Disposer" daemon prio=1 tid=0x083a5858 nid=0x7443 in
Object.wait() [0x853ff000..0x853ff1c0]
at java.lang.Object.wait(Native Method)
- waiting on <0x92d654d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.R
It could actually be a 64 bit JVM (I didn't install it) although I
suspect not, but as I have no need to push the memory up any further
just now, I'll leave addressing that till later.
I'll maybe just make it 1600m or something for now as that should be
more than adequate. The server isn't hamme
Issues:
We've been experiencing some issues with our IIS --> Connector --> Tomcat
setups,
primarily intermittent 'white pages' where the HTTP response is blank, and
also
this morning an instance where I was forced to restart IIS / IIS admin
service
in order to get the connection to Tomcat worki
Oh, well... I'm reading the connector ports from the server.xml with a
my own custom SAXParser... Didn't see anyother way of doing it...
Apreciate all the help.
On 10/13/06, Mark Miller <[EMAIL PROTECTED]> wrote:
I am using embedded tomcat and I do not use server.xml. Unfortunately, I am
away fr
> From: Andrew Miehs [mailto:[EMAIL PROTECTED]
> Subject: Re: Max Memory Reading
>
> Nope - the 32Bit JVM can only deal with about 1.5GB Ram
That's a Windows, not JVM, limitation. The virtual memory setup is
different on Solaris, so higher values are possible.
- Chuck
THIS COMMUNICATION MAY
> From: Alan Flisch [mailto:[EMAIL PROTECTED]
> Subject: Re: Max Memory Reading
>
> I thought you were safe up to 4000m (in practice a little
> lower) for the 32 bit VM.
Depends on the OS. For Windows, the limit is around 1.5 - 1.6 GB, since
the JVM code, heap, several ancilliary DLLs, and oth
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: Max Memory Reading
>
> On the other side, if you are on 64bit OS (and you probably are, or
> how could you adress 16GB otherwise), why not using 64bit jdk?
Did Solaris 5.9 have a 64-bit version? It's a bit on the old side, so I
dou
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: Max Memory Reading
>
> unfortunately google is not your friend in this case and the document
> seems outdated :-)
>
> http://java.sun.com/docs/hotspot/gc5.0/ergo5.html
Why do you think it's outdated? What's described is what the cu
It seems to be contradicted by this document
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by
my experience of seeing a near 1GB heap with no -Xmx option set
anywhere.
It's a little on the confusing side!
On Fri, 2006-10-13 at 09:31 -0500, Caldarale, Charles R wrote:
> >
> From: Alan Flisch [mailto:[EMAIL PROTECTED]
> Subject: RE: Max Memory Reading
>
> It seems to be contradicted by this document
> http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by
> my experience of seeing a near 1GB heap with no -Xmx option set
> anywhere.
Maybe I'm confus
The document Leon thought was outdated was this one -
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total%
20Heap%7Coutline - which also relates to 5.0! I'm guessing from the
evidence that this doc is simply wrong.
Regards,
Alan
On Fri, 2006-10-13 at 09:41 -0500, Caldarale
> From: José Roberto Motta Garcia [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with HttpSessionListener
>
> "No one was asking for cross-application scoping."
>
> Hi chuck, do u know how to do that? It's what I'm trying to
> do, to get a cross-app scope for customized management.
If all yo
Increasing logging (via the verbosity attribute) doesn't seem to do
anything. Is there another way to get catalina.out to give me
something?
Regards,
Lindsey
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 3:46 PM
To: Tomcat Users List
S
Besides doing System.outs. I'm trying to see if I can debug without
having to redeploy code and interrupt service.
Regards,
Lindsey
-Original Message-
From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 11:02 AM
To: Tomcat Users List
Subject: RE: Large
Hello,
I would like to retrieve the tomcat realm object from the Server object.
Below is the code snippet I use ...
__
Server server = ServerFactory.getServer();
Service service = server.findService("Catalina");
Engine engine = (Engine) service.getContainer();
//engine.getRealm();
H
I dont see any problem,
In fact, server.findServices() always returns an empty array of services.
But my server.xml does define a Catalina service.
try to use findServices() and get first service of the service array and see
if still null ...
On 10/13/06, Sathija Pavuluri <[EMAIL PROTECTED]>
I've tried that too.
findServices() returns an array of length 0.
> I dont see any problem,
>>In fact, server.findServices() always returns an empty array of services.
>>But my server.xml does define a Catalina service.
> try to use findServices() and get first service of the service array and s
is the server instance ok?
On 10/13/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
I've tried that too.
findServices() returns an array of length 0.
> I dont see any problem,
>>In fact, server.findServices() always returns an empty array of
services.
>>But my server.xml does define a Catali
yes, it does look ok except for the findServices().
In fact, as I mentioned earlier i tried calling
server.getGlobalNamingResources(), getPort(), getInfo() on the server
and they all seem to return the right stuff.
Its just the services.
I've set privileged="true" on my webapp context.
Can't fig
Hello Everyone,
On Windows 2000 where over the past couple of years I had installed Tomcat4 and
Tomcat4.1,
running Tomcat5.0.28 as a service now gives:
==
ERROR reading D:\jakarta-tomcat-5.0.28\conf\server.xml
At Line 24 /Server/Listener/
className=org.apa
On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
The document Leon thought was outdated was this one -
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total%
20Heap%7Coutline - which also relates to 5.0! I'm guessing from the
evidence that this doc is simply wrong.
yes th
is it a windows limitation or an intel x86 limitation? i.e., if i had
installed linux or BSD instead of win 2000, would i have been better
off memory management wise?
joon
On 10/13/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Andrew Miehs [mailto:[EMAIL PROTECTED]
> Subject: Re:
hello alltogether,
i have a problem with accessing files deployed on tomcat. I want to access
an image which is stored in a "graphics" folder right below the "WEB-INF"
folder. I read that the tomcat-context has its start path on the "classes"
folder. So what i did to retrieve the image was:
Imag
> From: joon yoo [mailto:[EMAIL PROTECTED]
> Subject: Re: Max Memory Reading
>
> is it a windows limitation or an intel x86 limitation?
Windows, due to limiting an individual process' virtual space to 2 GB.
(Some versions of Windows Server allow configuration of a 3 GB process
space, but that op
Hi chuck, do u know how to do that? It's what I'm trying to
>> do, to get a cross-app scope for customized management.
>>
> If all you need are objects common to all web apps, classes placed in
> shared/lib will suffice.
>
Do you mean a servlet? Wouldn't every app instantiate its own objec
Are u trying to access this image from a class or from a JSP? Please
correct me people, but the root path to JSP files is
/webapps/.
JR
harl3kin wrote:
> hello alltogether,
>
> i have a problem with accessing files deployed on tomcat. I want to access
> an image which is stored in a "graphics" fo
The problem is the "current directory" is the startup directory for
tomcat. In a webapp that might be running on several different
installations, the current working directory is a moving target.
Given this is always used from an exploded webapp and not a .war file,
you could use ServletConte
Is there any error info in log files? Would it be permission problem? ...
make sure all needed tomcat libs are readable by your webapp ...
On 10/13/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
yes, it does look ok except for the findServices().
In fact, as I mentioned earlier i tried calling
Karen - Thanks for your help. The double backslash is now working. I
had to upgrade the SQL 2000 named instance to SP4.
Dan Decker
Microsoft Dynamics GP Developer
www.Business-Computers.com
(303)499-2039
-Original Message-
From: Karen Koch [mailto:[EMAIL PROTECTED]
Sent: Thursday,
> From: José Roberto Motta Garcia [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with HttpSessionListener
>
> Do you mean a servlet?
No, just Java classes.
> Wouldn't every app instantiate its own
> object if this class is a simple one?
Only if they do a new; you can use static fields and m
Greetings!! all.
I have a configuration where i use Apache in front of JBoss(which uses the
tomcat4.1). Recently, we set up http/https switching using mod rewrite in
Apache, to separate the secure content from insecure in our web app.
Problem that came up is that if session starts in htpps,
I wonder if it's because the form bean object (which has the FormFile)
has grown too large?
Regards,
Lindsey
-Original Message-
From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 11:17 AM
To: Tomcat Users List
Subject: RE: Large File (100MB+) Upload Issu
Nope, nothing in the logs.
But I have a feeling its something to do with permissions.
I've given privilged access to the webapp, cant think of anything else.
Another weird thing is, whether I set the context's privileged="true" or
"false" it behaves the same way
I am using Tomcat 5.5 , has anythi
where you set your web context parameter?
On 10/14/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
Nope, nothing in the logs.
But I have a feeling its something to do with permissions.
I've given privilged access to the webapp, cant think of anything else.
Another weird thing is, whether I set
,
you could use ServletContext.getRealPath( ). That will return the
absolute path to the file, but only if the webapp isn't packed up as .war.
--David
Why is this the case? Doesn't Tomcat extract to war to a webapp/warname
folder when it first accesses it?
- Mark
in the ${CATALINA_HOME}/webapps/myapp/META-INF/context.xml
i've also tried ${CATALINA_HOME}/conf/Catalina/localhost/myapp.xml
these places seem to be where tomcat 5.5 expects to find the element.
i had it in the server.xml at one point, but tomcat 5.5 doesnt recommend that.
> where you set y
Hi folks
I get the following error message on a Debian Linux with Tomcat 4 and
Apache2. Normaly I don't have any problems with running servlet
applications - meaning the tomcat is running without any problems on
other applications. Any ideas?
2006-10-13 22:58:22 StandardWrapperValve[wsa1_s
Hello,
What is the best program to use to profile the cpu used by tomcat(Pref an open
source one).
We run tomcat 5.x on a Win2003 Server and are having CPU problems.
We need to find out where the cpu is being used the most(class or method) and
the more details the better.
We program in Eclips
http://eclipsecolorer.sourceforge.net/index_profiler.html
Is a nice eclipse profiler that can profile tomcat. I am sure there are many
others as well. Unfortunatley, that eclipse profiler seems to be abandonded
or something and last I knew requires you to find a special patch to get it
to work wi
Java Development Team wrote:
> I dont know about this either. How do I get access to default servlet
You'll only have a problem if:
- you include static resources
- the static resources are encoded other than with the default platform
encoding
If you need to make changes, the default servlet is
Jprofiler is also good
-Original Message-
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 3:38 PM
To: Tomcat Users List
Subject: Re: Tomcat CPU Profiler
http://eclipsecolorer.sourceforge.net/index_profiler.html
Is a nice eclipse profiler that can profile tomc
[EMAIL PROTECTED] wrote:
> How can I get an higher level context than ServletContext in a way that
> gives me all web apps running on Tomcat, like Manager?
Take a look at the source for the manager servlet and see how it does it.
Mark
Hello,
Anybody work with xampp-->tomcat, mysql, apache? If i post into wrong forum
please guide me. If my question is confusing, please let me know, i will try
my best to explain.
Recently I am facing very weird problem.
My Company server attacked by virus and hijacked by hacker.
I have re-inst
I'm trying to do something that seems like it should be very easy, but
can't get it to work: sending a .txt file back to the user's browser so
they can save it to their local hard disk. I am having no trouble
creating the file and writing it to a temporary place on the server, but
can't figur
71 matches
Mail list logo