Re: servlet use. TC6, FC10

2009-02-06 Thread Dave Pawson
2009/2/6 Gregor Schneider : >> AFAIK I don't need any resource specification. > Basically yes, however: > > In one of your previous posts you had the definition > > > > If you want this behaviour explicitely, you'll nee the context-definition. > > From the docs: > > [ snip ] == > > S

Re: servlet use. TC6, FC10

2009-02-06 Thread Gregor Schneider
On Fri, Feb 6, 2009 at 1:06 PM, Dave Pawson 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 Tomcat? > > atom > |

Re: servlet use. TC6, FC10

2009-02-06 Thread Dave Pawson
2009/2/6 Peter Crowther : >> 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 >> | |--

RE: servlet use. TC6, FC10

2009-02-06 Thread Peter Crowther
> 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 > .

Re: servlet use. TC6, FC10

2009-02-06 Thread Dave Pawson
One final item before I leave this thread please. 2009/2/5 Caldarale, Charles R : onf//marge/atom.xml > > No. First off, unless you have something specific to define for your webapp > (e.g., a or , you don't need a element. If you > do need a , it is normally placed inside the webapp in

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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 b

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> 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

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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 CO

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> 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

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : > Just had a quick view, but if I'm not mistaken: > > Change > > > atom > /atom/* > > > to > > > atom > /* > :-) Thanks Chaz. Now works. Are you going to tell me why please? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
Just had a quick view, but if I'm not mistaken: Change atom /atom/* to atom /* Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pc

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> I created a context element in META-INF, filename atom.xml >> contents are >> >> > > O.K. > >> Nothing showing in the log. >> http://marge:8080/atom/ shows >> >> type Status report >> message /atom/ >> description The requested resource (/atom/) is not availabl

RE: [OT] servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] servlet use. TC6, FC10 > > I was just checking that page indicated above, and happened > to read the "caseSensitive" attribute definition. > Doesn't that explanation strike anyone as weird ? Only i

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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

Re: [OT] servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 André Warnier : > [OT] > I was just checking that page indicated above, and happened to read the > "caseSensitive" attribute definition. > Doesn't that explanation strike anyone as weird ? > Or am I just not getting the double negatives somewhere ? > > I would expect a "caseSensitive" att

Re: [OT] servlet use. TC6, FC10

2009-02-05 Thread André Warnier
Caldarale, Charles R wrote: 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

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> 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 htt

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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? &

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> 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 >> >>

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 > >> Is there a basic 'hello world' restlet that should just 'work' >> please > > GIYF: Indeed (Last time I tried a d

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : > On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson wrote: >> Is there a basic 'hello world' restlet that should just 'work' >> please >> > > Sorry, but we can't support every kind of software claiming to work > within Tomcat. No, agreed. I was wondering if there was a two

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> 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 > >

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : > 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 element that you want

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > Is there a basic 'hello world' restlet that should just 'work' > please GIYF: http://temporary.name/java/index.php/spring/restlet-spring-integration - Chuck THIS COMMUN

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson 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 ;) > > Is there a basic 'hello world' restlet that should just 'work' > p

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : >> 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 > create a

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > From the docs "Context elements may be explicitly defined: > > * in individual files (with a ".xml" extension) in the > $CATALINA_BASE/conf/[enginename]

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
Hi Dave, On Thu, Feb 5, 2009 at 2:52 PM, Dave Pawson wrote: > > > From the docs "Context elements may be explicitly defined: > >* in individual files (with a ".xml" extension) in the > $CATALINA_BASE/conf/[enginename]/[hostname]/ directory." > > Which I interpret that to have my servlet

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
Moving on, reading http://tomcat.apache.org/tomcat-6.0-doc/config/printer/context.html 2009/2/5 Dave Pawson : > 2009/2/4 Caldarale, Charles R : >>> From: Dave Pawson [mailto:dave.paw...@gmail.com] >>> Subject: Re: servlet use. TC6, FC10 >>> >>> 2009/2/4 Gre

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/4 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> 2009/2/4 Gregor Schneider : >> > what gives "uname -n" ? >> >> 2.6.27.12-170.2.5.fc10.i686 > > Is it just

Re: servlet use. TC6, FC10

2009-02-04 Thread Gregor Schneider
Dave, On Wed, Feb 4, 2009 at 8:50 PM, Dave Pawson wrote: > 2009/2/4 Caldarale, Charles R : >>> From: Dave Pawson [mailto:dave.paw...@gmail.com] >>> Subject: Re: servlet use. TC6, FC10 >>> >>> 2009/2/4 Gregor Schneider : >>> > what gives "

RE: servlet use. TC6, FC10

2009-02-04 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > 2009/2/4 Gregor Schneider : > > 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 -

Re: servlet use. TC6, FC10

2009-02-04 Thread Dave Pawson
2009/2/4 Gregor Schneider : > 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: users-unsubscr...@tomcat.apache.org For additio

Re: servlet use. TC6, FC10

2009-02-04 Thread Gregor Schneider
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:

servlet use. TC6, FC10

2009-02-04 Thread Dave Pawson
I now have a tiny class file for context 'atom'. Loaded {catalina-home}/webapps/atom/WEB-INF/web.xml and /classes/SimpleServlet.class plus /lib/ couple of jars needed I'm failing to run the app, possibly because of this logged error? [Loaded java.net.Proxy from shared objects file] [Loaded