Re: Now it won't find application or session in wods?
Re: Now it won't find application or session in wods?
- Subject: Re: Now it won't find application or session in wods?
- From: James Cicenia <email@hidden>
- Date: Tue, 19 Oct 2010 21:32:48 -0500
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