On 1:59 PM, Kiran Badi wrote:
Sorry I need some more help, have one more weird issue at my plate now,
I am using base tag and pulling out the webapplication context path to
it like this so that all links in the page becomes relative to this
path,i am doing something like below,
which reso
On 1:59 PM, Jerry Malcolm wrote:
Thanks, Tim. But that wasn't the problem. I've figured out what's
happening. But I'm even more confused about how to move forward knowing
that now.
I've got a relatively simple situation. I have three pages that I am
mapping to clean URLs in httpd mod_rewrit
On 1:59 PM, George Sexton wrote:
On 12/31/11 2:04 PM, Konstantin Kolinko wrote:
2011/12/31 George Sexton:
I have a servlet mapping for a page named
/403.html
I can invoke that URL and get a page as expected.
In my deployment descriptor, I have an error mapping:
403
/403.html
in my cod
On 1:59 PM, Pid * wrote:
On 25 Dec 2011, at 22:03, Jerry Malcolm<2ndgenfi...@gmail.com> wrote:
Thanks for the input. This has turned into something really ugly. Let me
go back and summarize the situation:
I have an established large application made up of about 10 separate
webapps (context
On 1:59 PM, Pid * wrote:
> On 16 Dec 2011, at 09:32, "Aitor Garcia | Tempel.es"
> wrote:
>
> Mark:
>
> I'm just declaring variables there, no putting logic.
>
> You had overlooked log4jdbc, if you have read books in the same way
>
> Library log4jdbc is COOL! Works very Well, is really a good
On 1:59 PM, Christopher Schultz wrote:
> Aitor,
>
> On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote:
> > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the
> > _jspService on every script request
>
> > What happens if you handle Pool Coonections with a
> > 'java.sql.Connection
On 1:59 PM, Christopher Schultz wrote:
> Aitor,
>
> On 12/15/11 7:12 AM, Aitor Garcia | Tempel.es wrote:
> > 5) Tomcat, creates ONE (or maybe SOME) Class object and call to the
> > _jspService on every script request
>
> > What happens if you handle Pool Coonections with a
> > 'java.sql.Connectio
On 1:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thom,
On 12/1/11 9:39 AM, Thom Hehl wrote:
I'm not sure. Whichever log file the stack traces goto. Yes,
they're writing to a local drive. Yes as a windows service which
came with the installer.
As Pid says,
On 1:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've got a servlet that needs to log every request (potentially big
requests) to files on the disk. In order to do that in a
reasonably-tidy way, we write each file into a directory with the
current date
ive should have?
-Original Message-
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Sent: 21 Nov 2011 16 11
To: Tomcat Users List
Subject: Re: Connection pooling issue with
MySQLNonTransientConnectionException and Java webapp
On 1:59 PM, Martin O'Shea wrote:
Caused by:
com.mysql.j
On 1:59 PM, Martin O'Shea wrote:
Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data
source rejected establishment of connection, message from server: "Too many
connections"
I'd check into this.
-Terence Bandoian
---
On 1:59 PM, app...@dsl.pipex.com wrote:
Hello
This follows on from my query yesterday where I was having trouble getting
Tomcat 6.0.26 to start as
a Windows service on a 64 bit Windows 7 PC. Well, I have set the relevant
authorities but I find
that although Tomcat will start / stop via the ba
On 1:59 PM, chris derham wrote:
But for _transparent_ authentication IIS is required as Christopher
mentioned.
That is not true. You can use SPNEGO to setup transparent authentication
directly to tomcat. You do not need IIS. This means that a browser accesses
a protected url on the server, and
On 1:59 PM, André Warnier wrote:
Terence M. Bandoian wrote:
On 1:59 PM, Konstantin Kolinko wrote:
2011/11/3 Leon Rosenberg:
I have a situation where an application is accessable from outside in
staging and production environment, but shouldn't be open for public
in staging environment.
On 1:59 PM, Konstantin Kolinko wrote:
2011/11/3 Leon Rosenberg:
I have a situation where an application is accessable from outside in
staging and production environment, but shouldn't be open for public
in staging environment.
Put it behind Apache HTTPD (or any other proxy) and let HTTPD handl
On 1:59 PM, Léa Massiot wrote:
@Christopher :
Thank you for your answer.
Christopher wrote:
The new session created is completely empty. It has nothing to do with the
user going back in the history, etc.
No, you are right.
What I meant is that I was/am managing session expiration inside the W
On 1:59 PM, Léa Massiot wrote:
@Jürgen : Thank you for advising me to use Maven.
@Tim : Thank you for advising me to use Ant.
I have been following the following tutorial to get introduced to Ant:
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
I think it's a good one.
Now, I am go
On 1:59 PM, Nicholas Sushkin wrote:
The bug was that if you do an unauthenticated POST, PUT, or DELETE,
the Form Authentication valve was trying to do a POST, PUT, or DELETE
to the login form. The correct behaviour IMHO is to always GET the
login form and return it as a response to the unaut
On 1:59 PM, Konstantin Kolinko wrote:
2011/9/3 throwsCode:
I do not quite understand you.
I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know
how I can tell whether the CGIServlet is running?
I uncommented all of the sections indicated in the Tomcat document.
What se
On 1:59 PM, Donald Jolley wrote:
JSPs should be used for output with all processing (and, hopefully,
anything that can fail) having already been completed by the time the
JSP runs.
That's a REALLY good point. The JSP can be thought of as simply bieing a
view with all (or most) of the heavy lif
On 1:59 PM, Mattmann, Chris A (388J) wrote:
Thanks for your reply Chuck.
It looks like you can do what I'm suggesting, but it's pretty complex. I'm also
wondering why this isn't part of Tomcat proper. It would seem to be a very
useful tool to include.
An ALv2 licensed type of filter that does
On 1:59 PM, Brian Braun wrote:
Hi Konstantine,
I read all the thread, but I didn't find any conclusive response. Here
are
my doubts/comments, after everything I have read:
For reference:
http://markmail.org/thread/oph2acjbdptcvduf
- My timer creates a thread, with a name I assign to it. Af
For anyone who might be interested, this is what I ended up with for a
scheduler:
public class AServletContextListener implements ServletContextListener
{
private ScheduledExecutorService executor;
/**
* Constructs AServletContextListener object.
*/
public AServletCont
On 1:59 PM, Mark Thomas wrote:
On 14/07/2011 23:59, Terence M. Bandoian wrote:
On 1:59 PM, Mark Thomas wrote:
On 14/07/2011 06:11, Terence M. Bandoian wrote:
I can live with this. It's just one of those "it would be nice not to
have to explain" things and if Thread.sleep
On 1:59 PM, Mark Thomas wrote:
On 14/07/2011 06:11, Terence M. Bandoian wrote:
I can live with this. It's just one of those "it would be nice not to
have to explain" things and if Thread.sleep does the trick, I'm happy.
As I mentioned in my original post, I wanted to fin
On 1:59 PM, Pid wrote:
On 14/07/2011 06:05, Terence M. Bandoian wrote:
On 1:59 PM, Pid wrote:
ATimerTask is a private instance in AServletContextListener, is this
necessary and if so, why?
What logic is contained in ATimerTask?
Are you overriding TimerTask.cancel() and do you catch
On 1:59 PM, Bill Miller wrote:
The problem is obviously that the thread within the Timer needs time to
properly shutdown, the
non-obvious part is "how long does it need, and how do you detect it's done?".
Normally you would do
a Thread.join() to ensure a thread has stopped before continuing, b
On 1:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terence,
On 7/12/2011 3:47 PM, Terence M. Bandoian wrote:
executorService.shutdown();
try { while ( !executorService.awaitTermination( 1, TimeUnit.SECONDS
) );
Thread.sleep( 1000 ); } catch
On 1:59 PM, Pid wrote:
ATimerTask is a private instance in AServletContextListener, is this
necessary and if so, why?
What logic is contained in ATimerTask?
Are you overriding TimerTask.cancel() and do you catch InterruptedException?
p
Hi, Pid-
For the sake of clarity, I'll repeat this h
, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
Finally, in contextDestroyed, I inserted a call to
Thread.sleep after canceling the timer and the error
message disappeared.
You should be able
rote:
On 12/07/2011 02:06, Terence M. Bandoian wrote:
Hi-
I've been testing a web application on:
Tomcat 6.0.32 (32-bit)
Sun/Oracle JRE 1.6.0_25 (32-bit)
Windows Server 2008 R2
The web application includes a ServletContextListener which creates a
Timer in the contextInitialized method
Hi-
I've been testing a web application on:
Tomcat 6.0.32 (32-bit)
Sun/Oracle JRE 1.6.0_25 (32-bit)
Windows Server 2008 R2
The web application includes a ServletContextListener which creates a
Timer in the contextInitialized method to perform periodic maintenance.
To no avail, I spent quite
On 1:59 PM, falva...@geocom.com.uy wrote:
Yes, we would probably use some tools to build the web.xml.
Currently our applications has something between 1 to 15000 servlets.
Mapping to "/servlet/*" how it works now, a normal URL is
"http://host:8080/webapp/servlet/myservlet";. But then I tr
On 1:59 PM, Marc Boorshtein wrote:
Do you have any filters or other valves that might be wrapping the request and
choosing to ignore your extra headers?
No, the app is just a servlet that loops over all the headers and
cookies and generates a properties response
1) Show us your modified con
On 1:59 PM, fsman...@netscape.net wrote:
Andre: I followed your idea and did the following - uninstalled the .exe install of 6.0.32, extracted the
64-bit zip, and copied my old "conf" folder back on top of the one that the zip created. Added the
environment variable JAVA_HOME in Windows. Ra
Seems like I had similar error on 2008 Server R2 and ended up having
to uninstall all JREs, manually remove all entries related to all JREs
from the registry and then reinstall the JRE I wanted to use.
-Terence Bandoian
-
To
Nice thread. Nice work. Impressive all the way around.
-Terence Bandoian
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ass in the last pair of alternatives of second
condition. Did you want "not a '.' or digit" or "not (a '.' followed by a
digit)"?
-Terence
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terrence,
On 6/30/2010 7:55 PM, Terence M
Hi, Chris-
This should redirect to /bad-browser.shtml:
RewriteCond %{HTTP_USER_AGENT} Firefox/
RewriteCond %{HTTP_USER_AGENT}
!Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9])
RewriteRule .* /bad-browser.shtml [R=307,L]
Looks just about like what you already had though.
I'm not sure t
I'm getting an error immediately, at any rate I'm working thru
that, but will this DECODE method show me the USERID that I'm looking for?
That is what I'm needing. Thank you.
-----Original Message-
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Sent: Tuesday, June
Hi, Melinda-
As Pid suggested, the first part of that string after NTLM in the
authorization header decodes in base64 to 'NTLMSSP'.
-Terence Bandoian
Savoy, Melinda wrote:
Thanks Pid, I did do that as well, but I did not see the user value there either.
Here is what I got when I did issu
Any possibility that the Excel file was modified (e.g. FTP)? I've used
POI in a Tomcat 5.5 webapp on Windows Server and didn't see any problems
like this.
-Terence Bandoian
Jorge Moya wrote:
Hello guys.
For the past couple of days, I've been working as an intern in a local
company and I'd
Hi, Melinda-
It may be helpful to try that again with the JSP expression syntax:
<%= request.getRemoteUser() %>
Notice the '=' after the first '%'.
-Terence Bandoian
Savoy, Melinda wrote:
Sorry, I had to leave the office yesterday after I answered part of Ranier's
question.
When I inser
How about the following?
When the form is submitted, display a page without a submit button that
1) indicates the form is being processed and 2) submits the form data
for actual processing.
-Terence Bandoian
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On
Here's a Linux script to remove log files older than seven days:
find /var/tomcat5/logs -daystart -mtime +7 -type f -exec rm '{}' \;
Just in case anyone might find it useful.
-Terence Bandoian
-
To unsubscribe, e-mail: user
Hi, Chris-
I don't remember the question exactly but in my experience I've had to
grant permissions to all relevant jars that are not within a webapp and
to the webapp. (Hopefully, this is at least in the right ballpark for
your question.)
-Terence
Subject:
RE: [OT] SecurityManager and Ja
You may be able to use the following from HttpServletRequest if
REMOTE_USER is passed to Tomcat:
getRemoteUser
public java.lang.String *getRemoteUser*()
Returns the login of the user making this request, if the user has
been authenticated, or |null| if the user has not been
auth
. However, orphans are
easily detected with a simple query and, with good programming practice
and testing procedures, just as easily prevented.
Once upon a time, CPU cycles, memory and disk space mattered.
-Terence M. Bandoian
--
as I
said, I've found it to be straightforward to install and administer. If
that contradicts your experience, then so be it. You're welcome to your
own opinion.
-Terence M. Bandoian
>
> Subject:
> Re: PostgreSQL vs MySQL with Tomcat
> From:
> "Chris Wareham"
&
or in the options file) or dynamically with the SET statement. I have
been very pleased with its performance both administratively and as a
programmer and you can't beat the price.
-Terence M. Bandoian
-
To unsubscribe, e-m
Placing static content inside WEB-INF doesn't seem like good practice so
something like:
AllowOverride None
deny from all
should prevent unwanted access.
-Terence M. Bandoian
> Well, this is a bit off topic, since I had meant (and still mean) this as a
> tentative bug
Hi-
Another reasonable approach would be to set system properties either in
the startup script or in the Windows registry if you're running as a
service.
-Terence M. Bandoian
>>> Subject:
>>> Re: accessing web.xml
>>> From:
>>> Christopher Schultz <
Hi, Chris-
I've used Comodo and don't remember any browser issues.
-Terence M. Bandoian
> Subject:
> Re: [OT] Comodo as a CA
> From:
> Christopher Schultz <[EMAIL PROTECTED]>
> Date:
> Sat, 26 Apr 2008 09:40:23 -0400
> To:
> Tomcat Users List
Hi-
I'd suggest using RewriteLog and RewriteLogLevel to determine exactly
how your RewriteCond and RewriteRule directives are processed.
-Terence M. Bandoian
>
> Subject:
> 301 permanent redirects in Apache + Tomcat using mod_jk
> From:
> "Shashidhar Rampally" <
Hi, Tobias-
Is ROOT a subdirectory of z:\webapps?
-Terence M. Bandoian
> Subject:
> Changing the Webapps directory
> From:
> "Tobias Meissner" <[EMAIL PROTECTED]>
> Date:
> Thu, 10 Apr 2008 13:47:52 +0200
> To:
> users@tomcat.apache.org
> Hi,
>
vices \ Tomcat5 \ Parameters
Also in Tomcat 5, there appear to be default Java options set in:
HKLM \ SOFTWARE \ Apache Software Foundation \ Procrun 2.0 \ Tomcat5
\ Parameters \ Java \ Options
-Terence M. Bandoian
>
> Subject:
> Re: Tomcat on Win2K3 Registry Edit.
> From:
Hi-
The following should require HTTPS for all requests:
Secure Pages
/*
CONFIDENTIAL
I'd suggest taking a look at the URL pattern specified in your original
post.
-Terence M. Bandoian
[EMAIL PROT
Hi-
My mistake. I deleted the message before I replied and missed that this
needed to take place during startup.
-Terence M. Bandoian
[EMAIL PROTECTED]
>
> Subject:
> Re: ServletContext.getContextPath()
> From:
> Christopher Schultz <[EMAIL PROTECTED]>
> Date:
>
request.getContextPath()?
-Terence M. Bandoian
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi-
Are both users accessing the web application from the same computer?
-Terence M. Bandoian
[EMAIL PROTECTED]
> Hi:
>
> Thanks David, Chris and Martin for the responses. I appreciate them.
May be I didn't explain the
situation properly in my posting. I will try to explain be
FYI-
http://dev.mysql.com/doc/
-Terence M. Bandoian
>
> Subject:
> Re: Msql Connector/J
> From:
> "Martin Gainty" <[EMAIL PROTECTED]>
> Date:
> Wed, 9 May 2007 16:37:56 -0400
> To:
> "Tomcat Users List"
>
> To:
> "To
FYI-
http://dev.mysql.com/doc/
-Terence M. Bandoian
>
> Subject:
> Re: Msql Connector/J
> From:
> "Martin Gainty" <[EMAIL PROTECTED]>
> Date:
> Wed, 9 May 2007 16:37:56 -0400
> To:
> "Tomcat Users List"
>
> To:
> "To
I agree. That type of behavior has no place in any professional forum.
-Terence M. Bandoian
> On 7/21/06, Mead, Jennifer L - VSCM <[EMAIL PROTECTED]> wrote:
>
>> Could this person (inject other undesirable word) please consider the
>> fact that women are in the user'
xible application which
will pay dividends if you ever have to move the application. One
specific example of this would be performing maintenance or further
development on a non-production system.
-Terence M. Bandoian
>>>-Original Message-
>>>From: Steven Huey [mailto:[EMAIL PROTE
Hi-
As I understand it, HttpServletRequest.getRemoteUser() returns the user
name entered if HTTP authentication (RFC2617) is used. According to the
JavaDoc, its return value is "Same as the value of the CGI variable
REMOTE_USER."
-Terence M. Bandoian
> Subject:
> Re: How to
Hi-
There is a short section on white space in the JSP spec which may be
helpful.
-Terence M. Bandoian
>>>
>>>Hi,
>>>
>>>Is there a way to configure tomcat to remove the excess whitespace that is
>>>left over when tomcat parses the jsp tags. There i
Hi-
If it isn't already, enabling MySQL error log warnings may provide you
with additional information.
-Terence M. Bandoian
>>>>>> From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] Subject:
>>>>>> RE: Would like to know what might be causing this ex
Hi-
If you're using Ant, you might try adding a concat task to combine
generated_web.xml with predefined header and footer files.
-Terence M. Bandoian
>> Subject:
>> automating use of webXmlFragment result - how to do?
>> From:
>> "Olinga K. Abbott" <
Hi-
I have found the Tomcat Users List to be an excellent source of
information. I don't, however, think that it's a substitute for hard
work or basic skills. Nor do I think it should be.
Many thanks to the contributors for their efforts.
-Terence M. Bandoian
>>-
Hi-
You might try using a security constraint in web.xml:
SSLPages
/*
CONFIDENTIAL
The web resource name and url pattern will have to be specified
according to your requirements.
-Terence M. Bandoian
>
>
f services
including Tomcat.
-Terence M. Bandoian
>Can you recommend a commercial hosting application that would manage tomcat
>and meet my needs?
>
>George Sexton
>MH Software, Inc.
>http://www.mhsoftware.com/
>Voice: 303 438 9585
>
---
Hi-
For that many virtual domains, you may want to investigate using a
commercial hosting application that allows you to manage the server from
a web interface. They are available for Linux and Windows and may be
worth the cost in time saved.
-Terence M. Bandoian
>> George Sexton
Hi-
My understanding is that relative URLs in CSS style sheets are relative
to the location of the style sheet, not the HTML page which references
the style sheet.
-Terence M. Bandoian
> Hi all;
>
> playing around with tomcat in order to both learn using the package and
> create
Definitely.
-Terence M. Bandoian
[EMAIL PROTECTED] wrote:
>That is correct. However, it's much better not to do this since it
>wastes a lot of bandwidth by sending the CSS code with every page.
>Much better to use and let the browser cache the file
>instead.
>
>Yaakov.
n, JSP tags in files included in this manner should be
processed regardless of the file extension.
-Terence M. Bandoian
P.S. My apologies for the previous reply.
[EMAIL PROTECTED] wrote:
>>> Hello,
>>>
>>> how can I define, that e.g. the extension .css shall be pro
201 - 275 of 275 matches
Mail list logo