Re: WO Example does not run
Re: WO Example does not run
- Subject: Re: WO Example does not run
- From: Blue Moon <email@hidden>
- Date: Sat, 1 Oct 2005 10:44:13 +0200
I found the problem. I had removed the comments from the example
application, but I had not noticed that this application makes use of
a framework (JCAuthentication), which also contained 'invalid
comments' in the XML components. After fixing this the example app
runs normally.
Rudi Angela
On Sep 30, 2005, at 11:39 AM, Blue Moon wrote:
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._checkRe
turnValuesForExceptions(EODistributedObjectStore.java:569)
at
com.webobjects.eodistribution.client.EODistributedObjectStore.invokeSt
atelessRemoteMethodWithKeyPath(EODistributedObjectStore.java:1102)
at
com.webobjects.eogeneration.client._EORemoteXMLProvider._provideXMLs
(_EORemoteXMLProvider.java:30)
at
com.webobjects.eogeneration.EOControllerFactory._concreteEvaluateMulti
pleRules(EOControllerFactory.java:398)
at
com.webobjects.eogeneration.EOControllerFactory._evaluateMultipleRules
(EOControllerFactory.java:499)
at
com.webobjects.eogeneration.EOControllerFactory._concreteGenerateSpeci
ficationsAndActions(EOControllerFactory.java:564)
at
com.webobjects.eogeneration.EOControllerFactory._defaultSpecifications
(EOControllerFactory.java:630)
at
com.webobjects.eogeneration.EOControllerFactory._activateDefaultContro
llers(EOControllerFactory.java:775)
at
com.webobjects.eogeneration.EOControllerFactory.activateDefaultControl
lers(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: .........................
,com.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:
40tiscali.nl
This email sent to email@hidden
_______________________________________________
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