<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [Seaside] VW 2.5b3.6.0 configuring new application problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Roger,</FONT>
<BR><FONT SIZE=2>Well, I could reproduce your symptom.</FONT>
<BR><FONT SIZE=2>My guess is that you have saved your image with Seaside initialized.</FONT>
<BR><FONT SIZE=2>(I've never done that)</FONT>
<BR><FONT SIZE=2>This is not a regression from 7.2, this is a bug of the VW port </FONT>
<BR><FONT SIZE=2>where the Seaside servlet should be forced-reset when starting an image.</FONT>
<BR><FONT SIZE=2>More on this below.</FONT>
</P>
<P><FONT SIZE=2>The normal way to manually reset the Seaside servlet is to use the</FONT>
<BR><FONT SIZE=2>WebToolkit configure tool (<A HREF="http://localhost:8008/configure" TARGET="_blank">http://localhost:8008/configure</A>)</FONT>
<BR><FONT SIZE=2>then click "Manage Server" then click "Reset Configuration".</FONT>
<BR><FONT SIZE=2>WebToolkit triggers an event that is monitored by the Seaside</FONT>
<BR><FONT SIZE=2>servlet.</FONT>
</P>
<P><FONT SIZE=2>Regarding the bug, you may want to try the fix below.</FONT>
<BR><FONT SIZE=2>Everything goes to class SeasideServlet (instance side)</FONT>
</P>
<P><FONT SIZE=2>dispatcher: anObject</FONT>
<BR> <FONT SIZE=2>anObject isNil</FONT>
<BR> <FONT SIZE=2>ifFalse:</FONT>
<BR> <FONT SIZE=2>["This servlet will need some clean-up when VW / Web Toolkit is started/restarted"</FONT>
<BR> <FONT SIZE=2>ObjectMemory addDependent: self.</FONT>
<BR> <FONT SIZE=2>VisualWave.WebConfigurationManager</FONT>
<BR> <FONT SIZE=2>when: #finishedServerConfiguration</FONT>
<BR> <FONT SIZE=2>send: #reset</FONT>
<BR> <FONT SIZE=2>to: self]</FONT>
<BR> <FONT SIZE=2>ifTrue:</FONT>
<BR> <FONT SIZE=2>["Clean-up no longer needed"</FONT>
<BR> <FONT SIZE=2>ObjectMemory removeDependent: self.</FONT>
<BR> <FONT SIZE=2>VisualWave.WebConfigurationManager</FONT>
<BR> <FONT SIZE=2>removeActionsWithReceiver: self </FONT>
<BR> <FONT SIZE=2>forEvent: #finishedServerConfiguration].</FONT>
<BR> <FONT SIZE=2>dispatcher := anObject.</FONT>
</P>
<BR>
<P><FONT SIZE=2>update: aSymbol</FONT>
<BR> <FONT SIZE=2>aSymbol == #returnFromSnapshot ifTrue: [self reset].</FONT>
</P>
<BR>
<P><FONT SIZE=2>Enjoy,</FONT>
<BR><FONT SIZE=2>Michel.</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: seaside-bounces@lists.squeakfoundation.org</FONT>
<BR><FONT SIZE=2>> [<A HREF="mailto:seaside-bounces@lists.squeakfoundation.org">mailto:seaside-bounces@lists.squeakfoundation.org</A>]On Behalf Of Michel</FONT>
<BR><FONT SIZE=2>> Bany</FONT>
<BR><FONT SIZE=2>> Sent: Wednesday, September 15, 2004 10:46 PM</FONT>
<BR><FONT SIZE=2>> To: The Squeak Enterprise Aubergines Server - general discussion.</FONT>
<BR><FONT SIZE=2>> Subject: Re: [Seaside] VW 2.5b3.6.0 configuring new </FONT>
<BR><FONT SIZE=2>> application problem</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Roger,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> The Transcript should not say that; it should say</FONT>
<BR><FONT SIZE=2>> Seaside default servlet ready</FONT>
<BR><FONT SIZE=2>> Seaside default dispatcher enabled on path /seaside/go/</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Do you have the same problem with 7.2 ?</FONT>
<BR><FONT SIZE=2>> This may be caused by some change in WebToolkit 7.2.1 causing </FONT>
<BR><FONT SIZE=2>> a regression.</FONT>
<BR><FONT SIZE=2>> I will look into it and let you know.</FONT>
<BR><FONT SIZE=2>> Michel.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> > Michel,</FONT>
<BR><FONT SIZE=2>> > No message in the Transcript when I create the new </FONT>
<BR><FONT SIZE=2>> entry point nor </FONT>
<BR><FONT SIZE=2>> > when I try to access it without running 'AAADocumentation new </FONT>
<BR><FONT SIZE=2>> > createWebSite' . When I run 'AAADocumentation new </FONT>
<BR><FONT SIZE=2>> createWebSite' no </FONT>
<BR><FONT SIZE=2>> > output. However when I then access the new entry point after that I </FONT>
<BR><FONT SIZE=2>> > get in the Transcript:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > init</FONT>
<BR><FONT SIZE=2>> > Seaside alternate servlet ready</FONT>
<BR><FONT SIZE=2>> > Seaside alternate dispatcher enabled on path /seaside/go/</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > and all is then fine.</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > On Sep 15, 2004, at 1:08 PM, Michel Bany wrote:</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> >> Roger Whitney a écrit :</FONT>
<BR><FONT SIZE=2>> >></FONT>
<BR><FONT SIZE=2>> >>> I am having some problem configuring new applications in the VW </FONT>
<BR><FONT SIZE=2>> >>> 2.5b3.6.0 version of Seaside running in VW 7.2.1. I can go to the </FONT>
<BR><FONT SIZE=2>> >>> config page (<A HREF="http://localhost:XXXX/seaside/go/config" TARGET="_blank">http://localhost:XXXX/seaside/go/config</A>) and </FONT>
<BR><FONT SIZE=2>> add a new </FONT>
<BR><FONT SIZE=2>> >>> entry point. The entry point will show on the list of </FONT>
<BR><FONT SIZE=2>> entry points </FONT>
<BR><FONT SIZE=2>> >>> on the config page. However, I can not access the new </FONT>
<BR><FONT SIZE=2>> entry point. I </FONT>
<BR><FONT SIZE=2>> >>> get a page saying 'Error: "/seaside/go/newEntryPoint" not found'. </FONT>
<BR><FONT SIZE=2>> >>> Once I run 'AAADocumentation new createWebSite' I can access the </FONT>
<BR><FONT SIZE=2>> >>> new location. Anyone else having this problem?</FONT>
<BR><FONT SIZE=2>> >>></FONT>
<BR><FONT SIZE=2>> >> Any message in the Transcript ?</FONT>
<BR><FONT SIZE=2>> >></FONT>
<BR><FONT SIZE=2>> >> Michel.</FONT>
<BR><FONT SIZE=2>> >> _______________________________________________</FONT>
<BR><FONT SIZE=2>> >> Seaside mailing list</FONT>
<BR><FONT SIZE=2>> >> Seaside@lists.squeakfoundation.org</FONT>
<BR><FONT SIZE=2>> >> <A HREF="http://lists.squeakfoundation.org/listinfo/seaside" TARGET="_blank">http://lists.squeakfoundation.org/listinfo/seaside</A></FONT>
<BR><FONT SIZE=2>> >></FONT>
<BR><FONT SIZE=2>> >></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > ----</FONT>
<BR><FONT SIZE=2>> > Roger Whitney Department of Computer Science</FONT>
<BR><FONT SIZE=2>> > whitney@cs.sdsu.edu San Diego State University</FONT>
<BR><FONT SIZE=2>> > <A HREF="http://www.eli.sdsu.edu/" TARGET="_blank">http://www.eli.sdsu.edu/</A> San Diego, CA 92182-7720</FONT>
<BR><FONT SIZE=2>> > (619) 583-1978</FONT>
<BR><FONT SIZE=2>> > (619) 594-3535 (office)</FONT>
<BR><FONT SIZE=2>> > (619) 594-6746 (fax)</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > _______________________________________________</FONT>
<BR><FONT SIZE=2>> > Seaside mailing list</FONT>
<BR><FONT SIZE=2>> > Seaside@lists.squeakfoundation.org</FONT>
<BR><FONT SIZE=2>> > <A HREF="http://lists.squeakfoundation.org/listinfo/seaside" TARGET="_blank">http://lists.squeakfoundation.org/listinfo/seaside</A></FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> Seaside mailing list</FONT>
<BR><FONT SIZE=2>> Seaside@lists.squeakfoundation.org</FONT>
<BR><FONT SIZE=2>> <A HREF="http://lists.squeakfoundation.org/listinfo/seaside" TARGET="_blank">http://lists.squeakfoundation.org/listinfo/seaside</A></FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
</BODY>
</HTML>