[
https://issues.jboss.org/browse/WFLY-4325?page=com.atlassian.jira.plugin....
]
Tomaz Cerar commented on WFLY-4325:
-----------------------------------
The case with Paths.get(getClass().getResource()) looks more interesting, can you
reproduce this? that could be issue with VFS
Relative path error in context parameter on Windows
---------------------------------------------------
Key: WFLY-4325
URL:
https://issues.jboss.org/browse/WFLY-4325
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 9.0.0.Beta1
Reporter: Nicklas Karlsson
Assignee: Tomaz Cerar
Deploying the Eclipse BIRT viewer with a context parameter containing a relative
reference as a context parameter on a windows machine
<param-value>../birtdata/logs</param-value>
results in
{quote}
2015-02-05 10:07:37,736 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1)
MSC000001: Failed to start service
jboss.undertow.deployment.default-server.default-host./birt:
org.jboss.msc.service.StartException in service
jboss.undertow.deployment.default-server.default-host./birt: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.nio.file.InvalidPathException: Illegal char
<:> at index 2:
\C:\Java\WildFly-9.x-testi\standalone\deployments\birt-4.4.0.war\..\birtdata\logs\org.eclipse.datatools.connectivity.oda_2015_02_05_10_07_37.log.lck
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:221)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:86)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:71)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
... 3 more
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 2:
\C:\Java\WildFly-9.x-testi\standalone\deployments\birt-4.4.0.war\..\birtdata\logs\org.eclipse.datatools.connectivity.oda_2015_02_05_10_07_37.log.lck
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 java.nio.file.Paths.get(Paths.java:84)
at java.util.logging.FileHandler.openFiles(FileHandler.java:438)
at java.util.logging.FileHandler.<init>(FileHandler.java:318)
at org.eclipse.birt.report.utility.LoggingUtil.initFileLogger(LoggingUtil.java:103)
at org.eclipse.birt.report.utility.LoggingUtil.configureLoggers(LoggingUtil.java:76)
at
org.eclipse.birt.report.service.ReportEngineService.<init>(ReportEngineService.java:229)
at
org.eclipse.birt.report.service.ReportEngineService.initEngineInstance(ReportEngineService.java:271)
at
org.eclipse.birt.report.service.BirtViewerReportService.<init>(BirtViewerReportService.java:83)
at
org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:57)
at
io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)
at
io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:192)
... 7 more
{quote}
This used to work on the 8.x-series
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)