I can't figure out how to use php4 with tomcat 5.5 on my windows system. I
searched the internet and I can't find a straight forward guide to using
these 2 programs. If anyone could point me to a step-by-step guide it would
be great.
thanks
et up apache on windows? It doesn't come as a
binary as i recall, and i'm loath to go about compiling C/C++ on a windoze
contraption :-[
On Sun, Jun 15, 2008 at 9:37 PM, Steve Ochani <[EMAIL PROTECTED]> wrote:
> Date sent: Sun, 15 Jun 2008 23:12:42 -0100
> From: Jonath
I want to capture the System.out and System.err stuff for individual
web-apps (ie. Contexts). I've done this ok for some of my contexts but I
have a question about how to do this for my webapps whose "path" attribute
contains more than 1 slash, eg.
Specifically, how do I reference this webapp i
Turns out the multiple / in the context path wasn't a problem. However, its
not capturing the System.out and System.err associated with the webapps.
An empty file is created, but the System. stuff keeps going to
Catalina.out. And i've set the swallowOutput attribute to true, so that
functionality
I'm writing a jsp to return out a simple xml document and it is being
preceded by quite a few line breaks, causing my test parser to fail.
The page simply calls out.println(xmlstring);
Is there another way to control precisely the contents returned by a JSP?
I thought there would be a "setConten
Thanks, that did the trick!
On Thu, Jul 10, 2008 at 1:08 PM, Jim Cox <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast <
> [EMAIL PROTECTED]>
> wrote:
>
> > I'm writing a jsp to return out a simple xml document and it is being
>
Don't forget to include jsp-api.jar in your build process as well, as its
contents were formerly contained by servlet.jar.
On Mon, Jul 14, 2008 at 2:51 PM, Stephen Nelson-Smith <[EMAIL PROTECTED]>
wrote:
> > It is lib/servlet-api.jar
>
> Thank you - perfect.
>
> S.
>
> ---
I have a page which now receives quite a few parameters, eg.
page.jsp?abc=foo&xyz=bar ...
This page redirects via response.sendRedirect(). I want to know how I can
forward every parameter onto the redirect page, without having to extract
each one individually and rebuilding them in the url I plac
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
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
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 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
: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 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
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
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
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?
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
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
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
I'm having trouble enabling the Manager webapp on Tomcat
I've altered the server.xml and tomcat-users.xml files appropriately but
when I type in www.mysite.com/manager I get an error saying the location
doesn't exist.
On my local Windoze machine, I've gotten the Manager app to work, it is on
the
Tomcat is generating a lot of empty log files of at least to types:
manager..log and
host-manager..log
I googled ["empty log files" tomcat] and did not find satisfactory answers
(or any answers for that matter).
thanks
I need this url:
> http://localhost:8080/manager/html
>
> Ken
>
> Pid wrote:
> > Jonathan Mast wrote:
> >> I'm having trouble enabling the Manager webapp on Tomcat
> >>
> >> I've altered the server.xml and tomcat-users.x
When I run "ps ax" on our Linux server, I'm seeing dozens of Tomcat
processes running. Is this normal?
Shouldn't there be just 1 Tomcat process?
Occasionally, we have to restart Apache to kill all those processes, because
they are slowing the machine down.
thanks
I'm trying to a subdomain to our site but Tomcat is not finding the index
page correctly.
Here are my entries into httpd.conf and server.xml:
ServerName foo.site.com
DocumentRoot /usr/local/apache/htdocs/foo
CustomLog /usr/local/apache/logs/foo.site.com_access_log combined
sorry
Tomcat 5.5.1
Apache 1.3.33
Java 1.4.2
On Thu, Feb 28, 2008 at 1:19 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
> > I'm trying to a subdomain to our site but Tomcat is not finding the
> index
> > page correctly.
> >
> >
However it is usually linked, I'm obviously not an expert on this subject.
Perhaps you know a concise summary of how Tomcat and Apahce HTTPD work?
thanks
On Thu, Feb 28, 2008 at 1:51 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
> > sorry
> >
&
; Hash: SHA1
>
> Jonathan,
>
> Jonathan Mast wrote:
> | However it is usually linked, I'm obviously not an expert on this
> subject.
> | Perhaps you know a concise summary of how Tomcat and Apahce HTTPD work?
>
> Apache can be linked to Tomcat using either HTTP or AJP
Can someone tell me why one project that uses PHP will work in tomcat, but
another that also uses PHP won't?
They have idential web.xml files, so that avenue is closed. I keep on
getting the following message when I try to load one of the pages:
HTTP Status 404 - Servlet php is not available
jar files in both installs.
>
> * The catalina.out and other log files may be giving you information
> during startup which could indicate why the PHP servlet isn't starting up.
>
>
>
>
> p
>
>
> > On Mar 24, 2008, at 7:23 AM, Jonathan Mast wrote:
> >&g
> XML is really SGML ... with a twist.
> I just finished reading Jared Diamond's Guns, Germs and Steel,
> tracking the historical movements of people via the similarities in
> languages is very interesting.
And thus the new field of Comparative Historical Programming Language
Studies is born ;-)
It looks like we might have to upgrade to Java 1.5 from 1.4.2 and I was
wondering if someone could point me to a guide on the pitfalls to watch out
for as per Tomcat 5.5.
thanks,
quot;servlet-api.jar"
which would require a lot of work.
Any ideas?
On Tue, Mar 25, 2008 at 12:39 PM, David kerber <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
> > It looks like we might have to upgrade to Java 1.5 from 1.4.2 and I was
> > wondering if someone coul
Is there anyway that I can prevent Tomcat 5.5 on Windows XP from dying when
I execute the following code in an PHP page:
$db_link = mysql_connect($db_host, $db_user, $db_pass, $new_link) or die
("Unable to connect to database");
This version of PHP does work with other mysql stuff, although
do you have in your log files?
>
>
>
> Jonathan Mast wrote:
>
> > Is there anyway that I can prevent Tomcat 5.5 on Windows XP from dying
> > when
> > I execute the following code in an PHP page:
> >
> >$db_link = mysql_connect($db_host, $db_user
I'm developing a webapp that is going to be making frequent DB operations.
I know that DB connections are expensive and that developers pool
connections to prevent the overhead of frequent instantiation. Is this
design pattern still necessary? I ask because I vaguely recall skimming
over an artic
7;ve never done intensive
DB stuff so...
Thanks
On Thu, Apr 17, 2008 at 12:57 PM, David kerber <[EMAIL PROTECTED]> wrote:
> Jonathan Mast wrote:
>
> > I'm developing a webapp that is going to be making frequent DB
> > operations.
> > I know that DB
I know this not exactly a Tomcat issue, but thought someone could help.
Here is what I'm trying to do:
Dynamically include a file where the file name is dynamic. Neither of the
following lines of code work:
<%@ include file="directory/<%=fileName%>" %>
The <%=fileName%> is not getting
; <%
> getServletContext().getRequestDispatcher(fileName).include(req,resp);
> %>
>
> On May 1, 2008, at 10:35 PM, Jonathan Mast wrote:
>
> I know this not exactly a Tomcat issue, but thought someone could help.
>
> Here is what I'm trying to do:
> Dynamically include a fi
Will JSTL work with Tomcat 5.5? And if so is it a lot of work to set up or
do I just drop a jar file in the classpath?
On Thu, May 1, 2008 at 7:10 PM, Hassan Schroeder <[EMAIL PROTECTED]>
wrote:
> On Thu, May 1, 2008 at 12:35 PM, Jonathan Mast
> <[EMAIL PROTECTED]> wrote:
Yuval was right, all I had to do was make the whole argument in a variable and it works!
On Thu, May 1, 2008 at 7:25 PM, Hassan Schroeder <[EMAIL PROTECTED]>
wrote:
> On Thu, May 1, 2008 at 1:20 PM, Jonathan Mast
> <[EMAIL PROTECTED]> wrote:
> > Will JSTL work with Tomc
Here is a top of a stack trace from catalina.out:
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.audio_jsp._jspService(audio_jsp.java:792)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at ja
I'm wondering if the <%@ include file="somefile.jsp" %> method of including
a file is more error prone (on Tomcat) than approach?
Any ideas would helpful, especially an explanation of what is being done
under the hood when these 2 mechanisms are being invoked.
Tomcat 5.5
Java 1.4.2
Thanks
008 at 1:07 PM, Andrei Tchijov <[EMAIL PROTECTED]> wrote:
> they are identical. you will want to use if you care to have
> your JSP pages in form of valid XML.
>
>
> On Jun 3, 2008, at 12:52 , Jonathan Mast wrote:
>
> I'm wondering if the <%@ include file="s
OK, i have a webapp which has it's own context element. I want all the
System.out and System.err stuff from this webapp to go to it's own special
log file as opposed to catalina.out. My reading of the Tomcat docs (version
5.5) seems to indicate that I can do this by following these steps:
1. set
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
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]
> &
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
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
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
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
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
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
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
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
Is it possible to use Tomcat to host socket servers? Or is Tomcat a strictly
1 port operation?
thanks
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
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
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
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
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?
>
&
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 (
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
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?
>
> >
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
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
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
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
[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
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
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 (
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,
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
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 *.
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.
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
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
>
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
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
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
> ... 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
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
>>
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
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
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
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
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
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
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
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
'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
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
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
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
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
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
>
>>
>> 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
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
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].[
>
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
1 - 100 of 133 matches
Mail list logo