Re: Nothing goes in "Referenced Libraries"
Re: Nothing goes in "Referenced Libraries"
- Subject: Re: Nothing goes in "Referenced Libraries"
- From: Kieran Kelleher <email@hidden>
- Date: Wed, 20 Oct 2010 07:47:18 -0400
James,
wolips reads the paths it needs from your wolips.properties file which is in
~/Library/Application Support/WOLips
-Kieran
On Oct 20, 2010, at 7:30 AM, James Cicenia wrote:
> OK -
>
> Maybe this is the issue? No matter what I do, on this new mac, nothing shows up in Referenced Libraries. I have various jars that are in "Libraries" AND "Referenced Libraries" on both my other machines. How do I get my libraries into "Referenced Libraries" ?
>
> Workstation from hell,
> James
>
> On Oct 20, 2010, at 1:30 AM, D Tim Cummings wrote:
>
>> I too have had strange behaviour on validation in the .wo in a new install, with source freshly checked out of subversion. Application and session are prime candidates for problems, as well as using methods from super classes. I am not sure what it is that triggers wo validation to start working. I think the wo has to be closed when doing a project clean, and then opening the wo's which still have errors. Once the wo's are open the errors go away. If the binding validation errors don't go away, I try editing the binding in the wo to some gibberish, close the wo, restarting eclipse, open the wo and retype the original binding which had an error.
>>
>> Once that first batch of errors is cleared, WOLips is rock solid, and I can't repeat the problem.
>>
>> Tim
>>
>>
>> On 20/10/2010, at 12:43 PM, Paul D Yu wrote:
>>
>>> I've seen some strange behavior on validation in the .wo as well. Mine would show up for some random inline component all of a sudden becoming not found. A clean usually does the trick.
>>>
>>> Remember there are LOTS of property files. All it takes is one of them in the process to over rule the one you thought should be ruling.
>>>
>>> My setup now is Properties.paul er.javamai.centralize is true, then Properties that is set to false.
>>>
>>> But you need to make sure the .<username> properties file has all the parameters that you want to override. In your case it may be overriding what you don't want.
>>>
>>> Paul
>>> On Oct 19, 2010, at 10:32 PM, James Cicenia wrote:
>>>
>>>> it seems as though... if I go into the wod the errors disappear... sort of like an incomplete build.
>>>>
>>>> Now when I run it, it can't seem to find my properties file because it thinks that er.javamail.centralize is true.
>>>>
>>>> James
>>>>
>>>>
>>>> On Oct 19, 2010, at 9:27 PM, James Cicenia wrote:
>>>>
>>>>> nothing in those directories.
>>>>>
>>>>>
>>>>>
>>>>> On Oct 19, 2010, at 8:40 PM, Chuck Hill wrote:
>>>>>
>>>>>> You have undesirable elements, er jars, in /Library/Java/Extensions or /Library/WebObjects/Extensions.
>>>>>>
>>>>>>
>>>>>> On Oct 19, 2010, at 6:22 PM, James Cicenia wrote:
>>>>>>
>>>>>>> This is a cursed computer.
>>>>>>>
>>>>>>> Anyway, I did some fresh installs for the third time.
>>>>>>> Ran an example app. Setup all my paths like my
>>>>>>> other two workstations... blah, blah, blah.
>>>>>>>
>>>>>>> Did a clean build and now my components can't see
>>>>>>> application or session in the wod files.
>>>>>>>
>>>>>>> ???
>>>>>>>
>>>>>>> help.
>>>>>>> James
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Oct 19, 2010, at 2:13 PM, James Cicenia wrote:
>>>>>>>
>>>>>>>> Hmmm...
>>>>>>>>
>>>>>>>> That is something to look at...
>>>>>>>>
>>>>>>>> - j-
>>>>>>>>
>>>>>>>> On Oct 19, 2010, at 1:58 PM, Paul D Yu wrote:
>>>>>>>>
>>>>>>>>> IIRC. The version number thing sounds like JVM version difference between those three frameworks and the running app? MS had me look inside my frameworks/class wrapper to see what version those were. I don't remember exactly how to do that, sorry.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>> On Oct 19, 2010, at 2:05 PM, James Cicenia wrote:
>>>>>>>>>
>>>>>>>>>> I noticed this at the top of the log:
>>>>>>>>>>
>>>>>>>>>> [2010-10-19 13:1:30 CDT] <main> Couldn't load properties file: /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
>>>>>>>>>> [2010-10-19 13:1:30 CDT] <main> The bundle MyEOPrototypes has malformed version number:
>>>>>>>>>> [2010-10-19 13:1:30 CDT] <main> The bundle QualifierAdditions has malformed version number:
>>>>>>>>>> [2010-10-19 13:1:31 CDT] <main> The bundle NoxymoCore has malformed version number: null
>>>>>>>>>> [2010-10-19 13:1:31 CDT] <main> Couldn't load properties file: /Users/jerrykosek/WebObjects.properties at path: /Users/jerrykosek
>>>>>>>>>>
>>>>>>>>>> I don't see WebObjects.properties as file in the users directory on my other two installs.
>>>>>>>>>>
>>>>>>>>>> Where is this set to look for it?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Oct 19, 2010, at 10:31 AM, James Cicenia wrote:
>>>>>>>>>>
>>>>>>>>>>> Nothing in there.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Oct 19, 2010, at 10:19 AM, Pascal Robert wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Le 2010-10-19 à 10:48, James Cicenia a écrit :
>>>>>>>>>>>>
>>>>>>>>>>>>> A couple of things:
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am not using ERXApplication and why would I have to do this if it compiles and runs on two of my other development machines?
>>>>>>>>>>>>
>>>>>>>>>>>> You probably have something in /Library/Java/Extensions that have a class called "Main" and that class is taking over your Main class. Cleanup /Library/Java/Extensions (close Eclipse before doing that) and check if the problem goes away.
>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>> James
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Oct 19, 2010, at 9:37 AM, Henrique Prange wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi James,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Add to your Application class:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> @Override
>>>>>>>>>>>>>> public void installPatches() {
>>>>>>>>>>>>>> super.installPatches();
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ERXPatcher.setClassForName(Main.class, "Main");
>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Henrique
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 19/10/2010, at 12:11, James Cicenia wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Trying to get this dev laptop working but when I try to run the app I get the following which I haven't seen.
>>>>>>>>>>>>>>> Thoughts? Thanks James
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Tue Oct 19 13:54:33 GMT 2010 WARN: Invalid value {1} for server variable named {0}, falling back to sane default of {2}.
>>>>>>>>>>>>>>> JDBC connection successful!
>>>>>>>>>>>>>>> Tue Oct 19 13:54:33 GMT 2010 WARN: Invalid value {1} for server variable named {0}, falling back to sane default of {2}.
>>>>>>>>>>>>>>> [2010-10-19 8:54:35 CDT] <main> ** DirectToWeb could not merge d2wmodel from file:/Users/jerrykosek/Library/Frameworks/ERDirectToWeb.framework/Resources/d2w.d2wmodel for reason: ** DirectToWeb exception - a rule cannot be instantiated if its right hand side is null. LHS=null RHS=null
>>>>>>>>>>>>>>> [2010-10-19 8:54:36 CDT] <main> Opening application's URL in browser:
>>>>>>>>>>>>>>> http://10.0.1.15:5555/cgi-bin/WebObjects/TOSDevelopment.woa
>>>>>>>>>>>>>>> [2010-10-19 8:54:35 CDT] <main> null
>>>>>>>>>>>>>>> [2010-10-19 8:54:36 CDT] <main> DirectToWeb WebAssistant launch line: appletviewer http://localhost:5555/cgi-bin/WebObjects/TOSDevelopment.woa/wa/D2WActions/openWebAssistant
>>>>>>>>>>>>>>> [2010-10-19 8:54:46 CDT] <WorkerThread0> <com.webobjects.appserver.WODirectAction>: Exception in performActionNamed() on the action "default" with the message:java.lang.IllegalArgumentException: <com.webobjects.appserver._private.WOComponentDefinition> Class 'Main' exists but is not a subclass of WOComponent.
>>>>>>>>>>>>>>> handleActionRequewtError java.lang.reflect.InvocationTargetException
>>>>>>>>>>>>>>> [2010-10-19 8:54:46 CDT] <WorkerThread0> <com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while handling action named "default" on action class "null" :java.lang.reflect.InvocationTargetException
>>>>>>>>>>>>>>> [2010-10-19 8:54:46 CDT] <WorkerThread0> <WOWorkerThread id=0 socket=Socket[addr=/10.0.1.15,port=49620,localport=5555]> Exception occurred while responding to client: com.webobjects.foundation.NSForwardException [java.lang.NullPointerException] null:<com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while trying to generate an error response: java.lang.NullPointerException
>>>>>>>>>>>>>>> [2010-10-19 8:54:47 CDT] <WorkerThread0> com.webobjects.foundation.NSForwardException [java.lang.NullPointerException] null:<com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while trying to generate an error response: java.lang.NullPointerException
>>>>>>>>>>>>>>> at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:320)
>>>>>>>>>>>>>>> at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:161)
>>>>>>>>>>>>>>> at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>>>>>>>>>>>>>> at com.noxymo.application.NXApplication.dispatchRequest(NXApplication.java:201)
>>>>>>>>>>>>>>> at com.tos.Application.dispatchRequest(Application.java:436)
>>>>>>>>>>>>>>> at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>>>>>>>>>>>>>>> at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>>>>>>>>>>>>>>> at java.lang.Thread.run(Thread.java:637)
>>>>>>>>>>>>>>> Caused by: java.lang.NullPointerException
>>>>>>>>>>>>>>> at com.tos.Application.handleException(Application.java:461)
>>>>>>>>>>>>>>> at com.webobjects.appserver._private.WODirectActionRequestHandler.generateErrorResponse(WODirectActionRequestHandler.java:126)
>>>>>>>>>>>>>>> at com.webobjects.appserver._priva
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> 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
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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