[jboss-dev-forums] [JBoss Web Services Development] - Unable to publish the apache CXF Secure Token Service in Jboss soa-P 5.1.3

Abarna Panchapakesan do-not-reply at jboss.com
Thu Jul 4 19:08:44 EDT 2013


Abarna Panchapakesan [https://community.jboss.org/people/mpag1980] created the discussion

"Unable to publish the apache CXF Secure Token Service in Jboss soa-P 5.1.3"

To view the discussion, visit: https://community.jboss.org/message/826493#826493

--------------------------------------------------------------
Hi All,

 I am trying to publish a sample apache CXF STS in Jboss soa-p 5.1.3 G.A. I do not get any deployment errors but my tokenservice is not getting published as a service.

When I try to access my STS WSDL.it says 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UTSTS': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,080: Address already in use: bind

 http://localhost:8080/CXFworkingSTS/services/UT_Port?wsdl http://localhost:8080/CXFworkingSTS/services/UT_Port?wsdl

I have removed the CXF:bus element in my cxf-servlet.xml file.It is still trying to start the jetty server.Since my Jboss is already running in 8080, I am getting this error because it is trying to start the CXF runtime.

I am attaching my war file.Can anyone help me out.I am a newbie to CXF and Jboss.

I have removed the libraries from the attached war file due to file size.

Thanks,
Abarna
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826493#826493]

Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2047]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130704/9c813829/attachment-0001.html 


More information about the jboss-dev-forums mailing list