Re: WO development on Linux was WOGen refmodel

From: Federico C. Repond (frepon..uminafinance.com)
Date: Mon Aug 23 2004 - 09:16:01 EDT

  • Next message: Sako!: "run WO with parameter"

    According to the WO documentation it is set to true in development
    environments. My linux installation is a deploy one (I don't know if a
    development environment can be installed on linux). Thus in linux I must
    set this parameter to true in the eclipse launch.

    Federico

    On Sat, 2004-08-21 at 13:58, Ulrich Köster wrote:
    > Hi,
    >
    > the WODirectConnectEnabled parameter in the WOApplication launch config
    > is set to true per default. Did I missed something?
    >
    > Ulrich
    >
    > Am 19.08.2004 um 19:23 schrieb Federico C. Repond:
    >
    > > Thanks Geoff, that's was exactly the problem. The missing
    > > WODirectConnectEnabled parameter set to true.
    > >
    > >
    > > Regards
    > >
    > > Federico
    > >
    > > On Thu, 2004-08-19 at 14:10, Geoff Hopson wrote:
    > >> Again, I'm not sitting at a WO box right now, but what is your
    > >> direct connect enabled setting set to? (Can't remember the exact key
    > >> name - WODirectConnectEnabled or something)
    > >>
    > >>
    > >> On Thursday, August 19, 2004, at 06:07PM, Federico C. Repond
    > >> <frepon..uminafinance.com> wrote:
    > >>
    > >>> 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 : Mon Aug 23 2004 - 09:17:09 EDT