[Seaside] VW 2.5b3.6.0 configuring new application problem
Jon Paynter
kittle at mail.yans.net
Sat Sep 18 00:53:22 CEST 2004
ok I applied your patch..
then went and hit 'reset configuration'
I got a LOT of copies of this message in my transcript:
Reset servlet
Seaside alternate dispatcher disabled
(something like 15 copies)
I then launched my app like normal
http://localhost:8008/seaside/go/builder
and got a walkback:
'ERROR_PATH_NOT_FOUND ("c:\VisualWorks72\web\examples\seaside\go\builder")'
the exact same symptoms as when I try and create a site using the vwave configuration gui.
What else am I missing here?
Thanks,
Jon.
---------- Original Message ----------------------------------
Date: Fri, 17 Sep 2004 10:57:05 -0400
>Roger,
>Well, I could reproduce your symptom.
>My guess is that you have saved your image with Seaside initialized.
>(I've never done that)
>This is not a regression from 7.2, this is a bug of the VW port
>where the Seaside servlet should be forced-reset when starting an image.
>More on this below.
>
>The normal way to manually reset the Seaside servlet is to use the
>WebToolkit configure tool (http://localhost:8008/configure)
>then click "Manage Server" then click "Reset Configuration".
>WebToolkit triggers an event that is monitored by the Seaside
>servlet.
>
>Regarding the bug, you may want to try the fix below.
>Everything goes to class SeasideServlet (instance side)
>
>dispatcher: anObject
> anObject isNil
> ifFalse:
> ["This servlet will need some clean-up when VW / Web
>Toolkit is started/restarted"
> ObjectMemory addDependent: self.
> VisualWave.WebConfigurationManager
> when: #finishedServerConfiguration
> send: #reset
> to: self]
> ifTrue:
> ["Clean-up no longer needed"
> ObjectMemory removeDependent: self.
> VisualWave.WebConfigurationManager
> removeActionsWithReceiver: self
> forEvent: #finishedServerConfiguration].
> dispatcher := anObject.
>
>
>update: aSymbol
> aSymbol == #returnFromSnapshot ifTrue: [self reset].
>
>
>Enjoy,
>Michel.
>
>
>
>
>
>
>
>
>> -----Original Message-----
>> From: seaside-bounces at lists.squeakfoundation.org
>> [mailto:seaside-bounces at lists.squeakfoundation.org]On Behalf Of Michel
>> Bany
>> Sent: Wednesday, September 15, 2004 10:46 PM
>> To: The Squeak Enterprise Aubergines Server - general discussion.
>> Subject: Re: [Seaside] VW 2.5b3.6.0 configuring new
>> application problem
>>
>>
>> Roger,
>>
>> The Transcript should not say that; it should say
>> Seaside default servlet ready
>> Seaside default dispatcher enabled on path /seaside/go/
>>
>> Do you have the same problem with 7.2 ?
>> This may be caused by some change in WebToolkit 7.2.1 causing
>> a regression.
>> I will look into it and let you know.
>> Michel.
>>
>>
>> > Michel,
>> > No message in the Transcript when I create the new
>> entry point nor
>> > when I try to access it without running 'AAADocumentation new
>> > createWebSite' . When I run 'AAADocumentation new
>> createWebSite' no
>> > output. However when I then access the new entry point after that I
>> > get in the Transcript:
>> >
>> > init
>> > Seaside alternate servlet ready
>> > Seaside alternate dispatcher enabled on path /seaside/go/
>> >
>> > and all is then fine.
>> >
>> > On Sep 15, 2004, at 1:08 PM, Michel Bany wrote:
>> >
>> >> Roger Whitney a écrit :
>> >>
>> >>> I am having some problem configuring new applications in the VW
>> >>> 2.5b3.6.0 version of Seaside running in VW 7.2.1. I can go to the
>> >>> config page (http://localhost:XXXX/seaside/go/config) and
>> add a new
>> >>> entry point. The entry point will show on the list of
>> entry points
>> >>> on the config page. However, I can not access the new
>> entry point. I
>> >>> get a page saying 'Error: "/seaside/go/newEntryPoint" not found'.
>> >>> Once I run 'AAADocumentation new createWebSite' I can access the
>> >>> new location. Anyone else having this problem?
>> >>>
>> >> Any message in the Transcript ?
>> >>
>> >> Michel.
>> >> _______________________________________________
>> >> Seaside mailing list
>> >> Seaside at lists.squeakfoundation.org
>> >> http://lists.squeakfoundation.org/listinfo/seaside
>> >>
>> >>
>> >
>> > ----
>> > Roger Whitney Department of Computer Science
>> > whitney at cs.sdsu.edu San Diego State University
>> > http://www.eli.sdsu.edu/ San Diego, CA 92182-7720
>> > (619) 583-1978
>> > (619) 594-3535 (office)
>> > (619) 594-6746 (fax)
>> >
>> > _______________________________________________
>> > Seaside mailing list
>> > Seaside at lists.squeakfoundation.org
>> > http://lists.squeakfoundation.org/listinfo/seaside
>> >
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/listinfo/seaside
>>
>
>
>
More information about the Seaside
mailing list