Hi,

 

I have setup the Muse Disk example to run when Axis is deployed as a WebApp to Tomcat.

 

I am able to see the Disk service deployed from the browser. I am also able to retrieve the WSDL document through the browser.

 

However, I get a “Resource [disk:1234] not found” fault (don’t remember the exact string, but this should be close).

 

I did some debugging and found that the WsrfWsAddressingHandler is not able to get the WSResource corresponding to the resource id. In the SOAP Header and hence generates the fault. Looking at the code, I found that static method ResourceManagerFactory.discoverResources() is responsible for discovering the resources (it reads an xml file). But this method never gets called (I put a println). I also verified this by going through the call hierarchy of this method. The only place where this method is being called is a subclass of AxisServlet used for unit testing program (this might explain why it might work for the unit test).

 

Do I need to do something special for running the example under Tomcat?

 

Thanks in advance.

 

/Pankaj.

Reply via email to