I'm seeing this stack trace in the log. Can it be related?
thanks,
-marina
[#|2008-09-12T17:15:23.796-0700|SEVERE|GlassFish10.0|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=21;_T
hreadName=Thread-3;|PWC3989: An exception or error occurred in the container
during the request processing
java.lang.LinkageError: loader constraints violated when linking
javax/servlet/http/HttpServletRequest class
at
com.sun.enterprise.security.web.integration.WebSecurityManager.hasUserDataPermission(WebSecurityManag
er.java:505)
at
com.sun.web.security.RealmAdapter.hasUserDataPermission(RealmAdapter.java:858)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:574)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:687)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:
98)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:307)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:178)
at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621)
at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:552)
at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolCha
in.java:70)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:309)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:168)
Marina Vatkina wrote:
> I've just checked out and rebuild my ws.
>
> -marina
>
> [testng] Connecting to: http://localhost:8080/hellojspsecure/first.html
> [testng] ERROR: Anonymous Client access was Allowed,
> security-constraint not Enforced correctly
> [testng] FAILED: simpleJSPTestPage
> [testng] java.lang.AssertionError: Anonymous Client acess was
> Allowed, security-constraint not Enforced expected:<true> but was:<false>
> [testng] at
> test.security.hellojsp.HelloSecurityTestNG.simpleJSPTestPage(HelloSecurityTestNG.java:91)
>
> [testng] ... Removed 26 stack frames
> [testng] FAILED: simpleServletTest
> [testng] java.lang.AssertionError: Anonymous Client acess was
> Allowed, security-constraint not Enforced expected:<true> but was:<false>
> [testng] at
> test.security.hellojsp.HelloSecurityTestNG.simpleServletTest(HelloSecurityTestNG.java:219)
>
> [testng] ... Removed 26 stack frames
> [testng] FAILED: staticHTMLPageTest
> [testng] java.lang.AssertionError: Anonymous Client acess was
> Allowed, security-constraint not Enforced expected:<true> but was:<false>
> [testng] at
> test.security.hellojsp.HelloSecurityTestNG.staticHTMLPageTest(HelloSecurityTestNG.java:172)
>
> [testng] ... Removed 26 stack frames
>
> [testng] ===============================================
> [testng] security_hello_jsp
> [testng] Tests run: 3, Failures: 3, Skips: 0
> [testng] ===============================================
>
> [testng] BASIC auth: Group mapped user, testuser42
> [testng] String not found: RESULT: principal: testuser42
> [testng] BASIC auth: Not authorized user, testuser42
> [testng] String not found: HTTP/1.1 403
> [testng] BASIC auth: Valid user and invalid password
> [testng] String not found: HTTP/1.1 401
> [testng] BASIC auth: Role Mapped User, testuser3
> [testng] String not found: RESULT: principal: testuser3
> [testng] FAILED: testAuthGroupMappedUser
> [testng] java.lang.AssertionError: BASIC auth: Group mapped user,
> testuser42 expected:<false> but was:<true>
> [testng] at
> test.security.basicauth.BasicAuthTestNG.testAuthGroupMappedUser(BasicAuthTestNG.java:106)
>
> [testng] ... Removed 25 stack frames
> [testng] FAILED: testAuthNotAuthorizedUser
> [testng] java.lang.AssertionError: BASIC auth: Not authorized user,
> testuser42 expected:<false> but was:<true>
> [testng] at
> test.security.basicauth.BasicAuthTestNG.testAuthNotAuthorizedUser(BasicAuthTestNG.java:124)
>
> [testng] ... Removed 25 stack frames
> [testng] FAILED: testAuthNotValidPassword
> [testng] java.lang.AssertionError: BASIC auth: Valid user and invalid
> password expected:<false> but was:<true>
> [testng] at
> test.security.basicauth.BasicAuthTestNG.testAuthNotValidPassword(BasicAuthTestNG.java:142)
>
> [testng] ... Removed 25 stack frames
> [testng] FAILED: testAuthRoleMappedUser
> [testng] java.lang.AssertionError: BASIC auth: Role Mapped User,
> testuser3 expected:<false> but was:<true>
> [testng] at
> test.security.basicauth.BasicAuthTestNG.testAuthRoleMappedUser(BasicAuthTestNG.java:88)
>
> [testng] ... Removed 25 stack frames
>
> [testng] ===============================================
> [testng] security_hello_basicauth
> [testng] Tests run: 4, Failures: 4, Skips: 0
> [testng] ===============================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>