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 getting the following trace in the webobjects log:

[2014-8-12 15:17:0 EDT] <WorkerThread11> java.lang.IllegalArgumentException: 
<er.extensions.appserver.ERXRequest>: No URL was provided.
        at com.webobjects.appserver.WORequest.<init>(WORequest.java:254)
        at er.extensions.appserver.ERXRequest.<init>(ERXRequest.java:81)
        at 
er.extensions.appserver.ERXApplication.createRequest(ERXApplication.java:1449)
        at 
com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket(WOHttpIO.java:380)
        at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:88)
        at 
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
        at java.lang.Thread.run(Thread.java:745)


As I said, I’m no expert and may be missing more modern configuration options 
(the RequestHeader solutions was from a thread back in 2009) so if anybody has 
updates or corrections to “the right way” to get rid of the “No URL was 
provided” error, please speak up.

The 2009 thread also mentioned subclassing ERXRequest to override 
isUsingWebServer, but if I’m not missing something, the RequestHeader solution 
seems cleaner. It also looks like it is serving the split install correctly too.


Larry Mills-Gahl
[email protected]






On Aug 6, 2014, at 6:05 PM, Paul Hoadley <[email protected]> wrote:

> On 6 Aug 2014, at 10:10 pm, Theodore Petrosky <[email protected]> wrote:
> 
>> I’m looking, Paul you mentioned that it is disabled by default. How did you 
>> turn it on? I am looking and hacking but I don’t see the setting.
> 
> It's an application property for JavaMonitor.  In Resources/Properties you 
> will see:
> 
> # Hide the Migrations tab.
> er.javamonitor.showMigrationsTab=false
> 
> Change that to true.
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
> 
> This email sent to [email protected]

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

This email sent to [email protected]

Reply via email to