in web.xml as I know.
Kathy
--- "Blais, Jason J" <[EMAIL PROTECTED]> wrote:
> Gavin,
> Check out the jrun sdk documentation located at
>
http://livedocs.macromedia.com/jrun/4/JRun_SDK_Guide/contents.htm
>
<http://livedocs.macromedia.com/jrun/4/JRun_SDK_Guide/contents.htm>
>
> Chapter 8 deals with implementing jrun services. Its
> a pretty complete
> set of documentation to get your own service up and
> running.
>
> A word of caution. I've found that in order to get
> the service to work,
> the classes needed by the service need to be placed
> outside the
> web-application in the <install_dir>/servers/lib
> directory. After that I
> ran into several class loader issues until I fixed
> some dependency
> problems within my code.
>
> An alternate possibility may be to use the
> <load-on-startup/> tag in the
> servlet configuration of the web.xml file
>
> Hope this helps,
> Jason
>
>
>
> -----Original Message-----
> From: Gavin Werner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 03, 2004 4:21 AM
> To: JRun-Talk
> Subject: Creating new Jrun services
>
>
>
> Hi,
>
> I need to initalize a class when jrun starts up
> (before any
> users start using the web application). I'm gussing
> that the way to do
> this is to create a new jrun service?
>
> Macromedia does not seem to have any notes on how
> to do this
> although Jrun does provide an API for services as
> well as the ability to
> register them in the jrun.xml file.
>
> Has anyone written a jrun service or does anyone
> know if its
> even possible to do so?
>
> Any help much apprecitaed.
>
> Thanking you,
> Gavin
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
