Re: OK !!! ALMOST - Re: Anyone have any other ideas on my deployment woes?
Re: OK !!! ALMOST - Re: Anyone have any other ideas on my deployment woes?
- Subject: Re: OK !!! ALMOST - Re: Anyone have any other ideas on my deployment woes?
- From: Chuck Hill <email@hidden>
- Date: Thu, 20 Dec 2007 15:57:21 -0800
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden