Re: WOGen refmodel?

From: Federico C. Repond (frepon..uminafinance.com)
Date: Thu Aug 19 2004 - 13:05:39 EDT

  • Next message: Geoff Hopson: "Re: WOGen refmodel?"

    Setting the port, doesn't work either. The last parameter is the port
    number.

    These are the parameters set in the eclipse launch:

    -DNSDebugLevel=NSLog.DebugLevelDetailed -DNSDebugGroups=15:17
    -DBASE_WO_CONFIG=config/uat/gaia_uat.properties
    -Djava.security.auth.login.config=config/uat/Authentication.config
    -DWORootDirectory="/usr/local/Apple"
    -DWOLocalRootDirectory="/usr/local/Apple/Local"
    -DWOUserDirectory="/home/frepond" -DWOEnvClassPath=""
    -DWOApplicationClass=Application -DWOPlatform=UNIX -DWOPort=9999

    On Thu, 2004-08-19 at 10:09, Geoff Hopson wrote:
    > Yes, I am running just fine from Eclipse under Linux. I don't recall setting anything up specifically in the launch parameters, but I tend to set a hardcoded WOPort on the launch so I can bookmark the application on Firefox.
    >
    > Isn't the first URL you give setting the instance number of the application to 34096 instead of the port number? (Not at my WO system right now, so I can't dive any deeper - sorry!)
    >
    > Geoff
    >
    > On Thursday, August 19, 2004, at 02:03PM, Federico C. Repond <frepon..uminafinance.com> wrote:
    >
    > >Geoff, have you run a WO application under linux successfully from
    > >Eclipse?
    > >
    > >I've problems running an application, the application seems to start ok
    > >(except for the URL it prints
    > >http://localhost/cgi-bin/WebObjects/MainBundle.woa/-34096 instead of
    > >http://localhost:34096/cgi-bin/WebObjects/MainBundle.woa/) but I can't
    > >connect. I get the following error:
    > >
    > >An error occurred while loading
    > >http://localhost:34096/cgi-bin/WebObjects/MainBundle.woa/:
    > >
    > >
    > >Connection to host localhost is broken
    > >
    > >
    > >Have you ever heard this kind of problem? Deployed applications work
    > >just fine.
    > >
    > >
    > >
    > >Regards
    > >
    > >
    > >Federico
    > >
    > >
    > >
    > >On Thu, 2004-08-19 at 04:41, Geoff Hopson wrote:
    > >> Hi,
    > >>
    > >> I'v moved to using Linux as a development platform, and everything is
    > >> going swimmingly well...apart from eogenerator. I have to drop back to
    > >> my Mac to run eogenerator whenever I change the eomodel.
    > >>
    > >> I have played around with the wogen task and have that working just
    > >> fine, but I have a couple of models that inherit from a base model, and
    > >> the parent classes are not getting set correctly. I have tweaked the
    > >> Velocity template and have had a little success, but what is really
    > >> needed is a -refmodel parameter.
    > >>
    > >> I guess this is the question - is anyone working on this?
    > >>
    > >> Thanks,
    > >> Geoff
    > >>
    > >
    > >



    This archive was generated by hypermail 2.0.0 : Thu Aug 19 2004 - 13:06:53 EDT