MritunjayKumarAnr

Q: Not able to run my webobject project on WO5.4

When I am trying to run my WebObject project,it stops running and the following message is displayed on the console:-

 

 

[2012-12-21 09:19:19 PST] <main> WOMaxIOBufferSize=8196
[2012-12-21 09:19:19 PST] <main> WOWorkerThreadCountMin=16
[2012-12-21 09:19:19 PST] <main> WOSocketMonitorSleepTime=50
[2012-12-21 09:19:19 PST] <main> WODirectConnectEnabled=true
[2012-12-21 09:19:19 PST] <main> WOIncludeCommentsInResponse=false
[2012-12-21 09:19:19 PST] <main> WOWorkerThreadCount=8
[2012-12-21 09:19:19 PST] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
[2012-12-21 09:19:19 PST] <main> WOLaunchdEnabled=false
[2012-12-21 09:19:19 PST] <main> WOHost=127.0.0.1
[2012-12-21 09:19:19 PST] <main> WOIDE=WOLips
[2012-12-21 09:19:19 PST] <main> WODebuggingEnabled=true
[2012-12-21 09:19:19 PST] <main> WOListenQueueSize=128
[2012-12-21 09:19:19 PST] <main> WOMissingResourceSearchEnabled=true
[2012-12-21 09:19:19 PST] <main> WOApplicationClassName=Application
[2012-12-21 09:19:19 PST] <main> WOSessionStoreClassName=WOServerSessionStore
[2012-12-21 09:19:19 PST] <main> WOContextClassName=WOContext
[2012-12-21 09:19:19 PST] <main> WOCachingEnabled=false
[2012-12-21 09:19:19 PST] <main> WOAcceptMalformedCookies=false
[2012-12-21 09:19:19 PST] <main> NSProjectSearchPath=(..,../..)
[2012-12-21 09:19:19 PST] <main> WOMonitorEnabled=false
[2012-12-21 09:19:19 PST] <main> WOAllowRapidTurnaround=true
[2012-12-21 09:19:19 PST] <main> WORootDirectory=C:\Apple
[2012-12-21 09:19:19 PST] <main> WOGenerateWSDL=true
[2012-12-21 09:19:19 PST] <main> WOWorkerThreadCountMax=256
[2012-12-21 09:19:19 PST] <main> WOAllowsConcurrentRequestHandling=false
[2012-12-21 09:19:19 PST] <main> WOAdaptor=WODefaultAdaptor
[2012-12-21 09:19:19 PST] <main> WOSessionTimeOut=3600
[2012-12-21 09:19:19 PST] <main> WORoot=C:\Apple
[2012-12-21 09:19:19 PST] <main> WOMaxSocketIdleTime=180000
[2012-12-21 09:19:19 PST] <main> WODefaultUndoStackLimit=10
[2012-12-21 09:19:19 PST] <main> WOAutoOpenClientApplication=true
[2012-12-21 09:19:19 PST] <main> WOAutoOpenInBrowser=true
[2012-12-21 09:19:19 PST] <main> WOApplicationBaseURL=/WebObjects
[2012-12-21 09:19:19 PST] <main> WOMaxHeaders=200
[2012-12-21 09:19:19 PST] <main> WOLifebeatEnabled=true
[2012-12-21 09:19:19 PST] <main> WOAllowsCacheControlHeader=true
[2012-12-21 09:19:19 PST] <main> WOSMTPHost=smtp
[2012-12-21 09:19:19 PST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2012-12-21 09:19:19 PST] <main> WOStatisticsStoreSessionMax=50
[2012-12-21 09:19:19 PST] <main> WOAdditionalAdaptors=()
[2012-12-21 09:19:19 PST] <main> WOLifebeatDestinationPort=1085
[2012-12-21 09:19:19 PST] <main> WOPort=4003
[2012-12-21 09:19:19 PST] <main> WOLifebeatInterval=30
[2012-12-21 09:19:19 PST] <main> WOSocketCacheSize=100
[2012-12-21 09:19:19 PST] <main> WOUserDirectory=C:\Juno\Empsoft\dist\Empsoft.woa
[2012-12-21 09:19:19 PST] <main> WODisplayExceptionPages=true
[2012-12-21 09:19:19 PST] <main> ------------------------
[2012-12-21 09:19:19 PST] <main> WebObjects version = 5.4.3
[2012-12-21 09:19:19 PST] <main> Created adaptor of class WODefaultAdaptor on port 4003 and address validation.sls.microsoft.com/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256
[2012-12-21 09:19:19 PST] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle.  Ignoring optional configuration file.
[2012-12-21 09:19:20 PST] <main> A fatal exception occurred: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;
[2012-12-21 09:19:20 PST] <main> java.lang.NoSuchMethodError: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;
at com.webobjects._ideservices._PBXProjectWatcher.openProjectsAppropriateForFile(_ PBXProjectWatcher.java:50)
at com.webobjects._ideservices._IDEProjectPBX.pbxProjectAtPath(_IDEProjectPBX.java :200)
at com.webobjects._ideservices._WOProject.ideProjectAtPath(_WOProject.java:85)
at com.webobjects.appserver._private.WOProjectBundle._isProjectBundlePath(WOProjec tBundle.java:225)
at com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeploye dBundle.java:745)
at com.webobjects.appserver._private.WODeployedBundle.deployedBundle(WODeployedBun dle.java:124)
at com.webobjects.appserver.WOResourceManager._initAppBundle(WOResourceManager.jav a:140)
at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:60)
at com.webobjects.appserver.WOApplication.createResourceManager(WOApplication.java :2067)
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:841)
at Application.<init>(Application.java:284)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.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:547)
at Application.main(Application.java:145)

 

Please let me know,where i am going wrong.Any help will be appreciable.

 

Thanks.....

Mritunjay Kumar

Eclipse JUNO, Windows 7

Posted on Dec 21, 2012 11:19 AM

Close

Q: Not able to run my webobject project on WO5.4

  • All replies
  • Helpful answers

  • by timcu,

    timcu timcu Dec 23, 2012 11:19 PM in response to MritunjayKumarAnr
    Level 1 (25 points)
    Dec 23, 2012 11:19 PM in response to MritunjayKumarAnr

    Is this error specific to this project or are you unable to get any projects running? If you are having trouble with all projects it could be spaces in folder names in classpath.

     

    Are you running from eclipse? I know many people have had problems with eclipse 4.2 and the authors of WOLips recommend running eclipse 3.8 rather than 4.2. I am running 3.7.2 myself.

     

    If you don't get any luck with an answer on this discussion group, you might want to post the question to Apple's webobjects mailing list.

     

    https://lists.apple.com/mailman/listinfo/webobjects-dev

     

    Regards

     

    Tim