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 (Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/george%40boxofficetickets.com
This email sent to geo...@boxofficetickets.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca
This email sent to prob...@macti.ca
-------------------------------------------------------
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 (Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
This email sent to ch...@global-village.net
--
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 (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com