Hi all,
From the raw install (almost, just changed onlineResource and URL tags in
services.xml file), I got the following when trying :
http://localhost:8080/geoserver/
2004-02-17 21:54:12 action: null
java.lang.NullPointerException
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:96)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
[cut]
A look at the tomcat console shows this :
org.geotools.validation.xml.ValidationException: An io error occured while
loading the plugin's
at org.geotools.validation.xml.XMLReader.loadPlugIns(XMLReader.java:349)
at
org.vfny.geoserver.global.GeoServerPlugIn.init(GeoServerPlugIn.java:122)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
[cut]
Caused by: java.io.IOException: Path specified does not have a valid file.
/var/www/webapps/geoserver/data/plugIns
I first thought that (reading the XMLReader.java code) the files from the
plugIns should be writable (canWrite()). There were not (the file owner is
not the servlet process owner). Turning write access didn't change the error
after reloading the application.
I believe the files just need to be readable (canRead(), XMLReader.java, line
341 -- geotools2 --)?
I then noticed that the directory name is plugIns while the real directory is
plugins. Searching in the java source tree, i found the following :
/src/org/vfny/geoserver/action/LoadXMLAction.java:136: File plugInDir =
new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/action/SaveXMLAction.java:90: File plugInDir
= new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/global/GeoServerPlugIn.java:118: File
plugInDir = new File(rootDir, "data/plugIns");
I changed the uppercase I into lowercase i, recompile geoserver, and it
worked! Forgot to say that under Linux cases matter 
didier
Thanks, havn't tested on linux yet 
should be fixed today, tomorrow morn.
David
Richard didier wrote:
Hi all,
From the raw install (almost, just changed onlineResource and URL tags in services.xml file), I got the following when trying : http://localhost:8080/geoserver/
2004-02-17 21:54:12 action: null
java.lang.NullPointerException
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:96)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
[cut]
A look at the tomcat console shows this :
org.geotools.validation.xml.ValidationException: An io error occured while loading the plugin's
at org.geotools.validation.xml.XMLReader.loadPlugIns(XMLReader.java:349)
at org.vfny.geoserver.global.GeoServerPlugIn.init(GeoServerPlugIn.java:122)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
[cut]
Caused by: java.io.IOException: Path specified does not have a valid file.
/var/www/webapps/geoserver/data/plugIns
I first thought that (reading the XMLReader.java code) the files from the plugIns should be writable (canWrite()). There were not (the file owner is not the servlet process owner). Turning write access didn't change the error after reloading the application.
I believe the files just need to be readable (canRead(), XMLReader.java, line 341 -- geotools2 --)?
I then noticed that the directory name is plugIns while the real directory is plugins. Searching in the java source tree, i found the following :
/src/org/vfny/geoserver/action/LoadXMLAction.java:136: File plugInDir = new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/action/SaveXMLAction.java:90: File plugInDir = new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/global/GeoServerPlugIn.java:118: File plugInDir = new File(rootDir, "data/plugIns");
I changed the uppercase I into lowercase i, recompile geoserver, and it worked! Forgot to say that under Linux cases matter 
didier
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Think i got it, please try it out for me (just update the misc directory on the developer cvs...)
David
David Zwiers wrote:
Thanks, havn't tested on linux yet 
should be fixed today, tomorrow morn.
David
Richard didier wrote:
Hi all,
From the raw install (almost, just changed onlineResource and URL tags in services.xml file), I got the following when trying : http://localhost:8080/geoserver/
2004-02-17 21:54:12 action: null
java.lang.NullPointerException
at org.vfny.geoserver.config.ConfigPlugIn.init(ConfigPlugIn.java:96)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
[cut]
A look at the tomcat console shows this :
org.geotools.validation.xml.ValidationException: An io error occured while loading the plugin's
at org.geotools.validation.xml.XMLReader.loadPlugIns(XMLReader.java:349)
at org.vfny.geoserver.global.GeoServerPlugIn.init(GeoServerPlugIn.java:122)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
[cut]
Caused by: java.io.IOException: Path specified does not have a valid file.
/var/www/webapps/geoserver/data/plugIns
I first thought that (reading the XMLReader.java code) the files from the plugIns should be writable (canWrite()). There were not (the file owner is not the servlet process owner). Turning write access didn't change the error after reloading the application.
I believe the files just need to be readable (canRead(), XMLReader.java, line 341 -- geotools2 --)?
I then noticed that the directory name is plugIns while the real directory is plugins. Searching in the java source tree, i found the following :
/src/org/vfny/geoserver/action/LoadXMLAction.java:136: File plugInDir = new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/action/SaveXMLAction.java:90: File plugInDir = new File(rootDir, "data/plugIns");
./src/org/vfny/geoserver/global/GeoServerPlugIn.java:118: File plugInDir = new File(rootDir, "data/plugIns");
I changed the uppercase I into lowercase i, recompile geoserver, and it worked! Forgot to say that under Linux cases matter 
didier
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel