Re: WOResourceManager exception under Windows
Re: WOResourceManager exception under Windows
- Subject: Re: WOResourceManager exception under Windows
- From: Chuck Hill <email@hidden>
- Date: Thu, 28 May 2009 12:18:59 -0700
Does the path to the app have a space in it?
Is is the current working directory the .woa directory?
Try adding "-DWOAllowRapidTurnaround=false" to the command line.
Chuck
On May 28, 2009, at 10:31 AM, Javier Solorzano wrote:
I'm trying to run an old XCode generated WO app under windows through
the command line. After the app boots I get the following exception:
<main> <WOResourceManager> Unable to initialize AppProjectBundle for
reason:java.lang.StringIndexOutOfBoundsException: String index out of
range: 13
I can't figure out what's going on. Any help would be appreciated. The
full error log is attached.
Cheers,
JS
[2009-5-28 19:12:42 CEST] <main> Initialized : er.ajax.Ajax
[2009-5-28 19:12:42 CEST] <main> WOMaxIOBufferSize=8196
[2009-5-28 19:12:42 CEST] <main> WOWorkerThreadCountMin=16
[2009-5-28 19:12:42 CEST] <main> WOSocketMonitorSleepTime=50
[2009-5-28 19:12:42 CEST] <main> WODirectConnectEnabled=true
[2009-5-28 19:12:42 CEST] <main> WOIncludeCommentsInResponse=true
[2009-5-28 19:12:42 CEST] <main> WOWorkerThreadCount=8
[2009-5-28 19:12:42 CEST] <main>
WOAdaptorURL=http://localhost/cgi-bin/WebObjects
[2009-5-28 19:12:42 CEST] <main> WOLaunchdEnabled=false
[2009-5-28 19:12:42 CEST] <main> WOPlatform=Windows
[2009-5-28 19:12:42 CEST] <main> WODebuggingEnabled=true
[2009-5-28 19:12:42 CEST] <main> WOListenQueueSize=128
[2009-5-28 19:12:42 CEST] <main> WOMissingResourceSearchEnabled=true
[2009-5-28 19:12:42 CEST] <main>
WOSessionStoreClassName=WOServerSessionStore
[2009-5-28 19:12:42 CEST] <main> WOContextClassName=WOContext
[2009-5-28 19:12:42 CEST] <main> WOCachingEnabled=false
[2009-5-28 19:12:42 CEST] <main> WOApplicationClass=Application
[2009-5-28 19:12:42 CEST] <main> WOAcceptMalformedCookies=false
[2009-5-28 19:12:42 CEST] <main> NSProjectSearchPath=("..")
[2009-5-28 19:12:42 CEST] <main> WOMonitorEnabled=false
[2009-5-28 19:12:42 CEST] <main> WOAllowRapidTurnaround=true
[2009-5-28 19:12:42 CEST] <main> WORootDirectory=C:/Apple
[2009-5-28 19:12:42 CEST] <main> WOLocalRootDirectory=C:/Apple/Local
[2009-5-28 19:12:42 CEST] <main> WOGenerateWSDL=true
[2009-5-28 19:12:42 CEST] <main> WOWorkerThreadCountMax=256
[2009-5-28 19:12:42 CEST] <main>
WOAllowsConcurrentRequestHandling=false
[2009-5-28 19:12:42 CEST] <main> WOAdaptor=WOClassicAdaptor
[2009-5-28 19:12:42 CEST] <main> WOSessionTimeOut=3600
[2009-5-28 19:12:42 CEST] <main> WOMaxSocketIdleTime=180000
[2009-5-28 19:12:42 CEST] <main> WODefaultUndoStackLimit=10
[2009-5-28 19:12:42 CEST] <main> WOAutoOpenClientApplication=true
[2009-5-28 19:12:42 CEST] <main> WOAutoOpenInBrowser=true
[2009-5-28 19:12:42 CEST] <main> WOApplicationBaseURL=/WebObjects
[2009-5-28 19:12:42 CEST] <main> WOMaxHeaders=200
[2009-5-28 19:12:42 CEST] <main> WOLifebeatEnabled=false
[2009-5-28 19:12:42 CEST] <main> WOAllowsCacheControlHeader=true
[2009-5-28 19:12:42 CEST] <main> WOSMTPHost=smtp
[2009-5-28 19:12:42 CEST] <main> WOFrameworksBaseURL=/WebObjects/
Frameworks
[2009-5-28 19:12:42 CEST] <main> WOStatisticsStoreSessionMax=50
[2009-5-28 19:12:42 CEST] <main> WOAdditionalAdaptors=()
[2009-5-28 19:12:42 CEST] <main> WOLifebeatDestinationPort=1085
[2009-5-28 19:12:42 CEST] <main> WOPort=55555
[2009-5-28 19:12:42 CEST] <main> WOLifebeatInterval=30
[2009-5-28 19:12:42 CEST] <main> WOSocketCacheSize=100
[2009-5-28 19:12:42 CEST] <main> WOUserDirectory=C:/DOCUME~1.WOA
[2009-5-28 19:12:42 CEST] <main> WODisplayExceptionPages=true
[2009-5-28 19:12:42 CEST] <main> ------------------------
[2009-5-28 19:12:42 CEST] <main> WebObjects version = 5.4.2
[2009-5-28 19:12:42 CEST] <main> Created adaptor of class
WOClassicAdaptor on port 55555 and address javiersolrz6488/10.211.55.4
with WOWorkerThread minimum of 16 and maximum of 256
[2009-5-28 19:12:42 CEST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2009-5-28 19:12:43 CEST] <main> <WOResourceManager> Unable to
initialize AppProjectBundle for
reason:java.lang.StringIndexOutOfBoundsException: String index out of
range: 13
[2009-5-28 19:12:43 CEST] <main>
java.lang.StringIndexOutOfBoundsException: String index out of range:
13
at java.lang.String.substring(Unknown Source)
at
com
.webobjects
._ideservices._WOAntProject.antProjectAtPath(_WOAntProject.java:62)
at
com
.webobjects._ideservices._WOProject.ideProjectAtPath(_WOProject.java:
100)
at
com
.webobjects
.appserver
._private.WOProjectBundle._isProjectBundlePath(WOProjectBundle.java:
225)
at
com
.webobjects
.appserver
._private.WOProjectBundle._projectsInDirectory(WOProjectBundle.java:
283)
at
com
.webobjects
.appserver
._private.WOProjectBundle._WOAllProjects(WOProjectBundle.java:449)
at
com
.webobjects
.appserver
._private
.WOProjectBundle.projectBundleForProject(WOProjectBundle.java:483)
at
com
.webobjects
.appserver
._private.WODeployedBundle.projectBundle(WODeployedBundle.java:720)
at
com
.webobjects
.appserver.WOResourceManager._initAppBundle(WOResourceManager.java:
141)
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:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
547)
at Application.main(Application.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
[2009-5-28 19:12:43 CEST] <main> <WOApplication>: Cannot be
initialized.String index out of range: 13
[2009-5-28 19:12:43 CEST] <main> A fatal exception occurred:
<WOApplication>: Cannot be initialized.
[2009-5-28 19:12:43 CEST] <main>
com.webobjects.foundation.NSForwardException
[java.lang.StringIndexOutOfBoundsException] String index out of range:
13:<WOApplication>: Cannot be initialized.
at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:
918)
at Application.<init>(Application.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:
547)
at Application.main(Application.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of range: 13
at java.lang.String.substring(Unknown Source)
at
com
.webobjects
._ideservices._WOAntProject.antProjectAtPath(_WOAntProject.java:62)
at
com
.webobjects._ideservices._WOProject.ideProjectAtPath(_WOProject.java:
100)
at
com
.webobjects
.appserver
._private.WOProjectBundle._isProjectBundlePath(WOProjectBundle.java:
225)
at
com
.webobjects
.appserver
._private.WOProjectBundle._projectsInDirectory(WOProjectBundle.java:
283)
at
com
.webobjects
.appserver
._private.WOProjectBundle._WOAllProjects(WOProjectBundle.java:449)
at
com
.webobjects
.appserver
._private
.WOProjectBundle.projectBundleForProject(WOProjectBundle.java:483)
at
com
.webobjects
.appserver
._private.WODeployedBundle.projectBundle(WODeployedBundle.java:720)
at
com
.webobjects
.appserver.WOResourceManager._initAppBundle(WOResourceManager.java:
141)
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)
... 14 more
_______________________________________________
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
Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/
_______________________________________________
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