> Does your application override _sessionClass()?

Yes, but adding that did not fix the issue with the DirectAction class.


> Also, in installPatches(), something like
> 
>               // action classes
>               ERXPatcher.setClassForName(DirectAction.class, "DirectAction");
>               
> _NSUtilities.registerPackage(DirectAction.class.getPackage().getName());

I ended up doing ERXPatcher.setClassForName for the DirectAction subclass that 
wasn’t found. But I never had to do this before.
Somewhat odd that pulling in a dependency (with no apparent package or class 
name conflicts) would make unrelated classes disappear.

Cheers,
- hugi


> 
> 
> On Aug 16, 2016, at 1:12 PM, Hugi Thordarson <[email protected]> wrote:
> 
>> Hi all,
>> I am about to ask the vaguest question ever presented to this list. But I 
>> still wanted to check if anyone recognizes this before I start digging in 
>> myself.
>> 
>> So, long story short; one of my my projects just started exhibiting some 
>> pretty darned weird behaviour and these are the symptoms:
>> 
>> - Everything worked fine everywhere until recently.
>> - On my development machine, everything still works fine.
>> - In production, the application attempts to use the wrong Session class 
>> upon the first request. All following requests work fine.
>> - The application does not find _some_ Direct Action classes. But it finds 
>> other DA-classes just fine—even ones from the same framework as ones it 
>> doesn’t find. This applies to all requests, not just the first one.
>> 
>> The project is a maven project.
>> 
>> Ring any bells?
>> 
>> Cheers,
>> - hugi
>> _______________________________________________
>> 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/rgurley%40smarthealth.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
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