• 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: now trying to deploy, get an immediate error, probably a missing resource(s)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: now trying to deploy, get an immediate error, probably a missing resource(s)?


  • Subject: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 3 Nov 2009 13:48:45 -0800

Line 10 by my count:

	<webobject name=LoginForm>

I see no quotes...


On Nov 3, 2009, at 1:15 PM, Baiss Eric Magnusson wrote:

Note: by casting the exception to WOMLTemplateParserException I was able to call <getStackTrace()>,
I'm receiving the Exception in the overridden Application.handleException(...)


com .webobjects .appserver.parser.woml.WOMLTemplateParser.process(java.lang.String, java.lang.String, java.lang.String) line: 347
com.webobjects.appserver.parser.woml.WOMLTemplateParser.parse() line: 653
com.webobjects.appserver.parser.WOHTMLTemplateParser.parse() line: 40
com .webobjects .appserver .parser .WOComponentTemplateParser .templateWithHTMLAndDeclaration(java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.webobjects.foundation.NSArray<java.lang.String>, com.webobjects.appserver.WOAssociationFactory, com.webobjects.appserver.parser.woml.WOMLNamespaceProvider) line: 438
com.webobjects.appserver._private.WOComponentDefinition.template() line: 364
Components.Main(com.webobjects.appserver.WOComponent).template() line: 499
Components .Main (com .webobjects .appserver .WOComponent).appendToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 1112
Components .Main (Components .SecureComponent ).appendToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 16


Components .Main (Components .MainSuper).appendToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 186

Components .Main (com .webobjects .appserver .WOComponent )._appendPageToResponse(com.webobjects.appserver.WOResponse, com.webobjects.appserver.WOContext) line: 1574
Components .Main (com .webobjects .appserver .WOComponent )._generateResponseInContext(com.webobjects.appserver.WOContext) line: 1543
Components .Main(com.webobjects.appserver.WOComponent).generateResponse() line: 1538
com .webobjects .appserver ._private .WODirectActionRequestHandler (com .webobjects .appserver ._private .WOActionRequestHandler )._handleRequest(com.webobjects.appserver.WORequest) line: 278
com .webobjects .appserver ._private .WODirectActionRequestHandler (com .webobjects .appserver ._private .WOActionRequestHandler ).handleRequest(com.webobjects.appserver.WORequest) line: 158
tyf .app .Application (com .webobjects .appserver .WOApplication).dispatchRequest(com.webobjects.appserver.WORequest) line: 1687
com.webobjects.appserver._private.WOWorkerThread.runOnce() line: 144
com.webobjects.appserver._private.WOWorkerThread.run() line: 226
java.lang.Thread.run() line: 637
********************************
WOMLDefaultErrorHandler.fatalError(org.xml.sax.SAXParseException: Open quote is expected for attribute "name" associated with an element type "webobject".)
<com.webobjects.appserver._private.WODirectActionRequestHandler>: Exception while handling action named "default" on action class "null " :com.webobjects.appserver.parser.woml.WOMLTemplateParserException: Main: 10:18: Open quote is expected for attribute "name" associated with an element type "webobject".
********************************


The below a <toString> dump from the WOResponse & WOContext objects passed to <appendToResponse> call in the above stack. The default() DirectAction method is calling the WOComponent Main.

<com.webobjects.appserver.WOResponse (<com.webobjects.appserver.WOResponse httpVersion=HTTP/1.1 headers={content-type=[text/html]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) status=200>

<com.webobjects.appserver.WOContext contextID=0 requestSenderID=null elementID= sessionID=0GTutI2QhYzi0iDwunbxNg request=<com.webobjects.appserver.WORequest (<com.webobjects.appserver.WORequest httpVersion=HTTP/1.1 headers={accept=[application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept- encoding=[gzip, deflate], accept-language=[en-us], connection=[close], document_root=[/Library/WebServer/Documents], host=[baissyi.local], remote_addr=[fe80::225:4bff:fec5:ee94], remote_host=[fe80::225:4bff:fec5:ee94], remote_port=[49386], script_filename=[/cgi-bin], server_admin=[email@hidden], server_name=[localhost], server_port=[0], server_software=[Apache/ 2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2], user- agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9], x- webobjects-adaptor-version=[Apache], x-webobjects-request- id=[4aefa2e70000001c00000006], x-webobjects-request-method=[GET]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) method=GET uri=/cgi-bin/WebObjects/ tyf.woa/-5555 defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={} > response=null pageElement=<Components.Main name: Components.Main subcomponents: null > pageComponent=<Components.Main name: Components.Main subcomponents: null > currentComponent=<Components.Main name: Components.Main subcomponents: null > url=/cgi-bin/WebObjects/tyf.woa/-5555 urlApplicationNumber=-5555 distributionEnabled=false pageChanged=true pageReplaced=false>
********************************


theTemplateString - I think this is what the parser is looking at from the report of Main 11:18 being the place of failure...
this WOMLTemplateParser (id=48)
_associationFactory WOAssociationFactoryRegistry (id=69)
_declarationString "" (id=72)
_HTMLString "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\n "http://www.w3.org/TR/html4/loose.dtd";>\n \n<html>\n\t<head>\n\t\t<link href="/tyf/styleSheet/tyf_base.css" rel="stylesheet" type="text/css" />\n\t\t<title>Track-Your-Finances</ title>\n\t\t\t\t<meta name="generator" content="WebObjects 5.2" />\n \t\t<meta name="viewport" content="width=320" />\n\t\t<webobject name="TimeZoneJS" />\n\t</head>\n<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onload="setpagefocus();">\n\t<webobject name=LoginForm>\n <script type="text/javascript">\n\t \tdocument.write('<input type="hidden" name="xClientTimeZoneOffset" value="' + clientTimeZoneOffset * 60 * -1 + '" />'); </script>\n \t<script type="text/javascript">\n\tfunction setpagefocus() {\n\t \tdocument.LoginForm.userNameFld.focus();\n\t\treturn true;\n\t} </ script>\n<table width="750" border="0" cellpadding="0" cellspacing="0" id="tableTop">\n <tr align="left" valign="top"> \n ...


On Nov 2, 2009, at 7:05 PM, Chuck Hill wrote:


On Nov 2, 2009, at 6:55 PM, Baiss Eric Magnusson wrote:

Now I'm back at the WOMLTemplateParserException and failing on the development machine!

At least you are having fun! :-P

detailMessage:
Open quote is expected for attribute "name" associated with an element type "webobject".

Do you have a stack trace for that? Are you using the WO 5.4 parser?
Yes, I think so. I'm using 5.4 for sure
I've never seen that message before. Either this is a "feature" of the 5.4 parser, or the wrong parsing class is getting loaded.

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects



---- Baiss Eric Magnusson http://www.CascadeWebDesign.com




-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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


  • Follow-Ups:
    • Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
      • From: Baiss Eric Magnusson <email@hidden>
References: 
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: EOModels occasionally loading too slowly?
  • Next by Date: Re: Gianduia and WO
  • Previous by thread: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by thread: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Index(es):
    • Date
    • Thread