• 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
WO Example does not run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO Example does not run


  • Subject: WO Example does not run
  • From: Blue Moon <email@hidden>
  • Date: Fri, 30 Sep 2005 11:39:56 +0200

Hi there,

I'm trying to run the JCDiscussionBoard example JavaClient application which can be found in /Developer/Examples/JavaWebObjects, but the app raises an exception when starting up:

apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.IllegalStateException: Server exception: The string "--" is not permitted within comments.
java.lang.IllegalStateException: Server exception: The string "--" is not permitted within comments.
at com.webobjects.eodistribution.client.EODistributedObjectStore._checkRetu rnValuesForExceptions(EODistributedObjectStore.java:569)
at com.webobjects.eodistribution.client.EODistributedObjectStore.invokeStat elessRemoteMethodWithKeyPath(EODistributedObjectStore.java:1102)
at com.webobjects.eogeneration.client._EORemoteXMLProvider._provideXMLs (_EORemoteXMLProvider.java:30)
at com.webobjects.eogeneration.EOControllerFactory._concreteEvaluateMultipl eRules(EOControllerFactory.java:398)
at com.webobjects.eogeneration.EOControllerFactory._evaluateMultipleRules (EOControllerFactory.java:499)
at com.webobjects.eogeneration.EOControllerFactory._concreteGenerateSpecifi cationsAndActions(EOControllerFactory.java:564)
at com.webobjects.eogeneration.EOControllerFactory._defaultSpecifications (EOControllerFactory.java:630)
at com.webobjects.eogeneration.EOControllerFactory._activateDefaultControll ers(EOControllerFactory.java:775)
at com.webobjects.eogeneration.EOControllerFactory.activateDefaultControlle rs(EOControllerFactory.java:792)
at com.webobjects.eogeneration.EODynamicApplication.finishInitialization (EODynamicApplication.java:107)
at com.webobjects.eoapplication.EOApplication$1.run (EOApplication.java:512)
at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java: 100)


I thought the app might be receiving invalid XML from the server, so I ran tcpflow to see what was being exchanged. The tcp dump seems to imply that the server is notifying the client of a server side exception:

192.168.001.020.49954-192.168.001.020.50193: .........................,c om.webobjects.foundation.NSForwardException.........1The string "--" is not permitted within comments.

I noticed that the original source files of the example app did include "--" inside comments, so I removed all comments, but that did not help either.

Does anyone have a clue?

Thanks,

Rudi Angela
_______________________________________________
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: WO Example does not run
      • From: Robert Walker <email@hidden>
  • Prev by Date: Deployment rather than development mode
  • Next by Date: Notification when WOApp is stopped from Monitor?
  • Previous by thread: Re: What are wod bindings like "height = ^height; " '^' ?
  • Next by thread: Re: WO Example does not run
  • Index(es):
    • Date
    • Thread