[
http://jira.codehaus.org/browse/XFIRE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161026#action_161026
]
Henry Brownson Occleston commented on XFIRE-373:
------------------------------------------------
I don't think this is fixed, at least not in 1.1 or 1.2.6 which I tried. I
would like to say that I have maybe misunderstood the documentation but there
doesn't really seem to be any ;)
All the examples I have found on the internet seem to gloss over what the
allowable values are for the config init-param. In particular, since all our
other spring config is under WEB-INF and because I want to avoid a wild goose
chase to find the config file on the classpath (since we have a lot of jars in
WEB-INF/lib), I am interested in picking it up from WEB-INF.
But both relative (WEB-INF/myfile.xml) and absolute (/WEB-INF/myfile.xml) do
not work. The only file name that seems to work is the default one
META-INF/xfire/service.xml when I copy that file to WEB-INF/classes.
> services.xml on filesystem doesn't work with relative path
> ----------------------------------------------------------
>
> Key: XFIRE-373
> URL: http://jira.codehaus.org/browse/XFIRE-373
> Project: XFire
> Issue Type: Bug
> Affects Versions: 1.1-RC1
> Environment: jdk-1.4, OS Linux
> Reporter: Ondrej Svetlik
> Assignee: Dan Diephouse
> Fix For: 1.1
>
>
> org.springframework.beans.factory.BeanDefinitionStoreException: IOException
> parsing XML document from class path resource [services.xml]; nested
> exception is java.io.FileNotFoundException: class path resource
> [services.xml] cannot be opened because it does not exist
> web.xml:
> <servlet>
> <servlet-name>XFire</servlet-name>
> <display-name>XFire Servlet</display-name>
> <servlet-class>
> org.codehaus.xfire.transport.http.XFireConfigurableServlet
> </servlet-class>
> <init-param>
> <param-name>config</param-name>
> <param-value>services.xml</param-value>
> </init-param>
> </servlet>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email