This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 85991 - execution of ejb5 with wss failed with exception
Summary: execution of ejb5 with wss failed with exception
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on: 86350
Blocks:
  Show dependency tree
 
Reported: 2006-09-28 01:01 UTC by _ hlu
Modified: 2006-10-20 02:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
apps (64.39 KB, application/octet-stream)
2006-09-28 01:02 UTC, _ hlu
Details
exceptions (27.01 KB, text/plain)
2006-09-29 00:10 UTC, _ hlu
Details
webapps (68.10 KB, application/octet-stream)
2006-09-29 00:11 UTC, _ hlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hlu 2006-09-28 01:01:04 UTC
EP Build20060927 + NB5.5 daily build200609270000:
Have EJB1.5 module as ws server and webapp1.5 as ws client.
Execution of ejb5 with wss failed with exception
Exception null in portCreationListener :
com.sun.enterprise.jbi.serviceengine.bridge.PortCreationListenerImpl@fdd3e
Exception null in portCreationListener :
com.sun.enterprise.jbi.serviceengine.bridge.PortCreationListenerImpl@18641b0
AMClientAuthModule.validateResponse: Failed in validating the response.
com.sun.identity.wss.security.SecurityException: Security header not found.
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.parseSOAPMessage(SecureSOAPMessage.java:155)
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.<init>(SecureSOAPMessage.java:125)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.validateResponse(SOAPRequestHandler.java:396)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:184)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.java:128)
        at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:78)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java:75)
        at
com.sun.enterprise.security.jauth.ConfigFile$ConfigClient.validateResponse(ConfigFile.java:618)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:328)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:310)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:1000)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:924)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:731)
        at
com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:451)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:376)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:688)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:526)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139)
        at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108)
        at $Proxy95.say(Unknown Source)
        at test.testejb5.processRequest(testejb5.java:44)
        at test.testejb5.doGet(testejb5.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Container-auth: wss: Error validating response 
com.sun.enterprise.security.jauth.AuthException: Response Validation Failed
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:209)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.java:128)
        at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:78)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java:75)
        at
com.sun.enterprise.security.jauth.ConfigFile$ConfigClient.validateResponse(ConfigFile.java:618)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:328)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:310)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:1000)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:924)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:731)
        at
com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:451)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:376)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:688)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:526)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139)
        at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108)
        at $Proxy95.say(Unknown Source)
        at test.testejb5.processRequest(testejb5.java:44)
        at test.testejb5.doGet(testejb5.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: com.sun.identity.wss.security.SecurityException: Security header not
found.
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.parseSOAPMessage(SecureSOAPMessage.java:155)
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.<init>(SecureSOAPMessage.java:125)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.validateResponse(SOAPRequestHandler.java:396)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:184)
        ... 52 more
wss.validate_dispose_failed
com.sun.enterprise.security.jauth.AuthException: Response Validation Failed
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:209)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.java:128)
        at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:78)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java:75)
        at
com.sun.enterprise.security.jauth.ConfigFile$ConfigClient.validateResponse(ConfigFile.java:618)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:328)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:310)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:1000)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:924)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:731)
        at
com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:451)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:376)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:688)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:526)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139)
        at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108)
        at $Proxy95.say(Unknown Source)
        at test.testejb5.processRequest(testejb5.java:44)
        at test.testejb5.doGet(testejb5.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: com.sun.identity.wss.security.SecurityException: Security header not
found.
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.parseSOAPMessage(SecureSOAPMessage.java:155)
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.<init>(SecureSOAPMessage.java:125)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.validateResponse(SOAPRequestHandler.java:396)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:184)
        ... 52 more
javax.xml.ws.WebServiceException: java.lang.RuntimeException:
com.sun.enterprise.security.jauth.AuthException: Response Validation Failed
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:696)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:526)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139)
        at
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174)
        at
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108)
        at $Proxy95.say(Unknown Source)
        at test.testejb5.processRequest(testejb5.java:44)
        at test.testejb5.doGet(testejb5.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.RuntimeException:
com.sun.enterprise.security.jauth.AuthException: Response Validation Failed
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:1018)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:924)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:731)
        at
com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:451)
        at
com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:376)
        at
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:688)
        ... 35 more
Caused by: com.sun.enterprise.security.jauth.AuthException: Response Validation
Failed
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:209)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.sun.enterprise.security.jauth.AuthContext.invokePriv(AuthContext.java:128)
        at com.sun.enterprise.security.jauth.AuthContext$1.run(AuthContext.java:78)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.jauth.AuthContext.invoke(AuthContext.java:75)
        at
com.sun.enterprise.security.jauth.ConfigFile$ConfigClient.validateResponse(ConfigFile.java:618)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:328)
        at
com.sun.enterprise.security.wss.WebServiceSecurity.validateResponse(WebServiceSecurity.java:310)
        at
com.sun.enterprise.webservice.JAXWSSystemHandlerDelegateFactory$ClientHandler.handleMessage(JAXWSSystemHandlerDelegateFactory.java:1000)
        ... 40 more
Caused by: com.sun.identity.wss.security.SecurityException: Security header not
found.
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.parseSOAPMessage(SecureSOAPMessage.java:155)
        at
com.sun.identity.wss.security.handler.SecureSOAPMessage.<init>(SecureSOAPMessage.java:125)
        at
com.sun.identity.wss.security.handler.SOAPRequestHandler.validateResponse(SOAPRequestHandler.java:396)
        at
com.sun.identity.agents.jsr196.as9soap.AMClientAuthModule.validateResponse(AMClientAuthModule.java:184)
        ... 52 more
Comment 1 _ hlu 2006-09-28 01:02:51 UTC
Created attachment 34644 [details]
apps
Comment 2 Srividhya Narayanan 2006-09-28 23:28:26 UTC
There are two parts to this bug
1) EJB projects dont have the property conf.dir initialized and hence the AM
deployment doesnt succeed. This makes the client side configurations to not be
pushed to the AM server.
2) Even after successful provider configuration setup the server side authN
provider doesnt get invoked for the EJB based WSP. This is a runtime issue
possibly app server but then needs to be tracked by the AM team
Comment 3 Srividhya Narayanan 2006-09-28 23:29:37 UTC
Integrated fix for iteam 1) of this bug to release 55:
Checking in am-deploy.xsl;
/cvs/identity/profileui/src/org/netbeans/modules/identity/profile/ui/support/resources/Attic/am-deploy.xsl,v
 <--  am-deploy.xsl
new revision: 1.1.2.7; previous revision: 1.1.2.6
done

Filed a bugster issue 6476464 P1 to the AM runtime team for the uteam 2) in this
issue.
Comment 4 Srividhya Narayanan 2006-09-28 23:30:40 UTC
I am not closing this bug because the iteam 2) needs to be fixed still for the
end to end testing of EJB JavaEE5 projects to work. BTW, this problem only
occurs in Java EE 5 based EJBs. The J2EE 1.4 ejb modules work fine.
Comment 5 _ hlu 2006-09-29 00:09:50 UTC
Similar exceptions thrown with webpp1.5 on remote server.
Comment 6 _ hlu 2006-09-29 00:10:46 UTC
Created attachment 34681 [details]
exceptions
Comment 7 _ hlu 2006-09-29 00:11:32 UTC
Created attachment 34682 [details]
webapps
Comment 8 _ hlu 2006-09-29 01:19:37 UTC
this also happened on local server. This is a regression.
Comment 9 Srividhya Narayanan 2006-09-29 01:38:01 UTC
The regression referred to here is on the bugster 6476464 and not this bug.
Hong, please make sure you add these comments in the offending bug and not this
one so it gets seem by the relevant runtime team(s).
Comment 10 Srividhya Narayanan 2006-09-29 01:44:14 UTC
I am closing this bug as it is clearly a regression on the app server side. Lets
track that issue through bugster. I am resolving this as fixed so we can verify
the deployment of the EJB itself.
Comment 11 _ hlu 2006-10-02 20:08:15 UTC
The bugster bug(for the second part of the issue) was closed as invalid, so the
issue is back to identity. I reopen the bug.
Comment 12 Srividhya Narayanan 2006-10-03 20:36:45 UTC
Workaround exists as documented in issue 86350.
Comment 13 Srividhya Narayanan 2006-10-03 20:41:28 UTC
As it exists if issue 86350 gets fixed for 5.5, then this feature will work OOB
for enterprise pack. Basically there is no code change required on the Identity
tooling modules after the dependent issue gets fixed. I suggest we RN this issue
since the dependent bug is a P2 and unlikely to be fixed for NB 5.5 timeframe.
Comment 14 Srividhya Narayanan 2006-10-09 18:20:09 UTC
Closing it as fixed since issue 86350 is integrated in release55. Please get the
latest NB which has this dix in it for verifying this fix.
Comment 15 _ hlu 2006-10-20 02:38:19 UTC
verified with NBRC2 + EP build20061018.