Re: Installing Tools and Framework is a mess

2012-07-25 Thread Johann Werner

Am 25.07.2012 um 04:51 schrieb Jeffrey Schmitz:

 On a similar subject, I'm trying to setup a new Lion server machine for 
 deployment.  I'm trying to use these instructions:
 
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Mac+OS+X+Server
 
 But I'm not getting very far because (I think) of changes made to Lion. 
 
 The first thing that's unclear to me is what steps need to be done.  Are the 
 first two Install WeObjects... sections an either or proposition, or do you 
 have to do both, or something in between?  I'm thinking the part about 
 installing mod_WebObjects.so in the second section needs to be done 
 regardless which method you use to install webobjects.
 
 Continuing, after installing using the Apple installer, when I try to install 
 the mdimension mod_WebObjects.so file, the directory referenced as containing 
 the old module (/System/Library/WebObjects/Adaptors/Apache2.2) doesn't exist. 
   So my main question is, where do I need to install the mod_WebObjects 
 module on Lion, and where is the old one installed?

Put it where you want it to be, it's not really important. You just have to 
make sure that the path in the apache config for

LoadModule WebObjects_module path to mod_WebObjects

is correct.


 Thanks,
 Jeff
 
 On Jul 21, 2012, at 1:42 PM, Pascal Robert wrote:
 
 
 Le 2012-07-17 à 21:30, G Brown a écrit :
 
 What do you all think?
 
 ...Oh, let me explain
 
 There is documentation for WOLips scattered in the Wonder wiki, the WOLips 
 wiki, (WebObjects wiki?) etc. 
 
 Why? Would it be a good idea to have it in one place/wiki? And then refer 
 with those fancy hyperlink things to that one place? It would seem to me 
 that would make updating it and finding it easier. It would seem that the 
 natural place would be in the WOLips wiki. I can see how having it spread 
 around makes extra documentation work and difficulties.
 
 Also, everything changes, but maybe the documentation can be set up to deal 
 with the changes better. For example, a writer could refer to the current 
 version throughout a document and maybe a note at the top  would say the 
 current recommended version is 4.5 (July 2014) and so on. Updating the 
 document often would just be changing the 4.5 to 4.6, the date, July 2014 
 to March 2015, etc.  Anything to help keep the documentation easy to update 
 and provide clues as to what year the documentation was written. 
 
 BTW, Confluence do display the last modified date of a page. But if we only 
 fix a spelling mistake on a two years old document, it will put the date of 
 the last modification.
 
 
 It is too bad we don't have IBM's Watson computer to read the mailing list, 
 extract the juicy bits, assemble a rough draft of documentation, and email 
 it to somebody for proof reading, probably to a Dave.  Next decade?
 
 
 
 On Jul 17, 2012, at 5:19 PM, G Brown wrote:
 
 There is also:
 
 http://wiki.wocommunity.org/display/WOL/WOLips
 
 Getting Started
 The easiest way to install WOLips is to follow the steps in the Install 
 WOLips with Eclipse Update Manager tutorial. If this is your first time 
 using WOLips, this is the recommended method for installing WOLips.
 
 
 Also the installer should have a list of materials, or a page telling what 
 all it does.
 
 
 On Jul 17, 2012, at 12:46 PM, Pascal Robert wrote:
 
 I do agree that we need to have an installer that will install Eclipse, 
 WOLips, Wonder and the core WO frameworks. But we did cleanup the wiki a 
 lot a couple of months ago, so I would like to know which pages on the 
 wiki you followed, because this page:
 
 http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation
 
 does specify that Java is not installed by default on Lion and launching 
 a Java app will install the JVM.
 
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu
 
 This email sent to gsbr...@umich.edu
 
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com
 
 This email sent to j...@netbrackets.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
 
 This email sent to j...@oyosys.de


 ___
Do not post admin requests to the list. They will be 

Re: Wonder D2W and relationships on same entity

2012-07-25 Thread Johan Henselmans

On 19-jul.-2012, at 19:20, Ramsey Gurley wrote:

 Hi Pierre,
 
 We should really post this somewhere obvious. It's a known issue with the 
 ERModern look due of the way it handles ids for update containers. 
 
 If you look in your page source, you'll see more than one ajax update 
 container with the same id. That's what is causing your error. IDs must be 
 unique.
 
 A workaround is to put the relationships in separate tabs/steps so there is 
 no id collision. Another workaround is to assign the idForMainContainer 
 manually with a rule.
 
 The one time I had the problem, I assigned the id manually. I don't remember 
 the exact LHS, but I think it was similar to:
 
 100: session.context.page.d2wContext.propertyKey = 'contactTypeA1' = 
 idForMainContainer = hokuspokus [Assignment]
 
 100: session.context.page.d2wContext.propertyKey = 'contactTypeA2' = 
 idForMainContainer = abracadabra [Assignment]
 
 That assumes your top level page is the one with the duplicate ids.
 
 Johan H. recently had this same problem. He may have some other workarounds 
 to share :-)

Ah, yes, um, I looked at it, looked at it some more, and decided to wait for 
WOWODC to sort everything out, but then, well, you know, eh, 

No, I did not find a solution.

I'll let you know when I can come up with something more suitable. 


 
 Ramsey
 
 On Jul 19, 2012, at 9:18 AM, Pierre Gilquin wrote:
 
 
 Thanks Fabian,
 
 As a complete beginner with d2w, I have not any idea how to make many tabs.
 By default, I have a Main tab. You are taking about this tab, right ?
 
 
 Hi Pierre,
 What are your display property keys?
 Something like (contactTypeA1,contactTypeA2,contactTypeB1 etc)
 
 What do you mean by not responding?
 When clicking Search or New nothing happen. Well only the image wait 
 !
 For the first one, I get the Query Contact panel.
 I seem to have come across this, but don't remember any details. You could 
 try using a tab inspect page, placing each relationship on a different tab.
 Fabian
 David
 On 2012-07-19, at 8:13 AM, Pierre Gilquin wrote:
 hi,
 
 I have a problem with a wonder D2W app.
 In my data model, an entity A has many relationships on the same entity 
 B.
 NB ; Not a to-many relationship but several to-one relationships.
 In edit mode, the first visible relationship can be managed but all 
 others relationships are not responding.
 
 Thanks in advance for any help
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl
 
 This email sent to jo...@netsense.nl

Johan Henselmans
jo...@netsense.nl




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Improvements to deployment tools

2012-07-25 Thread Johan Henselmans

On 24-jul.-2012, at 14:22, Pascal Robert wrote:

 Hi guys,
 
 This is something I'm thinking about for months, and since I see a lot of 
 people having issues with deployment, I have a couple of ideas to improve it.
 
 1) To have REST actions inside wotaskd. By having that, we won't ever need 
 JavaMonitor to manage wotaskd. You could use curl or any HTTP tools, and you 
 could rewrite Monitor in JavaScript or whatever. 
 
 2) Upload support into wotaskd so that you can ship the app to it and wotaskd 
 will take care of putting it at the correct location.
 
 3) Deployment support in WOLips. Choose WOLips Tools - Deploy and 
 build/deploy your app directly from WOLips.
 
 4) Deployment plugin in Jenkins that would connect to the REST actions of 
 wotaskd.
 
 5) RPM and .deb packages of wotaskd and mod_webobjects, with a Yum/apt-get 
 repositories to install/update the deployment tools on Linux.

Good idea. I used  epm (www.epmhome.org) to create installers for different 
platforms. 

Supports AIX, Debian GNU/Linux, FreeBSD, HP-UX, IRIX, Mac OS X, NetBSD, 
OpenBSD, Red Hat Linux, Slackware Linux, Solaris, and Tru64 UNIX

Basic trick is to define dependencies (per platform) and files to install per 
platform in a epm.list, than do epm epm.list, the program will find out which 
platfom you are running on. It will even sort out the architecture (which can 
be a pain in the ass as I found out because debian uses x86_64 and amd64 in 
situations, and then refuses to install on amd64 because the package is defined 
for x86_x64). 


 
 Opinions? 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl
 
 This email sent to jo...@netsense.nl

Johan Henselmans
jo...@netsense.nl




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Installing Tools and Framework is a mess

2012-07-25 Thread Jeffrey Schmitz
I had forgotten to install the WebobjectsRuntime package from the Apple 
install.  After running that the Adaptors dir is there.


On Jul 24, 2012, at 10:46 PM, Jeffrey Schmitz wrote:

 Just as a follow up, I did run the Apple installer.  If I now run the 
 WOInstaller will there be problems?  Also, I think you need to specify a 
 destination when using the WOInstaller, but I don't see any directions saying 
 where that should be.  Finally, since I ran the apple installer, shouldn't 
 the /System/Library/WebObjects/Adaptors/Apache2.2 be there?
 
 Thanks!
 Jeff
 
 On Jul 24, 2012, at 10:40 PM, George Domurot wrote:
 
 Hi Jess,
 
 I've always used the WOInstaller.jar option.
 
 You create the directory:
 /System/Library/WebObjects/Adaptors/Apache2.2
 
 Seeing that this is a fresh install, you shouldn't have anything installed — 
 but if you did:
 rm -f /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.la
 rm -f /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so
 
 -G
 
 
 On Jul 24, 2012, at 7:51 PM, Jeffrey Schmitz wrote:
 
 On a similar subject, I'm trying to setup a new Lion server machine for 
 deployment.  I'm trying to use these instructions:
 
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Mac+OS+X+Server
 
 But I'm not getting very far because (I think) of changes made to Lion. 
 
 The first thing that's unclear to me is what steps need to be done.  Are 
 the first two Install WeObjects... sections an either or proposition, or do 
 you have to do both, or something in between?  I'm thinking the part about 
 installing mod_WebObjects.so in the second section needs to be done 
 regardless which method you use to install webobjects.
 
 Continuing, after installing using the Apple installer, when I try to 
 install the mdimension mod_WebObjects.so file, the directory referenced as 
 containing the old module (/System/Library/WebObjects/Adaptors/Apache2.2) 
 doesn't exist.   So my main question is, where do I need to install the 
 mod_WebObjects module on Lion, and where is the old one installed?
 
 Thanks,
 Jeff
 
 On Jul 21, 2012, at 1:42 PM, Pascal Robert wrote:
 
 
 Le 2012-07-17 à 21:30, G Brown a écrit :
 
 What do you all think?
 
 ...Oh, let me explain
 
 There is documentation for WOLips scattered in the Wonder wiki, the 
 WOLips wiki, (WebObjects wiki?) etc. 
 
 Why? Would it be a good idea to have it in one place/wiki? And then refer 
 with those fancy hyperlink things to that one place? It would seem to me 
 that would make updating it and finding it easier. It would seem that the 
 natural place would be in the WOLips wiki. I can see how having it spread 
 around makes extra documentation work and difficulties.
 
 Also, everything changes, but maybe the documentation can be set up to 
 deal with the changes better. For example, a writer could refer to the 
 current version throughout a document and maybe a note at the top  
 would say the current recommended version is 4.5 (July 2014) and so on. 
 Updating the document often would just be changing the 4.5 to 4.6, the 
 date, July 2014 to March 2015, etc.  Anything to help keep the 
 documentation easy to update and provide clues as to what year the 
 documentation was written. 
 
 BTW, Confluence do display the last modified date of a page. But if we 
 only fix a spelling mistake on a two years old document, it will put the 
 date of the last modification.
 
 
 It is too bad we don't have IBM's Watson computer to read the mailing 
 list, extract the juicy bits, assemble a rough draft of documentation, 
 and email it to somebody for proof reading, probably to a Dave.  Next 
 decade?
 
 
 
 On Jul 17, 2012, at 5:19 PM, G Brown wrote:
 
 There is also:
 
 http://wiki.wocommunity.org/display/WOL/WOLips
 
 Getting Started
 The easiest way to install WOLips is to follow the steps in the Install 
 WOLips with Eclipse Update Manager tutorial. If this is your first time 
 using WOLips, this is the recommended method for installing WOLips.
 
 
 Also the installer should have a list of materials, or a page telling 
 what all it does.
 
 
 On Jul 17, 2012, at 12:46 PM, Pascal Robert wrote:
 
 I do agree that we need to have an installer that will install Eclipse, 
 WOLips, Wonder and the core WO frameworks. But we did cleanup the wiki 
 a lot a couple of months ago, so I would like to know which pages on 
 the wiki you followed, because this page:
 
 http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation
 
 does specify that Java is not installed by default on Lion and 
 launching a Java app will install the JVM.
 
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu
 
 This email sent to gsbr...@umich.edu
 
 
 G 

Re: Improvements to deployment tools

2012-07-25 Thread Pascal Robert

Le 2012-07-24 à 23:41, Ray Kiddy a écrit :

 
 On Jul 24, 2012, at 5:22 AM, Pascal Robert wrote:
 
 Hi guys,
 
 This is something I'm thinking about for months, and since I see a lot of 
 people having issues with deployment, I have a couple of ideas to improve it.
 
 1) To have REST actions inside wotaskd. By having that, we won't ever need 
 JavaMonitor to manage wotaskd. You could use curl or any HTTP tools, and you 
 could rewrite Monitor in JavaScript or whatever. 
 
 
 This first suggestion is an amazingly good idea. I especially like the fact 
 that it would be fairly easy to do. Adding hooks for REST in wotaskd should 
 not break the rest of the application.
 
 2) Upload support into wotaskd so that you can ship the app to it and 
 wotaskd will take care of putting it at the correct location.
 
 
 I agree with this one also. I am trying to set up some installation tools and 
 I keep wondering why the heck I am fighting these f-ing scripts. Because we 
 could have tools that manage deployments… O wait. We do. Sort of.
 
 3) Deployment support in WOLips. Choose WOLips Tools - Deploy and 
 build/deploy your app directly from WOLips.
 
 This one I am not so excited about. Maybe somebody else thinks that deploying 
 this way would be a good idea. I am not sure who that would be, though.

It would only be useful to people who don't use Jenkins to make the builds. 
People with one or two apps will probably use it. But I think it's a long term 
thing, because you can just add stuff in the Ant build file to call SSH and 
rsync to upload the app from Eclipse.

 
 4) Deployment plugin in Jenkins that would connect to the REST actions of 
 wotaskd.
 
 Others have pointed out that you do not want to go from Jenkins to 
 auto-deployment. But what I _really_ want to do is have a Jenkins build 
 install the app, install it with a different name and run the tests I have 
 included in my application, and then report the results to me. If I am 
 running a suite of MyApp.woa instances, Jenkins could auto-deploy a 
 MyAppNext.woa and then run the tests on it for me. You would want the change 
 of MyAppNext.woa to MyApp.woa to be something that Monitor could do as a 
 separate step, like bouncing apps, and it should not be too difficult.

The WOJenkins templates do have a parameter so that you can change the name of 
the deployed app.

 5) RPM and .deb packages of wotaskd and mod_webobjects, with a Yum/apt-get 
 repositories to install/update the deployment tools on Linux.
 
 
 One could even have a Wonder install in port. I mean, hey, why not?
 
 Opinions? 
 
 Got lots. Why do you ask? Do you want some of my extras?

Sure.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: JavaMonitor

2012-07-25 Thread WebObjects TORAcom
Thanks,

I will try and report the solution.

Just wondering if the JavaMonitor.tar.gz was build without the embedded 
frameworks configuration.



On 25/07/2012, at 00:56, Johann Werner wrote:

 That path should not be mysite.com/WebObjects/Frameworks/... but 
 mysite.com/WebObjects/JavaMonitor.woa/Frameworks/...
 You could try to set -WOFrameworksBaseURL 
 /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is 
 strange that it is not set automatically to the correct value. To make your 
 life easier: you need only to copy the webserver resources for the frameworks 
 Ajax, ERExtensions and JavaWOExtensions to make everything work as expected.
 
 jw
 
 
 Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom:
 
 You are right,
 
 I found this error.
 NetworkError: 404 Not Found - 
 http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js;
 The JavaMonitor application does not have the frameworks embedded?
 
 Should I copy the Framework's WebServerResources to the Web Server folder?
 
 Thanks.
 
 Miguel. 
 
 
 
 On 24/07/2012, at 14:00, Pascal Robert wrote:
 
 Check the JavaScript console in your browser to see if any errors are there.
 
 Hi,
 
 I downloaded JavaMonitor from 
 http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz
 
 I installed it. It looks great! thanks guys. I just have a problem, it 
 seems that some div's don't work, I assume they should open. This is the 
 image of the areas that don't open:
 
 Screen Shot 2012-07-24 at 13.08.01.png
 I click on HTTP Adaptor Settings and nothing happens.
 
 I tried  with Safari, Chrome and Firefox, mac os X Lion.
 
 Does anybody have the same issue?
 
 Thanks in advance.
 
 Miguel Torres.
 
 
 
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor

2012-07-25 Thread WebObjects TORAcom
I open the JavaMonitor.woa/JavaMonitor script and this is the final line

eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 

As you can see it is not defined the -WOFrameworksBaseURL parameter.

I changed it to:

eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} -WOFrameworksBaseURL 
/WebObjects/JavaMonitor.woa/Frameworks

It still doesn't work because there is no 
/var/www/WebObjects/JavaMonitor.woa/Frameworks directory.

Then I create a symbolic link to the JavaMonitor.woa/Contents/Frameworks and 
now it is working.


I assume that the copy of JavaMonitor that I got from 
http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz
 wasn't build with embedded frameworks.

If that's the way it has to be builded won't it be necessary to update the 
tutorial http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux?

Just saying.

Thanks.




On 25/07/2012, at 13:59, WebObjects TORAcom wrote:

 Thanks,
 
 I will try and report the solution.
 
 Just wondering if the JavaMonitor.tar.gz was build without the embedded 
 frameworks configuration.
 
 
 
 On 25/07/2012, at 00:56, Johann Werner wrote:
 
 That path should not be mysite.com/WebObjects/Frameworks/... but 
 mysite.com/WebObjects/JavaMonitor.woa/Frameworks/...
 You could try to set -WOFrameworksBaseURL 
 /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is 
 strange that it is not set automatically to the correct value. To make your 
 life easier: you need only to copy the webserver resources for the 
 frameworks Ajax, ERExtensions and JavaWOExtensions to make everything work 
 as expected.
 
 jw
 
 
 Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom:
 
 You are right,
 
 I found this error.
 NetworkError: 404 Not Found - 
 http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js;
 The JavaMonitor application does not have the frameworks embedded?
 
 Should I copy the Framework's WebServerResources to the Web Server folder?
 
 Thanks.
 
 Miguel. 
 
 
 
 On 24/07/2012, at 14:00, Pascal Robert wrote:
 
 Check the JavaScript console in your browser to see if any errors are 
 there.
 
 Hi,
 
 I downloaded JavaMonitor from 
 http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz
 
 I installed it. It looks great! thanks guys. I just have a problem, it 
 seems that some div's don't work, I assume they should open. This is the 
 image of the areas that don't open:
 
 Screen Shot 2012-07-24 at 13.08.01.png
 I click on HTTP Adaptor Settings and nothing happens.
 
 I tried  with Safari, Chrome and Firefox, mac os X Lion.
 
 Does anybody have the same issue?
 
 Thanks in advance.
 
 Miguel Torres.
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net
 
 This email sent to w...@toracom.net
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Installing Tools and Framework is a mess

2012-07-25 Thread ISHIMOTO Ken
Hi

Try this Installer


http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy


I have already Installed 9 Machines with it and it is done in a few Minutes.

Ken

On 2012/07/25, at 4:51, Jeffrey Schmitz wrote:

 On a similar subject, I'm trying to setup a new Lion server machine for 
 deployment.  I'm trying to use these instructions:
 
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Mac+OS+X+Server
 
 But I'm not getting very far because (I think) of changes made to Lion. 
 
 The first thing that's unclear to me is what steps need to be done.  Are the 
 first two Install WeObjects... sections an either or proposition, or do you 
 have to do both, or something in between?  I'm thinking the part about 
 installing mod_WebObjects.so in the second section needs to be done 
 regardless which method you use to install webobjects.
 
 Continuing, after installing using the Apple installer, when I try to install 
 the mdimension mod_WebObjects.so file, the directory referenced as containing 
 the old module (/System/Library/WebObjects/Adaptors/Apache2.2) doesn't exist. 
   So my main question is, where do I need to install the mod_WebObjects 
 module on Lion, and where is the old one installed?
 
 Thanks,
 Jeff
 
 On Jul 21, 2012, at 1:42 PM, Pascal Robert wrote:
 
 
 Le 2012-07-17 à 21:30, G Brown a écrit :
 
 What do you all think?
 
 ...Oh, let me explain
 
 There is documentation for WOLips scattered in the Wonder wiki, the WOLips 
 wiki, (WebObjects wiki?) etc. 
 
 Why? Would it be a good idea to have it in one place/wiki? And then refer 
 with those fancy hyperlink things to that one place? It would seem to me 
 that would make updating it and finding it easier. It would seem that the 
 natural place would be in the WOLips wiki. I can see how having it spread 
 around makes extra documentation work and difficulties.
 
 Also, everything changes, but maybe the documentation can be set up to deal 
 with the changes better. For example, a writer could refer to the current 
 version throughout a document and maybe a note at the top  would say the 
 current recommended version is 4.5 (July 2014) and so on. Updating the 
 document often would just be changing the 4.5 to 4.6, the date, July 2014 
 to March 2015, etc.  Anything to help keep the documentation easy to update 
 and provide clues as to what year the documentation was written. 
 
 BTW, Confluence do display the last modified date of a page. But if we only 
 fix a spelling mistake on a two years old document, it will put the date of 
 the last modification.
 
 
 It is too bad we don't have IBM's Watson computer to read the mailing list, 
 extract the juicy bits, assemble a rough draft of documentation, and email 
 it to somebody for proof reading, probably to a Dave.  Next decade?
 
 
 
 On Jul 17, 2012, at 5:19 PM, G Brown wrote:
 
 There is also:
 
 http://wiki.wocommunity.org/display/WOL/WOLips
 
 Getting Started
 The easiest way to install WOLips is to follow the steps in the Install 
 WOLips with Eclipse Update Manager tutorial. If this is your first time 
 using WOLips, this is the recommended method for installing WOLips.
 
 
 Also the installer should have a list of materials, or a page telling what 
 all it does.
 
 
 On Jul 17, 2012, at 12:46 PM, Pascal Robert wrote:
 
 I do agree that we need to have an installer that will install Eclipse, 
 WOLips, Wonder and the core WO frameworks. But we did cleanup the wiki a 
 lot a couple of months ago, so I would like to know which pages on the 
 wiki you followed, because this page:
 
 http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation
 
 does specify that Java is not installed by default on Lion and launching 
 a Java app will install the JVM.
 
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu
 
 This email sent to gsbr...@umich.edu
 
 
 G Brown
 gsbr...@umich.edu
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com
 
 This email sent to j...@netbrackets.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
 
 This email sent to k...@ksroom.com



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev 

Trouble with ERAttachment and files that are too big

2012-07-25 Thread Neil MacLennan
Hi folks,

I'm having some trouble with ERAttachment in dealing with files that are too 
large for the pre-set file-size limit (2MB in this case).

wo:ERAttachmentUpload 
configurationName=Fundraiser.image 
editingContext=$ec 
attachment=$fundraiser.image 
name=custom_image 
id=custom_image 
cleanup=$true
/

I catch the ERXAttachmentExceedsLengthException in my WOComponent's 
invokeAction():

@Override
public WOActionResults invokeAction(com.webobjects.appserver.WORequest 
aRequest, com.webobjects.appserver.WOContext aContext) {
try {
WOActionResults result = super.invokeAction(aRequest, 
aContext);
return result;
} catch (ERXAttachmentExceedsLengthException e) {

log.debug(String.format(ERXAttachmentExceedsLengthException was thrown and 
caught));
fundraiser.setValidationException(Your uploaded image 
was too large (limit is 2MB). Please reduce the size of your image and try 
again.);
return null;
}
}

That works OK and sends the user back to the data entry page to try a new file. 
The problem is that when they try a new file I get another error:

IllegalStateException: 
er.extensions.foundation.ERXPatcher$DynamicElementsPatches$FileUpload No form 
data left for WOFileUpload!

After much playing about including the 'Ajax' and 'Flexible' variants I still 
can't make WO forget about the previous upload and effectively re-set the 
file upload process. Some googling shows that No form data left for 
WOFileUpload!' is often associated with bad form encoding, but that's set OK. 
(enctype=multipart/form-data).

The file upload progress is somehow wrapped into the Component somehow, but I 
can't seem to re-set it. If invokeAction() is the wrong place to do what I'm 
doing, where else can I intercept the ERXAttachmentExceedsLengthException?

Using latest versions of WO, Wonder and [OSX 10.7] Java.

Thanks for reading.

.neilmac



smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: JavaMonitor

2012-07-25 Thread Ted Archibald
JavaMonitor IS built with embedded frameworks.

The problem you're having is slightly different, you kinda have a couple
things going on here.

JavaMonitor is built all in one, including the app and the webserver
resources.  This means you have to manually copy those resources into the
proper webserver directory (preferred) or create a symbolic link (but this
may expose files you may not want exposed to the public).  Normally when
you build an app, ant can create AppName-Application.tar.gz and
AppName-WebServerResources.tar.gz, which makes this simpler.

Next JavaMonitor was built (or it defaults to) the WOFrameworksBaseURL
property being set to /WebObjects/Frameworks instead of
/WebObjects/JavaMonitor.woa/Contents/Frameworks (I think), that's a
stylistic thing but most on the list prefer the latter.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


AjaxModalDialog problems

2012-07-25 Thread Roger Perryman

I have a page that uses an AjaxModalDialog control to popup an external form. 
The submit button does not work although an AjaxHyperlink does. When I view the 
(generated) source, I noticed that the form tag has been removed. The example 
from AjaxExample works so it must be something I am doing wrong. I've included 
a trimmed down version of my code. Note that I added the Yes/No links (from 
AjaxExample) to the popup for testing. NO doesn't do anything. YES fires the 
action but does not close the dialog. It also wont submit the form values since 
it is just a hyperlink.

Thanks!

Roger


parent page: (full page)

webobject name=apptForm
webobject name=apptList
span
webobject name=patientName/ 
webobject name=editApptLink
webobject name=editAppt/
/webobject name=editAppt
/span
br/
webobject name=apptList
webobject name=apptForm


apptForm: WOForm { id = apptForm; multipleSubmit = true; }

apptList: WORepetition
{
id = apptListID;
list = apptList;
item = apptItem;
index = apptIndex;
}

patientName: WOString { value = apptItem.toPatient.fullName; }

saveUpdates: WOSubmitButton
{
id = saveUpdates;
value = Save Updates;
action = saveUpdates;
}

declineApptLink: ERXWOTemplate
{
templateName = whatGoesHere?;
}

editAppt: AjaxModalDialog
{
label = Edit Appointment;
action = editAppointment;
width = 900;
height = 600;
centerVertically = true;
transitions = false;
locked = false;
title = edit Apppointment;
closeValue = x; //Value required here. Default is times; Safari 
fails in xhtml mode.
autoFocusing = false;
}


public WOActionResults editAppointment()
{
// Prep the objects as needed

// Return an Edit Appt page for the popup.
EditApptPopup apptPopup = pageWithName( EditApptPopup.class );
apptPopup.setApptRequest( _apptItem );
return apptPopup;
}


And in the popup component: (partial page, no head or body tags)


h3Please update your information/h3

webobject name=editForm
First Name: webobject name=firstName /br/
br/
br/
webobject name=yesYes/webobject 
nbsp; nbsp; nbsp; nbsp; 
webobject name=noNo/webobject 
br/
br/
webobject name=updateResults /br/
/webobject name=editForm



patientName: WOTextField
{
value = apptRequest.toPatient.fullName;
}

/* Tried WOForm and ERXWOForm. Tried id and name */
editForm: ERXWOForm 
{
id = editForm; 
multipleSubmit = true; 
}

/* A regular WOSubmitButton also doesn't work since the form is removed */
updateResults: AjaxSubmitButton
{
id = updateResults;
value = Save;
action = updateResults;
evalScripts = true;
formName = editForm;
onClick = ModalBox.hide();;
//  onClickBefore = onClickDoneButton;
}

no: WOHyperlink
{
href = javascript: void(0);;
onClick = ModalBox.hide();;
id = noClicked;
}

yes: AjaxHyperlink
{
action = updateResults;
evalScripts = true;
}


public WOActionResults updateResults()
{
// Push changes to parent.

AjaxModalDialog.update( context(), null );
return null;
}

public String onClickDoneButton()
{
return function(){ return true; }();
}


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: AjaxModalDialog problems

2012-07-25 Thread Chuck Hill
Hi Roger,

Wonder strips out nested form tags.  You should be getting this warning in your 
log:

if (context.isInForm()) {
logger.warn(The AjaxModalDialog should not be used 
inside of a WOForm ( + ERXWOForm.formName(context, - not specified -) +
) if it contains any form inputs or 
buttons.  Remove this AMD from this form, add a form of its own. Replace it 
with  +
an AjaxModalDialogOpener with a 
dialogID that matches the ID of this dialog.);
logger.warn(page:  + 
context.page());
logger.warn(component:  + 
context.component());
}

You will need to fix your layout as described above.


Chuck


On 2012-07-26, at 7:14 AM, Roger Perryman wrote:

 
 I have a page that uses an AjaxModalDialog control to popup an external form. 
 The submit button does not work although an AjaxHyperlink does. When I view 
 the (generated) source, I noticed that the form tag has been removed. The 
 example from AjaxExample works so it must be something I am doing wrong. I've 
 included a trimmed down version of my code. Note that I added the Yes/No 
 links (from AjaxExample) to the popup for testing. NO doesn't do anything. 
 YES fires the action but does not close the dialog. It also wont submit the 
 form values since it is just a hyperlink.
 
 Thanks!
 
 Roger
 
 
 parent page: (full page)
 
 webobject name=apptForm
   webobject name=apptList
   span
   webobject name=patientName/ 
   webobject name=editApptLink
   webobject name=editAppt/
   /webobject name=editAppt
   /span
   br/
   webobject name=apptList
 webobject name=apptForm
 
 
 apptForm: WOForm { id = apptForm; multipleSubmit = true; }
 
 apptList: WORepetition
 {
   id = apptListID;
   list = apptList;
   item = apptItem;
   index = apptIndex;
 }
 
 patientName: WOString { value = apptItem.toPatient.fullName; }
 
 saveUpdates: WOSubmitButton
 {
   id = saveUpdates;
   value = Save Updates;
   action = saveUpdates;
 }
 
 declineApptLink: ERXWOTemplate
 {
   templateName = whatGoesHere?;
 }
 
 editAppt: AjaxModalDialog
 {
   label = Edit Appointment;
   action = editAppointment;
   width = 900;
   height = 600;
   centerVertically = true;
   transitions = false;
   locked = false;
   title = edit Apppointment;
   closeValue = x; //Value required here. Default is times; Safari 
 fails in xhtml mode.
   autoFocusing = false;
 }
 
 
 public WOActionResults editAppointment()
 {
   // Prep the objects as needed
   
   // Return an Edit Appt page for the popup.
   EditApptPopup apptPopup = pageWithName( EditApptPopup.class );
   apptPopup.setApptRequest( _apptItem );
   return apptPopup;
 }
 
 
 And in the popup component: (partial page, no head or body tags)
 
 
 h3Please update your information/h3
 
 webobject name=editForm
   First Name: webobject name=firstName /br/
   br/
   br/
   webobject name=yesYes/webobject 
   nbsp; nbsp; nbsp; nbsp; 
   webobject name=noNo/webobject 
   br/
   br/
   webobject name=updateResults /br/
 /webobject name=editForm
 
 
 
 patientName: WOTextField
 {
   value = apptRequest.toPatient.fullName;
 }
 
 /* Tried WOForm and ERXWOForm. Tried id and name */
 editForm: ERXWOForm 
 {
   id = editForm; 
   multipleSubmit = true; 
 }
 
 /* A regular WOSubmitButton also doesn't work since the form is removed */
 updateResults: AjaxSubmitButton
 {
   id = updateResults;
   value = Save;
   action = updateResults;
   evalScripts = true;
   formName = editForm;
   onClick = ModalBox.hide();;
 //onClickBefore = onClickDoneButton;
 }
 
 no: WOHyperlink
 {
   href = javascript: void(0);;
   onClick = ModalBox.hide();;
   id = noClicked;
 }
 
 yes: AjaxHyperlink
 {
   action = updateResults;
   evalScripts = true;
 }
 
 
 public WOActionResults updateResults()
 {
   // Push changes to parent.
 
   AjaxModalDialog.update( context(), null );
   return null;
 }
 
 public String onClickDoneButton()
 {
   return function(){ return true; }();
 }
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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.

Trouble Shooting Mountain Lion

2012-07-25 Thread Johnny Miller
Hi,

I upgraded my computer today and now when I go to debug my application I get 
the following print out from Safari: 

The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not found on 
this server.

WOMonitor, WOTaskd and my application appear to be running.

Did anyone have a similar problem or have an idea on where to start debugging?

Thanks in advance,

Johnny Miller
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Trouble Shooting Mountain Lion

2012-07-25 Thread Chuck Hill
Your httpd.conf needs to be fixed for this setting:

ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
/Library/WebServer/CGI-Executables/$1


On 2012-07-26, at 10:32 AM, Johnny Miller wrote:

 Hi,
 
 I upgraded my computer today and now when I go to debug my application I get 
 the following print out from Safari: 
 
 The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not found 
 on this server.
 
 WOMonitor, WOTaskd and my application appear to be running.
 
 Did anyone have a similar problem or have an idea on where to start debugging?
 
 Thanks in advance,
 
 Johnny Miller
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/gvc/practical_webobjects









 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Trouble Shooting Mountain Lion

2012-07-25 Thread Johnny Miller

It's in there and I tried commenting that line out as well but it had no effect?

On a side note...  did web sharing get the boot?  It seems that option has been 
dropped from System Preferences


On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote:

 Your httpd.conf needs to be fixed for this setting:
 
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
 /Library/WebServer/CGI-Executables/$1
 
 
 On 2012-07-26, at 10:32 AM, Johnny Miller wrote:
 
 Hi,
 
 I upgraded my computer today and now when I go to debug my application I get 
 the following print out from Safari: 
 
 The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not found 
 on this server.
 
 WOMonitor, WOTaskd and my application appear to be running.
 
 Did anyone have a similar problem or have an idea on where to start 
 debugging?
 
 Thanks in advance,
 
 Johnny Miller
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/gvc/practical_webobjects
 
 
 
 
 
 
 
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Trouble Shooting Mountain Lion

2012-07-25 Thread Chuck Hill

On 2012-07-26, at 10:41 AM, Johnny Miller wrote:

 
 It's in there and I tried commenting that line out as well but it had no 
 effect?

Are you including the apache.conf from WebObjects?  That error means that it is 
seeing the URL as a file request, not one to be passed through to WO.


 On a side note...  did web sharing get the boot?  It seems that option has 
 been dropped from System Preferences

I don't have an ML machine in front of me here.


Chuck

 
 
 On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote:
 
 Your httpd.conf needs to be fixed for this setting:
 
   ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
 /Library/WebServer/CGI-Executables/$1
 
 
 On 2012-07-26, at 10:32 AM, Johnny Miller wrote:
 
 Hi,
 
 I upgraded my computer today and now when I go to debug my application I 
 get the following print out from Safari: 
 
 The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not 
 found on this server.
 
 WOMonitor, WOTaskd and my application appear to be running.
 
 Did anyone have a similar problem or have an idea on where to start 
 debugging?
 
 Thanks in advance,
 
 Johnny Miller
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/gvc/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/gvc/practical_webobjects









 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Trouble Shooting Mountain Lion

2012-07-25 Thread Johnny Miller
Yup.  I was missing the apache.conf.   So now instead of not found I'm getting:

Forbidden

You don't have permission to access 
/cgi-bin/WebObjects/METSAdminApp_1.woa/- on this server.




On Jul 25, 2012, at 4:44 PM, Chuck Hill ch...@global-village.net wrote:

 
 On 2012-07-26, at 10:41 AM, Johnny Miller wrote:
 
 
 It's in there and I tried commenting that line out as well but it had no 
 effect?
 
 Are you including the apache.conf from WebObjects?  That error means that it 
 is seeing the URL as a file request, not one to be passed through to WO.
 
 
 On a side note...  did web sharing get the boot?  It seems that option has 
 been dropped from System Preferences
 
 I don't have an ML machine in front of me here.
 
 
 Chuck
 
 
 
 On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote:
 
 Your httpd.conf needs to be fixed for this setting:
 
  ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
 /Library/WebServer/CGI-Executables/$1
 
 
 On 2012-07-26, at 10:32 AM, Johnny Miller wrote:
 
 Hi,
 
 I upgraded my computer today and now when I go to debug my application I 
 get the following print out from Safari: 
 
 The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not 
 found on this server.
 
 WOMonitor, WOTaskd and my application appear to be running.
 
 Did anyone have a similar problem or have an idea on where to start 
 debugging?
 
 Thanks in advance,
 
 Johnny Miller
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/gvc/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/gvc/practical_webobjects
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Trouble Shooting Mountain Lion

2012-07-25 Thread Johnny Miller
Found it: http://lists.apple.com/archives/webobjects-dev/2010/Apr/msg00105.html

I needed comment out the two lines below.

Directory /
 Options FollowSymLinks
 AllowOverride None
 #Order deny,allow
 #Deny from all
/Directory

Thanks as always!

Johnny


On Jul 25, 2012, at 4:56 PM, Johnny Miller jlmil...@kahalawai.com wrote:

 Yup.  I was missing the apache.conf.   So now instead of not found I'm 
 getting:
 
 Forbidden
 
 You don't have permission to access 
 /cgi-bin/WebObjects/METSAdminApp_1.woa/- on this server.
 
 
 
 
 On Jul 25, 2012, at 4:44 PM, Chuck Hill ch...@global-village.net wrote:
 
 
 On 2012-07-26, at 10:41 AM, Johnny Miller wrote:
 
 
 It's in there and I tried commenting that line out as well but it had no 
 effect?
 
 Are you including the apache.conf from WebObjects?  That error means that it 
 is seeing the URL as a file request, not one to be passed through to WO.
 
 
 On a side note...  did web sharing get the boot?  It seems that option has 
 been dropped from System Preferences
 
 I don't have an ML machine in front of me here.
 
 
 Chuck
 
 
 
 On Jul 25, 2012, at 4:34 PM, Chuck Hill ch...@global-village.net wrote:
 
 Your httpd.conf needs to be fixed for this setting:
 
  ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
 /Library/WebServer/CGI-Executables/$1
 
 
 On 2012-07-26, at 10:32 AM, Johnny Miller wrote:
 
 Hi,
 
 I upgraded my computer today and now when I go to debug my application I 
 get the following print out from Safari: 
 
 The requested URL /cgi-bin/WebObjects/METSAdminApp_1.woa/- was not 
 found on this server.
 
 WOMonitor, WOTaskd and my application appear to be running.
 
 Did anyone have a similar problem or have an idea on where to start 
 debugging?
 
 Thanks in advance,
 
 Johnny Miller
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/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/gvc/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/gvc/practical_webobjects
 
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com