[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Element not allowed: execute in element on-load  XML
Forum Index -> Terracotta for Web Sessions
Author Message
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

i have configured a transient field with on-load event (based on http://www.terracotta.org/confluence/display/docs1/Configuration+Guide+and+Reference#ConfigurationGuideandReference-%2Ftc%3Atcconfig%2Fapplication%2Fdso%2Finstrumentedclasses).

however, the server will not start:
The configuration data in the file at 'D:\iBOLTPortal\jboss-4.0.5.GA\.\tc-config.xml' does not obey the Terracotta schema:
[0]: Line 46, column 7: Element not allowed: execute in element on-load
I have validated it and also got:
cvc-complex-type.2.4.d: Invalid content was found starting with element 'execute'. No child element is expected at this point.
line:46, column:16

<instrumented-classes>
<include>
<class-expression> com.magicsoftware.ibolt.portal.core.ENSessionContext
</class-expression>
<on-load>
<method>mCurrentUser</method>
<execute>
<![CDATA[self.setCurrentUser(self.mCurrentUserName);]]>
</execute>
</on-load>
</include>
[Email]
erezhara

master

Joined: 08/01/2007 02:36:19
Messages: 57
Offline

by bad..
confused method with field name..
so it's either method or execute..
[Email]
zeeiyer

consul

Joined: 05/24/2006 14:28:28
Messages: 493
Offline

Ok cool thanks..

Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community
 
Forum Index -> Terracotta for Web Sessions
Go to:   
Powered by JForum 2.1.7 © JForum Team