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?
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]