Maybe not related with this, in Windows I get a java.nio.file.InvalidPathException for schema_plugins/iso19115-3/schema/others/gco/gco.xsd file when I run maven jetty:run
2014-11-24 13:24:48,421 INFO [jeeves.apphand] - - Schema plugins directory: C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schema_plugins
2014-11-24 13:24:48,426 INFO [jeeves.apphand] - - Schema Catalog File : C:\Users\JuanLuis\Documents\Projects\workspace-web-editor\metadata-editor-views\web\src\main\webapp\WEB-INF\data\config\schemaplugin-uri-catalog.xml
java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Users/JuanLuis/Documents/Projects/workspace-web-editor/metadata-editor-views/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at org.fao.geonet.utils.IO.toPath(IO.java:233)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:719)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.loadFile(SchemaLoader.java:725)
at org.fao.geonet.kernel.schema.SchemaLoader.load(SchemaLoader.java:109)
at org.fao.geonet.kernel.SchemaManager.addSchema(SchemaManager.java:924)
at org.fao.geonet.kernel.SchemaManager.processSchema(SchemaManager.java:1271)
at org.fao.geonet.kernel.SchemaManager.configure(SchemaManager.java:185)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:256)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:453)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:179)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:83)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:519)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:331)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:742)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:280)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
2014-11-24 13:24:51.805:INFO:/geonetwork:Initializing Spring FrameworkServlet ‘spring’
2014-11-24 13:24:51,806 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion started
2014-11-24 13:24:55,079 INFO [jeeves.config.springutil.JeevesDispatcherServlet] - FrameworkServlet ‘spring’: initializa
tion completed in 3272 ms
2014-11-24 13:24:55.086:INFO:oejs.AbstractConnector:Started SocketConnector@anonymised.com:8080
2014-11-24 13:24:56.119:INFO:oejus.SslContextFactory:Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [
SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2014-11-24 13:24:56.150:INFO:oejs.AbstractConnector:Started SslSocketConnector@anonymised.com:8443
[INFO] Started Jetty Server
···
On Mon, Nov 24, 2014 at 12:57 PM, Jesse Eichar <jesse.eichar@anonymised.com.189…> wrote:
I have a couple things I need to look at first but I will try to get to this today or tomorrow Is that soon enough?
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
On Mon, Nov 24, 2014 at 11:05 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:
2014-11-24 11:04 GMT+01:00 Jesse Eichar <jesse.eichar@…189…>:
https://github.com/geonetwork/schema-plugins/tree/develop/iso19115-3
Where is that plugin defined?
Can I get it so I can test it?
Jesse
On Mon, Nov 24, 2014 at 11:00 AM, Francois Prunayre <fx.prunayre@anonymised.com…> wrote:
2014-11-24 10:59 GMT+01:00 Jesse Eichar <jesse.eichar@anonymised.com>:
Hi Francois,
There shouldn’t be any migration steps needed. Did you get this when starting the server? How did you run it?
Yep, starting with mvn jetty:run
Francois
Jesse
On Mon, Nov 24, 2014 at 10:11 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:
Hi, using develop branch and the iso19115-3 schema plugin, I have now
2014-11-24 10:09:34,916 INFO [jeeves.apphand] - - Schema Catalog File : /home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
java.nio.file.NoSuchFileException: file:/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:317)
at java.nio.file.Files.newByteChannel(Files.java:363)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:380)
at java.nio.file.Files.newInputStream(Files.java:108)
at org.fao.geonet.utils.Xml.loadFile(Xml.java:234)
Even if the file :/home/francois/dev/metawal-core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3/schema/others/gco/gco.xsd exists.
Is there any migration steps to be applied to schema plugin related to the NIO change ?
Thanks.
Francois
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork