One final item before I leave this thread please.
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
onf//marge/atom.xml
No. First off, unless you have something specific to define for your webapp
(e.g., a Resource or Realm, you don't need a Context element. If you
do need a
2009/2/6 Peter Crowther peter.crowt...@melandra.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
AFAIK I don't need any resource specification.
Does this mean that I can dispense with the atom/META-INF directory
totally? I.e. it is redundant
for this usage of Tomcat?
atom
|-- META-INF
On Fri, Feb 6, 2009 at 1:06 PM, Dave Pawson dave.paw...@gmail.com wrote:
One final item before I leave this thread please.
AFAIK I don't need any resource specification.
Does this mean that I can dispense with the atom/META-INF directory
totally? I.e. it is redundant
for this usage of
2009/2/6 Gregor Schneider rc4...@googlemail.com:
AFAIK I don't need any resource specification.
Basically yes, however:
In one of your previous posts you had the definition
Context reloadable=true
If you want this behaviour explicitely, you'll nee the context-definition.
From the docs:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
AFAIK I don't need any resource specification.
Does this mean that I can dispense with the atom/META-INF directory
totally? I.e. it is redundant
for this usage of Tomcat?
atom
|-- META-INF
| |-- context.xml
|-- WEB-INF
.
If you
2009/2/4 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n ?
2.6.27.12-170.2.5.fc10.i686
Is it just me, or does that look like a really
Moving on, reading
http://tomcat.apache.org/tomcat-6.0-doc/config/printer/context.html
2009/2/5 Dave Pawson dave.paw...@gmail.com:
2009/2/4 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor
Hi Dave,
On Thu, Feb 5, 2009 at 2:52 PM, Dave Pawson dave.paw...@gmail.com wrote:
From the docs Context elements may be explicitly defined:
snip/
* in individual files (with a .xml extension) in the
$CATALINA_BASE/conf/[enginename]/[hostname]/ directory.
Which I interpret that to
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
From the docs Context elements may be explicitly defined:
snip/
* in individual files (with a .xml extension) in the
$CATALINA_BASE/conf/[enginename]/[hostname]/ directory.
Which I interpret
2009/2/5 Gregor Schneider rc4...@googlemail.com:
Which I interpret that to have my servlet deployed (found?) I need to
set up an XML file
as per that web page at
{}/conf//marge/atom.xml
Nope, you don't have to.
Within your webapp, create a folder META-INF, and within this folder
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson dave.paw...@gmail.com wrote:
I note that Charles says I don't need this unless I need to define a
realm or other resources.
it's a wise decision to believe almost anything what Chuck mentions ;)
aside Is there a basic 'hello world' restlet that
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
aside Is there a basic 'hello world' restlet that should just 'work'
please/aside
GIYF:
http://temporary.name/java/index.php/spring/restlet-spring-integration
- Chuck
THIS COMMUNICATION MAY CONTAIN
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
The [engine] name is whatever it's configured to be in server.xml; the
default is Catalina (case sensitive), and there's almost never a reason to
change it. The [host] name is NOT the DNS name, but rather the name of the
associated
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
Note my response to Gregors questions about uname -n?
Were I to use this method would the 'path' then be
$CATALINA_BASE/conf/Cataline/localhost/atom/atom.xml
for my {}/webapps/atom 'webapp'
No; if you
2009/2/5 Gregor Schneider rc4...@googlemail.com:
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson dave.paw...@gmail.com wrote:
aside Is there a basic 'hello world' restlet that should just 'work'
please/aside
Sorry, but we can't support every kind of software claiming to work
within Tomcat.
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
aside Is there a basic 'hello world' restlet that should just 'work'
please/aside
GIYF:
Indeed (Last time I tried a day without internet access I
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
Note my response to Gregors questions about uname -n?
Were I to use this method would the 'path' then be
$CATALINA_BASE/conf/Cataline/localhost/atom
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I was wondering if there was a two liner that implements
org.apache.catalina.Context as per the classname attribute
at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html?
which I might use to get
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
Not my idea of 'hello world' Charles?
(Closer to 'go write a device driver for this real time Unix mc :-)
I'm guessing you've used TC for a while... or longer?
Nothing in the proffered link was Tomcat
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I was wondering if there was a two liner that implements
org.apache.catalina.Context as per the classname attribute
at http://tomcat.apache.org
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
My interpretation, seemingly wrong is that my servlet class must
implement org.apache.catalina.Context.
Definitely the wrong interpretation. Read the servlet spec.
I created a context element in META-INF
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
I created a context element in META-INF, filename atom.xml
contents are
Context reloadable=true/
O.K.
Nothing showing in the log.
http://marge:8080/atom/ shows
type Status report
message /atom/
description The
Just had a quick view, but if I'm not mistaken:
Change
servlet-mapping
servlet-nameatom/servlet-name
url-pattern/atom/*/url-pattern
/servlet-mapping
to
servlet-mapping
servlet-nameatom/servlet-name
url-pattern/*/url-pattern
/servlet-mapping
Rgds
Gregor
2009/2/5 Gregor Schneider rc4...@googlemail.com:
Just had a quick view, but if I'm not mistaken:
Change
servlet-mapping
servlet-nameatom/servlet-name
url-pattern/atom/*/url-pattern
/servlet-mapping
to
servlet-mapping
servlet-nameatom/servlet-name
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
Thanks Chaz. Now works.
That was Gregor, not me, that gave you the answer. (Our corporate e-mail
server hasn't passed your previous message through yet - must be a Homeland
Security thing. :-)
Are you
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
Thanks Chaz. Now works.
That was Gregor, not me, that gave you the answer. (Our corporate e-mail
server hasn't passed your previous message
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I want to start looking at restricting access now, but I'll start a
new thread for that!
Read section 12 of the servlet spec first.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I want to start looking at restricting access now, but I'll start a
new thread for that!
Read section 12 of the servlet spec first.
chuckles
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
I meant to application/xml rather than ... https type!
I'm confused; what kind of access restrictions are you referring to? And whom
do you want to restrict?
(Perhaps this would be better under a new
what gives uname -n ?
gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To unsubscribe, e-mail:
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n ?
2.6.27.12-170.2.5.fc10.i686
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
-
To unsubscribe, e-mail:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n ?
2.6.27.12-170.2.5.fc10.i686
Is it just me, or does that look like a really, really weird result for uname
-n? Did someone mistake
Dave,
On Wed, Feb 4, 2009 at 8:50 PM, Dave Pawson dave.paw...@gmail.com wrote:
2009/2/4 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: servlet use. TC6, FC10
2009/2/4 Gregor Schneider rc4...@googlemail.com:
what gives uname -n
33 matches
Mail list logo