Hi Chuck,
Why is it usually better to set -Xms and -Xmx to the
same value ? Can you please explain a little bit of this . Also there are
some weird problems in running tomcat 6.0.18 with Jconsole remotely . It
keeps giving me "Connection refused error" . Mark did mention abou
Jeff try:
ProxyPass /app1 http://localhost:8080/app1
ProxyPassReverse /app1 http://localhost:8080/app1
and better yet if your have mod_proxy_ajp:
ProxyPass /app1 ajp://localhost:8009/app1
ProxyPassReverse /app1 ajp://localhost:8009
> From: BruceLee [mailto:[EMAIL PROTECTED]
> Subject: Seek help for javax.servlet.ServletException: Java heap space
>
> I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k -XX:MaxPermSize=128m.
> On my local machine, everything is fine without any JAVA_OPTS
> customization.
What JVM are you using on you
Dear Team,
I tried hard for this heap space issue for several days. Also searched this
forum but couldn't find the proper answer.
On my hosting server, I got this error after I viewed 2 or 3 pages. My main
page is always OK though.
I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k -XX:MaxPermSize
> Rainer Jung-3 wrote:
>>> My main question here is: is it normal that that a faulty application
>>> takes
>>> down the whole site?
>> Yes, unfortunately that's a common source for trouble. If an app doesn't
>> finish processinf a request, e.g. because it wais without timeout for
>> some other serv
- Original Message -
From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, October 01, 2008 10:41 PM
Subject: Re: Dynamically adding a resource to a context
Johnny Kewl wrote:
- Original Message - From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Rainer,
Good evening.
Rainer Jung-3 wrote:
>
>> My main question here is: is it normal that that a faulty application
>> takes
>> down the whole site?
>
> Yes, unfortunately that's a common source for trouble. If an app doesn't
> finish processinf a request, e.g. because it wais without time
Hi All,
I'm having some issues with some apps I am running on my server. I'm
running multiple apps in tomcat and serving up each of them through
apache with mod_proxy. Most of these are working great, but there are a
few that don't seem to want to co-operate. I currently have my proxies set
up i
br1 schrieb:
> Rainer,
>
> Thank you for your reply.
>
> My main question here is: is it normal that that a faulty application takes
> down the whole site?
Yes, unfortunately that's a common source for trouble. If an app doesn't
finish processinf a request, e.g. because it wais without timeout
Rainer,
Thank you for your reply.
My main question here is: is it normal that that a faulty application takes
down the whole site?
I have seen applications with this problem several times, and all the 40ish
Tomcats we have are configured with connectionTimeout set to zero - and
connection_pool_
Johnny Kewl wrote:
>
> - Original Message - From: "Pid" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Wednesday, October 01, 2008 11:50 AM
> Subject: Re: Dynamically adding a resource to a context
>
>
>
>> http://today.java.net/pub/a/today/2005/11/17/app-managed-datasources-wit
LoopInfinitum wrote:
> thanks again for the replies.
>
> i guess i wasn't clear... i, of course, have tried this; the status quo is
> (and has been) that our team has to restart the server for any .tag changes
> made. it has been this way since i was hired a year ago, and, of course,
> we'd benef
>It happens to me when the web.xml is pointing to a version prior to Servlet
2.4.
Thanks. Thats exactly what it was. Netbeans appears to provide a web.xml
using version 2.3. Changed it to v2.5 and everything works as expected.
>Looks like your bean ID is thbean not thebean. It is missing "e" in th
> From: LoopInfinitum [mailto:[EMAIL PROTECTED]
> Subject: Re: can i compile .tag files on the fly? please help :(
>
> so my question is, can tomcat 5.02a be configured to compile
> .tag files on the fly?
Your Tomcat version is a bit odd, since there never has been such any such
level (Tomcat doe
A title.
The string is: ${sessionScope.thebean.string}
__ Information from ESET NOD32 Antivirus, version of
virus signature database 3486 (20081001) __The message was
checked by ESET NOD32 Antivirus.http://www.eset.com";>http://www.eset.com __
Info
thanks again for the replies.
i guess i wasn't clear... i, of course, have tried this; the status quo is
(and has been) that our team has to restart the server for any .tag changes
made. it has been this way since i was hired a year ago, and, of course,
we'd benefit greatly from being able to tw
2008/10/1 John5342 <[EMAIL PROTECTED]>:
> The string is: ${sessionScope.thebean.string}
It happens to me when the web.xml is pointing to a version prior to Servlet 2.4.
Antonio
-
To start a new topic, e-mail: users@tomcat.apache
I would guess from a brief look at the jsp 2.0 spec, the answer is yes,
but didn't read far enough to be absolutely sure. You could read the
spec yourself for a definitive answer or just try it... Personally I
find reality more fun.
- write a test tag
- write a jsp to test it
- run the jsp t
ng.Thread.run(Unknown Source)
"/tmp/crmsauth.log.20081001" 561 lines, 48080 characters
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolT
On Wed, Oct 1, 2008 at 10:17 AM, LoopInfinitum <[EMAIL PROTECTED]> wrote:
> haven't tried yet... i've never used jasper
Nor have I, directly :-) I meant, "why don't you just change a test
.tag file and see what happens?" Would have taken less time...
> so this means you edit a .tag file, hit r
(Tomcat doesn't use msvcr71.dll directly, it's used by the Java VM.)
How I know about it is:
- from researching the problem on the internet
- by using the depends.exe tool from MS to look at the DLL dependencies
- by recognizing a familiar Microsoft DLL
- from having dealt with similar DLL loading
thanks much for the reply.
haven't tried yet... i've never used jasper and would have to research it
(someone else on my team set up our build process), so i was asking this
first.
"I've never compiled
a tag file manually, nor restarted TC to see a change."
so this means you edit a .tag file, h
at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWo
On Wed, Oct 1, 2008 at 9:35 AM, LoopInfinitum <[EMAIL PROTECTED]> wrote:
> i'm looking for a definitive answer:
> can .tag files be compiled on the fly, or do they always require a recompile
> and restart for changes to take effect?
Did you bother to try?
In any case, I don't know if this is "de
werWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
"/tmp/crmsauth.log.20081001" 561 lines, 48080 characters
at
org.apache.c
hey all,
i'm looking for a definitive answer:
can .tag files be compiled on the fly, or do they always require a recompile
and restart for changes to take effect?
we currently have jsp's set to compile on the fly, and it makes dev so much
easier/faster.
is there any alternative, if not the same
- Original Message -
From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, October 01, 2008 11:50 AM
Subject: Re: Dynamically adding a resource to a context
http://today.java.net/pub/a/today/2005/11/17/app-managed-datasources-with-commons-dbcp.html
Thanks PID..
Ah-hah! I found the problem! Apparently, if you try to unset an
environment variable that's not set, 2k and 2k3 return an error. I added a
line setting JAVA_HOME in the setenv file and then when I set JAVA_HOME to
nothing, I don't get the error. So now I just need to have it check if
JAVA_HOME i
2008/10/1 Bai Shen <[EMAIL PROTECTED]>:
> I'm using 6.0.18, which unless they just put out a new version is the
> latest.
>
> I've already turned the echo on. If you look at my first post, I commented
> what happened in the batch files. I can't see anything that would throw an
> error.
>
> I've e
Nope, doing it all in Windows using notepad.
And I've narrowed down the problem. 2k/2k3 doesn't like the following line.
set JAVA_HOME=
If I don't have a JAVA_HOME variable set, everything works fine. However, I
can't guarantee that the JAVA_HOME variable won't be set on every machine.
So I ne
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: application deployment issue, Tomcat 5.5
>
> By the way, which is the easiest way to see the "full"
> version of Tomcat?
There's a version.sh script in the Tomcat bin directory that will display the
actual Tomcat level.
> One particulari
> From: Bai Shen [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat stops with error after calling setclasspath.bat
>
> No effect.
Are you editing your .bat files in UNIX format, by any chance? The Windows
shell might not like missing carriage returns.
- Chuck
THIS COMMUNICATION MAY CONTAIN CON
> From: ib solution [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat 6.0.18 and JDK 6
>
> btw how do you know that tomcat need a file msvcr71.dll
Experience. Browsing the mailing list archives can help get you some of that
experience without having to suffer through all the problems yourself.
-
On 30 Sep 2008 at 18:27, Caldarale, Charles R wrote:
> > From: Maurizio Lotauro
> > [mailto:[EMAIL PROTECTED]
> > Subject: Authentication behaviour
> >
> > The server answers with 401 before it has received the
> > whole content send from client. In fact it seems that
> > the answer become right a
Mårten Svantesson wrote:
Hi,
This is actually a question regarding the combination of JBoss 4.0.2RC1 with
Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope
this is the correct forum.
mod_proxy_ajp got several patches during the last couple of httpd
releases. Although
hai,
thx for your help.
btw how do you know that tomcat need a file msvcr71.dll
--
Regards,
Andy Susanto,S.Kom
==
for better search
http://www.slashmysearch.com/earn/id/24828
HP : 081513039998
On Wed, Oct 1, 2008 at 9:39 PM, Len Popp <[EM
Hi.
We have created a webapp, and a corresponding war file.
This war file deploys succesfully on platform A (Windows) which runs
Tomcat 5.5. It also deploys succesfully on platform B (Linux Debian) in
a Tomcat 6.0 instance. But on the same platform B, under a Tomcat 5.5
instance, it triggers th
No effect.
On Wed, Oct 1, 2008 at 10:19 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Bai Shen [mailto:[EMAIL PROTECTED]
> > Subject: Re: Tomcat stops with error after calling setclasspath.bat
> >
> > set JRE_HOME=..\..\jre
>
> Make the above an absolute path, including drive let
That usually happens because it can't find msvcr71.dll (Microsoft C
runtime). Copy that file from Java's bin directory to Tomcat\bin.
--
Len
On Wed, Oct 1, 2008 at 10:29, ib solution <[EMAIL PROTECTED]> wrote:
> hai,
>
> i would like to use tomcat 6.0.18 and JDK 6 update 7
>
> the installation no
hai,
i would like to use tomcat 6.0.18 and JDK 6 update 7
the installation not give me an error.
but when i try to start tomcat service, tomcat does not running.
i try with http://localhost:8080 the result the page cannot display.
after that i check log file in tomcat and i get an error messag
> From: Bai Shen [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat stops with error after calling setclasspath.bat
>
> set JRE_HOME=..\..\jre
Make the above an absolute path, including drive letter.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is
2 Antivirus, version of virus signature
database 3485 (20081001) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32 Antivirus, version of virus signature
database 3485 (20081001) __
The message was checked by ESET NO
Okay, apparently Tomcat doesn't like my setenv.bat I just copied over a
virgin install of Tomcat, and after setting JRE_HOME, it started right up.
Then I moved my setenv.bat over and it gave me the same problem. I'm not
sure why it doesn't like my setting the JRE_HOME in the setenv.bat
The conte
That null pointer error goes off after some time. I am not sure but I think
that is because of file(s) updation with windows. After some time I get this
error only in the browser.
HTTP Status 404 - Servlet CMLogin is not available
Status report
message Servlet CMLogin is not available
description
John Gardner wrote:
Caldarale, Charles R wrote:
From: John Gardner [mailto:[EMAIL PROTECTED]
Subject: Multiple Time Zones on one Tomcat instance?
Is there any way we can serve mutliple webapps from a single Tomcat
instance, with mutliple timezones?
Tomcat itself doesn't care about ti
I'm using 6.0.18, which unless they just put out a new version is the
latest.
I've already turned the echo on. If you look at my first post, I commented
what happened in the batch files. I can't see anything that would throw an
error.
I've enclosed the results of my running catalina start witho
Hi Rainer,
> This reminds me of some problem we found when fixing BZ 44494. Could you
> please try with 6.0.18? Your symptoms don't really fit 44494 exactly, but
> there's a chance 6.0.18 fixed it.
Yes - I'll package 6.0.18 this afternoon and test it this evening.
S.
---
sthirumalai wrote:
> We build an exe which will have tomcat, jdk and our code in it. When we
> install that in some system it installs perfectly but while accessing the
> service it throws servlet instantiation error. This also happens for the
> first time. If we restart that system everything work
Hi,
This is actually a question regarding the combination of JBoss 4.0.2RC1 with
Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope
this is the correct forum.
To get failover we have two machines, both running Apache and JBoss.
mod_proxy_ajp is configured on both machines
We build an exe which will have tomcat, jdk and our code in it. When we
install that in some system it installs perfectly but while accessing the
service it throws servlet instantiation error. This also happens for the
first time. If we restart that system everything works well. What may be the
is
br1 wrote:
Dear all,
I am experiencing a weird problem happening between IIS and Tomcat: it seems
that the JK connector is hanging IIS.
A badly behaving Tomcat app is filling up AJP connections due to some DB
connection problems. Nothing strange so far, we had these kinds of problems
already,
Stephen Nelson-Smith wrote:
On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith
<[EMAIL PROTECTED]> wrote:
Testing:
* Submitting straight to one of the new tomcat 6.0.16 machines, over
http, works without fail - the XML is parsed.
Ok so now it transpires that actually direct http to To
Johnny Kewl wrote:
>
> - Original Message - From: "Scott Dunbar" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, September 30, 2008 10:22 PM
> Subject: Dynamically adding a resource to a context
>
>
>> Hi all,
>> I'm honestly not positive that what I want to do is a good idea but
>> the basi
On 30 Sep 2008, at 17:20, Mohit Anchlia wrote:
Is there a way to dynamically change the logging level of log4j.xml
in tomcat?
Not builtin. But you can write some code in a servlet to change the
logging level. e.g.
Logger l = Logger.getLogger("com.mycompany");
l.setLevel(Level.DEBUG);
John Gardner wrote:
Caldarale, Charles R wrote:
From: John Gardner [mailto:[EMAIL PROTECTED]
Subject: Multiple Time Zones on one Tomcat instance?
Is there any way we can serve mutliple webapps from a single Tomcat
instance, with mutliple timezones?
Tomcat itself doesn't care about time zones,
55 matches
Mail list logo