paperclips-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paperclips-discuss] Paperclips Bugs


From: Nic Ferrier
Subject: Re: [Paperclips-discuss] Paperclips Bugs
Date: Mon, 25 Jun 2001 11:39:00 +0100

>>> "Christopher K. St. John" <address@hidden> 25-Jun-01
2:12:50 AM >>>

   #1: $ java gnu.paperclips.boot.webappd --port=9094
  gnupaperclips/:   OK. The server is up: 20 handlers on 7171 port
  7171 != 9094

This is happening because of some changes to support war files and
deployment descriptors. Paperclips used to accept config parameters in
a hashtable but it doesn't now... 

The WebService class has not been changed because I have in mind a
re-write of that class to better represent the relationship between a
Service and an HTTP server (the server should contain the Service now,
it shouldn't extend it).


  This is one of those 'am I hallucinating I don't see any other
  assignment statements and the darned thing is private so wtf!?'
  sorts of bugs, and I'm going to go have another beer now.

The way it used to work is the Service would set all the
initParameters it was passed, this setting would cause the port to get
set.


    #2: 1.4 adds to the Throwable class: public Throwable
getCause(),
    but that conflicts with
gnu/paperclips/boot/WebappInitializer.java:
    DDException: Exception getCause(), fix is to change DDException
    getCause() to be public and return Throwable.

Cool. Thanks.


    #3: had to re-jar gnugetopt, not sure what the problem was, but
I
    was getting some error about classes named such-and-such having
    to be in a file named such-and-such.

That's odd, it works ok for me but Steven Owens reported the same
problem.

I'll spend some time later today getting the HEAD working and try to
fix that problem at the same time.


Nic



reply via email to

[Prev in Thread] Current Thread [Next in Thread]