[plt-scheme] servlet problem

From: Daniel Silva (dansilva at lynx.dac.neu.edu)
Date: Tue May 27 19:32:15 EDT 2003

Hello,

How is the servlet loading the second file?  If you're using modules and
requiring them, you can check that your servlet (which you can write as
a module now too) can see the identifiers when you hit the Check Syntax
button in DrScheme.

HTH,

-- Daniel

On Tue, 2003-05-27 at 10:14, Elisa Manara wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Hi all,
> 
> I wrote a wiki-like CGI and, after some modifications, I'm now able to run it as
> servlet on my workstation. Well, I'm trying to migrate the whole work to
> another host but I have a strange problem. I start by saying that both
> machines are running MzScheme version 203 on Debian GNU Linux, I copied the 
> whole servlet three (same paths, same permissions). In short, my workstation and
> the other host are in fact two clones as regards with Scheme environment.
> My servlet consists basically of two files: the first one, located into the
> 'servlets' directory, is the servlet itself and loads the second one that contains 
> some procedures.
> Whereas on my local machine the servlet works fine, on that host it refuses to
> run, giving a "reference to undefined identifier" error for each identifier that appears
> before its definition into the loaded file.
> Note that, when running as CGI, the same pair of files work correctly also on
> that host.
> Probably I'm doing something wrong, but I can't figure out the reason why the
> servlet does not reveal the same problems on my local machine.
> 
> Any ideas?
> Regards,
> Elisa.



Posted on the users mailing list.