I am sorry. The methods setA() and getA() are static, Rest everything remains
same.
Regards
Ajay Garg
java_is_everything wrote:
>
> Hi all.
>
> I have placed two applications in the webapps folder, and calling a class,
> say 'x.java' placed in tomcat's shared folder. x.java is of the followi
Hi all.
I have placed two applications in the webapps folder, and calling a class,
say 'x.java' placed in tomcat's shared folder. x.java is of the following
config :
public class
Hi all,
Is the class "org.apache.catalina.cluster.tcp.ReplicationListener"
present in Tomcat 6.0. When i used it, the server is throwing
'ClassNotFoundException". The documentation "java doc" also is not
displaying it. Please help me
Thank you
Hello all,
What exactly i need is the transfer of the session values held in
the tomcat1's session to tomcat2, in the event of the tomact1's crash or
shutdown.
The object that is retrieving values from session is 'Serialized' as
specified in the tomcat documentation for clustering
The scena
for your connector element you must have
protocol="org.apache.coyote.http11.Http11NioProtocol"
or
protocol="org.apache.coyote.http11.Http11AprProtocol" (and the APR and
tcnative libraries in your PATH/LD_LIBRARY_PATH)
Filip
Joe Walker wrote:
Hi,
It looks like servlet spec 3 is wy off. S
the error 'Connection reset by peer' can happen to a regular servlet as
well, and is not specific to Comet.
you will need to handle any errors where clients disconnect (as they are
allowed to) in your application, regardless if you write comet or
regular servlets.
for the error
'org.apache.coy
I've been observing similar behavior. I think there is actually a bug in
either apache mod_proxy or tomcat.
Here is what happens:
Sometimes and I'm not quite sure what condition triggers this in
apache_proxy, apache_proxy modifies the cookie value by adding the name of
the worker server so a coo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave wrote:
| In a same web browser instance, if a user visits a.mydomain.com, then
click b.mydomain.com in the page, the new page will be a different session.
|
| For cookie based session tracking, how to configure domain-level ?
|
| that is ,
I just checked the documentation on the website and the changes look
great.
Thanks for the quick update.
- Mike
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 4:10 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS - I almost have it workin
Eric Dalquist schrieb:
We are seeing a similar problem.
We have Apache 2.2.6 using prefork connecting to Tomcat 5.5.23 via mod_jk
1.2.25
We see infrequent issues with requests getting swapped from request to
Tomcat. After the first time it was reported we added Tomcat access logging
to try and
On 16 Jul 2008 at 13:41, Vinod Nagarajan wrote:
Date sent: Wed, 16 Jul 2008 13:41:09 -0700
From: Vinod Nagarajan <[EMAIL PROTECTED]>
Subject:mod_jk configuration issue
To: users@tomcat.apache.org
Send reply to: Tomcat Users List
> Hi,
>
> I am kind of new to tomcat and apach
We are seeing a similar problem.
We have Apache 2.2.6 using prefork connecting to Tomcat 5.5.23 via mod_jk
1.2.25
We see infrequent issues with requests getting swapped from request to
Tomcat. After the first time it was reported we added Tomcat access logging
to try and help figure out the prob
I have jsp that started giving me this error when I added another mundane
else if clause to a long section of such clauses:
Generated servlet error:
Syntax error, insert "}" to complete Block
Generated servlet error:
Syntax error on token "}", delete this token
Generated servlet error:
Syntax er
On Wed, Jul 16, 2008 at 10:55 AM, Jonathan Mast
<[EMAIL PROTECTED]> wrote:
> I thought a forward would require the same type of individual parameter
> extraction and rebuilding.
>
> Please let me know how to do this in bulk.
Not sure what you mean by "in bulk"; here's a simple example:
String t
Hi,
I am kind of new to tomcat and apache.
I have configured Apache2 ( on port 80) and Tomcat 6 (on port 8080) on my
linux machine (ubuntu 8.04) and both work fine on its own.
I am trying to get the Apache forward the jsp requests to tomcat and get it
serviced by tomcat.
I just went through the
Michael Dubno schrieb:
Thanks for the help!
The problem was a missing step in the configuration document
(http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html )
which I found in http://www.cflex.net/showFileDetails.cfm?ObjectID=296)
-
Next add a Web Service Extension. This needs to
On Mon, Jul 7, 2008 at 8:43 AM, Piller Sébastien <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have my application in production for a month now. I've some problem of
> memory leak that force me to restart TC each few days.
Or, you know, you could fix the actual problem - the memory leak.
Go get you
Thanks for the help!
The problem was a missing step in the configuration document
(http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html )
which I found in http://www.cflex.net/showFileDetails.cfm?ObjectID=296)
-
Next add a Web Service Extension. This needs to be done manually
because
Hello All,
So I have a piece of code that writes something out to the
ServletOutputStream associated with a Comet Event, flushes the stream,
and then calls cometEvent.close() in response to an END event. This
whole process in synchronized. Today while attempting to flush the
stream, an exception w
I have tomcat 6.0.16 on linux installed for webfocus
the wfs installation requests a context approot for the applications - this
has been done
this directory contains subdirectories and below these files
when in wfs opening the dashboard, we see all the subdirectories, opening
these show the files
I thought a forward would require the same type of individual parameter
extraction and rebuilding.
Please let me know how to do this in bulk.
Thanks.
On Wed, Jul 16, 2008 at 12:27 PM, Hassan Schroeder <
[EMAIL PROTECTED]> wrote:
> On Wed, Jul 16, 2008 at 9:13 AM, Jonathan Mast
> <[EMAIL PROTECT
Hi,
I have an application running on apache web server. The goal of this app
is to ensure the app is available for the intranet users and also some
non intranet users(guests).
So I need to redirect the user to login each time they hit the
application URL. For example if the user is within t
On Wed, Jul 16, 2008 at 9:13 AM, Jonathan Mast
<[EMAIL PROTECTED]> wrote:
> This page redirects via response.sendRedirect(). I want to know how I can
> forward every parameter onto the redirect page, without having to extract
> each one individually and rebuilding them in the url I place into
> s
> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
> I have a page which now receives quite a few parameters, eg.
> page.jsp?abc=foo&xyz=bar ...
>
> This page redirects via response.sendRedirect(). I want to
> know how I can
> forward every parameter onto the redirect page, without
> having to extrac
I have a page which now receives quite a few parameters, eg.
page.jsp?abc=foo&xyz=bar ...
This page redirects via response.sendRedirect(). I want to know how I can
forward every parameter onto the redirect page, without having to extract
each one individually and rebuilding them in the url I plac
tomcat tom wrote:
scenarion
client sends a http request to tomcat
nos, is there anytime tomcat sends a response without parsing the header at
all
No.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscr
Thanks Rainer. If I want to explicitly pass an environment variable from
the httpd to the tomcat, I am using the RequestHeader, JkEnvVar, Setenv but
unable to have them as it is passed in the tomcat... how do I go about
that?
While I am completely convinced to use getRemoteUser() method only for
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Hirschi
> Subject: Tomcat does not start after update
>
> Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my
> MacOSX Server 10.4.11. There comes always the followed message into
> catalina.out:
Make sure the CLASSPATH
On Wed, Jul 16, 2008 at 1:54 PM, quikpak <[EMAIL PROTECTED]> wrote:
> i dont want tomcat mails hereafter because im not a member...
You need to read the unsubscribe instructions at the bottom of every mail
-
> To start
> From: vibhuti [mailto:[EMAIL PROTECTED]
> Subject: RE: Setting context in tomcat6
>
> why is it that in tomcat5 we define a context descriptor
> file myapp.xml in /tomcat/conf/Catalina/localhost folder
> and a default context could be set but in tomcat6 it
> doesn't work.
Depends on what you mea
On Wed, Jul 16, 2008 at 6:18 AM, Marcos <[EMAIL PROTECTED]> wrote:
> Somebody knows how can i setup the timeout for websession variables in tomcat
> 5.5 ?
> i know i can change this in .xml configuration file, but, i want to do it
> by program, script or something ?
> Is it possible ?
See the Ser
On Wed, Jul 16, 2008 at 5:42 AM, Ken Bowen <[EMAIL PROTECTED]> wrote:
> On Jul 16, 2008, at 8:20 AM, David Smith wrote:
>
>> I don't think "1000*60" is a valid expression for
>> timeBetweenEvictionRunsMillis -- at least I've never tried putting math
>> expressions where an integer constant should
Really? I mean, we already have mod_jk setup and all, it's just that we zip
the files up server side and when that's all finished, we send the file on down
via the response's output stream. I tried modifying our servlet last night to
construct the ZipOutputStream from the response's output str
Hi
Somebody knows how can i setup the timeout for websession variables in tomcat
5.5 ?
i know i can change this in .xml configuration file, but, i want to do it
by program, script or something ?
Is it possible ?
thanks.
-
To st
i dont want tomcat mails hereafter because im not a member...
- Original Message -
From: "Joe Walker" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, July 16, 2008 3:03 PM
Subject: Re: Embedded Tomcat
> Thanks for the reply - I've been doing some digging into where t
David:
On Jul 16, 2008, at 8:20 AM, David Smith wrote:
I don't think "1000*60" is a valid expression for
timeBetweenEvictionRunsMillis -- at least I've never tried putting
math expressions where an integer constant should be. It should be
set to 6.
I just copied part of the expressi
On Wed, Jul 16, 2008 at 3:22 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
> Nikhil schrieb:
>
> On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung <[EMAIL PROTECTED]>
>> wrote:
>>
>> To repeat two of my questions:
>>>
>>> What do you expect to be the value of the 'REMOTE_USER' variable?
>>>
>>> Do you e
I don't think "1000*60" is a valid expression for
timeBetweenEvictionRunsMillis -- at least I've never tried putting math
expressions where an integer constant should be. It should be set to
6. Also are you keeping your connections in code or closing them
when finished? They should be cl
There are 373 threads from the http connector pool at port 8180 (what's the
configuration of this connector in server.xml?)
The configuration is :
What exactly do you mean by "hanged"?
We have a C++ client that send requests to this port. In a normal situation
Tomcat read the request a
Unfortunately, overnight produced the same Exception, even with the
settings described.
Any other thoughts anyone?
--Ken
On Jul 15, 2008, at 12:34 PM, Ken Bowen wrote:
Definitely a plan. I put the following in my context.xml:
validationQuery="select 1"
testWhileIdl
Thanks for the explanation, Rainer. Fine, I am going with using the method
only then...
Regards,
Nikhil
On Wed, Jul 16, 2008 at 3:22 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
> Nikhil schrieb:
>
> On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung <[EMAIL PROTECTED]>
>> wrote:
>>
>> To repeat two of
Hi,
It looks like servlet spec 3 is wy off. So I'm creating a implementation
of CometProcessor in DWR.
I've created a new CometProcessor like this:
public class DwrCometProcessor extends DwrServlet implements CometProcessor
But the event() method is not called. It just leaps straight to serv
Nikhil schrieb:
On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
To repeat two of my questions:
What do you expect to be the value of the 'REMOTE_USER' variable?
Do you expect something else, than what you get from
request.getRemoteUser()?
After I understand that, we c
Olivier Fourel schrieb:
Hello all,
our Tomcat production server hanged again.
We made 2 thread dumps with few minutes between them.
I used TDA but didn"t find any clear reason for the Tomcat state which
stop answering request. In fact, It opens more and more socket without
release them and fr
I tried using both getAttribute methods and getHeaderNames/getHeaders
methods but unfortunately the variables are set to null
On Wed, Jul 16, 2008 at 2:01 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Nikhil wrote:
>
>> On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung <[EMAIL PROTECTED]>
>> wrote:
>
Bajbutovic, Zoran schrieb:
You mean the number of threads inside Tomcat?
We use prefork mod_jk, so basically it is not the number of
threads but rather the number of processes created by Apache. When the
number of processes (client connections) on Apache side reaches 252,
mod_jk cannot g
On Wed, Jul 16, 2008 at 2:52 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
>
> To repeat two of my questions:
>
> What do you expect to be the value of the 'REMOTE_USER' variable?
>
> Do you expect something else, than what you get from
> request.getRemoteUser()?
>
> After I understand that, we can f
Thanks for the reply - I've been doing some digging into where the NPE
happens, and while I'm sure it has something to do with my Embedded setup
(it works just fine when I point a full Tomcat at the war file using a
Context file), there are other things I need to look at, which are nothing
to do wi
Hi
Since a Java or a MacOSX update, my Tomcat 6.0.14 does not start on my
MacOSX Server 10.4.11. There comes always the followed message into
catalina.out:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/digester/Rule
at java.lang.Class.getDeclaredConstructors0(Nati
Nikhil schrieb:
On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
What do you expect to be the value of the 'REMOTE_USER' variable? Do you
expoect something else, than what you get from request.getRemoteUser()? What
do you mean by variable? Maybe an httpd environment Varia
Nikhil wrote:
On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung <[EMAIL PROTECTED]>
wrote:
What do you expect to be the value of the 'REMOTE_USER' variable? Do you
expoect something else, than what you get from request.getRemoteUser()? What
do you mean by variable? Maybe an httpd environment Variabl
> From: Toby White [mailto:[EMAIL PROTECTED]
> The application uses Cyrillic characters. If I use the
> windows-based tool everything is shown OK.
Which Windows-based tool, doing what? An example answer would be "Notepad,
opening the source of a page in the expanded version of my WAR".
> If I u
>
>
>>> The only thing I found suspicious is that PermGen is at 99% in both of
>>> them.
>>
>> What should be, accoring to your experience, a correct permgen size ?
> (You also have a tonne of non-Tomcat threads running around, but none
>>> appear hung; I presume your webapps created these and w
If anyone could clarify one doubt, that why is it that in tomcat5 we define
a context descriptor file myapp.xml in /tomcat/conf/Catalina/localhost
folder and a default context could be set but in tomcat6 it doesn't work.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent:
I would like to give precision :
Only one connector is hanged when the problem occurs. the 8180.
The other connectors handle request properly.
Could it be that the connector is stuck in garbage tasks ?
>
>
>
>
>
> On Wed, Jul 16, 2008 at 4:38 AM, Caldarale, Charles R <
> [EMAIL PROTECTED]> wr
Thank you a lot for your analyze and your help.
I will study the link you gave.
If it is a memory link problem, I assume we could easily reproduce the
problem with a script that would generate a lot of load on our serveur.
In such a case, we could in few minutes reproduce the case.
What do you th
56 matches
Mail list logo