You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the standalone version to explore the features of ncWMS and learn how to use it, but unfortunately I can't seem to be able to get it to work.
I run the jar in the command line and it starts with a warning about the cache configuration. Attempting to access http://localhost:8080/ or http://localhost:8080/ncWMS2/admin/ results in an Error 404. Using the -Xmx setting to allow more memory doesn't have any effect.
I suspected that I was expected to configure the application before anything would show up, but the configuration file is not generated.
Status Code: 404
Exception: Request URL /ncWMS2/admin/ not found.
Stacktrace:
Generated by Winstone Servlet Engine v0.9.10 at Wed Apr 29 12:50:27 AEST 2020
Logs:
C:\Users\Laura\ncWMS>java -jar ncWMS2-standalone.jar
[Winstone 2020/04/29 12:43:16] - Beginning extraction from war file
log4j:WARN File option not set for appender [file].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
2020-04-29 12:43:17 WARN CacheConfiguration:1942 - You've assigned over 80% of your VM's heap to be used by the cache!
2020-04-29 12:43:17 WARN CacheConfiguration:1942 - You've assigned over 80% of your VM's heap to be used by the cache!
[Winstone 2020/04/29 12:43:17] - Error initializing web application: prefix []
net.sf.ehcache.config.InvalidConfigurationException: There is one error in your configuration:
* CacheManager configuration: You've assigned more memory to the on-heap than the VM can sustain, please adjust your -Xmx setting accordingly
at net.sf.ehcache.config.CacheConfiguration.setupFor(CacheConfiguration.java:1694)
at net.sf.ehcache.config.CacheConfiguration.setupFor(CacheConfiguration.java:1678)
at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1328)
at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1399)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1275)
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1244)
at uk.ac.rdg.resc.edal.catalogue.DataCatalogue.<init>(DataCatalogue.java:188)
at uk.ac.rdg.resc.edal.ncwms.NcwmsCatalogue.<init>(NcwmsCatalogue.java:83)
at uk.ac.rdg.resc.edal.ncwms.NcwmsApplicationServlet.init(NcwmsApplicationServlet.java:297)
at winstone.ServletConfiguration.ensureInitialization(ServletConfiguration.java:183)
at winstone.WebAppConfiguration.<init>(WebAppConfiguration.java:918)
at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131)
at winstone.HostConfiguration.<init>(HostConfiguration.java:73)
at winstone.HostGroup.initHost(HostGroup.java:85)
at winstone.HostGroup.<init>(HostGroup.java:45)
at winstone.Launcher.<init>(Launcher.java:196)
at winstone.Launcher.main(Launcher.java:391)
[Winstone 2020/04/29 12:43:17] - AJP13 Listener started: port=8009
[Winstone 2020/04/29 12:43:17] - HTTP Listener started: port=8080
[Winstone 2020/04/29 12:43:17] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
[Winstone 2020/04/29 12:43:20] - Request URL / not found - doesn't match any webapp prefix
[Winstone 2020/04/29 12:48:07] - Request URL /ncWMS2/admin/ not found - doesn't match any webapp prefix
I am using the latest release. I run Windows 10 and my Java version is 1.8.0_241-b07.
Hoping somebody can provide some insight into what the issue is. Thank you.
The text was updated successfully, but these errors were encountered:
I'm using the standalone version to explore the features of ncWMS and learn how to use it, but unfortunately I can't seem to be able to get it to work.
I run the jar in the command line and it starts with a warning about the cache configuration. Attempting to access http://localhost:8080/ or http://localhost:8080/ncWMS2/admin/ results in an Error 404. Using the -Xmx setting to allow more memory doesn't have any effect.
I suspected that I was expected to configure the application before anything would show up, but the configuration file is not generated.
Contents of .ncWMS2 directory:
When attempting to access http://localhost:8080/:
When attempting to access http://localhost:8080/ncWMS2/admin/:
Logs:
I am using the latest release. I run Windows 10 and my Java version is 1.8.0_241-b07.
Hoping somebody can provide some insight into what the issue is. Thank you.
The text was updated successfully, but these errors were encountered: