Re: JavaFoundation opens in place of own Application
Re: JavaFoundation opens in place of own Application
- Subject: Re: JavaFoundation opens in place of own Application
- From: Chuck Hill <email@hidden>
- Date: Mon, 21 Jan 2013 09:40:01 -0800
My guess is that the template for a plain WO application is somehow wrong. In the run configuration, check the WO tab for the settings for NSProjectSearchPath and NSProjectBundleEnabled. Compare those to a Wonder project. Also check the WOLips preferences (under Eclipse preferences). Look in the Build section for Generate bundles. Is that checked or not?
Chuck
On 2013-01-21, at 9:20 AM, ute Hoffmann wrote:
> Hi,
> it really seems the problem is that it was not a wonder App.
>
> Creating a new Wonder App in the same old workspace works.
> When I run the app in eclipse, it opens correctly in the browser.
>
> So my setup seems to be ok and I was bitten by a bug (as I learned from your mails) in WebObjects Apps without wonder.
>
> Thank you for all your suggestions and your help.
>
> Regards
>
> Ute
>
> Am 21.01.2013 um 08:30 schrieb ute Hoffmann:
>
>> That was my comsole log I will be at it again today, I jump on and off.
>>
>> I did remove Java XML Framework but as it did not solve the problem I might put it back again.
>>
>> Regards,
>>
>> Ute
>>
>> Am 21.01.2013 um 01:27 schrieb Ramsey Gurley:
>>
>>> Oh sorry. I thought that was Ute's console log.
>>>
>>> Philippe Rabier <email@hidden> wrote:
>>>
>>> Thanks Ramsey. I think that's what we did: create a "pure" WO app because Antoine tries first to follow the official tutorial provided by Apple based on Eclipse.
>>>
>>> Philippe
>>>
>>> On 20 janv. 2013, at 13:51, Ramsey Gurley wrote:
>>>
>>>> I still see the session error in the run log. Are you sure you removed the JavaXML framework? Also, this doesn't appear to be a wonder app. I highly recommend you use wonder. A WO app without wonder is broken.
>>>>
>>>> ute Hoffmann <email@hidden> wrote:
>>>>
>>>> This is what comes up in the logfile when JavaFoundation is starting (in place of my app)
>>>>
>>>> Any idea what goes wrong?
>>>>
>>>> [2013-1-20 9:43:31 MEZ] <main> WOMaxIOBufferSize=8196
>>>> [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCountMin=16
>>>> [2013-1-20 9:43:31 MEZ] <main> WOSocketMonitorSleepTime=50
>>>> [2013-1-20 9:43:31 MEZ] <main> WODirectConnectEnabled=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOIncludeCommentsInResponse=false
>>>> [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCount=8
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
>>>> [2013-1-20 9:43:31 MEZ] <main> WOLaunchdEnabled=false
>>>> [2013-1-20 9:43:31 MEZ] <main> WOHost=127.0.0.1
>>>> [2013-1-20 9:43:31 MEZ] <main> WOIDE=WOLips
>>>> [2013-1-20 9:43:31 MEZ] <main> WODebuggingEnabled=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOListenQueueSize=128
>>>> [2013-1-20 9:43:31 MEZ] <main> WOMissingResourceSearchEnabled=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOApplicationClassName=hello.app.Application
>>>> [2013-1-20 9:43:31 MEZ] <main> WOSessionStoreClassName=WOServerSessionStore
>>>> [2013-1-20 9:43:31 MEZ] <main> WOContextClassName=WOContext
>>>> [2013-1-20 9:43:31 MEZ] <main> WOCachingEnabled=false
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAcceptMalformedCookies=false
>>>> [2013-1-20 9:43:31 MEZ] <main> NSProjectSearchPath=(..,../..)
>>>> [2013-1-20 9:43:31 MEZ] <main> WOMonitorEnabled=false
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAllowRapidTurnaround=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOGenerateWSDL=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOWorkerThreadCountMax=256
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAllowsConcurrentRequestHandling=false
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAdaptor=WODefaultAdaptor
>>>> [2013-1-20 9:43:31 MEZ] <main> WOSessionTimeOut=3600
>>>> [2013-1-20 9:43:31 MEZ] <main> WOMaxSocketIdleTime=180000
>>>> [2013-1-20 9:43:31 MEZ] <main> WODefaultUndoStackLimit=10
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAutoOpenClientApplication=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAutoOpenInBrowser=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOApplicationBaseURL=/WebObjects
>>>> [2013-1-20 9:43:31 MEZ] <main> WOMaxHeaders=200
>>>> [2013-1-20 9:43:31 MEZ] <main> WOLifebeatEnabled=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAllowsCacheControlHeader=true
>>>> [2013-1-20 9:43:31 MEZ] <main> WOSMTPHost=smtp
>>>> [2013-1-20 9:43:31 MEZ] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
>>>> [2013-1-20 9:43:31 MEZ] <main> WOAdditionalAdaptors=()
>>>> [2013-1-20 9:43:31 MEZ] <main> WOStatisticsStoreSessionMax=50
>>>> [2013-1-20 9:43:31 MEZ] <main> WOLifebeatDestinationPort=1085
>>>> [2013-1-20 9:43:31 MEZ] <main> WOPort=-1
>>>> [2013-1-20 9:43:31 MEZ] <main> WOLifebeatInterval=30
>>>> [2013-1-20 9:43:31 MEZ] <main> WOSocketCacheSize=100
>>>> [2013-1-20 9:43:31 MEZ] <main> WOUserDirectory=/Users/admin/Documents/workspace/hello
>>>> [2013-1-20 9:43:31 MEZ] <main> WODisplayExceptionPages=true
>>>> [2013-1-20 9:43:31 MEZ] <main> ------------------------
>>>> [2013-1-20 9:43:31 MEZ] <main> WebObjects version = 5.4.3
>>>> [2013-1-20 9:43:31 MEZ] <main> Created adaptor of class WODefaultAdaptor on port 49206 and address localhost/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256
>>>> [2013-1-20 9:43:31 MEZ] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle. Ignoring optional configuration file.
>>>> [2013-1-20 9:43:31 MEZ] <main> Cannot use rapid turnaround. Please start Xcode and open the project for this application.
>>>> [2013-1-20 9:43:31 MEZ] <main> Creating LifebeatThread now with: JavaFoundation -1 localhost/127.0.0.1 1085 30000
>>>> Welcome to JavaFoundation !
>>>> [2013-1-20 9:43:31 MEZ] <main> Opening application's URL in browser:
>>>> http://127.0.0.1:49206/cgi-bin/WebObjects/JavaFoundation.woa
>>>> [2013-1-20 9:43:31 MEZ] <main> null
>>>> [2013-1-20 9:43:31 MEZ] <main> Waiting for requests...
>>>> [2013-1-20 9:43:31 MEZ] <WorkerThread0> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
>>>> java.lang.IllegalArgumentException: <hello.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession.
>>>> [2013-1-20 9:43:31 MEZ] <WorkerThread0> java.lang.IllegalArgumentException: <hello.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession.
>>>> at com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934)
>>>> at com.webobjects.appserver.WOApplication.createSessionForRequest(WOApplication.java:1973)
>>>> at com.webobjects.appserver.WOApplication._initializeSessionInContext(WOApplication.java:2110)
>>>> at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319)
>>>> at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
>>>> at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:445)
>>>> at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>>> 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:680)
>>>> _______________________________________________
>>>> 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/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 76th in 24th annual PROFIT 200 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