Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Web-Admin 0.9.8b is available

Subject: perfsonar development work

List archive

Re: [pS-dev] Web-Admin 0.9.8b is available


Chronological Thread 
  • From: Prodromos Gerakios <>
  • To: Stijn Melis <>
  • Cc: "" <>, Szymon Trocha <>, Nicolas Simar <>
  • Subject: Re: [pS-dev] Web-Admin 0.9.8b is available
  • Date: Thu, 23 Oct 2008 16:11:52 +0300

Stijn Melis wrote:
Hi all,

A few bugfixes have been introduced in the new web-admin version 0.9.8b.
It is highly recommended if you are using 0.9.7b to change to 0.9.8b.

Best regards,
-Prodromos.

Hi Stijn,
Hi Podromos,

Do I have to change anything to my code when using 0.9.8b? I already
made the changes for 0.9.7b.
Definitely no.
I tried using the web admin, and it can't display the basic
configuration page. In the catalina.out file I get the following error:

Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired. Parser will use a default
ErrorHandler to print the first 10 errors. Please call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=156: Attribute "dependsOn" must be declared for
element type "Group".
Error: URI=null Line=186: Attribute "dependsOn" must be declared for
element type "Group".
Error: URI=null Line=193: Attribute "dependsOn" must be declared for
element type "Group".
Error: URI=null Line=200: Attribute "dependsOn" must be declared for
element type "Group".
Ok, it seems that the above error causes the DescendantIterator to fail.
Please try changing dependsOn as "implied" (not-required) in the DTD definition.

I checked the wizard.properties file, and all "dependsOn" attributes are
in a Group element. Do you have any idea what is causing this?
I think that the jdom parser fails and the data structures do not get populated. As a result you get this error.
------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties [
<!ELEMENT properties ( comment?, property* )>
<!ATTLIST properties version CDATA #FIXED "0.1">
<!ELEMENT comment (#PCDATA) >
<!ELEMENT property (entry,Comment,ProposedValue,Group+,AcceptedValue*) >
<!ELEMENT entry (#PCDATA) >
<!ATTLIST entry
key CDATA #REQUIRED
password (true|false) #IMPLIED
required (true|false) #IMPLIED >
<!ELEMENT Comment (#PCDATA) >
<!ELEMENT ProposedValue (#PCDATA) >
<!ELEMENT Group (#PCDATA) >
<!ATTLIST Group order CDATA #REQUIRED check (true|false) #IMPLIED <!ELEMENT AcceptedValue (#PCDATA) >
]>
Where is the definition of "dependsOn" ? :-) You should either delete dependsOn from
the element attributes or define it in the DTD.


I hope this helps,
-P.



Archive powered by MHonArc 2.6.16.

Top of Page