[jboss-jira] [JBoss JIRA] Commented: (JBAS-9388) Error while opening an URLConnection

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed May 18 04:13:01 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602858#comment-12602858 ] 

jaikiran pai commented on JBAS-9388:
------------------------------------

Prasad, this isn't a JBoss AS issue. It appears to be a user specific code issue. Please continue the discussion in the forum thread. I'll close this JIRA.


> Error while opening an URLConnection
> ------------------------------------
>
>                 Key: JBAS-9388
>                 URL: https://issues.jboss.org/browse/JBAS-9388
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.1.0
>         Environment: Windows XP, JBoss 6.1.0, Sun JDK 1.6.0_22
>            Reporter: Prasad Deshpande
>
> Hi, I'm trying to open a file using URLConnection inside a servlet & it throws me following exception. I'm using jboss-6.1.0-SNAPSHOT on windows platform.
> java.net.URISyntaxException: Illegal character in opaque part at index 7: file:D:\jboss-5.1.0-SVN\eFp\eFp-Current\server.properties
> Not sure if anyone has tried it before. File URL seems to be correct but still I get above exception. Could anyone please highlight? Please ignore the path of the file even if it says jboss-5.1.0 I just have a directory with that name, it has nothing to do with actual 5.1.0 version.
> I'm also attaching my servlet code.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list