The Tomcat 6 documentation mentions two ways to configure tag pooling (see
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html)
- org.apache.jasper.runtime.JspFactoryImpl.USE_POOL=true via the System
properties
- Set enablePooling to true in web.xml
Are these two setting doing the same thi
Rémy Maucherat wrote:
On 4/27/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
> GET parameters, ie parameters in the URL will work.
> However, using Comet you shouldn't rely on parameters in the body, the
> body if for you usage, and your usage alone.
Seems to me that this is a pretty common u
"Rashmi Rubdi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 4/27/07, Si'mon <[EMAIL PROTECTED]> wrote:
>>
>> For development boxes, I want tomcat to exit if an exception is thrown in
>> a
>> specific .war (web application). After exiting it will print the
>> exception
>> an
On 4/28/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
The problem is that the socket is added to the poller already within the
Http11AprProcessor.event method.
Due to this the process method can be invoked before the event method
has done it's cleanup.
I don't really understand how it can happ
By searching the archives, it seems that some people have worked
around this issue by having the servlet do this:
InputStream in =
getServletContext().getResourceAsStream("/META-INF/MANIFEST.MF");
Manifest man = new java.util.jar.Manifest(in);
Then, the servlet can access information i
Hello again,
I would like to give you another chance to see the situation where the
processing objects are not recycled.
After all my observations, I had the feeling that the reason for the
non-recycled processing objects must be problems with concurrent access
to queues or maps that hold these o
On 4/27/07, Si'mon <[EMAIL PROTECTED]> wrote:
For development boxes, I want tomcat to exit if an exception is thrown in a
specific .war (web application). After exiting it will print the exception
and not go any further.
Is there any way to do this (configuration) or any way to incorporate thi
It still doesn´t work.
this is what Catalina.out sais:
INFO: Starting Coyote HTTP/1.1 on http-8080
27.04.2007 01:14:44 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
27.04.2007 01:14:44 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/228
config
And you know wot that tells me I better go get some sleep... ha ha
YES... you right, for some reason I thought something, and then tested wrong
and screwed up ;)
Nothing wrong... it works if you test it right... oops
Sorry Salvero... leading you up the garden path...
Leave I you do want to
On 4/27/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
> GET parameters, ie parameters in the URL will work.
> However, using Comet you shouldn't rely on parameters in the body, the
> body if for you usage, and your usage alone.
Seems to me that this is a pretty common use case though with AJA
For development boxes, I want tomcat to exit if an exception is thrown in a
specific .war (web application). After exiting it will print the exception
and not go any further.
Is there any way to do this (configuration) or any way to incorporate this
into the web application?
thanks
Si'mon
--
Hello,
I'm trying to assign different permission to some jsp
pages in my application, but i cant' getting to work.
I'm using tomcat 5.5. My application is in
/home/dev/cc/cc and has 2 folders main and user. I'm
trying to give diffrent permission to the jsps pages
in main and user. In catalina.p
On 4/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
> Subject: Re: how to reload WEB-INF dir?
>
> If the Context node is not required, how will he set the reloadable
> attribute? I couldn't find a similar attribute on other nodes. I guess
> y
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
> Subject: Re: how to reload WEB-INF dir?
>
> If the Context node is not required, how will he set the reloadable
> attribute? I couldn't find a similar attribute on other nodes. I guess
> you mentioned it for the sake of completeness.
(Sorry for th
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
> Subject: Re: how to reload WEB-INF dir?
>
> If the Context node is not required, how will he set the reloadable
> attribute? I couldn't find a similar attribute on other nodes. I guess
> you mentioned it for the sake of completeness.
THIS COMMUN
Thank you Chuck,
I gave a shorter version so that the OP would not get confused with
full details, but you're right it could be possible that the Context
node is defined in /META-INF/context.xml also.
If the Context node is not required, how will he set the reloadable
attribute? I couldn't find
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
> Subject: Re: how to reload WEB-INF dir?
>
> So for your application there has to be a corresponding Context node
> either in server.xml or as {ApplicaitonName}.xml file under
> TomcatFolder/conf/[Engine]/[Host]/
The above is somewhat incomplete.
On 4/27/07, David Smith <[EMAIL PROTECTED]> wrote:
But the code you posted does not create a new DataSource object. It
just gets a reference to an existing one stored in JNDI. Nothing new
about the DataSource object. Note the lack of a new operator.
Good post, thank you for pointing this.
T
Sebastiaan van Erk wrote:
Hi,
* Is it possible, somehow, to end a request asynchronously (that is,
outside the event method)?
Because I keep getting "Out of file descriptor errors" since the END
events come so terribly late after I do the close().
you'd still get "too many open files" errors
On 4/27/07, Srinivas V. <[EMAIL PROTECTED]> wrote:
Thanks for all the responses on this. The basic doubt I had was whether the
JNDI lookup would create a new data-source on each lookup or just return the
previously created one. A number of you had said that the latter was true.
The reason I wasn'
On 4/27/07, Josh Joy <[EMAIL PROTECTED]> wrote:
Hi Rashmi,
I'm confused...so in tomcat 6.0 it reloads if it
detects a change at the
root /WEB-INF rather than solely /WEB-INF/classes or
/WEB-INF/lib ?
Hi Josh,
reloadable is an attributed on the node of your web application.
The basic concept
Thanks for all the responses on this. The basic doubt I had was whether the
JNDI lookup would create a new data-source on each lookup or just return the
previously created one. A number of you had said that the latter was true.
The reason I wasn't sure about that was because I'm creating C3P0
Combo
Hello again,
Here the code i wrote to start embedded tomcat and load a war-file, and
following also the output-console.
Maybe: Does a physical web.xml must exist on the filesystem, as i have none and
use this call ?
Also, in none of all the folders is my web-application extracted as i´m being
Hi Rashmi,
I'm confused...so in tomcat 6.0 it reloads if it
detects a change at the
root /WEB-INF rather than solely /WEB-INF/classes or
/WEB-INF/lib ?
Thanks,
Josh
Rashmi Rubdi wrote:
> On 4/27/07, Josh Joy <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> There is a reloadable attribute that I can set
But the code you posted does not create a new DataSource object. It
just gets a reference to an existing one stored in JNDI. Nothing new
about the DataSource object. Note the lack of a new operator.
--David
Rashmi Rubdi wrote:
On 4/27/07, albrecht andrzejewski <[EMAIL PROTECTED]> wrote:
On 4/27/07, Srinivas V. <[EMAIL PROTECTED]> wrote:
Hello all
I have a question about defining data-sources in tomcat. I have a webapp in
which my servlets need to talk to a DB. This is my current setup:
1) I define data-sources (c3p0 connection pools) using the Resource tag in
my META-INF/conte
On 4/27/07, Josh Joy <[EMAIL PROTECTED]> wrote:
Hi,
There is a reloadable attribute that I can set to true
Yes there is, see
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
to reload if it
detects a change in |/WEB-INF/classes/| and
|/WEB-INF/lib.
My question is, how can I reload
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: IPv6 address in hostname
>
> To elaborate a little more, as soon as I install IPV6 on
> XP SP2 running Tomcat 5.5.17 ALL address's seem to map to
> LOCALHOST and they ALL work.
As they should, since the name attribute on a element
Hi,
There is a reloadable attribute that I can set to true
to reload if it
detects a change in |/WEB-INF/classes/| and
|/WEB-INF/lib.
My question is, how can I reload if I make a change to
files in /WEB-INF
directory?
Thanks,
Josh
|
-
On 4/27/07, albrecht andrzejewski <[EMAIL PROTECTED]> wrote:
>> 3) In my servlet init(), I lookup the data-source. Each lookup essentially
>> instantiates an instance of the data-source. So a connection pool gets
>> instantiated in each servlet's init.
>>
>> Now it doesn't make sense to create a
YES! I have found this to...
To elaborate a little more, as soon as I install IPV6 on XP SP2 running
Tomcat 5.5.17
ALL address's seem to map to LOCALHOST and they ALL work.
ie
BUT if you take them out they all work through LOCALHOST even from a
browser on another machine.
If yo
3) In my servlet init(), I lookup the data-source. Each lookup essentially
instantiates an instance of the data-source. So a connection pool gets
instantiated in each servlet's init.
Now it doesn't make sense to create a new connection pool in each servlet.
So I'd like to create a single connec
|
|
|
Hello everyone,
Thank you very much for the two answers.
I don't know Java servlet enough to make PartsXupdate work
but now I have a way to follow.
I highly recommend reading the servlet spec. There you will see a
servlet extends HttpServlet and overrides one or more of it's methods.
http://jcp.org/en/jsr/de
Hello,
I want load a war-file programmaticly into the embedded tomcat-server.
I made a Project (MyProject.ZIP) which starts the Server. Also a small
web-application as war-file (mynewwar.zip).
The server starts fine, and does so far not complain when loading the
web-applikation war File into th
I don't think you are creating new database pools on each servlet init.
Looks like you are just getting another reference to the DataSource
object that's stored in the JNDI. Can you post the code you use in
servlet.init() to get the DataSource?
--David
Srinivas V. wrote:
Hello all
I have
GET parameters, ie parameters in the URL will work.
However, using Comet you shouldn't rely on parameters in the body, the
body if for you usage, and your usage alone.
Seems to me that this is a pretty common use case though with AJAX
server side push: request, wait, response.
Comet is used to
Not a clue. Might want to ask on a Apache Httpd email list. This one
is for Apache Tomcat
--David
Richard Dunne wrote:
Can anyone tell me what would prevent apache2 server from not updating its last
modified by file index. I am running apache2 and the last modified date is not
updating,
Hello all
I have a question about defining data-sources in tomcat. I have a webapp in
which my servlets need to talk to a DB. This is my current setup:
1) I define data-sources (c3p0 connection pools) using the Resource tag in
my META-INF/context.xml.
2) The web.xml has references these data-sour
Hi,
* Is it possible, somehow, to end a request asynchronously (that is,
outside the event method)?
Because I keep getting "Out of file descriptor errors" since the END
events come so terribly late after I do the close().
you'd still get "too many open files" errors even if it did close
since
Can anyone tell me what would prevent apache2 server from not updating its last
modified by file index. I am running apache2 and the last modified date is not
updating, even when I restart the server.
Richard
__
Do You Yahoo!?
Tired of spam? Yah
SAVERIO FERRARO schrieb:
> But when I put the ipv6 address to access my application, like this:
>
> unpackWARs="true" autoDeploy="true"
>xmlValidation="false" xmlNamespaceAware="false">
>
> Tomcat doesn't work!
What exactly does "Tomcat doesn't work" mean (error message, stacktr
I highly recommend reading the servlet spec. There you will see a
servlet extends HttpServlet and overrides one or more of it's methods.
http://jcp.org/en/jsr/detail?id=154
--David
Luca Sabbio wrote:
Hi, I'm working with Java 1.5.0.06, Tomcat 5.5.16 with Xindice 1.1b4 and Cocoon
2.1.10 dep
Hi all,
I have some problem with tomcat 5.5.17 and IPV6.
It works correctly when I try to access at Manager page with
http://[::1]:8080 and with http://[full ipv6 address]:8080.
But when I put the ipv6 address to access my application, like this:
Tomcat doesn't work!
With IPv4 address it wo
> From: Luca Sabbio [mailto:[EMAIL PROTECTED]
> public class PartsXupdate
extends HttpServlet
> {
...
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi, I'm working with Java 1.5.0.06, Tomcat 5.5.16 with Xindice 1.1b4 and Cocoon
2.1.10 deployed (and working).
I try to run a simple web application based on a servlet that update the
Xindice XML DB
By the command line the PartsXupdate.java is compiled and the
PartsXupdate.class works.
import
Are you measuring throughput ???
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telepho
Sebastiaan van Erk wrote:
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
If the body of the POST request is not present at the time of the
getParameter() call, it returns null even if the parameter value is
set.
Things don't work like this, obviously. Pa
Sebastiaan van Erk wrote:
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
I don't understand why the client does not get an immediate -1 (EOF) on
the read() as soon as I do this. The socket itself does not need to be
closed, but the output stream close should flu
On 4/27/07, Rajiv M <[EMAIL PROTECTED]> wrote:
Is there a testcase/sample app where I can see the difference of
enabling/disabling HTTP compression.
DIY :-)
-Rashmi
-
To start a new topic, e-mail: users@tomcat.apache.org
To u
Thank you!
Is there a testcase/sample app where I can see the difference of
enabling/disabling HTTP compression.
On 4/27/07, Praveen Balaji <[EMAIL PROTECTED]> wrote:
See if the compression property is what you need:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
-Original Mess
See if the compression property is what you need:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
-Original Message-
From: Rajiv M [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 5:10 PM
To: Tomcat Users List
Subject: HTTP compression
hello,
Does Tomcat support HTTP co
hello,
Does Tomcat support HTTP compression.
If yes, is there a way to enable/disable this feature
Rajiv
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello all,
I am using log4j to create various log files - one for access, one for
errors and one for system info. All is well, nothing is logged in Tomcat's
catalina.out log EXCEPT when I send an illegal (un-parseable) XML file. This
error, as well as being logged in my app's error log, appears i
On JSF page, click a button to open a new window. The request will join the
existing session. Is there a way to create a new HTTP servlet session for the
request(clicking the button)?
public HttpSession getSession(boolean create)
Create a new session only when no session already exists
55 matches
Mail list logo