commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ddakker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LAUNCHER-12) JBoss File System access file:, vfs: issue
Date Wed, 15 Feb 2017 08:01:41 GMT

     [ https://issues.apache.org/jira/browse/LAUNCHER-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ddakker updated LAUNCHER-12:
----------------------------
    Description: 
Accessing files from jboss "vfs:" There was a usage problem.

So I fixed the source and corrected it.

/src/java/org/apache/commons/launcher/Launcher.java
getBootstrapFile()
if (resourcePath.indexOf("file:") == 0)
                resourcePath = resourcePath.substring(5);
            else if (resourcePath.indexOf("vfs:") == 0)
                resourcePath = resourcePath.substring(4);
            else
                throw new IOException(Launcher.getLocalizedString("bootstrap.file.not.found")
+ ": " + Launcher.class.getName());

Please ask for help.
Thank you

  was:
Accessing files from jboss "vfs:" There was a usage problem.

So I fixed the source and corrected it.

/src/java/org/apache/commons/launcher/Launcher.java
getBootstrapFile()
if (resourcePath.indexOf("file:") == 0)
                resourcePath = resourcePath.substring(5);
            else if (resourcePath.indexOf("vfs:") == 0)
                resourcePath = resourcePath.substring(4);
            else
                throw new IOException(Launcher.getLocalizedString("bootstrap.file.not.found")
+ ": " + Launcher.class.getName());


> JBoss File System access file:, vfs: issue
> ------------------------------------------
>
>                 Key: LAUNCHER-12
>                 URL: https://issues.apache.org/jira/browse/LAUNCHER-12
>             Project: Commons Launcher
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Redhat RHEL Linux 6 or 7
> JBoss EAP 6 or 7
>            Reporter: ddakker
>            Priority: Critical
>             Fix For: 1.1
>
>
> Accessing files from jboss "vfs:" There was a usage problem.
> So I fixed the source and corrected it.
> /src/java/org/apache/commons/launcher/Launcher.java
> getBootstrapFile()
> if (resourcePath.indexOf("file:") == 0)
>                 resourcePath = resourcePath.substring(5);
>             else if (resourcePath.indexOf("vfs:") == 0)
>                 resourcePath = resourcePath.substring(4);
>             else
>                 throw new IOException(Launcher.getLocalizedString("bootstrap.file.not.found")
+ ": " + Launcher.class.getName());
> Please ask for help.
> Thank you



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message