1 Reply Latest reply: Dec 26, 2012 10:53 PM by timcu
MritunjayKumarAnr Level 1 Level 1 (0 points)

I am running my WebObject Application through Eclipse JUNO

Version: Juno Service Release 1

java version: 1.6.0_18

WebObject Version = 5.4.3

 

When I am trying to run my project,I am getting error mentioned below:-

 

[2012-12-25 10:14:44 PST] <main> WOMaxIOBufferSize=8196

[2012-12-25 10:14:44 PST] <main> WOWorkerThreadCountMin=16

[2012-12-25 10:14:44 PST] <main> WOSocketMonitorSleepTime=50

[2012-12-25 10:14:44 PST] <main> WODirectConnectEnabled=true

[2012-12-25 10:14:44 PST] <main> WOIncludeCommentsInResponse=false

[2012-12-25 10:14:44 PST] <main> WOWorkerThreadCount=8

[2012-12-25 10:14:44 PST] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects

[2012-12-25 10:14:44 PST] <main> WOLaunchdEnabled=false

[2012-12-25 10:14:44 PST] <main> WOHost=127.0.0.1

[2012-12-25 10:14:44 PST] <main> WOIDE=WOLips

[2012-12-25 10:14:44 PST] <main> WODebuggingEnabled=true

[2012-12-25 10:14:44 PST] <main> WOListenQueueSize=128

[2012-12-25 10:14:44 PST] <main> WOMissingResourceSearchEnabled=true

[2012-12-25 10:14:44 PST] <main> WOApplicationClassName=Application

[2012-12-25 10:14:44 PST] <main> WOSessionStoreClassName=WOServerSessionStore

[2012-12-25 10:14:44 PST] <main> WOContextClassName=WOContext

[2012-12-25 10:14:44 PST] <main> WOCachingEnabled=false

[2012-12-25 10:14:44 PST] <main> WOAcceptMalformedCookies=false

[2012-12-25 10:14:44 PST] <main> NSProjectSearchPath=(..,../..)

[2012-12-25 10:14:44 PST] <main> WOMonitorEnabled=false

[2012-12-25 10:14:44 PST] <main> WOAllowRapidTurnaround=true

[2012-12-25 10:14:44 PST] <main> WORootDirectory=C:\Apple

[2012-12-25 10:14:44 PST] <main> WOGenerateWSDL=true

[2012-12-25 10:14:44 PST] <main> WOWorkerThreadCountMax=256

[2012-12-25 10:14:44 PST] <main> WOAllowsConcurrentRequestHandling=false

[2012-12-25 10:14:44 PST] <main> WOAdaptor=WODefaultAdaptor

[2012-12-25 10:14:44 PST] <main> WOSessionTimeOut=3600

[2012-12-25 10:14:44 PST] <main> WORoot=C:\Apple

[2012-12-25 10:14:44 PST] <main> WOMaxSocketIdleTime=180000

[2012-12-25 10:14:44 PST] <main> WODefaultUndoStackLimit=10

[2012-12-25 10:14:44 PST] <main> WOAutoOpenClientApplication=true

[2012-12-25 10:14:44 PST] <main> WOAutoOpenInBrowser=true

[2012-12-25 10:14:44 PST] <main> WOApplicationBaseURL=/WebObjects

[2012-12-25 10:14:44 PST] <main> WOMaxHeaders=200

[2012-12-25 10:14:44 PST] <main> WOLifebeatEnabled=true

[2012-12-25 10:14:44 PST] <main> WOAllowsCacheControlHeader=true

[2012-12-25 10:14:44 PST] <main> WOSMTPHost=smtp

[2012-12-25 10:14:44 PST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks

[2012-12-25 10:14:44 PST] <main> WOStatisticsStoreSessionMax=50

[2012-12-25 10:14:44 PST] <main> WOAdditionalAdaptors=()

[2012-12-25 10:14:44 PST] <main> WOLifebeatDestinationPort=1085

[2012-12-25 10:14:44 PST] <main> WOPort=-1

[2012-12-25 10:14:44 PST] <main> WOLifebeatInterval=30

[2012-12-25 10:14:44 PST] <main> WOSocketCacheSize=100

[2012-12-25 10:14:44 PST] <main> WOUserDirectory=C:\Juno\SecondTest\build\SecondTest.woa

[2012-12-25 10:14:44 PST] <main> WODisplayExceptionPages=true

[2012-12-25 10:14:44 PST] <main> ------------------------

[2012-12-25 10:14:44 PST] <main> WebObjects version = 5.4.3

[2012-12-25 10:14:44 PST] <main> Created adaptor of class WODefaultAdaptor on port 51071 and address validation.sls.microsoft.com/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256

[2012-12-25 10:14:44 PST] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle.  Ignoring optional configuration file.

[2012-12-25 10:14:46 PST] <main> A fatal exception occurred: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;

[2012-12-25 10:14:46 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:12)

          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:9)

 

Please let me know where I am going wrong.

 

Thanks!!!

 

 

Regards

Mritunjay Kumar


Windows 7, Eclips indigo
  • timcu Level 1 Level 1 (25 points)

    The line you have highlighted in bold is just a warning and shows in my apps as well. It is not stopping application from running.

     

    NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle.  Ignoring optional configuration file.

     

    The next line is what is stopping application so you need to work out why NSArray.emptyArray() can not be found. It is probably a classpath issue.

     

    A fatal exception occurred: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;