-
1. Re: Deploying web services in a sar file
master_yoda Oct 6, 2006 1:24 PM (in response to bossy).sar file is used when you deploy an MBean service. Can you plaese explain why you have to use .sar file.
see some .sar in the jboss server deploy dir. you can then figure out yourself the purpose of sar. -
2. Re: Deploying web services in a sar file
bossy Oct 7, 2006 6:05 AM (in response to bossy)This is exactly why I have to use .sar file, instead of .war. But does this mean that I have to change the deployment descriptors? I have web services, along with struts in this package. The struts app works as before, but the web services aren't. Any hints?
Thanks. -
3. Re: Deploying web services in a sar file
bossy Oct 9, 2006 9:10 AM (in response to bossy)Hello,
I'd really appreciate somebody's help here.
As I said earlier the web services work fine in a war file. These are JAX-RPC web services. The problem is that I have to deploy them in a sar file, as there's also a MBean.
The message I get when I deploy the web service in a sar file is:
[[/myapp]] Marking servlet MyWebService as unavailable
13:59:04,139 ERROR [[MyWebService]] Allocate exception for servlet MyWebService
java.lang.ClassCastException: com.mycom.myapp.ws.services.MyWebServiceImpl
Do I need to change the deployment descriptors or something else. I've been trying to find information on the net, but so far I've been unsuccessfull.
Thanks.