This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with 'require' in servlet


Chris,

Even the simplest test (like the one you suggested) results in a
ClassNotFoundException. I also tried it with the minimal servlet:

(require 'http)
(require <parsers>)
(response-content-type 'text/html)
(make-element 'h1 "Allo")

Still the same exception! And both class files are in the
WEB-INF/classes directory. So the class loader is able to locate
servlet.class, but not parsers.class. My knowledge of Tomcat is fairly
succinct, so the problem may be with Tomcat. I'll investigate in this
direction.

Regards,
Dominique

-----Original Message-----
From: kawa-owner@sources.redhat.com
[mailto:kawa-owner@sources.redhat.com] On Behalf Of Chris Dean
Sent: 30 septembre 2003 22:06
To: Dominique Boucher
Cc: 'Kawa List'
Subject: Re: Problem with 'require' in servlet 


It might be worthwhile to try the minimal test

  (module-name <parsers>)
  (module-static #t)
 
  (define (^combinatory x)
    (+ 1 x))

and see if that works.  My guess is that there is some interaction with
Tomcat that we're not understanding.

Regards,
Chris Dean


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]