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.


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- dep...@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






_______________________________________________
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

Reply via email to