Carl,
Here's what I have on my system, you'll obviously need to adjust for your
setup, especially the httpd part as I don't believe you're using it:
#db-style timestamp
STAMP=`date +%F' '%T`;
# count the number of httpd child processes
AP_COUNT=`ps auxf | grep -c "httpd"`;
# count the number of
Hi Carl, I've skimmed thru all your posts, please excuse me if these
questions are redundant.
You've mentioned VisualJVM, JMeter, and Slackware monitoring tools, it seems
to me that you are using these to occasionally to monitor you Tomcat
instance, when things seem to be going badly (thats my per
t;
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Jonathan,
>>
>> On 12/8/2009 11:48 AM, Jonathan Mast wrote:
>>
>>> Are URL Patterns ending in a wild card allowed by the Servlet Spec?
>>>
>>
>> You could check. Y
Are URL Patterns ending in a wild card allowed by the Servlet Spec?
I have this pattern setup with the intention of binding every url that
begins with "foo" to a serlvet
MultiFooService
/foo*
But http://localhost/foo1, ...foo2, ...foo gives me a 404
Only http://localhost/foo* actually
You're right I did misunderstand the Location directive. Its at the top of
the config file now, working fine :)
On Wed, Nov 25, 2009 at 1:31 PM, André Warnier wrote:
> Jonathan Mast wrote:
>
>> My understanding of Location directives is that cannot be used with regex
>>
> ... but we're really just guessing what config is already in place - maybe
>> the mod_jk / mod_proxy config could be adjusted instead.
>>
>> Correcting a poor/broken config is a much better solution than attempting,
>> blindly, to stick bandages on an unknown s
ing a new Location directive to httpd.conf for each context would be alot
of work and something that would be easy to forget to do.
On Wed, Nov 25, 2009 at 11:48 AM, Tobias Crefeld wrote:
> Am Wed, 25 Nov 2009 11:13:19 -0500
> schrieb Jonathan Mast :
>
> > I need something that wi
n 25/11/2009 16:13, Jonathan Mast wrote:
>
>> Can someone please provide the magical httpd config-cantation that will
>> block httpd from accessing anything in WEB-INF directories?
>>
>> I need something that will be apply globally and can't be overridden by
>> V
Can someone please provide the magical httpd config-cantation that will
block httpd from accessing anything in WEB-INF directories?
I need something that will be apply globally and can't be overridden by
VirtualHost directives. I've dug around the httpd config documentation and
I'm just not under
uch for my
organization at this moment.
On Mon, Nov 2, 2009 at 3:16 PM, André Warnier wrote:
> Jonathan Mast wrote:
>
>> /
>> --/webapps
>> -/host_
>> ---/
>>
>> Is it not more like
> server
>-- Host1
>--webapps
>
ot; (a
logical or arbitrary mapping) why can't Contexts be understood as belonging
to certain arbitrary Hosts, regardless of their filepath?
On Mon, Nov 2, 2009 at 12:11 PM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:
> On Mon, Nov 2, 2009 at 9:22 AM, Jonathan Mast
> wr
v 2, 2009 at 8:35 AM, Jonathan Mast
> wrote:
>
> > My reading of the Tomcat config docs seemed to indicate that each Host
> > should have it's own Manager Context defined as opposed to having a
> single
> > Manager instance that can span multiple Hosts.
wn Manager Context defined as opposed to having a single
Manager instance that can span multiple Hosts. Is this correct?
On Mon, Nov 2, 2009 at 10:05 AM, Jonathan Mast
wrote:
> You're right, I totally forgot to put appBase attributes in my Host
> declarations. However, httpd only lets *.
ks
On Fri, Oct 30, 2009 at 7:59 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hassan,
>
> On 10/30/2009 5:07 PM, Hassan Schroeder wrote:
> > On Fri, Oct 30, 2009 at 2:03 PM, Jonathan Mast
&g
09 at 5:07 PM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:
> On Fri, Oct 30, 2009 at 2:03 PM, Jonathan Mast
> wrote:
> > When I log into the Tomcat Web Application Manager, in addition to the
> > actual webapps defined in server.xml, it also lists the /bin, /conf,
When I log into the Tomcat Web Application Manager, in addition to the
actual webapps defined in server.xml, it also lists the /bin, /conf, /logs,
/temp, /lib and /work directories of the Tomcat installation as if they are
webapps.
I doubt this is correct, so how do I fix it?
thanks,
Tomcat 6 (
If you by subdomains you mean "foo.yoursite.com", "bar.yoursite.com" and so
on, then of course Tomcat supports that.
In the server.xml file, add:
On Tue, Oct 20, 2009 at 4:03 PM, Tony Anecito wrote:
> Hi Chuck,
>
> I am still a newbe at this concept but here is a link that mentions A
so which linux distro should you use? that question has no right or wrong
answer ;)
i don't know much about virtualization, but if I had 4 (or 5) servers to do
those things, here's what i would use:
1) CENTOS: SVN & MySQL
2) Slackware: Tomcat & Trac (if if runs inside of Tomcat)
3) Slackware: Tomc
So you have multiple contexts on a host, each of which needs separate,
persistent storage?
If you don't want to keep track of a property files, you could write a bean
with a method that takes a HttpRequest as a argument, and returns a file
path based on the info in the request. You would have to
figured
> Aug 24, 2009 5:17:25 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/manager] startup failed due to previous errors
> Aug 24, 2009 5:17:25 PM org.apache.catalina.core.StandardContext stop
> INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[
>
Try placing the literal path to the manager in there instead of the
${catalina.home} variable.
On Mon, Aug 24, 2009 at 11:09 AM, Wesley Acheson
wrote:
> Hi,
>
> I'm using the following configuration.
> *VERSION*: Tomcat 6.0.20*
> OS*: Fedora core 9
> *uname -a*: Linux attacker.myriad.local 2.6.27
>
>>
>> http://localhost/foo.jsp
>>
>> GET /foo.jsp HTTP/1.1
>> Host: localhost
>>
>> HTTP/1.x 302 Moved Temporarily
>> Server: Apache-Coyote/1.1
>> Content-Type: text/html;charset=UTF-8
>> Content-Length: 0
>> Date: Fri, 26 Jun 200
mporarily
> Server: Apache-Coyote/1.1
> Content-Type: text/html;charset=UTF-8
> Content-Length: 0
> Date: Fri, 26 Jun 2009 16:33:15 GMT
>
>
> With no Location header in the response - some browsers will giveup. Others
> may redirect to the original URL. Others may do odder t
A null value in bounce_url is causing the original Request url to be invoked
exactly 20 times, rather than dying with NullPointerException:
public static synchronized void doSomething(
HttpServletRequest request,
HttpServletResponse response,
JspWriter out) {
f
Haha thanks, Andre, I'm not lost but it seems other people might be.
I'm going to go ahead define separate hosts, although the option
mentioned might work, I don't know if it would preserve correctly the value
returned by request.getLocalName() which is what I'm using for determining
the host spe
You misunderstood the issue at hand. The host name I'm detecting is not the
that of the viewer of my site, but my site, so there must be different host
virtualhosts setup.
On Thu, Jun 25, 2009 at 11:07 AM, Pid wrote:
> Jonathan Mast wrote:
> > Chris, this is indeed a case of pr
Chris, this is indeed a case of private labeling. My company has setup a
site to which a major distributor wants to send traffic. As such they are
demanding custom advertising tags. The problem is that this site will also
be recieving traffic from other distribution channels, hence the need for
't take my word for any of what follows.
> Let's say that I am just trying to apply what I think I have learned here.
> And I am eager for contradiction, because it is said that this is how one
> learns.
>
> Jonathan Mast wrote:
>
>> I have a webapp that I woul
I have a webapp that I would like to behave in a context (actually
host)-specific manner. Where is the best place to initialize the
context/host specific functionality?
Let me demonstrate what I'm talking about. Lets say I have a webapp Fruit
located in folder webapps/fruit.
I want to define:
ap
has been denied
> with user: tomcat; pass: tomcat
>
> Can you explain step-by-step the redeployment configuration, please?
>
>
> Regards
>
>
>
> Jonathan Mast-2 wrote:
> >
> > try:
> >
> > http://tomcat.apache.org/tomcat-6.0-doc/manager-howto
try:
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html
On Wed, Jun 17, 2009 at 4:53 PM, Tokajac wrote:
>
> Hello,
>
>
> Whenever i want to deploy new version of application (that's VERY often),
> have to:
> stop tomcat;
> execute build.xml -ant script;
> start tomcat;
>
> Is there an
Sid, what everyone is saying about my first reply to your post is correct,
that code sample unnecessarily uses synchronization to achieve what static
initialize could do less expensively. I wrote class awhile ago with paying
much attention to the costs of synchronization.
private static final Som
I've not done anything with EJBs and I'm not sure what exactly you mean by
static "properties". I have however dealt with reducing instantiations in
servlets. I simply created a BeanBag class with static methods to each one
of my beans; these are not "proper" beans, but where simply objects that
I just completed (last week actually) a migration from JDK 1.4.2/Tomcat 5.5
to JDK 1.6/Tomcat 6.
In terms of backward-compatibility, we had a problem with our TagLib
packages. They would not compile under with whatever version of the Servlet
Spec accompanies JDK 1.6. Those were the only compatib
Well I'm not sure how to check the current memory settings but I sure know
how to adjust them :)
Presuming that you downloaded Tomcat directly and installed manually:
open "$TOMCAT/bin/catalina.sh"
Add the following somewhere near the top (I place mine after all the
explanatory comments):
JAVA_OP
it
> to load resoures that have appeared after the server has started ...
> it doesn't look like it is possible which is slightly depressing ...
> unless of course I am missing something.
>
> Surely this is not an unusual requirement, how do others deal with
> serving up imag
I encountered a similar issue of numerous Httpd processes spawning b/c of
Tomcat. The issue for me was that Tomcat was running out of memory, and
Httpd for some reason thought spawning a bunch a threads would help ;)
Do you know how much memory these instances of Tomcat are using? The
default JV
So you are actually storing the image data in the database, as opposed to
the filepath? interesting...
So your webapp accesses the image data as needed and writes it to imagecache
dir? Is this feature not working? i don't understand what exactly the issue
is that you are having. please explain.
Alec, so basically members of your client company should be able to have
direct access to a servlet that is otherwise restricted to a handful of
users who must authenicate themselves with a username/password login, right?
One solution to this situation would be to create a simple servlet that
snif
Did CentOS setup /var and /usr on different partitions? If so then maybe it
would be a good idea to place the logs some where on /var.
What else will this server be used for aside from the Webserver? If nothing
else and if /var and /usr are on the same partition, then I wouldn't alter
the defaul
Its my understanding that all Self-signed certs generate the creepy browser
messages. Not sure though. Were the imported root certs issued by a well
known CA?
On Wed, May 6, 2009 at 10:43 PM, Andrews, Wayne wrote:
>
> Hi
>
> I have an issue whereby on a windows installation of Tomcat; I have a
Well, you get what you pay for. My GoDaddy account costs $6.99 per month
and I quickly found it inadequate for hosting serious Tomcat applications,
just for the reasons you listed: very unintuitive control panels, 1-day lag
in servlet (non)-deployment.
I'm canceling the hosting portion of my GoDa
dré Warnier wrote:
>
>> Jonathan Mast wrote:
>>
>>> The Tomcat-Connector docs say that the source dist contains a sample
>>> workers.properties file, but neither Tomcat 6 nor Httpd 2.2 src archives
>>> contain such a file.
>>>
>>> But the mo
ok, i'll look, the docs don't explicitly say what source package the sample
is in. thanks
On Wed, Apr 22, 2009 at 2:48 PM, André Warnier wrote:
> Jonathan Mast wrote:
>
>> The Tomcat-Connector docs say that the source dist contains a sample
>> workers.properties fi
The Tomcat-Connector docs say that the source dist contains a sample
workers.properties file, but neither Tomcat 6 nor Httpd 2.2 src archives
contain such a file.
Could someone please post a sample workers.properties file for the
aforementioned Tomcat and Httdp versions?
Thanks
programming should be left to the hobbits who
develop the OS and who know all the magical incantations needed to use it
safely.
thanks
On Wed, Apr 15, 2009 at 1:12 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
&g
.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan,
>
> On 4/9/2009 11:20 AM, Jonathan Mast wrote:
> > ok, here is the plain vanilla, immaculate server.xml, straight from a
> > fresh untarring of the tomcat 6 dist that i just re-installed,
Has anyone figured out whats happening here?
On Thu, Apr 9, 2009 at 11:20 AM, Jonathan Mast
wrote:
> ok, here is the plain vanilla, immaculate server.xml, straight from a fresh
> untarring of the tomcat 6 dist that i just re-installed, its still not
> working.
>
> thanks
>
D MESSAGE-
> Hash: SHA1
>
> Jonathan,
>
> On 4/8/2009 1:29 PM, Jonathan Mast wrote:
> > Furthermore, I can tell you that "netstat -a" indicated no listener for
> port
> > 8080 and that that Catalina logs look ok.
>
> Seriously. Post. Your. Server.
uot; indicated no listener for port
8080 and that that Catalina logs look ok.
thanks,
On Wed, Apr 8, 2009 at 12:24 PM, Peter Crowther wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > I'm trying to get Tomcat 6 running on a RedHat box.
> >
> > I
I'm trying to get Tomcat 6 running on a RedHat box.
I don't want to build deamon with jsvc as the docs say I should do, at least
not yet. Is this the extent of the official documentation for setting up
Tomcat on Linux?
I installed JDK 6 and Tomcat 6, defined JAVA_HOME and TOMCAT_HOME and setup
h
I looked at the javadocs for the RemoteAddrValve and they provided no
further clarity on the syntax issue.
You're right, my test case mistakenly returned a false positive, ".*" could
match anything its true and their is no "common sense" wildcard in the Java
Regex package. I looked at the javadoc
How do I specify wildcards in the RemoteAddrValue declaration?
The Tomcat docs says it uses the java.util.regex package, so i wrote a test
case like this:
String patternStr = "192.168.*.*";
String searchStr = "192.168.1.2";
Pattern p = Pattern.compile(patternStr);
Well the I figured it out. I forgot that I had updated (yesterday) the
codebase on www.mysite.com to use jsp-api.jar and servlet-api.jar., but
hadn't restarted Tomcat at that time. Previously it was using servlet.jar.
After I deleted jsp-api.jar and servlet-api.jar and placed servlet.jar back
in
I restarted tomcat after making some changes and now I my main webpage is
down. The www.mysite.com returns a blank page.
I didn't touch the code-base of the main website before the restart, that
service, which is on a different host (foo.mysite.com) works fine.
Looking at apache and tomcats logs
Linux.
So am I now like Frodo in Lord of the Rings? About to be dissolved by the
evil Chuck-spider's venom? ;-)
On Tue, Mar 24, 2009 at 5:30 AM, André Warnier wrote:
> Caldarale, Charles R wrote:
>
>> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re:
>&
ver and execute a bash scriptor some other one-off kludge thats slap-dash
and hard to maintain :-(
On Tue, Mar 24, 2009 at 11:25 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan,
>
> On 3/20/2009 7:53
:34 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > Subject: Upgrading to Java 1.5
> >
> > I want to migrate to Java 1.5. Is it possible to
> > do this vis-a-vis Tomcat by just alteri
I'm working in a Java 1.4.2, Apache 1.3.33, Tomcat 5.5, Linux environment.
I want to migrate to Java 1.5. Is it possible to do this vis-a-vis Tomcat
by just altering what the /usr/local/java link points to? Or will I need to
do more under-the-hood changes?
OK, so what would it look like? Show me a comparable snippet of PHP code.
How does one enable this feature if its off by default? Why is it off by
default? I guessing it opens up security issues and/or has side effects. Not
conducive to enterprise-level computing, imho.
What is PEAR? Is that lik
>Meh. Most Java webapps aren't multithreaded anyway in the sense that
>each request lives in its own little world and usually runs start to
>finish with no other threading involved.
Just this week I added threading to a component of my web-app. I had some
what dreaded it, but found that it took m
We're using the AccessLogValve extensively and I'm wondering if anyone can
tell me what happens when an active (ie. today's) access log file is
deleted?
Will Tomcat handle this gracefully or go bonkers?
I occasionally delete some log files that are active but are unimportant,
when that happens i
iho wrote:
> Jonathan Mast wrote:
> > I would like to know how to imitate the click of link in JSP or serlvet,
> in
> > order to track clicks.
> >
> > I have pages with links containing tel protocol URIs like this:
> > Click here to listen!
> >
> > I want to rep
ort onclick.
>
> --Ken
>
>
> On Mar 2, 2009, at 3:22 PM, Jonathan Mast wrote:
>
> [Sorry for this non-Tomcat specific question, but Sun Forums didn't help
>> me
>> much with this one]
>>
>> I would like to know how to imitate the click of link in
[Sorry for this non-Tomcat specific question, but Sun Forums didn't help me
much with this one]
I would like to know how to imitate the click of link in JSP or serlvet, in
order to track clicks.
I have pages with links containing tel protocol URIs like this:
Click here to listen!
I want to repla
Here's my setup:
Java 1.4.2
Tomcat 5.5.17
Windows XP
I'm developing in NetBeans 6.5 (which is invoking Tomcat)
The page just reads from a database and stuffs the results into a table.
I noticed that the page was taking forever to load, so i placed logging
statements in it, at the beginning of the
I can't help with the inner class issue other than to say that perhaps you
should move away from using inner classes in JSP totally. I don't
understand how you are using these inner classes, could you please explain?
On Sat, Jan 24, 2009 at 1:32 PM, Qiao Jin wrote:
> I am using Tomcat 6.0
Perhaps I should explain more about how my rewrite sans JOINs works:
The reports read from a log table with this schema:
PK | ref_PK1 | ref_PK2 | ref_PK3 | start_time | stop_time
Where ref_PK# is the primary key of another table. These 3 other tables are
very shallow (row count < 100). The log
that is almost certainly an Apple Java issue. If by charting, you mean
graphics, then even more so. The Java2D api on Mac still has bugs that will
crash.
But you can't be certain unless you test ur webapp on a windows machine.
On Fri, Jan 23, 2009 at 11:03 AM, Stephen Caine wrote:
> All,
>
> W
n the file. Perhaps Tomcat could
have been helpful in indicating this.
Thanks
On Thu, Jan 22, 2009 at 5:05 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > Subject: Re: GenericType error?
>
> >
oblem.
Another thing: 2 contexts are pointing to blah, again nothing new here. (and
i'm deleting the work/ dir for both)
Thanks for enduring
On Thu, Jan 22, 2009 at 4:15 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhma
Perhaps the discussion should move back towards how Tomcat interacts with
databases.
This thread seems to be damning MySQL for not having super advanced
features, some of which should perhaps not even be in the purview of the
database layer, but more appropriately belong at the application layer (
Sorry:
OS: linux
JVM: 1.4.2
Tomcat: 5.5.17
On Thu, Jan 22, 2009 at 4:03 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > Subject: GenericType error?
>
> > What is causing this error?
>
&
I have a webapp that is giving me this error:
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 28 in the jsp file: /blah.jsp
Generated ser
Our organization has products backed by both databases and we are almost
entirely shielded from the database details in Tomcat. I don't really see
how it should matter in terms of Tomcat (or any Web container). I'm
thinking this is more a Java issue than a Tomcat issue.
The main differences we'v
s to automatically
invoke them when they restart. Kinda tedious.
Thanks again
On Wed, Jan 14, 2009 at 4:35 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > Subject: Re: Can Tomcat be used to host
Well what I want is to have a dedicated port for a socket, I just want all
the application infrastructure to be handled by Tomcat rather than a writing
a custom solution. Not sure if dynamically rewriting server.xml is the way
to go.
My guess would by a Valve/Connector type thing, but I'm just no
Is it possible to use Tomcat to host socket servers? Or is Tomcat a strictly
1 port operation?
thanks
tITEM()
methods inside the beans or around the methods in BeanBag that return the
bean?
On Tue, Jan 6, 2009 at 11:14 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> > Subject: replacement for useBean d
OK I know this isn't Tomcat-specific, but my post on Sun Forums didn't get
much of a reply, so I thought I'd try it here.
I'm in the process of translating a series of JSPs into straightout servlets
and I have a question about how I should replicate the functionality of the
useBean directive in m
s?
Thanks
On Tue, Dec 2, 2008 at 11:45 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
>
>> I'm using Apache+Tomcat (1.3.33, 5.5.17) and I have servlet named "bar",
>> with no file extension in its name.
>>
>> bar is
I'm using Apache+Tomcat (1.3.33, 5.5.17) and I have servlet named "bar",
with no file extension in its name.
bar is in a folder named "foo" which is reachable by 2 virtual hosts:
www.mysite.com/foo/bar
foo.mysite.com/bar
I know to how tell apache that request for /bar on the WWW virtual host
sho
I am writing a report generator that has the ability to generate Excel
files. The user clicks on a link (exporter.jsp), the page's content-type
has been set to "application/vnd.ms-excel" which naturally prompts the user
to either save to a file or open directly in Excel.
It works fine, but requir
to test it out.
Sorry I couldn't help ya out more.
Good luck
On Mon, Nov 10, 2008 at 10:30 AM, blacksheep <[EMAIL PROTECTED]> wrote:
>
> I wonder you came up with a solution ?
>
>
> Jonathan Mast-2 wrote:
> >
> > OK, i have a webapp which has it's ow
f.foo.log" ?
thanks
On Fri, Oct 24, 2008 at 1:17 PM, Serge Fonville <[EMAIL PROTECTED]>wrote:
> Unless specifically coded to do so, no thread can talk to another by
> default
> since there is no way of talking to another instance with an unknown name
> or
> identifier
Suppose I have 1 webapp named "code-stuff" that sits in my webapps
directory. Now lets say i set up 2 subdomains of my website, foo.mysite.comand
bar.mysite.com and each have an context that points to code-stuff. Will
code in these two contexts be visible to each other? I know Tomcat copies
to i
e.
How do tell Apache to forward all incoming requests for "/foo/" onto Tomcat,
which would then know to serve /foo/index.jsp ?
Thanks
On Wed, Oct 22, 2008 at 10:44 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Jonathan Mast [mailto:[EMAIL PROTECTED]
> &
I have an context on Tomcat that is receiving some traffic and returning 404
errors. The request is logged in Apache as "GET /foo/" with no file being
specified. I've specified in the WEB-INF/web.xml file that the welcome file
should be "index.jsp" yet I am still getting 404s. It should be note
Ok, so I see that will have to roll my own PreciseAccessLogValve. So how do
I integrate with Tomcat? Do i just write my code, jar it and place in the
Tomcat's common/lib, and simply reference the classname like I do the
built-in accesslogvalve?
On Tue, Sep 16, 2008 at 4:40 PM, Mark Thomas <[EMAIL
t show
> milliseconds.
>
> Tomcat 5.5.x
>
> Regards,
> Dave
>
>
> On Sep 16, 2008, at 11:39 AM, Jonathan Mast wrote:
>
> Is it possible to obtain timestamps with millisecond precision in access
>> logs? I don't see anything about specifying
Is it possible to obtain timestamps with millisecond precision in access
logs? I don't see anything about specifying the date-time stamps on
AccessLogValve page and was wondering if there wasn't a way to get this
data.
Tomcat 5.5
Thanks
Hi, I was wondering what the exact syntax for specifying a custom access log
pattern in the server.xml is.
Here is a snippet from which contains my custom format:
my question is: how should a I handle the nested double quotes in the
pattern attribute? How should i escape them?
Hello all,
I have Context named "foo" whose path is "/foo" and whose docbase is
DOCS/foo. foo has it's own AccessLogValve
Foo has a subdirectory "bar" which I would now like to be it's own Context
and AccessLogValue.
My question is: Will defining a context "/foo/bar" at DOCS/foo/bar, with
it's
lem and I
> delete its associated class file and the jsp will then compile ok.
>
> --HH
>
>
>> On Aug 29, 2008, at 5:00 PM, Jonathan Mast wrote:
>>
>> I refactored the POJO side of a webapp I have. I basically moved some
>>> objects referenced by the JSPs into a ne
I refactored the POJO side of a webapp I have. I basically moved some
objects referenced by the JSPs into a new package. I updated the jsps
accordingly, by importing the new package with the PAGE directive at the
top. I deleted the old version of the webapp, rebuilt it, and restarted
tomcat.
It
:17 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan,
>
> Jonathan Mast wrote:
> | I can't figure out how to use the pageContext.forward() method like it's
> | equivalent script element:
>
> Do
I can't figure out how to use the pageContext.forward() method like it's
equivalent script element:
How do I pass the name-value pair "foo":"bar" using pageContext.forward()? I
thought there would be a method like forward(String path, Map params) but
there isn't.
Nor is there a setParamet
Hi all,
I'm using AccessLogValves to log access to contexts and I'm using the
"combined" pattern documented here:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access%20Log%20Valve
However, I would like to define a custom pattern for logging this
information. The problem is that I do
I have jsp that started giving me this error when I added another mundane
else if clause to a long section of such clauses:
Generated servlet error:
Syntax error, insert "}" to complete Block
Generated servlet error:
Syntax error on token "}", delete this token
Generated servlet error:
Syntax er
I thought a forward would require the same type of individual parameter
extraction and rebuilding.
Please let me know how to do this in bulk.
Thanks.
On Wed, Jul 16, 2008 at 12:27 PM, Hassan Schroeder <
[EMAIL PROTECTED]> wrote:
> On Wed, Jul 16, 2008 at 9:13 AM, Jonathan Mast
1 - 100 of 133 matches
Mail list logo