[JBossWS] - Webservice deployment error: Endpoint already registered
by klogube
Hi All,
Greetings. I need you ppl help to solve my Java Webservices deployment issue. I am developing Java WS through Jdeveloper11g and trying to deploy the WS.WAR in to JBOSS 4.2.3GA server from Jdeveloper11g. But getting error when I am restarting the server after deployment. Below is the error
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@a99914c8 { url=file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Endpoint already registered: jboss.ws:context=Testing-SampleWebServices-context-root,endpoint=DateTestingWSSoapHttpPort
state: FAILED
watch: file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war
altDD: null
lastDeployed: 1233678646914
lastModified: 1233678644000
Help me to solve this "Endpoint already registered" error, which is stop our development completely and our project is in production stage and cant able to make progress due to this error.
Due to this error we couldn't able to create the client application for our Web service.
(Note: I can able to see the list of WS's deployed in to JBOSS under: http://localhost:8080/jbossws/services which display the Endpoint name and address. But cant able to access the URL.)
Thanks in advance
klogube
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206650#4206650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206650
15 years, 10 months
[JBossWS] - WeFault and throws declaration
by skajotde
Hi
I have that structure
@WebFault public class BaseAppException {
| ExceptionXBVO getFaultInfo() { ...}
| }
|
| @WebFault public class OtherAppException extends BaseAppException {
| ExceptionXBVO getFaultInfo() { super.getFa...}
| }
|
| public interface IServiceOne {
| @WebMethod public String one(@WebParam("xxx" xxx) throws BaseAppException;
| }
|
| @WebService [...other annotations...] public class SerwiceOne implements IServiceOne {
| @WebMethod public String one(@WebParam("xxx" xxx) throws BaseAppException {
| throw new OtherAppException("info");
| }
| }
|
|
If web service declare BaseAppException but method throws OtherAppException which inherit on it. Should JBoss WS throw SOAPFaultException or OtherAppException or BaseAppException ?
I think best solution is to catch OtherAppException by client but in my config is catched SOAPFaultException. When I add OtherAppException to throws declaration then is works as excepted. Does JBoss WS require adding to throws decalarion all possible exception, iheritance doesn't enough ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206608#4206608
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206608
15 years, 10 months