FW: Cannot run WO from a servlet
FW: Cannot run WO from a servlet
- Subject: FW: Cannot run WO from a servlet
- From: "Edward A. Scanzano" <email@hidden>
- Date: Mon, 29 Sep 2003 05:52:57 -0700
- Organization: Silicon Dynamics
Hi all,
I got this error when I ran my sample2 application
http://localhost:7001/sample2/WebObjects/sample2.woa
I basically just created the project, build it, then deployed the
sample2.jar file into the tomcat webapps directory and restarted tomcat.
When tomcat started it said the following. When I execute the servlet, I get
a StringIndexOutOfBoundsException. I am working on a Windows XP box. Any
ideas?
Thanks
Ed
<sample2>[2003-09-28 15:00:03 PDT] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle.
Ignoring optional configuration file.
<sample2>[2003-09-28 15:00:04 PDT] <main> *** The application has found the
following opened, development-mode ProjectBu
ilderWO projects: (<com.webobjects.appserver._private.WOProjectBundle:
projectName='sample2'; bundlePath='C:\WO\sample2\
sample2.woa'; projectPath='C:\WO\sample2'>)
<sample2>[2003-09-28 15:00:04 PDT] <main> Application project found: Will
locate resources in 'C:\WO\sample2' rather tha
n 'C:\WO\sample2\sample2.woa' .
Welcome to sample2 !
<sample2>[2003-09-28 15:00:04 PDT] <main> <WOApplication>.primeApplication:
Application class is not in a package. This
could cause problems with some appservers.
<sample2>[2003-09-28 15:00:04 PDT] <main> <WOApplication>.primeApplication:
The Application name is sample2
<sample2>[2003-09-28 15:00:04 PDT] <main> The URL for webserver connect
through Servlet Container is:
http://CORIOLIS2/sample2/WebObjects/sample2.woa
<sample2>[2003-09-28 15:00:04 PDT] <main> Waiting for requests...
com.webobjects.foundation.NSForwardException for
java.lang.StringIndexOutOfBoundsException: String index out of range: 16
at java.lang.String.charAt(String.java:460)
at
com.webobjects.appserver._CookieParser._parse(_CookieParser.java:87)
at
com.webobjects.appserver._CookieParser.parse(_CookieParser.java:173)
at
com.webobjects.appserver.WORequest._cookieDictionary(WORequest.java:1024)
at
com.webobjects.appserver.WORequest.cookieValues(WORequest.java:1082)
at
com.webobjects.appserver.WORequest.cookieValueForKey(WORequest.java:1061)
at
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie(WORequest
.java:1606)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.