• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FW: Cannot run WO from a servlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: FW: Cannot run WO from a servlet
      • From: Hsu <email@hidden>
  • Prev by Date: Re: jdbc-problem
  • Next by Date: Re: FW: Cannot run WO from a servlet
  • Previous by thread: Re: WOLongResponsePage -- An Alternative
  • Next by thread: Re: FW: Cannot run WO from a servlet
  • Index(es):
    • Date
    • Thread