[
https://issues.jboss.org/browse/JBAS-9473?page=com.atlassian.jira.plugin....
]
phani kumar updated JBAS-9473:
------------------------------
Description:
While i am starting JBoss-5.1.0-ga
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.
was:
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
While i am starting JBoss-5.1.0-ga
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