Thanks Chuck! -DWOAllowRapidTurnaround certainly did the trick. now my app almost boots:
Welcome to DocumentServer! WOWSDDRegistrar.createServiceString() <?xml version="1.0" encoding="UTF-8"?> <service xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java=" http://xml.apache.org/axis/wsdd/providers/java" name="IntegracionTaaf" provider="Handler"> <parameter name="handlerClass" value="org.apache.axis.providers.java.RPCProvider"/> <parameter name="scope" value="Application"/> <parameter name="className" value="IntegracionTaaf"/> <parameter name="allowedMethods" value="*"/> </service> but after registering my web service it fails again miserably.... it looks awful the fact that it is trying to run a unix command on an .app file. I did find a WebServicesAssistant.exe file in my mac inside the WebServicesAssistant.app, but I didn't copy it to my windows setup, though (I wouldn't know where to put it). Any ideas? [2009-5-29 17:24:35 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-29 17:24:37 CEST] <main> A fatal exception occurred: java.io.IOException: CreateProcess: \usr\bin\open -a WebServicesAssistant.app C:\DOCUME~1\PROPIE~1\CONFIG~1\Temp\openWebServicesAssistantURL474779532249175739.tmp error=3 [2009-5-29 17:24:37 CEST] <main> com.webobjects.foundation.NSForwardException [java.io.IOException] CreateProcess: \usr\bin\open -a WebServicesAssistant.app C:\DOCUME~1\PROPIE~1\CONFIG~1\Temp\openWebServicesAssistantURL474779532249175739.tmp error=3:java.io.IOException: CreateProcess: \usr\bin\open -a WebServicesAssistant.app C:\DOCUME~1\PROPIE~1\CONFIG~1\Temp\openWebServicesAssistantURL474779532249175739.tmp error=3 at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:41) at com.webobjects._ideservices._WOLaunchServices._openInitialURL(_WOLaunchServices.java:160) at com.webobjects.appserver.WOApplication.run(WOApplication.java:1238) at com.webobjects.appserver.WOApplication.main(WOApplication.java:548) 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.io.IOException: CreateProcess: \usr\bin\open -a WebServicesAssistant.app C:\DOCUME~1\PROPIE~1\CONFIG~1\Temp\openWebServicesAssistantURL474779532249175739.tmp error=3 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at com.webobjects._ideservices._WOLaunchServices._openWebServicesAssistantUrl(_WOLaunchServices.java:122) at com.webobjects._ideservices._WOLaunchServices._openInitialURL(_WOLaunchServices.java:154) On Thu, May 28, 2009 at 9:18 PM, Chuck Hill <[email protected]>wrote: > 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 protected]) >> Help/Unsubscribe/Update your Subscription: >> >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to [email protected] >> >> > -- > 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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
