Try downloading the new binary - /newsite/bin/jboss-tomcat-2.1-beta.zip
server.xml is now parsed, so I am thinking that will solve your problem...
> -----Original Message-----
> From: Colin Payne [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 10:34 AM
> To: JBoss-User
> Subject: Re: [jBoss-User] Startup servlets when using embedded Tomcat?
>
>
> Hi Steve
>
> I should clear something up. I have successfully deployed the simple
> servlet examples using .war files and simple contexts, that
> is not what I'm
> talking about.
>
> Rather, I'm talking about a servlet which you can't hit through a web
> browser, one that is executed (and has been set up to do so,
> like you would
> normally do through Apache's server.xml) when the servlet
> engine (and JBoss
> server, in this case) starts up. I want to do this to cache
> a number of
> entity beans upon server startup. This is pretty standard
> functionality,
> WebLogic and JRun both allow you to do this, for example, as
> does Tomcat
> when you use server.xml (which is ignored in the Tomcat-JBoss
> configuration). There is a big difference between a startup
> servlet and one
> that you hit through a GET or POST request.
>
> If I can't execute startup servlets with the Tomcat-JBoss
> configuration,
> then it's useless to me, I'll have to run Tomcat with Apache,
> and let JBoss
> run in its own virtual machine. I must have startup servlets.
>
> Please let me know if this is still unclear.
>
> JBoss-User wrote:
> >> Thanks Steve
> >>
> >> I'm still a little unclear as to whether the servlet is
> actually run
> >(ie. to
> >> cache some objects) or is the context just registered?
> >
> >Well, here it actually runs ... I hit
> localhost:8080/<context name> and
> >there's the pages. Is that same format failing there?
> >
> >S-
> >
> >>
> >> JBoss-User wrote:
> >> >> Hello
> >> >>
> >> >> Has anyone had any success configuring and deploying a
> servlet that
> >> >gets
> >> >> executed upon the JBoss server startup, when using the
> >> >> embedded-Tomcat/JBoss configuration?
> >> >
> >> >Yes, this was no problem. I put a .war file (standard
> internal format)
> >in
> >> >the
> >> >deploy directory of jBoss. It notices this at once and loads it
> >(default
> >> >config) and also loads it at startup.
> >> >
> >> >As far as configuring, my .war is called "ums.war" and
> gets assigned
> >the
> >> >context "ums", but I am not sure if these two facts are causally
> >> >connected.
> >> >Also, the index.html is not found when loading
> localhost:8080/ums, but
> >> >instead
> >> >the name must be specified ("localhost:8080/ums/index.html"). I am
> >pretty
> >> >sure that all this can be configured correctly through
> JMX but have no
> >> >idea
> >> >how yet. :)
> >> >
> >> >You can make .war files easily if you set up your project
> to use ant.
> >See
> >> >"Developing Applications With Tomcat" which is in the
> docs that come
> >with
> >> >TomCat.
> >> >
> >> >HTH,
> >> >
> >> >S-
> >> >
> >> >
> >> >
> >> >--
> >> >--------------------------------------------------------------
> >> >To subscribe: [EMAIL PROTECTED]
> >> >To unsubscribe: [EMAIL PROTECTED]
> >> >List Help?: [EMAIL PROTECTED]
> >> --
> >> Colin Payne -- [EMAIL PROTECTED]
> >>
> >>
> >>
> >> --
> >> --------------------------------------------------------------
> >> To subscribe: [EMAIL PROTECTED]
> >> To unsubscribe: [EMAIL PROTECTED]
> >> List Help?: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >To subscribe: [EMAIL PROTECTED]
> >To unsubscribe: [EMAIL PROTECTED]
> >List Help?: [EMAIL PROTECTED]
> --
> [EMAIL PROTECTED]
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law. If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]