• 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
Re: FW: Cannot run WO from a servlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: Cannot run WO from a servlet


  • Subject: Re: FW: Cannot run WO from a servlet
  • From: Hsu <email@hidden>
  • Date: Mon, 29 Sep 2003 09:29:48 -0700

What's the sample appliction doing? The stack trace is from cookie handling somewhere - try dumping the headers of the request to take a look at the cookies, or take a look at WOApplication.handleMalformedCookieString.

Karl

On Monday, September 29, 2003, at 05:52  AM, Edward A. Scanzano wrote:

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:102 4)
at
com.webobjects.appserver.WORequest.cookieValues(WORequest.java:1082)
at
com.webobjects.appserver.WORequest.cookieValueForKey(WORequest.java:106 1)
at
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie(WORe quest
.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.



--

All that glitters has a high refractive index.

Homepage:
     http://homepage.mac.com/khsu/index.html
_______________________________________________
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.

References: 
 >FW: Cannot run WO from a servlet (From: "Edward A. Scanzano" <email@hidden>)

  • Prev by Date: FW: Cannot run WO from a servlet
  • Next by Date: Re: CSS calling background images in a web application
  • Previous by thread: FW: Cannot run WO from a servlet
  • Next by thread: Error making an EJB Framework
  • Index(es):
    • Date
    • Thread