I went to Github and got the Zipped SImpleBlog app. and imported into Eclipse.
I really like what David Holt did with this tutorial as it does speak to what we are trying to do.
[2012-4-13 18:17:3 SAST] <main> Initialized : er.extensions.ERXExtensions
[2012-4-13 18:17:4 SAST] <main> Couldn't load properties file: /Users/andriesbrink/WebObjects.properties at path: /Users/andriesbrink
Apr 13 20:17:06 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
Apr 13 20:17:06 N/A[N/A] INFO org.apache.log4j.Logger - Updated the logging configuration with the current system properties.
Apr 13 20:17:06 N/A[N/A] WARN NSLog - Couldn't load properties file: /Users/andriesbrink/WebObjects.properties at path: /Users/andriesbrink
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - Initialized : er.prototypes.ERPrototypes
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - Initialized : er.directtoweb.ERDirectToWeb
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - Initialized : er.ajax.Ajax
Apr 13 20:17:06 N/A[N/A] WARN NSLog - Principal class 'er.coolcomponents.ERCoolComponents' not found in bundle ERCoolComponents
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOMaxIOBufferSize=8196
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOWorkerThreadCountMin=16
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOSocketMonitorSleepTime=50
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WODirectConnectEnabled=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOIncludeCommentsInResponse=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOWorkerThreadCount=8
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOLaunchdEnabled=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOHost=127.0.0.1
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOIDE=WOLips
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WODebuggingEnabled=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOListenQueueSize=128
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOMissingResourceSearchEnabled=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOApplicationClassName=com.wowodc.app.Application
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOSessionStoreClassName=WOServerSessionStore
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOContextClassName=WOContext
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOCachingEnabled=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAcceptMalformedCookies=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - NSProjectSearchPath=("..")
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOMonitorEnabled=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAllowRapidTurnaround=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOGenerateWSDL=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOWorkerThreadCountMax=256
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAllowsConcurrentRequestHandling=false
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAdaptor=WODefaultAdaptor
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOSessionTimeOut=3600
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOMaxSocketIdleTime=180000
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WODefaultUndoStackLimit=10
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAutoOpenClientApplication=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAutoOpenInBrowser=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOApplicationBaseURL=/WebObjects
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOMaxHeaders=200
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOLifebeatEnabled=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAllowsCacheControlHeader=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOSMTPHost=smtp
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOFrameworksBaseURL=/WebObjects/Frameworks
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOAdditionalAdaptors=()
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOStatisticsStoreSessionMax=50
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOLifebeatDestinationPort=1085
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOPort=-1
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOLifebeatInterval=30
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOSocketCacheSize=100
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WOUserDirectory=/Users/andriesbrink/Documents/workspace/SimpleBlog_Orig
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WODisplayExceptionPages=true
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - ------------------------
Apr 13 20:17:06 N/A[N/A] DEBUG NSLog - WebObjects version = 5.4
Apr 13 20:17:06 SimpleBlog[N/A] DEBUG NSLog - Created adaptor of class WODefaultAdaptor on port 59802 and address localhost/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256
Apr 13 20:17:06 SimpleBlog[59802] WARN NSLog - A fatal exception occurred: null
[2012-4-13 18:17:6 SAST] <main> java.lang.ExceptionInInitializerError
at er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1030)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:835)
at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:24)
at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1037)
at com.wowodc.app.Application.<init>(Application.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:546)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:821)
at com.wowodc.app.Application.main(Application.java:24)
Caused by: java.lang.NullPointerException
at er.extensions.foundation.ERXFileUtilities.inputStreamForResourceNamed(ERXFileUtilities.java:585)
at er.extensions.foundation.ERXFileUtilities.readPropertyListFromFileInFramework(ERXFileUtilities.java:759)
at er.extensions.appserver.ERXResourceManager._additionalMimeTypes(ERXResourceManager.java:386)
at er.extensions.appserver.ERXResourceManager.<clinit>(ERXResourceManager.java:45)
... 14 more
Any ideas what this could be?
Thanks
Andries
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
|