Re: Unexplained WOSessionStore or NSProperties ClassNotFound Exceptions
Re: Unexplained WOSessionStore or NSProperties ClassNotFound Exceptions
- Subject: Re: Unexplained WOSessionStore or NSProperties ClassNotFound Exceptions
- From: Chuck Hill <email@hidden>
- Date: Mon, 15 Jul 2013 15:27:20 -0700
I think that I am completely lost by now. :)
Can you start again, and tell us what your specific goals are and how you are trying to accomplish them?
Thanks
Chuck
On 2013-07-11, at 6:07 AM, Filippo Laurìa wrote:
> 2013/7/10 Henrique Prange <email@hidden>:
>> Hi Filippo,
>>
>> On 09/07/2013, at 11:17, Filippo Laurìa <email@hidden> wrote:
>>
>>> 2013/7/3 Chuck Hill <email@hidden>:
>>>>
>>>> On 2013-07-02, at 2:00 PM, Filippo Laurìa wrote:
>>>>
>>>> 2013/7/2 Chuck Hill <email@hidden>:
>>>>
>>>> The JavaWebObjects.framework/Resources/Java/javawebobjects.jar is different
>>>> than WAR type jar bundles.
>>>>
>>>> That might be a problem?
>>>>
>>>> I don't think so.
>>>> I took the same WebObjects frameworks that deployed and fully working
>>>> application (on Tomcat, too) uses.
>>>>
>>>> If you think this could be a problem, maybe it is.
>>>> Can you explain how to use WAR type jar bundles of frameworks used?
>>>>
>>>>
>>>> They have the Resources/ folder contents embedded in them. They are
>>>> stand-alone jar files.
>>>>
>>>
>>> I don't think this is the problem, since I understood that there were
>>> no needs to install all WebObjects+Project Wonder frameworks because I
>>> was taking only needed (Ajax, EOJDBCPrototypes, ERDirectToWeb,
>>> ERExtensions, ERJars, ExternalJars, JavaDirectToWeb,
>>> JavaDTWGeneration, JavaEOAccess, JavaEOControl, JavaEOProject,
>>> JavaFoundation, JavaJDBCAdaptor, JavaWebObjects, JavaWOExtensions,
>>> JavaWOJSPServlet and WOOgnl).
>>>
>>> Now, I was wondering, is there some "precedence constraint" among
>>> these frameworks?
>>>
>>> I know that dynamic class loader, maybe, was intended to bypass these
>>> troubles but, I read, somewhere in the source code of application I'm
>>> trying to build, to put into Eclipse build path always first
>>> ERExtensions then JavaWOExtensions.
>>>
>>> Is that true?
>>
>> This is true, but I don't think it's related to your problem.
>>
>> Have you tried to put all the jars in the WEB-INF/lib folder? Do the application throw the same exception?
>>
>
> With this advice the application starts (with its wizard installer).
> But is that a dirty trick?! I mean, I'm happy because application
> starts and this is better than a startup failure, but original
> application (that one deployed from original authors) works - on
> tomcat, I mean - without copying jars into WEB-INF/lib.
>
> I'm pretty sure that Eclipse is messing up something. Has this some
> sense, considering that I've no java errors at build time, or I'm
> wrong?
>
> Is there any alternative to Eclipse+WOLips on Linux systems?!
>
>> Also, as Chuck mentioned, you should use the correct WebObjects jars when deploying to Tomcat. The correct jars are available in the /Library/WebObjects/lib folder.
>>
>
> I will try this as soon as possible.
>
> Thank you, both of you, for your advices and your patience.
>
> Filippo
>
>> Cheers,
>>
>> Henrique
>>
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
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
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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