[jboss-jira] [JBoss JIRA] Updated: (JBAS-4644) fix org.jboss.test.webservice.jbws309.JBWS309TestCase(JACC) - 5 errors
Anil Saldhana (JIRA)
jira-events at lists.jboss.org
Thu Jun 12 16:47:33 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-4644?page=all ]
Anil Saldhana updated JBAS-4644:
--------------------------------
JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157813
I do not see that the dynamic web application that JBossWS is trying to use does not go through proper deployment in the web container and certainly the JACC permissions are not created for the web application.
> fix org.jboss.test.webservice.jbws309.JBWS309TestCase(JACC) - 5 errors
> ----------------------------------------------------------------------
>
> Key: JBAS-4644
> URL: http://jira.jboss.com/jira/browse/JBAS-4644
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Reporter: Dimitris Andreadis
> Assigned To: Anil Saldhana
> Fix For: JBossAS-5.0.0.CR1
>
>
> Problem appears either as:
> testRoleSecuredServiceAccess Error Call invocation failed; nested exception is: java.io.IOException: Could not transmit message
> java.rmi.RemoteException: Call invocation failed; nested exception is:
> java.io.IOException: Could not transmit message
> at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
> at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
> at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
> at $Proxy4.getContactInfo(Unknown Source)
> at org.jboss.test.webservice.jbws309.JBWS309TestCase.testRoleSecuredServiceAccess(JBWS309TestCase.java:190)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> Caused by: java.io.IOException: Could not transmit message
> at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:204)
> at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
> at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
> at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
> ... 25 more
> Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
> at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
> at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
> at org.jboss.remoting.Client.invoke(Client.java:1550)
> at org.jboss.remoting.Client.invoke(Client.java:530)
> at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:183)
> ... 28 more
> Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized
> at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:77)
> at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
> at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
> ... 33 more
> Or
> testRoleSecuredSLSB Error SecurityException; nested exception is: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
> java.rmi.AccessException: SecurityException; nested exception is:
> javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
> at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
> at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
> at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
> at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:640)
> at org.jboss.ejb.Container.invoke(Container.java:1006)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:230)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
> at $Proxy14.invoke(Unknown Source)
> at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
> at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
> at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
> at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
> Caused by: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
> at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:212)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152)
> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
> at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:524)
> at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:458)
> at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:353)
> at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:317)
> at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:185)
> at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:140)
> at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
> at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
> at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:640)
> at org.jboss.ejb.Container.invoke(Container.java:1006)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:230)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
> at $Proxy14.invoke(Unknown Source)
> at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
> at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
> at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
> at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
> at org.jboss.remoting.Client.invoke(Client.java:1550)
> at org.jboss.remoting.Client.invoke(Client.java:530)
> at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:161)
> at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:244)
> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:181)
> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:86)
> at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
> at $Proxy1.create(Unknown Source)
> at org.jboss.test.webservice.jbws309.JBWS309TestCase.testRoleSecuredSLSB(JBWS309TestCase.java:93)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list