[jboss-user] [JBoss Web Services] - Web Service with Kerberos policy

Siddhartha Roy do-not-reply at jboss.com
Thu Feb 3 06:58:54 EST 2011


Siddhartha Roy [http://community.jboss.org/people/ssroy73] created the discussion

"Web Service with Kerberos policy"

To view the discussion, visit: http://community.jboss.org/message/585162#585162

--------------------------------------------------------------
Hi,

I have written a web service (JDK1,6, JBoss 4.2.3, Metro, Netbeans) which uses Kerberos Security Policy.

I have written a web client. But while accessing the service, I get following exception. Not getting any clue of the error. 

java.lang.ClassCastException
        at java.lang.Class.cast(Class.java:2990)
        at com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
        at com.sun.xml.ws.api.client.ServiceInterceptorFactory.load(ServiceInterceptorFactory.java:80)
        at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:205)
        at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
        at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
        at javax.xml.ws.Service.<init>(Service.java:56)
        at org.me.calculator.CalculatorWSService.<init>(CalculatorWSService.java:46)
        at com.Client.show(Client.java:17)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:619)


Any help will be greately appreciated.

Many Thanks.

Best Regards - Roy
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110203/5a2f28ff/attachment-0001.html 


More information about the jboss-user mailing list