Re: Odd NoClassDefFoundError Error
Re: Odd NoClassDefFoundError Error
- Subject: Re: Odd NoClassDefFoundError Error
- From: David Avendasora <email@hidden>
- Date: Wed, 8 Sep 2010 16:07:57 -0400
Sent from my iPad
On Sep 8, 2010, at 3:07 PM, Chuck Hill <email@hidden> wrote:
>
> On Sep 8, 2010, at 11:36 AM, David Avendasora wrote:
>
>> Okay, Steve Meyer figured it out.
>>
>> The app started up just fine, but the first time the "Inbox" class was called, it called it's superclass which has a static variable that loads a set of EOs from the database.
>
> That sounds a little... dangerous. ERXEnterpriseObjectCache anyone?
Thanks for the discretion of not calling me stupid.
To my face.
Again.
:-D
Yes, I think we'll be implementing that.
Dave
>
>
>
>> That DB connection failed, which left the superclass uninitialized and therefor basically corrupt, and therefor the NoClassDefFoundError.
>>
>> I think we'll be digging around looking for more issues like this. Soon.
>>
>> Dave
>>
>> PS, Sorry about the lack of stack trace.
>>
>> On Sep 8, 2010, at 1:20 PM, Chuck Hill wrote:
>>
>>> Any exceptions in the log on start up? Were you upgrading something? Are you sure that this one instance did not just _not_ restart and so no see the new code?
>>>
>>> Chuck
>>>
>>>
>>> On Sep 8, 2010, at 10:12 AM, David Avendasora wrote:
>>>
>>>> Hi all,
>>>>
>>>> Has anyone else ever seen this:
>>>>
>>>> We have a server that is running 4 instances of one of our apps. Last night we restarted one of the instances and apparently it didn't properly load 1 class that is part of one of our internal frameworks.
>>>>
>>>> Every time a user tried a feature that used that one class, we got java.lang.NoClassDefFoundError. The other instances of the same app started from the same files on the hard drive were running fine.
>>>>
>>>> We restarted the affected instance and that eliminated the problem.
>>>>
>>>> We couldn't find any errors in any of the logs that would explain why the class wouldn't have properly loaded.
>>>>
>>>> It's all fine now, but this was a very strange issue.
>>>>
>>>> Anyone ever run into something like that?
>>>>
>>>> Dave _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>> --
>>> 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/products/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/products/practical_webobjects
>
>
>
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden