1 2 Previous Next 21 Replies Latest reply on Sep 27, 2008 6:52 AM by asoldano Go to original post
      • 15. Re: JBossWebService WS4EE Deployments and JACC
        anil.saldhana

        May not be your change. Let me dig further.

        • 16. Re: JBossWebService WS4EE Deployments and JACC
          anil.saldhana

          Maybe a XB issue.

          Caused by: java.lang.ClassCastException: java.lang.String
           at org.jboss.xb.binding.group.ValueList.addRepeatableTermValue(ValueList.java:143)
           at org.jboss.xb.binding.group.ValueListInitializer.addTermValue(ValueListInitializer.java:123)
           at org.jboss.xb.binding.sunday
          
          .....
          
          15:24:45,398 WARN [MainDeployer] Failed to deploy: file:/home/anil/jboss-5.0/jboss-head/testsuite/output/lib/subject-context.ear
          org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
          
          *** DEPLOYMENTS IN ERROR: Name -> Error
          
          vfszip:/home/anil/jboss-5.0/jboss-head/testsuite/output/lib/subject-context.ear -> org.jboss.deployment.DeploymentException: Error configuring attribute PolicyConfig
          
          
          *** CONTEXTS IN ERROR: Name -> Error
          
          vfszip:/home/anil/jboss-5.0/jboss-head/testsuite/output/lib/subject-context.ear -> java.lang.ClassCastException: java.lang.String
          
          
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:806)
          
          



          The test is:
          ant -Dtest=org.jboss.test.security.test.SubjectContextUnitTestCase one-test
          


          Digging further.

          • 17. Re: JBossWebService WS4EE Deployments and JACC
            aloubyansky

            Yes, it is. Looking into it.

            • 18. Re: JBossWebService WS4EE Deployments and JACC
              aloubyansky

              Yes, it's a regression. I am going to work on it tomorrow.

              • 19. Re: JBossWebService WS4EE Deployments and JACC
                aloubyansky

                https://jira.jboss.org/jira/browse/JBXB-158

                It's fixed and CR14 has been released and included in the AS. Sorry.

                • 20. Re: JBossWebService WS4EE Deployments and JACC
                  anil.saldhana

                  Its 3am there. Time for you to sleep. Do not apologize. :)

                  • 21. Re: JBossWebService WS4EE Deployments and JACC
                    asoldano

                    Hi,
                    I know I'm late, both for this specific issue (I was on vacation) and in general on this ws deployer topic (trying to catch up with a lot of things I still need to learn). This post is just to understand if/what I can actually do to improve the jbossws deployer.

                    "adrian@jboss.org" wrote:

                    "scott.stark@jboss.org" wrote:

                    "anil.saldhana@jboss.org" wrote:

                    In AS5, for ejb jars with ws,
                    a) the ejb security deployer is called. It creates the jacc permissions.
                    b) the ws deployer kicks in. Creates a webmetadata for the endpoint servlet and adds as an attachment.
                    c) the tomcat deployer kicks in. Uses the webMD attached by WS deployer in the unit.

                    What is the ws deployer for step b)? Adding any output type it produces to the WarSecurityDeployer inputs would order these correctly.

                    There isn't one.

                    Why couldn't the org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB have been used for this?

                    "adrian@jboss.org" wrote:

                    Since all the DeployerHooks are invoked from a single deployer, you can't interleave them
                    with other deployers either.


                    There're currently 3 jbossws real deployers, WebServiceDeployerEJB, WebServiceDeployerPreJSE and WebServiceDeployerPostJSE. Each of them is configured with 2 DeployerHook, a JAX-RPC and a JAX-WS one. Perhaps one could duplicate the deployers (even removing the current deployerhooks layer, let's forget about the multiple ws stacks, etc.) having a WebServiceDeployerEJB-JAXWS, WebServiceDeployerEJB-JAXRPC, etc. This would allow to have different input/ouput for jaxws and jaxrpc deployers.
                    So the problem is not with the deployment hooks, but with having a single real deployer do everything in case of a ejb deployment?

                    1 2 Previous Next