Thanks guys for you replys,
Carl - Please update this thread with results of your check for 6u20.
I've decided to install x86 version of JDK - jdk-6u7-linux-i586.bin
(stability is my main concern now)
So in my installation I just installed jdk-6u7-linux-i586.bin version.
1. Changed symlink:
# rm
El 26-05-10 23:11, Caldarale, Charles R escribió:
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com]
Subject: Re: apache 2 + tomcat 6 virtualhost question
Well it seems that such is for only one domain, and i will be deploying
more than one, thats why i cant use ROOT
Then
> From: Bithost Ltda. [mailto:bithost.ch...@gmail.com]
> Subject: Re: apache 2 + tomcat 6 virtualhost question
>
> Well it seems that such is for only one domain, and i will be deploying
> more than one, thats why i cant use ROOT
Then declare multiple elements in Tomcat, each with its own appBas
Allow me one more attempt at a clear doc?
1) If useIPVHosts=false (default), then the host header name determines
for processing, or default host of the Engine.
2) If useIPVHosts=true, then IP address of request determines for
processing, providing the IP is provided as the host name, or .
If
On 26/05/2010 21:33, Christopher Schultz wrote:
> I'd bet that Tomcat's "stop leaks" procedure is clearing-out a
> static Timer reference and /then/ the ServletContextListener is trying
> to access it.
I'll take that bet. How much ;)
> That's not supposed to happen, I'm guessing: the "stop
> leak
On Wed, May 26, 2010 at 4:29 PM, Bithost Ltda. wrote:
> I appreciate this very helpful guide, i have some of these configs already
> in motion (got the ajp connector port, workers.properties and mod_jk
> included in apache), but what if i have more than 2 sites which need the
> same way of deploy
In that case you can have one tomcat instance per application. Each
application can run inside its own tomcat process and have different
ajp port, mod_jk worker and apache virtual host.
On Thu, May 27, 2010 at 1:29 AM, Bithost Ltda. wrote:
> El 26-05-10 18:31, Borut Hadžialić escribió:
>>
>> Hi P
El 26-05-10 18:31, Borut Hadžialić escribió:
Hi Patricio, try this:
1. Redeploy your app in tomcat so it shows at http://mydomain:8080/
instead of http://mydomain:8080/myapp
How you do this depends on how you deployed the app in the first place -
a) if you deployed a myapp.war and use autode
Hi,
Just a dumb question from a newbe but if I implement any type of security with
TC then under what identity will the invoked WS stack object execute the
request? Specifically, if I enable Kerberos authentication between the
requesting application and TC does this guarantee the WS stack
Thanks for working through this with me Chuck.
Sorry for the frustration. Probably should have started MY inquiry off
as a new thread.
Now that I got how useIPVhosts works (probably), did you see any
drawbacks to setting up multiple to achieve what the original
poster was going for, i.e. multipl
Small mistake - put
worker.myapp.port=8009 instead of worker.myapp.port=8109 (port needs to be
the same as the one in tomcat's conf/server.xml wrote:
> Hi Patricio, try this:
>
> 1. Redeploy your app in tomcat so it shows at http://mydomain:8080/instead of
> http://mydomain:8080/myapp
>
> How y
Hi Patricio, try this:
1. Redeploy your app in tomcat so it shows at http://mydomain:8080/ instead
of http://mydomain:8080/myapp
How you do this depends on how you deployed the app in the first place -
a) if you deployed a myapp.war and use autodeploy, then rename it to
ROOT.war and redeploy it
I'm running tests against a web app running in Tomcat and I was asked to test
extremely long URL query strings. I've read servers should throw HTTP
status 414 if the header size is too long however whenever I make the call
to Tomcat there is no response; ideally I would like it to return a 414
er
El 26-05-10 17:39, Caldarale, Charles R escribió:
From: Bithost Ltda. [mailto:bithost.ch...@gmail.com]
Subject: apache 2 + tomcat 6 virtualhost question
what i need is that when i type www.mydomain.com it goes
to my app and stays with the mydomain.com url.
The Tomcat side o
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> Allow me one more attempt at a clear doc?
>
> 1) If useIPVHosts=false (default), then the host header name determines
> for processing, or default host of the E
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Wednesday, May 26, 2010 4:35 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> >
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: stuck confused an need help please
>
> FWIW, he doesn't seem to be listening.
You noticed...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/26/2010 5:36 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: stuck confused an need help please
>>
>> On 5/24/2010 2:37 PM, Yucca Nel wrote:
>>> java.sql.SQLException: Acce
> From: Bithost Ltda. [mailto:bithost.ch...@gmail.com]
> Subject: apache 2 + tomcat 6 virtualhost question
>
> what i need is that when i type www.mydomain.com it goes
> to my app and stays with the mydomain.com url.
The Tomcat side of the configuration is covered in the FAQ:
http://wiki.apache.
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: stuck confused an need help please
>
> On 5/24/2010 2:37 PM, Yucca Nel wrote:
> > java.sql.SQLException: Access denied for user '
> > yucca123_tom'@'localhost' (using password: YES)
>
> It looks like you have a leadi
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> with the it set to true, isn't the host header string ignored?
Yes, it is ignored.
> The entire discussion is about what happens with
> useIPVHosts set to true!
Hello
I'm new to tomcat and i have some experience with apache, i have a
debian server with apache 2.2 + mod_jk and tomcat 6 server.
My doc root for my site is /home/mydomain/htdocs and i have a site
which is using a WAR which i deployed it via the tomcat manager.
So far if i go to http://myd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yucca Nel,
On 5/24/2010 3:28 PM, Yucca Nel wrote:
> aplogies there are 2 users and both credentials are configured correct
> one for hibernate and one for tomcat
Doesn't Tomcat use Hibernate? Or the other way around? Why not configure
Hibernate to us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yucca Nel,
On 5/24/2010 2:37 PM, Yucca Nel wrote:
> java.sql.SQLException: Access denied for user ' yucca123_tom'@'localhost'
> (using password: YES)
It looks like you have a leading space before your username. How are you
configuring your JDBC conn
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Wednesday, May 26, 2010 10:23 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
>
Hi Chris,
The initial submitter had a HttpServlet implementing
ServletContextListener with a non static timer, and in fact there were 2
instances of the class: the contextDestroyed method of the
servletContextListener instance can't cancel the timer of the
httpServlet instance (NullPointerExc
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Stopping a Timer in contextDestroyed() to avoid memory
> leaks results in a NullPointerException
>
> I'd bet that Tomcat's "stop leaks" procedure is clearing-out a
> static Timer reference and /then/ the ServletContex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Emeric,
On 5/26/2010 3:52 PM, Emeric Vernat wrote:
> You could also eliminate the mix & match and add a finally, with the
> following servlet code for example:
>
> public void init() throws ServletException {
>boolean initOk = false;
Hi,
You could also eliminate the mix & match and add a finally, with the
following servlet code for example:
public void init() throws ServletException {
boolean initOk = false;
mytimer = new Timer("__test__");
try {
TimerT
> From: roberto calosino [mailto:devn...@web.de]
> Subject: Re: Stopping a Timer in contextDestroyed() to avoid memory
> leaks results in a NullPointerException
>
> "You can optionally also let your servlet both extend
> HttpServlet and implement ServletContextListener"
> It is also said that "it
I did as you suggested below. I removed SCMIS virtual website from within the
jakarta virtual website and I got this in the log:
[Wed May 26 14:00:09.271 2010] [3036:4236] [debug] jk_isapi_plugin.c (1835):
Filter started
[Wed May 26 14:00:09.271 2010] [3036:4236] [debug] jk_uri_worker_map.c (10
Hi,
thank you for your reply.
First I'd like to say that I do implement ServletContextListener at all
beacause destroy() fires after the tomcat warnings.
That being said, on this website:
http://stackoverflow.com/questions/2255884/jython-and-implementing-httpservlet-contextinitialized
is writ
On 26/05/2010 19:43, devn...@web.de wrote:
> Hi,
>
> Thanks for reading this.
>
> I am developing a webapp and do not understand the following:
> In my app, I create a Timer when the servlet starts.
> When tomcat stops, I try to stop the timer in order to avoid memory leaks.
>
> My question is:
Hi,
Thanks for reading this.
I am developing a webapp and do not understand the following:
In my app, I create a Timer when the servlet starts.
When tomcat stops, I try to stop the timer in order to avoid memory leaks.
My question is: why do I get a NullPointerException while trying to access
m
On 26.05.2010 19:53, Savoy, Melinda wrote:
Ranier - thanks for the reply.
1. I just tried this again, but I set all 3 (Default Website, jakarta virtual
website and SCMIS virtual website) to Windows Authentication checked and
Anonymous access unchecked and I was prompted with a login dialog bo
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: set-cookie
>
> > Thread.currentThread().dumpStack();
>
> Or the more traditional:
>
> new Throwable("Stack Dump").printStackTrace();
And if we look inside java.lang.Thread, we find:
public static void dump
On Wed, May 26, 2010 at 2:04 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chuck,
>
> On 5/24/2010 3:55 PM, Caldarale, Charles R wrote:
>>> From: banto [mailto:banto...@gmail.com]
>>> Subject: Re: set-cookie
>>>
>>> i´m using something like
>>> System.out.pri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 5/24/2010 3:55 PM, Caldarale, Charles R wrote:
>> From: banto [mailto:banto...@gmail.com]
>> Subject: Re: set-cookie
>>
>> i´m using something like
>> System.out.println(Thread.currentThread().getStackTrace());
>
> What you got was a displa
Ranier - thanks for the reply.
1. I just tried this again, but I set all 3 (Default Website, jakarta virtual
website and SCMIS virtual website) to Windows Authentication checked and
Anonymous access unchecked and I was prompted with a login dialog box. I could
not get authenticated and then I
Dave - looks like I just posted something for you to try in your
JavaRanch forum thread...
Basically, it looks like having a committed response (you've said that
your original JSP was partially rendered) can interfere with the error
page mechanism. For testing purposes, try increasing the page buf
I tried your suggestion, and sadly it didn't work.
What is the difference between what the errorPage directive does and what
the web.xml error-page clause does? - Dave
dcherk wrote:
>
> Dave:
>
> I believe you need a fully-qualified class name for the exception, eg:
>
>java.lang.Except
On 26.05.2010 18:30, Savoy, Melinda wrote:
Trying again to see if I can respond to Andre's question regarding what my
directory structure is in order to help me determine where I've gone wrong in
my setup and why I'm not getting the auth and user values in the request that
is being forwarded t
Trying again to see if I can respond to Andre's question regarding what my
directory structure is in order to help me determine where I've gone wrong in
my setup and why I'm not getting the auth and user values in the request that
is being forwarded to my Tomcat server. I can connect via the To
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> When you have a config like the OP, where each host
> is defined by name, not IP, in the server.xml, there
> is obviously some resolution of IP to name that has
I am adding the following cluster element to for vertical
cluster and to for horizontal cluster for development.
I started configuring mod_proxy_ajp and have some problem to configure,
so I may post another question later.
Anyway, for vertical cluster, we have setup DNS round robbing for lo
On 26.05.2010 16:38, Rainer Jung wrote:
On 26.05.2010 14:49, Caldarale, Charles R wrote:
From: Leon Kolchinsky [mailto:lkolc...@gmail.com]
Subject: Tomcat died on "java.lang.OutOfMemoryError: requested
2147483664 bytes for Chunk::new. Out of swap space?" message
Yesterday I've got this error in
> From: Rainer Jung [mailto:rainer.j...@kippdata.de]
> Subject: Re: Tomcat died on "java.lang.OutOfMemoryError: requested
> 2147483664 bytes for Chunk::new. Out of swap space?" message
>
> Option 1: Use the client Hot Sopt compiler (Add "-client" when
> starting the JVM).
Usually not available o
Dave:
I believe you need a fully-qualified class name for the exception, eg:
java.lang.Exception
/error-pages/500.jsp
Good luck,
--
Dave Cherkassky
VP of Software Development
DJiNN Software Inc.
On 26/05/2010 10:34 AM, laredotornado wrote:
Hi,
I'm running Tomcat 6.0.26 on Mac 10.
On 26.05.2010 14:49, Caldarale, Charles R wrote:
From: Leon Kolchinsky [mailto:lkolc...@gmail.com]
Subject: Tomcat died on "java.lang.OutOfMemoryError: requested
2147483664 bytes for Chunk::new. Out of swap space?" message
Yesterday I've got this error in catalina.out and Tomcat died (I'm
attach
Hi,
I'm running Tomcat 6.0.26 on Mac 10.6.3. I have this in my WEB-INF/web.xml
file ...
Exception
/error-pages/500.jsp
but when I create a JSP page with
<%= Integer.parseInt("aaa") %>, halfway down the page, I don't get
redirected to my error
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, May 25, 2010 4:47 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0 always uses default host in multi-host config
>
> > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> >
I am the person who reported occasional but persistent abrupt terminations
of the 1.6 JVM on levels 6u10 and above. I did go back to 6u7 and the
application has run without a burp for three months. I had tested
6u18/6u19, both of which produced the same result. I am getting ready to
start te
Just to follow up. Same failure happens on Tomcat RC3.
n828cl wrote:
>
>> From: John Wu [mailto:johnwu@gmail.com]
>> Subject: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method
>> invocation, such as
>> "#{helloWorldController.doSomething(helloWorldModel)}"
>>
>> I tried to use JSF 2.
> From: Caldarale, Charles R
> Subject: RE: Tomcat died on "java.lang.OutOfMemoryError: requested
> 2147483664 bytes for Chunk::new. Out of swap space?" message
>
> The current JVM version is 6u20, so you might want to try running with
> that before filing a bug report or expanding the swap file.
On 26/05/2010 11:15, Rainer Jung wrote:
> On 26.05.2010 11:48, Pid wrote:
>> On 26/05/2010 04:08, Leon Kolchinsky wrote:
>>> Hello
>>>
>>> I've installed Tomcat 6.0.26
>>> and running Confluence software on it.
>>> I think that maximum 2 concurrent users using this application in at
>>> this stage
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com]
> Subject: Tomcat died on "java.lang.OutOfMemoryError: requested
> 2147483664 bytes for Chunk::new. Out of swap space?" message
>
> Yesterday I've got this error in catalina.out and Tomcat died (I'm
> attaching hs_err_pid5460.log file):
This is
On 24/05/2010 00:36, Okubo, Yasushi (TSD) wrote:
> Hi
>
> I would like to enable singlesignon on vertical cluster environment
> [multi-nodes on multiple hosts].
>
> We are using clustersinglesignon under host element, and this works in
> horizontal cluster, but does not work in vertical cluster e
On 24/05/2010 21:54, ago...@libero.it wrote:
> Thanks for suggestion.
>
> But i have win2008 with dual quad core processor, 4GB ram. The CPU usage is
> to 5% and ram is used to the 75% when error occours.
So the server isn't under load.
> What block the reload time of page (in presence of er
On 26.05.2010 11:48, Pid wrote:
On 26/05/2010 04:08, Leon Kolchinsky wrote:
Hello
I've installed Tomcat 6.0.26
and running Confluence software on it.
I think that maximum 2 concurrent users using this application in at
this stage (testing now).
Yesterday I've got this error in catalina.out an
Am Wed, 26 May 2010 13:08:23 +1000
schrieb Leon Kolchinsky :
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # java.lang.OutOfMemoryError: requested 2147483664 bytes for
> Chunk::new. Out of swap space?
Without knowing the application I would strongly estimate that it i
On 26/05/2010 04:08, Leon Kolchinsky wrote:
> Hello
>
> I've installed Tomcat 6.0.26
> and running Confluence software on it.
> I think that maximum 2 concurrent users using this application in at
> this stage (testing now).
>
>
> Yesterday I've got this error in catalina.out and Tomcat died (I'
On 25.05.2010 23:16, Bob Jewell wrote:
mod_jk 1.2.28, apache 2.2.3 (-43.el5)
When viewing status in the JK Status Manager, our list of URI Mappings displays
all the mappings accurately, but the statistical/informational values are all
empty.
Server URI Match Type Source Reply Time
62 matches
Mail list logo