Hhmmm...
That's the trouble, you add code to make something
more robust, and end up just introducing a new
problem.
I'll stick up a new build tonight and this one will
fly !
I don't understand how I managed to deploy onto my
copy last night - perhaps we are using very different
config files. My listener started fine.....
Speak to you later,
Jules
--- David Castro-Diephouse <[EMAIL PROTECTED]>
wrote: > Hi Jules.
>
> We've still got a hitch in the new version. Now the
> web server is not
> starting up at all.
>
> Here's what is happening. In
> JettyService.startService, you added a
> check to Jetty.isStarted = HttpServer.isStarted.
> This call is not doing
> what you want though. HttpServer.isStarted checks
> with its LogSink, its
> Listeners, and its Contexts. If ANY of the above
> are started, it
> returns true.
>
> I have a JBoss-deployed war. JBoss WarDeployer
> service runs before the
> Jetty service, and when it deploys my context
> Jetty.deploy starts the
> context. Then, when Jetty goes to start up, it
> finds out that one
> context is started, and concludes that the server is
> started.
> Unfortunately no listeners are started so we are
> screwed.
>
> It occurs to me though that I could work around by
> moving the Jetty
> service above the WarDeployer in jboss.jcml.
> Checking...
>
> Yes. The workaround fixes the problem. It still
> would be better if it
> would work without tweaking the jboss.jcml file
> though.
>
> I guess you could have Jetty explicitly keep track
> of whether or not it
> has been started. Maybe you will see something
> better. I have to get
> to bed!
>
> Thanks for the quick turnaround Jules.
> Dave
>
> Julian Gosnell wrote:
>
> > Scott, David and Matt,
> >
> > I am just checking JBoss-2.2.2_Jetty-3.1.RC5-4.tgz
> into jboss/binaries.
> >
> > It should appear at :
> >
> >
>
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/binaries/JBoss-2.2.2_Jetty-3.1.RC5-4.tgz
> >
> > in an hour or so.
> >
> > If you would like to give it a whirl, click on
> Revision 1.1 and it should start to download
> > (Netscape) failing this try "Save as" on the link.
> >
> > If I get feedback from you that your problem is
> fixed we will make this a release.
> >
> > Thanks for all your interest.
> >
> >
> >
> > Jules
> >
> >
> >
> >
> >
> > Scott M Stark wrote:
> >
> >
> >>Neither trace 3 or 4 are correct as they originate
> from the org.jboss.util.ServiceControl
> >>class. Looking at the 2.2 branch I see the change
> in service life-cycle management
> >>I mentioned was not incorporated into that release
> and this is the problem. If there
> >>is enough demand a 2.2.3 release could be made.
> The 2.4 release beta will start
> >>tomorrow.
> >>
> >>----- Original Message -----
> >>From: "David Castro-Diephouse"
> <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Sent: Wednesday, June 20, 2001 8:52 PM
> >>Subject: Re: [JBoss-user] jboss-jetty problem -
> stack traces
> >>
> >>
> >>>Here are 4 stack traces:
> >>>1. From ServiceControl.handleNotification,
> registering an MBean for the
> >>>HttpServer.
> >>>2. From ServiceControl.handleNotification,
> registering an MBean for the
> >>>WebApplicationContext.
> >>>3. HttpServer.start calls start on the
> WebApplicationContext.
> >>>4. JMX starts up my WebApplicationContext a
> second time. (this is
> >>>probably what you are looking for Scott)
> >>>
> >>>
> >>>
> >>_______________________________________________
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
>
>>http://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >
> >
> >
>
_________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at
> http://mail.yahoo.com
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user