perfsonar-dev - Re: [pS-dev] Web-Admin 0.9.8b is available
Subject: perfsonar development work
List archive
- From: Stijn Melis <>
- To: Prodromos Gerakios <>
- Cc: "" <>, Szymon Trocha <>, Nicolas Simar <>
- Subject: Re: [pS-dev] Web-Admin 0.9.8b is available
- Date: Thu, 23 Oct 2008 14:49:02 +0200
> 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 Podromos,
Do I have to change anything to my code when using 0.9.8b? I already
made the changes for 0.9.7b.
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".
java.lang.NullPointerException
at
perfSONARWebAdmin.auxiliary.wizard.DescendantIterator.hasNext(DescendantIterator.java:133)
at
perfSONARWebAdmin.auxiliary.wizard.WizardProperties.populateProperties(WizardProperties.java:330)
at
perfSONARWebAdmin.auxiliary.wizard.WizardProperties.loadFromXML(WizardProperties.java:188)
at perfSONARWebAdmin.admin.wizard.Wizard.init(Wizard.java:96)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
The webadmin itself says the following:
javax.servlet.ServletException: Error loading critical properties!
null
perfSONARWebAdmin.admin.wizard.Wizard.init(Wizard.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
I checked the wizard.properties file, and all "dependsOn" attributes are
in a Group element. Do you have any idea what is causing this?
Thanks,
Stijn
<?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) > ]> <properties> <comment>Last Modification Thu Mar 06 19:53:22 CET 2008</comment> <property> <entry key="servlet.username" required="true">perfsonaruser</entry> <Comment>Enter the username for logging in to the admin pages:</Comment> <ProposedValue>perfsonaruser</ProposedValue> <Group order="1" check="false">Administration</Group> </property> <property> <entry key="servlet.password" required="true" password="true">perfsonarpass</entry> <Comment>Enter the password for logging in to the admin pages:</Comment> <ProposedValue>perfsonarpass</ProposedValue> <Group order="2">Administration</Group> </property> <property> <entry key="service.as.authn_active" required="true">no</entry> <Comment>Do you wish to enable authentication?</Comment> <ProposedValue>yes</ProposedValue> <Group order="1" check="true">Authentication</Group> <AcceptedValue>yes</AcceptedValue> <AcceptedValue>no</AcceptedValue> </property> <property> <entry key="service.as.point" required="true">http://homer.rediris.es:8080/perfSONAR-AS/services/AuthService</entry> <Comment>Enter the URL address of the Authentication Service:</Comment> <ProposedValue>http://homer.rediris.es:8080/perfSONAR-AS/services/AuthService</ProposedValue> <Group order="2">Authentication</Group> </property> <property> <entry key="service.as.authn_for_msg_types" required="true">SetupDataRequest,MetadataKeyRequest</entry> <Comment>Enter the message types which should be authenticated:</Comment> <ProposedValue>SetupDataRequest,MetadataKeyRequest</ProposedValue> <Group order="3">Authentication</Group> </property> <property> <entry key="service.r.service_name" required="true">ps-mdm-sshtelnet-mp</entry> <Comment>Enter the service name:</Comment> <ProposedValue>ps-mdm-sshtelnet-mp</ProposedValue> <Group order="1">LS</Group> </property> <property> <entry key="service.r.service_description">perfSONAR Java SSH TELNET MP</entry> <Comment>Enter a description for the service:</Comment> <ProposedValue>perfSONAR Java SSH TELNET MP</ProposedValue> <Group order="2">LS</Group> </property> <property> <entry key="service.r.contact_email">user@domain</entry> <Comment>Enter the service administrator's email address:</Comment> <ProposedValue>user@domain</ProposedValue> <Group order="3">LS</Group> </property> <property> <entry key="service.r.organization_name">Institution</entry> <Comment>Enter the name of the organisation running this service:</Comment> <ProposedValue>Institution</ProposedValue> <Group order="4">LS</Group> </property> <property> <entry key="service.r.ls_url" required="true">http://somewhere</entry> <Comment>Enter the LS URL:</Comment> <ProposedValue>http://somewhere</ProposedValue> <Group order="5">LS</Group> </property> <property> <entry key="component.registrator.interval">900000</entry> <Comment>Set the registration interval (milliseconds):</Comment> <ProposedValue>900000</ProposedValue> <Group order="6">LS</Group> </property> <property> <entry key="service.r.access_point" required="true">http://somewhere</entry> <Comment>Enter the service access point:</Comment> <ProposedValue>http://somewhere</ProposedValue> <Group order="7">LS</Group> </property> <!-- <property> <entry key="service.ls.registration_file" required="true">/etc/ps-mdm-sshtelnet-mp/sshtelnetmetadata.xml</entry> <Comment>Enter the path to the metadata configuration file which needs to be uploaded to the LS:</Comment> <ProposedValue>/etc/ps-mdm-sshtelnet-mp/sshtelnetmetadata.xml</ProposedValue> <Group order="8">LS</Group> </property> --> <property> <entry key="component.mp.xmldb.db_uri" required="true">xmldb:exist://localhost:8080/exist/xmlrpc/db </entry> <Comment>Enter the URI location of the eXist database:</Comment> <ProposedValue>xmldb:exist://localhost:8080/exist/xmlrpc/db </ProposedValue> <Group order="1">eXist</Group> </property> <property> <entry key="component.mp.xmldb.db_username" required="true">sshtelnet</entry> <Comment>Enter the service username for the eXist user:</Comment> <ProposedValue>sshtelnet</ProposedValue> <Group order="2">eXist</Group> </property> <property> <entry key="component.mp.xmldb.db_password" required="true" password="true">sshtelnet</entry> <Comment>Enter the password for the eXist user:</Comment> <ProposedValue>sshtelnet</ProposedValue> <Group order="3">eXist</Group> </property> <property> <entry key="create_user" required="true">no</entry> <Comment>Do you wish to create a user with this name?</Comment> <ProposedValue>yes</ProposedValue> <Group order="4" check="true">eXist</Group> <AcceptedValue>yes</AcceptedValue> <AcceptedValue>no</AcceptedValue> </property> <property> <entry key="old_adminpassword_1" required="true" password="true" /> <Comment>Enter the eXist administration password:</Comment> <ProposedValue /> <Group order="5" dependsOn="4">eXist</Group> </property> <property> <entry key="component.mp.xmldb.metadata_file_name" required="true">sshtelnetmetadata.xml</entry> <Comment>Enter the name of the metadata configuration file:</Comment> <ProposedValue>sshtelnetmetadata.xml</ProposedValue> <Group order="6">eXist</Group> </property> <property> <entry key="component.mp.xmldb.metadata_file_path" required="true">/etc/ps-mdm-sshtelnet-mp/sshtelnetmetadata.xml</entry> <Comment>Enter the full path of the metadata configuration file:</Comment> <ProposedValue>/etc/ps-mdm-sshtelnet-mp/sshtelnetmetadata.xml</ProposedValue> <Group order="7">eXist</Group> </property> <property> <entry key="change_admin_pass" required="true">no</entry> <Comment>Do you wish to change the exist Admin password?</Comment> <ProposedValue>yes</ProposedValue> <Group order="8" check="true">eXist</Group> <AcceptedValue>yes</AcceptedValue> <AcceptedValue>no</AcceptedValue> </property> <property> <entry key="component.mp.xmldb.db_adminpassword" required="true" password="true" /> <Comment>Enter the eXist administration password:</Comment> <ProposedValue /> <Group order="9" dependsOn="8">eXist</Group> </property> <property> <entry key="component.ma.xmldb.db_adminpassword_confirm" required="true" password="true" /> <Comment>Confirm new eXist administration password:</Comment> <ProposedValue /> <Group order="90" dependsOn="8">eXist</Group> </property> <property> <entry key="old_adminpassword" required="true" password="true" /> <Comment>Enter the old eXist administration password:</Comment> <ProposedValue /> <Group order="99" dependsOn="8">eXist</Group> </property> </properties>
- Web-Admin 0.9.7b is available, Prodromos Gerakios, 10/21/2008
- Re: Web-Admin 0.9.7b is available, Nicolas Simar, 10/21/2008
- Re: [pS-dev] Re: Web-Admin 0.9.7b is available, Prodromos Gerakios, 10/21/2008
- Re: [pS-dev] Web-Admin 0.9.7b is available, Stijn Melis, 10/21/2008
- Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: Web-Admin 0.9.7b is available, Nicolas Simar, 10/21/2008
Archive powered by MHonArc 2.6.16.