Hello Abhishek,
if you open a new window in a browser (except internet explorer with
setting start new window in new process = on) your new window belongs
to the same process as the old window, sharing all the states,
including session cookies. So both windows are tied to the same
session.
If you
Thank you very much.
All works fine, tomcat 6.0.14 have been rebuild
This is my last question ...
Where can I get tomcat-dbcp.jar, which URL ? (to rebuild tomcat, i had to
retrieve it from the binary distrib.)
Thank you
JLZ
> Message du 26/06/08 00:28
> De : "Rainer Jung"
> A : "Tomcat Use
hi every one,
i have a jsp page, once the user logged in iam creating a session in
the jsp page.When the user logged out iam invalidating the session.
when two users logged in, and if one user logged out, the other user
session is also getting invalidated.I dont want this to happen i.e.
evethough
Hi all,
Can you tell me the impact of using following commands in a java program in
tomcat?
Will they take more memory?
Will they take time to release memory?
Is there any other way we can call? to find best way
print statments on the child perl will affect the parent tomcat?
Invoking perl pro
Oscar wrote:
We used BlazeDS's publish/subscribe feature to implement server-side PUSH.
However, we found it didn't work well with NIO, CPU wasn't stable, What's
even worse, CPU will constanly be 99.9%.
The system worked well with APR.
Is this just with Tomcat or did you investigate with somet
We used BlazeDS's publish/subscribe feature to implement server-side PUSH.
However, we found it didn't work well with NIO, CPU wasn't stable, What's
even worse, CPU will constanly be 99.9%.
The system worked well with APR.
We're looking into NIO-related code in tomcat's latest codebase.
Anybody k
> From: dylanmac [mailto:[EMAIL PROTECTED]
> Subject: Re: Multiple development sites using different ports
>
> I looked at name-based virtual hosts and couldn't get it
> working.
What did you try and what didn't work? Be specific.
Did you read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/vir
On Thu, Jun 26, 2008 at 4:58 PM, dylanmac <[EMAIL PROTECTED]> wrote:
>
> I looked at name-based virtual hosts and couldn't get it working. Moreover
> all of the documentation says I need to configure the DNS properly for
> name-based virtual hosting to work. Where do I do that?
If this is only f
I looked at name-based virtual hosts and couldn't get it working. Moreover
all of the documentation says I need to configure the DNS properly for
name-based virtual hosting to work. Where do I do that?
Thanks.
Hassan Schroeder-2 wrote:
>
> On Thu, Jun 26, 2008 at 11:08 AM, dylanmac <[EMAIL P
Thanks for your response. Unfortunately I am pretty green about all this and
it doesn't make a lot of sense to me.
When you say "better off using paths that are relative to the context root"
do you mean I shouldn't be using root-relative? What tools are available
that will help me do this in
> As Filip points out, setting java.library.path is a better strategy.
I'll do that. Thanks for your help everyone.
Cheers.
Phil.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
- Original Message -
From: "Johnny Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, June 26, 2008 3:15 PM
Subject: Re: multiple instances and context roots
- Original Message -
From: "tom_goring" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 26, 2008 12:0
Ken Bowen wrote:
Hi All,
I'm working on a project which has developed a need to push data from
the server to browsers.
In the short term, the numbers of browsers will be moderate, but in
the long term, it appears
that we will need to scale up to very large numbers, so the 'one
thread per conn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
I don't know anything about the use of NIO or server-side push, but...
Ken Bowen wrote:
| 2) Is there any analogue of Jetty 6 Continuations available in Tomcat?
| They sound like a good mechanism
| for this problem. Does anyone on the list hav
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
dylanmac,
dylanmac wrote:
| The reason this matters to me is because I like running my sites as
| root-relative. That way I can reference images, files, etc as, for
example,
| /images/logo.png rather than having to traverse the directory
structure v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Philip,
Philip Wigg wrote:
| Fixed - Had to add:-
|
| export LD_LIBRARY_PATH=/usr/local/apr/lib
You might not want to change the LD_LIBRARY_PATH from the default. It
may be set to something important on your system.
As Filip points out, setting jav
ttcse wrote:
In my conf/server.xml I have this for the virtual host...
This host/context configuration is invalid. The appBase should be
"webapps", the directory "zzz" renamed to "ROOT" and the context element
above removed completely.
Mark
I've got a new JSF based webapp (Tomcat 6.?, Tomahawk-1.1.6, JSF 1.2, Java EE
5 SDK) which functions properly when using my http://PrimaryDomain/zzz url
to access my webapps/zzz application.
All components of the application are placed under 'webapps/zzz'. It's not
in a war.
However, after suc
Hi All,
I'm working on a project which has developed a need to push data from
the server to browsers.
In the short term, the numbers of browsers will be moderate, but in
the long term, it appears
that we will need to scale up to very large numbers, so the 'one
thread per connection' issues
On Thu, Jun 26, 2008 at 11:08 AM, dylanmac <[EMAIL PROTECTED]> wrote:
>
> I'd like to configure Tomcat so that I can run multiple dev websites as root
> relative and distinguish them via port numbers. In order words, I'd like to
> run http://localhost:8080/index.jsp and have that be a different si
Mark H. Wood wrote:
On Thu, Jun 26, 2008 at 05:23:15PM +0200, André Warnier wrote:
And I presume that mod_jk does pass the information about the virtual host
name, right ?
It certainly appears so. I have a host with a single HTTPD in front
of a single Tomcat which defines three vhosts, and
Tyler DeWitt wrote:
I was curious if anybody knew of some software that tracked the memory
and cpu usage of each servlet that was running on a Tomcat instance. I am
looking to be able to say "Servlet A is using 2%CPU and 10 mb of heap and
Servlet B is using 2% CPU and 200 mb of heap." I nee
John Cartwright wrote:
Hello All,
I have a very simple doPost method that reads the body of a POST
request. Seems to work fine on 6.0.14 but consistently fails to read
the body correctly in 6.0.16. Can someone help me with what's wrong here?
https://issues.apache.org/bugzilla/show_bug.cgi?
I'd like to configure Tomcat so that I can run multiple dev websites as root
relative and distinguish them via port numbers. In order words, I'd like to
run http://localhost:8080/index.jsp and have that be a different site (using
a different directory) than http://localhost:9800/index.jsp
The re
yes, its a bug, and will be fixed in 6.0.17, I think its bug 44494
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
Filip
John Cartwright wrote:
Hello All,
I have a very simple doPost method that reads the body of a POST
request. Seems to work fine on 6.0.14 but consistently fails t
On Thu, Jun 26, 2008 at 05:23:15PM +0200, André Warnier wrote:
> And I presume that mod_jk does pass the information about the virtual host
> name, right ?
It certainly appears so. I have a host with a single HTTPD in front
of a single Tomcat which defines three vhosts, and the traffic is
routed
this would be the web server shutting down the connection,
if you are using mod_jk, look at your mod_jk logs (or post them)
together with your workers.properties settings
Filip
Milan Cvejic wrote:
Hello, i am getting weird warning... this is a part from log file...
This warning is happening o
you can also do this by setting
-Djava.library.path=/usr/local/apr/lib
Filip
Philip Wigg wrote:
Fixed - Had to add:-
export LD_LIBRARY_PATH=/usr/local/apr/lib
to my startup.sh.
2008/6/26 Philip Wigg <[EMAIL PROTECTED]>:
Hi,
I believe I've enabled APR on my Tomcat installation. I can a
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Tyler DeWitt
> Subject: Individual servlet statistics
>
> I was curious if anybody knew of some software that
> tracked the memory and cpu usage of each servlet that
> was running on a Tomcat instance.
You can't directly get memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
| Is it valid to use the 5.1 JDBC driver with the 4.1 server?
Yeah. The driver and server negotiate the capabilities at connection
time. Connector/J is pretty good about that -- it's mix-and-match ;)
|> url="jdbc:
Thanks Peter!
That information is really useful. Just FYI, I'm working on extending
the GlassBox Inspector (which does just what you say and monitors individual
requests). I'm using the new Instrumentation package in Java 6 to find
object sizes, just the integration of all these aspects is a
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I was curious if anybody knew of some software that
> tracked the memory
> and cpu usage of each servlet that was running on a Tomcat
> instance.
Unfortunately, as all the servlets run on a common JVM and using a common heap,
there is no w
Hello all,
I was curious if anybody knew of some software that tracked the memory
and cpu usage of each servlet that was running on a Tomcat instance. I am
looking to be able to say "Servlet A is using 2%CPU and 10 mb of heap and
Servlet B is using 2% CPU and 200 mb of heap." I need to be abl
> From: John Cartwright [mailto:[EMAIL PROTECTED]
> Subject: reading POST body fails on 6.0.16, works on 6.0.14
>
> Seems to work fine on 6.0.14 but consistently fails to read
> the body correctly in 6.0.16.
So what does it do? You've got all those print statements in your code - what
do they sh
> From: Caldarale, Charles R
> Subject: RE: Mapping question
>
> There's an AJP attribute that appears to be relevant:
There's also an outstanding bug report that might impact the scenario:
https://issues.apache.org/bugzilla/show_bug.cgi?id=36155
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDE
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Mapping question
>
> And I presume that mod_jk does pass the information about the virtual
> host name, right ?
I can't say, since I don't use httpd.
There's an AJP attribute that appears to be relevant:
"useIPVHosts - Set this attr
Hello All,
I have a very simple doPost method that reads the body of a POST
request. Seems to work fine on 6.0.14 but consistently fails to read
the body correctly in 6.0.16. Can someone help me with what's wrong here?
Thanks!
-- john
protected void doPost(HttpServletRequest request,
Caldarale, Charles R wrote:
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Mapping question
Note that having httpd in front of Tomcat isn't really pertinent to this
question.
True. It's just that this is my current setup, and I got intellectually
channeled by that (and by the op
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Mapping question
>
> Is it possible in Tomcat to define two virtual s who would share
> the same webapp directory ?
I've done it, just to see that it works, but can't say I've carried out any
serious testing with such a configuration. Th
Hi.
Below is a question sent to the httpd users list, as a context for my
own question :
Suppose I have the same front-end scenario as described below for
Apache, and have one single Tomcat server behind it.
Is it possible in Tomcat to define two virtual s who would share
the same webapp d
then I would leave it running without a filter, the difference is
negligible, so that way you run error free
Filip
Milan Cvejic wrote:
Unfortunately i don't have test case... Can you suggest me some way so
i can
make test case, and give results back to you.
Interesting thing is that if fil
> From: Caldarale, Charles R
> Subject: RE: Tomcat: JNDI and Google Webtoolkit
>
> Is it valid to use the 5.1 JDBC driver with the 4.1 server?
Scratch that question - I see from the Connector/J doc that 5.1.6 does work
with a 4.1 server.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND
Using jmeter with more than 200 threads the messages "GRAVE: All threads
(200) are currently busy, waiting.
Increase maxThreads (200) or check the servlet status" appeared before
adjusting the parametres
Now it works.
On Thu, Jun 26, 2008 at 2:19 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote
> From: nabruphonic [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat: JNDI and Google Webtoolkit
>
> I moved the driver to the common-directory. Unfortunately it
> still does not work.
I doubt that whatever error message you're getting says "does not work"; you
need to be specific. Look in the To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom,
tom_goring wrote:
| https://www.myserver.com/dev/MYAPP/hello.jsp
| https://www.myserver.com/test/MYAPP/hello.jsp
|
| I.e. I want to know where I can set dev/test, etc.
|
| I don't really want to change the application.xml (context-root) for each
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
nabruphonic,
nabruphonic wrote:
| I moved the driver to the common-directory. Unfortunately it still
does not
| work. In my Java-Code, do I have to write only the following code to
connect
| with the connection pool?
| Code:
|
| InitialContext ctx =
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Tomcat and jar loading
>
> Are the references to all jar files in common\lib and
> shared\lib loaded on server startup?
Not sure what you mean by "references" in the above. Regardless, each
classloader creates its classpath from the
- Original Message -
From: "tom_goring" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 26, 2008 12:09 PM
Subject: multiple instances and context roots
Hi,
I've posted this on the jboss forum but had no response... it's really a
tomcat question.
jboss-4.2.2 (not sure of the tomcat v
Hi,
I have a brief question regarding the way tomcat loads jar files.
Are the references to all jar files in common\lib and shared\lib loaded on
server startup?
I know classes are loaded once they are requested, but I added a new jar
file that was never there before (so no classes were loaded)
> From: Mark Thomas [mailto:[EMAIL PROTECTED]
> Subject: Re: [Logging] Tutorial Contribution
>
> > > You have to build with a 1.5 JDK because of some API-breaking
> > > changes to the JDBC interfaces.
> >
> > Could you elaborate on that? Or point us to a bugzilla entry?
>
> https://issues.apache.o
> From: Philip Wigg [mailto:[EMAIL PROTECTED]
> Subject: Enabling APR
>
> I believe I've enabled APR on my Tomcat installation.
Should we try to guess the version of Tomcat you're using, or would you care to
tell us? The OS and JDK/JRE version would also be useful.
> I can add the additional op
Fixed - Had to add:-
export LD_LIBRARY_PATH=/usr/local/apr/lib
to my startup.sh.
2008/6/26 Philip Wigg <[EMAIL PROTECTED]>:
> Hi,
>
> I believe I've enabled APR on my Tomcat installation. I can add the
> additional options for my connectors that APR allows without Tomcat
> complaining so I presu
> From: Michele Mase' [mailto:[EMAIL PROTECTED]
> Subject: Increase maxThreads not work windows env.
>
> 25-giu-2008 16.59.38 org.apache.tomcat.util.threads.ThreadPool logFull
> GRAVE: All threads (200) are currently busy, waiting.
> Increase maxThreads (200) or check the servlet status
Your threa
Hi,
I believe I've enabled APR on my Tomcat installation. I can add the
additional options for my connectors that APR allows without Tomcat
complaining so I presume it's working okay. Is there any other way to
tell?
For example, the documentation says "OS level statistics on memory
usage and CPU
Hi,
I've posted this on the jboss forum but had no response... it's really a
tomcat question.
jboss-4.2.2 (not sure of the tomcat version used)
I have several jboss installs running behind apache using mod_jk (dev, test,
production, etc)
I can't use virtual hosts as all my instances require SS
I've re - started it :)
This worked 4 me:
Changing the maxProcessors value from 0 to 500 worked ...
Maybe is it a small bug?
On Thu, Jun 26, 2008 at 10:48 AM, Oscar <[EMAIL PROTECTED]> wrote:
> Have you restarted tomcat after your modifation?
>
> On Thu, Jun 26, 2008 at 4:21 PM, Michele Mase' <[
Have you restarted tomcat after your modifation?
On Thu, Jun 26, 2008 at 4:21 PM, Michele Mase' <[EMAIL PROTECTED]>
wrote:
> I'm testing a webapp tomcat based and I gives me the following trouble:
> In the stdout log you can read:
>
> 25-giu-2008 16.59.38 org.apache.tomcat.util.threads.Threa
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> It's to keep undesirables, who have been banned, off from a
> social networking site.
How on earth do you identify the undesirables in the first place? For most
users, all they need to do is clear the cookie cache and drop their broadband
co
Hello, i am getting weird warning... this is a part from log file...
This warning is happening over and over... What can cause it?
Jun 26, 2008 10:28:24 AM org.apache.jk.common.ChannelSocket
processConnection
WARNING: processCallbacks status 2
Jun 26, 2008 10:28:59 AM org.apache.jk.core.MsgCont
I'm testing a webapp tomcat based and I gives me the following trouble:
In the stdout log you can read:
25-giu-2008 16.59.38 org.apache.tomcat.util.threads.ThreadPool logFull
GRAVE: All threads (200) are currently busy, waiting. Increase maxThreads
(200) or check the servlet status
...
I've t
Unfortunately i don't have test case... Can you suggest me some way so i can
make test case, and give results back to you.
Interesting thing is that if filter parameter is empty for example:
i don't get any exceptions. In any other case null pointer exceptions occur.
Filip Hanik - Dev Lists wr
Hi,
I moved the driver to the common-directory. Unfortunately it still does not
work. In my Java-Code, do I have to write only the following code to connect
with the connection pool?
Code:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/eco_t
62 matches
Mail list logo