wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Nikita,
>
> On 7/1/2010 6:37 PM, Nikita Tovstoles wrote:
> > I borrowed "sub-domain" from Google Analytics terminology. I have one
> > server, running one tomcat instance with one virtual host. That host
omain is set to ".widget.com"
Make sense?
On Thu, Jul 1, 2010 at 3:07 PM, André Warnier wrote:
> Nikita Tovstoles wrote:
>
>> thanks for the pointers. However, emptySessionPath - from what I can tell
>> -
>> only deals with paths (not domain). how could I use it
GNED MESSAGE-
>> Hash: SHA1
>>
>> Nikita,
>>
>> On 6/30/2010 6:20 PM, Nikita Tovstoles wrote:
>>
>>> I'd like to make session cookie domain-wide, and ignore subdomains - in
>>> Tomcat 6.
>>>
>>
>> You could use the e
I'd like to make session cookie domain-wide, and ignore subdomains - in
Tomcat 6. So for app reachable via my.site.com and www.site.com, I'd like to
have session cookie's domain be ".site.com". I thought of doing so using a
ServletResponseWrapper and a servlet Filter:
@Override
public void
Chuck,
Without asserting that Wicket's is NOT breaking an RFC, I would appreciate a
clarification on which RFC do you think the framework (or the app) is
breaking?
HttpServletResponse.sendRedirect allows relative URLs explicitly. From 1.4
EE Javadoc:
"Sends a temporary redirect response to the cl
Response.java in Tomcat src:
http://kickjava.com/src/org/apache/catalina/connector/Response.java.htm
On Thu, Apr 8, 2010 at 12:52 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Nikita,
>
> On 4
Actually it was pointed out to me that it is the container & not the
app/framework that is generating the Location header, and so isn't the below
a bug in toAbsolute()?
On Thu, Apr 8, 2010 at 8:14 AM, Nikita Tovstoles wrote:
> We use Wicket that periodically redirects to relative U
We use Wicket that periodically redirects to relative URLs starting with
'../'. I realize that's against the RFC (which says redirects are supposed
to be absolute), but I am not clear on why doesn't Tomcat collapse those
URLs in Response.toAbsolute()? Specifically:
-assume client is at http://loca
Hello,
Looking for someone to either confirm or refute my theory that
deploying two iframes pointing to two different stateful pages on the
same domain can lead to JSESSIONIDs being overwritten. Here's what I
mean:
Setup
1. suppose you have two pages that require HttpSession state (session
affin
Hi,
Tomcat6 docs refer to NIO-based connector but it isn't listed among HTTP
Connectors (in Docs). Does it ship with one? Or is the idea that users
would take Grizzly from Glassfish?
thanks
-nikita
-
To start a new topic, e-
Hi,
I'm using a ServletRequestWrapper to override incoming requestURI from
/A to /B. I noticed that I also have to override getRequestURL() method,
which made me wonder what other methods must I override to trick the
servlet into thinking that incoming request is indeed for /B?
thanks
-nikit
There would be no adverse effect on garbage collection (i.e. longer GC
times) when moving from max heap of 1gb to 4gb?
-nikita
Leon Rosenberg wrote:
are you using a 64bit version? If yes than the answer is yes.
Otherwise its probably no :-)
regards
Leon
On 9/5/06, Asensio, Rodrigo <[EMAIL PR
We have a webapp that needs to support binary updloads from a remove
fat client: if our client crashes we'd like it to automatically "send" a
zipped log file to our web application. the delivered file would NOT be
stored in Tomcat server's file system - but inserted into db.
Apparently our
John,
You should be catching Throwable t, not Exception e. Also replace
DriverAdapterCPDS cpds = new DriverAdapterCPDS();
with
DriverAdapterCPDS cpds = null; //before try
cpds = new DriverAdapterCPDS(); //inside try
Finally, how are you closing connections (i.e returning them to the pool?). s
I know nothing about php, so this may be a dumb question, but how do I
add php support to tomcat?
thanks
-nikita
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
take a look at $CATALINA_BASE/conf/server.xml; each port is defined as
-nikita
Sourabh Antani wrote:
Nikita,
Thanks for your reply.
I dont seem to be missing any parameters. I dont see anywhere that tomcat is listening to two ports, do you know any specific place to look for it?
ometimes happen if the user double-clicks submit buttons.
There are plenty of threads in the archives of this list suggesting
ways to mitigate this double-submission problem.
HTH,
Jon
Nikita Tovstoles wrote:
Sourab,
I'm facing the exactly same problem and yet to find a solution. Is
Sourab,
I'm facing the exactly same problem and yet to find a solution. Is your
Tomcat instance listening on 2 ports by chance? Also is the
request.getParameterMap() of one of those parallel requests missing any
query parameters?
-nikita
Sourabh Antani wrote:
Hi,
I am facing this sit
I think that's exactly what red phoenix is asking. If so, I would
suggest defining a second inside element of your
Tomcat's server.xml (under $CATALINA_BASE/conf), HOWEVER:
I discovered that under highly-concurrent loads a request to one port is
interpreted by Tomcat two requests - one on ea
pp. What's the new "current directory" of ServletContext for
ROOT application?
thanks
-nikita
Mark Thomas wrote:
Nikita Tovstoles wrote:
Hi,
I have myapp.war that I'd like to deploy by copying myapp.war to
catalina.base/webapps
Hi,
I have myapp.war that I'd like to deploy by copying myapp.war to
catalina.base/webapps; but I would like to bind the app to context "/".
I have
$tomcat.base/conf/server.xml,
in myapp.war I have:
/META-INF/context.xml
I know that somewhere I should specify .
So far plugging this into i
Is the following possible?
where $RESOURCE_NAME is set in shell prior to starting Tomcat?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In Tomcat, do multiple HttpServletRequest objects share same
parameterMap instance? If so, and access to that instance is not
synchronized, doesn't that mean that one request can get another
requests parameters?
see http://sourceforge.net/mailarchive/message.php?msg_id=12468534
thanks
-nikita
Hi,
I'm load-testing my webapp running on Tomcat 5.5.12 (Win) using the
following URL:
http://localhost:8081/myapp/admin?cmd=test
In doGet() I have this line:
Map _requestParams = (MapString[]>)request.getParameterMap();
In load-testing, Most of the time this requests processes normally, b
I have been struggling trying to get JOTM/XAPool 1.5 to do the following
as part of webapp running in Tomcat 5.5 (talking to MySQL 5):
1. Validate connections: if MySQL server kills all jdbc connections, and
*later* the webapp asks for a JDBC cxn, the db pool should reestablish
and return a wo
I read somewhere that if response.getWriter().checkError() returns true
"servlet should terminate". Do you think "terminate" means simply
"return" or actually Servlet.destroy()?
thanks
-nikita
-
To unsubscribe, e-mail: [EMAIL
Answering my own question, and asking another:
I have this line in finally{} of Servlet.processRequest():
response.flushBuffer(); //if response.getWriter() was never called, then
this method call will result in NPE.
Is this proper behavior or should I file a bug report?
Nikita Tovstoles
Hi,
I am load testing a webapp running on Tomcat 5.5.12 (windoze). Once in a
while I see the following in Tomcat's log:
SEVERE: Servlet.service() for servlet StatusServlet threw exception
java.lang.NullPointerException
at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(Interna
port. You
will end up with essentially two web roots and applications under each.
Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205
-Original Message-
From: Nikita Tovstoles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 1:51 PM
To
Hi,
I have a webapp with two servlets: LoginServlet and AdminServlet. I
would like LoginServlet to only respond to requests coming to port 8080,
and AdminServlet to respond to requests coming only to 8081. The only
(rather non-portable way of doing this) of which I can think so far is:
-in s
Hi,
Is there an ANT task for generating context.xml files?
thanks,
-nikita
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it could be happening because tomcat did not shutdown within some
'timeout' time, in which case it appears to do a 180 and try to start
back up. did you see any 'cannot shutdown' messaged in log?
-nikita
Cord Awtry wrote:
For some reason, when I shut down my tomcat app, via commandline or the
Hi,
I have a WAR which, among others, contains Hibernate and JSF libraries.
When I undeploy this application (using Tomcat manager), the app's
directory remains in webapps because app/WEB-INF/lib/jsf-impl.jar cannot
be deleted - i.e. it appears Tomcat continues to access that JAR.
Since comp
33 matches
Mail list logo