dev@glassfish.java.net

Re: HA/in-memory replication

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 13 Apr 2007 11:45:50 -0700

Jan Luehe wrote On 04/11/07 05:40 PM,:

> ....
>
>> changing ha to replicated gives this error when running ant all-app.
>> this is odd..
>>
>>
>> verify_common:
>> [echo] Verifying Process for ./build/assemble/ear/clusterjsp.ear
>> [exec] SEVERE: "DPL8015: Invalid Deployment Descriptors in
>> Deployment descriptor file WEB-INF/sun-web.xml in archive
>> [clusterjsp.war].
>> [exec] Line 11 Column 52 -- *Attribute "persistence-type" with
>> value "replicated" must have a value from the list "memory file
>> custom ha s1ws60 mmap "."*
>> [exec] SEVERE: "DPL8005: Deployment Descriptor parsing failure
>> : Attribute "persistence-type" with value "replicated" must have a
>> value from the list "memory file custom ha s1ws60 mmap "."
>> [exec] INFO:
>> [exec] # of Failures : 0
>> [exec] # of Warnings : 0
>> [exec] # of Errors : 2
>> [exec] INFO: Look in file "clusterjsp.ear.txt" for detailed
>> results.
>> [exec] Result: 2
>
>
>
> You need to upgrade clusterjsp's sun-web.xml to conform to
> sun-web-app_2_5-0.dtd,
> which is where we added "replicated" to the list of valid
> persistence-type
> values,


Clarification: In order to address

  https://glassfish.dev.java.net/issues/show_bug.cgi?id=1479
  ("Need to relax DTD governing sun-web.xml to accommodate pluggable session
  persistence providers"),

we had changed the type of the "persistence-attribute" from
"persistence-type", which was defined as an enumeration of valid
persistence-type values, to CDATA in sun-web-app_2_5-0.dtd.

A corresponding change had been made to the persistence-type definiton
in the DTD governing domain.xml.


Jan