Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
On 8/5/2009 11:30 AM, Paul Taylor wrote:
Thanks actually the default is not picking up the root case, I've got a
simpler related issue by war get deployed as searchserver in webapps, is
there a way I can leave it
Keyur,
I think what Filip was trying to tell you is this :
Servlet Specification 2.4, SRV 5.2, Headers :
"To be successfully transmitted back to the client, headers must be set
before the response is committed. Headers set after the response is
committed will be ignored by the servlet contain
Oh! I didn't realize I am stupid to this extent. :-(.
Many thanks for your reply.
Best,
Parminder
On Aug 5, 2009, at 6:37 PM, Hassan Schroeder wrote:
On Wed, Aug 5, 2009 at 3:34 PM, Parminder
Mankoo wrote:
I changed my tomcat-users.xml file to include:
But it won't login. What should
> From: Parminder Mankoo [mailto:man...@cbio.mskcc.org]
> Subject: Fwd: won't login into apache in mac 10.5.7
>
> >
> >
> >
> >
> > But it won't login. What should I do?
Try taking out the comment markers...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
On Wed, Aug 5, 2009 at 3:34 PM, Parminder Mankoo wrote:
>> I changed my tomcat-users.xml file to include:
>>
>>
>>
>>
>>
>> But it won't login. What should I do?
Might want to uncomment all that :-)
--
Hassan Schroeder hassan.schroe...@gmail.com
twitter: @hassan
---
Martin - I can verify that my ETag implementation meets the spec
requirements. Both buffered and streaming impls. yield the same ETag. With
the buffered implementation tomcat does include the ETag header in the
response. With the streaming impl. it does not (even though I set Trailer:
ETag)
--Key
Hello:
I changed my tomcat-users.xml file to include:
But it won't login. What should I do?
Thanks,
Parminder
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomc
Hi,
I am currently running tomcat 5.0.12 and want to upgrade to 5.5.27. I
also have java 1.4 running on an old version of linux (redhat 7.3) and I
have installed the compatibility package in my tomcat home directory. I
can start and stop the server just fine.
The trouble I am running into
coding needs to conform to the spec's requirement for [weak]opaque-tag
entity-tag = [ weak ] opaque-tag
weak = "W/"
opaque-tag = quoted-string
A "strong entity tag" MAY be shared by two entities of a resource
only if they are equivalent by octet equality.(i interpret thi
Thanks Filip. Buffering is what I do right now and that is what I'm trying to
avoid. With a large number of concurrent users, the buffering is proving to
be a performance bottleneck and is causing frequent GC sweeps.
I think what I'm trying to do with the Trailer header is valid http usage
(corre
On 08/05/2009 01:07 PM, John Shields wrote:
In the configuration reference [1] and in numerous examples, it's
stated that the default map send options mode for the BackupManager is
"6 (asynchronous)". In looking at the source code (6.0.18) it does
appear that "6" is the default value:
priva
On 08/05/2009 02:14 PM, Keyur Shah wrote:
Tomcat by default sends chunked responses => Transfer-Encoding:chunked
I'm calculating the ETag for the response dynamically as the content is
being
written to the response stream. Since I'll know the final value of the ETag
only
when the stream is clos
and if you don't want to depend on a specific implementation, use
reflection
On 08/05/2009 11:10 AM, Mark Shifman wrote:
I do it in a contextListener.
something like this:
public void contextDestroyed(ServletContextEvent event) {
Context initContext = new InitialContex
On 08/05/2009 11:35 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 8/5/2009 1:05 PM, Filip Hanik - Dev Lists wrote:
you would need to listen for context destroyed, and cast the datasource
to call close() on it
When Tomcat re-deploys an applic
Tomcat by default sends chunked responses => Transfer-Encoding:chunked
I'm calculating the ETag for the response dynamically as the content is
being
written to the response stream. Since I'll know the final value of the ETag
only
when the stream is closed, I indicate that using the Trailer header
In the configuration reference [1] and in numerous examples, it's
stated that the default map send options mode for the BackupManager is
"6 (asynchronous)". In looking at the source code (6.0.18) it does
appear that "6" is the default value:
private int mapSendOptions =
Channel.SEND_OPTIONS_SY
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How do you handle 'rewrite queries' ?
>
> Or when no other mapping matches, right? If you hit this webapp with a
> URI of /foo/bar then the servlet matching "/" will be invoked with
> pathInfo="foo/bar", right?
I bel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 8/5/2009 9:42 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Upload stop after 30 minutes: Processing of
>> multipart/form-data request failed. Stream ended unexpectedly
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 8/5/2009 1:05 PM, Filip Hanik - Dev Lists wrote:
> you would need to listen for context destroyed, and cast the datasource
> to call close() on it
When Tomcat re-deploys an application, is the existing DataSource
trashed and re-created? Whe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
On 8/5/2009 11:30 AM, Paul Taylor wrote:
> Thanks actually the default is not picking up the root case, I've got a
> simpler related issue by war get deployed as searchserver in webapps, is
> there a way I can leave it then and get it to pick up
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 8/5/2009 10:14 AM, Caldarale, Charles R wrote:
>> From: Paul Taylor [mailto:paul_t...@fastmail.fm]
>> Subject: Re: How do you handle 'rewrite queries' ?
>>
>>
>> SearchServerServlet
>> /
>>
>
> The above causes the SearchServe
I do it in a contextListener.
something like this:
public void contextDestroyed(ServletContextEvent event) {
Context initContext = new InitialContext();
Context envContext = (Context)
initContext.lookup("java:/comp/env");
((Ba
you would need to listen for context destroyed, and cast the datasource
to call close() on it
Filip
On 08/05/2009 10:43 AM, Kirill Ilyukhin wrote:
I use database connection pool which is described in webapp's
META-INF/context.html:
and in WEB-INF/web.xml:
jdbc/myDS
javax.sql.DataSource
I use database connection pool which is described in webapp's
META-INF/context.html:
and in WEB-INF/web.xml:
jdbc/myDS
javax.sql.DataSource
Container
Then I do the following in my code:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("java:com
Don't know if this is an option, but you can use Jersey:
https://jersey.dev.java.net/
and something like:
@Path("/users/{username}")
public class UserResource {
@GET
@Produces("text/xml")
public String getUser(@PathParam("username") String userName) {
...
}
}
On Aug 5, 20
I think I read about it on this mailing list. :-)
--
Len
On Wed, Aug 5, 2009 at 10:54, venu007 wrote:
>
> This worked for me.
>
> How did you find out about it.
>
>
>
> Len Popp wrote:
> >
> > This error occurs when it can't find the Microsoft C runtime library.
> > Try copying the file msvcr7
Caldarale, Charles R wrote:
From: Paul Taylor [mailto:paul_t...@fastmail.fm]
Subject: Re: How do you handle 'rewrite queries' ?
SearchServerServlet
/
The above causes the SearchServerServlet to be invoked when there's no path
specified in the URI. You want to add a mapping
On 08/05/2009 04:23 AM, zhang99 wrote:
1. in order to use comet in tomcat, i need implement CometProcessor .does
that mean my application will be depending on tomcat in order to run since i
use the org.apache.catalina.* library? in this case, i will not able to port
to other application server l
Mateusz Kijowski wrote:
>>> All in all, I believe the on-line doc has a bigger chance of being
>>> accurate than the book; and I also believe Tomcat will just ignore
>>> attributes that it does not know.
>> I regard both of the above statements as true. What version of Tomcat
>> does your copy of "
This worked for me.
How did you find out about it.
Len Popp wrote:
>
> This error occurs when it can't find the Microsoft C runtime library.
> Try copying the file msvcr71.dll from the Java bin directory to the
> Tomcat bin directory.
> --
> Len
>
>
>
>
--
View this message in context:
>> All in all, I believe the on-line doc has a bigger chance of being
>> accurate than the book; and I also believe Tomcat will just ignore
>> attributes that it does not know.
>
> I regard both of the above statements as true. What version of Tomcat
> does your copy of "Tomcat: The Definitive Guid
> From: Paul Taylor [mailto:paul_t...@fastmail.fm]
> Subject: Re: How do you handle 'rewrite queries' ?
>
>
> SearchServerServlet
> /
>
The above causes the SearchServerServlet to be invoked when there's no path
specified in the URI. You want to add a mapping for /ws/type/ to targ
Caldarale, Charles R wrote:
From: Paul Taylor [mailto:paul_t...@fastmail.fm]
Subject: Re: How do you handle 'rewrite queries' ?
could you tell me how to do the mapping you specify
in the tomcat config
It's defined in the servlet spec, not the Tomcat config. Read section 11 of
the spec.
> From: Paul Taylor [mailto:paul_t...@fastmail.fm]
> Subject: Re: How do you handle 'rewrite queries' ?
>
> could you tell me how to do the mapping you specify
> in the tomcat config
It's defined in the servlet spec, not the Tomcat config. Read section 11 of
the spec.
What's in your WEB-INF/w
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Upload stop after 30 minutes: Processing of
> multipart/form-data request failed. Stream ended unexpectedly
>
> disableUploadTimeout is definitely in the HTTP connector documentation.
True, but we're talking about th
any way to incorporate Javadoc AND translations as part of the build for
deutsche?
francais?
polska?
italiano?
norsk?
svenska?
BTW: andre you are awake now so looks like you are one of the early am TC gurus
Martin Gainty
__
Verzicht und Vertraulichke
I have tested this and it does exactly what I'd hoped. I tested it with tomcat
6.0.20 as described, and I also, in vain and probably inadvisable hopes I could
stick with my yum-updateable RHEL 5.3 tomcat5.5 version, tested it with 5.5
(under server/lib). It didn't throw an exception in 5.5, bu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/4/2009 3:04 PM, André Warnier wrote:
> Mateusz Kijowski wrote:
>>
>> >
> ...
>> connectionUploadTimeout="360"
>> disableUploadTimeout="true"
>>
> ...
> May or may not be relevant, but I do not see the ab
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
On 8/3/2009 11:03 AM, Paul Taylor wrote:
Hi writing web app to replace an existing open source application
(musicbrainz lucene search) that handles queries of the form
http:///?query=...&type=...&fmt=... and als
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Upload stop after 30 minutes: Processing of
> multipart/form-data request failed. Stream ended unexpectedly
>
> All in all, I believe the on-line doc has a bigger chance of being
> accurate than the book; and I also believe Tomcat will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/5/2009 8:01 AM, André Warnier wrote:
> All in all, I believe the on-line doc has a bigger chance of being
> accurate than the book; and I also believe Tomcat will just ignore
> attributes that it does not know.
I regard both of the above
nevermind, I think I made some headway on this and will ask this over on the
httpd list. Thank you for getting me this far, I really appreciate it.
On Wed, Aug 5, 2009 at 8:50 AM, Josh Gooding wrote:
> *Andre wrote:
>
> The above is assuming that you would want all accesses which eventually go
*Andre wrote:
The above is assuming that you would want all accesses which eventually go
to Tomcat, to be under SSL from the client point of view.
The idea is : SSL creates an overhead (encryption). If the link between
Apache and Tomcat is secure (such as, they both run on the same host, or
they
Hi Mark..
Thanks for your reply...
I apologise for the confusion. When I said 'what is the protocol' I wasn't
referring to a tech. protocol I just meant..'what is the usual procedure
/best practice...where are these files normally stored/referenced and so
on...'
I'm in work now but I'll attempt
Mateusz Kijowski wrote:
2009/8/4 André Warnier :
May or may not be relevant, but I do not see the above attributes in the
Tomcat AJP Connector docs.
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
and only see disableUploadTimeout in the HTTP Connector.
http://tomcat.apache.org/tomcat-6.
1. in order to use comet in tomcat, i need implement CometProcessor .does
that mean my application will be depending on tomcat in order to run since i
use the org.apache.catalina.* library? in this case, i will not able to port
to other application server like jboss,glassfish
2. is there any eas
2009/8/4 André Warnier :
> May or may not be relevant, but I do not see the above attributes in the
> Tomcat AJP Connector docs.
> http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
> and only see disableUploadTimeout in the HTTP Connector.
> http://tomcat.apache.org/tomcat-6.0-doc/config/http
Toriacht schrieb:
The web service runs fine within Eclipse on a Tomcat 6 Server. I
want to deploy this to an external Tomcat server(not running within
eclipse) but I am unsure how.
I know (I think!) I need to File>Export>Web>WAR File. Is this correct?
There must be more to it!!
Make sure you
Toriacht wrote:
> I know (I think!) I need to File>Export>Web>WAR File. Is this correct? There
> must be more to it!!
What do the Eclipse docs say you need to do?
> What do I do with the .jars referenced in Java Build Path and Java EE Module
> dependencies - do these get added to the WAR or do I
Hi,
I posted a similar message a while ago but didn't get round to fixing the
issue. I'm back at this problem again...basically i want to deploy a web
service developed and running within Eclipse to a standalone Tomcat Server.
The web service runs fine within Eclipse on a Tomcat 6 Server. I want
50 matches
Mail list logo