On Jul 4, 2009, at 11:52 AM, Pascal Robert wrote:
Le 09-07-04 à 14:41, Kieran Kelleher a écrit :
Hey Pascal,
Now there is another WOWODC topic that might be popular:
"Deploying WebObjects - Everything You Need To Know and Everything
You Didn't Know"
Everytime I bring this idea, everybody told me that deployment was
explained at WWDC in the past, blablabla :-) Chuck also talked a bit
about deployment in his Best Practices session from last year.
The problem is less "What to do" and more of "what NOT to do". And
the second one is a much larger topic. :-)
Look at Kieran's "Safari cached page state" problem.
But we do have a deployment and build session at WOWODC East, David
A. will do a demo about Hudson (to extend what Mike presented at
West) and I will show a demo of Capistrano (again, to extend what
Michael showed up at West). Lachlan will also do a talk (remote
session) about URL rewriting. So maybe I can talk about the other
details (permissions, debugging, etc.)?
A session that does not just deal with WebObjects deployment, but
all the related common technologies and configuration needed
DNS, apache config, wotaskd, womonitor tips, URL rewriting,
multiple domains on single app, SSL
This Session would be the WebObjects freelancer's "Swiss Army
Knife" or "Deployment Toolbox".
Cheers, Kieran
On Jul 4, 2009, at 2:09 PM, Pascal Robert wrote:
Le 09-07-03 à 22:01, Chuck Hill a écrit :
On Jul 3, 2009, at 6:45 PM, David Holt wrote:
On 3-Jul-09, at 6:10 PM, Chuck Hill wrote:
On Jul 3, 2009, at 4:23 PM, David Holt wrote:
On 3-Jul-09, at 4:01 PM, Pascal Robert wrote:
Le 09-07-03 à 18:52, David Holt a écrit :
On 3-Jul-09, at 3:44 PM, Pascal Robert wrote:
Le 09-07-03 à 17:25, David Holt a écrit :
Thanks George,
I assume this is at the command line? I used to do it in
the Info window for the folder which no longer seems
possible.
Do you have the command handy?
chgrp -R _appserveradm /your/app.woa
Thanks. I have learned you can also do this using the GUI
for ServerAdmin. I'll post to the wiki as soon as I have the
rest of the details worked out.
How do you deploy your app, with a TAR archive?
I move it over as a TAR, then untar it on the server in the
correct location. Why?
The group on the files is not _appserveradm on your dev
machine, so when your untar the files, it keep the original
owner and group. You should create a small script that will
simply untar the app and change the group for the .woa after
the untarring.
Sounds like a good plan. Now that I have a plan :-)
What are the correct permissions for the WebServer resources
on a split install? I have dropped the .woa into /Library/
WebServer/Documents/WebObjects, but my .css files are not
being picked up in the app. Arrgh.
What do you have in /var/log/httpd/error_log ?
[Fri Jul 3 16:18:07 2009] [notice] Accept mutex: flock
(Default: flock)
dyld: lazy symbol binding failed: Symbol not found:
_apr_snprintf
Referenced from: /System/Library/WebObjects/Adaptors/Apache/
mod_WebObjects.so
Expected in: flat namespace
dyld: Symbol not found: _apr_snprintf
Referenced from: /System/Library/WebObjects/Adaptors/Apache/
mod_WebObjects.so
Expected in: flat namespace
[Fri Jul 3 16:18:15 2009] [notice] child pid 2503 exit signal
Trace/BPT trap (5)
Check the Apache version that you are hitting. That looks like
an Apache 2 / Apache 1.3 mismatch between Apache and
mod_webobjects.
Yeah that was part of it. I found direction in an old email from
you
Grin.
and updated to 2.2. localhost:2001 works but doesn't load my css.
localhost.2001 is not going through Apace and so won't load any
resources that Apache will be serving.
I can hit the root page of my webserver (I am just using a local
IP) but if I add cgi-bin/WebObjects it can't load the page.
Still no dice.
What message do you get?
When I type hostname at the terminal I get the david-holts-blah-
blah.local so I guess I have to do something with that.
I have found using Bonjour names to be a World of Hurt. YMMV.
You can try adding -WOHost david-holts-blah-blah.local to the
wotaskd Properties file and to your application. If it break,
you get to keep all the pieces.
It is meant to be an intranet server, so I am not quite sure
what to set it to. I was hoping that localhost would be fine.
It will be if intranet == You only. :-P
Otherwise you will need a name or IP address that the other
people in your office can see.
Even if it's for an "intranet", using a DNS name is always a good
idea with OS X Server. All services that use Open Directory (iCal
Server, Podcast Producer) need "real" DNS names to work correctly.
Even if you create/use a domain like "intranet.david.lan", it's
better than using only Bonjour for name resolution. Don't forget
to add both reserve and forward names!
Chuck
On 3-Jul-09, at 1:30 PM, George Domurot wrote:
Hi David. I just setup a new Leopard Server.
Permissions are:
_appserver (user) Read & Write
_appserveradm (group) Read & Write
That seemed to do the trick for me.
As for resources, I'm not so sure, since we don't deploy
resource in the traditional split manner. However, if I
recall from an older project, that should just be handled
by Apache, and you can just drop the folder into the
correct place on your web server and be done.
-G
On Jul 3, 2009, at 12:59 PM, David Holt wrote:
Hi all,
Just got a brand new mac with Leopard Server installed.
Until now I've been developing and deploying in Tiger.
I continue to develop in Tiger. Using Eclipse, I have
built with all frameworks embedded (WO 5.3) and moved
the application to the server.
I can start up from the command line, but trying to
start with JavaMonitor results in deaths. No log is
created. Obviously a permissions issue, but I haven't
found any reference that tells me what to set for
Leopard applications. My old Tiger methods for deploying
an app no longer apply. Can someone tell me what the
permissions ought to be on the Application and the
WebServerResources folder? Thanks,
David
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Webobjects-deploy mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/george%40boxofficetickets.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Webobjects-deploy mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca
This email sent to [email protected]
-------------------------------------------------------
Pascal Robert
http://www.macti.ca | http://www.linkedin.com/in/macti
Skype | Twitter | AIM/iChat : MacTICanada
-------------------------------------------------------
Pascal Robert
http://www.macti.ca | http://www.linkedin.com/in/macti
Skype | Twitter | AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
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
--
Chuck Hill Senior Consultant / VP Development
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
-------------------------------------------------------
Pascal Robert
http://www.macti.ca | http://www.linkedin.com/in/macti
Skype | Twitter | AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/kieran_lists%40mac.com
This email sent to [email protected]
-------------------------------------------------------
Pascal Robert
http://www.macti.ca | http://www.linkedin.com/in/macti
Skype | Twitter | AIM/iChat : MacTICanada
--
Chuck Hill Senior Consultant / VP Development
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-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]