Re: OK !!! ALMOST - Re: Anyone have any other ideas on my deployment woes?

From: James Cicenia (jame..imijon.com)
Date: Thu Dec 20 2007 - 19:28:54 EST

  • Next message: Chuck Hill: "Re: OK !!! ALMOST - Re: Anyone have any other ideas on my deployment woes?"

    I did back it up already.

    I have a new dev machine but did not put on WO54. I had copied over WO
    from my old machine. I might have been crazy to make the jump to
    Leopard and Eclipse 3.3.2/WOLips but I wasn't that crazy. I have
    production apps after all and will not update WO or my Servers until
    the threads start calming down.

    and.. people like myself stop freaking out!

    :-)

    On Dec 20, 2007, at 6:14 PM, Chuck Hill wrote:

    >
    > On Dec 20, 2007, at 4:06 PM, James Cicenia wrote:
    >
    >> Yes I do. And I did and got sooo much back and well last night I
    >> was a bit burnt out on this problem. With a refresh of sleep, and
    >> post heavy use of my apps, I felt sane enough and calm enough to
    >> try everything again.... anyway:
    >>
    >> My launch script does have that in it and my old app doesn't.
    >
    > I'd back up the new script, and copy over the old one.
    >
    >
    >> So is this something that Mike would know about?
    >
    > Is there something that Mike does not know about????
    >
    >
    >> It has to be a WOLips thing as I am not running WO 5.4
    >
    > Don't you have 5.4 on your dev machine? I forget now, something
    > about a new machine...
    >
    >
    > Chuck
    >
    >
    >>
    >> On Dec 20, 2007, at 5:57 PM, Chuck Hill wrote:
    >>
    >>> Now, do you remember me asking you like, um, several times, if you
    >>> had done a diff on the two apps? If you had slowed down and done
    >>> that, this would all be solved now.
    >>>
    >>> It looks like your launch script has this in it:
    >>>
    >>> if [ "${HOME}" = "" ]
    >>> then
    >>> echo ${SCRIPT_NAME}: HOME environment variable is not set!
    >>> Terminating.
    >>> exit 1
    >>> fi
    >>>
    >>> Which, I will bet, is NOT in the app that does launch from
    >>> JavaMonitor. I don't know if this is a WO 5.4 or a WOLips thing.
    >>>
    >>>
    >>> Chuck
    >>>
    >>>
    >>> On Dec 20, 2007, at 2:51 PM, James Cicenia wrote:
    >>>
    >>>> I finally got an error
    >>>>
    >>>> "HOME environment variable is not set"
    >>>>
    >>>> Where do I set that ?
    >>>>
    >>>> Thanks for everyones patience I think I am almost home again.
    >>>>
    >>>> James Cicenia
    >>>>
    >>>>
    >>>>
    >>>> On Dec 20, 2007, at 12:56 PM, Kieran Kelleher wrote:
    >>>>
    >>>>> James,
    >>>>>
    >>>>> First, are you logging the wotaskd errors? ........ this will
    >>>>> let you see what the launch problem is:
    >>>>>
    >>>>> See here for info on how to set that up. Then launch with
    >>>>> WOMonitor and then go a cat the log to see what happened. See
    >>>>> the section Where's my stderr on this page:
    >>>>> http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Common+Pitfalls+and+Troubleshooting
    >>>>>
    >>>>> *IMPORTANT* Pay attention to last sentence in that
    >>>>> section ...... otherwise no apps will launch at all!
    >>>>> "The one problem now is that typically WebObjects apps run as
    >>>>> appserver user, which means they won't be able to write to this
    >>>>> file. To fix this, you can 'touch /var/log/webobjects.err' as
    >>>>> root, and then chown the blank file to whatever user your
    >>>>> WebObjects apps run as."
    >>>>>
    >>>>> My WILD GUESS:
    >>>>> 1) Permissions still wrong somewhere
    >>>>>
    >>>>> OR
    >>>>>
    >>>>> 2) Something in /Library/WebObjects/Extensions is conflicting
    >>>>> with your app (maybe there is a log4j in there which is
    >>>>> conflicting with one that is already in your frameworks ....
    >>>>> ERJars ... for example. If you must have log4j in there, then
    >>>>> make it the exact same version as the one in your framework ...
    >>>>> but longterm (and this is MY OPINION) take everything OUT of
    >>>>> that WO Extensions dir ....... those jars are dynamically added
    >>>>> to classpath when wotaskd launches. Those are not included in
    >>>>> classpath when you launch on command line NOR when developing in
    >>>>> Eclipse... again this is a wild guess.
    >>>>>
    >>>>> anyway, try getting the wotaskd log going .... and be sure to
    >>>>> report back if success or failure :-)
    >>>>>
    >>>>> Regards, Kieran
    >>>>>
    >>>>>
    >>>>> On Dec 20, 2007, at 1:27 PM, James Cicenia wrote:
    >>>>>
    >>>>>> Hello -
    >>>>>>
    >>>>>> I am really very stumped.
    >>>>>>
    >>>>>> The only thing I can think of why my app won't run from the
    >>>>>> JavaMonitor has to do with something with my new Eclipse/WOLips
    >>>>>> setup, compile and build.
    >>>>>>
    >>>>>> BUT, why would it run just great from the command line?
    >>>>>>
    >>>>>> Does anyone have something else for me to look at?
    >>>>>>
    >>>>>> my app.woa has me as owner (admin) and appserveradm as the
    >>>>>> group. The privileges are: drwxrwx-x and they have been
    >>>>>> applied recursively.
    >>>>>>
    >>>>>> Anyone?
    >>>>>>
    >>>>>> Thanks
    >>>>>> James Cicenia
    >>>>>>
    >>>>>>
    >>>>>> _______________________________________________
    >>>>>> Do not post admin requests to the list. They will be ignored.
    >>>>>> Webobjects-dev mailing list (Webobjects-de..ists.apple.com)
    >>>>>> Help/Unsubscribe/Update your Subscription:
    >>>>>> http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com
    >>>>>>
    >>>>>> This email sent to kieran_list..ac.com
    >>>>>
    >>>>
    >>>> _______________________________________________
    >>>> Do not post admin requests to the list. They will be ignored.
    >>>> Webobjects-deploy mailing list (Webobjects-deplo..ists.apple.com
    >>>> )
    >>>> Help/Unsubscribe/Update your Subscription:
    >>>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
    >>>>
    >>>> This email sent to chil..lobal-village.net
    >>>>
    >>>
    >>> --
    >>>
    >>> Practical WebObjects - for developers who want to increase their
    >>> overall knowledge of WebObjects or who are trying to solve
    >>> specific problems.
    >>> http://www.global-village.net/products/practical_webobjects
    >>>
    >>>
    >>>
    >>>
    >>>
    >>
    >>
    >
    > --
    >
    > Practical WebObjects - for developers who want to increase their
    > overall knowledge of WebObjects or who are trying to solve specific
    > problems.
    > http://www.global-village.net/products/practical_webobjects
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Dec 20 2007 - 19:31:08 EST