webobjects-deploy Mailing List http://lists.apple.com/archives/webobjects-deploy/2009/Jul/index.html webobjects-deploy Mailing List Sat, 04 Jul 2009 06:35:01 +0000 Re: adaptor not working.... http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00025.html Reply to list

This is exactly what I am running into today. Sorry I couldn't have my  
wiki entry up for you Kieran. I guess we'll do it together now! 

 David  
 On 3-Jul-09, at 9:00 PM, Chuck Hill wrote:  
  On Jul 3, 2009, at 8:13 PM, Kieran Kelleher wrote:

[...]

And made a dog's breakfast of Apache. [...]
]]>
Re: adaptor not working.... http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00024.html Reply to list

[...]

And made a dog's breakfast of Apache.  Done that!  :-(  So what you  
have is Apache 1.3 AND Apache 2.2 running on the same machine.  Apache  
2.2 is (I presume) configured for WO and Apache 1.3 is receiving the  
requests.  Chaos ensues. 

Hunt Apache 1.3 down.  Kill it. [...]
]]>
Re: adaptor not working.... http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00023.html Reply to list

OK, going to bed. Might be clear tomorrow what's wrong after some  
sleep. But surely someone out there has a blog page, wiki entry or  
some notes on WebObjects setup on Leopard Server. Even this did not  
help ;-) 
http://lmgtfy.com/?q=WebObjects+Setup+on+OS+X+Leopard+Server 
 [...]
]]>
Re: adaptor not working.... http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00022.html Reply to list

Oh, and another weird thing I notice is that along with my regular  
httpd process which stops and starts with sudo serveradmin start web /  
stop web, I see two httpd-1.3 processes in 'top' that are always  
there. Why are they there when I am using apache 2.2? [...]
]]>
adaptor not working.... http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00021.html Reply to list
I am probably too tired to see what is going on with this problem, but  
I have a new OS X Leopard server and the /cgi-bin/WebObjects/app.woa  
is returning a file not found. 

This is first time deployment on this server. I installed OS X leopard  
server some months ago, but I just configured it today for WebObjects. 

WOMonitor is operational and the first deployed app launches fine and  
according to WOMonitor and lsof, it is alive and well. First time it  
launched it created the initial Migrations in database server also. 

this is stock Leopard Server upgraded to 10.5.7 and the app is a WO  
5.3.3 fully embedded app. 

Turning on adaptor logging and restarting "web" service, the adaptor  
log output is shown below. Anyone have any suggestions 

Debug: init_adaptor(): beginning initialization. Adaptor version 4.5.1. 
Info: init_adaptor(): config options are: String table: 
config = http://192.168.1.177:1085 
confinterval = 10 
logPath = /tmp/WebObjectsAdaptor.log 
logLevel = Debug 
options = redir=/systemupdating.html 
redir = /systemupdating.html 
Info: Adaptor shared state file: /tmp/WOAdaptorState 
Info: Adaptor info user: <no user set>, password: <no password set> 
Debug: init_adaptor(): WOShmem_init succeeded 
Debug: init_adaptor(): tr_init succeeded 
Debug: init_adaptor(): hl_init succeeded 
Warn: la_initialize(): WA_INST_LB_INFO_SIZE too small to use loadaverage 
Info: lb_init(): loadaverage scheduler not available - initialization  
failed 
Debug: init_adaptor(): lb_init succeeded 
Info: WOShmem_alloc(): allocated region "application list" (868 x 64) 
Info: WOShmem_alloc(): allocated region "instance list" (160 x 8192) 
Info: WOShmem_alloc(): allocated region "configTimes" (40 x 1) 
Info: WOShmem_alloc(): allocated region "configServers" (6208 x 1) 
Info: ac_init(): reading configuration from: http://192.168.1.177:1085 
Info: Caching hostent for 192.168.1.177 
Info: Added new config server 192.168.1.177:1085. 
Debug: init_adaptor(): ac_init succeeded 
Debug: init_adaptor(): transaction_init() succeeded 
Info: Reading configuration from http://192.168.1.177:1085/WebObjects/wotaskd.woa/wa/woconfig 
Info: attempting to connect to 192.168.1.177 on port 1085 
Info: Preparing to read config for host: 192.168.1.177 
Info: New response: HTTP/1.0 200 Apple WebObjects 
Info: ac_newInstance(): added dakota:1 (2001) 
Info: ac_newInstance(): added JavaMonitor:-56789 (56789) 
Info: WebObjects_post_config(): WebObjects adaptor initialization  
succeeded. 
Debug: init_adaptor(): beginning initialization. Adaptor version 4.5.1. 
Info: init_adaptor(): config options are: String table: 
config = http://192.168.1.177:1085 
confinterval = 10 
logPath = /tmp/WebObjectsAdaptor.log 
logLevel = Debug 
options = redir=/systemupdating.html 
redir = /systemupdating.html 
Info: Adaptor shared state file: /tmp/WOAdaptorState 
Info: Adaptor info user: <no user set>, password: <no password set> 
Debug: init_adaptor(): someone installed a SIGPIPE handler 
Debug: init_adaptor(): WOShmem_init succeeded 
Debug: init_adaptor(): tr_init succeeded 
Debug: init_adaptor(): hl_init succeeded 
Warn: la_initialize(): WA_INST_LB_INFO_SIZE too small to use loadaverage 
Info: lb_init(): loadaverage scheduler not available - initialization  
failed 
Debug: init_adaptor(): lb_init succeeded 
Info: WOShmem_alloc(): allocated region "application list" (868 x 64) 
Info: WOShmem_alloc(): allocated region "instance list" (160 x 8192) 
Info: WOShmem_alloc(): allocated region "configTimes" (40 x 1) 
Info: WOShmem_alloc(): allocated region "configServers" (6208 x 1) 
Info: ac_init(): reading configuration from: http://192.168.1.177:1085 
Info: Caching hostent for 192.168.1.177 
Info: Added new config server 192.168.1.177:1085. 
Debug: init_adaptor(): ac_init succeeded 
Debug: init_adaptor(): transaction_init() succeeded 
Info: Reading configuration from http://192.168.1.177:1085/WebObjects/wotaskd.woa/wa/woconfig 
Info: attempting to connect to 192.168.1.177 on port 1085 
Info: Preparing to read config for host: 192.168.1.177 
Info: New response: HTTP/1.0 200 Apple WebObjects 
Info: ac_newInstance(): added dakota:1 (2001) 
Info: ac_newInstance(): added JavaMonitor:-56789 (56789) 
Info: WebObjects_post_config(): WebObjects adaptor initialization  
succeeded. 

 
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00020.html Reply to list

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. [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00019.html Reply to list

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. [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00018.html Reply to list

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. I have learned you can also do this using the GUI for  
ServerAdmin. [...]
]]>
Re: WO app deployment on Linux no static image showing up http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00017.html Reply to list

Title: WO app deployment on Linux no static image showing up 




Hi Ren, 

You're close.  You basically need to do the following: 

1. In webobjects.conf, leave the following, if it's working correctly:

[...]

2. You are correct in putting your static assets here:

[...]

3. In apache2. [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00016.html Reply to list

Here are my owner and permissions variables directly from a bash  
deployment script: 

 TARGET_CHOWN="appserver:appserveradm"
TARGET_CHMOD="550"
WEBSERVER_DOCS_CHOWN="root:admin"
WEBSERVER_DOCS_CHMOD="775"  
For your convenience I have attached a simple bash script that takes a   [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00015.html Reply to list

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. I have learned you can also do this using the GUI for  
ServerAdmin. [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00014.html Reply to list

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. 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   [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00013.html Reply to list

On 3-Jul-09, at 3:44 PM, Pascal Robert wrote:  
  Le 09-07-03 à 17:25, David Holt a écrit :

[...]

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.

[...] [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00012.html Reply to list

Le 09-07-03 à 17:25, David Holt a écrit :

[...]

chgrp -R _appserveradm /your/app.woa  
 How do you deploy your app, with a TAR archive?  
 David  
 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 [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00011.html Reply to list

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?  
 David  
 On 3-Jul-09, at 1:30 PM, George Domurot wrote:  
 Hi David.  I just setup a new Leopard Server. [...]
]]>
Re: Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00010.html Reply to list

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. [...]
]]>
Deploy WO 5.3 on Leopard Server http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00009.html Reply to list

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. [...]
]]>
<SOLVED> W0 5.2.4 on Windows 2003 RC2 (64Bit) + IIS http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00008.html Reply to list

Hi there, 
 I fixed the problem. After many trys of changing setting etc. my last hope was a new installation of WO5.2.  I irenstalled it.After the insallation i was kind of confused, because i deactiveated the Java 1.4 JDK, but the installation did not mention that. [...]
]]>
WO app deployment on Linux no static image showing up http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00007.html Reply to list
Title: WO app deployment on Linux no static image showing up 






 Hi,


 I managed starting wo app from Monitor and I can get it from link like:

 http://156.13.128.145/Apps/WebObjects/MySchool.woa


 That's mean request go through HTTP adaptor, but the image not showing up from /WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif&quot; 

 1. In webobjects.conf I set up 

 WebObjectsDocumentRoot /Library/WebServer/Documents

 I put image source under /Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources


 But nothing come out.


 Is this right place for WebServerResources?

 Because I found something in apache error log

 [Fri Jul 03 16:21:35 2009] [error] [client 166.6.25.81] File does not exist: /htdocs, referer: http://156.13.128.145/Apps/WebObjects/MySchool.woa 

 I don't know where is setup this /htdocs. Maybe it's default setup somewhere, but not for Ubuntu.


 2. I tried setup something in apache2.conf

 Alias /WebObjects &quot;/Local/Library/WebServer/Documents/WebObjects&quot;

 &lt;Directory &quot;/Local/Library/WebServer/Documents/WebObjects&quot;&gt;

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all

[...]

I copy all WebServerResources under &quot;/Local/Library/WebServer/Documents/WebObjects/MySchool.woa/Contents/WebServerResources&quot; 

 Then in error log I got

 [Fri Jul 03 16:22:23 2009] [error] [client 166.6.25.81] (13)Permission denied: access to /WebObjects/MySchool.woa/Contents/WebServerResources/basicbrain.gif denied, referer: http://156.13.128.145/Apps/WebObjects/MySchool.woa 

 So question is who should be the owner for this WebServerResources in Ubuntu( not Mac, appserver), www-data?


 Thanks


 kevin




 &nbsp; 
 &quot;This communication is confidential and may contain 
privileged and/or copyright material. If you are not the intended recipient you 
must not use, disclose, copy or retain it. If you have received it in error 
please immediately notify me by return email, delete the emails and destroy any 
hard copies. ANZ National Bank Limited does not guarantee the integrity of this 
communication, or that it is free from errors, viruses or 
interference.&quot; 


  
]]>
RE: dispatchRequest method problem / Project Wonder integration http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00006.html Reply to list

The code was crashing but it has been resolved.  Thanks.

vcm

On Jul 1, 2009, at 6:51 AM, Vicky C. Miller wrote:

[...]

I don't think I understand what the problem is.  What exactly is the  
problem and what part of the code below is causing it?


Chuck

[...]

http://lists.apple. [...]
]]>
FW: Deployment question on Ubuntu[Solved] http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00005.html Reply to list

my fault:
In apache2.conf, I set up  
&lt;LocationMatch /Apps/WebObjects/.*&gt;
    Order allow,deny
    Allow from all

[...]

But in Monitor I copy/past http://156.13.128.145/cgi-bin/WebObjects


After I changed to http://156.13.128.145/Apps/WebObjects, all gooood.


I can get it from http://156.13.128. [...]
]]>
RE: Deployment question on Ubuntu http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00004.html Reply to list

1. Yes, I basically followed the instruction in 

http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+W
O+5.4+on+Linux

Add this to my apache2.conf
#WebObjects
Include /etc/apache2/webobjects.conf
&lt;LocationMatch /Apps/WebObjects/.*&gt;
    Order allow,deny
    Allow from all

[...] [...]
]]>
Re: Deployment question on Ubuntu http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00003.html Reply to list

Le 09-07-02 &Atilde;&nbsp; 21:08, Ren, Kevin a &Atilde;&copy;crit :

[...]

If you installed the WO adaptor and configured Apache correctly (eg :  
you are including apache.conf in httpd.conf), you should be all set.  
What do you get as the response when dialing http://156.13.128.145/cgi-bin/WebObjects/MyApp.woa 
 ? [...]
]]>
Deployment question on Ubuntu http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00002.html Reply to list

Title: Deployment question on Ubuntu 






 Hi,

 I have done the build for WO adaptor on Ubuntu and setup config in apache2. All good. 

 Next step is how to deploy my app in Monitor to get URL format

 http://host/cgi-bin/WebObjects/MyApp.woa&nbsp; works. [...]
]]>
Re: dispatchRequest method problem / Project Wonder integration http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00001.html Reply to list

[...]

I don't think I understand what the problem is.  What exactly is the  
problem and what part of the code below is causing it? 

  Chuck

[...]

Chuck Hill             Senior Consultant / VP Development  
Practical WebObjects - for developers who want to increase their   [...]
]]>
dispatchRequest method problem / Project Wonder integration http://lists.apple.com/archives/webobjects-deploy/2009/Jul/msg00000.html Reply to list

We have updated our existing WebObjects application from WO 5.2.4 to WO
5.4.3 and integrated in Project Wonder.  We have hit a problem with
WebObjects 5.4.3 in our application and the dispatchRequest method in
Application class that is a part of the WebObjects request response loop. [...]
]]>