[jboss-jira] [JBoss JIRA] (JBAS-9473) war file is not supporting in JBoss5.1.0.ga
phani kumar (JIRA)
jira-events at lists.jboss.org
Wed Feb 29 05:26:36 EST 2012
[ https://issues.jboss.org/browse/JBAS-9473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
phani kumar updated JBAS-9473:
------------------------------
Description:
I have a xml file in WEB-INF/classes called config.xml.
In this i configured db connections.I am trying to connect to db using config.xml using
URL url = this.getClass().getClassLoader().getResource("config.xml");
while starting server i am getting java.io.FileNotFoundException :D:\jboss-5.1.0.GA\server\default\deploy\aod30.war\WEB-INF\classes\config.xml
When i extract the war file to a directory like aod30.war directory this works fine.
> war file is not supporting in JBoss5.1.0.ga
> -------------------------------------------
>
> Key: JBAS-9473
> URL: https://issues.jboss.org/browse/JBAS-9473
> Project: Application Server 3 4 5 and 6
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: phani kumar
>
> I have a xml file in WEB-INF/classes called config.xml.
> In this i configured db connections.I am trying to connect to db using config.xml using
> URL url = this.getClass().getClassLoader().getResource("config.xml");
> while starting server i am getting java.io.FileNotFoundException :D:\jboss-5.1.0.GA\server\default\deploy\aod30.war\WEB-INF\classes\config.xml
> When i extract the war file to a directory like aod30.war directory this works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list