|
Hi.
First of all, congratulations for your work. Regading to the Nature SDI+ project, we are trying to install MDWeb. Our configuration is: - Windows XP - Tomcat 6.0 - Postgres 8.3 Following the steps of QuickStart pdf: 1.1: We have installed JAI 1.1.3, JAI Image-IO 1.1 2.2: We have copy PostgreSQL driver: Donwload http://www.mdweb-project.org/files/longterm/postgresql-8.4-701.jdbc4.jar and copy into: c:/program files/apache-tomcat/tomcat 6.0/lib/ 3. Install Postgres 8.3 adn postgis 4. Fist Launch: • Write the path to that directory on the Directory field. • Click on Configure the storage directory The problem is tahat it doesm't creat a "mdweb2" folder, it only creates an empty "default" folder. Looking into the Tomcat logs, we find: Caused by: java.lang.IllegalStateException: Component org.ajax4jsf.component.AjaxViewRoot@1af69d5 not expected type. Expected: javax.faces.component.UIPanel. Perhaps you're missing a tag? at com.sun.faces.taglib.html_basic.PanelGroupTag.setProperties(PanelGroupTag.java:96) at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:614) at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142) at com.sun.faces.taglib.html_basic.PanelGroupTag.doStartTag(PanelGroupTag.java:112) at org.apache.jsp.configuration.database_002dconfiguration.database_jsp._jspx_meth_h_005fpanelGroup_005f0(database_jsp.java:111) at org.apache.jsp.configuration.database_002dconfiguration.database_jsp._jspService(database_jsp.java:85) ... 43 more 27-jul-2010 14:29:49 org.mdweb.app.config.controller.ConfigController goToPickDbmsType ADVERTENCIA: Failed to save file. 27-jul-2010 14:29:51 org.mdweb.app.config.controller.ConfigController goToPickDbmsType ADVERTENCIA: Failed to save file. 27-jul-2010 14:29:52 org.mdweb.app.config.controller.ConfigController goToPickDbmsType ADVERTENCIA: Failed to save file. 27-jul-2010 14:29:56 org.mdweb.app.search.util.KeywordsUtils buildWordsArray ADVERTENCIA: Error cannot get the words from thesaurus. The thesaurus reader is null or is not started! 27-jul-2010 14:29:56 org.mdweb.platform.Platform getSearchAppWebMapContextRelativePathFromConfig INFO: MDweb failed to find the Search Application WebMapContext.xml on path: C:\Documents and Settings\postgres/Application Data\mdweb/default/app-search/WebMapContext.xml 27-jul-2010 14:29:56 org.mdweb.platform.Platform getSearchAppWebMapContextRelativePathFromConfig INFO: MDweb failed to find the Search Application WebMapContext.xml on path: C:\Documents and Settings\postgres/Application Data\mdweb/default/app-search/WebMapContext.xml 27-jul-2010 14:29:56 org.mapfaces.utils.OWCv030toMFTransformer visit INFO: [org.mapfaces.utils.OWCv030toMFTransformer] BoundingBoxType : CRS=CRS:84 Lower corner=[-180.0, -90.0] upper corner=[180.0, 90.0] dimension=null 27-jul-2010 14:29:56 org.geotoolkit.wms.WebMapServer$1 run ADVERTENCIA: Wrong URL, the server doesn't answer : http://www2.demis.nl/WMS/wms.asp?wms=WorldMap&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities javax.xml.bind.UnmarshalException - with linked exception: [java.net.UnknownHostException: www2.demis.nl] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:213) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at org.geotoolkit.wms.xml.WMSBindingUtilities.unmarshall(WMSBindingUtilities.java:92) at org.geotoolkit.wms.xml.WMSBindingUtilities.unmarshall(WMSBindingUtilities.java:74) at org.geotoolkit.wms.WebMapServer$1.run(WebMapServer.java:127) Caused by: java.net.UnknownHostException: www2.demis.nl at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) ... 7 more 27-jul-2010 14:29:56 org.geotoolkit.wms.WebMapServer$1 run ADVERTENCIA: Wrong URL, the server doesn't answer : http://demo.geomatys.com/constellation/WS/wms?VERSION=1.3.0&SERVICE=WMS&REQUEST=GetCapabilities javax.xml.bind.UnmarshalException - with linked exception: [java.net.UnknownHostException: demo.geomatys.com] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:213) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source) at org.geotoolkit.wms.xml.WMSBindingUtilities.unmarshall(WMSBindingUtilities.java:92) at org.geotoolkit.wms.xml.WMSBindingUtilities.unmarshall(WMSBindingUtilities.java:74) at org.geotoolkit.wms.WebMapServer$1.run(WebMapServer.java:127) Caused by: java.net.UnknownHostException: demo.geomatys.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) ... 7 more 27-jul-2010 14:30:03 org.mdweb.app.config.controller.ConfigController goToPickDbmsType ADVERTENCIA: Failed to save file. 27-jul-2010 14:30:05 org.mdweb.app.config.controller.ConfigController goToPickDbmsType ADVERTENCIA: Failed to save file. Thanks in advance. |
|
Dear Juan Luis,
After we realized some test, it seems the bug is due to a problem of read and write permissions between tomcat and windows. If you start Apache (and tomcat) from the apache monitor (the icon at the right corner) the user starting Tomcat is SYSTEM and SYSTEM doesn't seem to have write and read permissions on the directories. If you start manually tomcat using the catalina.bat, starting.bat or the tomcat6.exe (depending the Tomcat installation), the user is the local user and he has rights on directories and you should be able to finish the MDwed installlation. Please, tell me if the problem still occurs Best Regards, Dorian PS : with tomcat the created directory is a directory named "default". IRD Unité ESPACE-DEV
|
|
The apache6.exe, catalina.bat, starting.bat are located in the /bin directory of Tomcat.
IRD Unité ESPACE-DEV
|
|
Thanks Dorian
We have to run the file "tomcat6.exe" instead of launching Tomcat as a service, but we can install it. Thank you |
| Powered by Nabble | See how NAML generates this page |
