Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-12 Thread Chuck Hill
You don’t need wotaskd (at the cost of instant reconfiguration) and you are not dependant on having mod_webobjects compiled for the Apache version and platform that you are using. Chuck On 2014-08-12, 7:05 PM, "Michael Kondratov" wrote: What makes mod proxy better than apache adapter? Micha

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-12 Thread Michael Kondratov
What makes mod proxy better than apache adapter? Michael Sent from my iPad > On Aug 12, 2014, at 19:22, Paul Hoadley wrote: > > Hi Larry, > >> On 13 Aug 2014, at 7:12 am, Larry Mills-Gahl wrote: >> >> I’m new to the mod_proxy config also (but I’m digging it… thanks Chuck) >> >> One piece t

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-12 Thread Paul Hoadley
Hi Larry, On 13 Aug 2014, at 7:12 am, Larry Mills-Gahl wrote: > I’m new to the mod_proxy config also (but I’m digging it… thanks Chuck) > > One piece that I needed to do in addition to setting the proxy config from > the Migrations tab was to add this line to the apache config: > > RequestHea

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Larry Mills-Gahl
Thanks for the responses… and the winner is: setDefaultRequestHandler( requestHandlerForKey( directActionRequestHandlerKey() ) ); (Thanks Hugi) Larry Mills-Gahl elem...@gmail.com On Aug 12, 2014, at 4:22 PM, Larry Mills-Gahl wrote: > I was using the Wonder pageWithName(Class) hoping to

Re: mod_proxy as mod_WebObjects alternative [Was: Re: Yosemite]

2014-08-12 Thread Larry Mills-Gahl
I’m new to the mod_proxy config also (but I’m digging it… thanks Chuck) One piece that I needed to do in addition to setting the proxy config from the Migrations tab was to add this line to the apache config: RequestHeader append x-webobjects-adaptor-version “mod_proxy" Prior to that I was gett

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Larry Mills-Gahl
I was using the Wonder pageWithName(Class) hoping to make the issues with another Main on the classpath moot. That’s when I saw that “Main” was still getting passed into the WOApplication.pageWithName and began wondering if the String for the class name was getting set somewhere as a default bef

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Klaus Berkling
On Aug 12, 2014, at 12:56 PM, Theodore Petrosky wrote: > > @Override > public WOActionResults defaultAction() { > return pageWithName(CPEMain.class.getName()); > } > > > what about adding getName() > I think pageWithName in Wonder takes ether class or the cl

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Theodore Petrosky
I take that back. I just tried it on one of my apps @Override public WOActionResults defaultAction() { //return pageWithName(Main.class.getName()); return pageWithName(KickOffBriefInstructions.class); } worked fine to subst

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Theodore Petrosky
@Override public WOActionResults defaultAction() { return pageWithName(CPEMain.class.getName()); } what about adding getName() On Aug 12, 2014, at 3:32 PM, Larry Mills-Gahl wrote: > I am trying to use a different default component in the defaultAction

Re: defaultAction returning wrong component in Application request handler

2014-08-12 Thread Hugi Thordarson
For this to work you’ll have to make the direct action request handler your default request handler. Stashing this in your Application class’ constructor should do the trick. setDefaultRequestHandler( requestHandlerForKey( directActionRequestHandlerKey() ) ); Cheers, - hugi > On 12. ágú. 20

defaultAction returning wrong component in Application request handler

2014-08-12 Thread Larry Mills-Gahl
I am trying to use a different default component in the defaultAction. The defaultAction is pretty straight forward: @Override public WOActionResults defaultAction() { return pageWithName(CPEMain.class); } … but the Application still looks for “Main” when

do you get this error???

2014-08-12 Thread Theodore Petrosky
objc[50802]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. Is there a so