This looks like a problem with the new SARDeployer.
| protected ServiceDeployment parse(VFSDeploymentUnit unit, VirtualFile file,
Document document) throws Exception
| {
| ServiceDeploymentParser parser = new ServiceDeploymentParser(document);
| ServiceDeployment parsed = parser.parse();
|
The location of the xml document (file.toURL())
is not being passed to the JAXP parser used
by ServiceDeploymentParser, so it wil resolve it relative to the current directory
(which is the bin folder normally with JBoss).
But I think this will be true of a lot of the other parsing deployers that now use
JBossXB.
In general we are passing streams instead of URLs, e.g.
JBossXBDeployerHelper
| InputStream is = openStreamAndValidate(file);
| Object parsed = null;
| try
| {
| // HERE Doesn't know the file url
| parsed = unmarshaller.unmarshal(is, resolver);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154425#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...